Sub topic 4
Gravitational Potential Energy Near the Surface: U = mgh
This chapter assumes you know Newton's laws, the work done by a constant force (W = F·d·cos θ), kinetic energy K = ½mv², basic algebra, and sign conventions for one-dimensional vectors. The previous chapters showed that gravity is a conservative force and that potential energy is work stored by such a force. Here we turn that idea into the formula you will use most often in mechanics, U = mgh.
Where the formula comes from
Lift a mass m straight up at constant speed by a height h. Gravity pulls down with force mg while the displacement points up, so the angle between them is 180° and cos 180° = −1. The work done by gravity is
W_gravity = −mg·h
The work done by you (or any agent lifting at constant speed) is +mg·h. Potential energy is defined so that the change in U equals the negative of the work done by the conservative force:
ΔU = −W_gravity = +mg·h
So raising an object by h raises its potential energy by mgh. Lowering it by h makes gravity do positive work, and U drops by mgh.
For a vertical coordinate y measured upward, this becomes
U(y) = m·g·y + constant
The constant depends on where you decide U = 0. That choice is the subject of a later chapter. For now, write U = mgh with h measured from a level you pick, and remember that only differences in U affect the physics.
What each symbol means
| Symbol | Meaning | Unit |
|---|---|---|
| m | Mass of the object | kg |
| g | Magnitude of gravitational acceleration, about 9.81 m/s² near Earth's surface | m/s² |
| h | Height above the chosen zero level, measured upward | m |
| U | Gravitational potential energy | J (joule = kg·m²/s²) |
Heights below the reference level are negative, so U can be negative. A book on the floor has negative U if you measure h from a table above it. This is not a mistake.
Path independence: only vertical change matters
Gravity is conservative, so the work it does between two points does not depend on the route. Consider a force that is always straight down. Split any path into tiny steps. Each step contributes −mg·Δy, where Δy is only the vertical part of the step. Horizontal motion is perpendicular to gravity and contributes zero work. Adding all steps gives −mg·(yfinal − yinitial), whatever the path.
This is why U depends only on height. A 2 kg box carried up a staircase, up a winding ramp, or straight up in an elevator gains the same potential energy if it ends at the same height.
The routes do differ in other ways. The ramp needs a smaller force over a longer distance, and a real ramp with friction costs extra energy. Those costs belong to non-conservative forces, which a later chapter covers. The change in gravitational potential energy itself does not depend on the route.
A first use: speed of a dropped object
Suppose a ball is released from rest at height h and falls freely to the ground. The only force that does work is gravity, so potential energy converts to kinetic energy. Taking U = 0 at the ground:
- Initial: K = 0 and U = mgh.
- Final: K = ½mv² and U = 0.
If the total K + U is the same at both points (the next chapter justifies this carefully), then
mgh = ½mv², so v = √(2gh)
The mass cancels. A bowling ball and a tennis ball dropped from the same height, ignoring air resistance, reach the ground at the same speed.
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")This prints Speed at the ground: 9.90 m/s. Notice what the method avoided. You never needed the fall time or the acceleration equations. You compared two states, "at rest at height h" and "at the ground", and ignored everything in between.
The same answer on a frictionless ramp
Now let the ball (or a block) slide down a frictionless 30° incline whose top is 5.0 m above the bottom. The incline's length is 10 m, and the block accelerates at only g·sin 30° = 4.9 m/s². The kinematics are different, but the energy bookkeeping is identical. Only the vertical drop matters, so the speed at the bottom is again 9.90 m/s.
This works because the normal force from the ramp is perpendicular to the motion and does no work. If the ramp has friction, it no longer works, as a later chapter explains.
Watching K and U trade off
The total energy K + U stays fixed during a free fall while the two parts change. The script below tracks a 2.0 kg object released from rest at 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")Here the heights and speeds come from the kinematics formulas, and K and U are then computed independently. The output is:
| t (s) | K (J) | U (J) | K + U (J) |
|---|---|---|---|
| 0.0 | 0.00 | 392.40 | 392.40 |
| 0.5 | 24.06 | 368.34 | 392.40 |
| 1.0 | 96.24 | 296.16 | 392.40 |
| 1.5 | 216.53 | 175.87 | 392.40 |
| 2.0 | 384.94 | 7.46 | 392.40 |
The sum is m·g·h0 = 2.0 × 9.81 × 20.0 = 392.40 J at every time. This is a numerical check that the kinematics and the energy formula are consistent. K grows with t² while U falls with t², and the two changes cancel exactly.
Setting up h correctly
Most mistakes with U = mgh come from the setup, not the arithmetic. Keep these points in mind.
- h is a vertical coordinate, not a distance traveled. On a ramp, use the vertical drop, not the length of the ramp. For a ramp of length L at angle θ, the drop is h = L·sin θ.
- Choose the zero level once and keep it. Pick a convenient level, usually the lowest point of the motion, and measure every height from it. Do not switch levels halfway through a problem.
- Use the same g sign convention as your axis. With y upward and U = mgy, g is the positive number 9.81 m/s². The minus sign appears in the force (−mg), not in the formula for U.
- For extended objects, use the center of mass. A uniform 10 kg rod standing on one end and then lying flat has its center of mass lowered from L/2 to about 0. Its potential energy changes by m·g·(L/2), not m·g·L. Treat the whole object as a point at its center of mass.
- Include all the objects that move. In a system with two blocks connected by a rope over a pulley, one block gains U while the other loses it. Add up the changes for every part.
- Do not use cos θ for the potential energy itself. The angle matters only through the geometry that fixes h. U = mgh has no angle in it.
When "near the surface" stops being valid
The formula U = mgh assumes g is the same at every height in the problem. In reality g falls with distance r from Earth's center as g(r) = g₀(R/r)², where R ≈ 6371 km. At height h above the surface, g is smaller by roughly the fraction 2h/R for small h.
| Height above surface | Approximate drop in g |
|---|---|
| 100 m | 0.003% |
| 10 km (airliner) | 0.31% |
| 100 km | 3.1% |
| 400 km (space station) | 11% (exact value 8.7 m/s² vs 9.81 m/s²) |
For a building, a cliff, or a roller coaster, the constant-g model is excellent. For a rocket or a satellite, it is not. The 400 km row shows the first-order estimate overshooting, since 2h/R = 12.6% while the exact figure is closer to 11%. The estimate is only trustworthy for h much smaller than R. A later chapter replaces mgh with the general expression −GMm/r for large distances, and it reduces to mgh in the limit of small h.
Gravity is only one possible contributor
U = mgh covers only the gravitational part of an object's stored energy. A block on a spring at height h has both gravitational and elastic potential energy. A charged particle in an electric field would have electric potential energy too. When you write an energy balance, include a U term for every conservative force that can do work in the problem. The next chapter introduces the spring term.
Summary of the working model
- Gravity near the surface does work −mg·Δy, which depends only on vertical displacement.
- Define U = mgh, with h measured upward from a reference level you choose.
- Only changes in U have physical meaning. The choice of zero cancels out of every ΔU.
- Compare two states and ignore the path, provided no non-conservative force does work.
- Treat extended objects through their center of mass.
- The formula holds while g is nearly constant over the heights involved.
Exercise
A 3.0 kg book sits on the floor. You lift it onto a shelf 1.5 m above the floor. (a) By how much does its gravitational potential energy change? (b) If you set U = 0 on the shelf instead of the floor, what is the book's potential energy while it sits on the floor, and what is the change in U for the same lift?
Show answer
(a) ΔU = mgΔh = 3.0 × 9.81 × 1.5 = 44.1 J. (b) With U = 0 on the shelf, the floor is at h = −1.5 m, so U = 3.0 × 9.81 × (−1.5) = −44.1 J. The book on the shelf has U = 0, so the change for the same lift is 0 − (−44.1) = +44.1 J. The change is the same for either choice of zero level.
Exercise
A 2.0 kg block slides from rest down a frictionless incline of length 4.0 m that makes a 30° angle with the horizontal. Use energy to find its speed at the bottom.
Show answer
The vertical drop is h = L·sin 30° = 4.0 × 0.5 = 2.0 m. Taking U = 0 at the bottom, mgh = ½mv², so v = √(2gh) = √(2 × 9.81 × 2.0) = √39.24 ≈ 6.26 m/s. The mass cancels, and the normal force does no work because it is perpendicular to the motion.
Exercise
The constant-g model overestimates g at height h by about 2h/R, where R = 6371 km. At roughly what height does the error in g reach 1%?
Show answer
Set 2h/R = 0.01, so h = 0.005 × 6371 km ≈ 32 km. Below that height, using a constant g is accurate to better than 1%, which is fine for almost any ground-level problem.