This is a beta course, so its structure, chapters, and examples may continue to change.
Comprehensive Exercises
This set of comprehensive exercises covers the core knowledge of the whole course on multivariable differential calculus. It is recommended that you use them for self-testing after finishing the individual chapters. Every problem comes with a detailed solution.
I. Limits and Continuity
Problem 1
Find the limit lim(x,y)→(0,0)x2+y2x2y2.
the limitthe squeeze theorempolar coordinates
Approach:
The degree of the numerator is lower than that of the denominator, so the squeeze theorem shows that the limit is zero.
Steps:
Method 1: the squeeze theorem
0≤x2+y2x2y2≤2∣xy∣x2y2=2∣xy∣→0
Method 2: polar coordinates
The original expression =limρ→0ρ2ρ4cos2θsin2θ=limρ→0ρ2cos2θsin2θ=0
Answer: 0
Problem 2
Prove that the limit lim(x,y)→(0,0)x4+y2x2y does not exist.
the limit does not existthe path methoda parabolic path
Approach:
Along the coordinate axis and along the parabola the limits differ, and this proves that the limit does not exist.
Steps:
Along the x-axis (y=0): the limit is 0
Along the parabola y=x2: limx→0x4+x4x2⋅x2=21
The limits along the two paths differ, so the limit does not exist.
(Note: the identity arctan1−xyx+y=arctanx+arctany gives the result directly.)
Answer: ∂x∂z=1+x21 and ∂y∂z=1+y21
Problem 4
Let z=f(xy,yx), where f has continuous second-order partial derivatives. Find ∂x∂y∂2z.
second-order partial derivativesa composite functionan abstract function
Approach:
The outer function is a function of two variables and the inner ones are two variables, so the second mixed partial derivative requires expanding all the product terms that the chain rule produces — none of them may be dropped.
Steps:
Put u=xy,v=yx, and write f1=∂u∂f,f2=∂v∂f,f11=∂u2∂2f,f12=∂u∂v∂2f,f22=∂v2∂2f
∂x∂z=f1⋅y+f2⋅y1
∂x∂y∂2z=∂y∂(yf1+y1f2)=f1+y(f11⋅x+f12⋅(−y2x))−y21f2+y1(f21⋅x+f22⋅(−y2x))=f1−y21f2+xyf11−y3xf22 (using f12=f21, so the cross terms cancel)
Answer: ∂x∂y∂2z=f1−y21f2+xyf11−y3xf22
Problem 5
Discuss the continuity, the existence of the partial derivatives and the differentiability of f(x,y)={x2+y2xy,0,(x,y)=(0,0)(x,y)=(0,0) at (0,0).
Continuity, the existence of the partial derivatives and differentiability have to be verified separately: first use the squeeze theorem to prove continuity, then compute the partial derivatives, and finally use the linear representation of the increment to test differentiability.
Steps:
Continuity: ∣f(x,y)∣=x2+y2∣xy∣≤2x2+y2x2+y2=2x2+y2→0, so lim(x,y)→(0,0)f(x,y)=0=f(0,0); the function is continuous.
The partial derivatives: fx(0,0)=limΔx→0Δx0−0=0, and similarly fy(0,0)=0; the partial derivatives exist.
Differentiability: Δz−fxΔx−fyΔy=(Δx)2+(Δy)2ΔxΔyρ(Δx)2+(Δy)2ΔxΔy=ρ2∣ΔxΔy∣≤21, which does not tend to 0.
Taking Δx=Δy=t: t⋅t2t2=21=0, so the function is not differentiable.
Answer: the function is continuous, the partial derivatives exist (both are 0), but it is not differentiable.
III. Directional Derivatives and the Gradient
Problem 6
Find the directional derivative of u=x2+y2+z2x at the point (1,2,−2) in the direction l=(−1,1,0).
the directional derivativethe gradienta function of three variables
Approach:
The directional derivative is the scalar product of the gradient with the unit direction vector.
Steps:
Put r=x2+y2+z2, so u=rx
ux=r2r−x⋅rx=r3y2+z2, uy=−r3xy and uz=−r3xz
At (1,2,−2): r=3, ux=274+4=278, uy=−272 and uz=272
∇u=(278,−272,272)
Normalising l: ∣l∣=2 and l0=(−21,21,0)
∂l∂u=∇u⋅l0=−2728−2722=−27210=−2752
Answer: −2752
IV. Extrema and Constrained Extrema
Problem 7
Find the extrema of the function f(x,y)=x3−4x2+2xy−y2.
an extremumthe second derivative testa stationary point
Approach:
First find the stationary points, and then use the second-derivative test to classify them as local maxima, local minima or saddle points.
Steps:
fx=3x2−8x+2y and fy=2x−2y
From fy=0: x=y; substituting into fx=0: 3x2−6x=0, so x=0 or x=2
The stationary points: (0,0) and (2,2)
fxx=6x−8, fxy=2 and fyy=−2
(0,0): A=−8,B=2,C=−2,Δ=16−4=12>0,A<0, so a local maximum with f(0,0)=0
(2,2): A=4,B=2,C=−2,Δ=−8−4=−12<0, so a saddle point
Answer: the local maximum is f(0,0)=0, and (2,2) is a saddle point.
Problem 8
Find the maximum and the minimum values of z=x2+y2 on the circular region (x−2)2+(y−2)2≤9.
the maximum and minimum valuea closed regiona constrained extremumthe Lagrange multiplier method
Approach:
On a closed region the extremum may occur at an interior stationary point or on the boundary curve, so both have to be examined in two rounds and then compared.
Steps:
The interior stationary points: zx=2x=0 and zy=2y=0, so the stationary point is (0,0). Checking (0−2)2+(0−2)2=4≤9, it is in the interior, and z(0,0)=0.
The boundary: (x−2)2+(y−2)2=9, handled with the Lagrange multiplier method.
L=x2+y2+λ[(x−2)2+(y−2)2−9]Lx=2x+2λ(x−2)=0 and Ly=2y+2λ(y−2)=0
This gives x=y (for λ=−1); substituting into the boundary: 2(x−2)2=9, so x=2±23
The boundary points: (2+23,2+23) with z=2(25)2=25, and (2−23,2−23) with z=2(−21)2=1
Comparing: the maximum is 25 and the minimum is 0.
Answer: the maximum value is 25, and the minimum value is 0.
Problem 9
In the first octant, construct the tangent plane to the ellipsoid a2x2+b2y2+c2z2=1 so that the volume of the tetrahedron enclosed by the tangent plane and the three coordinate planes is as small as possible, and find the coordinates of the point of tangency.
a constrained extremumthe tangent planethe minimum volumean application
Approach:
The volume of the tetrahedron can be written as a function of the coordinates of the point of tangency, and then the extremum condition gives the point that minimises the volume.
Steps:
The tangent plane at the point of tangency (x0,y0,z0): a2x0x+b2y0y+c2z0z=1
The intercepts: x0a2,y0b2,z0c2, so the volume V=61⋅x0y0z0a2b2c2
Minimising V is equivalent to maximising x0y0z0, subject to a2x02+b2y02+c2z02=1
L=xyz+λ(a2x2+b2y2+c2z2−1)
yz+a22λx=0, xz+b22λy=0 and xy+c22λz=0
These give a2x2=b2y2=c2z2; substituting into the constraint gives 3⋅a2x2=1, so x=3a
Similarly y=3b and z=3c
Answer: the coordinates of the point of tangency are (3a,3b,3c).
V. Geometric Applications
Problem 10
Find the equations of the tangent planes to the surface z=x2+y2 that are parallel to the plane 2x+4y−z=0.
the tangent planea parallel planean explicit surface
Approach:
A tangent plane parallel to a given plane must have its normal vector parallel to the normal vector of the given plane, which determines the point of tangency.
Steps:
Put F=x2+y2−z; the normal vector ∇F=(2x,2y,−1)
The normal vector of the given plane is (2,4,−1), and the tangent plane is parallel to it, so ∇F∥(2,4,−1)
That is, 22x=42y=−1−1=t, giving x=t,y=2t,z=t
Substituting into the equation of the surface: x2+y2=z gives t2+4t2=t, so 5t2=t and t=51 (the case t=0 gives the origin, where the plane z=0 is itself tangent but is not parallel to the given plane)
The point of tangency: (51,52,51)
The tangent plane: 2(x−51)+4(y−52)−(z−51)=0, that is, 2x+4y−z−1=0
Answer: the tangent plane is 2x+4y−z−1=0 (the plane z=0 is also tangent at the origin but is not parallel to the given plane).
Summary
This set of comprehensive exercises covers the core examination points of multivariable differential calculus:
Limits and continuity (2 problems): the squeeze theorem, the path method
Partial derivatives and total differentials (3 problems): the chain rule, second-order partial derivatives, the relation between continuity, the partial derivatives and differentiability
Directional derivatives and the gradient (1 problem): the directional derivative in three dimensions
Extrema and constrained extrema (3 problems): the second-derivative test, extrema on a closed region, the Lagrange multiplier method
Geometric applications (1 problem): tangent planes parallel to a given plane
The three core problem types to master are computing partial derivatives and the total differential, the second-derivative test for the extrema, and the Lagrange multiplier method.