Recall Quick reference (the three tools you will reuse)
1. The 2D test. For F=(P,Q): conservative ⟺Py=Qx (on a domain with no holes).
2. The recipe. Integrate P in x to get f=∫Pdx+g(y); then force fy=Q to solve for g. See Gradient and directional derivative.
3. The shortcut. For a conservative field, ∫CF⋅dr=f(B)−f(A) — this is the Fundamental Theorem of Line Integrals, and it makes Line integrals of vector fields trivial once you have f.
Here P is the first component of F=(P,Q) and Q the second. The symbol Py means "differentiate P with respect to y, holding x fixed." Look at the figure below: it shows both behaviours side by side — on the left, a conservative field whose arrows point straight out of a valley (a true gradient); on the right, a swirling field with nonzero curl that is not a gradient. Your eye learns the two shapes, but the testPy vs Qx is the final word.
Recall Solution 1.1
The only tool: compute Py and Qx and compare.
(a)P=2x⇒Py=0. Q=2y⇒Qx=0. Equal ⇒conservative. (It is ∇(x2+y2) — the perfect bowl on the left of the figure.)
(b)P=−y⇒Py=−1. Q=x⇒Qx=1. Not equal ⇒not conservative. This is the swirl on the right of the figure.
(c)P=3x2y⇒Py=3x2. Q=x3⇒Qx=3x2. Equal ⇒conservative. (It is ∇(x3y).)
Recall Solution 1.2
False. The equivalence requires the loop integral to vanish for every closed loop, not just one lucky one. A swirling field can still give zero around a loop that happens to be symmetric. One zero is a coincidence; all zeros is the theorem.
Now we build the potential f. Recall the recipe: integrate P in x, add an unknown g(y) (constant in x but possibly depending on y), then differentiate in y and match Q.
Recall Solution 2.1
Test:Py=2x, Qx=2x. Equal ✓.
Integrate P in x:why?P is supposed to be fx, so undoing the x-derivative rebuilds f — up to anything that was flat in x.
f=∫2xydx=x2y+g(y).Differentiate, match Q:why? The rebuilt f must also have fy=Q; that second slope equation pins down the leftover hill g(y).
fy=x2+g′(y)=!x2+3y2⇒g′(y)=3y2⇒g(y)=y3+C.Answer:f(x,y)=x2y+y3+C.
Check: ∇f=(2xy,x2+3y2)=F ✓.
Recall Solution 2.2
Test:Py=−exsiny, Qx=−exsiny. Equal ✓.
Integrate P in x:why? recover the height whose x-slope is P.
f=∫excosydx=excosy+g(y).Match Q:why? force the y-slope of that height to agree with the given Q.
fy=−exsiny+g′(y)=!−exsiny⇒g′(y)=0⇒g=C.Answer:f=excosy+C.
Recall Solution 2.3
Test (the three curl equalities — see the definition box above):Py=2x=Qx ✓; Pz=2z=Rx ✓; Qz=0=Ry ✓. All three differences vanish, so curlF=0.
Integrate P in x:why? rebuild f from its x-slope; in 3D the flat-in-x leftover can depend on bothy and z.
f=∫(2xy+z2)dx=x2y+xz2+g(y,z).Match Q:why? the y-slope of f must be Q, which fixes how g depends on y.
fy=x2+gy=!x2⇒gy=0⇒g=h(z).Match R:why? the last slope, fz=R, kills the final z-only piece.
fz=2xz+h′(z)=!2xz⇒h′(z)=0⇒h=C.Answer:f=x2y+xz2+C.
Here we use conservativeness to shortcut a line integral. The whole point: if F=∇f, forget the path and just subtract endpoint values.
Recall Solution 3.1
We already have f=x2y+y3. Why this shortcut works: the field is a gradient, so the work is just the height climbed between the two ends.
f(B)=f(2,1)=4⋅1+1=5. f(A)=f(1,0)=0+0=0.
∫CF⋅dr=f(B)−f(A)=5−0=5.
No parametrization needed — that is the payoff of path-independence.
Recall Solution 3.2
Test:Py=cosx+cosy; Qx=cosx+cosy. Equal ✓.
Integrate P in x:why? undo the x-slope to rebuild the height f.
f=∫(ycosx+siny)dx=ysinx+xsiny+g(y).Match Q:why? force fy=Q to fix the y-only leftover.
fy=sinx+xcosy+g′(y)=!sinx+xcosy⇒g′(y)=0.
So f=ysinx+xsiny.
Endpoints:f(π/2,π/2)=2πsin2π+2πsin2π=2π+2π=π. f(0,0)=0.
∫CF⋅dr=π−0=π.
Recall Solution 3.3
The field is conservative, so around any closed loop the integral is 0 (start point = end point ⇒f(B)−f(A)=0). Why: a closed loop returns to the same height, so the net climb is zero. 0.
Now we combine the test, the recipe, and the domain caveat. Watch the domain carefully.
Recall Solution 4.1
(a) Let r2=x2+y2.
Py=∂y∂x2+y2−y=(x2+y2)2−(x2+y2)−(−y)(2y)=(x2+y2)2y2−x2.
Qx=∂x∂x2+y2x=(x2+y2)2(x2+y2)−x(2x)=(x2+y2)2y2−x2.
Equal ✓ everywhere except the origin (where F is undefined).
(b) Parametrize x=cost,y=sint, t∈[0,2π]. Then r2=1, so F=(−sint,cost) and dr=(−sint,cost)dt.
F⋅dr=(sin2t+cos2t)dt=dt. Integral =∫02πdt=2π.
(c) No contradiction. The test only guarantees conservativeness on a simply connected (hole-free) domain. Here the origin is a puncture, so the domain has a hole, the loop encircles it, and the integral is 2π=0. The field is not globally conservative despite Py=Qx.
Recall Solution 4.2
Force the test:Py=2ay, Qx=6y. Conservative needs 2ay=6y for all y⇒a=3.
So F=(3x2+3y2,6xy).
Integrate P:why? undo the x-slope to recover the height.
f=∫(3x2+3y2)dx=x3+3xy2+g(y).Match Q:why? force fy=Q to fix the leftover g.
fy=6xy+g′(y)=!6xy⇒g′(y)=0.Answer:a=3, f=x3+3xy2+C.
Recall Solution 4.3
Test (the three curl equalities):Py=2xz=Qx ✓; Pz=2xy=Rx ✓; Qz=x2=Ry ✓. All three differences vanish, so curlF=0.
Integrate P in x:why? rebuild f from its x-slope; the flat-in-x leftover depends on y,z.
f=∫2xyzdx=x2yz+g(y,z).Match Q:why? the y-slope must equal Q, fixing g's y-dependence.
fy=x2z+gy=!x2z+2y⇒gy=2y⇒g=y2+h(z).Match R:why? the z-slope must equal R, killing the last z-only piece.
fz=x2y+h′(z)=!x2y⇒h′(z)=0.Answer:f=x2yz+y2+C.
Round trip: start = end, so ∮F⋅dr=f(3,1)−f(3,1)=0. Path irrelevance guarantees the two legs cancel exactly. Answer 0. (This is Conservation of energy in physics — no free energy from a loop.)
Outbound leg(3,1)→(5,4): f(5,4)=25−16=9, f(3,1)=9−1=8, work =9−8=1.
Recall Solution 5.2
Zero field:Py=0=Qx ✓, so conservative. Any constant f=C works, since ∇C=(0,0). The potential is unique only up to that additive constant — as always.
Constant fieldF=(a,b): Py=0=Qx ✓, conservative. Integrate: f=∫adx=ax+g(y); match fy=g′(y)=b⇒g=by. So f=ax+by+C. Geometrically this is a tilted flat plane — its gradient is the constant "steepest ascent" direction (a,b).
Recall Solution 5.3
(a) The conservative field.F=(2xy,x2): here P=2xy,Q=x2, so Py=2x and Qx=2x. Equal ✓ ⇒ conservative. Recover the potential: integrate P in x, f=∫2xydx=x2y+g(y); then fy=x2+g′(y)=!x2⇒g′(y)=0, so f=x2y. Because F=∇f, the Fundamental Theorem forces ∮CF⋅dr=0 for every closed C — the unit circle included, with no computation.
(b) The impostor.G=(0,x2): here P=0,Q=x2, so Py=0 but Qx=2x. Since 0=2x (except on the line x=0), the test fails⇒G is not conservative.
Now integrate G around the unit circle x=cost,y=sint, t∈[0,2π], with dr=(−sint,cost)dt:
G⋅dr=0⋅(−sint)+cos2t⋅cost=cos3t.∮x2+y2=1G⋅dr=∫02πcos3tdt=0.
So G gives zero on this one loop yet is genuinely non-conservative.
(c) The moral. A single vanishing loop proves nothing: G passed this loop by symmetry (cos3t integrates to zero over a full turn) while failing the real criterion Py=Qx. Only "∮=0 for every loop" — equivalently Py=Qx on a hole-free domain — certifies conservativeness. This is exactly why the equivalence list in the parent note insists on every closed loop, and it mirrors Exercise 1.2.
Recall Solution 5.4
Physics convention: force is minus the gradient of potential energy, F=−∇U, so ∇U=(kx,ky).
Test on (kx,ky):Py=0=Qx ✓, conservative.
Integrate:why? undo the x-slope of U. U=∫kxdx=21kx2+g(y); match Uy=g′(y)=ky⇒g=21ky2.
So U=21k(x2+y2) — the familiar spring energy 21kr2.
Work done by F from O=(0,0) to B=(3,4). Why the minus: since F=−∇U, its Fundamental-Theorem value is −(U(B)−U(O)).
W=∫CF⋅dr=−(U(B)−U(O))=−21k(9+16−0)=−225k.
Negative: the spring opposes stretching, as it must. This is Conservation of energy in physics in action.
Recall Master checklist (say it before every problem)
Test first ::: compute Py vs Qx (or the three curl equalities in 3D) before anything else.
Domain check ::: any punctures? if the loop wraps a hole, the test can lie.
Recipe ::: integrate P in x, carry +g(y), match fy=Q.
Shortcut ::: conservative ⇒ line integral =f(B)−f(A); loop =0.
Physics sign ::: F=−∇U, not +∇U.