Sub topic 7
Conservation of mechanical energy: K + U stays constant
This chapter assumes you know Newton's laws, work as force times displacement times cosine of the angle, kinetic energy K = ½mv², and one-dimensional sign conventions. It also assumes you have met conservative forces, the gravitational potential energy U = mgh, and the spring energy U = ½kx² from earlier chapters. Here these pieces combine into one of the most useful tools in mechanics.
The statement
Mechanical energy is the sum of kinetic and potential energy:
E = K + U
If only conservative forces do work on a system, E does not change. For any two states, called 1 and 2:
K₁ + U₁ = K₂ + U₂
Equivalently, ΔK = −ΔU. Kinetic energy gained equals potential energy lost. You compare two moments and ignore everything between them. You don't need the path, the time, or the acceleration.
Why it is true
Two facts combine.
- The work-energy theorem says the net work on an object equals its change in kinetic energy: W_net = ΔK.
- A conservative force has an associated potential energy, defined so that the work it does is W_cons = −ΔU.
Suppose every force that does work is conservative. Then Wnet = Wcons, so:
ΔK = −ΔU, which gives ΔK + ΔU = 0
The sum K + U therefore stays the same. The argument depends on the condition "only conservative forces do work." If a force that does work is not conservative, the argument breaks, and the next chapters handle that case.
Forces that do no work do not break it
Many forces act in a problem without affecting E:
- A normal force from a surface is perpendicular to the displacement of a sliding object, so it does zero work. A frictionless ramp conserves mechanical energy even though the ramp pushes on the block.
- The tension in a pendulum string is perpendicular to the bob's velocity at every instant, so it does zero work.
- Gravity and the spring force are conservative, so their work is accounted for by U terms.
This is why energy methods handle curved tracks, pendulums, and roller coasters so easily. The shape of the track does not matter, because the track's force does no work.
Energy trading back and forth
For an object in free fall, K and U change continuously while their sum stays fixed. The script below tabulates a 2.0 kg object dropped from 20 m.
g = 9.81
m = 2.0
h0 = 20.0 # initial height in m
for t in [0.0, 0.5, 1.0, 1.5, 2.0]:
y = h0 - 0.5 * g * t**2 # height of an object in free fall
v = g * t # speed
K = 0.5 * m * v**2
U = m * g * y
print(f"t={t:.1f} s K={K:7.2f} J U={U:7.2f} J K+U={K + U:7.2f} J")Every row shows K + U = 392.40 J, which is m·g·h₀. At t = 0, K is zero and U holds all of the energy. At t = 2.0 s, U has dropped to 313.92 J and K has risen to 78.48 J. Notice that this table used kinematics to find y and v. Energy conservation lets you skip that step when you only want the speed at a given height.
Working a problem by comparing two states
Compare the energy method with the kinematics route for a dropped object. Take the release point and the ground as the two states. Set U = 0 at the ground.
- State 1: at rest at height h, so K₁ = 0 and U₁ = mgh.
- State 2: at the ground, so K₂ = ½mv² and U₂ = 0.
Setting the sums equal gives mgh = ½mv². The mass cancels, so v = √(2gh).
import math
g = 9.81 # m/s^2
h = 5.0 # drop height in m
# Energy at release: all potential (taking U = 0 at the ground). Energy at ground: all kinetic.
# m*g*h = (1/2)*m*v**2, so the mass cancels.
v = math.sqrt(2 * g * h)
print(f"Speed at the ground: {v:.2f} m/s")The output is 9.90 m/s. The result would be the same for a block sliding down a frictionless ramp of the same height, because the ramp's normal force does no work. Only the vertical drop matters, not the path length.
A spring launch
For a block pushed against a spring on a frictionless horizontal surface, the gravitational term is constant and drops out. The spring's stored energy ½kx² becomes kinetic energy once the block leaves the relaxed spring:
½kx² = ½mv², so v = x·√(k/m)
import math
m = 0.50 # block mass in kg
k = 200.0 # spring constant in N/m
x = 0.10 # compression in m
# (1/2)*k*x**2 = (1/2)*m*v**2 on a frictionless surface
v = x * math.sqrt(k / m)
print(f"Speed leaving the spring: {v:.2f} m/s")The block leaves at 2.00 m/s. Here x is the displacement from the spring's relaxed length, not the spring's total length.
Several kinds of energy in one problem
Real problems often include both gravitational and elastic terms. The general form is:
½mv₁² + mgy₁ + ½kx₁² = ½mv₂² + mgy₂ + ½kx₂²
Include a term only when it is relevant, and leave out terms that are zero in a given state. For example, a falling block has no spring term until it touches the spring.
Example: a block dropped onto a spring
A 0.50 kg block is released from rest 0.40 m above the top of a vertical spring with k = 200 N/m. How far does the spring compress at the lowest point?
Choose the lowest point as state 2 and the release point as state 1. In both states the block is at rest, so K = 0 in both. The block falls a total distance h + x, where h = 0.40 m and x is the compression. Taking U_gravity = 0 at the lowest point:
- State 1: U = mg(h + x)
- State 2: U = ½kx²
Setting them equal gives ½kx² − mgx − mgh = 0. This is a quadratic, which you can solve numerically.
import math
m = 0.50 # kg
k = 200.0 # N/m
g = 9.81 # m/s^2
h = 0.40 # free-fall distance above the spring, m
# (1/2)k x^2 - m g x - m g h = 0 -> a x^2 + b x + c = 0
a = 0.5 * k
b = -m * g
c = -m * g * h
x = (-b + math.sqrt(b**2 - 4 * a * c)) / (2 * a)
print(f"Maximum compression: {x:.3f} m")The compression is about 0.167 m. The quadratic has two roots. The negative root would mean the spring is stretched upward, which does not apply to this problem, so the code uses the positive root. The block does not stop at equilibrium. At the equilibrium compression mg/k ≈ 0.025 m the block is still moving, so it overshoots to a much larger compression.
The pendulum and the loop
Energy conservation shines when the force is not constant. Two classic cases follow.
Pendulum. A bob of length L = 1.2 m is released from rest at 60° from the vertical. It rises L(1 − cos θ) above its lowest point, which is 0.6 m for these values.
import math
g = 9.81
L = 1.2
theta = math.radians(60)
h = L * (1 - math.cos(theta)) # height above the lowest point
v = math.sqrt(2 * g * h)
print(f"Height: {h:.2f} m, speed at bottom: {v:.2f} m/s")The output is a height of 0.60 m and a speed of 3.43 m/s. Newton's second law with a changing angle would take much more work.
Loop-the-loop. A cart rolls without friction from rest at height h above the bottom of a circular loop of radius R. To stay on the track at the top, the normal force can be at most zero, which gives the minimum top speed v² = gR from Newton's second law (mg = mv²/R). Energy conservation then gives the starting height:
mgh = mg(2R) + ½m(gR), so h = 2.5R
Energy conservation supplies the relation between heights and speeds, and Newton's second law supplies the condition for contact. Many problems need both.
When friction acts, the bookkeeping changes by one term, W_nc. The full method is in the next chapters, but the idea is simple. Friction's negative work shows up as mechanical energy that goes missing. For instance, a 1.0 kg block that starts at rest 2.0 m up a ramp and reaches the bottom at 5.0 m/s has lost 19.62 − 12.50 = 7.12 J, and friction accounts for it:
g = 9.81
m = 1.0 # kg
h = 2.0 # ramp height in m
v_bottom = 5.0 # measured speed at the bottom in m/s
U_initial = m * g * h
K_final = 0.5 * m * v_bottom**2
# Mechanical energy lost equals the energy dissipated by friction.
E_dissipated = U_initial - K_final
print(f"Energy dissipated by friction: {E_dissipated:.2f} J")Common errors
| Error | Why it fails | Fix |
|---|---|---|
| Using the energy method when friction or air drag matters | Those forces remove mechanical energy, so K + U is not constant | Add the work of the non-conservative force to the balance |
| Using path length instead of vertical height in U = mgh | Gravitational U depends only on height | Measure the change in vertical position |
| Using the spring's total length for x | U = ½kx² needs the displacement from the relaxed length | Subtract the relaxed length first |
| Forgetting a U term at one of the states | The two sides of the equation no longer match | Write every term for both states, then cross out zeros |
| Mixing reference levels between states | U values are only meaningful relative to one zero | Pick one zero for the whole problem |
| Applying it across a collision | Collisions that deform objects are not conservative | Use momentum for the collision, then energy afterward |
| Dropping the velocity direction | Energy is a scalar, so direction never enters | Keep only speeds in K |
Limits and edge cases
- Energy is a scalar. The direction of the velocity does not matter, so the same speed at a given height results from throwing a ball up, down, or sideways.
- Defining the system. Gravitational potential energy belongs to the object-Earth system. If you treat gravity as an external force instead, you must use the work done by gravity, not a U term. Do not do both.
- Rotating or deformable objects. K can include rotational energy, which later chapters cover. A rolling ball uses some of its energy for spinning, so a simple ½mv² understates K.
- Reference-level freedom. Shifting the zero of U adds the same constant to both sides, so the equation is unchanged. Only differences in U matter.
Exercise
A ball is thrown straight up from the ground at 12 m/s. Ignoring air resistance, how high does it rise? Take g = 9.81 m/s².
Show answer
At the top the speed is zero, so all the kinetic energy has become potential energy: ½mv² = mgh. The mass cancels, so h = v²/(2g) = 144/19.62 ≈ 7.34 m.
Exercise
A 0.20 kg block is pressed against a horizontal spring with k = 500 N/m, compressing it by 0.080 m, and then released. The block slides up a frictionless ramp. How high above its starting level does it rise before stopping? Take g = 9.81 m/s².
Show answer
The stored spring energy is ½kx² = ½(500)(0.080)² = 1.60 J. At the highest point, all of it is gravitational energy: mgh = 1.60 J. So h = 1.60/(0.20 × 9.81) ≈ 0.82 m.
Exercise
A skier slides down a frictionless hill from rest at height 30 m, then up a second hill whose top is 25 m high. Will the skier reach the top of the second hill? What is the speed there if so? Take g = 9.81 m/s².
Show answer
Yes. The skier starts with energy mg(30) and needs only mg(25) to reach the top, so energy is left over. At the top, ½v² = g(30 − 25), so v = √(2 × 9.81 × 5) ≈ 9.90 m/s.