Skip to main content

MATH 213 — Exam II Review

MATH 213 · October 27, 2026

Exam II Review — Partial Derivatives and Double Integrals
MATH 213  Calculus III  Stewart 9e, §14.3–14.7 and §15.1–15.2

How to use this note. This is a consolidation, not new material. The whole of Chapter 14 is one idea repeated: freeze every variable but one, and you are back in Calculus I. Everything — partial derivatives, the chain rule, directional derivatives, the second derivative test — is bookkeeping on top of that. Chapter 15 then reverses the move: a double integral is two ordinary integrals, done one variable at a time. Each section below gives what you must know cold, the move that uses it, and the error that costs the most points.

What is covered.

§ Topic What you must be able to do
14.3 Partial derivatives Compute fx,fyf_x, f_yfx​,fy​; second and mixed partials; Clairaut
14.4 Tangent planes Write the plane; use it as a linear approximation
14.5 Chain rule dz/dtdz/dtdz/dt along a path; implicit differentiation
14.6 Gradient Directional derivative; direction and rate of fastest increase
14.7 Optimization Critical points; the DDD-test; extrema on a closed bounded region
15.1–15.2 Double integrals Over rectangles and over general regions; choosing the order

Not on this exam: §14.1–14.2 (limits and continuity — those were Exam 1) and §15.3 (polar coordinates — we cover that today, and it belongs to Exam 3). No problem on Wednesday needs polar.

Partial derivatives (§14.3)

Know cold. fxf_{x}fx​ means: treat yyy as a constant and differentiate in xxx. Notation you must read fluently:

fxy=∂2f∂y ∂x=∂∂y(fx).f_{xy} = \frac{\partial^{2}f}{\partial y\,\partial x} = \frac{\partial}{\partial y}\left(f_{x}\right).fxy​=∂y∂x∂2f​=∂y∂​(fx​).

Clairaut: if the mixed partials are continuous, fxy=fyxf_{xy} = f_{yx}fxy​=fyx​.

The move. Cover the other variable with your finger. If you see x2y3x^{2}y^{3}x2y3 and are computing fxf_{x}fx​, you are differentiating (constant)⋅x2(\text{constant})\cdot x^{2}(constant)⋅x2.

Trap. Mixed versus pure. fxyf_{xy}fxy​ differentiates once in each variable; fxxf_{xx}fxx​ differentiates twice in xxx. A problem that says “verify fxy=fyxf_{xy}=f_{yx}fxy​=fyx​” and one that says “verify fxx+fyy=0f_{xx}+f_{yy}=0fxx​+fyy​=0” are asking for different computations, and confusing them costs the whole part.

Trap. “Verify” means compute both sides separately and compare. Citing Clairaut to avoid computing the second one answers a different question.

Example 1 (Reading the subscripts). f(x,y)=x3y2−y4f(x,y) = x^{3}y^{2} - y^{4}f(x,y)=x3y2−y4. Then fx=3x2y2f_{x} = 3x^{2}y^{2}fx​=3x2y2 and fy=2x3y−4y3f_{y} = 2x^{3}y - 4y^{3}fy​=2x3y−4y3, so

fxy=6x2y=fyx,whilefxx=6xy2,fyy=2x3−12y2.f_{xy} = 6x^{2}y = f_{yx}, \qquad\text{while}\qquad f_{xx} = 6xy^{2}, \quad f_{yy} = 2x^{3}-12y^{2}.fxy​=6x2y=fyx​,whilefxx​=6xy2,fyy​=2x3−12y2.

Four different second partials, two of which happen to coincide.

Tangent planes and linear approximation (§14.4)

Know cold. For z=f(x,y)z=f(x,y)z=f(x,y) at (a,b)(a,b)(a,b):

z=f(a,b)+fx(a,b) (x−a)+fy(a,b) (y−b).z = f(a,b) + f_{x}(a,b)\,(x-a) + f_{y}(a,b)\,(y-b).z=f(a,b)+fx​(a,b)(x−a)+fy​(a,b)(y−b).

That same expression, called L(x,y)L(x,y)L(x,y), is the linearization: for (x,y)(x,y)(x,y) near (a,b)(a,b)(a,b), f(x,y)≈L(x,y)f(x,y) \approx L(x,y)f(x,y)≈L(x,y).

For a surface given implicitly as F(x,y,z)=kF(x,y,z) = kF(x,y,z)=k, the vector ∇F\nabla F∇F is normal to the surface, and the tangent plane at P0P_{0}P0​ is Fx(x−x0)+Fy(y−y0)+Fz(z−z0)=0F_{x}(x-x_{0})+F_{y}(y-y_{0})+F_{z}(z-z_{0}) = 0Fx​(x−x0​)+Fy​(y−y0​)+Fz​(z−z0​)=0.

Trap. Three evaluations, all at the old point (a,b)(a,b)(a,b): f(a,b)f(a,b)f(a,b), fx(a,b)f_{x}(a,b)fx​(a,b), fy(a,b)f_{y}(a,b)fy​(a,b). The new point enters only as (x,y)(x,y)(x,y) at the very end. Plugging the new point into fff defeats the purpose — that is the exact value you were asked to approximate.

Trap. A surface given as F(x,y,z)=kF(x,y,z)=kF(x,y,z)=k is not of the form z=f(x,y)z=f(x,y)z=f(x,y). Use the gradient, or solve for zzz first — but do not mix the two formulas.

Example 2 (Plane, then estimate). f(x,y)=x2+y2f(x,y)=\sqrt{x^{2}+y^{2}}f(x,y)=x2+y2​ at (3,4)(3,4)(3,4): f(3,4)=5f(3,4)=5f(3,4)=5, fx=x/x2+y2=3/5f_{x}=x/\sqrt{x^{2}+y^{2}} = 3/5fx​=x/x2+y2​=3/5, and fy=4/5f_{y}=4/5fy​=4/5. So L(x,y)=5+35(x−3)+45(y−4)L(x,y) = 5 + \tfrac35(x-3)+\tfrac45(y-4)L(x,y)=5+53​(x−3)+54​(y−4), and f(3.02,3.99)≈5+35(0.02)+45(−0.01)=5.004f(3.02,3.99) \approx 5 + \tfrac35(0.02)+\tfrac45(-0.01) = 5.004f(3.02,3.99)≈5+53​(0.02)+54​(−0.01)=5.004.

The chain rule and the gradient (§14.5–14.6)

Know cold. Along a path x=x(t)x=x(t)x=x(t), y=y(t)y=y(t)y=y(t):

dzdt=fxdxdt+fydydt=∇f⋅r′(t).\frac{dz}{dt} = f_{x}\frac{dx}{dt} + f_{y}\frac{dy}{dt} = \nabla f \cdot \mathbf{r}'(t).dtdz​=fx​dtdx​+fy​dtdy​=∇f⋅r′(t).

In a direction given by a unit vector u\mathbf{u}u:

Duf=∇f⋅u.D_{\mathbf{u}}f = \nabla f \cdot \mathbf{u}.Du​f=∇f⋅u.

fff increases fastest in the direction of ∇f\nabla f∇f, at rate ∣∇f∣\left\lvert \nabla f \right\rvert∣∇f∣; fastest decrease is −∇f-\nabla f−∇f at rate −∣∇f∣-\left\lvert \nabla f \right\rvert−∣∇f∣; and Duf=0D_{\mathbf{u}}f = 0Du​f=0 exactly along the level curve.

Trap. u\mathbf{u}u must be a unit vector. Given a direction like ⟨3,4⟩\langle 3,4\rangle⟨3,4⟩, divide by 555 first. Forgetting to normalise scales your whole answer.

Trap. The direction of fastest increase is ∇f\nabla f∇f at that point — a vector of numbers, not a formula in xxx and yyy. Evaluate before you report.

Example 3 (The two questions are different). f(x,y)=x2yf(x,y)=x^{2}yf(x,y)=x2y at (1,2)(1,2)(1,2): ∇f=⟨2xy, x2⟩=⟨4,1⟩\nabla f = \langle 2xy,\ x^{2}\rangle = \langle 4,1\rangle∇f=⟨2xy, x2⟩=⟨4,1⟩. In the direction ⟨3,4⟩\langle 3,4 \rangle⟨3,4⟩: u=⟨35,45⟩\mathbf{u} = \langle \tfrac35,\tfrac45\rangleu=⟨53​,54​⟩ and Duf=125+45=165D_{\mathbf{u}}f = \tfrac{12}{5}+\tfrac45 = \tfrac{16}{5}Du​f=512​+54​=516​. The maximum rate in any direction is ∣⟨4,1⟩∣=17≈4.12\left\lvert \langle 4,1\rangle \right\rvert = \sqrt{17} \approx 4.12∣⟨4,1⟩∣=17​≈4.12, which is larger — as it must be.

Optimization (§14.7)

Know cold. Critical points solve fx=0f_{x}=0fx​=0 and fy=0f_{y}=0fy​=0. With D=fxxfyy−(fxy)2D = f_{xx}f_{yy}-\left(f_{xy}\right)^{2}D=fxx​fyy​−(fxy​)2 evaluated at the critical point:

D>0D>0D>0 and fxx>0f_{xx}>0fxx​>0 local minimum
D>0D>0D>0 and fxx<0f_{xx}<0fxx​<0 local maximum
D<0D<0D<0 saddle point
D=0D=0D=0 no information — argue directly

On a closed and bounded region, the Extreme Value Theorem guarantees both absolute extrema exist. Find them by comparing: (i) values at interior critical points, (ii) values on the boundary. Then simply pick the largest and smallest. You do not classify anything.

Trap. D=0D=0D=0 does not mean “saddle.” It means the test failed and you must reason about fff directly.

Trap. On a closed region the extrema are often on the boundary, where ∇f≠0\nabla f \neq 0∇f=0. A solution that only hunts for critical points will miss them entirely.

Trap. To handle a boundary, reduce it to one variable — substitute the constraint, or parametrise it — and then it is a Calculus I max/min problem on a closed interval, endpoints included.

Example 4 (Boundary matters). f(x,y)=x+yf(x,y)=x+yf(x,y)=x+y on the closed disk x2+y2≤1x^{2}+y^{2}\le 1x2+y2≤1 has ∇f=⟨1,1⟩\nabla f = \langle 1,1\rangle∇f=⟨1,1⟩, never zero: no interior critical point at all. Yet extrema exist. On the boundary, substituting y=±1−x2y = \pm\sqrt{1-x^{2}}y=±1−x2​ (or x=cos⁡tx=\cos tx=cost, y=sin⁡ty=\sin ty=sint, giving f=cos⁡t+sin⁡tf=\cos t+\sin tf=cost+sint) yields maximum 2\sqrt22​ and minimum −2-\sqrt2−2​.

Double integrals (§15.1–15.2)

Know cold. Over a rectangle, Fubini says the order does not matter. Over a general region you must first decide the type:

Type I:a≤x≤b, g1(x)≤y≤g2(x)⟹∫ab ⁣ ⁣∫g1(x)g2(x)f dy dx,\text{Type I:}\quad a\le x\le b,\ g_{1}(x)\le y\le g_{2}(x) \qquad\Longrightarrow\qquad \int_{a}^{b}\!\!\int_{g_{1}(x)}^{g_{2}(x)} f\,dy\,dx,Type I:a≤x≤b, g1​(x)≤y≤g2​(x)⟹∫ab​∫g1​(x)g2​(x)​fdydx, Type II:c≤y≤d, h1(y)≤x≤h2(y)⟹∫cd ⁣ ⁣∫h1(y)h2(y)f dx dy.\text{Type II:}\quad c\le y\le d,\ h_{1}(y)\le x\le h_{2}(y) \qquad\Longrightarrow\qquad \int_{c}^{d}\!\!\int_{h_{1}(y)}^{h_{2}(y)} f\,dx\,dy.Type II:c≤y≤d, h1​(y)≤x≤h2​(y)⟹∫cd​∫h1​(y)h2​(y)​fdxdy.

The move. Draw the region first — always. Then slice it: vertical strips give Type I, horizontal strips give Type II. The outer limits are always constants; the inner limits may involve the outer variable, never the reverse.

Trap. Inner limits containing the inner variable. ∫01 ⁣∫0yf dy dx\int_0^1\!\int_0^y f\,dy\,dx∫01​∫0y​fdydx is meaningless — the yyy in the limit has nowhere to come from. If you write this, your region description is wrong.

Trap. Reversing the order is not swapping the limits. You must redescribe the region from the picture. ∫01 ⁣∫x1→∫01 ⁣∫0y\int_0^1\!\int_x^1 \to \int_0^1\!\int_0^y∫01​∫x1​→∫01​∫0y​, not ∫x1 ⁣∫01\int_x^1\!\int_0^1∫x1​∫01​.

Trap. Sometimes only one order is possible, because the other produces an integral with no elementary antiderivative — ey2e^{y^{2}}ey2, sin⁡(y2)\sin(y^{2})sin(y2), sin⁡yy\frac{\sin y}{y}ysiny​ are the usual suspects. If the inner integral looks impossible, that is a signal, not a dead end: reverse.

Example 5 (The sketch decides). ∫04 ⁣ ⁣∫x2sin⁡ ⁣(y3)dy dx\displaystyle\int_{0}^{4}\!\!\int_{\sqrt{x}}^{2} \sin\!\left(y^{3}\right) dy\,dx∫04​∫x​2​sin(y3)dydx cannot be started as written. The region is 0≤x≤40\le x\le 40≤x≤4, x≤y≤2\sqrt x \le y \le 2x​≤y≤2 — i.e. the area between y=xy=\sqrt xy=x​ and y=2y=2y=2. Redescribing with horizontal strips: 0≤y≤20\le y\le 20≤y≤2 and 0≤x≤y20 \le x \le y^{2}0≤x≤y2. Then

∫02 ⁣ ⁣∫0y2sin⁡ ⁣(y3)dx dy=∫02y2sin⁡ ⁣(y3)dy=1−cos⁡83.\int_{0}^{2}\!\!\int_{0}^{y^{2}} \sin\!\left(y^{3}\right) dx\,dy = \int_{0}^{2} y^{2}\sin\!\left(y^{3}\right)dy = \frac{1-\cos 8}{3}.∫02​∫0y2​sin(y3)dxdy=∫02​y2sin(y3)dy=31−cos8​.

Practice problems

Deliberately not shaped like the exam — the point is to stretch the same skills over different ground. Work them without notes first.

A. Say it exactly

  1. State the tangent-plane formula, the chain rule for dz/dtdz/dtdz/dt, the formula for DufD_{\mathbf{u}}fDu​f, and the second derivative test — all four from memory.

  2. Explain in one sentence each: why u\mathbf{u}u must be a unit vector; why D=0D=0D=0 gives no information; why the outer limits of a double integral must be constants.

B. Find the error

  1. “f(x,y)=x2y3f(x,y)=x^{2}y^{3}f(x,y)=x2y3, so fxx=∂∂y(2xy3)=6xy2f_{xx} = \frac{\partial}{\partial y}\left(2xy^{3}\right) = 6xy^{2}fxx​=∂y∂​(2xy3)=6xy2.”

  2. “DufD_{\mathbf{u}}fDu​f at (1,1)(1,1)(1,1) in the direction ⟨1,1⟩\langle 1,1 \rangle⟨1,1⟩ equals ∇f(1,1)⋅⟨1,1⟩\nabla f(1,1)\cdot\langle 1,1\rangle∇f(1,1)⋅⟨1,1⟩.”

  3. “D=0D = 0D=0 at the critical point, so it is a saddle point.”

  4. “Reversing the order: ∫02 ⁣∫0xf dy dx=∫0x ⁣∫02f dx dy\int_{0}^{2}\!\int_{0}^{x} f\,dy\,dx = \int_{0}^{x}\!\int_{0}^{2} f\,dx\,dy∫02​∫0x​fdydx=∫0x​∫02​fdxdy.”

C. Partial derivatives

  1. For f(x,y)=x2ln⁡ ⁣(x+y)f(x,y) = x^{2}\ln\!\left(x+y\right)f(x,y)=x2ln(x+y), find fxf_{x}fx​, fyf_{y}fy​, fxyf_{xy}fxy​ and fyxf_{yx}fyx​.

  2. Show that u(x,y)=ln⁡ ⁣x2+y2u(x,y) = \ln\!\sqrt{x^{2}+y^{2}}u(x,y)=lnx2+y2​ satisfies uxx+uyy=0u_{xx}+u_{yy}=0uxx​+uyy​=0.

  3. For f(x,y)=xey+yexf(x,y)=xe^{y}+y e^{x}f(x,y)=xey+yex, verify Clairaut by computing both mixed partials separately.

D. Planes, chains, gradients

  1. Find the tangent plane to z=x2+4y2z = x^{2}+4y^{2}z=x2+4y2 at (1,1,5)(1,1,5)(1,1,5), and use it to estimate the value at (1.02,0.97)(1.02, 0.97)(1.02,0.97).

  2. Find the tangent plane to the sphere x2+y2+z2=14x^{2}+y^{2}+z^{2}=14x2+y2+z2=14 at (1,2,3)(1,2,3)(1,2,3).

  3. If z=x2yz = x^{2}yz=x2y with x=2t+1x = 2t+1x=2t+1 and y=t3y = t^{3}y=t3, find dz/dtdz/dtdz/dt at t=1t=1t=1 two ways: by the chain rule, and by substituting first.

  4. For f(x,y)=xeyf(x,y)=x e^{y}f(x,y)=xey at (2,0)(2,0)(2,0), find DufD_{\mathbf{u}}fDu​f in the direction ⟨−3,4⟩\langle -3, 4 \rangle⟨−3,4⟩, and the maximum rate of increase.

E. Optimization

  1. Find and classify all critical points of f(x,y)=x2+y2−4x−6y+13f(x,y) = x^{2}+y^{2}-4x-6y+13f(x,y)=x2+y2−4x−6y+13.

  2. Find and classify all critical points of f(x,y)=xy−x2−y2−2x−2yf(x,y) = xy - x^{2} - y^{2} - 2x - 2yf(x,y)=xy−x2−y2−2x−2y.

  3. Find the absolute extrema of f(x,y)=x2+2y2f(x,y)=x^{2}+2y^{2}f(x,y)=x2+2y2 on the closed disk x2+y2≤4x^{2}+y^{2}\le 4x2+y2≤4.

  4. Find the absolute extrema of f(x,y)=x+2yf(x,y)=x+2yf(x,y)=x+2y on the closed triangle with vertices (0,0)(0,0)(0,0), (2,0)(2,0)(2,0), (0,3)(0,3)(0,3).  (Three boundary segments — do each separately, endpoints included.)

F. Double integrals

  1. Evaluate ∫13 ⁣ ⁣∫02(x+y2)dy dx\displaystyle\int_{1}^{3}\!\!\int_{0}^{2}\left(x+y^{2}\right)dy\,dx∫13​∫02​(x+y2)dydx, then again in the other order, and confirm the two agree.

  2. Sketch the region and evaluate ∬D2xy dA\displaystyle\iint_{D} 2xy \,dA∬D​2xydA where DDD is bounded by y=x2y=x^{2}y=x2 and y=2xy=2xy=2x.

  3. Sketch the region, then reverse the order of integration in ∫01 ⁣ ⁣∫y1f(x,y) dx dy\displaystyle\int_{0}^{1}\!\!\int_{y}^{1} f(x,y)\,dx\,dy∫01​∫y1​f(x,y)dxdy. (Do not evaluate.)

  4. Evaluate ∫01 ⁣ ⁣∫3y3ex2 dx dy\displaystyle\int_{0}^{1}\!\!\int_{3y}^{3} e^{x^{2}}\,dx\,dy∫01​∫3y3​ex2dxdy.  (Only one order is possible — decide which, and why, before computing.)

← Back to MATH 213