Sub topic 3
Potential Energy as Work Stored by a Conservative Force
This chapter assumes you know Newton's laws, the work done by a constant force (force × displacement × cos θ), kinetic energy as ½mv², basic algebra, and sign conventions for one-dimensional vectors. Earlier chapters covered the work-energy theorem and conservative forces. Here you turn those results into a definition of potential energy and learn to use it without sign mistakes.
The idea: work you can get back
Lift a box from the floor to a shelf. Your hand does positive work on the box, and gravity does negative work. The box ends at rest, so its kinetic energy has not changed. Yet the lift is not wasted. If the box falls off the shelf, gravity does positive work and the box speeds up. The shelf position holds the ability to produce kinetic energy later.
Potential energy is the name for that ability. It is the energy a system holds because of the arrangement of its parts, such as the box and Earth, or a block and a spring. A conservative force lets you store work in this way and retrieve all of it.
Definition: the change in U is minus the work
For a conservative force, the change in potential energy between two positions is defined as the negative of the work that force does:
ΔU = U(B) − U(A) = −W_c(A→B)
Here W_c is the work done by the conservative force, not by you or by any other force. Three consequences follow.
- Only the change ΔU is defined by this equation. A value of U at a single point needs a chosen zero, which a later chapter covers.
- If the conservative force does positive work, U decreases. If it does negative work, U increases.
- The sign rule is a statement about the force's work, so check which force the "W" belongs to before using it.
| Situation | Work by the conservative force | ΔU | Example |
|---|---|---|---|
| Force points along the displacement | Positive | Negative | A ball falling |
| Force points against the displacement | Negative | Positive | A box lifted; a spring being compressed |
| Force is perpendicular to the displacement | Zero | Zero | Sliding along a level floor, as far as gravity is concerned |
Why the force must be conservative
The definition only makes sense if −W_c depends on the endpoints A and B and not on the route. If it depended on the route, "the potential energy at B" would have no single value. You would need to know how the object got there.
A force is conservative when it passes this test. Equivalent statements are that the work between two points is path independent, and that the work around any closed loop is zero. Gravity near Earth's surface and an ideal spring are conservative. Kinetic friction is not, because the work it does grows with the length of the path.
The code below makes the difference concrete. It computes the work done along a path in one dimension by adding up F·dx over many small steps. It compares gravity with kinetic friction for two routes between the same endpoints. Route 1 goes straight from x = 0 to x = 3 m. Route 2 goes out to x = 5 m and comes back to x = 3 m.
def work(force, x_start, x_end, n=100_000):
"""Work done by force(x) from x_start to x_end (midpoint rule).
dx is negative when moving toward smaller x, so the sign of the
work follows the direction of travel automatically.
"""
dx = (x_end - x_start) / n
total = 0.0
for i in range(n):
x_mid = x_start + (i + 0.5) * dx
total += force(x_mid) * dx
return total
m = 2.0
g = 9.81
f_k = 1.5 # magnitude of kinetic friction in N
def gravity(x):
return -m * g # constant, always points toward smaller x
# Route 1: 0 -> 3. Route 2: 0 -> 5 -> 3.
W_grav_1 = work(gravity, 0.0, 3.0)
W_grav_2 = work(gravity, 0.0, 5.0) + work(gravity, 5.0, 3.0)
# Kinetic friction opposes the motion, so its sign flips with the direction.
W_fric_1 = work(lambda x: -f_k, 0.0, 3.0)
W_fric_2 = work(lambda x: -f_k, 0.0, 5.0) + work(lambda x: +f_k, 5.0, 3.0)
print(f"Gravity, route 1: {W_grav_1:8.2f} J")
print(f"Gravity, route 2: {W_grav_2:8.2f} J")
print(f"Friction, route 1: {W_fric_1:8.2f} J")
print(f"Friction, route 2: {W_fric_2:8.2f} J")Gravity gives −58.86 J on both routes, so a potential energy exists: ΔU = +58.86 J between x = 0 and x = 3 m. Friction gives −4.50 J on route 1 and −10.50 J on route 2. No function of position alone can describe that, so friction has no potential energy.
Checking the definition on a spring
You can recover a known formula from the definition by integrating the force. An ideal spring pulls back with F = −kx, where x is the stretch or compression from the relaxed position. The code below computes the work the spring does as it is compressed from x = 0 to x = 0.10 m, then converts it to ΔU.
def work(force, x_start, x_end, n=100_000):
dx = (x_end - x_start) / n
total = 0.0
for i in range(n):
x_mid = x_start + (i + 0.5) * dx
total += force(x_mid) * dx
return total
k = 200.0 # N/m
spring = lambda x: -k * x
W_spring = work(spring, 0.0, 0.10)
delta_U = -W_spring
print(f"Work by spring: {W_spring:.4f} J")
print(f"Delta U: {delta_U:.4f} J")
print(f"k*x^2/2: {0.5 * k * 0.10**2:.4f} J")The spring does −1.0000 J of work, so ΔU = +1.0000 J, which matches ½kx². The next two chapters use this same procedure for gravity and springs. The definition is the source of those formulas, and you can rederive them whenever you forget one.
A worked example with signs
A 2.0 kg box is lifted slowly from the floor to a shelf 3.0 m up. Use g = 9.81 m/s².
- Work by gravity: the force is mg = 19.62 N downward and the displacement is 3.0 m upward, so W_g = −(19.62)(3.0) = −58.86 J.
- Change in potential energy: ΔU = −W_g = +58.86 J. The box–Earth system now holds 58.86 J more potential energy.
- Work by your hand: the box starts and ends at rest, so ΔK = 0 and the net work is zero. Your hand must supply W_hand = +58.86 J.
The hand's work equals the increase in U only because the box moves slowly and ends at rest. If you jerk the box so it arrives with speed, part of your work becomes kinetic energy, and ΔU is still +58.86 J. The definition of ΔU never mentions your hand. It depends only on gravity and the endpoints.
Potential energy belongs to the system
Potential energy is not a property of the box alone. It comes from an interaction. The 58.86 J belongs to the box–Earth system, because the force responsible is the pair of gravitational forces between them. In a spring problem, the energy belongs to the spring–block system.
In most problems Earth barely moves, so people say "the box has potential energy." That is shorthand and usually harmless. It matters when you list which objects are inside your system, because the definition of "inside" decides whether a force counts as internal (stored as U) or external (work done on the system from outside).
Preview: how U connects to kinetic energy
The work-energy theorem says the net work on an object equals its change in kinetic energy. Suppose only a conservative force does work. Then Wnet = Wc = ΔK, and the definition gives W_c = −ΔU. Combining them:
ΔK = −ΔU, or ΔK + ΔU = 0
Any kinetic energy gained comes from potential energy lost, and the reverse. A later chapter develops this as conservation of mechanical energy. The point for now is that the minus sign in the definition is what makes this trade work.
Common errors
- Using the wrong work in ΔU = −W. The W must be done by the conservative force. Using the work done by your hand flips the sign. In the box example, the hand's work is +58.86 J and ΔU is also +58.86 J, so the mistake goes unnoticed. For a box lowered slowly, the hand's work is negative and ΔU is negative, and again they agree. They differ whenever the box gains or loses kinetic energy.
- Counting the same effect twice. Work by gravity and ΔU from gravity describe the same energy transfer. If you include ΔUgravity in your energy equation, do not also add Wgravity. Pick one description per force.
- Assigning potential energy to friction, drag, or a push. If the work depends on the path, there is no U. The test is path independence, so check it before writing any U.
- Thinking U must be positive. Only differences are fixed by the definition. A negative U just means the system sits below the chosen zero.
- Mixing up the sign of ΔU with the direction of motion. Moving up does not by itself mean ΔU > 0 for every force. The sign comes from whether the force does negative or positive work. A charge moving toward an attracting charge loses potential energy, even though "toward" has no up or down.
- Forgetting the system. If an energy bookkeeping fails to close, check whether a force that does work on your chosen system is missing from the list.
Exercises
Exercise
A 1.5 kg book is lowered slowly at constant speed from a shelf to a table 2.0 m below. Use g = 9.81 m/s². Find the work done by gravity, the change in potential energy of the book–Earth system, and the work done by your hand.
Show answer
Gravity's force is mg = 1.5 × 9.81 = 14.715 N downward, and the displacement is 2.0 m downward, so Wg = +14.715 × 2.0 = +29.43 J. The change in potential energy is ΔU = −Wg = −29.43 J. The book moves at constant speed, so ΔK = 0 and the net work is zero. Your hand therefore does W_hand = −29.43 J.
Exercise
A block slides across a rough floor from A to B along a straight line of 3 m. Another time it slides from A to B along a curved path of 7 m. Kinetic friction has the same magnitude both times. Why can't friction have a potential energy?
Show answer
The work done by kinetic friction is −fk times the path length, so it is about −3fk on the straight line and −7f_k on the curved path. The endpoints are the same but the work differs. A potential energy must be defined by a work that depends only on the endpoints, so friction fails the path-independence test and has no potential energy.