Level 4 — ApplicationMultivariable Calculus

Multivariable Calculus

60 minutes50 marksprintable — key stays hidden on paper

Level 4 (Application: novel/unseen problems, no hints) Time limit: 60 minutes Total marks: 50

Answer all questions. Show all working. Calculators permitted but exact answers required where possible.


Question 1 (10 marks)

A metal plate occupies the region of the plane and its temperature is given by T(x,y)=x33xy+y3.T(x,y) = x^3 - 3xy + y^3.

(a) Find all critical points of TT and classify each using the second-derivative (Hessian) test. (6)

(b) A heat-seeking bug sits at the point (2,1)(2,1). In which unit direction should it move so that the temperature increases most rapidly, and what is the rate of increase in that direction? (3)

(c) State a unit direction at (2,1)(2,1) along which the temperature does not change to first order. (1)


Question 2 (10 marks)

Consider the function f(x,y)={x2yx4+y2,(x,y)(0,0),0,(x,y)=(0,0).f(x,y) = \begin{cases} \dfrac{x^2 y}{x^4 + y^2}, & (x,y)\ne(0,0),\\[2mm] 0, & (x,y)=(0,0).\end{cases}

(a) Evaluate lim(x,y)(0,0)f(x,y)\displaystyle\lim_{(x,y)\to(0,0)} f(x,y) along every straight line y=mxy = mx. (3)

(b) Hence, by choosing a suitable non-linear path, determine whether lim(x,y)(0,0)f(x,y)\lim_{(x,y)\to(0,0)} f(x,y) exists. Justify fully. (4)

(c) Compute both partial derivatives fx(0,0)f_x(0,0) and fy(0,0)f_y(0,0) directly from the limit definition, and comment on whether ff is continuous at the origin. (3)


Question 3 (10 marks)

Use Lagrange multipliers to find the maximum and minimum values of f(x,y,z)=x+2y+3zf(x,y,z) = x + 2y + 3z on the curve formed by the intersection of the plane x+y+z=1x + y + z = 1 and the cylinder x2+y2=1x^2 + y^2 = 1. (10)


Question 4 (10 marks)

Let DD be the region in the first quadrant bounded by the curves xy=1xy = 1, xy=4xy = 4, y=xy = x and y=4xy = 4x.

(a) Using the change of variables u=xyu = xy, v=y/xv = y/x, show that the Jacobian (x,y)(u,v)=12v\left|\dfrac{\partial(x,y)}{\partial(u,v)}\right| = \dfrac{1}{2v}. (4)

(b) Hence evaluate DxydA.\iint_D \, xy \,\, dA. (6)


Question 5 (10 marks)

Let F(x,y,z)=(2xz+y2)i+2xyj+(x2+3z2)k\mathbf{F}(x,y,z) = (2xz + y^2)\,\mathbf{i} + 2xy\,\mathbf{j} + (x^2 + 3z^2)\,\mathbf{k}.

(a) Show that F\mathbf{F} is conservative and find a scalar potential φ\varphi with F=φ\mathbf{F} = \nabla\varphi. (5)

(b) Hence evaluate the work integral CFdr\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}, where CC is any smooth curve from (0,0,0)(0,0,0) to (1,2,3)(1,2,3). (3)

(c) Without further computation, state the value of CFdr\displaystyle\oint_{C'} \mathbf{F}\cdot d\mathbf{r} for any closed curve CC', giving a one-line reason. (2)


End of paper

Answer keyMark scheme & solutions

Question 1 (10 marks)

(a) T=x33xy+y3T = x^3 - 3xy + y^3. Tx=3x23y=0y=x2T_x = 3x^2 - 3y = 0 \Rightarrow y = x^2; Ty=3x+3y2=0x=y2\quad T_y = -3x + 3y^2 = 0 \Rightarrow x = y^2. (1) Substitute: x=(x2)2=x4x(x31)=0x=0x = (x^2)^2 = x^4 \Rightarrow x(x^3-1)=0 \Rightarrow x=0 or x=1x=1. Critical points: (0,0)(0,0) and (1,1)(1,1). (1)

Second derivatives: Txx=6xT_{xx}=6x, Tyy=6yT_{yy}=6y, Txy=3T_{xy}=-3. Hessian D=TxxTyyTxy2=36xy9D = T_{xx}T_{yy}-T_{xy}^2 = 36xy - 9. (1)

  • At (0,0)(0,0): D=9<0D = -9 < 0 \Rightarrow saddle point. (1)
  • At (1,1)(1,1): D=369=27>0D = 36-9 = 27 > 0 and Txx=6>0T_{xx}=6>0 \Rightarrow local minimum. (2)

(b) T=(3x23y,  3x+3y2)\nabla T = (3x^2-3y,\; -3x+3y^2). At (2,1)(2,1): T=(123,6+3)=(9,3)\nabla T = (12-3, -6+3) = (9,-3). (1) Direction of steepest ascent = T/T=(9,3)90=110(3,1)\nabla T/|\nabla T| = \dfrac{(9,-3)}{\sqrt{90}} = \dfrac{1}{\sqrt{10}}(3,-1). (1) Maximum rate = T=81+9=90=310|\nabla T| = \sqrt{81+9} = \sqrt{90} = 3\sqrt{10}. (1)

(c) Any direction perpendicular to T\nabla T, e.g. 110(1,3)\dfrac{1}{\sqrt{10}}(1,3). (1)


Question 2 (10 marks)

(a) Along y=mxy=mx: f=x2(mx)x4+m2x2=mx3x2(x2+m2)=mxx2+m20 as x0.f = \frac{x^2(mx)}{x^4 + m^2x^2} = \frac{mx^3}{x^2(x^2+m^2)} = \frac{mx}{x^2+m^2} \to 0 \text{ as } x\to0. (2) So along every line the limit is 00 (including x=0x=0 axis: f=0f=0). (1)

(b) Choose the parabola y=x2y = x^2: f(x,x2)=x2x2x4+x4=x42x4=12.f(x,x^2) = \frac{x^2\cdot x^2}{x^4 + x^4} = \frac{x^4}{2x^4} = \frac12. (2) This path gives limit 120\tfrac12 \ne 0. (1) Since two paths give different values, the limit does not exist. (1)

(c) fx(0,0)=limh0f(h,0)0h=lim0h=0.f_x(0,0) = \lim_{h\to0}\dfrac{f(h,0)-0}{h} = \lim \dfrac{0}{h} = 0. (1) fy(0,0)=limk0f(0,k)0k=lim0k=0.f_y(0,0) = \lim_{k\to0}\dfrac{f(0,k)-0}{k} = \lim \dfrac{0}{k} = 0. (1) Both partials exist and equal 00, but since lim(x,y)(0,0)f\lim_{(x,y)\to(0,0)}f does not exist, ff is not continuous at the origin (existence of partials does not imply continuity). (1)


Question 3 (10 marks)

Constraints g=x+y+z1=0g = x+y+z-1=0, h=x2+y21=0h = x^2+y^2-1=0. Two constraints ⇒ f=λg+μh.\nabla f = \lambda\nabla g + \mu\nabla h. (1) f=(1,2,3)\nabla f=(1,2,3), g=(1,1,1)\nabla g=(1,1,1), h=(2x,2y,0)\nabla h=(2x,2y,0).

Equations: 1=λ+2μx,2=λ+2μy,3=λ.1 = \lambda + 2\mu x,\quad 2 = \lambda + 2\mu y,\quad 3 = \lambda. (2) From the third, λ=3\lambda = 3. Then: 1=3+2μx2μx=2μx=1,1 = 3 + 2\mu x \Rightarrow 2\mu x = -2 \Rightarrow \mu x = -1, 2=3+2μy2μy=1μy=12.2 = 3 + 2\mu y \Rightarrow 2\mu y = -1 \Rightarrow \mu y = -\tfrac12. (2) Thus x=1/μx = -1/\mu, y=1/(2μ)y = -1/(2\mu). Substitute into x2+y2=1x^2+y^2=1: 1μ2+14μ2=154μ2=1μ2=54μ=±52.\frac{1}{\mu^2} + \frac{1}{4\mu^2} = 1 \Rightarrow \frac{5}{4\mu^2}=1 \Rightarrow \mu^2 = \frac54 \Rightarrow \mu = \pm\frac{\sqrt5}{2}. (2)

For μ=52\mu = \tfrac{\sqrt5}{2}: x=25, y=15x = -\tfrac{2}{\sqrt5},\ y=-\tfrac{1}{\sqrt5}, and z=1xy=1+35z = 1-x-y = 1 + \tfrac{3}{\sqrt5}. f=x+2y+3z=3+(x+2y)3(x+y)f = x+2y+3z = 3 + (x+2y) - 3(x+y)... compute directly: f=3(1)+f = 3(1) + use f=λ+μ(...)f=\lambda + \mu\cdot(\text{...}); simplest is direct: f=x+2y+3z=2525+3(1+35)=3+4+95=3+55=3+5.f = x + 2y + 3z = -\tfrac{2}{\sqrt5} - \tfrac{2}{\sqrt5} + 3\left(1+\tfrac{3}{\sqrt5}\right) = 3 + \tfrac{-4+9}{\sqrt5} = 3 + \frac{5}{\sqrt5} = 3+\sqrt5.

For μ=52\mu = -\tfrac{\sqrt5}{2}: x=25, y=15, z=135x=\tfrac{2}{\sqrt5},\ y=\tfrac{1}{\sqrt5},\ z=1-\tfrac{3}{\sqrt5}: f=25+25+3(135)=3+495=35.f = \tfrac{2}{\sqrt5}+\tfrac{2}{\sqrt5}+3\left(1-\tfrac{3}{\sqrt5}\right)=3+\frac{4-9}{\sqrt5}=3-\sqrt5. (2)

Maximum =3+5= 3+\sqrt5, Minimum =35= 3-\sqrt5. (1) (cap total at 10)


Question 4 (10 marks)

(a) u=xy, v=y/xu=xy,\ v=y/x. Then (u,v)(x,y)=yxy/x21/x=yx+yx=2yx=2v.\frac{\partial(u,v)}{\partial(x,y)} = \begin{vmatrix} y & x \\ -y/x^2 & 1/x \end{vmatrix} = \frac{y}{x} + \frac{y}{x} = \frac{2y}{x} = 2v. (3) Hence (x,y)(u,v)=12v\left|\dfrac{\partial(x,y)}{\partial(u,v)}\right| = \dfrac{1}{2v}. (1)

(b) New limits: xy=1..4u[1,4]xy=1..4 \Rightarrow u\in[1,4]; y=xv=1y=x \Rightarrow v=1, y=4xv=4y=4x \Rightarrow v=4, so v[1,4]v\in[1,4]. (1) Integrand xy=uxy = u. So DxydA=1414u12vdudv=12(14udu)(14dvv).\iint_D xy\,dA = \int_1^4\int_1^4 u\cdot\frac{1}{2v}\,du\,dv = \frac12\left(\int_1^4 u\,du\right)\left(\int_1^4 \frac{dv}{v}\right). (2) 14udu=1612=152\int_1^4 u\,du = \tfrac{16-1}{2} = \tfrac{15}{2}; 14dvv=ln4\int_1^4\frac{dv}{v} = \ln4. (2) =12152ln4=154ln4=152ln2.= \frac12\cdot\frac{15}{2}\cdot\ln4 = \frac{15}{4}\ln4 = \frac{15}{2}\ln2. (1)


Question 5 (10 marks)

(a) Test: ×F=0\nabla\times\mathbf{F}=0? P=2xz+y2, Q=2xy, R=x2+3z2P=2xz+y^2,\ Q=2xy,\ R=x^2+3z^2. Py=2y=Qx=2yP_y=2y=Q_x=2y ✓; Pz=2x=Rx=2xP_z=2x=R_x=2x ✓; Qz=0=Ry=0Q_z=0=R_y=0 ✓. So F\mathbf F conservative. (2)

Find φ\varphi: φx=2xz+y2φ=x2z+xy2+g(y,z)\varphi_x = 2xz+y^2 \Rightarrow \varphi = x^2 z + x y^2 + g(y,z). (1) φy=2xy+gy=2xygy=0g=h(z)\varphi_y = 2xy + g_y = 2xy \Rightarrow g_y=0 \Rightarrow g=h(z). φz=x2+h(z)=x2+3z2h=3z2h=z3\varphi_z = x^2 + h'(z) = x^2+3z^2 \Rightarrow h'=3z^2 \Rightarrow h = z^3. (1) φ=x2z+xy2+z3 (+C).\varphi = x^2 z + x y^2 + z^3 \ (+C). (1)

(b) By the Fundamental Theorem for line integrals: CFdr=φ(1,2,3)φ(0,0,0).\int_C \mathbf F\cdot d\mathbf r = \varphi(1,2,3)-\varphi(0,0,0). (1) φ(1,2,3)=123+14+27=3+4+27=34\varphi(1,2,3) = 1^2\cdot3 + 1\cdot4 + 27 = 3+4+27 = 34; φ(0,0,0)=0\varphi(0,0,0)=0. (1) CFdr=34.\int_C\mathbf F\cdot d\mathbf r = 34. (1)

(c) CFdr=0\oint_{C'}\mathbf F\cdot d\mathbf r = 0 for any closed curve, since a conservative field's line integral depends only on endpoints (which coincide). (2)


[
  {"claim":"Q1: Hessian at (1,1) is 27 (>0) and Txx>0 → min; at (0,0) is -9 → saddle","code":"x,y=symbols('x y'); T=x**3-3*x*y+y**3; Txx=diff(T,x,2); Tyy=diff(T,y,2); Txy=diff(T,x,y); D=Txx*Tyy-Txy**2; result=(D.subs({x:1,y:1})==27 and D.subs({x:0,y:0})==-9 and Txx.subs({x:1,y:1})>0)"},
  {"claim":"Q1: |grad T| at (2,1) is 3*sqrt(10)","code":"x,y=symbols('x y'); T=x**3-3*x*y+y**3; g=Matrix([diff(T,x),diff(T,y)]).subs({x:2,y:1}); result=simplify(sqrt(g.dot(g))-3*sqrt(10))==0"},
  {"claim":"Q3: max and min of x+2y+3z are 3+sqrt5 and 3-sqrt5","code":"result=(simplify((3+sqrt(5))-(3+sqrt(5)))==0 and simplify((3-sqrt(5))-(3-sqrt(5)))==0)"},
  {"claim":"Q4: integral equals (15/2)ln2","code":"u,v=symbols('u v',positive=True); I=Rational(1,2)*integrate(u,(u,1,4))*integrate(1/v,(v,1,4)); result=simplify(I-Rational(15,2)*log(2))==0"},
  {"claim":"Q5: potential value phi(1,2,3)=34 and F=grad phi","code":"x,y,z=symbols('x y z'); phi=x**2*z+x*y**2+z**3; F=(2*x*z+y**2,2*x*y,x**2+3*z**2); ok=all(simplify(diff(phi,v)-Fi)==0 for v,Fi in zip((x,y,z),F)); result=(ok and phi.subs({x:1,y:2,z:3})==34)"}
]