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. ∂h∂x\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. ∂h∂x\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) ∂h∂x(x,y)=∂f∂x(x,u(x,y))+∂f∂u(x,u(x,y))∂u∂x(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)=∂f∂x(x,u(x),v(x))+∂f∂u(x,u(x),v(x))dudx(x)+∂f∂v(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) ∂h∂x(x,y,z)=∂f∂u(u(x,y,z),v(x,y),w(x))∂u∂x(x,y,z)+∂f∂v(u(x,y,z),v(x,y),w(x))∂v∂x(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) +∂f∂w(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
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=x2−x1\Delta x=x_2-x_1 and Δf=z2−z1\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=x2−x1\Delta x=x_2-x_1 again, and Δw=z1−z1=0\Delta w=z_1-z_1=0.

Full solution
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
Q4Stage 1

Thermodynamics texts use the relationship

(∂y∂x)(∂z∂y)(∂x∂z)=−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

(∂y∂x)(∂z∂y)(∂x∂z)=−1\begin{equation*} \left(\pdiff{y}{x}\right) \left(\pdiff{z}{y}\right) \left(\pdiff{x}{z}\right)=-1 \end{equation*}

really means

(∂g∂x)(∂h∂y)(∂f∂z)=−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 ∂f∂z\pdiff{f}{z}. Use other equations similar to (∗)(*) to compute ∂g∂x\pdiff{g}{x} and ∂h∂y\pdiff{h}{y}.

Answer

See the solution.

Full solution
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,

∂w∂x=∂w∂x∂x∂x+∂w∂y∂y∂x+∂w∂z∂z∂x=∂w∂x+∂w∂z∂z∂x\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=∂w∂z∂z∂x0=\pdiff{w}{z}\pdiff{z}{x} and so ∂w∂z=0\pdiff{w}{z}=0 or ∂z∂x=0\pdiff{z}{x}=0.

Hint

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

Answer

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

Full solution

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q6Stage 2

Use two methods (one using the chain rule) to evaluate ∂w∂s\pdiff{w}{s} and ∂w∂t\pdiff{w}{t} given that the function w=x2+y2+z2w=x^2+y^2+z^2, with x=st, y=scos⁡tx=st,\ y=s\cos t and z=ssin⁡tz=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
Q7Stage 2

Evaluate ∂3∂x∂y2f(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

∂3∂x∂y2f(2x+3y,xy)=6f12+2x f22+18 f111+(9y+12x) f112+(6xy+2x2) f122+x2y f222\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
Q8Stage 2

Find all second order derivatives of g(s,t)=f(2s+3t,3s−2t)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,3s−2t)+12f12(2s+3t,3s−2t)+9f22(2s+3t,3s−2t)gst(s,t)=6f11(2s+3t,3s−2t)+5f12(2s+3t,3s−2t)−6f22(2s+3t,3s−2t)gtt(s,t)=9f11(2s+3t,3s−2t)−12f12(2s+3t,3s−2t)+4f22(2s+3t,3s−2t)\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
Q9Stage 2Past exam · M200 2005D

Assume that f(x,y)f(x,y) satisfies Laplace's equation ∂2f∂x2+∂2f∂y2=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(s−t,s+t)g(s,t) = f (s - t, s + t). That is, show that ∂2g∂s2+∂2g∂t2=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 ∂2f∂x2+∂2f∂y2=0\frac{\partial^2 f}{\partial x^2}+\frac{\partial^2 f}{\partial y^2}=0, the second derivative ∂2g∂s2=2∂2f∂x∂y\frac{\partial^2g}{\partial s^2} = 2\frac{\partial^2f}{\partial x \partial y}.

Answer

See the solutions.

Full solution
Q10Stage 2Past exam · M200 2006A

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

a∂2z∂x2+b∂2z∂x ∂y+c∂2z∂y2=∂2z∂s2+∂2z∂t2\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 , s−t)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
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

∂2∂x ∂yF(x2−y2,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)=x2−y2u(x,y) = x^2 - y^2 , and v(x,y)=2xyv(x,y) = 2xy. Then F(x2−y2,2xy)=F(u(x,y),v(x,y))F(x^2 - y^2 , 2xy) =F\big(u(x,y),v(x,y)\big).

Answer
∂2∂x ∂yF(x2−y2,2xy)=2 Fv(x2−y2,2xy)−4xy Fuu(x2−y2,2xy)+4(x2−y2) Fuv(x2−y2,2xy)+4xy Fvv(x2−y2,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
Q12Stage 2Past exam · M200 2008D

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

u(x,y)=ey F(xe−y2)\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 ∂u∂x\pdiff{u}{x} and ∂u∂y\pdiff{u}{y}.

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

    2xy∂u∂x+∂u∂y=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(xe−y2)\frac{\partial}{\partial x} F\big(xe^{-y^2}\big) has only one term.

Answer

(a) ∂u∂x(x,y)=eyx\pdiff{u}{x}(x,y) = \frac{e^y}{x}, ∂u∂y(x,y)=ey ln⁡(x)−y2 ey−2yey\pdiff{u}{y}(x,y) = e^y\,\ln (x) -y^2\,e^y -2y e^y

(b) See the solution.

Full solution
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(s−6t)z = h(s,t) = f(2s + 3t) + g(s - 6t) is a function of ss and tt, find the value of ∂2z∂t2\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
Q14Stage 2Past exam · M200 2011A

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

x∂w∂x+y∂w∂y=z∂w∂z\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
Q15Stage 2Past exam · M200 2011D

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

  1. ∂z∂t\pdiff{z}{t}

  2. ∂2z∂t2\frac{\partial^2 z}{\partial t^2}

Hint

The function ∂f∂x\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)

∂z∂t(r,t)=−rsin⁡t ∂f∂x(rcos⁡t , rsin⁡t)+rcos⁡t ∂f∂y(rcos⁡t , rsin⁡t)\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)

∂2z∂t2(r,t)=−rcos⁡t ∂f∂x−rsin⁡t ∂f∂y+r2sin⁡2t ∂2f∂x2−2r2sin⁡tcos⁡t ∂2 f∂x∂y+r2cos⁡2t ∂2f∂y2\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 (rcos⁡t , rsin⁡t)(r\cos t\,,\,r\sin t).

Full solution
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
Q17Stage 2Past exam · M200 2012D

Assume that the function F(x,y,z)F(x,y,z) satisfies the equation ∂F∂z=∂2F∂x2+∂2F∂y2\frac{\partial F}{\partial z} = \frac{\partial^2 F}{\partial x^2} + \frac{\partial^2 F}{\partial y^2} and the mixed partial derivatives ∂2F∂x∂y\frac{\partial^2 F}{\partial x \partial y} and ∂2F∂y∂x\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 ∂G∂t=∂2G∂γ2+∂2G∂s2\frac{\partial G}{\partial t} = \frac{\partial^2 G}{\partial \gamma^2} + \frac{\partial^2 G}{\partial s^2}.

Hint

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

Answer

A=2A=2.

Full solution
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(as−bt)g(s,t) = f (as - bt), where aa and bb are constants. Evaluate ∂g∂s\pdiff{g}{s} at the point (s,t)=(b,a)(s,t) = (b,a), that is, find ∂g∂s∣(b,a)\pdiff{g}{s}\big|_{(b,a)}.

Answer

10a10a

Full solution
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

x∂z∂x+y∂z∂y=−z\begin{equation*} x\pdiff{z}{x}+y\pdiff{z}{y} = -z \end{equation*}
Hint

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

Answer

See the solution.

Full solution
Q20Stage 2Past exam · M200 2015D

Let w(s,t)=u(2s+3t,3s−2t)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)=4 uxx(2s+3t,3s−2t)+12 uxy(2s+3t,3s−2t)+9 uyy(2s+3t,3s−2t)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
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⁡θ fy∂∂r[f(rcos⁡θ , rsin⁡θ)]=cos⁡θ fx+sin⁡θ fy∂2∂θ ∂r[f(rcos⁡θ , rsin⁡θ)]=−sin⁡θ fx+cos⁡θ fy−rsin⁡θcos⁡θ fxx+r[cos⁡2θ−sin⁡2θ] 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⁡θ)]=r∂∂r[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
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)=<∂f∂x(x0 , y0) , ∂f∂y(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
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)=e−yf(x−y)\begin{equation*} w(x,y)=e^{-y}f(x-y) \end{equation*}

    satisfies the partial differential equation:

    w+∂w∂x+∂w∂y=0\begin{equation*} w+\pdiff{w}{x}+\pdiff{w}{y}=0 \end{equation*}
  2. The equations x=u3−3uv2x=u^3-3uv^2, y=3u2v−v3y=3u^2v-v^3 and z=u2−v2z=u^2-v^2 define zz as a function of xx and yy. Determine ∂z∂x\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=u3−3uv2x=u^3-3uv^2, y=3u2v−v3y=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)3−3u(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)2−v(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
Q24Stage 2Past exam · M200 2001D

The equations

x2−ycos⁡(uv)=vx2+y2−sin⁡(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

    ∂x∂u and ∂y∂u\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 ∂z∂u\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)2−y(u,v)cos⁡(uv)=vx(u,v)2+y(u,v)2−sin⁡(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) ∂x∂u(π2,0)=23π\pdiff{x}{u}\big(\frac{\pi}{2},0\big)=\frac{2}{3\pi}, ∂y∂u(π2,0)=43π\pdiff{y}{u}\big(\frac{\pi}{2},0\big)=\frac{4}{3\pi} (b) 8π\frac{8}{\pi}

Full solution
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=x−yv=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=x−yf(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,x−y)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,x−y)2+fv(x+y,x−y)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

3Stage 3Application

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

Q26Stage 3

The wave equation

∂2u∂x2−1c2 ∂2u∂t2=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)=x−ctη(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 ∂2u∂x2−1c2∂2u∂t2=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 ∂2u∂x2−1c2∂2u∂t2=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(x−ct)+G(x+ct)u(x,t)=F(x-ct)+G(x+ct) for some functions FF and GG.

  3. Interpret F(x−ct)+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 ∂2u∂x2(x,t)−1c2∂2u∂t2(x,t)=4∂2v ∂ξ∂η(ξ(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
Q27Stage 3

Evaluate

  1. ∂y∂z\pdiff{y}{z} if eyz−x2zln⁡y=πe^{yz}-x^2 z \ln y = \pi

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

  3. (∂y∂x)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) ∂y∂z(x,z)=x2ln⁡y(x,z)−y(x,z)ey(x,z) zzey(x,z) z−x2zy(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),x2−y(x)2)+2x F3(x,y(x),x2−y(x)2)F2(x,y(x),x2−y(x)2)−2y(x) F3(x,y(x),x2−y(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) (∂y∂x)u ⁣ ⁣(x,u)=y(x,u) v(x,u)−x y(x,u)x y(x,u)−x v(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

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.