The department's own study guide is the source of truth for what
Exam 2 covers, and it gives you a bare answer under each problem with no work
in between. This is that guide, section for section and problem for problem
— with the work filled in, the traps named, and the answer kept shut until
you commit to an attempt. All 75 of its problems.
To find the extreme values of f(x,y) subject to a constraint g(x,y)=k, solve the system:
∇f=λ∇gandg(x,y)=k
That is:
fx=λgx
fy=λgy
g(x,y)=k
Three Variables
To optimize f(x,y,z) subject to g(x,y,z)=k:
∇f=λ∇gandg(x,y,z)=k
Note: Evaluate f at all solution points and compare to identify absolute max/min.
Practice
5 problems
1
Find the maximum value of f(x,y)=3+2x−y subject to the constraint x2+2xy+4y2=7.
no calculator, same as the exam
Answer10answer recomputed · sympy
The constraint g(x,y)=x2+2xy+4y2=7 is a closed curve (an ellipse), so f attains a max and a min on it. Use Lagrange: ∇f=λ∇g.
∇f=⟨2,−1⟩ and ∇g=⟨2x+2y,2x+8y⟩, so the system is 2=λ(2x+2y), −1=λ(2x+8y), x2+2xy+4y2=7.
Add twice the second equation to the first to kill x: 2+2(−1)=λ[(2x+2y)+2(2x+8y)] gives 0=λ(6x+18y). Since λ=0 (else ∇f=0, false), x=−3y.
Substitute into the constraint: 9y2−6y2+4y2=7y2=7, so y=±1 and (x,y)=(−3,1) or (3,−1).
Evaluate: f(−3,1)=3−6−1=−4 and f(3,−1)=3+6+1=10.
Maximum value =10 (attained at (3,−1); the minimum is −4).
Trap∇g of the cross term is the usual casualty: ∂x(2xy)=2y and ∂y(2xy)=2x, so ∇g=⟨2x+2y,2x+8y⟩, not⟨2x+2y,8y⟩. Also, Lagrange hands you *critical values*, plural. The largest of the list is the answer, so you must evaluate f at every solution point, not just the first one you find.
2
Find the maximum value of f(x,y)=8x−6y subject to the constraint (x−1)2+y2=1.
no calculator, same as the exam
Answer18answer recomputed · sympy
Constraint: the circle g(x,y)=(x−1)2+y2=1, centre (1,0), radius 1. f is linear, so its extremes sit where the gradient of f is normal to the circle.
Lagrange: ⟨8,−6⟩=λ⟨2(x−1),2y⟩, i.e. 8=2λ(x−1) and −6=2λy.
So x−1=λ4 and y=−λ3. Plug into the constraint: λ216+λ29=1⇒λ2=25,λ=±5.
Sanity check with geometry: f=8x−6y at the centre (1,0) is 8, and ∣∇f∣=64+36=10, so on a radius-1 circle f ranges over 8±10={−2,18}. Same answer.
TrapThe circle is not centred at the origin. Writing the constraint gradient as ⟨2x,2y⟩ (forgetting the shift) is the standard wreck here; it must be ⟨2(x−1),2y⟩. The shortcut fmax=f(centre)+∣∇f∣⋅R works only because f is linear and the constraint is a circle; do not reach for it on an ellipse.
3
The maximum and minimum values of f(x,y)=(x−2)2+(y−4)2 subject to x2+y2=5 are, respectively:
f(x,y)=(x−2)2+(y−4)2 is the squared distance from (2,4); the constraint is the circle of radius 5 about the origin. So this is really a nearest/farthest point problem.
Lagrange: ⟨2(x−2),2(y−4)⟩=λ⟨2x,2y⟩, i.e. x−2=λx and y−4=λy.
Then x(1−λ)=2 and y(1−λ)=4, so y=2x (dividing; note λ=1, since λ=1 would force 2=0).
Constraint: x2+(2x)2=5x2=5⇒x=±1, giving (1,2) and (−1,−2).
Maximum 45, minimum 5. (Check: ∣(2,4)∣=20=25, so distances to the circle are 25∓5, whose squares are 5 and 45.)
TrapTwo traps. First, f is the squared distance, so do not take a square root at the end and report 45 and 5. Second, the point (2,4) lies *outside* the circle, so both critical points are genuine, one near and one far; the min is not0.
4
Find the maximum of f(x,y,z)=x+y+z subject to (x−1)2+y2+z2=1.
no calculator, same as the exam
Answer1+3answer recomputed · sympy
Constraint: the sphere g=(x−1)2+y2+z2=1 of radius 1 centred at (1,0,0). f=x+y+z is linear, so Lagrange with ∇f=⟨1,1,1⟩.
Taking the + branch, x=1+31,y=z=31, so f=1+33=1+3. The − branch gives 1−3.
Maximum =1+3.
TrapSame shifted-centre trap as before: ∇g=⟨2(x−1),2y,2z⟩. And because the three partials give x−1=y=z (not x=y=z), the symmetric guess x=y=z=1/3 is wrong. The geometric check is f(centre)+∣∇f∣R=1+3⋅1.
5
Find the absolute maximum value M and absolute minimum value m of f(x,y)=x+y subject to x2−xy+y2=1.
no calculator, same as the exam
AnswerM=2,m=−2answer recomputed · sympy
The constraint x2−xy+y2=1 is an ellipse (rotated 45∘), a closed bounded curve, so a max and a min both exist.
Lagrange: ⟨1,1⟩=λ⟨2x−y,2y−x⟩, so 1=λ(2x−y) and 1=λ(2y−x).
Setting the two right sides equal: 2x−y=2y−x⇒3x=3y⇒y=x.
Constraint: x2−x2+x2=x2=1, so (1,1) and (−1,−1).
f(1,1)=2 and f(−1,−1)=−2, so M=2,m=−2.
TrapDifferentiating the cross term −xy: ∂x=−y, ∂y=−x — it is easy to drop a sign and get 2x+y. Also, cancelling λ from the two equations is legal here only because λ=0 (if λ=0 then 1=0), so you should say so rather than divide blindly.
If f is continuous on R=[a,b]×[c,d], the order of integration may be switched:
∫ab∫cdf(x,y)dydx=∫cd∫abf(x,y)dxdy
Riemann Sum Definition
Partition [a,b] into m subintervals and [c,d] into n subintervals, each of width Δx=mb−a and Δy=nd−c. Choose sample points (xij∗,yij∗) in each subrectangle Rij:
∬Rf(x,y)dA=m,n→∞limi=1∑mj=1∑nf(xij∗,yij∗)ΔA
where ΔA=ΔxΔy is the area of each subrectangle.
Using midpoints: xi∗=2xi−1+xi, yj∗=2yj−1+yj
The double integral gives the signed volume between the surface z=f(x,y) and the xy-plane
Practice
5 problems
1
Compute ∫01∫04xydxdy.
no calculator, same as the exam
Answer932answer recomputed · sympy
The integrand factors, xy=xy, and the region is the rectangle [0,4]×[0,1], so the double integral splits into a product of single integrals.
∫01∫04xydxdy=(∫04xdx)(∫01ydy).
∫04x1/2dx=32x3/204=32⋅8=316.
∫01y1/2dy=32.
Product: 316⋅32=932.
TrapRead the differentials: dxdy means the inner variable is x (limits 0 to 4) and the outer is y (limits 0 to 1). Pairing x with [0,1] gives 32⋅316 by luck here, but on a non-symmetric integrand the same misreading is fatal. The split into a product is legal only because the integrand factors and the limits are constants.
2
Find the volume enclosed by x=0, x=3, y=0, y=2, z=1, and z=ex+y.
no calculator, same as the exam
Answere5−e3−e2−5answer recomputed · sympy
The base is the rectangle R=[0,3]×[0,2]; the solid sits between the floor z=1 and the roof z=ex+y. On R we have x+y≥0, so ex+y≥1 and the roof really is above the floor everywhere.
Volume =∬R(ex+y−1)dA=∫02∫03(exey−1)dxdy.
∬RexeydA=(∫03exdx)(∫02eydy)=(e3−1)(e2−1).
∬R1dA=area(R)=3⋅2=6.
Volume =(e3−1)(e2−1)−6=e5−e3−e2+1−6=e5−e3−e2−5.
TrapForgetting to subtract the floor: integrating ex+y alone gives the volume under the surface down to z=0, not down to z=1. The correction is −area(R)=−6, and note (e3−1)(e2−1) already contributes +1, so the constant is 1−6=−5, not −6. Also ex+y=exey is what lets the integral factor; ex+y=ex+ey.
3
Find the average value of f(x,y)=x2y over the rectangle R with vertices (−1,0), (−1,5), (1,5), (1,0).
no calculator, same as the exam
Answer65answer recomputed · sympy
The four vertices give the rectangle R=[−1,1]×[0,5], of area A=2⋅5=10.
Average value =A1∬RfdA=101∫05∫−11x2ydxdy.
∫−11x2dx=3x3−11=32 and ∫05ydy=225.
∬Rx2ydA=32⋅225=325.
Average =1025/3=65.
TrapDividing by the wrong thing, or not dividing at all: the answer to an *average value* question is the integral over the area, here 10. Second trap: x2 is even, so ∫−11x2dx=32, not 0 — students who remember 'symmetric interval ⇒ zero' from odd integrands kill this problem instantly.
4
Evaluate ∫01∫01∫02−yexdzdxdy.
no calculator, same as the exam
Answer23(e−1)answer recomputed · sympy
Innermost is dz and the integrand ex is free of z, so the first integration is just multiplication by the height: ∫02−yexdz=ex(2−y).
The remaining limits are constants, so ∫01∫01ex(2−y)dxdy=(∫01exdx)(∫01(2−y)dy).
∫01exdx=e−1.
∫01(2−y)dy=2−21=23.
Value =23(e−1).
TrapThe order is dzdxdy, so the z-limit 2−y belongs to the *innermost* integral and depends on the *outermost* variable — perfectly legal, but you must integrate z first and carry (2−y) outward. Attempting to do dx first, or treating the upper limit as 2−x, both break it. Once z is gone the integral separates only because ex and (2−y) live in different variables.
5
Evaluate ∬R2+x3x2ydA over R={1≤x≤2,0≤y≤4}.
no calculator, same as the exam
Answer38(ln10−ln3)answer recomputed · sympy
R is a rectangle and the integrand splits as 2+x3x2⋅y, so the integral is a product of two one-variable integrals.
∬R2+x3x2ydA=(∫122+x3x2dx)(∫04ydy).
For the x-integral substitute u=2+x3, du=3x2dx, so x2dx=3du; as x:1→2, u:3→10.
∫3103u1du=31(ln10−ln3).
∫04ydy=8.
Value =8⋅31(ln10−ln3)=38(ln10−ln3)=38ln310.
TrapWhen you substitute u=2+x3 you must change the limits to u:3→10; leaving 1 and 2 gives 31ln12, a completely different number. The other classic is losing the 31 from du=3x2dx.
Region bounded by functions of x: g1(x)≤y≤g2(x), a≤x≤b
∬Df(x,y)dA=∫ab∫g1(x)g2(x)f(x,y)dydx
Type II Region (horizontal strips)
Region bounded by functions of y: h1(y)≤x≤h2(y), c≤y≤d
∬Df(x,y)dA=∫cd∫h1(y)h2(y)f(x,y)dxdy
Reversing Order of Integration
Sketch the region, identify bounds for the opposite order, then re-write the integral. This is often necessary when the inner integral has no elementary antiderivative.
Practice
5 problems
1
Evaluate (switching order of integration):
∫027∫3x34ey4dydx
no calculator, same as the exam
Answere81−1answer recomputed · sympy
ey4 has no elementary antiderivative in y, so the inner integral as written is hopeless. That is the signal to switch the order.
Read off the region: 0≤x≤27 and 3x≤y≤3. The curve y=3x is x=y3, and at x=27, y=3.
Describe the same region with y outer: y runs 0→3, and for each y, x runs from 0 to y3.
TrapGetting the new limits backwards. The old inner limit y≥3x becomes x≤y3, so the new inner range is 0≤x≤y3 — noty3≤x≤27. Sketch the region: it is the piece *above* the cube-root curve, i.e. to the *left* of x=y3. The factor 4 in the integrand is not decoration; it is exactly the 4y3 the substitution needs after the swap.
2
Evaluate ∬RxsinxdA where R is bounded by the x-axis, y=x, and x=1 (integrate in y first, then x).
no calculator, same as the exam
Answer1−cos(1)answer recomputed · sympy
Sketch R: bounded below by y=0, above by y=x, on the right by x=1 — the triangle with vertices (0,0),(1,0),(1,1).
xsinx has no elementary antiderivative in x, so we must integrate in y first (as instructed), which makes x a constant.
∬RxsinxdA=∫01∫0xxsinxdydx.
Inner: xsinx⋅(x−0)=sinx. The offending x in the denominator cancels — that is the whole point of the order.
∫01sinxdx=−cosx01=1−cos(1).
TrapChoosing dydx is not optional here: the other order gives ∫y1xsinxdx, which cannot be evaluated in closed form. Also the inner limits are 0≤y≤x — a *variable* upper limit. Writing ∫01 for the inner y-integral turns the triangle into the unit square and gives ∫01xsinxdx, which is not elementary.
3
Find the volume of the solid under z=2x and above the region in the first quadrant bounded by the coordinate axes and x+y=1.
no calculator, same as the exam
Answer31answer recomputed · sympy
The base region D is the triangle in the first quadrant cut off by x+y=1: vertices (0,0),(1,0),(0,1). The roof is z=2x≥0 there, so the volume is the plain double integral.
As a type-I region: 0≤x≤1 and 0≤y≤1−x.
V=∬D2xdA=∫01∫01−x2xdydx.
Inner: 2x(1−x)=2x−2x2.
∫01(2x−2x2)dx=1−32=31.
TrapUsing ∫01∫01 (the square) instead of the triangle: the hypotenuse y=1−x must appear as the inner limit. Also note the integrand is 2x, so the answer is not the triangle's area 21 times anything obvious; you have to actually integrate 2x(1−x).
4
Change the order of integration for ∫02∫x22xf(x,y)dydx.
no calculator, same as the exam
Official answer(original) — ∫04∫yy/2fdxdychecked · official answer wrong
Read the region from the given order dydx: 0≤x≤2 and x2≤y≤2x — the lens between the parabola y=x2 and the line y=2x.
Find where the two curves meet: x2=2x⇒x=0 or x=2, giving the corner points (0,0) and (2,4). So y ranges over [0,4] overall.
Now solve each boundary for x. From y=2x we get x=2y; from y=x2 (with x≥0) we get x=y.
For a fixed y∈[0,4], which is the left edge? Test y=1: the line gives x=21, the parabola gives x=1. So x runs from 2yup toy.
Reversed order: ∫04∫y/2yf(x,y)dxdy.
Confidence check with a test integrand f=xy: the original order gives 38, and ∫04∫y/2yxydxdy=38 as well.
TrapInside the lens the parabola is the right boundary and the line is the left one (for 0<x<2, x2<2x means the parabola sits *below* the line, which flips to *right of* when you read horizontally). Writing ∫yy/2 reverses the limits and negates the integral. Also x=y, not x=±y: the region lives in x≥0.
The official answer is wrongThe official answer prints the inner limits as ∫yy/2, which is upside down. For 0<y<4 we have 2y<y (at y=1: 0.5<1), so the lower limit must be y/2 and the upper limit y. As printed, the integral equals the negative of the original. Numerical check with f(x,y)=xy: the original iterated integral is 38, the correctly reversed one is 38, and the printed one is −38.
5
Reverse the order and evaluate: ∫02ln3∫y/2ln3ex2dxdy.
no calculator, same as the exam
Answer2answer recomputed · sympy
ex2 has no elementary antiderivative, so the order must be reversed. Let a=ln3 for short; the limits are 0≤y≤2a and 2y≤x≤a.
Sketch: the region is the triangle with vertices (0,0), (a,0) and (a,2a), bounded by the line x=y/2 (i.e. y=2x), the vertical line x=a, and the x-axis.
Reading it the other way: x runs 0→a, and for each x, y runs from 0 to 2x.
TrapThe outer limit 2ln3 and the inner ln3 are *different* numbers — reversing carelessly and writing y from 0 to x (instead of 2x) loses the factor of 2 that the substitution needs, leaving a non-elementary integral. Also eln3=3, so the final answer is the clean 2, not eln3 left unsimplified.
TrapThe integrand becomes r2, not r: one factor of r is x2+y2 and the second is the Jacobian from dA=rdrdθ. Dropping the Jacobian gives 49π. Second trap: θ runs only to π/2 — the limits x∈[0,3], y≥0 give a quarter disk, not a half disk.
2
Compute ∬Re−(x2+y2)dA where R is the disk x2+y2≤4.
no calculator, same as the exam
Answerπ(1−e−4)answer recomputed · sympy
R is the full disk of radius 2 and the integrand depends only on x2+y2, so polar is the obvious move: 0≤r≤2, 0≤θ≤2π.
∬Re−(x2+y2)dA=∫02π∫02e−r2rdrdθ.
Inner: substitute u=r2, du=2rdr, so ∫02e−r2rdr=21∫04e−udu=21(1−e−4).
Outer: multiply by ∫02πdθ=2π.
Value =2π⋅21(1−e−4)=π(1−e−4).
TrapWithout the Jacobian r, ∫e−r2dr is not elementary at all — the r is exactly what makes the substitution work, so its absence should be an immediate alarm. Also r goes to 2, so u=r2 goes to 4, giving e−4; writing e−2 is the standard slip.
3
Rewrite in polar (do not evaluate): ∫01∫−1−y21−y2(x2+y2)1/2dxdy.
no calculator, same as the exam
Answer∫0π∫01r2drdθanswer recomputed · sympy
Region: 0≤y≤1 with −1−y2≤x≤1−y2, i.e. x2+y2≤1 with y≥0 — the upper half of the unit disk.
In polar the half disk is 0≤r≤1, 0≤θ≤π (the full sweep of the upper half plane).
The integrand (x2+y2)1/2=r, and dA=rdrdθ, so r⋅r=r2.
∫01∫−1−y21−y2(x2+y2)1/2dxdy=∫0π∫01r2drdθ.
(Not asked for, but its value is 3π, and the original Cartesian integral evaluates to 3π as well.)
Trapθ ranges over [0,π], not [0,π/2]: x takes negative values here, so the region covers the second quadrant too. And the integrand must pick up the Jacobian, r⋅rdrdθ=r2drdθ; writing ∫0π∫01rdrdθ is the most common wrong answer on this exact problem.
4
Evaluate ∫0π∫0π−y2sin(x2+y2)dxdy.
no calculator, same as the exam
Answer2πanswer recomputed · sympy
Region: 0≤y≤π, 0≤x≤π−y2, i.e. x2+y2≤π with x,y≥0 — the quarter disk of radius π.
sin(x2+y2) has no elementary antiderivative in Cartesian form, so polar is forced: 0≤r≤π, 0≤θ≤2π.
TrapThe radius is π, so u=r2 runs to π — not to π. Writing ∫0πsinudu is the killer here. As always, the Jacobian r is what makes the u-substitution possible; without it the integral is non-elementary.
5
Compute ∫−33∫−9−y29−y2ex2+y2dxdy.
no calculator, same as the exam
Answerπ(e9−1)answer recomputed · sympy
Region: −3≤y≤3 and −9−y2≤x≤9−y2 — the entire disk x2+y2≤9 of radius 3.
Polar: 0≤r≤3, 0≤θ≤2π, integrand ex2+y2=er2, and dA=rdrdθ.
∫−33∫−9−y29−y2ex2+y2dxdy=∫02π∫03er2rdrdθ.
Inner: u=r2, du=2rdr, u:0→9, so 21∫09eudu=21(e9−1).
Outer: 2π⋅21(e9−1)=π(e9−1).
TrapBoth limits are symmetric, so θ sweeps the full2π; using π (half disk) or π/2 halves or quarters the answer. And u=r2 runs to 9, giving e9 — writing e3 is the standard misfire. The r from dA is again mandatory.
Note: There are 6 possible orders of integration — choose the order that fits the region and integrand most naturally.
Practice
5 problems
1
Evaluate ∫01∫01∫02−yexdzdxdy.
no calculator, same as the exam
Answer23(e−1)answer recomputed · sympy
Read the order off the differentials: dzdxdy. The innermost variable is z, and the integrand ex does not contain z — so the inner integral is just multiplication by the height.
∫02−yexdz=ex(2−y).
Now the x and y limits are both constants, and what is left separates: ∫01∫01ex(2−y)dxdy=(∫01exdx)(∫01(2−y)dy).
∫01exdx=e−1 and ∫01(2−y)dy=2−21=23.
Product: 23(e−1).
TrapThe limit 2−y sits on the inner integral while y is the outer variable. That is legal — inner limits may involve any variable integrated later — but it means you cannot do the y-integral first. Someone who starts at the outside gets ∫01(2−y)dy sitting where a z-integral belongs and loses the factor entirely.
2
Let E be the solid in the first octant above the xy-plane and below 4x+2y+z=8. For ∭EfdV=∫0a∫0b∫0cfdzdydx:
no calculator, same as the exam
Answera=2,b=4−2xanswer recomputed · sympy
Order dzdydx means: z is bounded by surfaces, y by curves in the xy-plane, x by numbers. Build it from the inside out.
First octant gives the floor z=0; the plane gives the ceiling z=8−4x−2y. So c=8−4x−2y.
Project the solid onto the xy-plane by setting z=0 in the plane: 4x+2y=8, i.e. y=4−2x. That triangle, together with x≥0,y≥0, is the shadow.
For a fixed x, y runs from 0 up to that line: b=4−2x.
x runs until the shadow closes, i.e. until 4−2x=0: a=2.
∭EfdV=∫02∫04−2x∫08−4x−2yfdzdydx.
TrapUsing the x-intercept of the plane, x=2... by luck that is right here, but the reason matters: a is where the shadow closes, not where the plane meets an axis. Get b by setting z=0, not x=0; setting x=0 gives y=4, which is the wrong constant limit and makes the region a box.
3
Let D be the solid bounded by x=0, z=0, y=x, and x+y+z=2. Write ∭DfdV as an iterated integral.
no calculator, same as the exam
Official answere.g. ∫01∫x2−x∫02−x−yfdzdydx , or ∫01∫02−x∫x2−x−zfdydzdxchecked · official answer wrong
Four surfaces, so list the inequalities: x≥0, z≥0, y≥x, and x+y+z≤2.
Take z innermost: 0≤z≤2−x−y.
Shadow in the xy-plane is where that height is non-negative and y≥x: the triangle x≤y≤2−x, x≥0.
That triangle closes when x=2−x, i.e. x=1. So ∫01∫x2−x∫02−x−yfdzdydx.
Reordering to dydzdx: solve y≥x and y≤2−x−z, so x≤y≤2−x−z.
Those two limits cross when 2−x−z=x, i.e. at z=2−2x — so z must stop at 2−2x, giving ∫01∫02−2x∫x2−x−zfdydzdx.
Sanity check both with f=1: each gives volume 32.
TrapWhen you reorder, the new outer limit is where the inner limits collide, not where some surface hits an axis. Writing z from 0 to 2−x (the plane's z-intercept above y=0) puts z in a range where the inner y-limits are upside-down, 2−x−z<x, and the integral quietly subtracts the phantom slab instead of erroring.
The official answer is wrongThe second offered order is wrong as printed. With z running to 2−x, every z>2−2x has 2−x−z<x, so the inner y-integral runs backwards. With f=1 the printed form evaluates to 21; the true volume, and the value of the printed first form, is 32. The z-limit must be 2−2x.
4
Let V be bounded by z=6−x2−y2 and z=x2+y2. If V=∫−33∫ab∫x2+y26−x2−y2dzdydx, what are a and b?
no calculator, same as the exam
Answera=−3−x2,b=3−x2answer recomputed · sympy
The z-limits are already given: the solid sits between the upward paraboloid z=x2+y2 and the downward one z=6−x2−y2.
They meet where x2+y2=6−x2−y2, i.e. 2(x2+y2)=6, so x2+y2=3 — a circle of radius 3.
That circle is the shadow's boundary, which is why the outer limits are ±3.
Solving x2+y2=3 for y: a=−3−x2, b=3−x2.
TrapSetting x2+y2=6 (from z=6−x2−y2 with z=0) instead of equating the two surfaces. The paraboloids never reach z=0 together; the boundary of the shadow is where the ceiling meets the floor, and that is radius 3, not 6. The given outer limits ±3 are the tell.
5
Evaluate ∫−11∫−1−y21−y2∫−11(x2+y2)3/2dzdxdy.
no calculator, same as the exam
Answer54πanswer recomputed · sympy
Look at the shadow before touching the integrand: −1≤y≤1 with −1−y2≤x≤1−y2 is the full unit disk, and z runs over the fixed interval [−1,1]. The solid is a cylinder.
(x2+y2)3/2 is a function of distance from the z-axis alone — cylindrical coordinates, and the z-integral is just a factor of 2.
(x2+y2)3/2=r3, and dV=rdrdθdz, so the integrand becomes r3⋅r=r4.
∫−11∫02π∫01r4drdθdz=2⋅2π⋅51=54π.
TrapConverting (x2+y2)3/2 to r3 and then integrating ∫01r3dr=41 — the extra r from dA=rdrdθ is dropped and the answer comes out π instead of 54π. The exponent you integrate is always one higher than the one you converted.
TrapConverting the integrand but keeping the Cartesian limits in spirit — reading 0≤x≤2 as 'θ from 0'. The upper x-limit 2 is a vertical line, r=2secθ, not a ray; only the presence of the lower boundary y=x turns it into the clean ray θ=4π. Any time a straight edge is not through the origin, polar limits stop being constants.
The official answer is wrongThe printed Cartesian stem and the printed cylindrical answer describe different regions. As written, 0≤y≤4−x2 over 0≤x≤2 has area 1+2π, while the wedge 4π≤θ≤2π,r≤2 has area 2π — the answer is missing the triangular piece below y=x. The printed answer is correct for the inner limit ∫x4−x2; with the printed lower limit 0 the rewrite needs the two pieces above.
2
Evaluate ∫02∫04−x2∫x2+y22(x2+y2)dzdydx using cylindrical coordinates.
no calculator, same as the exam
Answer34π(2−1)answer recomputed · sympy
Shadow first: 0≤x≤2, 0≤y≤4−x2 is the quarter disk of radius 2 in the first quadrant, so 0≤θ≤2π, 0≤r≤2.
The z-limits are both cones: z=x2+y2=r below and z=2(x2+y2)=2r above.
Height of the column at radius r: 2r−r=(2−1)r.
With dV=rdrdθdz: ∫0π/2∫02(2−1)r⋅rdrdθ=2π(2−1)⋅38.
=34π(2−1).
Trap2(x2+y2) is 2r, not 2r and not r2 — pulling the 2 out from under the root without the square root gives 34π exactly one unit too large. Second trap: the height (2−1)r already carries one power of r, so the integrand is r2, not r; forgetting the Jacobian here costs a factor of 23⋅22 and lands on π(2−1).
3
Convert to cylindrical and evaluate ∫010∫0100−x2∫0x2+y2x2+y21dzdydx.
no calculator, same as the exam
Answer25πanswer recomputed · sympy
The shadow 0≤x≤10, 0≤y≤100−x2 is a quarter disk of radius 10: 0≤θ≤2π, 0≤r≤10.
The ceiling z=x2+y2 is the cone z=r; the integrand x2+y21=r1.
So the full cylindrical integrand is r1⋅r=1 — the Jacobian cancels the singularity. That is the point of the problem.
TrapTwo errors cancel here if you are careless in exactly the wrong way. Dropping the Jacobian leaves ∫∫r1⋅rdz vs ∫∫r1dz — the second gives ∫0101dr=10 and the answer 5π. The integrand being 1 after conversion is a result, not an accident: check that you multiplied by r before you simplified.
4
Find the volume of the solid bounded by z=x2+y2−9 and z=−2(x2+y2) using cylindrical coordinates.
no calculator, same as the exam
Answer227πanswer recomputed · sympy
Both surfaces depend only on r2=x2+y2: z=r2−9 (an upward paraboloid dropped to −9) and z=−2r2 (a downward one from the origin).
Which is on top? At r=0: −9 versus 0, so z=−2r2 is the ceiling and z=r2−9 is the floor.
They meet where r2−9=−2r2⇒3r2=9⇒r=3. Full revolution, so 0≤θ≤2π.
TrapAssuming the paraboloid opening upward is the ceiling because it 'goes up'. Over the whole region r<3 it is the floor, and swapping them makes the volume negative. Test at r=0 every time. The other trap is integrating 9−3r2 against dr instead of rdr, which gives 2π(93−33)=123π — a suspiciously irrational volume for a surface of revolution with rational intersection radius.
5
Write the volume of the solid bounded by the cone z2=x2+y2 between the planes z=1 and z=2 as a spherical-coordinates integral.
In spherical, the cone z2=x2+y2 with z>0 is the single surface ϕ=4π, and the solid inside it is 0≤ϕ≤4π.
A horizontal plane is not a constant in spherical: z=ρcosϕ, so z=1 becomes ρ=secϕ and z=2 becomes ρ=2secϕ.
Those are the ρ-limits, and they depend on ϕ — so ρ must be integrated first.
dV=ρ2sinϕdρdϕdθ, full revolution in θ:
V=∫02π∫0π/4∫secϕ2secϕρ2sinϕdρdϕdθ.
Worth confirming in cylindrical, where it is a stack of disks of radius z: ∫02π∫12∫0zrdrdzdθ=∫12πz2dz=37π — and the spherical integral gives the same.
TrapWriting the planes as constant ρ (say ρ from 1 to 2), which describes the region between two spheres, not two planes — that is a spherical shell wedge, volume 32π(8−1)(1−cos4π), not 37π. Any flat boundary not through the origin becomes ρ=(something)secϕ and forces dρ innermost.
The volume of the region inside x2+y2+z2=4 and inside the cone z=3x2+3y2 is ∫02π∫0a∫0bcdρdϕdθ. What are a, b, and c?
no calculator, same as the exam
Answera=π/6,b=2,c=ρ2sinϕanswer recomputed · sympy
c is the Jacobian and nothing else: dV=ρ2sinϕdρdϕdθ, so c=ρ2sinϕ.
Sphere x2+y2+z2=4 is ρ=2, and since ρ is innermost and starts at 0, b=2.
The cone z=3x2+3y2=3x2+y2 has tanϕ=zx2+y2=31.
So ϕ=6π, and 'inside the cone' means 0≤ϕ≤6π: a=6π.
V=∫02π∫0π/6∫02ρ2sinϕdρdϕdθ.
Traptanϕ=zr, not rz — ϕ is measured down from the positive z-axis. Taking tanϕ=3 gives ϕ=3π, which is the complementary wedge and roughly four times the volume. Second trap: writing c=ρsinϕ, the *polar* Jacobian with a ρ in it, which is dimensionally wrong for a volume.
2
Write the volume of the solid bounded by the cone z=x2+y2 and the sphere x2+y2+z2=8 as a spherical-coordinates integral.
Cone z=x2+y2: here tanϕ=zr=1, so it is the surface ϕ=4π, and the solid inside it is 0≤ϕ≤4π.
Sphere x2+y2+z2=8 is ρ2=8, i.e. ρ=8=22.
Both boundaries are coordinate surfaces in spherical — every limit is a constant, which is the whole reason to use it here.
V=∫02π∫0π/4∫08ρ2sinϕdρdϕdθ.
Value: 2π⋅(1−22)⋅3(8)3=332π(2−1), which the cylindrical set-up ∫02π∫02(8−r2−r)rdrdθ confirms.
TrapReading ρ=8 off x2+y2+z2=8. The equation gives ρ2=8, so ρ=22 — and cubing the wrong one inflates the volume by a factor of 83/83/2≈22.6. Also note the cone/sphere meet at z=2, r=2: that intersection is *not* needed in spherical, which is the payoff for converting.
3
Write the volume of the region inside the sphere of radius 2 centered at (0,0,2) and outside the sphere of radius 2 centered at the origin as a spherical-coordinates integral.
Put both spheres in spherical form. Origin-centred radius 2: ρ=2.
The one centred at (0,0,2): x2+y2+(z−2)2=4⇒ρ2−4ρcosϕ=0⇒ρ=4cosϕ.
'Inside the shifted sphere, outside the origin one' is exactly 2≤ρ≤4cosϕ — the inner radius is the constant, the outer is the ϕ-dependent one.
Those limits are only valid where 4cosϕ≥2, i.e. cosϕ≥21, i.e. ϕ≤3π. That is the ϕ-limit.
V=∫02π∫0π/3∫24cosϕρ2sinϕdρdϕdθ.
Check it independently: the lens where two radius-2 spheres with centres 2 apart overlap has volume 12π(4R+d)(2R−d)2=310π, so the answer is 332π−310π=322π — and the integral above gives 322π.
TrapTaking ϕ up to 2π because the shifted sphere 'sits above the xy-plane'. Past ϕ=3π the outer limit 4cosϕ drops below the inner limit 2, so the integral starts subtracting. The upper ϕ is always where the two ρ-limits meet: solve 4cosϕ=2.
4
Converting ∫−11∫−1−x21−x2∫3(x2+y2)4−x2−y2fdzdydx to spherical gives ∫0a∫0b∫0cf⋅ρ2sinϕdρdϕdθ (order: dρdϕdθ, so a is the upper limit on θ, b on ϕ, c on ρ). Find abc.
The shadow −1≤x≤1, ∣y∣≤1−x2 is the full unit disk, so θ makes a full turn: a=2π.
Ceiling z=4−x2−y2 is the sphere ρ=2, so c=2.
Floor z=3(x2+y2)=3r is a cone with tanϕ=zr=31, so ϕ runs from 0 to 6π: b=6π.
Consistency check on the shadow: the cone meets the sphere where ρ=2, ϕ=6π, giving r=2sin6π=1 — exactly the unit disk in the stem. Good.
abc=2π6π⋅2=61.
TrapSetting b=3π from tanϕ=3. ϕ is the angle from the z-axis, and a steep cone (z large compared to r) means a smallϕ. The disk-radius check catches it: ϕ=3π would give shadow radius 2sin3π=3=1.
5
Find the volume of the solid region enclosed by the surface ρ=12cosϕ.
no calculator, same as the exam
Answer288πanswer recomputed · sympy
ρ=12cosϕ is already a sphere in disguise: multiply by ρ to get ρ2=12ρcosϕ, i.e. x2+y2+z2=12z.
Complete the square: x2+y2+(z−6)2=36 — radius 6, centred at (0,0,6).
So the answer must be 34π(6)3=288π; now get the same thing from the integral.
The surface closes up at ϕ=2π (where ρ=0), so ϕ runs 0 to 2π — not to π.
TrapLetting ϕ run to π out of habit. For ϕ>2π, 12cosϕ<0 and there is no sphere there; the extra range adds another 288π of nonsense (the cos3ϕsinϕ integrand is odd about 2π, so it actually cancels to 0 — an error that can *silently* delete the whole answer). The sphere is fully traced by ϕ∈[0,2π].
Find the center of mass of the rectangle {(x,y)∣0≤x≤2,0≤y≤4} with density ρ(x,y)=1+y.
no calculator, same as the exam
Answer(1,922)answer recomputed · sympy
Mass first: m=∫02∫04(1+y)dydx=∫02[y+2y2]04dx=∫0212dx=24.
xˉ: the density does not depend on x and the region is symmetric in x, so xˉ=1 by inspection. Formally My=∫02∫04x(1+y)dydx=(∫02xdx)(12)=24, and xˉ=2424=1.
Sanity: 922>2, and it should be — the density grows with y, so mass piles up toward the top.
Centre of mass (1,922).
TrapSwapping the moments. Mx=∬yδdA gives yˉ, not xˉ — the subscript names the axis the moment is about, so it pairs with the *other* coordinate. Using Mx for xˉ here returns 922 for a rectangle only 2 wide, which is impossible and is the fastest way to catch it.
2
A cube 0≤x,y,z≤1 has density δ=x+yz. Find the x-coordinate of the center of mass, given ∭cubeδdV=43.
no calculator, same as the exam
Answer1811answer recomputed · sympy
xˉ=mMyz with Myz=∭xδdV; the mass m=43 is handed to you.
Myz=∫01∫01∫01x(x+yz)dzdydx=∫∫∫(x2+xyz)dV.
Both pieces separate over the cube: ∭x2dV=31 and ∭xyzdV=(21)3=81.
Myz=31+81=2411.
xˉ=3/411/24=2411⋅34=1811.
Sanity: 1811>21, correct — the x term in the density weights the far side.
TrapMultiplying only the first term by x: ∫x⋅xdV+∫yzdV=31+41 gives 127 and then xˉ=97. The moment weights the entire density, so distribute the x across x+yz before integrating.
3
Find the x-coordinate of the center of mass of the plate bounded by y=x, y=21x, x=1 with density δ(x,y)=2x. (Given: Mx=∬yδdA, My=∬xδdA.)
no calculator, same as the exam
Answer43answer recomputed · sympy
Sketch the wedge: between y=21x (lower) and y=x (upper), closed off at x=1. They meet at the origin, so 0≤x≤1 and 2x≤y≤x.
Vertical strips are the right choice — each strip has height x−2x=2x.
Sanity: 43 is past the midpoint of [0,1], as it must be — the strips get both taller and denser as x grows.
TrapIntegrating in the order dxdy without splitting. Horizontal strips run from x=y to x=2y only while 2y≤1; above y=21 the right edge is the line x=1 instead, so that order needs two integrals. The printed answer's order avoids that entirely — pick strips that are described by one pair of curves.
4
Calculate the mass of the tetrahedron with corners (0,0,0), (1,0,0), (0,2,0), (0,0,4) with density ρ(x,y,z)=2z.
no calculator, same as the exam
Answer38answer recomputed · sympy
Three of the four corners are on the axes, so use the intercept form of the slanted face: 1x+2y+4z=1.
Solve for the ceiling: z=4(1−x−2y)=4−4x−2y.
Shadow: set z=0 to get x+2y=1, i.e. y=2(1−x), with 0≤x≤1.
TrapTreating a variable density as a constant and reaching for ρ⋅V: the volume is 61⋅2⋅4=34, and 2zˉ⋅V is *not* something you can shortcut without already knowing zˉ. Also: ρ here is a density, not the spherical radius — the symbol collides with Lesson 23 and the units tell you which.
5
A lamina with density ρ(x,y)=xy occupies the region bounded by y=x2, y=1, x=0. The mass is 61. Find the y-coordinate of the center of mass.
no calculator, same as the exam
Answer43answer recomputed · sympy
Region: y=x2 below, y=1 above, x=0 on the left — so 0≤x≤1 and x2≤y≤1.
The mass is given as 61; confirm it cheaply: ∫01∫x21xydydx=∫012x(1−x4)dx=21(21−61)=61. Good.
Mx=∫01∫x21y⋅xydydx=∫01x⋅31−x6dx.
=31(21−81)=31⋅83=81.
yˉ=mMx=1/61/8=86=43.
Sanity: the region hugs the top (it is wide near y=1, pinched near y=0) and the density xy favours large y, so yˉ>21 is right.
TrapTaking the region as 0≤y≤x2 — 'bounded by y=x2' does not say which side. The third boundary x=0 is the tell: the region above the parabola touches the y-axis, the region below it does not need x=0 to close. Getting this backwards flips yˉ to 75-ish territory and, more tellingly, changes the mass away from the given 61 — which is exactly why that value was handed to you.
A vector field F is conservative if there exists a scalar function f (the potential function) such that:
F=∇f⟺P=fx,Q=fy(and R=fz)
Test for Conservative Field in 2D
F=⟨P,Q⟩ is conservative⟺∂y∂P=∂x∂Q
Practice
4 problems
1
Consider F=⟨eyz−ysin(xy),zxeyz−xsin(xy),xyeyz⟩. Find a potential function φ if one exists.
no calculator, same as the exam
Answerxeyz+cos(xy)answer recomputed · sympy
We want φ with ∇φ=F, so start with the component that is easiest to antidifferentiate and then patch it up.
Integrate the first component in x, holding y,z fixed: φ=∫(eyz−ysin(xy))dx=xeyz+cos(xy)+g(y,z).
The sign is the whole game here: dxdcos(xy)=−ysin(xy), so the antiderivative of −ysin(xy) is +cos(xy).
Now differentiate that candidate in y: φy=xzeyz−xsin(xy)+gy.
Compare with the given second component zxeyz−xsin(xy): they already match, so gy=0.
Differentiate in z: φz=xyeyz+gz, and the third component is xyeyz, so gz=0 too. Hence g is a constant.
φ=xeyz+cos(xy) (any additive constant is also a potential).
TrapWriting ∫−ysin(xy)dx=−cos(xy). The −y out front is exactly the inner derivative, so the two minus signs cancel and you get +cos(xy). Getting this backwards still passes a careless φx check if you also flip the sign when differentiating.
2
Let a=0 and C be the curve x2−2y2=a. Which F is orthogonal to the tangent of C at every point (x0,y0) on C?
no calculator, same as the exam
Answer⟨2x,−4y⟩answer recomputed · sympy
C is the level curve g(x,y)=a of g(x,y)=x2−2y2.
Key fact: the gradient of g is normal to every level curve of g, hence orthogonal to the tangent of C at each point.
∇g=⟨gx,gy⟩=⟨2x,−4y⟩.
So F=⟨2x,−4y⟩ is orthogonal to T at every (x0,y0) on C (and so is any scalar multiple of it).
Sanity check by hand: implicit differentiation of x2−2y2=a gives 2x−4yy′=0, so T∥⟨4y,2x⟩, and ⟨2x,−4y⟩⋅⟨4y,2x⟩=8xy−8xy=0.
TrapDropping the minus sign and answering ⟨2x,4y⟩ — that is ∇(x2+2y2), the normal to an ellipse, not to this hyperbola. The other classic miss is handing back the tangent ⟨4y,2x⟩ instead of the normal.
3
Which vector field corresponds to the field with vectors rotating counterclockwise (pointing left above the x-axis, right below it)?
no calculator, same as the exam
Answer⟨−y,x⟩answer recomputed · sympy
Counterclockwise rotation means the field is tangent to circles centered at the origin, pointing in the direction of increasing angle.
Parametrize a circle the counterclockwise way: r(t)=⟨cost,sint⟩.
The direction of travel is r′(t)=⟨−sint,cost⟩.
Rewrite that at the point itself, using x=cost, y=sint: the tangent direction is ⟨−y,x⟩.
Spot-check the description: above the x-axis take (0,1), giving ⟨−1,0⟩ (points left); below take (0,−1), giving ⟨1,0⟩ (points right). Matches.
F=⟨−y,x⟩.
TrapAnswering ⟨y,−x⟩, which is the same picture run clockwise. Always test one concrete point above the x-axis rather than trusting the sign pattern; ⟨y,−x⟩ gives ⟨1,0⟩ at (0,1), pointing right, which is the wrong rotation.
4
Suppose f(x,y,z)=xy2z3. Find div(∇f) at the point (2,−1,1).
no calculator, same as the exam
Answer16answer recomputed · sympy
div(∇f) is the Laplacianfxx+fyy+fzz — a scalar, not a vector.
∇f=⟨y2z3,2xyz3,3xy2z2⟩.
Take the matching partial of each component: fxx=∂x(y2z3)=0, fyy=∂y(2xyz3)=2xz3, fzz=∂z(3xy2z2)=6xy2z.
So div(∇f)=0+2xz3+6xy2z.
At (2,−1,1): 2(2)(1)3+6(2)(−1)2(1)=4+12=16.
TrapTwo traps. First, differentiating the wrong slot — you must take ∂x of the first component, ∂y of the second, ∂z of the third, not all three of one component. Second, (−1)2=+1: plugging y=−1 into 6xy2z gives +12, and writing −12 turns 16 into −8.
Compute ∫Cf(x,y)ds where f(x,y)=sin(2πx)+xy and C:r(t)=⟨t,t⟩, 0≤t≤1.
no calculator, same as the exam
Answer32answer recomputed · sympy
Scalar line integral: ∫Cfds=∫abf(r(t))∣r′(t)∣dt.
Here r′(t)=⟨1,1⟩, so ∣r′(t)∣=2 and ds=2dt.
On C we have x=t, y=t, so f(r(t))=sin(2πt)+t2.
Set up: ∫01(sin(2πt)+t2)2dt.
∫01sin(2πt)dt=[−2πcos(2πt)]01=−2π1+2π1=0 — a full period integrates away.
∫01t2dt=31, so the value is 2⋅31=32.
TrapForgetting the ∣r′∣=2 factor and reporting 31. The parametrization ⟨t,t⟩ is not unit speed even though it looks tame — ds=dt here.
2
Let C be the helix r(t)=⟨cost,sint,t⟩, 0≤t≤π/2. Compute ∫Cxyds.
no calculator, same as the exam
Answer22answer recomputed · sympy
r′(t)=⟨−sint,cost,1⟩, so ∣r′(t)∣=sin2t+cos2t+1=2.
The helix has constant speed2, so ds=2dt.
On C, xy=costsint.
Set up: ∫0π/2costsint2dt.
Substitute u=sint: 2∫01udu=2⋅21=22.
TrapReading the first two components as a unit circle and concluding ∣r′∣=1. The z=t component contributes a 1 under the radical, making the speed 2; dropping it halves-by-2 the answer to 21.
3
Calculate ∫C(x−y)21ds where C is the straight line segment from (1,0) to (5,3).
no calculator, same as the exam
Answer25answer recomputed · sympy
Parametrize the segment from (1,0) to (5,3) as r(t)=⟨1,0⟩+t⟨4,3⟩=⟨1+4t,3t⟩, 0≤t≤1.
r′(t)=⟨4,3⟩, so ∣r′(t)∣=16+9=5 and ds=5dt (the length of the segment, spread over t∈[0,1]).
The integrand simplifies beautifully: x−y=(1+4t)−3t=1+t, so (x−y)21=(1+t)21.
Set up: ∫01(1+t)25dt.
=5[−1+t1]01=5(−21+1)=25.
TrapUsing dx instead of ds. If you parametrize by x with y=43(x−1) you must carry ds=1+(3/4)2dx=45dx; dropping that factor gives 2 instead of 25. Also note the line never crosses x=y, so the integrand stays finite.
4
Let C be the half-circle x2+y2=4 with x≥0. Compute ∫Cxds.
no calculator, same as the exam
Answer8answer recomputed · sympy
The circle has radius 2, so r(t)=⟨2cost,2sint⟩.
Pick the range that gives x≥0, not y≥0: x=2cost≥0 forces −2π≤t≤2π (the right half).
r′(t)=⟨−2sint,2cost⟩, so ∣r′(t)∣=2 and ds=2dt.
Set up: ∫−π/2π/2(2cost)(2)dt=4∫−π/2π/2costdt.
=4[sint]−π/2π/2=4(1−(−1))=8.
TrapTaking 0≤t≤π out of habit. That traces the upper half (y≥0), over which ∫xds=0 by symmetry — a suspiciously clean wrong answer. The condition is x≥0, so center the interval on t=0.
5
Find the arc length of r(t)=⟨4cost,4sint,3t⟩ for 0≤t≤2π.
no calculator, same as the exam
Answer10πanswer recomputed · sympy
Arc length is L=∫ab∣r′(t)∣dt.
r′(t)=⟨−4sint,4cost,3⟩.
∣r′(t)∣=16sin2t+16cos2t+9=16+9=5 — constant speed, the hallmark of a circular helix.
Set up: L=∫02π5dt=5(2π)=10π.
TrapAdding the radius and the pitch coordinate as if speed were 4+3=7, or forgetting the 3 entirely and getting 8π (the circumference of the shadow circle). The helix is strictly longer than its projection because of the climb.
Reversing orientation changes the sign: ∫−CF⋅dr=−∫CF⋅dr
Linearity: ∫C(aF+bG)⋅dr=a∫CF⋅dr+b∫CG⋅dr
Practice
5 problems
1
Given force field F(x,y)=⟨−y,x⟩, find the work to move an object along the ellipse r(t)=⟨2cost,3sint⟩ from (2,0) to (0,3).
no calculator, same as the exam
Answer3πanswer recomputed · sympy
Work is W=∫CF⋅dr=∫abF(r(t))⋅r′(t)dt.
Find the t-range from the endpoints: (2,0) is t=0 and (0,3) is t=2π, so we travel a quarter of the ellipse.
On C: F(r(t))=⟨−y,x⟩=⟨−3sint,2cost⟩ and r′(t)=⟨−2sint,3cost⟩.
Dot them: 6sin2t+6cos2t=6 — the integrand is constant.
Set up: W=∫0π/26dt=6⋅2π=3π.
TrapReaching for Green's theorem. C is an open quarter-arc, not a closed curve, so Green does not apply; and F=⟨−y,x⟩ is not conservative (Py=−1=1=Qx), so the path genuinely matters and FTLI is off the table. You must integrate along this arc.
2
Compute the flux of F(x,y)=⟨x,y⟩ across the curve r(t)=⟨3cost,2sint⟩, −π≤t≤π. (Flux =∫CPdy−Qdx.)
no calculator, same as the exam
Answer12πanswer recomputed · sympy
Flux uses the stated formula ∫CPdy−Qdx with P=x, Q=y — note dy pairs with P, not with Q.
From r(t)=⟨3cost,2sint⟩: dx=−3sintdt and dy=2costdt.
Cross-check with the divergence form: divF=2 and the ellipse encloses area π(3)(2)=6π, so the flux is 2⋅6π=12π.
TrapComputing circulation ∫Pdx+Qdy instead of flux. With this field that swap gives ∫(−6sintcost+6sintcost)dt=0, so the mistake produces a clean 0 and looks deliberate. Keep the pairing Pdy−Qdx straight.
3
Given force field F(x,y,z)=⟨y,z,x⟩, find the work to move an object along the straight line from (0,0,0) to (2,3,4).
no calculator, same as the exam
Answer226answer recomputed · sympy
Parametrize the segment: r(t)=⟨2t,3t,4t⟩, 0≤t≤1, so r′(t)=⟨2,3,4⟩.
Evaluate the field on the curve, remembering the components are shifted: F=⟨y,z,x⟩=⟨3t,4t,2t⟩.
Dot: F⋅r′=6t+12t+8t=26t.
Set up: W=∫0126tdt=26⋅21=226=13.
TrapSubstituting F=⟨2t,3t,4t⟩, i.e. reading ⟨y,z,x⟩ as ⟨x,y,z⟩. That gives ∫0129tdt and the wrong number. The cyclic shift is the entire content of this problem. (Also: F=⟨y,z,x⟩ is not conservative, since Py=1 but Qx=0, so you must integrate.)
4
Find ∫CF⋅Tds where F(x,y,z)=⟨yez,ey+xez,xyez⟩ on a smooth curve from (0,0,0) to (−1,1,1).
no calculator, same as the exam
Answer−1answer recomputed · sympy
The problem says 'a smooth curve' without naming it, which is the signal that F must be conservative — otherwise the answer would not be well defined.
Hunt for φ: integrate the first component in x, ∫yezdx=xyez+g(y,z).
Match the second component: φy=xez+gy must equal ey+xez, so gy=ey and g=ey+h(z).
Match the third: φz=xyez+h′(z) must equal xyez, so h is constant. Take φ=xyez+ey.
FTLI: ∫CF⋅Tds=∫CF⋅dr=φ(−1,1,1)−φ(0,0,0).
φ(−1,1,1)=(−1)(1)e1+e1=−e+e=0 and φ(0,0,0)=0+e0=1.
Value =0−1=−1.
TrapEvaluating φ at the start minus the end. FTLI is end minus start, and here that sign error hands you +1. Second trap: forgetting the ey piece because it does not appear in φx — it is exactly what makes φ(0,0,0)=1 rather than 0.
5
Evaluate ∫CF⋅dr where F(x,y,z)=⟨2xy−yz,x2−xz,−xy⟩ on a smooth curve from (2,1,0) to (3,2,−1).
no calculator, same as the exam
Answer20answer recomputed · sympy
Again the curve is unspecified, so test for conservativity: with P=2xy−yz, Q=x2−xz, R=−xy we get Py=2x−z=Qx, Pz=−y=Rx, Qz=−x=Ry. All three match, so F is conservative.
Build φ: ∫(2xy−yz)dx=x2y−xyz+g(y,z).
Check φy=x2−xz+gy against Q=x2−xz: gy=0. Check φz=−xy+gz against R=−xy: gz=0. So φ=x2y−xyz.
FTLI: value =φ(3,2,−1)−φ(2,1,0).
φ(3,2,−1)=9(2)−(3)(2)(−1)=18+6=24.
φ(2,1,0)=4(1)−0=4.
Value =24−4=20.
TrapSign-slipping on −xyz at the endpoint with z=−1: −(3)(2)(−1)=+6, so φ(3,2,−1)=24, not 12. Writing 18−6 gives 8 and is the single most common wrong answer here.
∫CF⋅dr is path-independent if and only if F is conservative.
Closed Curves
∮CF⋅dr=0⟺F is conservative
Finding the Potential Function
Given F=⟨P,Q⟩ is conservative:
Integrate P with respect to x to get f(x,y)=∫Pdx+g(y)
Differentiate with respect to y and set equal to Q to find g′(y), then integrate
Practice
5 problems
1
Find ∫CF⋅dr where F(x,y,z)=⟨2xy−yz,x2−xz,−xy⟩ on a smooth curve from (2,1,0) to (3,2,−1).
no calculator, same as the exam
Answer20answer recomputed · sympy
The path is only described as 'a smooth curve', so the integral had better be path-independent — first verify F is conservative.
With P=2xy−yz, Q=x2−xz, R=−xy: Py=2x−z=Qx, Pz=−y=Rx, Qz=−x=Ry. Conservative.
Find the potential: φ=∫(2xy−yz)dx=x2y−xyz+g(y,z), and both φy=x2−xz and φz=−xy already match, so g is constant.
φ(x,y,z)=x2y−xyz.
FTLI: ∫CF⋅dr=φ(3,2,−1)−φ(2,1,0)=(18+6)−(4−0).
=24−4=20.
TrapTrying to parametrize. No curve was given, so any attempt to build one is wasted work — and if you accidentally pick a path while F were not conservative, the answer would be meaningless. Confirm the mixed partials first, then use endpoints only. Watch −xyz at z=−1, which contributes +6.
2
For F=⟨eyz−ysin(xy),zxeyz−xsin(xy),xyeyz⟩, find a potential function.
no calculator, same as the exam
Answerφ=xeyz+cos(xy)answer recomputed · sympy
Antidifferentiate the first component in x: φ=∫(eyz−ysin(xy))dx.
Term by term, ∫eyzdx=xeyz (as x varies, eyz is a constant) and ∫−ysin(xy)dx=cos(xy).
So φ=xeyz+cos(xy)+g(y,z).
Test against the second component: φy=xzeyz−xsin(xy)+gy, and we need zxeyz−xsin(xy), so gy=0.
Test against the third: φz=xyeyz+gz, and we need xyeyz, so gz=0.
Therefore φ=xeyz+cos(xy), up to an additive constant.
TrapDifferentiating eyz with respect to y and writing zeyz without the x that the antiderivative introduced. The x in xeyz must be carried through, and it is exactly what makes φy=xzeyz match the printed zxeyz.
3
A potential for F=⟨siny,xcosy⟩ is:
no calculator, same as the exam
Answerxsiny+1answer recomputed · sympy
First confirm a potential exists: P=siny, Q=xcosy, and Py=cosy=Qx. Conservative on all of R2.
Integrate P in x: φ=∫sinydx=xsiny+g(y).
Differentiate in y: φy=xcosy+g′(y), which must equal Q=xcosy, so g′(y)=0 and g is any constant.
The family of potentials is φ=xsiny+C. The printed choice takes C=1: φ=xsiny+1.
TrapRejecting the '+1' as a typo. Potentials are only determined up to an additive constant, so xsiny, xsiny+1, and xsiny−7 are all correct; on a multiple-choice list the constant is there precisely to see whether you know that. The real error to avoid is φ=−xcosy, from mistakenly antidifferentiating siny in y instead of x.
4
Find ∫CF⋅Tds where F=⟨yez,ey+xez,xyez⟩ on a smooth curve from (0,0,0) to (−1,1,1).
no calculator, same as the exam
Answer−1answer recomputed · sympy
∫CF⋅Tds is just ∫CF⋅dr rewritten, since dr=Tds.
No specific curve is given, so check conservativity: with P=yez, Q=ey+xez, R=xyez we get Py=ez=Qx, Pz=yez=Rx, Qz=xez=Ry. Conservative.
Potential: ∫yezdx=xyez+g(y,z); then φy=xez+gy=ey+xez forces gy=ey, and φz=xyez+h′(z)=xyez forces h′=0.
φ=xyez+ey.
FTLI: φ(−1,1,1)−φ(0,0,0)=((−1)(1)e+e)−(0+1).
=0−1=−1.
TrapSeeing Tds and thinking you must compute ∣r′∣ and a unit tangent. You never do — Tds=dr, the speed cancels, and the whole problem collapses to two endpoint evaluations. The second trap is φ(0,0,0)=0: the ey term makes it e0=1.
5
Evaluate ∫C∇(x2y−xyz)⋅dr where C is any path from (1,0,0) to (2,1,−1).
no calculator, same as the exam
Answer6answer recomputed · sympy
The integrand is already a gradient, ∇φ with φ(x,y,z)=x2y−xyz, so FTLI applies immediately and no conservativity test is needed.
∫C∇φ⋅dr=φ(end)−φ(start), independent of the path.
φ(2,1,−1)=22(1)−(2)(1)(−1)=4+2=6.
φ(1,0,0)=12(0)−(1)(0)(0)=0.
Value =6−0=6.
TrapExpanding ∇(x2y−xyz)=⟨2xy−yz,x2−xz,−xy⟩ and then grinding out a line integral along some invented path. All that work is discarded by FTLI. Within the evaluation, the sign trap is −xyz at z=−1, which adds2; writing 4−2=2 is the common wrong answer.
Let C be a positively oriented (counterclockwise), simple closed curve bounding region D:
∮CPdx+Qdy=∬D(∂x∂Q−∂y∂P)dA
Area via Green's Theorem
A=∮Cxdy=−∮Cydx=21∮Cxdy−ydx
Note: Green's theorem converts a difficult line integral into a double integral, or vice versa.
Practice
5 problems
1
Use Green's Theorem to evaluate ∮Cxdx+(x2+y2)dy where C is the boundary of the rectangle with vertices (0,0), (2,0), (2,3), (0,3), counterclockwise.
no calculator, same as the exam
Answer12answer recomputed · sympy
Green's Theorem converts a counterclockwise closed line integral into a double integral: ∮CPdx+Qdy=∬R(∂x∂Q−∂y∂P)dA.
Read off P=x and Q=x2+y2. The orientation is already CCW, so no sign flip is needed.
∂x∂Q=2x and ∂y∂P=0, so the integrand is just 2x.
R is the rectangle 0≤x≤2, 0≤y≤3 — a genuine rectangle, so the limits are constants and the order does not matter.
∬R2xdA=∫03∫022xdxdy=∫03[x2]02dy=∫034dy=12.
TrapTrying to parametrize all four sides by hand. That is four integrals, and the ∫xdx pieces on the top and bottom edges cancel in a way that is easy to botch — one sign slip on the *return* edges (which run right-to-left and top-to-bottom) and you get 0 or 24. Green's theorem exists precisely to make the orientation bookkeeping automatic; use it. Also note P=x contributes nothing, since Py=0 — the whole answer comes from Q.
2
Let R be the triangle with vertices (0,0), (2,0), (1,1) and C its CCW boundary. Compute ∫Ccos3(x)dx+exdy.
no calculator, same as the exam
Answere2−2e+1answer recomputed · sympy
P=cos3(x), Q=ex. Neither has an elementary-looking line integral, which is the hint that Green's Theorem is the intended route.
∂x∂Q=ex, ∂y∂P=0 (there is no y in cos3x at all), so Qx−Py=ex.
Describe the triangle. The two slanted sides are y=x (from (0,0) to (1,1)) and y=2−x (from (1,1) to (2,0)), with the base y=0.
Integrating in x first avoids splitting the region: for each y∈[0,1], x runs from the left edge x=y to the right edge x=2−y.
∫01∫y2−yexdxdy=∫01(e2−y−ey)dy.
=[−e2−y−ey]01=(−e−e)−(−e2−1)=e2−2e+1.
TrapIntegrating dy first. Then you must split at x=1, because the upper boundary changes formula from y=x to y=2−x there: ∫01∫0x+∫12∫02−x. Students who write a single ∫02∫0x silently integrate over a region that is not the triangle. Going dx first needs no split. (Note e2−2e+1=(e−1)2, a useful sanity check that it is positive.)
3
Use Green's Theorem to evaluate ∮Cydx+2xdy where C is the square with vertices (±1,±1), counterclockwise.
no calculator, same as the exam
Answer4answer recomputed · sympy
P=y, Q=2x, and the square is traversed CCW, so Green's Theorem applies directly.
∂x∂Q−∂y∂P=2−1=1.
The integrand collapsed to the constant 1, so the double integral is literally the area of R.
R is the square −1≤x≤1, −1≤y≤1, whose side length is 2, so its area is 4.
∮Cydx+2xdy=∬R1dA=area(R)=4.
TrapComputing Px−Qy instead of Qx−Py. That gives 0−0=0 here, a clean-looking wrong answer. The derivative always hits the *other* variable: Q gets ∂x, P gets ∂y. Second trap: the vertices (±1,±1) describe a square of side 2, not side 1 — its area is 4, not 1.
4
Use Green's theorem to evaluate ∮C(y3)dx−(x3)dy where C is the circle x2+y2=1, CCW.
no calculator, same as the exam
Answer2−3πanswer recomputed · sympy
Write the integral as ∮CPdx+Qdy with P=y3 and Q=−x3 — the minus sign in front of x3dy belongs to Q.
∂x∂Q=−3x2, ∂y∂P=3y2, so Qx−Py=−3x2−3y2=−3(x2+y2).
R is the unit disk and the integrand depends only on x2+y2, so polar is the obvious move: x2+y2=r2 and dA=rdrdθ.
TrapTwo sign traps stacked. First, forgetting that Q=−x3, which makes Qx=+3x2 and hands you +23π — the right magnitude, wrong sign. Second, forgetting the polar Jacobian: −3r2drdθ instead of −3r3drdθ gives −2π. The answer is negative, and it *should* be: the field circulates clockwise while C runs counterclockwise.
5
Use Green's theorem to find the area of the ellipse a2x2+b2y2=1.
no calculator, same as the exam
Answerπabanswer recomputed · sympy
Green's Theorem run backwards: pick P,Q with Qx−Py=1, and the double integral becomes the area. The symmetric choice is P=−2y, Q=2x, giving the area formula A=21∮Cxdy−ydx.
Parametrize the ellipse CCW: x=acost, y=bsint, 0≤t≤2π.
Sanity check: setting a=b=R gives πR2, the circle.
TrapDropping the 21. The area formula is 21∮xdy−ydx — the half is there because *each* of xdy and −ydx separately already integrates to the full area, and you are averaging them, not adding them. Forgetting it doubles the answer to 2πab. The other trap is parametrizing clockwise (y=−bsint), which returns −πab; area must come out positive, so a negative result means your orientation was backwards.
curl(∇f)=0 always (gradient fields are irrotational)
Practice
5 problems
1
If F=⟨xy,sinz,cosy⟩, find curl(F).
no calculator, same as the exam
Answer⟨−siny−cosz,0,−x⟩answer recomputed · sympy
curlF=∇×F=⟨∂y∂R−∂z∂Q,∂z∂P−∂x∂R,∂x∂Q−∂y∂P⟩ for F=⟨P,Q,R⟩.
Here P=xy, Q=sinz, R=cosy.
First component: Ry−Qz=∂y∂(cosy)−∂z∂(sinz)=−siny−cosz.
Second component: Pz−Rx=∂z∂(xy)−∂x∂(cosy)=0−0=0.
Third component: Qx−Py=∂x∂(sinz)−∂y∂(xy)=0−x=−x.
curlF=⟨−siny−cosz,0,−x⟩.
TrapThe middle component's sign. Expanding the determinant i∂xPj∂yQk∂zR, the j entry carries a minus from cofactor expansion: it is −(Rx−Pz)=Pz−Rx, notRx−Pz. Write the middle slot as Pz−Rx and the sign takes care of itself. (Here it is 0 either way, which is exactly why the habit must be built on a problem where it does not bite.) Second trap: curl of a vector field is a vector, while div is a scalar — never report a single number here.
2
Let f(x,y,z)=xy2z3. Compute div(∇f) at (2,−1,1).
no calculator, same as the exam
Answer16answer recomputed · sympy
div(∇f)=∇2f=fxx+fyy+fzz, the Laplacian. So take second partials, not first.
f=xy2z3. Gradient: ∇f=⟨y2z3,2xyz3,3xy2z2⟩.
fxx=∂x∂(y2z3)=0 — f is linear in x.
fyy=∂y∂(2xyz3)=2xz3.
fzz=∂z∂(3xy2z2)=6xy2z.
∇2f=0+2xz3+6xy2z. At (2,−1,1): 2(2)(1)3+6(2)(−1)2(1)=4+12=16.
TrapEvaluating at the point too early. If you plug (2,−1,1) into ∇f and then try to differentiate, you are differentiating constants and get 0. Differentiate fully, *then* substitute. The other trap is y2 at y=−1: (−1)2=+1, not −1, so the 6xy2z term is +12; a dropped square gives 4−12=−8.
3
For F=⟨eyz−ysin(xy),zxeyz−xsin(xy),xyeyz⟩, verify that curlF=0 and state what this implies.
no calculator, same as the exam
AnswerF is conservativeprose answer · not machine-checkable
Label P=eyz−ysin(xy), Q=zxeyz−xsin(xy), R=xyeyz, and compute the three components of ∇×F.
Ry=∂y∂(xyeyz)=xeyz+xyzeyz, and Qz=∂z∂(zxeyz−xsin(xy))=xeyz+xyzeyz. First component Ry−Qz=0.
Pz=∂z∂(eyz−ysin(xy))=yeyz, and Rx=∂x∂(xyeyz)=yeyz. Second component Pz−Rx=0.
Qx=zeyz−sin(xy)−xycos(xy) (product rule on xsin(xy)), and Py=zeyz−sin(xy)−xycos(xy) (product rule on ysin(xy)). Third component Qx−Py=0.
So curlF=0 everywhere.
F is defined and smooth on all of R3, which is simply connected, so curlF=0impliesF is conservative: there is a potential φ with ∇φ=F.
Indeed φ=xeyz+cos(xy) works: φx=eyz−ysin(xy), φy=xzeyz−xsin(xy), φz=xyeyz. Consequence: ∫CF⋅dr is path-independent and ∮CF⋅dr=0 on any closed curve.
TrapStating the converse without the domain hypothesis. curlF=0 alone does not make a field conservative — the standard counterexample F=⟨x2+y2−y,x2+y2x,0⟩ has zero curl but a nonzero loop integral, because its domain has the z-axis punched out. You get the conclusion here only because this F is smooth on all of R3. The computational trap is ∂y(ysin(xy)): it needs the product rule, sin(xy)+xycos(xy), not just xycos(xy).
4
Determine if F=⟨yz,xz,xy⟩ is conservative using curlF. If so, find φ.
no calculator, same as the exam
AnswerConservative; φ=xyz+Cprose answer · not machine-checkable
Test with the curl. P=yz, Q=xz, R=xy.
Ry−Qz=x−x=0; Pz−Rx=y−y=0; Qx−Py=z−z=0. So curlF=0, and since F is a polynomial field on all of R3 (simply connected), Fis conservative.
Now build φ with ∇φ=F. Start from φx=yz and integrate in x, treating y,z as constants: φ=xyz+g(y,z) — the 'constant' of integration may depend on the other variables.
Differentiate that in y: φy=xz+gy(y,z). Match against Q=xz, so gy=0 and g=h(z).
Differentiate in z: φz=xy+h′(z). Match against R=xy, so h′(z)=0 and h is a genuine constant.
φ=xyz+C, and one checks ∇(xyz)=⟨yz,xz,xy⟩=F.
TrapWriting the first antiderivative as φ=xyz+C with a numeric constant. At that stage the unknown is a whole function g(y,z), because anything free of x dies under ∂x. Collapsing it to a number too early means you never actually verify φy=Q and φz=R — on a field where the components do *not* fit together, that shortcut produces a 'potential' for a non-conservative field. Also: test with curl, not div. Here divF=0 too, but that says the field is incompressible, an entirely different statement.
5
Find divF for F=⟨exy,eyz,exz⟩, and verify the identity div(curlG)=0 for any smooth G.
By Clairaut's theorem the mixed partials commute (G3yx=G3xy, etc.), so the six terms cancel in pairs and div(curlG)=0 for every G with continuous second partials.
TrapDropping the chain-rule factor. ∂xexy=yexy, not exy — the answer exy+eyz+exz is the single most common version of this and it is wrong in all three terms. Watch which variable owns which exponent: the third component is exz and gets ∂z, producing xexz, not zexz. For the identity, the cancellation needs continuous second partials (Clairaut); it is a theorem, not algebra, and the practical payoff is that a field with divH=0 can never be written as curl of anything.
Flux Integral (Surface Integral of a Vector Field)
For F=⟨P,Q,R⟩ and oriented surface S with unit normal n^:
∬SF⋅dS=∬SF⋅n^dS
For z=g(x,y) with upward orientation (n^ pointing upward):
∬SF⋅dS=∬D(−Pgx−Qgy+R)dA
Parametric Surface
For surface r(u,v):
∬SfdS=∬Df(r(u,v))∣ru×rv∣dA
∬SF⋅dS=∬DF(r(u,v))⋅(ru×rv)dA
Practice
6 problems
1
Find the area of the part of the plane 2x+5y+z=10 that lies in the first octant.
no calculator, same as the exam
Answer530answer recomputed · sympy
Solve for z to get the surface as a graph: z=g(x,y)=10−2x−5y.
For a graph, dS=1+gx2+gy2dA. Here gx=−2, gy=−5, so dS=1+4+25dA=30dA — a constant, as it must be for a plane.
Find the shadow D. The first octant needs x≥0, y≥0, and z≥0, and the last of these is 10−2x−5y≥0, i.e. 2x+5y≤10.
D is the triangle with legs along the axes: x-intercept x=5, y-intercept y=2. Its area is 21(5)(2)=5.
Area=∬D30dA=30⋅area(D)=530.
Explicitly: ∫05∫0(10−2x)/530dydx=530.
TrapReporting 5 — the area of the shadow — by forgetting the 1+gx2+gy2 factor. A tilted plane is always larger than its projection, so the stretch factor is ≥1 and your answer must exceed the shadow's area. The other trap is the shadow's shape: the first octant condition z≥0 is what bounds D, giving the triangle 2x+5y≤10 with intercepts x=5, y=2. Students who integrate over 0≤x≤5, 0≤y≤2 (the full rectangle) double the answer to 1030.
2
Compute the flux of F(x,y)=⟨x,y⟩ across r(t)=⟨3cost,2sint⟩, −π≤t≤π. (Flux =∫CPdy−Qdx.)
no calculator, same as the exam
Answer12πanswer recomputed · sympy
This is the 2D flux (outward-normal) line integral, and the problem hands you the formula: Flux=∫CPdy−Qdx with F=⟨P,Q⟩.
Along the curve, P=x=3cost and Q=y=2sint.
Differentiate the parametrization: dx=−3sintdt and dy=2costdt.
Cross-check with the divergence form of Green's Theorem: divF=1+1=2, and the ellipse 9x2+4y2=1 encloses area π(3)(2)=6π, so the flux is 2⋅6π=12π. ✓
TrapComputing ∫Pdx+Qdy — the circulation — instead of ∫Pdy−Qdx. For this field that gives ∫(−9costsint+4sintcost)dt=0, a plausible-looking but wrong answer. Flux swaps the differentials *and* inserts a minus sign; circulation does not. The second trap is the parameter range: −π≤t≤π is a full 2π sweep traversed counterclockwise, so the outward normal convention holds and the flux is positive — halving it to 6π means you read the range as a half-loop.
3
Evaluate ∬S1dS where S is the portion of the paraboloid z=x2+y2 below z=4.
no calculator, same as the exam
Answer6π(1717−1)answer recomputed · sympy
∬S1dS is the surface area of S. The surface is the graph z=g(x,y)=x2+y2.
gx=2x, gy=2y, so dS=1+4x2+4y2dA.
The shadow: z≤4 means x2+y2≤4, the disk of radius 2.
Polar, since both the integrand and the region depend only on x2+y2=r2: dS=1+4r2rdrdθ — note both the radical and the Jacobian r.
∬SdS=∫02π∫021+4r2rdrdθ.
Inner integral by u=1+4r2, du=8rdr: ∫02r1+4r2dr=[12(1+4r2)3/2]02=12173/2−1=121717−1.
Multiply by ∫02πdθ=2π: 122π(1717−1)=6π(1717−1).
TrapThe radius of the shadow. z=4 on z=x2+y2 means r2=4, so r runs to 2, not 4 — using r≤4 gives 6π(6565−1). The second trap is losing one of the two r's: 1+4r2rdrdθ carries the surface radical *and* the polar Jacobian, and dropping the Jacobian leaves an integral with no elementary u-substitution, which should tip you off that something is missing.
4
Find the flux of F=⟨x,y,z⟩ upward through the surface z=4−x2−y2 above the xy-plane.
no calculator, same as the exam
Answer24πanswer recomputed · sympy
For an upward-oriented graph z=g(x,y), ∬SF⋅dS=∬D(−Pgx−Qgy+R)dA. Note this formula already has the 1+gx2+gy2 built in — it cancels against the normalization of n^, so do not multiply by it again.
Here g=4−x2−y2, so gx=−2x and gy=−2y; and F=⟨x,y,z⟩ with z evaluated *on the surface*: R=4−x2−y2.
The shadow D is where z≥0: 4−x2−y2≥0, the disk x2+y2≤4 of radius 2.
Polar: ∫02π∫02(r2+4)rdrdθ=∫02π∫02(r3+4r)drdθ.
∫02(r3+4r)dr=[4r4+2r2]02=4+8=12, and times 2π gives 24π.
TrapLeaving z as the free variable z instead of substituting the surface, z=4−x2−y2. The flux integral lives *on* the surface, so every appearance of z in F must be replaced. The second trap is the sign pattern: it is ⟨−gx,−gy,1⟩ for upward — the two tangential terms get minus signs and the k slot gets +1. If the problem had said downward you would negate the whole thing, giving −24π. Third: do not tack on an extra 1+4x2+4y2; that factor is only for dS in a scalar surface integral, never for dS in this form.
5
Find the surface area of the cone z=x2+y2 below z=3.
no calculator, same as the exam
Answer9π2answer recomputed · sympy
The cone is the graph z=g(x,y)=x2+y2.
gx=x2+y2x and gy=x2+y2y, so gx2+gy2=x2+y2x2+y2=1.
Therefore dS=1+1dA=2dA — constant, because a cone has the same slope everywhere.
The shadow: z≤3 means x2+y2≤3, the disk of radius 3, whose area is 9π.
∬SdS=∫02π∫032rdrdθ=2⋅9π=9π2.
TrapWriting dS=1+x2+y2dA by squaring the *function* instead of its partials. The radical needs gx2+gy2, and for this cone those partials are the components of a unit vector, so their squares sum to exactly 1 and the factor is the clean 2. The other trap: the apex (0,0,0) makes gx,gy undefined there, but it is a single point of measure zero and the improper integral converges — the 2 still holds. And do not confuse this with the *lateral* cone formula πrℓ: here r=3, ℓ=32, giving 9π2, which agrees. ✓
6
Evaluate ∬SF⋅dS where F=⟨y,−x,1⟩ and S is the disk z=1, x2+y2≤1, oriented upward.
no calculator, same as the exam
Answerπanswer recomputed · sympy
S is a flat horizontal disk at height z=1, oriented upward, so the unit normal is simply n^=k=⟨0,0,1⟩ and dS=⟨0,0,1⟩dA (the graph z=g=1 has gx=gy=0, so dS=dA).
Dot the field with the normal: F⋅n^=⟨y,−x,1⟩⋅⟨0,0,1⟩=1. Only the k-component of F survives.
∬SF⋅dS=∬x2+y2≤11dA=area of the unit disk=π.
Explicitly in polar: ∫02π∫011⋅rdrdθ=2π⋅21=π.
TrapTrying to integrate the y and −x components. They are entirely tangential to a horizontal disk and contribute nothing to flux — this field swirls *within* the plane z=1 and never crosses it. (Its curl is ⟨0,0,−2⟩, so its *circulation* around the boundary is −2π, a completely different number that this problem is baiting you toward.) The second trap is orientation: 'oriented upward' fixes n^=+k; downward would give −π. Third, the disk has radius 1, so its area is π, not 2π.