MechanicsPotential Energy and Conservation of Energy5 of 5
Potential Energy and Conservation of Energy · 5

Conservative Forces in Three Dimensions

In two and three dimensions, infinitely many paths connect point AA to point BB, so we want to know when the work done by a force depends only on the endpoints instead of the route taken.

Path Independence and the Gradient

On a landscape U(x,y,z)\pot{U(x, y, z)}, taking a tiny step dr⃗=(dx,dy,dz)d\vec{r} = (dx, dy, dz) changes the potential energy U\pot{U} by the dot product of the step with the gradient vector:

dU\displaystyle \slope{dU} =(∂U∂x,∂U∂y,∂U∂z)⏟gradient ∇U⋅(dx,dy,dz)\displaystyle = \underbrace{\slope{\left(\frac{\partial U}{\partial x}, \frac{\partial U}{\partial y}, \frac{\partial U}{\partial z}\right)}}_{\text{gradient }\slope{\nabla U}} \cdot (dx, dy, dz) =∇U⋅dr⃗\displaystyle = \slope{\nabla U} \cdot d\vec{r}

When a force field F⃗\force{\vec{F}} is the downhill slope of a potential energy landscape, we call F⃗\force{\vec{F}} a conservative force:

F⃗\displaystyle \force{\vec{F}} =−∇U\displaystyle = -\slope{\nabla U} =(−∂U∂x,−∂U∂y,−∂U∂z)\displaystyle = \left(-\slope{\frac{\partial U}{\partial x}}, -\slope{\frac{\partial U}{\partial y}}, -\slope{\frac{\partial U}{\partial z}}\right)

Because each tiny work step F⃗⋅dr⃗\force{\vec{F}} \cdot d\vec{r} equals the drop in potential energy −dU-\slope{dU}, all the climbs and drops in between cancel out along any path from AA to BB:

Work\displaystyle \work{\text{Work}} =∫ABF⃗⋅dr⃗\displaystyle = \int_A^B \force{\vec{F}} \cdot d\vec{r} =−∫AB∇U⋅dr⃗\displaystyle = -\int_A^B \slope{\nabla U} \cdot d\vec{r} =U(A)−U(B)\displaystyle = \pot{U(A)} - \pot{U(B)}

Along every route between fixed endpoints AA and BB on the landscape U(x,y)\pot{U(x, y)}, any extra negative work done climbing a peak is matched by an equal amount of positive work coming back down, leaving the total work at U(A)−U(B)\pot{U(A)} - \pot{U(B)}.

On a potential energy landscape, any extra uphill work along a detour between A and B is canceled by an equal downhill drop before the path reaches B.
1

Finding Force and Equipotential Surfaces from Potential Energy

When we are given the potential energy function U(x,y,z)\pot{U(x, y, z)}, we can find the force vector F⃗(x,y,z)\force{\vec{F}(x, y, z)} at any point and see how its direction relates to the shape of the landscape. Let's start by finding the force field F⃗(x,y,z)\force{\vec{F}(x, y, z)} for a particle moving in the potential energy landscape

U(x,y,z)\displaystyle \pot{U(x, y, z)} =3x2y−yz3+5z\displaystyle = \pot{3x^2y - yz^3 + 5z}
Force and Equipotential Surfaces from Potential Energy
U(x,y,z)=3x2y−yz3+5zF⃗(x,y,z)=  ?\displaystyle \begin{aligned} \pot{U(x, y, z)} &= \pot{3x^2y - yz^3 + 5z} \\ \force{\vec F(x, y, z)} &= \;? \end{aligned}
Text solution
Negative x-slope (hold y and z fixed)Differentiate the term containing xx with respect to xx and put a minus sign in front to get Fx\force{F_x}.
Fx\displaystyle \force{F_x} =−∂U∂x\displaystyle = -\slope{\frac{\partial U}{\partial x}} =−6xy\displaystyle = \force{-6xy}
Negative y-slope (hold x and z fixed)Differentiate the two terms containing yy with respect to yy and flip their signs to get Fy\force{F_y}.
Fy\displaystyle \force{F_y} =−∂U∂y\displaystyle = -\slope{\frac{\partial U}{\partial y}} =−(3x2−z3)\displaystyle = -(\slope{3x^2 - z^3}) =−3x2+z3\displaystyle = \force{-3x^2 + z^3}
Negative z-slope (hold x and y fixed)Differentiate the two terms containing zz with respect to zz and flip their signs to get Fz\force{F_z}.
Fz\displaystyle \force{F_z} =−∂U∂z\displaystyle = -\slope{\frac{\partial U}{\partial z}} =−(−3yz2+5)\displaystyle = -(\slope{-3yz^2 + 5}) =3yz2−5\displaystyle = \force{3yz^2 - 5}
Put the force vector togetherCombine the three components into F⃗(x,y,z)\force{\vec{F}(x, y, z)}.
F⃗(x,y,z)\displaystyle \force{\vec{F}(x, y, z)} =(−6xy,  −3x2+z3,  3yz2−5)\displaystyle = (\force{-6xy},\; \force{-3x^2 + z^3},\; \force{3yz^2 - 5})

Setting U(x,y,z)=constant\pot{U(x, y, z)} = \text{constant} gives equipotential surfaces. For any tiny step dr⃗d\vec{r} that stays on an equipotential surface, U\pot{U} does not change, so the dot product of F⃗\force{\vec{F}} and dr⃗d\vec{r} is zero:

dU\displaystyle \slope{dU} =∇U⋅dr⃗\displaystyle = \slope{\nabla U} \cdot d\vec{r} =−F⃗⋅dr⃗\displaystyle = -\force{\vec{F}} \cdot d\vec{r} =0\displaystyle = 0

Across this contour map of constant-U\pot{U} lines, the force F⃗=−∇U\force{\vec{F}} = -\slope{\nabla U} stays perpendicular to every contour toward lower U\pot{U}, grows larger where the contours are tightly packed, and does zero work whenever the step moves along a contour.

On a potential energy map, the force always points straight downhill at 90° to the contour lines, pushing harder where the lines pack together and doing zero work when you slide along a line.
2

Testing for a Conservative Force in 2D

Usually, a problem gives us the force field F⃗\force{\vec{F}} rather than U\pot{U}. Before trying to build a potential energy function, we need a quick way to test whether a landscape U\pot{U} even exists for F⃗\force{\vec{F}}. Let's see how to test a two-dimensional force field for swirl, and check what happens to the work from A=(0,0)A = (0, 0) to B=(1,1)B = (1, 1) for the force

F⃗(x,y)\displaystyle \force{\vec{F}(x, y)} =(y,−x)\displaystyle = (\force{y}, \force{-x})
Testing for a Conservative Force in 2D
xx
yy
11
11
AA
BB
F⃗(x,y)=(y,  −x)U(x,y)=  ?\begin{aligned} \htmlClass{lc-violet}{\vec F(x, y)} &= (\htmlClass{lc-violet}{y},\; \htmlClass{lc-violet}{-x}) \\ \htmlClass{lc-blue}{U(x, y)} &= \;? \end{aligned}

For a two-dimensional force F⃗(x,y)=(Fx,Fy)\force{\vec{F}(x, y)} = (\force{F_x}, \force{F_y}), zero swirl (∇×F⃗=0⃗\cross{\nabla \times \vec{F}} = \vec{0}) means the cross-derivatives match, and when they match everywhere on a region with no holes, a potential energy U\pot{U} exists on that region:

∂Fx∂y\displaystyle \cross{\frac{\partial F_x}{\partial y}} =∂Fy∂x\displaystyle = \cross{\frac{\partial F_y}{\partial x}}
xx
yy
A (0,0)A\,(0, 0)
B (1,1)B\,(1, 1)
Path 1\text{Path 1}
Work=−1\htmlClass{lc-green}{\text{Work}} = \htmlClass{lc-green}{-1}
Path 2\text{Path 2}
Work=+1\htmlClass{lc-green}{\text{Work}} = \htmlClass{lc-green}{+1}
Text solution
Check the cross-derivativesCompare the yy-derivative of Fx\force{F_x} with the xx-derivative of Fy\force{F_y}.
∂Fx∂y=∂∂y(y)=1  ≠  ∂Fy∂x=∂∂x(−x)=−1\displaystyle \begin{aligned} \cross{\frac{\partial F_x}{\partial y}} &= \frac{\partial}{\partial y}(\force{y}) = \cross{1} \\[6pt] \;\neq\; \cross{\frac{\partial F_y}{\partial x}} &= \frac{\partial}{\partial x}(\force{-x}) = \cross{-1} \end{aligned}
Work along Path 1 (right to (1, 0), then up to (1, 1))On the bottom leg y=0y = 0 and dy=0dy = 0, giving zero work; on the right leg x=1x = 1 and dx=0dx = 0 while yy goes from 00 to 11.
WorkPath 1\displaystyle \work{\text{Work}_{\text{Path 1}}} =∫AB(y dx−x dy)\displaystyle = \int_A^B (\force{y}\,dx \force{- x}\,dy) =0+∫01(−1) dy\displaystyle = \work{0} + \int_0^1 (\force{-1})\,dy =−1\displaystyle = \work{-1}
Work along Path 2 (up to (0, 1), then right to (1, 1))On the left leg x=0x = 0 and dx=0dx = 0, giving zero work; on the top leg y=1y = 1 and dy=0dy = 0 while xx goes from 00 to 11.
WorkPath 2\displaystyle \work{\text{Work}_{\text{Path 2}}} =∫AB(y dx−x dy)\displaystyle = \int_A^B (\force{y}\,dx \force{- x}\,dy) =0+∫01(1) dx\displaystyle = \work{0} + \int_0^1 (\force{1})\,dx =+1\displaystyle = \work{+1}

So the work from (0,0)(0, 0) to (1,1)(1, 1) is −1\work{-1} along Path 1 and +1\work{+1} along Path 2 (and +2\work{+2} around the closed unit square), which confirms that no potential energy landscape exists for this force.

Because F⃗(x,y)=(y,−x)\force{\vec{F}(x, y)} = (\force{y}, \force{-x}) has nonzero swirl, changing the path between A(0,0)A(0, 0) and B(1,1)B(1, 1) changes the line integral ∫ABF⃗⋅dr⃗\int_A^B \force{\vec{F}} \cdot d\vec{r}, giving +1\work{+1} when moving with the swirl along the top-left edges and −1\work{-1} when moving against it along the bottom-right edges.

In a swirling field, the work between two points changes with the path because different routes either move with the field or push against it.
3

Finding Potential Energy from Force in 2D

When the cross-derivatives match on a region with no holes, a potential energy landscape U(x,y)\pot{U(x, y)} is guaranteed to exist. Now we can build U(x,y)\pot{U(x, y)} from the components of F⃗\force{\vec{F}} and find the work along any curve from the endpoints alone. Let's find U(x,y)\pot{U(x, y)} for the force field

F⃗(x,y)\displaystyle \force{\vec{F}(x, y)} =(2xy+3,  x2−4y)\displaystyle = (\force{2xy + 3},\; \force{x^2 - 4y})

and find the work done as a particle moves from A=(0,0)A = (0, 0) to B=(1,2)B = (1, 2) along the curve y=2x3−4sin⁡(πx)y = 2x^3 - 4\sin(\pi x).

Reconstructing Potential Energy in 2D
F⃗(x,y)=(2xy+3,  x2−4y)U(x,y)=  ?\displaystyle \begin{aligned} \force{\vec F(x, y)} &= (\force{2xy + 3},\; \force{x^2 - 4y}) \\ \pot{U(x, y)} &= \;? \end{aligned}
Text solution
Check the cross-derivativesCheck that the cross-derivatives match everywhere on the plane.
∂Fx∂y=∂∂y(2xy+3)=2x,∂Fy∂x=∂∂x(x2−4y)=2x\displaystyle \begin{aligned} \cross{\frac{\partial F_x}{\partial y}} &= \frac{\partial}{\partial y}(\force{2xy + 3}) = \cross{2x}, \\[6pt] \cross{\frac{\partial F_y}{\partial x}} &= \frac{\partial}{\partial x}(\force{x^2 - 4y}) = \cross{2x} \end{aligned}
Undo the x-derivative on Fx\force{F_x}Integrate Fx=∂V∂x\force{F_x} = \slope{\frac{\partial V}{\partial x}} with respect to xx holding yy constant, leaving room for terms that depend only on yy.
V(x,y)\displaystyle \pot{V(x, y)} =x2y+3x+(stuff with only y)\displaystyle = \pot{x^2y + 3x} + (\text{stuff with only } y)
Undo the y-derivative on Fy\force{F_y}Integrate Fy=∂V∂y\force{F_y} = \slope{\frac{\partial V}{\partial y}} with respect to yy holding xx constant, leaving room for terms that depend only on xx.
V(x,y)\displaystyle \pot{V(x, y)} =x2y−2y2+(stuff with only x)\displaystyle = \pot{x^2y - 2y^2} + (\text{stuff with only } x)
Combine the pieces and flip the signWrite the shared x2y\pot{x^2y} term once alongside +3x\pot{+3x} and −2y2\pot{-2y^2} to form V(x,y)\pot{V(x, y)}, then set U(x,y)=−V(x,y)\pot{U(x, y)} = -\pot{V(x, y)}.
V(x,y)\displaystyle \pot{V(x, y)} =x2y+3x−2y2  ⟹  U(x,y)\displaystyle = \pot{x^2y + 3x - 2y^2} \implies \pot{U(x, y)} =−x2y−3x+2y2\displaystyle = \pot{-x^2y - 3x + 2y^2}
Plug in the endpointsIgnore the curve y=2x3−4sin⁡(πx)y = 2x^3 - 4\sin(\pi x) and subtract the endpoint values U(A)−U(B)\pot{U(A)} - \pot{U(B)}.
Work\displaystyle \work{\text{Work}} =U(0,0)−U(1,2)\displaystyle = \pot{U(0, 0)} - \pot{U(1, 2)} =0−(−(1)2(2)−3(1)+2(2)2)\displaystyle = 0 - \bigl(-(1)^2(2) - 3(1) + 2(2)^2\bigr) =0−3\displaystyle = 0 - \pot{3} =−3\displaystyle = \work{-3}

So the work done along the twisted curve is −3\work{-3}, found just from the starting and ending coordinates.

4

Testing and Finding Potential Energy in 3D

In three dimensions, a force F⃗(x,y,z)=(Fx,Fy,Fz)\force{\vec{F}(x, y, z)} = (\force{F_x}, \force{F_y}, \force{F_z}) can swirl in three coordinate planes, so we need to check all three pairs of cross-derivatives and combine three partial integrations to build U(x,y,z)\pot{U(x, y, z)}. Let's test and find the potential energy for the three-dimensional force field

F⃗(x,y,z)\displaystyle \force{\vec{F}(x, y, z)} =(2xy+z3,  x2−2yz,  3xz2−y2+4)\displaystyle = (\force{2xy + z^3},\; \force{x^2 - 2yz},\; \force{3xz^2 - y^2 + 4})
Testing and Reconstructing Potential Energy in 3D
Fx=2xy+z3Fy=x2−2yzFz=3xz2−y2+4U(x,y,z)=  ?\displaystyle \begin{aligned} \force{F_x} &= \force{2xy + z^3} \\ \force{F_y} &= \force{x^2 - 2yz} \\ \force{F_z} &= \force{3xz^2 - y^2 + 4} \\[4pt] \pot{U(x, y, z)} &= \;? \end{aligned}
Text solution
Check all three cross-derivative pairsCheck that the cross-derivatives match in the xyxy-, yzyz-, and xzxz-planes so that ∇×F⃗=0⃗\cross{\nabla \times \vec{F}} = \vec{0}.
∂Fx∂y=2x=∂Fy∂x,∂Fy∂z=−2y=∂Fz∂y,∂Fx∂z=3z2=∂Fz∂x\displaystyle \begin{aligned} \cross{\frac{\partial F_x}{\partial y}} &= \cross{2x} = \cross{\frac{\partial F_y}{\partial x}}, \\[6pt] \cross{\frac{\partial F_y}{\partial z}} &= \cross{-2y} = \cross{\frac{\partial F_z}{\partial y}}, \\[6pt] \cross{\frac{\partial F_x}{\partial z}} &= \cross{3z^2} = \cross{\frac{\partial F_z}{\partial x}} \end{aligned}
Undo each partial derivativeIntegrate Fx\force{F_x} with respect to xx (holding y,zy, z fixed), Fy\force{F_y} with respect to yy (holding x,zx, z fixed), and Fz\force{F_z} with respect to zz (holding x,yx, y fixed).
V(x,y,z)=x2y+xz3+(stuff with only y,z)V(x,y,z)=x2y−y2z+(stuff with only x,z)V(x,y,z)=xz3−y2z+4z+(stuff with only x,y)\displaystyle \begin{aligned} \pot{V(x, y, z)} &= \pot{x^2y + xz^3} \\ & + (\text{stuff with only } y, z) \\ \pot{V(x, y, z)} &= \pot{x^2y - y^2z} \\ & + (\text{stuff with only } x, z) \\ \pot{V(x, y, z)} &= \pot{xz^3 - y^2z + 4z} \\ & + (\text{stuff with only } x, y) \end{aligned}
Combine the pieces and flip the signInclude each separate term (x2y\pot{x^2y}, xz3\pot{xz^3}, −y2z\pot{-y^2z}, and +4z\pot{+4z}) once in V\pot{V}, then take U=−V\pot{U} = -\pot{V}.
V(x,y,z)=x2y+xz3−y2z+4z  ⟹  U(x,y,z)=−x2y−xz3+y2z−4z\displaystyle \begin{aligned} \pot{V(x, y, z)} &= \pot{x^2y + xz^3} \\ &\quad \pot{- y^2z + 4z} \\ \implies \pot{U(x, y, z)} &= \pot{-x^2y - xz^3} \\ &\quad \pot{+ y^2z - 4z} \end{aligned}

A quick way to check your answer: take the negative xx-, yy-, and zz-derivatives of your final U(x,y,z)\pot{U(x, y, z)} in your head to make sure every term of F⃗\force{\vec{F}} comes right back out.

5

Friction, Central Forces, and Potential Energy

Now let's see which physical forces have a potential energy landscape, and why central forces like gravity and electrostatics are automatically conservative without needing x,y,zx, y, z partial derivatives.

Friction, Central Forces, and Potential Energy
gravity\text{gravity}
spring\text{spring}
electric\text{electric}
friction\text{friction}
drag\text{drag}
U(x,y,z)=  ?\htmlClass{lc-blue}{U(x, y, z)} = \;?

Kinetic friction and air drag point opposite to the velocity v⃗\vec{v} rather than depending only on position, so they have no fixed downhill direction at (x,y,z)(x, y, z) and always do negative work around a closed loop (∮F⃗fric⋅dr⃗<0\oint \force{\vec{F}_{\text{fric}}} \cdot d\vec{r} < 0).

By contrast, any central force F⃗(r)=f(r)r^\force{\vec{F}(\pos{r})} = \force{f(\pos{r})}\hat{r} points straight out from or in toward the origin with a strength that depends only on the distance r=x2+y2+z2\pos{r} = \sqrt{x^2 + y^2 + z^2}. Here is how that geometry simplifies the work integral for a central force such as planetary gravity, f(r)=−GMmr2\force{f(\pos{r})} = \force{-\frac{GMm}{r^2}}:

Text solution
Keep only the radial part of a 3D stepBecause any sideways motion along a sphere of constant radius r\pos{r} is perpendicular to r^\hat{r}, only the radial change drdr contributes to the work.
F⃗⋅dr⃗\displaystyle \force{\vec{F}} \cdot d\vec{r} =f(r)r^⋅dr⃗\displaystyle = \force{f(\pos{r})}\hat{r} \cdot d\vec{r} =f(r) dr\displaystyle = \force{f(\pos{r})}\,dr
Turn the 3D path integral into a 1D radial integralAdding up the work from radius rA\pos{r_A} to radius rB\pos{r_B} drops all the sideways motion and leaves a single integral over r\pos{r}.
Work=∫ABF⃗⋅dr⃗=∫rArBf(r) dr=U(rA)−U(rB),U(r)=−∫f(r) dr\displaystyle \begin{aligned} \work{\text{Work}} &= \int_A^B \force{\vec{F}} \cdot d\vec{r} \\ &= \int_{\pos{r_A}}^{\pos{r_B}} \force{f(\pos{r})}\,dr \\ &= \pot{U(\pos{r_A})} - \pot{U(\pos{r_B})}, \\ \pot{U(\pos{r})} &= -\int \force{f(\pos{r})}\,dr \end{aligned}
Integrate planetary gravityFor f(r)=−GMmr2\force{f(\pos{r})} = \force{-\frac{GMm}{r^2}}, integrate with respect to r\pos{r} to get the gravitational potential energy and the work from the endpoints.
U(r)=−∫(−GMmr2)dr=−GMmr  ⟹  Work=−GMmrA−(−GMmrB)\displaystyle \begin{aligned} \pot{U(\pos{r})} &= -\int \left(\force{-\frac{GMm}{r^2}}\right) dr \\ &= \pot{-\frac{GMm}{r}} \\ \implies \work{\text{Work}} &= \pot{-\frac{GMm}{r_A}} \\ &\quad - \left(\pot{-\frac{GMm}{r_B}}\right) \end{aligned}

In a central force field F⃗(r)=f(r)r^\force{\vec{F}(\pos{r})} = \force{f(\pos{r})}\hat{r}, every sideways part of a step along a sphere centered at the origin is perpendicular to the radial force and adds zero work, so the total work from AA to BB depends only on the starting radius rA\pos{r_A} and ending radius rB\pos{r_B}.

Because a central force is perpendicular to every sphere around the origin, sliding along a shell does no work, so the work from A to B depends only on their starting and ending shells.

Key concepts

Whenever a mechanics problem connects force, work, and potential energy in 2D or 3D, start with what you are given:

Given a landscape U(x,y,z)\pot{U(x, y, z)}, take negative partial derivatives to find F⃗\force{\vec{F}}

The gradient ∇U\slope{\nabla U} points uphill, while the force pushes downhill:

F⃗\displaystyle \force{\vec{F}} =−∇U\displaystyle = -\slope{\nabla U} =(−∂U∂x,−∂U∂y,−∂U∂z)\displaystyle = \left(-\slope{\frac{\partial U}{\partial x}}, -\slope{\frac{\partial U}{\partial y}}, -\slope{\frac{\partial U}{\partial z}}\right)
For U=3x2y\pot{U} = \pot{3x^2y}, differentiating gives F⃗=(−6xy,−3x2,0)\force{\vec{F}} = (\force{-6xy}, \force{-3x^2}, 0). Because dU=−F⃗⋅dr⃗\slope{dU} = -\force{\vec{F}} \cdot d\vec{r}, the force F⃗\force{\vec{F}} is always perpendicular (90∘90^\circ) to equipotential surfaces (U=constant\pot{U} = \text{constant}), points from higher U\pot{U} toward lower U\pot{U}, and is strongest where the surfaces are packed closest together.

Given a force F⃗\force{\vec{F}}, test before integrating

First check whether F⃗\force{\vec{F}} depends only on position; velocity-dependent forces like kinetic friction (F⃗fric\force{\vec{F}_{\text{fric}}} opposite to v⃗\vec{v}) never have a potential energy landscape because ∮F⃗fric⋅dr⃗<0\oint \force{\vec{F}_{\text{fric}}} \cdot d\vec{r} < 0. For a position-dependent force on a region with no holes, check that the cross-derivatives match (∂Fx∂y=∂Fy∂x\cross{\frac{\partial F_x}{\partial y}} = \cross{\frac{\partial F_y}{\partial x}} in 2D; all three pairs ∂Fx∂y=∂Fy∂x\cross{\frac{\partial F_x}{\partial y}} = \cross{\frac{\partial F_y}{\partial x}}, ∂Fy∂z=∂Fz∂y\cross{\frac{\partial F_y}{\partial z}} = \cross{\frac{\partial F_z}{\partial y}}, and ∂Fx∂z=∂Fz∂x\cross{\frac{\partial F_x}{\partial z}} = \cross{\frac{\partial F_z}{\partial x}} in 3D). If a pair does not match, as in F⃗=(y,−x)\force{\vec{F}} = (\force{y}, \force{-x}) where 1≠−1\cross{1} \neq \cross{-1}, stop right away: no U\pot{U} exists, and you must integrate ∫ABF⃗⋅dr⃗\int_A^B \force{\vec{F}} \cdot d\vec{r} along the given path.

When the cross-derivatives match, build U\pot{U} and subtract the endpoints

Undo each partial derivative using F⃗=∇V\force{\vec{F}} = \slope{\nabla V}, write each shared mixed term (such as x2y\pot{x^2y}) only once when combining the expressions, and flip the sign at the end to get U=−V\pot{U} = -\pot{V}. Then ignore the curve connecting AA and BB and compute Work=U(A)−U(B)\work{\text{Work}} = \pot{U(A)} - \pot{U(B)}.

When not to use x,y,zx, y, z partial derivatives

If the force is a central force F⃗(r)=f(r)r^\force{\vec{F}(\pos{r})} = \force{f(\pos{r})}\hat{r} pointing purely radially from the origin (like F⃗=−GMmr2r^\force{\vec{F}} = \force{-\frac{GMm}{r^2}}\hat{r}), do not expand r=x2+y2+z2\pos{r} = \sqrt{x^2 + y^2 + z^2} into x,y,zx, y, z coordinates. Sideways motion on spheres of radius r\pos{r} does zero work, so F⃗⋅dr⃗=f(r) dr\force{\vec{F}} \cdot d\vec{r} = \force{f(\pos{r})}\,dr and you can integrate over r\pos{r} in one step: U(r)=−∫f(r) dr\pot{U(\pos{r})} = -\int \force{f(\pos{r})}\,dr.

6

Practice

1

A particle moves in three-dimensional space through the potential energy landscape U(x,y,z)=4xy2−2xz3+7y\pot{U(x, y, z)} = \pot{4xy^2 - 2xz^3 + 7y}, where U\pot{U} is in joules and xx, yy, and zz are in meters. Find the force field F⃗(x,y,z)\force{\vec{F}(x, y, z)} as a function of position, and calculate the force vector acting on the particle at the point (1,−1,2) m(1, -1, 2)\text{ m}.

For each component of F⃗=−∇U\force{\vec{F}} = -\slope{\nabla U}, which two coordinates stay constant while you differentiate, and what happens to a term that does not contain the coordinate you are differentiating with respect to?

Use F⃗=−∇U=(−∂U∂x,−∂U∂y,−∂U∂z)\force{\vec{F}} = -\slope{\nabla U} = \left(-\slope{\frac{\partial U}{\partial x}}, -\slope{\frac{\partial U}{\partial y}}, -\slope{\frac{\partial U}{\partial z}}\right) and take the negative partial derivative with respect to each coordinate while holding the other two constant. Be careful to distribute the minus sign across every term inside each partial derivative. Forgetting the minus sign gives +∇U+\slope{\nabla U} and (−12,−1,−24) N(-12, -1, -24)\text{ N}, while applying it only to the first term of ∂U∂x\slope{\frac{\partial U}{\partial x}} gives Fx=−4y2−2z3\force{F_x} = -4y^2 - 2z^3 and (−20,1,24) N(-20, 1, 24)\text{ N}:
Fx=−∂U∂x=−(4y2−2z3)=−4y2+2z3Fy=−∂U∂y=−(8xy+7)=−8xy−7Fz=−∂U∂z=−(−6xz2)=6xz2\displaystyle \begin{aligned} \force{F_x} &= -\slope{\frac{\partial U}{\partial x}} = -(\slope{4y^2 - 2z^3}) \\ &= \force{-4y^2 + 2z^3} \\[6pt] \force{F_y} &= -\slope{\frac{\partial U}{\partial y}} = -(\slope{8xy + 7}) \\ &= \force{-8xy - 7} \\[6pt] \force{F_z} &= -\slope{\frac{\partial U}{\partial z}} = -(\slope{-6xz^2}) \\ &= \force{6xz^2} \end{aligned}
Putting the three components together gives the force field as a function of position:
F⃗(x,y,z)\displaystyle \force{\vec{F}(x, y, z)} =(−4y2+2z3,  −8xy−7,  6xz2)\displaystyle = (\force{-4y^2 + 2z^3},\; \force{-8xy - 7},\; \force{6xz^2})
Now plug in (x,y,z)=(1,−1,2) m(x, y, z) = (1, -1, 2)\text{ m}:
Fx(1,−1,2)=−4(−1)2+2(2)3=−4+16=12 NFy(1,−1,2)=−8(1)(−1)−7=8−7=1 NFz(1,−1,2)=6(1)(2)2=24 N\displaystyle \begin{aligned} \force{F_x}(1, -1, 2) &= -4(-1)^2 + 2(2)^3 \\ &= -4 + 16 = \force{12\text{ N}} \\ \force{F_y}(1, -1, 2) &= -8(1)(-1) - 7 \\ &= 8 - 7 = \force{1\text{ N}} \\ \force{F_z}(1, -1, 2) &= 6(1)(2)^2 = \force{24\text{ N}} \end{aligned}
F⃗(1,−1,2)\displaystyle \force{\vec{F}}(1, -1, 2) =(12,1,24) N\displaystyle = (\force{12}, \force{1}, \force{24})\text{ N}
2

A three-dimensional potential energy landscape has smooth equipotential surfaces labeled U=10 J\pot{U} = \pot{10\text{ J}}, U=20 J\pot{U} = \pot{20\text{ J}}, U=30 J\pot{U} = \pot{30\text{ J}}, and U=40 J\pot{U} = \pot{40\text{ J}}. The surfaces are packed closely together in Region P and spread far apart in Region Q. (a) At any point on the U=30 J\pot{U} = \pot{30\text{ J}} surface, how is the conservative force F⃗\force{\vec{F}} oriented relative to the surface, and does F⃗\force{\vec{F}} point toward the U=40 J\pot{U} = \pot{40\text{ J}} surface or the U=20 J\pot{U} = \pot{20\text{ J}} surface? Explain using dU=∇U⋅dr⃗=−F⃗⋅dr⃗\slope{dU} = \slope{\nabla U} \cdot d\vec{r} = -\force{\vec{F}} \cdot d\vec{r}. (b) Is the magnitude of the force greater in Region P or Region Q? Explain. (c) How much work does F⃗\force{\vec{F}} do on a particle that moves from one point on the U=30 J\pot{U} = \pot{30\text{ J}} surface to another point on the same U=30 J\pot{U} = \pot{30\text{ J}} surface?

Along a surface where U\pot{U} is constant, what is the change dU\slope{dU} for any tiny step dr⃗d\vec{r} lying on that surface?

(a)For any tiny step dr⃗d\vec{r} along the U=30 J\pot{U} = \pot{30\text{ J}} surface, the potential energy does not change, so dU=0\slope{dU} = 0. Because dU=∇U⋅dr⃗=−F⃗⋅dr⃗=0\slope{dU} = \slope{\nabla U} \cdot d\vec{r} = -\force{\vec{F}} \cdot d\vec{r} = 0 for every step along the surface, the force F⃗\force{\vec{F}} must be perpendicular (90∘90^\circ) to the equipotential surface. Do not confuse the direction of F⃗\force{\vec{F}} with the uphill direction of ∇U\slope{\nabla U}, which points toward the U=40 J\pot{U} = \pot{40\text{ J}} surface: because of the minus sign in F⃗=−∇U\force{\vec{F}} = -\slope{\nabla U}, the force points downhill toward lower potential energy, from the U=30 J\pot{U} = \pot{30\text{ J}} surface toward the U=20 J\pot{U} = \pot{20\text{ J}} surface.
(b)The magnitude of the force is greater in Region P. Because F⃗=−∇U\force{\vec{F}} = -\slope{\nabla U} measures how fast U\pot{U} changes with distance, closely packed equipotential surfaces mean U\pot{U} changes by 10 J\pot{10\text{ J}} over a shorter distance, giving a steeper slope and a stronger force.
(c)For a conservative force, the work between two points AA and BB on the U=30 J\pot{U} = \pot{30\text{ J}} surface is the difference U(A)−U(B)\pot{U(A)} - \pot{U(B)}, not the value 30 J\pot{30\text{ J}} itself:
Work\displaystyle \work{\text{Work}} =U(A)−U(B)\displaystyle = \pot{U(A)} - \pot{U(B)} =30 J−30 J\displaystyle = \pot{30\text{ J}} - \pot{30\text{ J}} =0 J\displaystyle = \work{0\text{ J}}
3

Consider the two-dimensional force field F⃗(x,y)=(3y,x)\force{\vec{F}(x, y)} = (\force{3y}, \force{x}), where xx and yy are in meters and F⃗\force{\vec{F}} is in newtons. (a) Use the cross-derivative test to determine whether a potential energy function U(x,y)\pot{U(x, y)} exists for this force field. (b) Calculate the work done by F⃗\force{\vec{F}} on a particle moving from A=(0,0) mA = (0, 0)\text{ m} to B=(2,1) mB = (2, 1)\text{ m} along Path 1 (right along the xx-axis from (0,0) m(0, 0)\text{ m} to (2,0) m(2, 0)\text{ m}, then straight up to (2,1) m(2, 1)\text{ m}) and along Path 2 (straight up the yy-axis from (0,0) m(0, 0)\text{ m} to (0,1) m(0, 1)\text{ m}, then right to (2,1) m(2, 1)\text{ m}). (c) What is the net work done by F⃗\force{\vec{F}} around the closed rectangular loop that goes from AA to BB along Path 2 and returns from BB to AA by reversing Path 1?

For each straight-line leg in part (b), see which coordinate stays constant (making its tiny change dxdx or dydy zero) before integrating F⃗⋅dr⃗=3y dx+x dy\force{\vec{F}} \cdot d\vec{r} = \force{3y}\,dx + \force{x}\,dy.

(a)Take the cross-derivatives ∂Fx∂y\cross{\frac{\partial F_x}{\partial y}} and ∂Fy∂x\cross{\frac{\partial F_y}{\partial x}} (do not take ∂Fx∂x=0\frac{\partial F_x}{\partial x} = 0 and ∂Fy∂y=0\frac{\partial F_y}{\partial y} = 0, which would make it look like they match):
∂Fx∂y=∂∂y(3y)=3,∂Fy∂x=∂∂x(x)=1\displaystyle \begin{aligned} \cross{\frac{\partial F_x}{\partial y}} &= \frac{\partial}{\partial y}(\force{3y}) = \cross{3}, \\[6pt] \cross{\frac{\partial F_y}{\partial x}} &= \frac{\partial}{\partial x}(\force{x}) = \cross{1} \end{aligned}
Because 3≠1\cross{3} \neq \cross{1} (∂Fx∂y≠∂Fy∂x\cross{\frac{\partial F_x}{\partial y}} \neq \cross{\frac{\partial F_y}{\partial x}}), the force field has nonzero swirl (∇×F⃗≠0⃗\cross{\nabla \times \vec{F}} \neq \vec{0}) and no potential energy function U(x,y)\pot{U(x, y)} exists.
(b)Write the work integral as Work\work{\text{Work}} == ∫ABF⃗⋅dr⃗\int_A^B \force{\vec{F}} \cdot d\vec{r} == ∫AB(3y dx+x dy)\int_A^B (\force{3y}\,dx + \force{x}\,dy):
Along Path 1On the bottom leg from (0,0) m(0, 0)\text{ m} to (2,0) m(2, 0)\text{ m}, y=0y = 0 and dy=0dy = 0, so the work is 0 J\work{0\text{ J}}. On the right leg from (2,0) m(2, 0)\text{ m} to (2,1) m(2, 1)\text{ m}, x=2 mx = 2\text{ m} and dx=0dx = 0 while yy runs from 00 to 1 m1\text{ m}:
WorkPath 1\displaystyle \work{\text{Work}_{\text{Path 1}}} =0+∫012 dy\displaystyle = \work{0} + \int_0^1 \force{2}\,dy =2 J\displaystyle = \work{2\text{ J}}
Along Path 2On the left leg from (0,0) m(0, 0)\text{ m} to (0,1) m(0, 1)\text{ m}, x=0x = 0 and dx=0dx = 0, so the work is 0 J\work{0\text{ J}}. On the top leg from (0,1) m(0, 1)\text{ m} to (2,1) m(2, 1)\text{ m}, y=1 my = 1\text{ m} and dy=0dy = 0 while xx runs from 00 to 2 m2\text{ m}:
WorkPath 2\displaystyle \work{\text{Work}_{\text{Path 2}}} =0+∫023(1) dx\displaystyle = \work{0} + \int_0^2 \force{3(1)}\,dx =6 J\displaystyle = \work{6\text{ J}}
(c)Reversing Path 1 to return from BB to AA flips the sign of every step dr⃗d\vec{r}, so the return trip does −2 J\work{-2\text{ J}} of work (do not add +2 J+2\text{ J} to get 8 J8\text{ J}):
∮F⃗⋅dr⃗\displaystyle \oint \force{\vec{F}} \cdot d\vec{r} =6 J+(−2 J)\displaystyle = \work{6\text{ J}} + (\work{-2\text{ J}}) =+4 J\displaystyle = \work{+4\text{ J}}
4

A particle in the xyxy-plane is acted on by the force F⃗(x,y)=(3x2y−2,x3+6y)\force{\vec{F}(x, y)} = (\force{3x^2y - 2}, \force{x^3 + 6y}), where xx and yy are in meters and F⃗\force{\vec{F}} is in newtons. (a) Show that F⃗\force{\vec{F}} is conservative across the entire xyxy-plane. (b) Find the potential energy function U(x,y)\pot{U(x, y)} with the reference choice U(0,0)=0 J\pot{U(0, 0)} = 0\text{ J}. (c) Find the work done by F⃗\force{\vec{F}} when the particle moves from A=(0,0) mA = (0, 0)\text{ m} to B=(2,1) mB = (2, 1)\text{ m} along the twisted curve y=18x3+sin⁡ ⁣(πx2)y = \frac{1}{8}x^3 + \sin\!\left(\frac{\pi x}{2}\right).

Once part (a) shows that F⃗\force{\vec{F}} is conservative, do you need the equation of the curve in part (c), or only its endpoints?

(a)Check the cross-derivatives:
∂Fx∂y=∂∂y(3x2y−2)=3x2,∂Fy∂x=∂∂x(x3+6y)=3x2\displaystyle \begin{aligned} \cross{\frac{\partial F_x}{\partial y}} &= \frac{\partial}{\partial y}(\force{3x^2y - 2}) = \cross{3x^2}, \\[6pt] \cross{\frac{\partial F_y}{\partial x}} &= \frac{\partial}{\partial x}(\force{x^3 + 6y}) = \cross{3x^2} \end{aligned}
Since ∂Fx∂y=∂Fy∂x\cross{\frac{\partial F_x}{\partial y}} = \cross{\frac{\partial F_y}{\partial x}} everywhere on the xyxy-plane (a region with no holes), F⃗\force{\vec{F}} is conservative and U(x,y)\pot{U(x, y)} is guaranteed to exist.
(b)First find V(x,y)\pot{V(x, y)} such that F⃗=∇V\force{\vec{F}} = \slope{\nabla V}, then set U=−V\pot{U} = -\pot{V}. Undoing the xx-derivative on Fx=3x2y−2\force{F_x} = \force{3x^2y - 2} holding yy fixed and the yy-derivative on Fy=x3+6y\force{F_y} = \force{x^3 + 6y} holding xx fixed gives:
V(x,y)=x3y−2x+(stuff with only y)V(x,y)=x3y+3y2+(stuff with only x)\displaystyle \begin{aligned} \pot{V(x, y)} &= \pot{x^3y - 2x} \\ & + (\text{stuff with only } y) \\ \pot{V(x, y)} &= \pot{x^3y + 3y^2} \\ & + (\text{stuff with only } x) \end{aligned}
Combine the pieces, making sure to write the shared x3y\pot{x^3y} term only once (doubling it to 2x3y2x^3y would give U(2,1)=−15 J\pot{U(2, 1)} = -15\text{ J} and a wrong work of +15 J+15\text{ J}):
V(x,y)\displaystyle \pot{V(x, y)} =x3y−2x+3y2\displaystyle = \pot{x^3y - 2x + 3y^2}
Flipping the sign and using U(0,0)=0 J\pot{U(0, 0)} = 0\text{ J} (so C=0C = 0) gives:
U(x,y)\displaystyle \pot{U(x, y)} =−V(x,y)\displaystyle = -\pot{V(x, y)} =−x3y+2x−3y2\displaystyle = \pot{-x^3y + 2x - 3y^2}
(c)Because the work of F⃗\force{\vec{F}} does not depend on the path, the curve does not matter. Plug A=(0,0) mA = (0, 0)\text{ m} and B=(2,1) mB = (2, 1)\text{ m} into U\pot{U}, and remember to subtract in the order U(A)−U(B)\pot{U(A)} - \pot{U(B)} (computing U(B)−U(A)\pot{U(B)} - \pot{U(A)} gives the opposite sign, −7 J-7\text{ J}):
U(0,0)=0 JU(2,1)=−(2)3(1)+2(2)−3(1)2=−8+4−3=−7 JWork=U(0,0)−U(2,1)=0 J−(−7 J)=+7 J\displaystyle \begin{aligned} \pot{U(0, 0)} &= 0\text{ J} \\ \pot{U(2, 1)} &= -(2)^3(1) + 2(2) - 3(1)^2 \\ &= -8 + 4 - 3 = \pot{-7\text{ J}} \\ \work{\text{Work}} &= \pot{U(0, 0)} - \pot{U(2, 1)} \\ &= 0\text{ J} - (\pot{-7\text{ J}}) = \work{+7\text{ J}} \end{aligned}
5

In three-dimensional space, a particle experiences the force field F⃗(x,y,z)=(2xy−z2,\force{\vec{F}(x, y, z)} = (\force{2xy - z^2}, x2+3y2z,\force{x^2 + 3y^2z}, −2xz+y3−6)\force{-2xz + y^3 - 6}), where xx, yy, and zz are in meters and F⃗\force{\vec{F}} is in newtons. (a) Check all three pairs of cross-derivatives to show that a potential energy landscape U(x,y,z)\pot{U(x, y, z)} exists. (b) Find U(x,y,z)\pot{U(x, y, z)} taking U(0,0,0)=0 J\pot{U(0, 0, 0)} = 0\text{ J}, and calculate the work done by F⃗\force{\vec{F}} when the particle moves along a 3D path from A=(0,0,0) mA = (0, 0, 0)\text{ m} to B=(1,2,−1) mB = (1, 2, -1)\text{ m}.

Integrate each of the three components with respect to its own coordinate, then match up the shared two-variable terms across the three expressions so each term appears once.

(a)Check all three coordinate pairs:
xy-pair:∂Fx∂y=2x,∂Fy∂x=2xyz-pair:∂Fy∂z=3y2,∂Fz∂y=3y2xz-pair:∂Fx∂z=−2z,∂Fz∂x=−2z\displaystyle \begin{aligned} xy\text{-pair:} \quad \cross{\frac{\partial F_x}{\partial y}} &= \cross{2x}, & \cross{\frac{\partial F_y}{\partial x}} &= \cross{2x} \\[6pt] yz\text{-pair:} \quad \cross{\frac{\partial F_y}{\partial z}} &= \cross{3y^2}, & \cross{\frac{\partial F_z}{\partial y}} &= \cross{3y^2} \\[6pt] xz\text{-pair:} \quad \cross{\frac{\partial F_x}{\partial z}} &= \cross{-2z}, & \cross{\frac{\partial F_z}{\partial x}} &= \cross{-2z} \end{aligned}
All three pairs match everywhere in 3D space, so ∇×F⃗=0⃗\cross{\nabla \times \vec{F}} = \vec{0} and U(x,y,z)\pot{U(x, y, z)} exists.
(b)Set F⃗=∇V\force{\vec{F}} = \slope{\nabla V} and integrate each component with respect to its coordinate while holding the other two coordinates fixed:
V(x,y,z)=x2y−xz2+(stuff with only y,z)V(x,y,z)=x2y+y3z+(stuff with only x,z)V(x,y,z)=−xz2+y3z−6z+(stuff with only x,y)\displaystyle \begin{aligned} \pot{V(x, y, z)} &= \pot{x^2y - xz^2} \\ & + (\text{stuff with only } y, z) \\ \pot{V(x, y, z)} &= \pot{x^2y + y^3z} \\ & + (\text{stuff with only } x, z) \\ \pot{V(x, y, z)} &= \pot{-xz^2 + y^3z - 6z} \\ & + (\text{stuff with only } x, y) \end{aligned}
Combine each piece once to form V(x,y,z)=x2y−xz2+y3z−6z\pot{V(x, y, z)} = \pot{x^2y - xz^2 + y^3z - 6z}, and remember to flip the sign to get U=−V\pot{U} = -\pot{V} with U(0,0,0)=0 J\pot{U(0, 0, 0)} = 0\text{ J} (forgetting to flip the sign from V\pot{V} to U=−V\pot{U} = -\pot{V} gives U(1,2,−1)=−1 J\pot{U(1, 2, -1)} = -1\text{ J} and a wrong work of +1 J+1\text{ J}):
U(x,y,z)\displaystyle \pot{U(x, y, z)} =−x2y+xz2−y3z+6z\displaystyle = \pot{-x^2y + xz^2 - y^3z + 6z}
Plug in B=(1,2,−1) mB = (1, 2, -1)\text{ m} and subtract U(A)−U(B)\pot{U(A)} - \pot{U(B)}:
U(1,2,−1)=−(1)2(2)+(1)(−1)2−(2)3(−1)+6(−1)=−2+1+8−6=+1 JWork=U(0,0,0)−U(1,2,−1)=0 J−1 J=−1 J\displaystyle \begin{aligned} \pot{U(1, 2, -1)} &= -(1)^2(2) + (1)(-1)^2 \\ &\quad - (2)^3(-1) + 6(-1) \\ &= -2 + 1 + 8 - 6 = \pot{+1\text{ J}} \\ \work{\text{Work}} &= \pot{U(0, 0, 0)} - \pot{U(1, 2, -1)} \\ &= 0\text{ J} - \pot{1\text{ J}} = \work{-1\text{ J}} \end{aligned}
6

Compare central forces in space with forces like kinetic friction: (a) A spacecraft moves through 3D space under an attractive central force F⃗(r)=−Cr3r^\force{\vec{F}(\pos{r})} = \force{-\frac{C}{r^3}}\hat{r}, where C>0C > 0 is a constant and r=x2+y2+z2\pos{r} = \sqrt{x^2 + y^2 + z^2} is the distance from the origin. Using spheres of radius r\pos{r} centered at the origin, explain why this force is conservative without taking x,y,zx, y, z partial derivatives, find its potential energy function U(r)\pot{U(\pos{r})} with U(∞)=0\pot{U(\infty)} = 0, and write the work done as the spacecraft spirals from point AA at radius rA\pos{r_A} to point BB at radius rB\pos{r_B}. (b) Explain why kinetic friction on a book sliding across a rough table cannot be written as F⃗fric=−∇Ufric(x,y)\force{\vec{F}_{\text{fric}}} = -\slope{\nabla U_{\text{fric}}(x, y)}, giving both the velocity-dependence reason at a single point (x,y)(x, y) and the closed-loop work reason.

In part (a), break a tiny 3D step dr⃗d\vec{r} into a sideways part along the sphere of radius r\pos{r} and a radial part dr r^dr\,\hat{r}, and check which part stays in the dot product F⃗(r)⋅dr⃗\force{\vec{F}(\pos{r})} \cdot d\vec{r}.

(a)Any tiny step dr⃗d\vec{r} in 3D space splits into a sideways part along the sphere of constant radius r\pos{r} and a radial part dr r^dr\,\hat{r}. Because the central force F⃗(r)=f(r)r^\force{\vec{F}(\pos{r})} = \force{f(\pos{r})}\hat{r} points purely radially, it is perpendicular to the sphere's surface, so the sideways part does zero work and F⃗⋅dr⃗=f(r) dr\force{\vec{F}} \cdot d\vec{r} = \force{f(\pos{r})}\,dr. The 3D work integral then simplifies to a 1D integral over r\pos{r} that depends only on the starting radius rA\pos{r_A} and ending radius rB\pos{r_B}:
Work\displaystyle \work{\text{Work}} =∫ABF⃗⋅dr⃗\displaystyle = \int_A^B \force{\vec{F}} \cdot d\vec{r} =∫rArBf(r) dr\displaystyle = \int_{\pos{r_A}}^{\pos{r_B}} \force{f(\pos{r})}\,dr
To find U(r)\pot{U(\pos{r})} for f(r)=−Cr3\force{f(\pos{r})} = \force{-\frac{C}{r^3}} with U(∞)=0\pot{U(\infty)} = 0, keep track of all three minus signs: the minus sign in U(r)=−∫f(r) dr\pot{U(\pos{r})} = -\int \force{f(\pos{r})}\,dr, the minus sign in f(r)=−Cr−3\force{f(\pos{r})} = \force{-Cr^{-3}}, and the minus sign from integrating ∫r−3 dr=−12r−2\int r^{-3}\,dr = -\frac{1}{2}r^{-2} (dropping one minus sign flips U(r)\pot{U(\pos{r})} to +C2r2+\frac{C}{2r^2} and reverses the work to C2rA2−C2rB2\frac{C}{2r_A^2} - \frac{C}{2r_B^2}):
U(r)\displaystyle \pot{U(\pos{r})} =−∫(−Cr3)dr\displaystyle = -\int \left(\force{-\frac{C}{r^3}}\right) dr =∫Cr−3 dr\displaystyle = \int C r^{-3}\,dr =−C2r2\displaystyle = \pot{-\frac{C}{2r^2}}
The work done by the force as the spacecraft moves from rA\pos{r_A} to rB\pos{r_B} is:
Work=U(rA)−U(rB)=−C2rA2−(−C2rB2)=C2rB2−C2rA2\displaystyle \begin{aligned} \work{\text{Work}} &= \pot{U(\pos{r_A})} - \pot{U(\pos{r_B})} \\ &= \pot{-\frac{C}{2r_A^2}} - \left(\pot{-\frac{C}{2r_B^2}}\right) \\ &= \work{\frac{C}{2r_B^2} - \frac{C}{2r_A^2}} \end{aligned}
(b)First, a potential energy landscape U(x,y)\pot{U(x, y)} requires a single, fixed downhill force vector F⃗=−∇U\force{\vec{F}} = -\slope{\nabla U} at each position (x,y)(x, y), whereas kinetic friction depends on velocity (pointing opposite to v⃗\vec{v}): sliding through the same point (x,y)(x, y) to the right gives a leftward friction force, while sliding through (x,y)(x, y) to the left gives a rightward friction force. Second, on any potential energy landscape the net work around a closed loop is zero (∮F⃗⋅dr⃗=0\oint \force{\vec{F}} \cdot d\vec{r} = \work{0}), whereas kinetic friction pushes against the motion on both the outward and return legs of a closed trip, doing negative work the entire way (∮F⃗fric⋅dr⃗<0\oint \force{\vec{F}_{\text{fric}}} \cdot d\vec{r} < 0) and turning mechanical energy into heat.