Navigation

Partial Derivatives

2.4 The Chain Rule

27 problems · hints, answers and solutions shown beside each one

1Stage 1Conceptual

Do you understand the idea? Usually little or no calculation.

Q1Stage 1

Write out the chain rule for each of the following functions.

  1. hx\pdiff{h}{x} for h(x,y)=f(x,u(x,y))h(x,y)=f\big(x,u(x,y)\big)

  2. dhdx\diff{h}{x} for h(x)=f(x,u(x),v(x))h(x)=f\big(x,u(x),v(x)\big)

  3. hx\pdiff{h}{x} for h(x,y,z)=f(u(x,y,z),v(x,y),w(x))h(x,y,z)=f\big(u(x,y,z),v(x,y),w(x)\big)

Hint

Review §2.4.1 in the CLP-3 text.

Answer

(a) hx(x,y)=fx(x,u(x,y))+fu(x,u(x,y))ux(x,y)\pdiff{h}{x}(x,y) =\pdiff{f}{x}\big(x,u(x,y)\big) +\pdiff{f}{u}\big(x,u(x,y)\big) \pdiff{u}{x}(x,y)

(b) dhdx(x)=fx(x,u(x),v(x))+fu(x,u(x),v(x))dudx(x)+fv(x,u(x),v(x))dvdx(x)\diff{h}{x}(x) =\pdiff{f}{x}\big(x,u(x),v(x)\big) +\pdiff{f}{u}\big(x,u(x),v(x)\big) \diff{u}{x}(x) +\pdiff{f}{v}\big(x,u(x),v(x)\big) \diff{v}{x}(x)

(c) hx(x,y,z)=fu(u(x,y,z),v(x,y),w(x))ux(x,y,z)+fv(u(x,y,z),v(x,y),w(x))vx(x,y)\pdiff{h}{x}(x,y,z) =\pdiff{f}{u}\big(u(x,y,z),v(x,y),w(x)\big) \pdiff{u}{x}(x,y,z) +\pdiff{f}{v}\big(u(x,y,z),v(x,y),w(x)\big) \pdiff{v}{x}(x,y) +fw(u(x,y,z),v(x,y),w(x))dwdx(x)+\pdiff{f}{w}\big(u(x,y,z),v(x,y),w(x)\big) \diff{w}{x}(x)

Full solution

(c) We'll start with part (c) and follow the procedure given in §2.4.1 in the CLP-3 text. We are to compute the derivative of h(x,y,z)=f(u(x,y,z),v(x,y),w(x))h(x,y,z)=f\big(u(x,y,z),v(x,y),w(x)\big) with respect to xx. For this function, the template of Step 2 in §2.4.1 is

hx=fx\begin{equation*} \pdiff{h}{x}=\frac{\partial f}{ }\frac{ }{\partial x} \end{equation*}

Note that

  • The function hh appears once in the numerator on the left. The function ff, from which hh is constructed by a change of variables, appears once in the numerator on the right.

  • The variable, xx, in the denominator on the left appears once in the denominator on the right.

Now we fill in the blanks with every variable that makes sense. In particular, since ff is a function of uu, vv and ww, it may only be differentiated with respect to uu, vv and ww. So we add together three copies of our template — one for each of uu, vv and ww:

hx=fuux+fvvx+fwdwdx\begin{align*} \pdiff{h}{x}=\pdiff{f}{u}\pdiff{u}{x} +\pdiff{f}{v}\pdiff{v}{x} +\pdiff{f}{w}\diff{w}{x} \end{align*}

Since ww is a function of only one variable, we use the ordinary derivative symbol dwdx\diff{w}{x}, rather than the partial derivative symbol wx\pdiff{w}{x} in the third copy. Finally we put in the only functional dependence that makes sense. The left hand side is a function of xx, yy and zz, because hh is a function of xx, yy and zz. Hence the right hand side must also be a function of xx, yy and zz. As ff is a function of uu, vv and ww, this is achieved by evaluating ff at u=u(x,y,z)u=u(x,y,z), v=v(x,y)v=v(x,y) and w=w(x)w=w(x).

hx(x,y,z)=fu(u(x,y,z),v(x,y),w(x))ux(x,y,z)+fv(u(x,y,z),v(x,y),w(x))vx(x,y)+fw(u(x,y,z),v(x,y),w(x))dwdx(x)\begin{align*} \pdiff{h}{x}(x,y,z) &=\pdiff{f}{u}\big(u(x,y,z),v(x,y),w(x)\big) \pdiff{u}{x}(x,y,z) +\pdiff{f}{v}\big(u(x,y,z),v(x,y),w(x)\big) \pdiff{v}{x}(x,y) \\&\hskip2in +\pdiff{f}{w}\big(u(x,y,z),v(x,y),w(x)\big) \diff{w}{x}(x) \end{align*}

(a) We again follow the procedure given in §2.4.1 in the CLP-3 text. We are to compute the derivative of h(x,y)=f(x,u(x,y))h(x,y)=f\big(x,u(x,y)\big) with respect to xx. For this function, the template of Step 2 in §2.4.1 is

hx=fx\begin{equation*} \pdiff{h}{x}=\frac{\partial f}{ }\frac{ }{\partial x} \end{equation*}

Now we fill in the blanks with every variable that makes sense. In particular, since ff is a function of xx and uu, it may only be differentiated with respect to xx, and uu. So we add together two copies of our template — one for xx and one for uu:

hx=fxdxdx+fuux\begin{align*} \pdiff{h}{x}=\pdiff{f}{x}\diff{x}{x} +\pdiff{f}{u}\pdiff{u}{x} \end{align*}

In dxdx\diff{x}{x} we are to differentiate the (explicit) function xx (i.e. the function F(x)=xF(x)=x) with respect to xx. The answer is of course 11. So

hx=fx+fuux\begin{align*} \pdiff{h}{x}=\pdiff{f}{x} +\pdiff{f}{u}\pdiff{u}{x} \end{align*}

Finally we put in the only functional depedence that makes sense. The left hand side is a function of xx, and yy, because hh is a function of xx and yy. Hence the right hand side must also be a function of xx and yy. As ff is a function of xx, uu, this is achieved by evaluating ff at u=u(x,y)u=u(x,y).

hx(x,y)=fx(x,u(x,y))+fu(x,u(x,y))ux(x,y)\begin{align*} \pdiff{h}{x}(x,y) =\pdiff{f}{x}\big(x,u(x,y)\big) +\pdiff{f}{u}\big(x,u(x,y)\big) \pdiff{u}{x}(x,y) \end{align*}

(b) Yet again we follow the procedure given in §2.4.1 in the CLP-3 text. We are to compute the derivative of h(x)=f(x,u(x),v(x))h(x)=f\big(x,u(x),v(x)\big) with respect to xx. For this function, the template of Step 2 in §2.4.1 is

dhdx=fx\begin{equation*} \diff{h}{x}=\frac{\partial f}{ }\frac{ }{\partial x} \end{equation*}

(As hh is function of only one variable, we use the ordinary derivative symbol dhdx\diff{h}{x} on the left hand side.) Now we fill in the blanks with every variable that makes sense. In particular, since ff is a function of xx, uu and vv, it may only be differentiated with respect to xx, uu and vv. So we add together three copies of our template — one for each of xx, uu and vv:

dhdx=fxdxdx+fududx+fvdvdx=fx+fududx+fvdvdx\begin{align*} \diff{h}{x}&=\pdiff{f}{x}\diff{x}{x} +\pdiff{f}{u}\diff{u}{x} +\pdiff{f}{v}\diff{v}{x} \\ &=\pdiff{f}{x} +\pdiff{f}{u}\diff{u}{x} +\pdiff{f}{v}\diff{v}{x} \end{align*}

Finally we put in the only functional depedence that makes sense.

dhdx(x)=fx(x,u(x),v(x))+fu(x,u(x),v(x))dudx(x)+fv(x,u(x),v(x))dvdx(x)\begin{align*} \diff{h}{x}(x) =\pdiff{f}{x}\big(x,u(x),v(x)\big) +\pdiff{f}{u}\big(x,u(x),v(x)\big) \diff{u}{x}(x) +\pdiff{f}{v}\big(x,u(x),v(x)\big) \diff{v}{x}(x) \end{align*}
Q2Stage 1

A piece of the surface z=f(x,y)z=f(x,y) is shown below for some continuously differentiable function f(x,y)f(x,y). The level curve f(x,y)=z1f(x,y)=z_1 is marked with a blue line. The three points P0P_0, P1P_1, and P2P_2 lie on the surface.

Figure from prob_s2.4, line 173

Figure from prob_s2.4, line 173

On the level curve z=z1z=z_1, we can think of yy as a function of xx. Let w(x)=f(x,y(x))=z1w(x)=f(x,y(x))=z_1. We approximate, at P0P_0, fx(x,y)ΔfΔxf_x(x,y) \approx \frac{\Delta f}{\Delta x} and dwdx(x)ΔwΔx\frac{dw}{dx}(x)\approx\frac{\Delta w}{\Delta x}. Identify the quantities Δf\Delta f, Δw\Delta w, and Δx\Delta x from the diagram.

Hint

This is a visualization, in a simplified setting, of Example 2.4.10 in CLP3.

Answer

To visualize, in a simplified setting, the situation from Example 2.4.10 in CLP3, note that w(x)w'(x) is the rate of change of zz as we slide along the blue line, while fx(x,y)f_x(x,y) is the change of zz as we slide along the orange line.

In the approximation fx(x,y)ΔfΔxf_x(x,y)\approx \frac{\Delta f}{\Delta x}, starting at the point P0P_0, Δx=x2x1\Delta x=x_2-x_1 and Δf=z2z1\Delta f=z_2-z_1.

In the approximation dwdxΔwΔx\diff{w}{x}\approx \frac{\Delta w}{\Delta x}, starting at the point P0P_0, Δx=x2x1\Delta x=x_2-x_1 again, and Δw=z1z1=0\Delta w=z_1-z_1=0.

Full solution

To visualize, in a simplified setting, the situation from Example 2.4.10 in CLP3, note that w(x)w'(x) is the rate of change of zz as we slide along the blue line, while fx(x,y)f_x(x,y) is the change of zz as we slide along the orange line.

In the partial derivative fx(x,y)ΔfΔxf_x(x,y)\approx \frac{\Delta f}{\Delta x}, we let xx change, while yy stays the same. Necessarily, that forces ff to change as well. Starting at point P0P_0, if we move xx but keep yy fixed, we end up at P2P_2. According to the labels on the diagram, Δx\Delta x is x2x1x_2-x_1, and Δf\Delta f is z2z1z_2-z_1.

The function w(x)w(x) is a constant function, so we expect w(x)=0w'(x)=0. In the approximation dwdxΔwΔx\diff{w}{x}\approx \frac{\Delta w}{\Delta x}, we let xx change, but ww stays the same. Necessarily, to stay on the surface, this forces yy to change. Starting at point P0P_0, if we move xx but keep z=f(x,y)z=f(x,y) fixed, we end up at P1P_1. According to the labels on the diagram, Δx\Delta x is x2x1x_2-x_1 again, and Δw=z1z1=0\Delta w=z_1-z_1=0.

To compare the two situations, note the first case has Δy=0\Delta y =0 while the second case has Δf=0\Delta f =0.

Q3Stage 1Past exam · M200 2000D

Let w=f(x,y,t)w=f(x,y,t) with xx and yy depending on tt. Suppose that at some point (x,y)(x,y) and at some time tt, the partial derivatives fxf_x, fyf_y and ftf_t are equal to 22, 3-3 and 55 respectively, while dxdt=1\diff{x}{t}=1 and dydt=2\diff{y}{t}=2. Find and explain the difference between dwdt\diff{w}{t} and ftf_t.

Hint

Pay attention to which variables change, and which are held fixed, in each context.

Answer

dwdt=1\diff{w}{t}=1 and ft=5f_t=5. ftf_t gives the rate of change of f(x,y,t)f(x,y,t) as tt varies while xx and yy are held fixed. dwdt\diff{w}{t} gives the rate of change of f(x(t),y(t),t)f\big(x(t),y(t),t\big). For the latter all of x=x(t)x=x(t), y=y(t)y=y(t) and tt are changing at once.

Full solution

We are told in the statement of the question that w(t)=f(x(t),y(t),t)w(t)= f\big(x(t),y(t),t\big). Applying the chain rule to w(t)=f(x(t),y(t),t),w(t)= f\big(x(t),y(t),t\big), by following the procedure given in §2.4.1 in the CLP-3 tex, gives

dwdt(t)=fx(x(t),y(t),t)dxdt(t)+fy(x(t),y(t),t)dydt(t)+ft(x(t),y(t),t)dtdt=fx(x(t),y(t),t)dxdt(t)+fy(x(t),y(t),t)dydt(t)+ft(x(t),y(t),t)\begin{align*} \diff{w}{t}(t) &=\pdiff{f}{x}\big(x(t),y(t),t\big)\diff{x}{t}(t) +\pdiff{f}{y}\big(x(t),y(t),t\big)\diff{y}{t}(t) +\pdiff{f}{t}\big(x(t),y(t),t\big)\diff{t}{t} \\ &=\pdiff{f}{x}\big(x(t),y(t),t\big)\diff{x}{t}(t) +\pdiff{f}{y}\big(x(t),y(t),t\big)\diff{y}{t}(t) +\pdiff{f}{t}\big(x(t),y(t),t\big) \end{align*}

Substituting in the values given in the question

dwdt=2×13×2+5=1\begin{equation*} \diff{w}{t} =2\times 1 -3\times 2 +5 =1 \end{equation*}

On the other hand, we are told explicitly in the question that ftf_t is 55. The reason that ftf_t and dwdt\diff{w}{t} are different is that

  • ftf_t gives the rate of change of f(x,y,t)f(x,y,t) as tt varies while xx and yy are held fixed, but

  • dwdt\diff{w}{t} gives the rate of change of f(x(t),y(t),t)f\big(x(t),y(t),t\big). For the latter all of x=x(t)x=x(t), y=y(t)y=y(t) and tt are changing at once.

Q4Stage 1

Thermodynamics texts use the relationship

(yx)(zy)(xz)=1\begin{equation*} \left(\pdiff{y}{x}\right) \left(\pdiff{z}{y}\right) \left(\pdiff{x}{z}\right)=-1 \end{equation*}

Explain the meaning of this equation and prove that it is true.

Hint

The basic assumption is that the three quantites xx, yy and zz are not independent. Given any two of them, the third is uniquely determined. They are assumed to satisfy a relationship F(x,y,z)=0F(x,y,z)=0, which can be solved to

  • determine xx as a function of yy and zz (say x=f(y,z)x=f(y,z)) and can alternatively be solved to

  • determine yy as a function of xx and zz (say y=g(x,z)y=g(x,z)) and can alternatively be solved to

  • determine zz as a function of xx and yy (say z=h(x,y)z=h(x,y)).

For example, saying that F(x,y,z)=0F(x,y,z)=0 determines x=f(y,z)x=f(y,z) means that

F(f(y,z),y,z)=0\begin{equation*} F\big(f(y,z),y,z\big)=0 \tag{$*$} \end{equation*}

for all yy and zz. The equation

(yx)(zy)(xz)=1\begin{equation*} \left(\pdiff{y}{x}\right) \left(\pdiff{z}{y}\right) \left(\pdiff{x}{z}\right)=-1 \end{equation*}

really means

(gx)(hy)(fz)=1\begin{equation*} \left(\pdiff{g}{x}\right) \left(\pdiff{h}{y}\right) \left(\pdiff{f}{z}\right)=-1 \end{equation*}

So use ()(*) to compute fz\pdiff{f}{z}. Use other equations similar to ()(*) to compute gx\pdiff{g}{x} and hy\pdiff{h}{y}.

Answer

See the solution.

Full solution

The basic assumption is that the three quantites xx, yy and zz are not independent. Given any two of them, the third is uniquely determined. They are assumed to satisfy a relationship F(x,y,z)=0F(x,y,z)=0, which can be solved to

  • determine xx as a function of yy and zz (say x=f(y,z)x=f(y,z)) and can alternatively be solved to

  • determine yy as a function of xx and zz (say y=g(x,z)y=g(x,z)) and can alternatively be solved to

  • determine zz as a function of xx and yy (say z=h(x,y)z=h(x,y)).

As an example, if F(x,y,z)=xyz1F(x,y,z) = xyz-1, then

  • F(x,y,z)=xyz1=0F(x,y,z)=xyz-1=0 implies that x=1yz=f(y,z)x=\frac{1}{yz}=f(y,z) and

  • F(x,y,z)=xyz1=0F(x,y,z)=xyz-1=0 implies that y=1xz=g(x,z)y=\frac{1}{xz}=g(x,z) and

  • F(x,y,z)=xyz1=0F(x,y,z)=xyz-1=0 implies that z=1xy=h(x,y)z=\frac{1}{xy}=h(x,y)

In general, saying that F(x,y,z)=0F(x,y,z)=0 determines x=f(y,z)x=f(y,z) means that

F(f(y,z),y,z)=0\begin{equation*} F\big(f(y,z),y,z\big)=0 \tag{$*$} \end{equation*}

for all yy and zz. Set F(y,z)=F(f(y,z),y,z)\mathcal{F}(y,z)=F\big(f(y,z),y,z\big). Applying the chain rule to F(y,z)=F(f(y,z),y,z)\mathcal{F}(y,z)=F\big(f(y,z),y,z\big) (with yy and zz independent variables) gives

Fz(y,z)=Fx(f(y,z),y,z)fz(y,z)+Fz(f(y,z),y,z)\begin{align*} \pdiff{\mathcal{F}}{z}(y,z) &= \pdiff{F}{x}\big(f(y,z),y,z\big) \pdiff{f}{z}(y,z) +\pdiff{F}{z}\big(f(y,z),y,z\big) \end{align*}

The equation ()(*) says that F(y,z)=F(f(y,z),y,z)=0\mathcal{F}(y,z)=F\big(f(y,z),y,z\big)=0 for all yy and zz. So differentiating the equation ()(*) with respect to zz gives

Fz(y,z)=Fx(f(y,z),y,z)fz(y,z)+Fz(f(y,z),y,z)=0    fz(y,z)=Fz(f(y,z),y,z)Fx(f(y,z),y,z)\begin{align*} \pdiff{\mathcal{F}}{z}(y,z)&=\pdiff{F}{x}\big(f(y,z),y,z\big) \pdiff{f}{z}(y,z) +\pdiff{F}{z}\big(f(y,z),y,z\big)=0 \\ &\implies \pdiff{f}{z}(y,z) =-\frac{\pdiff{F}{z}\big(f(y,z),y,z\big)} {\pdiff{F}{x}\big(f(y,z),y,z\big)} \end{align*}

for all yy and zz. Similarly, differentiating F(x,g(x,z),z)=0F\big(x,g(x,z),z\big)=0 with respect to xx and F(x,y,h(x,y))=0F\big(x,y,h(x,y)\big)=0 with respect to yy gives

gx(x,z)=Fx(x,g(x,z),z)Fy(x,g(x,z),z)hy(x,y)=Fy(x,y,h(x,y))Fz(x,y,h(x,y))\begin{align*} \pdiff{g}{x}(x,z) =-\frac{\pdiff{F}{x}\big(x,g(x,z),z\big)} {\pdiff{F}{y}\big(x,g(x,z),z\big)}\qquad \pdiff{h}{y}(x,y) =-\frac{\pdiff{F}{y}\big(x,y,h(x,y)\big)} {\pdiff{F}{z}\big(x,y,h(x,y)\big)} \end{align*}

If (x,y,z)(x,y,z) is any point satisfying F(x,y,z)=0F(x,y,z)=0 (so that x=f(y,z)x=f(y,z) and y=g(x,z)y=g(x,z) and z=h(x,y)z=h(x,y)), then

fz(y,z)=Fz(x,y,z)Fx(x,y,z)gx(x,z)=Fx(x,y,z)Fy(x,y,z)hy(x,y)=Fy(x,y,z)Fz(x,y,z)\begin{align*} \pdiff{f}{z}(y,z) =-\frac{\pdiff{F}{z}\big(x,y,z\big)} {\pdiff{F}{x}\big(x,y,z\big)}\qquad \pdiff{g}{x}(x,z) =-\frac{\pdiff{F}{x}\big(x,y,z\big)} {\pdiff{F}{y}\big(x,y,z\big)}\qquad \pdiff{h}{y}(x,y) =-\frac{\pdiff{F}{y}\big(x,y,z\big)} {\pdiff{F}{z}\big(x,y,z\big)} \end{align*}

and

fz(y,z) gx(x,z) hy(x,y)=Fz(x,y,z)Fx(x,y,z) Fx(x,y,z)Fy(x,y,z) Fy(x,y,z)Fz(x,y,z)=1\begin{align*} \pdiff{f}{z}(y,z)\ \pdiff{g}{x}(x,z)\ \pdiff{h}{y}(x,y) &=-\frac{\pdiff{F}{z}\big(x,y,z\big)} {\pdiff{F}{x}\big(x,y,z\big)}\ \frac{\pdiff{F}{x}\big(x,y,z\big)} {\pdiff{F}{y}\big(x,y,z\big)}\ \frac{\pdiff{F}{y}\big(x,y,z\big)} {\pdiff{F}{z}\big(x,y,z\big)} \\ &=-1 \end{align*}
Q5Stage 1

What is wrong with the following argument? Suppose that w=f(x,y,z)w=f(x,y,z) and z=g(x,y)z=g(x,y). By the chain rule,

wx=wxxx+wyyx+wzzx=wx+wzzx\begin{align*} \pdiff{w}{x} =\pdiff{w}{x}\pdiff{x}{x} +\pdiff{w}{y}\pdiff{y}{x} +\pdiff{w}{z}\pdiff{z}{x} =\pdiff{w}{x} +\pdiff{w}{z}\pdiff{z}{x} \end{align*}

Hence 0=wzzx0=\pdiff{w}{z}\pdiff{z}{x} and so wz=0\pdiff{w}{z}=0 or zx=0\pdiff{z}{x}=0.

Hint

Is the wx\pdiff{w}{x} on the left hand side really the same as the wx\pdiff{w}{x} on the right hand side?

Answer

The problem is that wx\pdiff{w}{x} is used to represent two completely different functions in the same equation. See the solution for more details.

Full solution

The problem is that wx\pdiff{w}{x} is used to represent two completely different functions in the same equation. The careful way to write the equation is the following. Let f(x,y,z)f(x,y,z) and g(x,y)g(x,y) be continuously differentiable functions and define w(x,y)=f(x,y,g(x,y))w(x,y)=f\big(x,y,g(x,y)\big). By the chain rule,

wx(x,y)=fx(x,y,g(x,y))xx+fy(x,y,g(x,y))yx+fz(x,y,g(x,y))gx(x,y)=fx(x,y,g(x,y))+fz(x,y,g(x,y))gx(x,y)\begin{align*} \pdiff{w}{x}(x,y) &=\pdiff{f}{x}\big(x,y,g(x,y)\big) \pdiff{x}{x} +\pdiff{f}{y}\big(x,y,g(x,y)\big) \pdiff{y}{x} +\pdiff{f}{z}\big(x,y,g(x,y)\big) \pdiff{g}{x}(x,y)\cr &=\pdiff{f}{x}\big(x,y,g(x,y)\big) +\pdiff{f}{z}\big(x,y,g(x,y)\big) \pdiff{g}{x}(x,y) \end{align*}

While w(x,y)=f(x,y,g(x,y))w(x,y)=f\big(x,y,g(x,y)\big), it is not true that wx(x,y)=fx(x,y,g(x,y))\pdiff{w}{x}(x,y) =\pdiff{f}{x}\big(x,y,g(x,y)\big). For example, take f(x,y,z)=xzf(x,y,z)=x-z and g(x,y)=xg(x,y)=x. Then w(x,y)=f(x,y,g(x,y))=xg(x,y)=0w(x,y)=f\big(x,y,g(x,y)\big)=x-g(x,y)=0 for all (x,y)(x,y), so that wx(x,y)=0\pdiff{w}{x}(x,y)=0 while fx(x,y,z)=1\pdiff{f}{x}(x,y,z)=1 for all (x,y,z)(x,y,z).

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q6Stage 2

Use two methods (one using the chain rule) to evaluate ws\pdiff{w}{s} and wt\pdiff{w}{t} given that the function w=x2+y2+z2w=x^2+y^2+z^2, with x=st, y=scostx=st,\ y=s\cos t and z=ssintz=s\sin t.

Hint

To avoid the chain rule, write ww explicitly as a function of ss and tt.

Answer

ws(s,t)=2s(t2+1)w_s(s,t)=2s(t^2+1) wt(s,t)=s2(2t)w_t(s,t)=s^2(2t)

Full solution

Method 1: Since w(s,t)=x(s,t)2+y(s,t)2+z(s,t)2w(s,t)=x(s,t)^2+y(s,t)^2+z(s,t)^2 with x(s,t)=stx(s,t)=st, y(s,t)=scosty(s,t)=s\cos t and z(s,t)=ssintz(s,t)=s\sin t we can write out w(s,t)w(s,t) explicitly:

w(s,t)=(st)2+(scost)2+(ssint)2=s2(t2+1)    ws(s,t)=2s(t2+1)andwt(s,t)=s2(2t)\begin{align*} w(s,t)&=(st)^2+(s\cos t)^2+(s\sin t)^2 =s^2(t^2+1)\\ \implies w_s(s,t)&=2s(t^2+1)\qquad\text{and}\qquad w_t(s,t)=s^2(2t) \end{align*}
  • Method 2:* The question specifies that w(s,t)=x(s,t)2+y(s,t)2+z(s,t)2w(s,t)=x(s,t)^2+y(s,t)^2+z(s,t)^2 with x(s,t)=stx(s,t)=st, y(s,t)=scosty(s,t)=s\cos t and z(s,t)=ssintz(s,t)=s\sin t. That is, w(s,t)=W(x(s,t),y(s,t),z(s,t))w(s,t) = W\big(x(s,t), y(s,t), z(s,t)\big) with W(x,y,z)=x2+y2+z2W(x,y,z)= x^2+y^2+z^2. Applying the chain rule to w(s,t)=W(x(s,t),y(s,t),z(s,t))w(s,t) = W\big(x(s,t), y(s,t), z(s,t)\big) and noting that Wx=2x\pdiff{W}{x}=2x, Wy=2y\pdiff{W}{y}=2y, Wz=2z\pdiff{W}{z}=2z, gives
ws(s,t)=Wx(x(s,t),y(s,t),z(s,t))xs(s,t)+Wy(x(s,t),y(s,t),z(s,t))ys(s,t)+Wz(x(s,t),y(s,t),z(s,t))zs(s,t)=2x(s,t) xs(s,t)+2y(s,t) ys(s,t)+2z(s,t) zs(s,t)=2(st) t+2(scost) cost+2(ssint) sint=2st2+2swt(s,t)=Wx(x(s,t),y(s,t),z(s,t))xt(s,t)+Wy(x(s,t),y(s,t),z(s,t))yt(s,t)+Wz(x(s,t),y(s,t),z(s,t))zt(s,t)=2x(s,t) xt(s,t)+2y(s,t) yt(s,t)+2z(s,t) zt(s,t)=2(st) s+2(scost) (ssint)+2(ssint) (scost)=2s2t\begin{align*} \pdiff{w}{s}(s,t) &= \pdiff{W}{x}\big(x(s,t), y(s,t), z(s,t)\big)\pdiff{x}{s}(s,t) + \pdiff{W}{y}\big(x(s,t), y(s,t), z(s,t)\big)\pdiff{y}{s}(s,t)\\&\hskip1in + \pdiff{W}{z}\big(x(s,t), y(s,t), z(s,t)\big)\pdiff{z}{s}(s,t) \\ &=2 x(s,t)\ x_s(s,t)+2 y(s,t)\ y_s(s,t)+2 z(s,t)\ z_s(s,t) \\ &=2 (st)\ t+2 (s\cos t)\ \cos t+2 (s\sin t)\ \sin t\\ &=2 st^2+2 s\\ \pdiff{w}{t}(s,t) &= \pdiff{W}{x}\big(x(s,t), y(s,t), z(s,t)\big)\pdiff{x}{t}(s,t) + \pdiff{W}{y}\big(x(s,t), y(s,t), z(s,t)\big)\pdiff{y}{t}(s,t)\\&\hskip1in + \pdiff{W}{z}\big(x(s,t), y(s,t), z(s,t)\big)\pdiff{z}{t}(s,t) \\ &=2 x(s,t)\ x_t(s,t)+2 y(s,t)\ y_t(s,t)+2 z(s,t)\ z_t(s,t)\\ &=2 (st)\ s+2 (s\cos t)\ (-s\sin t)+2 (s\sin t)\ (s\cos t)\\ &=2 s^2t \end{align*}
Q7Stage 2

Evaluate 3xy2f(2x+3y,xy)\frac{\partial^3}{\partial x\partial y^2}f(2x+3y,xy) in terms of partial derivatives of ff. You may assume that ff is a smooth function so that the Chain Rule and Clairaut's Theorem on the equality of the mixed partial derivatives apply.

Hint

Start by setting F(x,y)=f(2x+3y,xy)F(x,y)=f(2x+3y,xy). It might also help to define g(x,y)=2x+3yg(x,y)=2x+3y and h(x,y)=xyh(x,y)=xy.

Answer

We have

3xy2f(2x+3y,xy)=6f12+2xf22+18f111+(9y+12x)f112+(6xy+2x2)f122+x2yf222\begin{equation*} \frac{\partial^3}{\partial x\partial y^2}f(2x+3y,xy) =6f_{12}+2x\,f_{22}+18\,f_{111}+(9y+12x)\,f_{112} +(6xy+2x^2)\,f_{122}+x^2y\,f_{222} \end{equation*}

All functions on the right hand side have arguments (2x+3y,xy)(2x+3y,xy). The notation f21f_{21}, for example, means first differentiate with respect to the second argument and then differentiate with respect to the first argument.

Full solution

By definition,

3xy2f(2x+3y,xy)=x[y(yf(2x+3y,xy))]\begin{equation*} \frac{\partial^3}{\partial x\partial y^2}f(2x+3y,xy) =\pdiff{}{x}\left[\pdiff{}{y}\left(\pdiff{}{y}f(2x+3y,xy)\right) \right] \end{equation*}

We'll compute the derivatives from the inside out. Let's call F(x,y)=f(2x+3y,xy)F(x,y)=f(2x+3y,xy) so that the innermost derivative is G(x,y)=yf(2x+3y,xy)=yF(x,y)G(x,y)=\pdiff{}{y}f(2x+3y,xy)=\pdiff{}{y}F(x,y). By the chain rule

G(x,y)=yF(x,y)=f1(2x+3y,xy)y(2x+3y)+f2(2x+3y,xy)y(xy)=3f1(2x+3y,xy)+xf2(2x+3y,xy)\begin{align*} G(x,y)=\pdiff{}{y}F(x,y) &=f_1(2x+3y,xy)\pdiff{}{y}(2x+3y)+f_2(2x+3y,xy)\pdiff{}{y}(xy) \\ &= 3f_1(2x+3y,xy)+xf_2(2x+3y,xy) \end{align*}

Here the subscript 11 means take the partial derivative of ff with respect to the first argument while holding the second argument fixed, and the subscript 22 means take the partial derivative of ff with respect to the second argument while holding the first argument fixed. Next call the middle derivative H(x,y)=y(yf(2x+3y,xy))H(x,y)=\pdiff{}{y}\left(\pdiff{}{y}f(2x+3y,xy)\right) so that

H(x,y)=yG(x,y)=y(3f1(2x+3y,xy)+xf2(2x+3y,xy))=3y(f1(2x+3y,xy))+xy(f2(2x+3y,xy))\begin{align*} H(x,y) &= \pdiff{}{y} G(x,y) \\ &=\pdiff{}{y}\Big(3f_1(2x+3y,xy)+xf_2(2x+3y,xy)\Big) \\ &=3\pdiff{}{y}\Big(f_1(2x+3y,xy)\Big) +x\pdiff{}{y}\Big(f_2(2x+3y,xy)\Big) \end{align*}

By the chain rule (twice),

y(f1(2x+3y,xy))=f11(2x+3y,xy)y(2x+3y)+f12(2x+3y,xy)y(xy)=3f11(2x+3y,xy)+xf12(2x+3y,xy)y(f2(2x+3y,xy))=f21(2x+3y,xy)y(2x+3y)+f22(2x+3y,xy)y(xy)=3f21(2x+3y,xy)+xf22(2x+3y,xy)\begin{align*} \pdiff{}{y}\Big(f_1(2x+3y,xy)\Big) &=f_{11}(2x+3y,xy)\pdiff{}{y}(2x+3y)+f_{12}(2x+3y,xy)\pdiff{}{y}(xy) \\ &= 3f_{11}(2x+3y,xy)+xf_{12}(2x+3y,xy) \\ \pdiff{}{y}\Big(f_2(2x+3y,xy)\Big) &=f_{21}(2x+3y,xy)\pdiff{}{y}(2x+3y)+f_{22}(2x+3y,xy)\pdiff{}{y}(xy) \\ &= 3f_{21}(2x+3y,xy)+xf_{22}(2x+3y,xy) \end{align*}

so that

H(x,y)=3(3f11(2x+3y,xy)+xf12(2x+3y,xy))+x(3f21(2x+3y,xy)+xf22(2x+3y,xy))=9f11(2x+3y,xy)+6xf12(2x+3y,xy)+x2f22(2x+3y,xy)\begin{align*} H(x,y)&=3\Big(3f_{11}(2x+3y,xy)+xf_{12}(2x+3y,xy) \Big) \\[-0.05in] &\hskip1.5in +x\Big(3f_{21}(2x+3y,xy)+xf_{22}(2x+3y,xy)\Big) \\ &=9f_{11}(2x+3y,xy)+6xf_{12}(2x+3y,xy)+x^2f_{22}(2x+3y,xy) \end{align*}

In the last equality we used that f21(2x+3y,xy)=f12(2x+3y,xy)f_{21}(2x+3y,xy)=f_{12}(2x+3y,xy). The notation f21f_{21} means first differentiate with respect to the second argument and then differentiate with respect to the first argument. For example, if f(x,y)=e2ysinxf(x,y)=e^{2y}\sin x, then

f21(x,y)=x[y(e2ysinx)]=x[2e2ysinx]=2eycosx\begin{align*} f_{21}(x,y) =\pdiff{}{x} \Big[\pdiff{}{y}\big(e^{2y}\sin x\big)\Big] =\pdiff{}{x} \Big[2e^{2y}\sin x\Big] =2e^y\cos x \end{align*}

Finally, we get to

3xy2f(2x+3y,xy)=xH(x,y)=x(9f11(2x+3y,xy)+6xf12(2x+3y,xy)+x2f22(2x+3y,xy))=9x(f11(2x+3y,xy))+6f12(2x+3y,xy)+6xx(f12(2x+3y,xy))+2xf22(2x+3y,xy)+x2x(f22(2x+3y,xy))\begin{align*} \frac{\partial^3}{\partial x\partial y^2}f(2x+3y,xy) &=\pdiff{}{x} H(x,y) \\ &=\pdiff{}{x}\Big(9f_{11}(2x+3y,xy)+6xf_{12}(2x+3y,xy)+x^2f_{22}(2x+3y,xy)\Big)\\ &=9\pdiff{}{x}\Big(f_{11}(2x+3y,xy)\Big)\\&\hskip0.1in +6f_{12}(2x+3y,xy) +6x\pdiff{}{x}\Big(f_{12}(2x+3y,xy)\Big) \\&\hskip0.1in +2xf_{22}(2x+3y,xy) +x^2\pdiff{}{x}\Big(f_{22}(2x+3y,xy)\Big) \end{align*}

By three applications of the chain rule

3xy2f(2x+3y,xy)=9(2f111+yf112)+6f12+6x(2f121+yf122)+2xf22+x2(2f221+yf222)=6f12+2xf22+18f111+(9y+12x)f112+(6xy+2x2)f122+x2yf222\begin{align*} \frac{\partial^3}{\partial x\partial y^2}f(2x+3y,xy) &=9\Big(2f_{111}+yf_{112}\Big)\\&\hskip0.1in +6f_{12}+6x\Big(2f_{121}+yf_{122}\Big)\\&\hskip0.1in +2xf_{22}+x^2\Big(2f_{221}+yf_{222}\Big)\\ &=6\,f_{12}+2x\,f_{22}+18\,f_{111}+(9y+12x)\,f_{112} +(6xy+2x^2)\,f_{122}+x^2y\,f_{222} \end{align*}

All functions on the right hand side have arguments (2x+3y,xy)(2x+3y,xy).

Q8Stage 2

Find all second order derivatives of g(s,t)=f(2s+3t,3s2t)g(s,t)=f(2s+3t,3s-2t). You may assume that f(x,y)f(x,y) is a smooth function so that the Chain Rule and Clairaut's Theorem on the equality of the mixed partial derivatives apply.

Answer
gss(s,t)=4f11(2s+3t,3s2t)+12f12(2s+3t,3s2t)+9f22(2s+3t,3s2t)gst(s,t)=6f11(2s+3t,3s2t)+5f12(2s+3t,3s2t)6f22(2s+3t,3s2t)gtt(s,t)=9f11(2s+3t,3s2t)12f12(2s+3t,3s2t)+4f22(2s+3t,3s2t)\begin{align*} g_{ss}(s,t)&=4f_{11}(2s+3t,3s-2t)+12f_{12}(2s+3t,3s-2t)+9f_{22}(2s+3t,3s-2t)\\ g_{st}(s,t)&=6f_{11}(2s+3t,3s-2t)+5f_{12}(2s+3t,3s-2t)-6f_{22}(2s+3t,3s-2t)\\ g_{tt}(s,t)&=9f_{11}(2s+3t,3s-2t)-12f_{12}(2s+3t,3s-2t)+4f_{22}(2s+3t,3s-2t) \end{align*}

Here f1f_1 denotes the partial derivative of ff with respect to its first argument, f12f_{12} is the result of first taking one partial derivative of ff with respect to its first argument and then taking a partial derivative with respect to its second argument, and so on.

Full solution

The given function is

g(s,t)=f(2s+3t,3s2t)\begin{equation*} g(s,t)=f(2s+3t,3s-2t) \end{equation*}

The first order derivatives are

gs(s,t)=2f1(2s+3t,3s2t)+3f2(2s+3t,3s2t)gt(s,t)=3f1(2s+3t,3s2t)2f2(2s+3t,3s2t)\begin{align*} g_s(s,t)&=2f_1(2s+3t,3s-2t)+3f_2(2s+3t,3s-2t)\\ g_t(s,t)&=3f_1(2s+3t,3s-2t)-2f_2(2s+3t,3s-2t) \end{align*}

The second order derivatives are

gss(s,t)=s(2f1(2s+3t,3s2t)+3f2(2s+3t,3s2t))=2(2f11+3f12)+3(2f21+3f22)=4f11+6f12+6f21+9f22=4f11(2s+3t,3s2t)+12f12(2s+3t,3s2t)+9f22(2s+3t,3s2t)gst(s,t)=t(2f1(2s+3t,3s2t)+3f2(2s+3t,3s2t))=2(3f112f12)+3(3f212f22)=6f11(2s+3t,3s2t)+5f12(2s+3t,3s2t)6f22(2s+3t,3s2t)gtt(s,t)=t(3f1(2s+3t,3s2t)2f2(2s+3t,3s2t))=3(3f112f12)2(3f212f22)=9f11(2s+3t,3s2t)12f12(2s+3t,3s2t)+4f22(2s+3t,3s2t)\begin{align*} g_{ss}(s,t) &=\pdiff{}{s}\Big(2f_1(2s+3t,3s-2t)+3f_2(2s+3t,3s-2t)\Big)\\ &=2\Big(2f_{11}+3f_{12}\Big) +3\Big(2f_{21}+3f_{22}\Big)\\ &=4f_{11}+6f_{12}+6f_{21}+9f_{22}\\ &=4f_{11}(2s+3t,3s-2t)+12f_{12}(2s+3t,3s-2t)+9f_{22}(2s+3t,3s-2t)\\ g_{st}(s,t)&=\pdiff{}{t}\Big(2f_1(2s+3t,3s-2t)+3f_2(2s+3t,3s-2t)\Big)\\ &=2\Big(3f_{11}-2f_{12}\Big) +3\Big(3f_{21}-2f_{22}\Big)\\ &=6f_{11}(2s+3t,3s-2t)+5f_{12}(2s+3t,3s-2t)-6f_{22}(2s+3t,3s-2t)\\ g_{tt}(s,t)&=\pdiff{}{t}\Big(3f_1(2s+3t,3s-2t)-2f_2(2s+3t,3s-2t)\Big)\\ &=3\Big(3f_{11}-2f_{12}\Big) -2\Big(3f_{21}-2f_{22}\Big)\\ &=9f_{11}(2s+3t,3s-2t)-12f_{12}(2s+3t,3s-2t)+4f_{22}(2s+3t,3s-2t) \end{align*}

Here f1f_1 denotes the partial derivative of ff with respect to its first argument, f12f_{12} is the result of first taking one partial derivative of ff with respect to its first argument and then taking a partial derivative with respect to its second argument, and so on.

Q9Stage 2Past exam · M200 2005D

Assume that f(x,y)f(x,y) satisfies Laplace's equation 2fx2+2fy2=0\frac{\partial^2 f}{\partial x^2}+\frac{\partial^2 f}{\partial y^2}=0. Show that this is also the case for the composite function g(s,t)=f(st,s+t)g(s,t) = f (s - t, s + t). That is, show that 2gs2+2gt2=0\frac{\partial^2 g}{\partial s^2}+\frac{\partial^2 g}{\partial t^2}=0. You may assume that f(x,y)f(x,y) is a smooth function so that the Chain Rule and Clairaut's Theorem on the equality of the mixed partial derivatives apply.

Hint

Start by showing that, because 2fx2+2fy2=0\frac{\partial^2 f}{\partial x^2}+\frac{\partial^2 f}{\partial y^2}=0, the second derivative 2gs2=22fxy\frac{\partial^2g}{\partial s^2} = 2\frac{\partial^2f}{\partial x \partial y}.

Answer

See the solutions.

Full solution

By the chain rule,

gs(s,t)=sf(st,s+t)=fx(st,s+t)s(st)+fy(st,s+t)s(s+t)=fx(st,s+t)+fy(st,s+t)2gs2(s,t)=s[fx(st,s+t)]+s[fy(st,s+t)]=2fx2(st,s+t)+2fyx(st,s+t)+2fxy(st,s+t)+2fy2(st,s+t)={2fx2(st,s+t)+22fxy(st,s+t)+2fy2(st,s+t)}\begin{align*} \pdiff{g}{s}(s,t) &=\pdiff{}{s} f (s - t, s + t) \\ &= \pdiff{f}{x}\big(s-t\,,\,s+t\big)\pdiff{}{s}\big(s-t\big) +\pdiff{f}{y}\big(s-t\,,\,s+t\big)\pdiff{}{s}\big(s+t\big) \\ &= \pdiff{f}{x}\big(s-t\,,\,s+t\big) +\pdiff{f}{y}\big(s-t\,,\,s+t\big) \\ \frac{\partial^2 g}{\partial s^2}(s,t) &=\textcolor{blue}{\pdiff{}{s}\left[\pdiff{f}{x}\big(s-t\,,\,s+t\big)\right]} +\textcolor{red}{\pdiff{}{s}\left[\pdiff{f}{y}\big(s-t\,,\,s+t\big)\right]} \\ &=\textcolor{blue}{ \frac{\partial^2 f}{\partial x^2}\big(s-t\,,\,s+t\big) +\frac{\partial^2 f}{\partial y\partial x}\big(s-t\,,\,s+t\big)} \\ &\hskip0.2in +\textcolor{red}{\frac{\partial^2 f}{\partial x\partial y}\big(s-t\,,\,s+t\big) +\frac{\partial^2 f}{\partial y^2}\big(s-t\,,\,s+t\big)} \\ &=\left\{\frac{\partial^2 f}{\partial x^2}\big(s-t\,,\,s+t\big) + 2\frac{\partial^2 f}{\partial x\partial y}\big(s-t\,,\,s+t\big) +\frac{\partial^2 f}{\partial y^2}\big(s-t\,,\,s+t\big)\right\} \end{align*}

and

gt(s,t)=tf(st,s+t)=fx(st,s+t)t(st)+fy(st,s+t)t(s+t)=fx(st,s+t)+fy(st,s+t)2gt2(s,t)=t[fx(st,s+t)]+t[fy(st,s+t)]=[2fx2(st,s+t)+2fyx(st,s+t)]+[2fxy(st,s+t)+2fy2(st,s+t)]={2fx2(st,s+t)22fxy(st,s+t)+2fy2(st,s+t)}\begin{align*} \pdiff{g}{t}(s,t)&=\pdiff{}{t} f (s - t, s + t) \\ &= \pdiff{f}{x}\big(s-t\,,\,s+t\big)\pdiff{}{t}\big(s-t\big) +\pdiff{f}{y}\big(s-t\,,\,s+t\big)\pdiff{}{t}\big(s+t\big) \\ &= -\pdiff{f}{x}\big(s-t\,,\,s+t\big) +\pdiff{f}{y}\big(s-t\,,\,s+t\big) \\ \frac{\partial^2 g}{\partial t^2}(s,t) &=-\textcolor{blue}{\pdiff{}{t}\left[\pdiff{f}{x}\big(s-t\,,\,s+t\big)\right]} +\textcolor{red}{\pdiff{}{t}\left[\pdiff{f}{y}\big(s-t\,,\,s+t\big)\right]} \\ &= -\textcolor{blue}{\Big[-\frac{\partial^2 f}{\partial x^2} \big(s-t\,,\,s+t\big) +\frac{\partial^2 f}{\partial y\partial x}\big(s-t\,,\,s+t\big)\Big]} \\ &\hskip0.2in +\textcolor{red}{\Big[-\frac{\partial^2 f}{\partial x\partial y} \big(s-t\,,\,s+t\big) +\frac{\partial^2 f}{\partial y^2}\big(s-t\,,\,s+t\big) \Big]} \\ &=\left\{\frac{\partial^2 f}{\partial x^2}\big(s-t\,,\,s+t\big) - 2\frac{\partial^2 f}{\partial x\partial y}\big(s-t\,,\,s+t\big) +\frac{\partial^2 f}{\partial y^2}\big(s-t\,,\,s+t\big)\right\} \end{align*}

Suppressing the arguments

2gs2+2gt2={2fx2+22fxy+2fy2}+{2fx222fxy+2fy2}=2[2fx2+2fy2]=0\begin{align*} \frac{\partial^2 g}{\partial s^2} + \frac{\partial^2 g}{\partial t^2} &=\left\{\frac{\partial^2 f}{\partial x^2} + 2\frac{\partial^2 f}{\partial x\partial y} +\frac{\partial^2 f}{\partial y^2}\right\} +\left\{\frac{\partial^2 f}{\partial x^2} - 2\frac{\partial^2 f}{\partial x\partial y} +\frac{\partial^2 f}{\partial y^2}\right\} \\ &=2\left[\frac{\partial^2 f}{\partial x^2} +\frac{\partial^2 f}{\partial y^2}\right] \\ &=0 \end{align*}

as desired.

Q10Stage 2Past exam · M200 2006A

Let z=f(x,y)z = f(x,y) where x=2s+tx = 2s + t and y=sty = s - t. Find the values of the constants aa, bb and cc such that

a2zx2+b2zxy+c2zy2=2zs2+2zt2\begin{equation*} a\frac{\partial^2 z}{\partial x^2} +b\frac{\partial^2 z}{\partial x\,\partial y} +c\frac{\partial^2 z}{\partial y^2} =\frac{\partial^2 z}{\partial s^2} +\frac{\partial^2 z}{\partial t^2} \end{equation*}

You may assume that z=f(x,y)z = f(x,y) is a smooth function so that the Chain Rule and Clairaut's Theorem on the equality of the mixed partial derivatives apply.

Hint

The notation in the statement of this question is horrendous — the symbol zz is used with two different meanings in one equation. On the left hand side, it is a function of xx and yy, and on the right hand side, it is a function of ss and tt.
Unfortunately that abuse of notation is also very common. Until you get used to it, undo this notation conflict by renaming the function of ss and tt to F(s,t)F(s,t). That is, F(s,t)=f(2s+t,st)F(s,t) = f\big(2s+t\,,\,s-t\big).

Then, evaluate each term on the right-hand side of the equation.

Answer

a=5a=5 and b=c=2b=c=2.

Full solution

The notation in the statement of this question is horrendous — the symbol zz is used with two different meanings in one equation. On the left hand side, it is a function of xx and yy, and on the right hand side, it is a function of ss and tt.
Unfortunately that abuse of notation is also very common. Let us undo the notation conflict by renaming the function of ss and tt to F(s,t)F(s,t). That is,

F(s,t)=f(2s+t,st)\begin{equation*} F(s,t) = f\big(2s+t\,,\,s-t\big) \end{equation*}

In this new notation, we are being asked to find aa, bb and cc so that

a2fx2+b2fxy+c2fy2=2Fs2+2Ft2\begin{align*} a\frac{\partial^2 f}{\partial x^2} +b\frac{\partial^2 f}{\partial x\partial y} +c\frac{\partial^2 f}{\partial y^2} &=\frac{\partial^2 F}{\partial s^2} + \frac{\partial^2 F}{\partial t^2} \end{align*}

with the arguments on the right hand side being (s,t)(s,t) and the arguments on the left hand side being (2s+t,st)\big(2s+t\,,\,s-t\big).

By the chain rule,

Fs(s,t)=fx(2s+t,st)s(2s+t)+fy(2s+t,st)s(st)=2fx(2s+t,st)+fy(2s+t,st)[0]2Fs2(s,t)=2s[fx(2s+t,st)]+s[fy(2s+t,st)]=42fx2(2s+t,st)+22fyx(2s+t,st)+22fxy(2s+t,st)+2fy2(2s+t,st)\begin{align*} \pdiff{F}{s}(s,t)&= \pdiff{f}{x}\big(2s+t\,,\,s-t\big)\pdiff{}{s}(2s+t) +\pdiff{f}{y}\big(2s+t\,,\,s-t\big)\pdiff{}{s}(s-t) \\ &= 2\pdiff{f}{x}\big(2s+t\,,\,s-t\big) +\pdiff{f}{y}\big(2s+t\,,\,s-t\big) [0]\\ \frac{\partial^2 F}{\partial s^2}(s,t) &=\textcolor{blue}{2\pdiff{}{s}\left[\pdiff{f}{x}\big(2s+t\,,\,s-t\big)\right]} +\textcolor{red}{\pdiff{}{s}\left[\pdiff{f}{y}\big(2s+t\,,\,s-t\big)\right]}\\ &= \textcolor{blue}{4\frac{\partial^2 f}{\partial x^2}\big(2s+t\,,\,s-t\big) + 2\frac{\partial^2 f}{\partial y\partial x} \big(2s+t\,,\,s-t\big)} \\ &\hskip0.2in +\textcolor{red}{2\frac{\partial^2 f}{\partial x\partial y} \big(2s+t\,,\,s-t\big) +\frac{\partial^2 f}{\partial y^2}\big(2s+t\,,\,s-t\big)} \end{align*}

and

Ft(s,t)=fx(2s+t,st)t(2s+t)+fy(2s+t,st)t(st)=fx(2s+t,st)fy(2s+t,st)[0]2Ft2(s,t)=t[fx(2s+t,st)]t[fy(2s+t,st)]=2fx2(2s+t,st)2fyx(2s+t,st)2fxy(2s+t,st)+2fy2(2s+t,st)\begin{align*} \pdiff{F}{t}(s,t)&= \pdiff{f}{x}\big(2s+t\,,\,s-t\big)\pdiff{}{t}(2s+t) +\pdiff{f}{y}\big(2s+t\,,\,s-t\big)\pdiff{}{t}(s-t)\\ &= \pdiff{f}{x}\big(2s+t\,,\,s-t\big) -\pdiff{f}{y}\big(2s+t\,,\,s-t\big) [0] \\ \frac{\partial^2 F}{\partial t^2}(s,t) &=\textcolor{blue}{\pdiff{}{t}\left[\pdiff{f}{x}\big(2s+t\,,\,s-t\big)\right]} \textcolor{red}{-\pdiff{}{t}\left[\pdiff{f}{y}\big(2s+t\,,\,s-t\big)\right]} \\ &= \textcolor{blue}{\frac{\partial^2 f}{\partial x^2}\big(2s+t\,,\,s-t\big) -\frac{\partial^2 f}{\partial y\partial x}\big(2s+t\,,\,s-t\big)} \\ &\hskip0.2in \textcolor{red}{-\frac{\partial^2 f}{\partial x\partial y} \big(2s+t\,,\,s-t\big) +\frac{\partial^2 f}{\partial y^2}\big(2s+t\,,\,s-t\big) } \end{align*}

Suppressing the arguments

2Fs2+2Ft2=52fx2+22fxy+22fy2\begin{align*} \frac{\partial^2 F}{\partial s^2} + \frac{\partial^2 F}{\partial t^2} &=5\frac{\partial^2 f}{\partial x^2} +2\frac{\partial^2 f}{\partial x\partial y} +2\frac{\partial^2 f}{\partial y^2} \end{align*}

Finally, translating back into the (horrendous) notation of the question

2zs2+2zt2=52zx2+22zxy+22zy2\begin{align*} \frac{\partial^2 z}{\partial s^2} + \frac{\partial^2 z}{\partial t^2} &=5\frac{\partial^2 z}{\partial x^2} +2\frac{\partial^2 z}{\partial x\partial y} +2\frac{\partial^2 z}{\partial y^2} \end{align*}

so that a=5a=5 and b=c=2b=c=2.

Q11Stage 2Past exam · M200 2007A

Let FF be a function on R2\bbbr^2. Denote points in R2\bbbr^2 by (u,v)(u, v) and the corresponding partial derivatives of FF by Fu(u,v)F_u(u, v), Fv(u,v)F_v (u, v), Fuu(u,v)F_{uu}(u, v), Fuv(u,v)F_{uv}(u, v), etc.. Assume those derivatives are all continuous. Express

2xyF(x2y2,2xy)\begin{align*} \frac{\partial^2}{\partial x\, \partial y} F(x^2 - y^2 , 2xy) \end{align*}

in terms of partial derivatives of the function FF.

Hint

Let u(x,y)=x2y2u(x,y) = x^2 - y^2 , and v(x,y)=2xyv(x,y) = 2xy. Then F(x2y2,2xy)=F(u(x,y),v(x,y))F(x^2 - y^2 , 2xy) =F\big(u(x,y),v(x,y)\big).

Answer
2xyF(x2y2,2xy)=2Fv(x2y2,2xy)4xyFuu(x2y2,2xy)+4(x2y2)Fuv(x2y2,2xy)+4xyFvv(x2y2,2xy)\begin{align*} \frac{\partial^2}{\partial x\, \partial y} F(x^2 - y^2 , 2xy) &= 2\, F_v(x^2 - y^2 , 2xy) -4xy\, F_{uu}(x^2 - y^2 , 2xy) \\&\hskip0.5in +4(x^2-y^2)\, F_{uv}(x^2 - y^2 , 2xy) \\&\hskip0.5in +4xy\, F_{vv}(x^2 - y^2 , 2xy) \end{align*}
Full solution

Let u(x,y)=x2y2u(x,y) = x^2 - y^2 , and v(x,y)=2xyv(x,y) = 2xy. Then F(x2y2,2xy)=F(u(x,y),v(x,y))F(x^2 - y^2 , 2xy) =F\big(u(x,y),v(x,y)\big). By the chain rule

yF(x2y2,2xy)=yF(u(x,y),v(xy))=Fu(u(x,y),v(xy))uy(x,y)+Fv(u(x,y),v(xy))vy(x,y)=Fu(x2y2,2xy) (2y)+Fv(x2y2,2xy)(2x)2xyF(x2y2,2xy)=x{2yFu(x2y2,2xy)+2xFv(x2y2,2xy)}=2yx[Fu(x2y2,2xy)]+2Fv(x2y2,2xy)+2xx[Fv(x2y2,2xy)]=4xyFuu(x2y2,2xy)4y2Fuv(x2y2,2xy)+2Fv(x2y2,2xy)+4x2Fvu(x2y2,2xy)+4xyFvv(x2y2,2xy)=2Fv(x2y2,2xy)4xyFuu(x2y2,2xy)+4(x2y2)Fuv(x2y2,2xy)+4xyFvv(x2y2,2xy)\begin{align*} \pdiff{}{y}F(x^2 - y^2 , 2xy) &=\pdiff{}{y}F(u(x,y) , v(xy)) \\ &=F_u(u(x,y) , v(xy))\pdiff{u}{y}(x,y) + F_v(u(x,y) , v(xy))\pdiff{v}{y}(x,y) \\ &= F_u(x^2 - y^2 , 2xy)\ (-2y) + F_v(x^2 - y^2 , 2xy)\, (2x) \\ \frac{\partial^2}{\partial x\, \partial y} F(x^2 - y^2 , 2xy) &=\pdiff{}{x}\left\{-2y F_u(x^2 - y^2 , 2xy) + 2x F_v(x^2 - y^2 , 2xy) \right\} \\ &=\textcolor{blue}{-2y\pdiff{}{x}\left[ F_u(x^2 - y^2 , 2xy)\right]} +2 F_v(x^2 - y^2 , 2xy) \\&\hskip0.5in +\textcolor{red}{2x \pdiff{}{x}\left[F_v(x^2 - y^2 , 2xy)\right]} \\ &= \textcolor{blue}{-4xy\,F_{uu}(x^2 - y^2 , 2xy) -4y^2 F_{uv}(x^2 - y^2 , 2xy)} +2 F_v(x^2 - y^2 , 2xy) \\&\hskip0.5in + \textcolor{red}{4x^2 F_{vu}(x^2 - y^2 , 2xy) +4xy\,F_{vv}(x^2 - y^2 , 2xy)} \\ &= 2 \, F_v(x^2 - y^2 , 2xy) -4xy\, F_{uu}(x^2 - y^2 , 2xy) \\&\hskip0.5in +4(x^2-y^2)\, F_{uv}(x^2 - y^2 , 2xy) \\&\hskip0.5in +4xy\, F_{vv}(x^2 - y^2 , 2xy) \end{align*}
Q12Stage 2Past exam · M200 2008D

u(x,y)u(x,y) is defined as

u(x,y)=eyF(xey2)\begin{equation*} u(x,y) = e^y\, F\big(xe^{-y^2}\big) \end{equation*}

for an arbitrary function F(z)F(z).

  1. If F(z)=ln(z)F(z) = \ln(z), find ux\pdiff{u}{x} and uy\pdiff{u}{y}.

  2. For an arbitrary F(z)F(z) show that u(x,y)u(x,y) satisfies

    2xyux+uy=u\begin{equation*} 2xy\pdiff{u}{x} + \pdiff{u}{y} = u \end{equation*}
Hint

(b) Since FF is a function of only one variable, the chain rule for (say) xF(xey2)\frac{\partial}{\partial x} F\big(xe^{-y^2}\big) has only one term.

Answer

(a) ux(x,y)=eyx\pdiff{u}{x}(x,y) = \frac{e^y}{x}, uy(x,y)=eyln(x)y2ey2yey\pdiff{u}{y}(x,y) = e^y\,\ln (x) -y^2\,e^y -2y e^y

(b) See the solution.

Full solution

For any (differentiable) function FF, we have, by the chain and product rules,

ux(x,y)=x[eyF(xey2)]=eyx[F(xey2)]=eyF(xey2)x(xey2)=eyF(xey2) ey2[0]uy(x,y)=y[eyF(xey2)]=eyF(xey2)+eyy[F(xey2)]=eyF(xey2)+eyF(xey2) y(xey2)=eyF(xey2)+eyF(xey2) (2xy)ey2\begin{align*} \pdiff{u}{x}(x,y)&= \pdiff{}{x}\Big[e^y\,F\big(xe^{-y^2}\big)\Big] =e^y\,\pdiff{}{x}\Big[F\big(xe^{-y^2}\big)\Big] \\ &=e^y\,F'\big(xe^{-y^2}\big)\pdiff{}{x}\Big(xe^{-y^2}\Big) \\ &= e^y\, F'\big(xe^{-y^2}\big)\ e^{-y^2} [0]\\ \pdiff{u}{y}(x,y)&= \pdiff{}{y}\Big[e^y\,F\big(xe^{-y^2}\big)\Big]\\ &=e^y\,F\big(xe^{-y^2}\big) +e^y\,\pdiff{}{y}\Big[F\big(xe^{-y^2}\big)\Big] \\ &= e^y\, F\big(xe^{-y^2}\big) + e^y\,F'\big(xe^{-y^2}\big)\ \pdiff{}{y}\Big(xe^{-y^2}\Big) \\ &= e^y\, F\big(xe^{-y^2}\big) + e^y\, F'\big(xe^{-y^2}\big)\ (-2xy)e^{-y^2} \end{align*}

(a) In particular, when F(z)=ln(z)F(z)=\ln(z), F(z)=1zF'(z)=\frac{1}{z} and

ux(x,y)=ey1xey2 ey2=eyxuy(x,y)=eyln(xey2)+ey1xey2 (2xy)ey2=eyln(xey2)2yey=eyln(x)y2ey2yey\begin{align*} \pdiff{u}{x}(x,y)&= e^y\, \frac{1}{xe^{-y^2}}\ e^{-y^2} = \frac{e^y}{x}\\ \pdiff{u}{y}(x,y)&= e^y\, \ln\big(xe^{-y^2}\big) + e^y\, \frac{1}{xe^{-y^2}}\ (-2xy)e^{-y^2} = e^y\, \ln\big(xe^{-y^2}\big) -2y e^y \\ &= e^y\,\ln (x) -y^2\,e^y -2y e^y \end{align*}

(b) In general

2xyux+uy=2xy eyF(xey2) ey2+eyF(xey2)+eyF(xey2) (2xy)ey2=eyF(xey2)=u\begin{align*} 2xy\pdiff{u}{x} + \pdiff{u}{y} &=2xy\ e^y\, F'\big(xe^{-y^2}\big)\ e^{-y^2} +e^y\, F\big(xe^{-y^2}\big) + e^y\, F'\big(xe^{-y^2}\big)\ (-2xy)e^{-y^2} \\ &=e^y\, F\big(xe^{-y^2}\big) \\ &=u \end{align*}
Q13Stage 2Past exam · M200 2009A

Let f(x)f(x) and g(x)g(x) be two functions of xx satisfying f(7)=2f''(7) = -2 and g(4)=1g''(-4) = -1. If z=h(s,t)=f(2s+3t)+g(s6t)z = h(s,t) = f(2s + 3t) + g(s - 6t) is a function of ss and tt, find the value of 2zt2\frac{\partial^2 z}{\partial t^2} when s=2s = 2 and t=1t = 1.

Hint

At some point, you'll be using the chain rule you learned in first-semester calculus.

Answer

54-54

Full solution

By the chain rule,

ht(s,t)=t[f(2s+3t)]+t[g(s6t)]=f(2s+3t)t(2s+3t)+g(s6t)t(s6t)=3f(2s+3t)6g(s6t)[0]2ht2(s,t)=3t[f(2s+3t)]6t[g(s6t)]=3f(2s+3t)t(2s+3t)6g(s6t)t(s6t)=9f(2s+3t)+36g(s6t)\begin{align*} \pdiff{h}{t}(s,t) &=\pdiff{}{t}\big[f(2s + 3t)\big] + \pdiff{}{t}\big[g(s - 6t)\big] \\ &=f'(2s + 3t)\pdiff{}{t}(2s+3t) + g(s - 6t)\pdiff{}{t}(s-6t) \\ &= 3f'(2s + 3t) - 6g'(s - 6t) [0]\\ \frac{\partial^2 h}{\partial t^2}(s,t) &=\textcolor{blue}{3\pdiff{}{t}\big[f'(2s + 3t)\big]} \textcolor{red}{- 6\pdiff{}{t}\big[ g'(s - 6t) \big]} \\ &=\textcolor{blue}{3\,f''(2s + 3t)\pdiff{}{t}(2s+3t)} \textcolor{red}{- 6\,g''(s - 6t) \pdiff{}{t}(s-6t)} \\ &=\textcolor{blue}{9f''(2s+3t)} +\textcolor{red}{36g''(s-6t)} \end{align*}

In particular

2ht2(2,1)=9f(7)+36g(4)=9(2)+36(1)=54\begin{align*} \frac{\partial^2 h}{\partial t^2}(2,1) =9f''(7) +36g''(-4) =9(-2) +36(-1) =-54 \end{align*}
Q14Stage 2Past exam · M200 2011A

Suppose that w=f(xz,yz)w = f (xz, yz), where ff is a differentiable function. Show that

xwx+ywy=zwz\begin{equation*} x\pdiff{w}{x} + y\pdiff{w}{y} = z\pdiff{w}{z} \end{equation*}
Hint

Just compute the first order partial derivatives of w(x,y,z)w(x,y,z).

Answer

See the solution.

Full solution

We'll first compute the first order partial derivatives of w(x,y,z)w(x,y,z). Write u(x,y,z)=xzu(x,y,z)=xz and v(x,y,z)=yzv(x,y,z)=yz so that w(x,y,z)=f(u(x,y,z),v(x,y,z))w(x,y,z) = f\big(u(x,y,z), v(x,y,z)\big). By the chain rule,

wx(x,y,z)=x[f(u(x,y,z),v(x,y,z))]=fu(u(x,y,z),v(x,y,z))ux(x,y,z)+fv(u(x,y,z),v(x,y,z))vx(x,y,z)=zfu(xz,yz)[0]wy(x,y,z)=y[f(u(x,y,z),v(x,y,z))]=fu(u(x,y,z),v(x,y,z))uy(x,y,z)+fv(u(x,y,z),v(x,y,z))vy(x,y,z)=zfv(xz,yz)[0]wz(x,y,z)=z[f(u(x,y,z),v(x,y,z))]=fu(u(x,y,z),v(x,y,z))uz(x,y,z)+fv(u(x,y,z),v(x,y,z))vz(x,y,z)=xfu(xz,yz)+yfv(xz,yz)\begin{align*} \pdiff{w}{x}(x,y,z) &= \pdiff{}{x}\big[f \big(u(x,y,z), v(x,y,z)\big)\big]\\ &=\pdiff{f}{u}\big(u(x,y,z), v(x,y,z)\big)\pdiff{u}{x}(x,y,z) +\pdiff{f}{v}\big(u(x,y,z), v(x,y,z)\big)\pdiff{v}{x}(x,y,z) \\ &=z\pdiff{f}{u}(xz, yz) [0]\\ \pdiff{w}{y}(x,y,z) &= \pdiff{}{y}\big[f \big(u(x,y,z), v(x,y,z)\big)\big]\\ &=\pdiff{f}{u}\big(u(x,y,z), v(x,y,z)\big)\pdiff{u}{y}(x,y,z) +\pdiff{f}{v}\big(u(x,y,z), v(x,y,z)\big)\pdiff{v}{y}(x,y,z) \\ &=z\pdiff{f}{v}(xz, yz) [0]\\ \pdiff{w}{z}(x,y,z) &= \pdiff{}{z}\big[f \big(u(x,y,z), v(x,y,z)\big)\big]\\ &=\pdiff{f}{u}\big(u(x,y,z), v(x,y,z)\big)\pdiff{u}{z}(x,y,z) +\pdiff{f}{v}\big(u(x,y,z), v(x,y,z)\big)\pdiff{v}{z}(x,y,z) \\ &=x\pdiff{f}{u}(xz, yz) + y\pdiff{f}{v}(xz, yz) \end{align*}

So

xwx+ywy=xzfu(xz,yz)+yzfv(xz,yz)=z[xfu(xz,yz)+yfv(xz,yz)]=zwz\begin{align*} x\pdiff{w}{x} + y\pdiff{w}{y} =xz\pdiff{f}{u}(xz, yz) + yz\pdiff{f}{v}(xz, yz) =z\left[x\pdiff{f}{u}(xz, yz) + y\pdiff{f}{v}(xz, yz)\right] =z\pdiff{w}{z} \end{align*}

as desired.

Q15Stage 2Past exam · M200 2011D

Suppose z=f(x,y)z = f (x, y) has continuous second order partial derivatives, and x=rcostx = r \cos t, y=rsinty = r \sin t. Express the following partial derivatives in terms rr, tt, and partial derivatives of ff.

  1. zt\pdiff{z}{t}

  2. 2zt2\frac{\partial^2 z}{\partial t^2}

Hint

The function fx\pdiff{f}{x} depends on both xx and yy, so don't forget to account for both of these when you take its partial derivative.

Answer

(a)

zt(r,t)=rsint fx(rcost,rsint)+rcost fy(rcost,rsint)\begin{align*} \pdiff{z}{t}(r,t) &= -r\sin t\ \pdiff{f}{x}(r\cos t\,,\,r\sin t) +r\cos t\ \pdiff{f}{y}(r\cos t\,,\,r\sin t) \end{align*}

(b)

2zt2(r,t)=rcost fxrsint fy+r2sin2t 2fx22r2sintcost 2 fxy+r2cos2t 2fy2\begin{align*} \frac{\partial^2 z}{\partial t^2}(r,t) &= -r\cos t \ \pdiff{f}{x} -r\sin t \ \pdiff{f}{y} \\ &\hskip0.5in +r^2\sin^2 t\ \frac{\partial^2 f}{\partial x^2} -2r^2\sin t\cos t\ \frac{\partial^2\ f}{\partial x\partial y} +r^2\cos^2 t\ \frac{\partial^2 f}{\partial y^2} \end{align*}

with all of the partial derivatives of ff evaluated at (rcost,rsint)(r\cos t\,,\,r\sin t).

Full solution

By definition z(r,t)=f(rcost,rsint)z(r,t) = f(r\cos t\,,\,r\sin t).

(a) By the chain rule

zt(r,t)=t[f(rcost,rsint)]=fx(rcost,rsint)t(rcost)+fy(rcost,rsint)t(rsint)=rsint fx(rcost,rsint)+rcost fy(rcost,rsint)\begin{align*} \pdiff{z}{t}(r,t) &= \pdiff{}{t}\Big[f(r\cos t\,,\,r\sin t)\Big] \\ &= \pdiff{f}{x}(r\cos t\,,\,r\sin t)\pdiff{}{t}(r\cos t) +\pdiff{f}{y}(r\cos t\,,\,r\sin t)\pdiff{}{t}(r\sin t) \\ &= -r\sin t\ \pdiff{f}{x}(r\cos t\,,\,r\sin t) +r\cos t\ \pdiff{f}{y}(r\cos t\,,\,r\sin t) \end{align*}

(b) By linearity, the product rule and the chain rule

2zt2(r,t)=t[rsint fx(rcost,rsint)]+t[rcost fy(rcost,rsint)]=rcost fx(rcost,rsint)rsint t[fx(rcost,rsint)]rsint fy(rcost,rsint)+rcost t[fy(rcost,rsint)][0]=rcost fx(rcost,rsint)+r2sin2t 2fx2(rcost,rsint)r2sintcost 2 fyx(rcost,rsint)=rsint fy(rcost,rsint)r2sintcost 2 fxy(rcost,rsint)+r2cos2t 2fy2(rcost,rsint)[0]=rcost fxrsint fy+r2sin2t 2fx22r2sintcost 2 fxy+r2cos2t 2fy2\begin{align*} \frac{\partial^2 z}{\partial t^2}(r,t) &= -\pdiff{}{t}\left[r\sin t\ \pdiff{f}{x}(r\cos t\,,\,r\sin t)\right] +\pdiff{}{t}\left[r\cos t\ \pdiff{f}{y}(r\cos t\,,\,r\sin t)\right] \\ &= -r\cos t\ \pdiff{f}{x}(r\cos t\,,\,r\sin t) \textcolor{blue}{ -r\sin t\ \pdiff{}{t}\left[\pdiff{f}{x}(r\cos t\,,\,r\sin t)\right]} \\ &\hskip0.5in -r\sin t\ \pdiff{f}{y}(r\cos t\,,\,r\sin t) \textcolor{red}{ +r\cos t\ \pdiff{}{t}\left[\pdiff{f}{y}(r\cos t\,,\,r\sin t)\right]} [0]\\ &= -r\cos t \ \pdiff{f}{x}(r\cos t\,,\,r\sin t) \\ &\hskip0.5in \textcolor{blue}{ +r^2\sin^2 t\ \frac{\partial^2 f}{\partial x^2}(r\cos t\,,\,r\sin t) -r^2\sin t\cos t\ \frac{\partial^2\ f}{\partial y\partial x}(r\cos t\,,\,r\sin t)} \\ &\phantom{=}-r\sin t \ \pdiff{f}{y}(r\cos t\,,\,r\sin t) \\ &\hskip0.5in \textcolor{red}{-r^2\sin t\cos t\ \frac{\partial^2\ f}{\partial x\partial y}(r\cos t\,,\,r\sin t) +r^2\cos^2 t\ \frac{\partial^2 f}{\partial y^2}(r\cos t\,,\,r\sin t)} [0]\\ &= -r\cos t \ \pdiff{f}{x} -r\sin t \ \pdiff{f}{y} \\ &\hskip0.5in +r^2\sin^2 t\ \frac{\partial^2 f}{\partial x^2} -2r^2\sin t\cos t\ \frac{\partial^2\ f}{\partial x\partial y} +r^2\cos^2 t\ \frac{\partial^2 f}{\partial y^2} \end{align*}

with all of the partial derivatives of ff evaluated at (rcost,rsint)(r\cos t\,,\,r\sin t).

Q16Stage 2Past exam · M200 2012a

Let z=f(x,y)z = f(x, y), where f(x,y)f(x, y) has continuous second-order partial derivatives, and

fx(2,1)=5,fy(2,1)=2,fxx(2,1)=2,fxy(2,1)=1,fyy(2,1)=4\begin{equation*} f_x (2, 1) = 5, \qquad f_y(2, 1) =-2, \qquad f_{xx}(2, 1) = 2,\qquad f_{xy}(2, 1) = 1, \qquad f_{yy}(2, 1) = -4 \end{equation*}

Find d2dt2z(x(t),y(t))\difftwo{}{t} z\big(x(t),y(t)\big) when x(t)=2t2x(t)=2t^2, y(t)=t3y(t)=t^3 and t=1t=1.

Answer

2828

Full solution

Write w(t)=z(x(t),y(t))=f(x(t),y(t))w(t) = z\big(x(t),y(t)\big) = f\big(x(t),y(t)\big) with x(t)=2t2x(t)=2t^2, y(t)=t3y(t)=t^3. We are to compute d2wdt2(1)\difftwo{w}{t}(1). By the chain rule

dwdt(t)=ddtf(x(t),y(t))=fx(x(t),y(t))dxdt(t)+fy(x(t),y(t))dydt(t)=4tfx(x(t),y(t))+3t2fy(x(t),y(t))\begin{align*} \diff{w}{t}(t)&= \diff{}{t} f\big(x(t),y(t)\big) \\ &= f_x(x(t)\,,\,y(t))\,\diff{x}{t}(t) +f_y(x(t)\,,\,y(t))\,\diff{y}{t}(t) \\ &= 4t\,f_x(x(t)\,,\,y(t)) +3t^2\,f_y(x(t)\,,\,y(t)) \end{align*}

By linearity, the product rule, and the chain rule,

d2dt2f(x(t),y(t))=ddt[4tfx(x(t),y(t))]+ddt[3t2fy(x(t),y(t))]=4fx(x(t),y(t))+4tddt[fx(x(t),y(t))]+6tfy(x(t),y(t))+3t2ddt[fy(x(t),y(t))]=4fx(2t2,t3)+4t[fxx(x(t),y(t))dxdt(t)+fxy(x(t),y(t))dydt(t)]=+6tfy(2t2,t3)+3t2[fyx(x(t),y(t))dxdt(t)+fyy(x(t),y(t))dydt(t)]=4fx(2t2,t3)+16t2fxx(2t2,t3)+12t3fxy(2t2,t3)=+6tfy(2t2,t3)+12t3fyx(2t2,t3)+9t4fyy(2t2,t3)\begin{align*} \difftwo{}{t} f\big(x(t),y(t)\big) &= \diff{}{t}\left[4t\,f_x\big(x(t),y(t)\big) \right] +\diff{}{t}\left[3t^2\,f_y\big(x(t),y(t)\big) \right] \\ &= 4\,f_x\big(x(t),y(t)\big) + \textcolor{blue}{4t \diff{}{t}\left[f_x\big(x(t),y(t)\big) \right] } \\&\hskip0.1in +6t\,f_y\big(x(t),y(t)\big) +\textcolor{red}{3t^2\diff{}{t}\left[f_y\big(x(t),y(t)\big) \right]} \\ &= 4\,f_x(2t^2\,,\,t^3) + \textcolor{blue}{4t\Big[f_{xx}\big(x(t),y(t)\big)\,\diff{x}{t}(t) + f_{xy}\big(x(t),y(t)\big)\,\diff{y}{t}(t)\Big]} \\ &\phantom{=} + 6t\,f_y(2t^2\,,\,t^3) + \textcolor{red}{3t^2\Big[f_{yx}\big(x(t),y(t)\big)\,\diff{x}{t}(t) + f_{yy}\big(x(t),y(t)\big)\,\diff{y}{t}(t)\Big]} \\ &= 4\,f_x(2t^2\,,\,t^3) + \textcolor{blue}{16t^2\,f_{xx}(2t^2\,,\,t^3) + 12t^3\,f_{xy}(2t^2\,,\,t^3)} \\ &\phantom{=} + 6t\,f_y(2t^2\,,\,t^3) + \textcolor{red}{12t^3\,f_{yx}(2t^2\,,\,t^3) + 9t^4\,f_{yy}(2t^2\,,\,t^3)} \end{align*}

In particular, when t=1t=1, and since fxy(2,1)=fyx(2,1)f_{xy}(2, 1)=f_{yx}(2, 1),

d2dt2f(x(t),y(t))t=1=4(5)+16(2)+12(1)=+6(2)+12(1)+9(4)=28\begin{align*} \left.\difftwo{}{t} f\big(x(t),y(t)\big) \right|_{t=1} &= 4\,(5) +\textcolor{blue}{ 16\,(2) + 12\,(1)} \\ &\phantom{=} + 6\,(-2) + \textcolor{red}{12\,(1) + 9\,(-4)} \\ &=28 \end{align*}
Q17Stage 2Past exam · M200 2012D

Assume that the function F(x,y,z)F(x,y,z) satisfies the equation Fz=2Fx2+2Fy2\frac{\partial F}{\partial z} = \frac{\partial^2 F}{\partial x^2} + \frac{\partial^2 F}{\partial y^2} and the mixed partial derivatives 2Fxy\frac{\partial^2 F}{\partial x \partial y} and 2Fyx\frac{\partial^2 F}{\partial y \partial x} are equal. Let AA be some constant and let G(γ,s,t)=F(γ+s,γs,At)G(\gamma, s, t) = F (\gamma + s, \gamma-s, At). Find the value of AA such that Gt=2Gγ2+2Gs2\frac{\partial G}{\partial t} = \frac{\partial^2 G}{\partial \gamma^2} + \frac{\partial^2 G}{\partial s^2}.

Hint

Just compute Gt\frac{\partial G}{\partial t}, 2Gγ2\frac{\partial^2 G}{\partial \gamma^2} and 2Gs2\frac{\partial^2 G}{\partial s^2}.

Answer

A=2A=2.

Full solution

By the chain rule

Gt(γ,s,t)=t[F(γ+s,γs,At)]=Fx(γ+s,γs,At)t(γ+s)+Fy(γ+s,γs,At)t(γs)+Fz(γ+s,γs,At)t(At)=AFz(γ+s,γs,At)\begin{align*} \pdiff{G}{t}(\ga,s,t) &= \pdiff{}{t} \Big[F (\gamma + s, \gamma-s, At)\Big] \\ &=\pdiff{F}{x}(\gamma + s, \gamma-s, At)\, \pdiff{}{t}(\gamma + s) +\pdiff{F}{y}(\gamma + s, \gamma-s, At)\, \pdiff{}{t}(\gamma - s) \\&\hskip1in +\pdiff{F}{z}(\gamma + s, \gamma-s, At)\,\pdiff{}{t}(At) \\ &= A\,\pdiff{F}{z}(\gamma + s, \gamma-s, At) \end{align*}

and

Gγ(γ,s,t)=γ[F(γ+s,γs,At)]=Fx(γ+s,γs,At)γ(γ+s)+Fy(γ+s,γs,At)γ(γs)+Fz(γ+s,γs,At)γ(At)=Fx(γ+s,γs,At)+Fy(γ+s,γs,At)\begin{align*} \pdiff{G}{\ga}(\ga,s,t) &= \pdiff{}{\ga} \Big[F (\gamma + s, \gamma-s, At)\Big] \\ &=\pdiff{F}{x}(\gamma + s, \gamma-s, At)\, \pdiff{}{\ga}(\gamma + s) +\pdiff{F}{y}(\gamma + s, \gamma-s, At)\, \pdiff{}{\ga}(\gamma - s) \\&\hskip1in +\pdiff{F}{z}(\gamma + s, \gamma-s, At)\,\pdiff{}{\ga}(At) \\ &= \pdiff{F}{x}(\gamma + s, \gamma-s, At) +\pdiff{F}{y}(\gamma + s, \gamma-s, At) \tag{E1} \end{align*}

and

Gs(γ,s,t)=s[F(γ+s,γs,At)]=Fx(γ+s,γs,At)s(γ+s)+Fy(γ+s,γs,At)s(γs)+Fz(γ+s,γs,At)s(At)=Fx(γ+s,γs,At)Fy(γ+s,γs,At)\begin{align*} \pdiff{G}{s}(\ga,s,t) &= \pdiff{}{s} \Big[F (\gamma + s, \gamma-s, At)\Big] \\ &=\pdiff{F}{x}(\gamma + s, \gamma-s, At)\, \pdiff{}{s}(\gamma + s) +\pdiff{F}{y}(\gamma + s, \gamma-s, At)\, \pdiff{}{s}(\gamma - s) \\&\hskip1in +\pdiff{F}{z}(\gamma + s, \gamma-s, At)\,\pdiff{}{s}(At) \\ &= \pdiff{F}{x}(\gamma + s, \gamma-s, At) -\pdiff{F}{y}(\gamma + s, \gamma-s, At) \tag{E2} \end{align*}

We can evaluate the second derivatives by applying the chain rule to the four terms on the right hand sides of

2Gγ2(γ,s,t)=γ[Gγ(γ,s,t)]=γ[Fx(γ+s,γs,At)]+γ[Fy(γ+s,γs,At)]2Gs2(γ,s,t)=s[Gs(γ,s,t)]=s[Fx(γ+s,γs,At)]s[Fy(γ+s,γs,At)]\begin{align*} \frac{\partial^2G}{\partial\ga^2}(\ga,s,t) &=\pdiff{}{\ga}\Big[\pdiff{G}{\ga}(\ga, s, t)\Big] =\textcolor{red}{\pdiff{}{\ga}\Big[\pdiff{F}{x}(\gamma + s, \gamma-s, At)\Big]} +\textcolor{orange}{\pdiff{}{\ga}\Big[\pdiff{F}{y}(\gamma + s, \gamma-s, At) \Big]} \\ \frac{\partial^2G}{\partial s^2}(\ga,s,t) &=\pdiff{}{s}\Big[\pdiff{G}{s}(\ga, s, t)\Big] =\textcolor{blue}{\pdiff{}{s}\Big[\pdiff{F}{x}(\gamma + s, \gamma-s, At)\Big]} -\textcolor{violet}{\pdiff{}{s}\Big[\pdiff{F}{y}(\gamma + s, \gamma-s, At) \Big]} \end{align*}

Alternatively, we can observe that replacing FF by Fx\pdiff{F}{x} in (E1) and (E2) gives

γ[Fx(γ+s,γs,At)]=2Fx2(γ+s,γs,At)+2Fyx(γ+s,γs,At)s[Fx(γ+s,γs,At)]=2Fx2(γ+s,γs,At)2Fyx(γ+s,γs,At)\begin{align*} \textcolor{red}{\pdiff{}{\ga}\Big[\pdiff{F}{x}(\gamma + s, \gamma-s, At)\Big]} &=\textcolor{red}{\frac{\partial^2 F}{\partial x^2}(\gamma + s, \gamma-s, At) +\frac{\partial^2 F}{\partial y\partial x}(\gamma + s, \gamma-s, At)} \\ \textcolor{blue}{\pdiff{}{s}\Big[\pdiff{F}{x}(\gamma + s, \gamma-s, At) \Big]} &=\textcolor{blue}{\frac{\partial^2 F}{\partial x^2}(\gamma + s, \gamma-s, At) -\frac{\partial^2 F}{\partial y\partial x}(\gamma + s, \gamma-s, At)} \end{align*}

replacing FF by Fy\pdiff{F}{y} in (E1) and (E2) gives

γ[Fy(γ+s,γs,At)]=2Fxy(γ+s,γs,At)+2Fy2(γ+s,γs,At)s[Fy(γ+s,γs,At)]=2Fxy(γ+s,γs,At)2Fy2(γ+s,γs,At)\begin{align*} \textcolor{orange}{\pdiff{}{\ga}\Big[\pdiff{F}{y}(\gamma + s, \gamma-s,At)\Big]} &=\textcolor{orange}{\frac{\partial^2 F}{\partial x\partial y}(\gamma + s, \gamma-s, At) +\frac{\partial^2 F}{\partial y^2}(\gamma + s, \gamma-s,At)} \\ \textcolor{violet}{\pdiff{}{s}\Big[\pdiff{F}{y}(\gamma + s, \gamma-s, At) \Big]} &=\textcolor{violet}{\frac{\partial^2 F}{\partial x\partial y}(\gamma + s, \gamma-s, At) -\frac{\partial^2 F}{\partial y^2}(\gamma + s, \gamma-s, At)} \end{align*}

Consequently

2Gγ2(γ,s,t)=2Fx2(γ+s,γs,At)+2Fyx(γ+s,γs,At)=+2Fxy(γ+s,γs,At)+2Fy2(γ+s,γs,At)=2Fx2(γ+s,γs,At)+22Fyx(γ+s,γs,At)+2Fy2(γ+s,γs,At)\begin{align*} \frac{\partial^2G}{\partial\ga^2}(\ga,s,t) &= \textcolor{red}{\frac{\partial^2 F}{\partial x^2}(\gamma + s, \gamma-s, At) +\frac{\partial^2 F}{\partial y\partial x}(\gamma + s, \gamma-s, At)} \\ &\phantom{=}+ \textcolor{orange}{\frac{\partial^2 F}{\partial x\partial y}(\gamma + s, \gamma-s, At) +\frac{\partial^2 F}{\partial y^2}(\gamma + s, \gamma-s, At)} \\ &= \frac{\partial^2 F}{\partial x^2}(\gamma + s, \gamma-s, At) +2\frac{\partial^2 F}{\partial y\partial x}(\gamma + s, \gamma-s, At) +\frac{\partial^2 F}{\partial y^2}(\gamma + s, \gamma-s, At) \end{align*}

and

2Gs2(γ,s,t)=2Fx2(γ+s,γs,At)2Fyx(γ+s,γs,At)=[2Fxy(γ+s,γs,At)2Fy2(γ+s,γs,At)]=2Fx2(γ+s,γs,At)22Fyx(γ+s,γs,At)+2Fy2(γ+s,γs,At)\begin{align*} \frac{\partial^2G}{\partial s^2}(\ga,s,t) &= \textcolor{blue}{\frac{\partial^2 F}{\partial x^2}(\gamma + s, \gamma-s, At) -\frac{\partial^2 F}{\partial y\partial x}(\gamma + s, \gamma-s, At)} \\ &\phantom{=}-\Big[ \textcolor{violet}{\frac{\partial^2 F}{\partial x\partial y}(\gamma + s, \gamma-s, At) -\frac{\partial^2 F}{\partial y^2}(\gamma + s, \gamma-s, At)}\Big] \\ &= \frac{\partial^2 F}{\partial x^2}(\gamma + s, \gamma-s, At) -2\frac{\partial^2 F}{\partial y\partial x}(\gamma + s, \gamma-s, At) +\frac{\partial^2 F}{\partial y^2}(\gamma + s, \gamma-s, At) \end{align*}

So, suppressing the arguments,

2Gγ2+2Gs2Gt=22Fx2+22Fy2AFz=2FzAFz=0\begin{align*} \frac{\partial^2 G}{\partial \gamma^2} + \frac{\partial^2 G}{\partial s^2} -\frac{\partial G}{\partial t} &=2\frac{\partial^2 F}{\partial x^2} + 2\frac{\partial^2 F}{\partial y^2} -A \pdiff{F}{z} =2\pdiff{F}{z}-A \pdiff{F}{z} =0 \end{align*}

if A=2A=2.

Q18Stage 2Past exam · M200 2013D

Let f(x)f(x) be a differentiable function, and suppose it is given that f(0)=10f'(0) = 10. Let g(s,t)=f(asbt)g(s,t) = f (as - bt), where aa and bb are constants. Evaluate gs\pdiff{g}{s} at the point (s,t)=(b,a)(s,t) = (b,a), that is, find gs(b,a)\pdiff{g}{s}\big|_{(b,a)}.

Answer

10a10a

Full solution

By the chain rule

gs(s,t)=s[f(asbt)]=f(asbt)s(asbt)=af(asbt)\begin{align*} \pdiff{g}{s}(s,t) = \pdiff{}{s}\big[f(as-bt)\big] =f'(as-bt)\pdiff{}{s}(as-bt) = af'(as-bt) \end{align*}

In particular

gs(b,a)=af(abba)=af(0)=10a\begin{align*} \pdiff{g}{s}(b,a) = af'(ab-ba) =af'(0) =10 a \end{align*}
Q19Stage 2Past exam · M200 2014D

Let f(u,v)f(u,v) be a differentiable function of two variables, and let zz be a differentiable function of xx and yy defined implicitly by f(xz,yz)=0f(xz,yz) = 0. Show that

xzx+yzy=z\begin{equation*} x\pdiff{z}{x}+y\pdiff{z}{y} = -z \end{equation*}
Hint

Use implicit differentiation to find zx(x,y)\pdiff{z}{x}(x,y) and zy(x,y)\pdiff{z}{y}(x,y).

Answer

See the solution.

Full solution

We are told that the function z(x,y)z(x,y) obeys

f(xz(x,y),yz(x,y))=0\begin{equation*} f\big(x\,z(x,y)\,,\, y\,z(x,y)\big) =0 \tag{$*$} \end{equation*}

for all xx and yy. By the chain rule,

x[f(xz(x,y),yz(x,y))]=fu(xz(x,y),yz(x,y))x[xz(x,y)]+fv(xz(x,y),yz(x,y))x[yz(x,y)]=fu(xz(x,y),yz(x,y))[z(x,y)+xzx(x,y)]+fv(xz(x,y),yz(x,y))yzx(x,y)[0]y[f(xz(x,y),yz(x,y))]=fu(xz(x,y),yz(x,y))y[xz(x,y)]+fv(xz(x,y),yz(x,y))y[yz(x,y)]=fu(xz(x,y),yz(x,y))xzy(x,y)+fv(xz(x,y),yz(x,y))[z(x,y)+yzy(x,y)]\begin{align*} &\pdiff{}{x}\big[f\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\big] \\[-0.05in] &\hskip0.3in=f_u\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\pdiff{}{x}\big[x\,z(x,y)\big] + f_v\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\pdiff{}{x}\big[y\,z(x,y)\big] \\ &\hskip0.3in=f_u\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\,\big[z(x,y)+x\,z_x(x,y)\big] + f_v\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\,y\,z_x(x,y) [0]\\ &\pdiff{}{y}\big[f\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\big] \\[-0.05in] &\hskip0.3in=f_u\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\pdiff{}{y}\big[x\,z(x,y)\big] + f_v\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\pdiff{}{y}\big[y\,z(x,y)\big] \\ &\hskip0.3in=f_u\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\, x\,z_y(x,y) + f_v\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\, \big[z(x,y)+y\,z_y(x,y)\big] \end{align*}

so differentiating ()(*) with respect to xx and with respect to yy gives

fu(xz(x,y),yz(x,y))[z(x,y)+xzx(x,y)]+fv(xz(x,y),yz(x,y))yzx(x,y)=0fu(xz(x,y),yz(x,y))xzy(x,y)+fv(xz(x,y),yz(x,y))[z(x,y)+yzy(x,y)]=0\begin{align*} f_u\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\,\big[z(x,y)+x\,z_x(x,y)\big] + f_v\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\,y z_x(x,y) &=0 \\ f_u\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\, x\,z_y(x,y) + f_v\big(x\,z(x,y)\,,\, y\,z(x,y)\big)\, \big[z(x,y)+y\,z_y(x,y)\big] &=0 \end{align*}

or, leaving out the arguments,

fu[z+xzx]+fvyzx=0fuxzy+fv[z+yzy]=0\begin{align*} f_u\,\big[z+x\,z_x\big] + f_v\,y z_x &=0 \\ f_u\, x\,z_y + f_v\,\big[z+y\,z_y\big] &=0 \end{align*}

Solving the first equation for zxz_x and the second for zyz_y gives

zx=zfuxfu+yfvzy=zfvxfu+yfv\begin{align*} z_x & = -\frac{z\,f_u}{x\,f_u+y\,f_v} \\ z_y & = -\frac{z\,f_v}{x\,f_u+y\,f_v} \end{align*}

so that

xzx+yzy=xzfuxfu+yfvyzfvxfu+yfv=z(xfu+yfv)xfu+yfv=z\begin{align*} x\pdiff{z}{x}+y\pdiff{z}{y} = -\frac{xz\,f_u}{x\,f_u+y\,f_v} -\frac{yz\,f_v}{x\,f_u+y\,f_v} =-\frac{z\,(x\,f_u+y\,f_v)}{x\,f_u+y\,f_v} = -z \end{align*}

as desired.

Remark:
This is of course under the assumption that xfu+yfvx\,f_u+y\,f_v is nonzero. That is equivalent, by the chain rule, to the assumption that z[f(xz,yz)]\pdiff{}{z}\big[f(xz,yz)\big] is non zero. That, in turn, is almost, but not quite, equivalent to the statement that f(xz,yz)=0f(xz,yz)=0 is can be solved for zz as a function of xx and yy.

Q20Stage 2Past exam · M200 2015D

Let w(s,t)=u(2s+3t,3s2t)w(s,t) = u(2s + 3t, 3s - 2t) for some twice differentiable function u=u(x,y)u = u(x, y).

  1. Find wssw_{ss} in terms of uxxu_{xx}, uxyu_{xy} , and uyyu_{yy} (you can assume that uxy=uyxu_{xy} = u_{yx}).

  2. Suppose uxx+uyy=0u_{xx} + u_{yy} = 0. For what constant AA will wss=Awttw_{ss} = Aw_{tt}?

Answer

(a) wss(s,t)=4uxx(2s+3t,3s2t)+12uxy(2s+3t,3s2t)+9uyy(2s+3t,3s2t)w_{ss}(s,t) =4\,u_{xx}(2s + 3t, 3s - 2t) +12\,u_{xy}(2s + 3t, 3s - 2t) +9\,u_{yy}(2s + 3t, 3s - 2t)

(b) A=1A=-1

Full solution

(a) By the chain rule

ws(s,t)=s[u(2s+3t,3s2t)]=ux(2s+3t,3s2t)s(2s+3t)+uy(2s+3t,3s2t)s(3s2t)=2ux(2s+3t,3s2t)+3uy(2s+3t,3s2t)\begin{align*} w_s(s,t) &=\pdiff{}{s}\big[u(2s + 3t, 3s - 2t)\big] \\ &= u_x(2s + 3t, 3s - 2t)\pdiff{}{s}\big(2s + 3t\big) +u_y(2s + 3t, 3s - 2t)\pdiff{}{s}\big(3s - 2t\big) \\ &= 2\,u_x(2s + 3t, 3s - 2t) +3\,u_y(2s + 3t, 3s - 2t) \end{align*}

and

wss(s,t)=2s[ux(2s+3t,3s2t)]+3s[uy(2s+3t,3s2t)]=[4uxx(2s+3t,3s2t)+6uxy(2s+3t,3s2t)]+[6uyx(2s+3t,3s2t)+9uyy(2s+3t,3s2t)]=4uxx(2s+3t,3s2t)+12uxy(2s+3t,3s2t)+9uyy(2s+3t,3s2t)\begin{align*} w_{ss}(s,t) &=\textcolor{blue}{2\pdiff{}{s}\big[u_x(2s + 3t, 3s - 2t)\big]} + \textcolor{red}{3\pdiff{}{s}\big[u_y(2s + 3t, 3s - 2t)\big]} \\ &=\textcolor{blue}{\big[4u_{xx}(2s + 3t, 3s - 2t) +6u_{xy}(2s + 3t, 3s - 2t) \big]} \\&\hskip1.8in +\textcolor{red}{\big[6u_{yx}(2s + 3t, 3s - 2t) +9u_{yy}(2s + 3t, 3s - 2t) \big]} \\ &=4\,u_{xx}(2s + 3t, 3s - 2t) +12\,u_{xy}(2s + 3t, 3s - 2t) +9\,u_{yy}(2s + 3t, 3s - 2t) \end{align*}

(b) Again by the chain rule

wt(s,t)=t[u(2s+3t,3s2t)]=ux(2s+3t,3s2t)t(2s+3t)+uy(2s+3t,3s2t)t(3s2t)=3ux(2s+3t,3s2t)2uy(2s+3t,3s2t)\begin{align*} w_t(s,t) &=\pdiff{}{t}\big[u(2s + 3t, 3s - 2t)\big] \\ &= u_x(2s + 3t, 3s - 2t)\pdiff{}{t}\big(2s + 3t\big) +u_y(2s + 3t, 3s - 2t)\pdiff{}{t}\big(3s - 2t\big) \\ &= 3\,u_x(2s + 3t, 3s - 2t) -2\, u_y(2s + 3t, 3s - 2t) \end{align*}

and

wtt(s,t)=3t[ux(2s+3t,3s2t)]2t[uy(2s+3t,3s2t)]=[9uxx(2s+3t,3s2t)6uxy(2s+3t,3s2t)][6uyx(2s+3t,3s2t)4uyy(2s+3t,3s2t)]=9uxx(2s+3t,3s2t)12uxy(2s+3t,3s2t)+4uyy(2s+3t,3s2t)\begin{align*} w_{tt}(s,t) &=\textcolor{blue}{3\pdiff{}{t}\big[u_x(2s + 3t, 3s - 2t)\big]} -\textcolor{red}{2\pdiff{}{t}\big[u_y(2s + 3t, 3s - 2t)\big]} \\ &=\textcolor{blue}{\big[9u_{xx}(2s + 3t, 3s - 2t) -6u_{xy}(2s + 3t, 3s - 2t) \big]} \\&\hskip1.8in -\textcolor{red}{\big[6u_{yx}(2s + 3t, 3s - 2t) -4u_{yy}(2s + 3t, 3s - 2t) \big]} \\ &=9\,u_{xx}(2s + 3t, 3s - 2t) -12\,u_{xy}(2s + 3t, 3s - 2t) +4\,u_{yy}(2s + 3t, 3s - 2t) \end{align*}

Consquently, for any constant AA,

wssAwtt=(49A)uxx+(12+12A)uxy+(94A)uyy\begin{align*} w_{ss} - Aw_{tt} &= (4-9A) u_{xx} +(12+12A) u_{xy} + (9-4A) u_{yy} \end{align*}

Given that uxx+uyy=0u_{xx} + u_{yy}=0, this will be zero, as desired, if A=1A=-1. (Then (49A)=(94A)=13(4-9A)=(9-4A)=13.)

Q21Stage 2Past exam · M200 2016D

Suppose that f(x,y)f(x,y) is twice differentiable (with fxy=fyxf_{xy}=f_{yx}), and x=rcosθx=r\cos\theta and y=rsinθy=r\sin\theta.

  1. Evaluate fθf_\theta, frf_r and frθf_{r\theta} in terms of rr, θ\theta and partial derivatives of ff with respect to xx and yy.

  2. Let g(x,y)g(x,y) be another function satisfying gx=fyg_x=f_y and gy=fxg_y=-f_x. Express frf_r and fθf_\theta in terms of rr, θ\theta and grg_r, gθg_\theta.

Hint

This question uses bad (but standard) notation, in that the one symbol ff is used for two different functions, namely f(x,y)f(x,y) and f(r,θ)=f(x,y)x=rcosθ,y=rsinθf(r,\theta)=f(x,y)\big|_{x=r\cos\theta,\,y=r\sin\theta}. Until you get used to it, undo this notation conflict by renaming the function of rr and θ\theta to F(r,θ)F(r,\theta). That is, F(r,θ)=f(rcosθ,rsinθ)F(r,\theta) = f\big(r\cos\theta\,,\,r\sin\theta\big). Similarly, rename gg, viewed as a function of rr and θ\theta, to G(r,θ)G(r,\theta). That is, G(r,θ)=g(rcosθ,rsinθ)G(r,\theta) = g\big(r\cos\theta\,,\,r\sin\theta\big).

Answer

(a)

θ[f(rcosθ,rsinθ)]=rsinθfx+rcosθfyr[f(rcosθ,rsinθ)]=cosθfx+sinθfy2θr[f(rcosθ,rsinθ)]=sinθfx+cosθfyrsinθcosθfxx+r[cos2θsin2θ]fxy+rsinθcosθfyy\begin{align*} \pdiff{}{\theta}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] &=-r\sin\theta\, f_x +r\cos\theta\, f_y \\ \pdiff{}{r}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] &= \cos\theta\, f_x +\sin\theta\, f_y \\ \frac{\partial^2}{\partial \theta\,\partial r} \big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] &=-\sin\theta\, f_x +\cos\theta\, f_y \\&\hskip0.5in -r\sin\theta\cos\theta\, f_{xx} +r[\cos^2\theta-\sin^2\theta]\, f_{xy} +r\sin\theta\cos\theta\, f_{yy} \end{align*}

with the arguments of fxf_x, fyf_y, fxxf_{xx}, fxyf_{xy} and fyyf_{yy} all being (rcosθ,rsinθ)\big(r\cos\theta\,,\,r\sin\theta\big).

(b)

r[f(rcosθ,rsinθ)]=1rθ[g(rcosθ,rsinθ)]θ[f(rcosθ,rsinθ)]=rr[g(rcosθ,rsinθ)]\begin{align*} \pdiff{}{r}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] &=-\frac{1}{r} \pdiff{}{\theta}\big[g\big(r\cos\theta\,,\,r\sin\theta\big)\big] \\ \pdiff{}{\theta}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] &=r\pdiff{}{r}\big[g\big(r\cos\theta\,,\,r\sin\theta\big)\big] \end{align*}
Full solution

This question uses bad (but standard) notation, in that the one symbol ff is used for two different functions, namely f(x,y)f(x,y) and f(r,θ)=f(x,y)x=rcosθ,y=rsinθf(r,\theta)=f(x,y)\big|_{x=r\cos\theta,\,y=r\sin\theta}. Let us undo this notation conflict by renaming the function of rr and θ\theta to F(r,θ)F(r,\theta). That is,

F(r,θ)=f(rcosθ,rsinθ)\begin{equation*} F(r,\theta) = f\big(r\cos\theta\,,\,r\sin\theta\big) \end{equation*}

Similarly, rename gg, viewed as a function of rr and θ\theta, to G(r,θ)G(r,\theta). That is,

G(r,θ)=g(rcosθ,rsinθ)\begin{equation*} G(r,\theta) = g\big(r\cos\theta\,,\,r\sin\theta\big) \end{equation*}

In this new notation, we are being asked

  • in part (a) to find FθF_\theta, FrF_r and FrθF_{r\theta} in terms of rr, θ\theta, fxf_x and fyf_y, and

  • in part (b) to express FrF_r and FθF_\theta in terms of rr, θ\theta and GrG_r, GθG_\theta.

(a) By the chain rule

Fθ(r,θ)=θ[f(rcosθ,rsinθ)]=fx(rcosθ,rsinθ) θ(rcosθ)+fy(rcosθ,rsinθ) θ(rsinθ)=rsinθfx(rcosθ,rsinθ)+rcosθfy(rcosθ,rsinθ)Fr(r,θ)=r[f(rcosθ,rsinθ)]=fx(rcosθ,rsinθ) r(rcosθ)+fy(rcosθ,rsinθ) r(rsinθ)=cosθfx(rcosθ,rsinθ)+sinθfy(rcosθ,rsinθ)Frθ(r,θ)=θ[Fr(r,θ)]=θ[cosθfx(rcosθ,rsinθ)+sinθfy(rcosθ,rsinθ)]=sinθ fx(rcosθ,rsinθ)+cosθθ[fx(rcosθ,rsinθ)]+cosθ fy(rcosθ,rsinθ)+sinθθ[fy(rcosθ,rsinθ)]=sinθ fx(rcosθ,rsinθ)+cosθ[fxx(rcosθ,rsinθ)(rsinθ)+fxy(rcosθ,rsinθ)(rcosθ)]+cosθ fy(rcosθ,rsinθ)+sinθ[fyx(rcosθ,rsinθ)(rsinθ)+fyy(rcosθ,rsinθ)(rcosθ)]=sinθfx+cosθfyrsinθcosθfxx+r[cos2θsin2θ]fxy+rsinθcosθfyy\begin{align*} F_\theta(r,\theta) &=\pdiff{}{\theta}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] \\ &= f_x\big(r\cos\theta\,,\,r\sin\theta\big) \ \pdiff{}{\theta}\big(r\cos\theta\big) +f_y\big(r\cos\theta\,,\,r\sin\theta\big) \ \pdiff{}{\theta}\big(r\sin\theta\big) \\ &=-r\sin\theta\, f_x\big(r\cos\theta\,,\,r\sin\theta\big) +r\cos\theta\, f_y\big(r\cos\theta\,,\,r\sin\theta\big) \tag{E1}\\ F_r(r,\theta) &=\pdiff{}{r}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] \\ &= f_x\big(r\cos\theta\,,\,r\sin\theta\big) \ \pdiff{}{r}\big(r\cos\theta\big) +f_y\big(r\cos\theta\,,\,r\sin\theta\big) \ \pdiff{}{r}\big(r\sin\theta\big) \\ &= \cos\theta\, f_x\big(r\cos\theta\,,\,r\sin\theta\big) +\sin\theta\, f_y\big(r\cos\theta\,,\,r\sin\theta\big) \tag{E2}\\ F_{r\theta}(r,\theta) &= \pdiff{}{\theta}\big[F_r(r,\theta)\big] \\ &=\pdiff{}{\theta}\Big[\cos\theta\, f_x\big(r\cos\theta\,,\,r\sin\theta\big) +\sin\theta\, f_y\big(r\cos\theta\,,\,r\sin\theta\big)\Big] \\ &=-\sin\theta\ f_x\big(r\cos\theta\,,\,r\sin\theta\big) +\cos\theta\, \textcolor{blue}{ \pdiff{}{\theta} \Big[f_x\big(r\cos\theta\,,\,r\sin\theta\big)\Big]} \\&\hskip0.2in +\cos\theta\ f_y\big(r\cos\theta\,,\,r\sin\theta\big) +\sin\theta\, \textcolor{red}{ \pdiff{}{\theta}\Big[f_y\big(r\cos\theta\,,\,r\sin\theta\big)\Big]} \\ &=-\sin\theta\ f_x\big(r\cos\theta\,,\,r\sin\theta\big) \\&\hskip1in +\cos\theta \textcolor{blue}{ \Big[f_{xx}\big(r\cos\theta\,,\,r\sin\theta\big)\,(-r\sin\theta) +f_{xy}\big(r\cos\theta\,,\,r\sin\theta\big)\,(r\cos\theta)\Big]} \\&\hskip0.1in +\cos\theta\ f_y\big(r\cos\theta\,,\,r\sin\theta\big) \\&\hskip1in +\sin\theta \textcolor{red}{ \Big[f_{yx}\big(r\cos\theta\,,\,r\sin\theta\big)\,(-r\sin\theta) +f_{yy}\big(r\cos\theta\,,\,r\sin\theta\big)\,(r\cos\theta)\Big]} \\ &=-\sin\theta\, f_x +\cos\theta\, f_y \\&\hskip1in -r\sin\theta\cos\theta\, f_{xx} +r[\cos^2\theta-\sin^2\theta]\, f_{xy} +r\sin\theta\cos\theta\, f_{yy} \end{align*}

with the arguments of fxf_x, fyf_y, fxxf_{xx}, fxyf_{xy} and fyyf_{yy} all being (rcosθ,rsinθ)\big(r\cos\theta\,,\,r\sin\theta\big).

(b) Replacing ff by gg in (E1) gives

Gθ(r,θ)=θ[g(rcosθ,rsinθ)]=rsinθgx(rcosθ,rsinθ)+rcosθgy(rcosθ,rsinθ)=rsinθfy(rcosθ,rsinθ)rcosθfx(rcosθ,rsinθ)=rr[f(rcosθ,rsinθ)]by (E2)\begin{align*} G_\theta(r,\theta) &=\pdiff{}{\theta}\big[g\big(r\cos\theta\,,\,r\sin\theta\big)\big] \\ &=-r\sin\theta\, g_x\big(r\cos\theta\,,\,r\sin\theta\big) +r\cos\theta\, g_y\big(r\cos\theta\,,\,r\sin\theta\big) \\ &=-r\sin\theta\, f_y\big(r\cos\theta\,,\,r\sin\theta\big) -r\cos\theta\, f_x\big(r\cos\theta\,,\,r\sin\theta\big) \\ &=-r \pdiff{}{r}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] \qquad\text{by (E2)} \end{align*}

Replacing ff by gg in (E2) gives

Gr(r,θ)=r[g(rcosθ,rsinθ)]=cosθgx(rcosθ,rsinθ)+sinθgy(rcosθ,rsinθ)=cosθfy(rcosθ,rsinθ)sinθfx(rcosθ,rsinθ)=1rθ[f(rcosθ,rsinθ)]by (E1)\begin{align*} G_r(r,\theta) &=\pdiff{}{r}\big[g\big(r\cos\theta\,,\,r\sin\theta\big)\big] \\ &= \cos\theta\, g_x\big(r\cos\theta\,,\,r\sin\theta\big) +\sin\theta\, g_y\big(r\cos\theta\,,\,r\sin\theta\big) \\ &= \cos\theta\, f_y\big(r\cos\theta\,,\,r\sin\theta\big) -\sin\theta\, f_x\big(r\cos\theta\,,\,r\sin\theta\big) \\ &=\frac{1}{r} \pdiff{}{\theta}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] \qquad\text{by (E1)} \end{align*}

or

r[f(rcosθ,rsinθ)]=1rθ[g(rcosθ,rsinθ)]θ[f(rcosθ,rsinθ)]=rr[g(rcosθ,rsinθ)]\begin{align*} \pdiff{}{r}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] &=-\frac{1}{r} \pdiff{}{\theta}\big[g\big(r\cos\theta\,,\,r\sin\theta\big)\big] \\ \pdiff{}{\theta}\big[f\big(r\cos\theta\,,\,r\sin\theta\big)\big] &=r\pdiff{}{r}\big[g\big(r\cos\theta\,,\,r\sin\theta\big)\big] \end{align*}
Q22Stage 2Past exam · M200 2003A

By definition, the gradient of the differentiable function f(x,y)f(x,y) at the point (x0,y0)\big( x_0\,,\,y_0\big) is

f(x0,y0)=<fx(x0,y0),fy(x0,y0)>\begin{equation*} \vnabla f(x_0,y_0) =\llt \pdiff{f}{x}\big( x_0\,,\,y_0\big)\,,\, \pdiff{f}{y}\big( x_0\,,\,y_0\big)\rgt \end{equation*}

Suppose that we know

f(3,6)=<7,8>\begin{equation*} \vnabla f(3,6)=\llt 7,8\rgt \end{equation*}

Suppose also that

g(1,2)=<1,4>,\begin{equation*} \vnabla g(1,2)=\llt -1,4\rgt, \end{equation*}

and

h(1,2)=<5,10>.\begin{equation*} \vnabla h(1,2)=\llt -5,10\rgt. \end{equation*}

Assuming g(1,2)=3g(1,2)=3, h(1,2)=6h(1,2)=6, and z(s,t)=f(g(s,t),h(s,t))z(s,t)=f\big(g(s,t),h(s,t)\big), find

z(1,2)\begin{equation*} \vnabla z(1,2) \end{equation*}
Answer

z(1,2)=<47,108>\vnabla z(1,2)=\llt -47,108\rgt

Full solution

By the chain rule

zs(s,t)=sf(g(s,t),h(s,t))=fx(g(s,t),h(s,t))gs(s,t)+fy(g(s,t),h(s,t))hs(s,t)zt(s,t)=tf(g(s,t),h(s,t))=fx(g(s,t),h(s,t))gt(s,t)+fy(g(s,t),h(s,t))ht(s,t)\begin{alignat*}{5} \pdiff{z}{s}(s,t) &=\pdiff{}{s}f\big(g(s,t),h(s,t)\big) &&=\pdiff{f}{x}\big(g(s,t),h(s,t)\big) \pdiff{g}{s}(s,t) +\pdiff{f}{y}\big(g(s,t),h(s,t)\big) \pdiff{h}{s}(s,t) \\ \pdiff{z}{t}(s,t) &=\pdiff{}{t}f\big(g(s,t),h(s,t)\big) &&=\pdiff{f}{x}\big(g(s,t),h(s,t)\big) \pdiff{g}{t}(s,t) +\pdiff{f}{y}\big(g(s,t),h(s,t)\big) \pdiff{h}{t}(s,t) \end{alignat*}

In particular

zs(1,2)=fx(g(1,2),h(1,2))gs(1,2)+fy(g(1,2),h(1,2))hs(1,2)=fx(3,6)gs(1,2)+fy(3,6))hs(1,2)=7×(1)+8×(5)=47zt(1,2)=fx(g(1,2),h(1,2))gt(1,2)+fy(g(1,2),h(1,2))ht(1,2)=7×4+8×10=108\begin{align*} \pdiff{z}{s}(1,2) &=\pdiff{f}{x}\big(g(1,2),h(1,2)\big) \pdiff{g}{s}(1,2) +\pdiff{f}{y}\big(g(1,2),h(1,2)\big) \pdiff{h}{s}(1,2) \\ &=\pdiff{f}{x}(3,6) \pdiff{g}{s}(1,2) +\pdiff{f}{y}(3,6)) \pdiff{h}{s}(1,2) \\ &=7\times(-1)+8\times(-5) =-47\\ \pdiff{z}{t}(1,2) &=\pdiff{f}{x}\big(g(1,2),h(1,2)\big) \pdiff{g}{t}(1,2) +\pdiff{f}{y}\big(g(1,2),h(1,2)\big) \pdiff{h}{t}(1,2) \\ &=7\times4+8\times 10 =108 \end{align*}

Hence z(1,2)=<47,108>\vnabla z(1,2)=\llt -47,108\rgt.

Q23Stage 2Past exam · M200 2002D
  1. Let ff be an arbitrary differentiable function defined on the entire real line. Show that the function ww defined on the entire plane as

    w(x,y)=eyf(xy)\begin{equation*} w(x,y)=e^{-y}f(x-y) \end{equation*}

    satisfies the partial differential equation:

    w+wx+wy=0\begin{equation*} w+\pdiff{w}{x}+\pdiff{w}{y}=0 \end{equation*}
  2. The equations x=u33uv2x=u^3-3uv^2, y=3u2vv3y=3u^2v-v^3 and z=u2v2z=u^2-v^2 define zz as a function of xx and yy. Determine zx\pdiff{z}{x} at the point (u,v)=(2,1)(u,v)=(2,1) which corresponds to the point (x,y)=(2,11)(x,y)=(2,11).

Hint

(b) Think of x=u33uv2x=u^3-3uv^2, y=3u2vv3y=3u^2v-v^3 as two equations in the two unknowns uu, vv with xx, yy just being given parameters. The question implicitly tells us that those two equations can be solved for uu, vv in terms of xx, yy, at least near (u,v)=(2,1)(u,v)=(2,1), (x,y)=(2,11)(x,y)=(2,11). That is, the question implicitly tells us that the functions u(x,y)u(x,y) and v(x,y)v(x,y) are determined by x=u(x,y)33u(x,y)v(x,y)2x=u(x,y)^3-3u(x,y)\,v(x,y)^2, y=3u(x,y)2v(x,y)v(x,y)3y=3u(x,y)^2v(x,y)-v(x,y)^3. Then z(x,y)z(x,y) is determined by z(x,y)=u(x,y)2v(x,y)2z(x,y)=u(x,y)^2-v(x,y)^2.

Answer

(a) See the solution. (b) 415\frac{4}{15}

Full solution

(a) By the product and chain rules

wx(x,y)=x[eyf(xy)]=eyx[f(xy)]=eyf(xy)x(xy)=eyf(xy)wy(x,y)=y[eyf(xy)]=eyf(xy)+eyy[f(xy)]=eyf(xy)+eyf(xy)y(xy)=eyf(xy)eyf(xy)\begin{align*} w_x(x,y) &= \pdiff{}{x}\big[e^{-y}f(x-y)\big] = e^{-y} \pdiff{}{x}\big[f(x-y)\big] = e^{-y} f'(x-y)\pdiff{}{x}(x-y) \\ &= e^{-y}f'(x-y) \\ w_y(x,y) &= \pdiff{}{y}\big[e^{-y}f(x-y)\big] = -e^{-y}f(x-y) + e^{-y} \pdiff{}{y}\big[f(x-y)\big] \\ &= -e^{-y}f(x-y) + e^{-y} f'(x-y)\pdiff{}{y}(x-y) \\ &= -e^{-y}f(x-y)-e^{-y}f'(x-y) \end{align*}

Hence

w+wx+wy=eyf(xy)+eyf(xy)eyf(xy)eyf(xy)=0\begin{equation*} w+\pdiff{w}{x}+\pdiff{w}{y} =e^{-y}f(x-y)+e^{-y}f'(x-y)-e^{-y}f(x-y)-e^{-y}f'(x-y) =0 \end{equation*}

as desired.

(b) Think of x=u33uv2x=u^3-3uv^2, y=3u2vv3y=3u^2v-v^3 as two equations in the two unknowns uu, vv with xx, yy just being given parameters. The question implicitly tells us that those two equations can be solved for uu, vv in terms of xx, yy, at least near (u,v)=(2,1)(u,v)=(2,1), (x,y)=(2,11)(x,y)=(2,11). That is, the question implicitly tells us that the functions u(x,y)u(x,y) and v(x,y)v(x,y) are determined by

x=u(x,y)33u(x,y)v(x,y)2y=3u(x,y)2v(x,y)v(x,y)3\begin{equation*} x=u(x,y)^3-3u(x,y)\,v(x,y)^2\qquad y=3u(x,y)^2v(x,y)-v(x,y)^3 \end{equation*}

Applying x\pdiff{}{x} to both sides of the equation x=u(x,y)33u(x,y)v(x,y)2x=u(x,y)^3-3u(x,y)v(x,y)^2 gives

1=3u(x,y)2ux(x,y)3ux(x,y)v(x,y)26u(x,y)v(x,y)vx(x,y)\begin{align*} 1&=3\,u(x,y)^2\,\pdiff{u}{x}(x,y) -3\pdiff{u}{x}(x,y)\,v(x,y)^2 -6\,u(x,y)\,v(x,y)\,\pdiff{v}{x}(x,y) \\[0.05in] \end{align*}

Then applying x\pdiff{}{x} to both sides of y=3u(x,y)2v(x,y)v(x,y)3y=3u(x,y)^2v(x,y)-v(x,y)^3 gives

0=6u(x,y)ux(x,y)v(x,y)+3u(x,y)2vx(x,y)3v(x,y)2vx(x,y)\begin{align*} 0&=6\,u(x,y)\,\pdiff{u}{x}(x,y)\,v(x,y) +3\,u(x,y)^2\,\pdiff{v}{x}(x,y) -3\,v(x,y)^2\,\pdiff{v}{x}(x,y) \end{align*}

Substituting in x=2x=2, y=11y=11, u=2u=2, v=1v=1 gives

1=12ux(2,11)3ux(2,11)12vx(2,11)=9ux(2,11)12vx(2,11)0=12ux(2,11)+12vx(2,11)3vx(2,11)=12ux(2,11)+9vx(2,11)\begin{alignat*}{3} 1&=12\pdiff{u}{x}(2,11) -3\pdiff{u}{x}(2,11) -12\pdiff{v}{x}(2,11) &&=9\pdiff{u}{x}(2,11) -12\pdiff{v}{x}(2,11)\\[0.05in] 0&=12\pdiff{u}{x}(2,11) +12\pdiff{v}{x}(2,11) -3\pdiff{v}{x}(2,11) &&=12\pdiff{u}{x}(2,11) +9\pdiff{v}{x}(2,11) \end{alignat*}

From the second equation vx(2,11)=43ux(2,11)\pdiff{v}{x}(2,11) =-\frac{4}{3}\pdiff{u}{x}(2,11). Substituting into the first equation gives

1=9ux(2,11)12[43ux(2,11)]=25ux(2,11)\begin{equation*} 1=9\pdiff{u}{x}(2,11) -12\left[-\frac{4}{3}\pdiff{u}{x}(2,11)\right] = 25\pdiff{u}{x}(2,11) \end{equation*}

so that ux(2,11)=125\pdiff{u}{x}(2,11)=\frac{1}{25} and vx(2,11)=475\pdiff{v}{x}(2,11)=-\frac{4}{75}. The question also tells us that z(x,y)=u(x,y)2v(x,y)2z(x,y)=u(x,y)^2-v(x,y)^2. Hence

zx(x,y)=2u(x,y)ux(x,y)2v(x,y)vx(x,y)    zx(2,11)=4ux(2,11)2vx(2,11)=4125+2475=2075=415\begin{align*} &\pdiff{z}{x}(x,y) =2u(x,y)\pdiff{u}{x}(x,y) -2v(x,y)\pdiff{v}{x}(x,y)\\ \implies & \pdiff{z}{x}(2,11) =4\pdiff{u}{x}(2,11) -2\pdiff{v}{x}(2,11) =4\frac{1}{25}+2\frac{4}{75}=\frac{20}{75} =\frac{4}{15} \end{align*}
Q24Stage 2Past exam · M200 2001D

The equations

x2ycos(uv)=vx2+y2sin(uv)=4πu\begin{align*} x^2-y\cos(uv)&=v\\ x^2+y^2-\sin(uv)&=\frac{4}{\pi}u \end{align*}

define xx and yy implicitly as functions of uu and vv (i.e. x=x(u,v)x=x(u,v), and y=y(u,v)y=y(u,v)) near the point (x,y)=(1,1)(x,y)=(1,1) at which (u,v)=(π2,0)(u,v)=\big(\frac{\pi}{2},0\big).

  1. Find

    xu and yu\begin{equation*} \pdiff{x}{u}\text{ and } \pdiff{y}{u} \end{equation*}

    at (u,v)=(π2,0)(u,v)=\big(\frac{\pi}{2},0\big).

  2. If z=x4+y4z=x^4+y^4, determine zu\pdiff{z}{u} at the point (u,v)=(π2,0)(u,v)=\big(\frac{\pi}{2},0\big).

Hint

The question tells us that x(u,v)x(u,v) and y=y(u,v)y=y(u,v) ar eimplicitly determined by

x(u,v)2y(u,v)cos(uv)=vx(u,v)2+y(u,v)2sin(uv)=4πu\begin{equation*} x(u,v)^2-y(u,v)\cos(uv)=v\qquad x(u,v)^2+y(u,v)^2-\sin(uv)=\frac{4}{\pi}u \end{equation*}

at least near (x,y)=(1,1)(x,y)=(1,1), (u,v)=(π2,0)(u,v)=\big(\frac{\pi}{2},0\big). Then, in part (b), z=x4+y4z=x^4+y^4 really means z(u,v)=x(u,v)4+y(u,v)4z(u,v)=x(u,v)^4+y(u,v)^4.

Answer

(a) xu(π2,0)=23π\pdiff{x}{u}\big(\frac{\pi}{2},0\big)=\frac{2}{3\pi}, yu(π2,0)=43π\pdiff{y}{u}\big(\frac{\pi}{2},0\big)=\frac{4}{3\pi} (b) 8π\frac{8}{\pi}

Full solution

(a) We are told that

x(u,v)2y(u,v)cos(uv)=vx(u,v)2+y(u,v)2sin(uv)=4πu\begin{equation*} x(u,v)^2-y(u,v)\cos(uv)=v\qquad x(u,v)^2+y(u,v)^2-\sin(uv)=\frac{4}{\pi}u \end{equation*}

Applying u\pdiff{}{u} to both equations gives

2x(u,v)xu(u,v)yu(u,v)cos(uv)+vy(u,v)sin(uv)=02x(u,v)xu(u,v)+2y(u,v)yu(u,v)vcos(uv)=4π\begin{align*} 2x(u,v)\pdiff{x}{u}(u,v) -\pdiff{y}{u}(u,v)\cos(uv)+v\,y(u,v)\sin(uv)&=0 \\ 2x(u,v)\pdiff{x}{u}(u,v) +2y(u,v)\pdiff{y}{u}(u,v) -v\cos(uv)&=\frac{4}{\pi} \end{align*}

Setting u=π2u=\frac{\pi}{2}, v=0v=0, x(π2,0)=1x\big(\frac{\pi}{2},0\big)=1, y(π2,0)=1y\big(\frac{\pi}{2},0\big)=1 gives

2xu(π2,0)yu(π2,0)=02xu(π2,0)+2yu(π2,0)=4π\begin{align*} 2\pdiff{x}{u}\left(\frac{\pi}{2},0\right) -\pdiff{y}{u}\left(\frac{\pi}{2},0\right)&=0 \\[0.1in] 2\pdiff{x}{u}\left(\frac{\pi}{2},0\right) +2\pdiff{y}{u}\left(\frac{\pi}{2},0\right) &=\frac{4}{\pi} \end{align*}

Substituting yu(π2,0)=2xu(π2,0)\pdiff{y}{u}\big(\frac{\pi}{2},0\big)=2\pdiff{x}{u}\big(\frac{\pi}{2},0\big), from the first equation, into the second equation gives 6xu(π2,0)=4π6\pdiff{x}{u}\big(\frac{\pi}{2},0\big)=\frac{4}{\pi} so that xu(π2,0)=23π\pdiff{x}{u}\big(\frac{\pi}{2},0\big)=\frac{2}{3\pi} and yu(π2,0)=43π\pdiff{y}{u}\big(\frac{\pi}{2},0\big)=\frac{4}{3\pi}.

(b) We are told that z(u,v)=x(u,v)4+y(u,v)4z(u,v)=x(u,v)^4+y(u,v)^4. So

zu(u,v)=4x(u,v)3 xu(u,v)+4y(u,v)3 yu(u,v)\begin{align*} \pdiff{z}{u}(u,v) &=4x(u,v)^3\ \pdiff{x}{u}(u,v) +4y(u,v)^3\ \pdiff{y}{u}(u,v) \end{align*}

Substituting in u=π2u=\frac{\pi}{2}, v=0v=0, x(π2,0)=1x\big(\frac{\pi}{2},0\big)=1, y(π2,0)=1y\big(\frac{\pi}{2},0\big)=1 and using the results of part (a),

zu(π2,0)=4x ⁣(π2,0)3 xu ⁣(π2,0)+4y ⁣(π2,0)3 yu ⁣(π2,0)=4(23π)+4(43π)=8π\begin{align*} \pdiff{z}{u}\left(\frac{\pi}{2},0\right) &=4\,x\!\left(\frac{\pi}{2},0\right)^3\ \pdiff{x}{u}\!\left(\frac{\pi}{2},0\right) +4\,y\!\left(\frac{\pi}{2},0\right)^3\ \pdiff{y}{u}\!\left(\frac{\pi}{2},0\right) \\ &=4\left(\frac{2}{3\pi}\right) +4\left(\frac{4}{3\pi}\right) \\ &=\frac{8}{\pi} \end{align*}
Q25Stage 2Past exam · M200 2001A

Let f(u,v)f(u,v) be a differentiable function, and let u=x+yu=x+y and v=xyv=x-y. Find a constant, α\al, such that

(fx)2+(fy)2=α((fu)2+(fv)2)\begin{align*} (f_x)^2+(f_y)^2=\al\big((f_u)^2+(f_v)^2\big) \end{align*}
Hint

This question uses bad (but standard) notation, in that the one symbol ff is used for two different functions, namely f(u,v)f(u,v) and f(x,y)=f(u,v)u=x+y,v=xyf(x,y)=f(u,v)\big|_{u=x+y,v=x-y}. A better wording is

  • Let f(u,v)f(u,v) and F(x,y)F(x,y) be differentiable functions such that F(x,y)=f(x+y,xy)F(x,y)=f(x+y,x-y). Find a constant, α\al, such that

    Fx(x,y)2+Fy(x,y)2=α{fu(x+y,xy)2+fv(x+y,xy)2}\begin{equation*} F_x(x,y)^2+F_y(x,y)^2=\al\big\{f_u(x+y,x-y)^2+f_v(x+y,x-y)^2\big\} \end{equation*}
Answer

α=2\al=2

Full solution

This question uses bad (but standard) notation, in that the one symbol ff is used for two different functions, namely f(u,v)f(u,v) and f(x,y)=f(u,v)u=x+y,v=xyf(x,y)=f(u,v)\big|_{u=x+y,v=x-y}. A better wording is

  • Let f(u,v)f(u,v) and F(x,y)F(x,y) be differentiable functions such that F(x,y)=f(x+y,xy)F(x,y)=f(x+y,x-y). Find a constant, α\al, such that

    Fx(x,y)2+Fy(x,y)2=α{fu(x+y,xy)2+fv(x+y,xy)2}\begin{equation*} F_x(x,y)^2+F_y(x,y)^2=\al\big\{f_u(x+y,x-y)^2+f_v(x+y,x-y)^2\big\} \end{equation*}

By the chain rule

Fx(x,y)=fu(x+y,xy)x(x+y)+fv(x+y,xy)x(xy)=fu(x+y,xy)+fv(x+y,xy)Fy(x,y)=fu(x+y,xy)y(x+y)+fv(x+y,xy)y(xy)=fu(x+y,xy)fv(x+y,xy)\begin{align*} \pdiff{F}{x}(x,y) &=f_u(x+y,x-y)\pdiff{}{x}(x+y) +f_v(x+y,x-y)\pdiff{}{x}(x-y) \\ &=f_u(x+y,x-y)+f_v(x+y,x-y)\\ \pdiff{F}{y}(x,y) &=f_u(x+y,x-y)\pdiff{}{y}(x+y) +f_v(x+y,x-y)\pdiff{}{y}(x-y) \\ &=f_u(x+y,x-y)-f_v(x+y,x-y) \end{align*}

Hence

Fx(x,y)2+Fy(x,y)2=[fu(x+y,xy)+fv(x+y,xy)]2+[fu(x+y,xy)fv(x+y,xy)]2=2fu(x+y,xy)2+2fv(x+y,xy)2\begin{align*} F_x(x,y)^2+F_y(x,y)^2 &=\Big[f_u(x+y,x-y)+f_v(x+y,x-y)\Big]^2 \\ &\hskip1in +\Big[f_u(x+y,x-y)-f_v(x+y,x-y)\Big]^2\\ &=2f_u(x+y,x-y)^2+2f_v(x+y,x-y)^2 \end{align*}

So α=2\al=2 does the job.

3Stage 3Application

Further than practice: several ideas at once, or an unfamiliar situation.

Q26Stage 3

The wave equation

2ux21c22ut2=0\begin{equation*} \frac{\partial^2u}{\partial x^2} -\frac{1}{c^2}\,\frac{\partial^2u}{\partial t^2} =0 \end{equation*}

arises in many models involving wave-like phenomena. Let u(x,t)u(x,t) and v(ξ,η)v(\xi,\eta) be related by the change of variables

u(x,t)=v(ξ(x,t),η(x,t))ξ(x,t)=xctη(x,t)=x+ct\begin{align*} u(x,t)&=v\big(\xi(x,t),\eta(x,t)\big)\cr \xi(x,t)&=x-ct\cr \eta(x,t)&=x+ct \end{align*}
  1. Show that 2ux21c22ut2=0\frac{\partial^2u}{\partial x^2} -\frac{1}{c^2}\frac{\partial^2u}{\partial t^2} =0 if and only if 2vξη=0\frac{\partial^2v}{\partial\xi\partial\eta}=0.

  2. Show that 2ux21c22ut2=0\frac{\partial^2u}{\partial x^2} -\frac{1}{c^2}\frac{\partial^2u}{\partial t^2} =0 if and only if u(x,t)=F(xct)+G(x+ct)u(x,t)=F(x-ct)+G(x+ct) for some functions FF and GG.

  3. Interpret F(xct)+G(x+ct)F(x-ct)+G(x+ct) in terms of travelling waves. Think of u(x,t)u(x,t) as the height, at position xx and time tt, of a wave that is travelling along the xx-axis.

Remark: Don't be thrown by the strange symbols ξ\xi and η\eta. They are just two harmless letters from the Greek alphabet, called “xi” and “eta” respectively.

Hint

Use the chain rule to show that 2ux2(x,t)1c22ut2(x,t)=42vξη(ξ(x,t),η(x,t))\frac{\partial^2 u}{\partial x^2}(x,t) -\frac{1}{c^2}\frac{\partial^2 u}{\partial t^2}(x,t) =4\frac{\partial^2v\,}{\partial\xi\partial\eta} \big(\xi(x,t),\eta(x,t)\big).

Answer

See the solutions.

Full solution

Recall that u(x,t)=v(ξ(x,t),η(x,t))u(x,t)=v\big(\xi(x,t),\eta(x,t)\big). By the chain rule

ux(x,t)=vξ(ξ(x,t),η(x,t))ξx+vη(ξ(x,t),η(x,t))ηx=vξ(ξ(x,t),η(x,t))+vη(ξ(x,t),η(x,t))ut(x,t)=vξ(ξ(x,t),η(x,t))ξt+vη(ξ(x,t),η(x,t))ηt=cvξ(ξ(x,t),η(x,t))+cvη(ξ(x,t),η(x,t))\begin{align*} \pdiff{u}{x}(x,t) &= \pdiff{v}{\xi}\big(\xi(x,t),\eta(x,t)\big) \pdiff{\xi}{x} +\pdiff{v}{\eta}\big(\xi(x,t),\eta(x,t)\big) \pdiff{\eta}{x} \\ &= \pdiff{v}{\xi}\big(\xi(x,t),\eta(x,t)\big) +\pdiff{v}{\eta}\big(\xi(x,t),\eta(x,t)\big) \\ \pdiff{u}{t}(x,t) &= \pdiff{v}{\xi}\big(\xi(x,t),\eta(x,t)\big) \pdiff{\xi}{t} +\pdiff{v}{\eta}\big(\xi(x,t),\eta(x,t)\big) \pdiff{\eta}{t} \\ &= -c\pdiff{v}{\xi}\big(\xi(x,t),\eta(x,t)\big) +c\pdiff{v}{\eta}\big(\xi(x,t),\eta(x,t)\big) \end{align*}

Again by the chain rule

2ux2(x,t)=x[vξ(ξ(x,t),η(x,t))]+x[vη(ξ(x,t),η(x,t))]=2vξ2(ξ(x,t),η(x,t))ξx+2vηξ(ξ(x,t),η(x,t))ηx+2vξη(ξ(x,t),η(x,t))ξx+2vη2(ξ(x,t),η(x,t))ηx=2vξ2(ξ(x,t),η(x,t))+22vξη(ξ(x,t),η(x,t))+2vη2(ξ(x,t),η(x,t))\begin{align*} \frac{\partial^2 u}{\partial x^2}(x,t) &=\textcolor{blue}{ \pdiff{}{x} \Big[\pdiff{v}{\xi}\big(\xi(x,t),\eta(x,t)\big)\Big]} +\textcolor{red}{\pdiff{}{x} \Big[\pdiff{v}{\eta}\big(\xi(x,t),\eta(x,t)\big)\Big]}\cr &=\textcolor{blue}{ \frac{\partial^2 v}{\partial \xi^2}\big(\xi(x,t),\eta(x,t)\big) \pdiff{\xi}{x} +\frac{\partial^2v\,}{\partial\eta\partial \xi} \big(\xi(x,t),\eta(x,t)\big) \pdiff{\eta}{x}}\\&\hskip0.2in +\textcolor{red}{\frac{\partial^2v\,}{\partial\xi\partial \eta} \big(\xi(x,t),\eta(x,t)\big) \pdiff{\xi}{x} +\frac{\partial^2 v}{\partial \eta^2}\big(\xi(x,t),\eta(x,t)\big) \pdiff{\eta}{x}}\\ &=\frac{\partial^2 v}{\partial \xi^2}\big(\xi(x,t),\eta(x,t)\big) +2\frac{\partial^2v\,}{\partial\xi\partial \eta} \big(\xi(x,t),\eta(x,t)\big) +\frac{\partial^2 v}{\partial \eta^2}\big(\xi(x,t),\eta(x,t)\big) \end{align*}

and

2ut2(x,t)=ct[vξ(ξ(x,t),η(x,t))]+ct[vη(ξ(x,t),η(x,t))]=c[2vξ2(ξ(x,t),η(x,t))ξt+2vηξ(ξ(x,t),η(x,t))ηt]+c[2vξη(ξ(x,t),η(x,t))ξt+2vη2(ξ(x,t),η(x,t))ηt]=c22vξ2(ξ(x,t),η(x,t))2c22vξη(ξ(x,t),η(x,t))+c22vη2(ξ(x,t),η(x,t))\begin{align*} \frac{\partial^2 u}{\partial t^2}(x,t) &=-c \textcolor{blue}{\pdiff{}{t} \Big[\pdiff{v}{\xi}\big(\xi(x,t),\eta(x,t)\big)\Big]} +c\textcolor{red}{\pdiff{}{t} \Big[ \frac{\partial v}{\partial\eta} \big(\xi(x,t),\eta(x,t)\big)\Big]} \\ &=-c\textcolor{blue}{\Big[\frac{\partial^2 v}{\partial \xi^2} \big(\xi(x,t),\eta(x,t)\big) \pdiff{\xi}{t} +\frac{\partial^2v\,}{\partial\eta\partial \xi} \big(\xi(x,t),\eta(x,t)\big) \pdiff{\eta}{t}\Big]} \\&\hskip0.2in +c\textcolor{red}{\Big[\frac{\partial^2v\,}{\partial\xi\partial\eta} \big(\xi(x,t),\eta(x,t)\big) \pdiff{\xi}{t} +\frac{\partial^2 v}{\partial\eta^2}\big(\xi(x,t),\eta(x,t)\big) \pdiff{\eta}{t}\Big]}\\ &=c^2\frac{\partial^2 v}{\partial \xi^2}\big(\xi(x,t),\eta(x,t)\big) -2c^2\frac{\partial^2v\,}{\partial\xi\partial\eta} \big(\xi(x,t),\eta(x,t)\big) +c^2\frac{\partial^2 v}{\partial\eta^2}\big(\xi(x,t),\eta(x,t)\big) \end{align*}

so that

2ux2(x,t)1c22ut2(x,t)=42vξη(ξ(x,t),η(x,t))\begin{equation*} \frac{\partial^2 u}{\partial x^2}(x,t) -\frac{1}{c^2}\frac{\partial^2 u}{\partial t^2}(x,t) =4\frac{\partial^2v\,}{\partial\xi\partial\eta} \big(\xi(x,t),\eta(x,t)\big) \end{equation*}

Hence

2ux2(x,t)1c22ut2(x,t)=0 for all (x,t)    42vξη(ξ(x,t),η(x,t))=0 for all (x,t)    2vξη(ξ,η)=0 for all (ξ,η)\begin{align*} \frac{\partial^2 u}{\partial x^2}(x,t) -\frac{1}{c^2}\frac{\partial^2 u}{\partial t^2}(x,t)=0 \text{ for all }(x,t) &\iff 4\frac{\partial^2v\,}{\partial\xi\partial\eta} \big(\xi(x,t),\eta(x,t)\big)=0\hbox{ for all }(x,t)\\ &\iff \frac{\partial^2v\,}{\partial\xi\partial\eta} \big(\xi,\eta\big)=0\text{ for all }(\xi,\eta) \end{align*}

(b) Now 2vξη(ξ,η)=ξ[vη]=0\frac{\partial^2v\,}{\partial\xi\partial\eta}\big(\xi,\eta\big) =\frac{\partial}{\partial\xi} \Big[\frac{\partial v}{\partial\eta}\Big]=0. Temporarily rename vη=w\pdiff{v}{\eta}=w. The equation wξ(ξ,η)=0\pdiff{w}{\xi}(\xi,\eta)=0 says that, for each fixed η\eta, w(ξ,η)w(\xi,\eta) is a constant. The value of the constant may depend on η\eta. That is, vη(ξ,η)=w(ξ,η)=H(η)\pdiff{v}{\eta}(\xi,\eta)=w(\xi,\eta) =H(\eta), for some function HH. (As a check, observe that ξH(η)=0\pdiff{}{\xi}H(\eta)=0.) So the derivative of vv with respect to η\eta, (viewing ξ\xi as a constant) is H(η)H(\eta).

Let G(η)G(\eta) be any function whose derivative is H(η)H(\eta) (i.e. an indefinite integral of H(η)H(\eta)). Then η[v(ξ,η)G(η)]=H(η)H(η)=0\pdiff{}{\eta}\big[v(\xi,\eta)-G(\eta)]=H(\eta)-H(\eta)=0. This is the case if and only if, for each fixed ξ\xi, v(ξ,η)G(ξ,η)v(\xi,\eta)-G(\xi,\eta) is a constant, independent of η\eta. That is, if and only if

v(ξ,η)G(η)=F(ξ)\begin{equation*} v(\xi,\eta)-G(\eta)=F(\xi) \end{equation*}

for some function FF. Hence

2ux2(x,t)1c22ut2(x,t)=0    2vξη(ξ,η)=0 for all (ξ,η)    v(ξ,η)=F(ξ)+G(η) for some functions F and G    u(x,t)=v(ξ(x,t),η(x,t))=F(ξ(x,t))+G(η(x,t))    u(x,t)=F(xct)+G(x+ct)\begin{align*} \frac{\partial^2 u}{\partial x^2}(x,t) -\frac{1}{c^2}\frac{\partial^2 u}{\partial t^2}(x,t)=0 &\iff \frac{\partial^2v\,}{\partial\xi\partial\eta} \big(\xi,\eta\big)=0\text{ for all }(\xi,\eta)\\ &\iff v(\xi,\eta)=F(\xi)+G(\eta)\text{ for some functions }F\text{ and }G\\ &\iff u(x,t)=v\big(\xi(x,t),\eta(x,t)\big) =F\big(\xi(x,t)\big)+G\big(\eta(x,t)\big)\\ &\phantom{\iff u(x,t)\,}=F(x-ct)+G(x+ct) \end{align*}

(c) We'll give the interpretation of F(xct)F(x-ct). The case G(x+ct)G(x+ct) is similar. Suppose that u(x,t)=F(xct)u(x,t)=F(x-ct). Think of u(x,t)u(x,t) as the height of water at position xx and time tt. Pick any number zz. All points (x,t)(x,t) in space time for which xct=zx-ct=z have the same value of uu, namely F(z)F(z). So if you move so that your position is x=z+ctx=z+ct (i.e. you move the right with speed cc) you always see the same wave height. Thus F(xct)F(x-ct) represents a wave moving to the right with speed cc.

Figure from prob_s2.4, line 2163

Figure from prob_s2.4, line 2163

Similarly, G(x+ct)G(x+ct) represents a wave moving to the left with speed cc.

Q27Stage 3

Evaluate

  1. yz\pdiff{y}{z} if eyzx2zlny=πe^{yz}-x^2 z \ln y = \pi

  2. dydx\diff{y}{x} if F(x,y,x2y2)=0F(x,y,x^2-y^2)=0

  3. (yx)u\left(\pdiff{y}{x}\right)_u if
    xyuv=1xyuv=1 and x+y+u+v=0x+y+u+v=0

Hint

For each part, first determine which variables yy is a function of.

Answer

(a) yz(x,z)=x2lny(x,z)y(x,z)ey(x,z)zzey(x,z)zx2zy(x,z)\displaystyle\pdiff{y}{z}(x,z) =\frac{x^2 \ln y(x,z)-y(x,z)e^{y(x,z)\,z}} {ze^{y(x,z)\,z}-\frac{x^2 z}{y(x,z)}}

(b) dydx(x)=F1(x,y(x),x2y(x)2)+2xF3(x,y(x),x2y(x)2)F2(x,y(x),x2y(x)2)2y(x)F3(x,y(x),x2y(x)2)\displaystyle\diff{y}{x}(x) =-\frac{F_1\big(x,y(x),x^2-y(x)^2\big)+2x\,F_3\big(x,y(x),x^2-y(x)^2\big)} {F_2\big(x,y(x),x^2-y(x)^2\big)-2y(x)\,F_3\big(x,y(x),x^2-y(x)^2\big)}

(c) (yx)u ⁣ ⁣(x,u)=y(x,u)v(x,u)xy(x,u)xy(x,u)xv(x,u)\displaystyle\left(\pdiff{y}{x}\right)_u\!\!(x,u) =\frac{y(x,u)\,v(x,u)-x\,y(x,u)}{x\,y(x,u)-x\,v(x,u)}

Full solution

(a) We are told to evaluate yz\pdiff{y}{z}. So yy has to be a function of zz and possibly some other variables. We are also told that xx, yy, and zz are related by the single equation eyzx2zlny=πe^{yz}-x^2 z \ln y = \pi. So we are to think of xx and zz as being independent variables and think of y(x,z)y(x,z) as being determined by solving eyzx2zlny=πe^{yz}-x^2 z \ln y = \pi for yy as a function of xx and zz. That is, the function y(x,z)y(x,z) obeys

ey(x,z)zx2zlny(x,z)=π\begin{equation*} e^{y(x,z)\,z}-x^2 z \ln y(x,z) = \pi \end{equation*}

for all xx and zz. Applying z\pdiff{}{z} to both sides of this equation gives

[y(x,z)+zyz(x,z)]ey(x,z)zx2lny(x,z)x2z1y(x,z)yz(x,z)=0    yz(x,z)=x2lny(x,z)y(x,z)ey(x,z)zzey(x,z)zx2zy(x,z)\begin{align*} &\left[y(x,z)+z\pdiff{y}{z}(x,z)\right]e^{y(x,z)\,z}-x^2 \ln y(x,z) -x^2 z\frac{1}{y(x,z)}\pdiff{y}{z}(x,z) = 0\\ \implies & \pdiff{y}{z}(x,z) =\frac{x^2 \ln y(x,z)-y(x,z)e^{y(x,z)\,z}}{ze^{y(x,z)\,z}-\frac{x^2 z}{y(x,z)}} \end{align*}

(b) We are told to evaluate dydx\diff{y}{x}. So yy has to be a function of the single variable xx. We are also told that xx and yy are related by F(x,y,x2y2)=0F(x,y,x^2-y^2)=0. So the function y(x)y(x) has to obey

F(x,y(x),x2y(x)2)=0\begin{equation*} F\big(x,y(x),x^2-y(x)^2\big)=0 \end{equation*}

for all xx. Applying ddx\diff{}{x} to both sides of that equation and using the chain rule gives

F1(x,y(x),x2y(x)2) dxdx+F2(x,y(x),x2y(x)2) dydx(x)+F3(x,y(x),x2y(x)2)ddx[x2y(x)2]=0    F1(x,y(x),x2y(x)2)+F2(x,y(x),x2y(x)2) dydx(x)+F3(x,y(x),x2y(x)2)[2x2y(x)dydx(x)]=0    dydx(x)=F1(x,y(x),x2y(x)2)+2xF3(x,y(x),x2y(x)2)F2(x,y(x),x2y(x)2)2y(x)F3(x,y(x),x2y(x)2)\begin{align*} &F_1\big(x,y(x),x^2-y(x)^2\big)\,\ \diff{x}{x} +F_2\big(x,y(x),x^2-y(x)^2\big)\ \diff{y}{x}(x) \\&\hskip2in +F_3\big(x,y(x),x^2-y(x)^2\big)\,\diff{}{x}\left[x^2-y(x)^2\right]= 0 \\ \implies &F_1\big(x,y(x),x^2-y(x)^2\big) +F_2\big(x,y(x),x^2-y(x)^2\big)\ \diff{y}{x}(x) \\&\hskip2in +F_3\big(x,y(x),x^2-y(x)^2\big)\,\left[2x-2y(x)\diff{y}{x}(x)\right]= 0 \\ \implies & \diff{y}{x}(x) =-\frac{F_1\big(x,y(x),x^2-y(x)^2\big)+2x\,F_3\big(x,y(x),x^2-y(x)^2\big)} {F_2\big(x,y(x),x^2-y(x)^2\big)-2y(x)\,F_3\big(x,y(x),x^2-y(x)^2\big)} \end{align*}

(c) The hard part of this question is figuring out what it is that we are to compute. We are asked to find some derivative of some function y. But what function? Four variables appear in this question. Namely xx, yy, uu and vv. But we are not free to assign arbitrary values to all four of them. They have to be related by the two equations xyuv=1xyuv=1 and x+y+u+v=0x+y+u+v=0. If we assign values to any two of xx, yy, uu and vv, the values of the other two are to be determined by solving xyuv=1xyuv=1, x+y+u+v=0x+y+u+v=0. That is, we may choose any two of xx, yy, uu and vv to be independent variables (i.e. variables that may be assigned any value). Then the other two variables are functions of those independent variables that are determined by solving the given equations.

We are told to evaluate (yx)u\left(\pdiff{y}{x}\right)_u. According to Notation 2.2.2 in the CLP-3 text, (yx)u\left(\pdiff{y}{x}\right)_u is the partial derivative of yy with respect to xx with uu being held fixed. So xx and uu have to be independent variables and yy has to be a function of xx and uu. The fourth variable vv also has to be a function of xx and uu. The functions y(x,u)y(x,u) and v(x,u)v(x,u) must obey

xy(x,u)uv(x,u)=1x+y(x,u)+u+v(x,u)=0\begin{align*} x\,y(x,u)\,u\,v(x,u)&=1 \\ x+y(x,u)+u+v(x,u)&=0 \end{align*}

for all xx and uu. Applying x\pdiff{}{x} to both sides of both of these equations gives

yuv + xyxuv + xyuvx=01+yx+0+vx=0\begin{align*} y\,u\,v\ +\ x\,\pdiff{y}{x}\,u\,v\ +\ x\,y\,u\,\pdiff{v}{x}&=0 \\ 1+\pdiff{y}{x}+0+\pdiff{v}{x}&=0 \end{align*}

Substituting, vx=1yx\pdiff{v}{x}=-1-\pdiff{y}{x}, from the second equation, into the first equation gives

yuv + xyxuvxyu(1+yx)=0\begin{align*} y\,u\,v\ +\ x\,\pdiff{y}{x}\,u\,v-x\,y\,u \left(1+\pdiff{y}{x}\right)=0 \end{align*}

Now uu cannot be 00 because xy(x,u)uv(x,u)=1x\,y(x,u)\,u\,v(x,u)=1. So

yv + xyxvxy(1+yx)=0    (yx)u ⁣ ⁣(x,u)=y(x,u)v(x,u)xy(x,u)xy(x,u)xv(x,u)\begin{align*} y\,v\ +\ x\,\pdiff{y}{x}\,v-x\,y\left(1+\pdiff{y}{x}\right)=0 \implies & \left(\pdiff{y}{x}\right)_u\!\!(x,u) =\frac{y(x,u)\,v(x,u)-x\,y(x,u)}{x\,y(x,u)-x\,v(x,u)} \end{align*}

My list

nothing marked yet

Loading…

Open the whole list →

Your tutor can open this list with you. It follows your account, so it is there on whichever device you study on.

From the UBC Math 200 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.