
Physics I course sequence · Interactive lesson
Gravitational potential energy
Near the ground, mgh is enough. Once a climb is a real fraction of a planet's radius, the pull weakens on the way up and you need an energy function that knows it. Here we build −GMm/r from the work gravity does, make sense of its minus sign, and read binding energy, work and force off one curve.
UPI-13.03 · Lesson 3 of 7 in this unit. Position is not a completion score.Build the model
The zero is at infinity, so every bound position sits below it.
The key idea
Gravitational potential energy U(r) = −GMm/r is the energy of two masses a distance r apart, measured from zero at infinite separation: it equals minus the work gravity does as the masses are brought together from infinitely far apart.
Example. A 1.00 kg mass on Earth's surface has U = −(3.986 × 10¹⁴ m³ s⁻²)(1.00 kg)/(6.371 × 10⁶ m) = −6.26 × 10⁷ J. Freeing it from rest takes 62.6 MJ; at twice that radius the well is half as deep, 31.3 MJ.
The complete physical model and assumptions
Gravity pulls along the line to the centre with a strength that depends only on distance, so the work it does on a mass moving from r₁ to r₂ depends on those two radii and not on the route: steps taken around the centre cost nothing. A force like that is conservative, and it earns a potential energy function. Integrate the inward pull out to infinity: gravity does −GMm/r of work on the way, so with the zero put where the force has faded away, U(r) = −GMm/r. The minus sign is a statement, not a flaw: every position at finite r lies below the energy of complete separation, and the depth GMm/r is the binding energy, the least work that frees the pair from rest. The same curve returns the force, since Fᵣ = −dU/dr = −GMm/r², and near a planet's surface its tangent line is the familiar mgh, which is why mgh serves for stairs and fails for satellites. The model has edges. It holds only outside a spherically symmetric body; inside, the enclosed mass shrinks and the well has a finite floor instead of the plunge 1/r predicts. Close to an irregular body, shape matters. And it is the weak-field limit of general relativity, trustworthy while GM/(rc²) is tiny: 7 × 10⁻¹⁰ at Earth's surface, but about 0.2 at a neutron star.
1Gravity's work depends only on the two radii
Gravity on a mass m points straight at the centre of M, and its size GMm/r² depends only on the distance. Break any path into small steps: a step around the centre, at constant r, is perpendicular to the force and does no work, so only the radial steps count. The work from r₁ to r₂ is therefore a one-variable integral, Wgrav = ∫ −GMm/r² dr from r₁ to r₂ = GMm(1/r₂ − 1/r₁), the same for a straight climb, a spiral or a detour. Raise a 500 kg satellite from r₁ = 7.0 × 10⁶ m to r₂ = 4.2 × 10⁷ m and Wgrav = 3.986 × 10¹⁴ × 500 × (1/(4.2 × 10⁷) − 1/(7.0 × 10⁶)) = −2.37 × 10¹⁰ J. Gravity does negative work on anything moving outward. That independence of route is exactly what allows a potential energy: define ΔU = −Wgrav, so this climb has ΔU = +2.37 × 10¹⁰ J whichever path the satellite took.
2Put the zero at infinity and keep the minus sign
ΔU fixes differences only, so some position must be declared U = 0. The force fades to nothing as r grows, and a zero at infinite separation belongs to no particular planet, so the standard choice is U(∞) = 0. Integrating in from infinity then gives U(r) = −GMm/r, negative at every finite distance: the pair has less energy than it would have fully separated, because gravity does positive work as they come together. Nothing physical hangs on that choice. Put the zero at Earth's surface instead and Uₛ(r) = GMm(1/R − 1/r), positive above the ground. Per kilogram at r = 3R the two conventions read −20.9 MJ kg⁻¹ and +41.7 MJ kg⁻¹, yet from R to 3R both give a rise of 41.7 MJ kg⁻¹, because they differ only by the constant GM/R = 62.6 MJ kg⁻¹. The surface form also exposes a ceiling that mgh hides: however far a kilogram is carried, from rest to rest, the bill never reaches 62.6 MJ.
3Read the force off the slope
Energy and force carry the same information. Differentiating, Fᵣ = −dU/dr = −GMm/r²: U rises with r, so its slope is positive and the radial force is negative, pointing inward. The graph shows how differently the two fall off. At r = 2R the well is half as deep as at the surface, 31.3 MJ kg⁻¹ instead of 62.6, but the slope, which is the pull on each kilogram, has dropped to a quarter: 2.46 N kg⁻¹ instead of 9.82. Replacing the curve by its tangent at the surface means holding the force at mg₀, which is exactly ΔU = mg₀h with h = r − R. Because −1/r bends downward, every tangent lies above the curve, so a constant-force estimate always overstates the energy of a climb: from R to 1.5R it gives 31.3 MJ kg⁻¹ against the true 20.9. The tangent at any radius r₁ reaches U = 0 at 2r₁. A force that kept its starting strength would empty the well within one more r₁ of climbing; the real force weakens, and the curve reaches zero only at infinity.
4Binding energy is the depth of the well
The distance from a point on the curve up to the zero line is the binding energy, Ebind = GMm/r: the least energy that takes the pair from rest at r to rest at infinite separation. Run it backwards and it is the kinetic energy a body gains falling in from rest far away. Per kilogram, the depth at a body's surface is GM/R, which grows with mass and with compactness: 2.82 MJ kg⁻¹ at the Moon, 62.6 MJ kg⁻¹ at Earth, and 1.91 × 10⁵ MJ kg⁻¹ at the Sun's surface. That factor of 22 between the Moon and Earth is why lifting cargo off the Moon is so much cheaper. The energy belongs to the pair, not to m alone: for Earth and the Moon, 3.844 × 10⁸ m apart, U = −GME MM/r = −7.62 × 10²⁸ J, so pulling them apart, if both were held at rest, would take 7.62 × 10²⁸ J whichever body you picture moving. A body that is already moving needs less than Ebind, because its kinetic energy counts toward the bill; how much less belongs to orbital energy and escape.
5Several bodies: add one term for each pair
Potential energy belongs to pairs, so a group of bodies gets one term per pair: U = −Σ G mᵢmⱼ/rᵢⱼ over i < j. The reason is the order of assembly. Bring the bodies in from infinity one at a time: the first costs nothing, the second adds one pair term, the third adds two more, and every pair is counted exactly once. Three 12.0 kg lead spheres at the corners of an equilateral triangle of side s = 0.250 m therefore have U = −3Gm²/s = −3 × 6.674 × 10⁻¹¹ × 12.0² ÷ 0.250 = −1.15 × 10⁻⁷ J, a reminder of how feeble gravity is between laboratory masses. Pulling one sphere far away while the other two are held in place removes the two pairs it belongs to and costs 2Gm²/s = 7.69 × 10⁻⁸ J, two-thirds of the total. The classic slip is to add up each sphere's energy in the field of the other two: every pair then appears twice, and the answer doubles to −2.31 × 10⁻⁷ J.
6Where −GMm/r stops working
The formula rests on the shell theorem, which lets a spherical body act as a point at its centre only for points outside it. Inside a uniform planet only the mass within radius r pulls, the force falls in proportion to r, and integrating that force inward from the surface gives U(r) = −GMm(3R² − r²)/(2R³). At the centre that is −1.5 GMm/R, or −93.8 MJ kg⁻¹ for a uniform Earth: deeper than at the surface, but finite, where −GMm/r would plunge without limit. The real Earth, with its dense core, is somewhat deeper still. Near a body that is not spherical, shape enters: Earth's equatorial bulge changes U near the surface by about one part in a thousand, and beside an elongated asteroid the point-mass form can be badly wrong. Finally, −GMm/r is the weak-field limit of general relativity, reliable while GM/(rc²) ≪ 1. That ratio is 7.0 × 10⁻¹⁰ at Earth's surface and 2.1 × 10⁻⁶ at the Sun's, but about 0.17 at the surface of a 1.4-solar-mass neutron star 12 km in radius, where Newton's potential is no longer a safe guide.
Key equations
Read the units, assumptions and limits before substituting.
Work done by gravity between two radii
Wgrav = ∫ −GMm/r² dr from r₁ to r₂ = GMm(1/r₂ − 1/r₁)
Only the radial part of a path does work, so every route between the same two radii gives the same W: negative going out, positive falling in.
W in J; M, m in kg; r₁, r₂ in m from M's centre; G = 6.674 × 10⁻¹¹ N m² kg⁻²Potential energy with the zero at infinity
U(r) = −GMm/r, with U → 0 as r → ∞
U is negative at every finite r. Only ΔU = U(r₂) − U(r₁) is measurable, and it comes out the same whatever zero you choose.
U in J; r in m from the centre, with r ≥ R outside a spherical body of radius RForce from the slope of U
Fᵣ = −dU/dr = −GMm/r²
Differentiate U to recover Newton's law; integrate the law to recover U, with the constant of integration fixed by the choice of zero.
Fᵣ is the radial component in N, positive pointing away from M; the minus sign turns a rising U into an inward pullBinding energy
Ebind = GMm/r = −U(r)
Per kilogram, GM/R is 62.6 MJ kg⁻¹ at Earth's surface and 2.82 MJ kg⁻¹ at the Moon's, 22 times less.
Ebind in J: the least energy that takes the pair from rest at separation r to rest at infinite separationSeveral bodies: one term per pair
U = −Σ G mᵢmⱼ/rᵢⱼ, summed over pairs i < j
−U is the work that pulls the whole group apart. Moving one body changes only the terms for the pairs it belongs to.
rᵢⱼ in m between the centres of bodies i and j; N bodies make N(N − 1)/2 pairs, each counted onceInside a uniform sphere
U(r) = −GMm(3R² − r²)/(2R³), for r ≤ R
The 1/r form is an outside result. Inside, only the enclosed mass pulls, so the well has a finite floor: −93.8 MJ kg⁻¹ for a uniform Earth.
R is the sphere's radius in m; the form gives −GMm/R at r = R and −3GMm/(2R) at the centreInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. At r₁ = R the dashed tangent is mgh: it reaches U = 0 by 2R and prices the climb to 4R at 187.7 MJ per kg, against a true 46.9. Drag r₁ to 2R: the dot rises halfway to zero, but the slope falls to a quarter, because U goes as 1/r and the force as 1/r².
Live results
- U(r₁) PER KG
- -62.6 MJ kg⁻¹
- ΔU PER KG, r₁ TO r₂
- 46.9 MJ kg⁻¹
- CONSTANT-FORCE GUESS
- 187.7 MJ kg⁻¹
- SLOPE dU/dr AT r₁
- 9.82 N kg⁻¹
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Start radius r₁: 1.0 Earth radii; End radius r₂: 4.0 Earth radii
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
Reading the size of GMm/r instead of the value of U. Because U = −GMm/r, its magnitude shrinks as r grows, and students conclude that a body carried away from a planet loses potential energy. It gains it: a negative number with a smaller magnitude is a larger number. From Earth's surface to 3R, U per kilogram goes from −62.6 MJ kg⁻¹ to −20.9 MJ kg⁻¹, a rise of 41.7 MJ kg⁻¹. The check that never fails is the work. Gravity does negative work on anything moving outward, and ΔU = −Wgrav, so U must increase on the way out. A result with U falling as a body climbs has the sign wrong, and fed into energy conservation it would make a thrown rock speed up as it rises. Near the ground this is the rule you already trust, since mgh also grows with height.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A 3.20 kg rock sample is carried from the surface of Mars to the radius of Phobos's orbit, 9.376 × 10⁶ m from the centre of Mars, and brought to rest there. Take GM = 4.283 × 10¹³ m³ s⁻² and R = 3.390 × 10⁶ m for Mars, and ignore Phobos itself. With U = 0 at infinity, find U at both positions, the change in U, the work done by gravity, and the fraction of the binding energy the trip used.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- At the surface, r = R: U₁ = −GMm/R = −(4.283 × 10¹³ × 3.20) ÷ (3.390 × 10⁶) = −4.04 × 10⁷ J.
- At Phobos's radius: U₂ = −(4.283 × 10¹³ × 3.20) ÷ (9.376 × 10⁶) = −1.46 × 10⁷ J. The magnitude is smaller, so U is larger: it has risen toward zero.
- Change in potential energy: ΔU = U₂ − U₁ = −1.46 × 10⁷ J − (−4.04 × 10⁷ J) = +2.58 × 10⁷ J.
- Gravity does Wgrav = −ΔU = −2.58 × 10⁷ J, negative because the sample moved against the pull. Whatever carried it supplied +2.58 × 10⁷ J.
- The binding energy at the surface is −U₁ = 4.04 × 10⁷ J, so the trip used ΔU/|U₁| = 1 − R/r = 1 − 3.390/9.376 = 0.638 of it, and the sample still sits 1.46 × 10⁷ J below zero.
Answer. U = −4.04 × 10⁷ J at the surface and −1.46 × 10⁷ J at Phobos's radius; ΔU = +2.58 × 10⁷ J, Wgrav = −2.58 × 10⁷ J, and the trip used 63.8% of the binding energy.
MediumExample 2
Three fragments of a broken asteroid lie at rest at the corners of a right triangle: A, 6.00 × 10¹⁵ kg, at the right angle; B, 2.00 × 10¹⁵ kg, 3.00 km from A; and C, 3.00 × 10¹⁵ kg, 4.00 km from A. Treat them as point masses. Find the potential energy of the group, the least work needed to move C very far away while A and B are held in place, and the potential energy that remains.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- List the pairs and separations: AB = 3.00 × 10³ m, AC = 4.00 × 10³ m, and by Pythagoras BC = √(3.00² + 4.00²) km = 5.00 × 10³ m. Three bodies make three pairs.
- Pair terms mᵢmⱼ/rᵢⱼ: AB gives (6.00 × 10¹⁵)(2.00 × 10¹⁵) ÷ 3000 = 4.00 × 10²⁷ kg² m⁻¹, AC gives (6.00 × 10¹⁵)(3.00 × 10¹⁵) ÷ 4000 = 4.50 × 10²⁷ kg² m⁻¹, and BC gives (2.00 × 10¹⁵)(3.00 × 10¹⁵) ÷ 5000 = 1.20 × 10²⁷ kg² m⁻¹.
- U = −G × (4.00 + 4.50 + 1.20) × 10²⁷ = −6.674 × 10⁻¹¹ × 9.70 × 10²⁷ = −6.47 × 10¹⁷ J.
- Moving C away deletes only the pairs it belongs to, AC and BC. From rest to rest, with A and B not moving, the work needed is W = G × (4.50 + 1.20) × 10²⁷ = 3.80 × 10¹⁷ J, about 59% of the group's binding energy.
- What remains is the AB pair: U = −G × 4.00 × 10²⁷ = −2.67 × 10¹⁷ J. Check: −6.47 × 10¹⁷ J + 3.80 × 10¹⁷ J = −2.67 × 10¹⁷ J.
- Adding up each fragment's energy in the field of the other two would give −1.29 × 10¹⁸ J, twice the true value, because every pair gets counted from both ends.
Answer. U = −6.47 × 10¹⁷ J for the group; moving C away takes 3.80 × 10¹⁷ J; the A–B pair keeps U = −2.67 × 10¹⁷ J.
HardExample 3
A mass driver on the airless Moon fires a 25.0 kg ore canister straight up at 1.50 km s⁻¹. Take GM = 4.905 × 10¹² m³ s⁻² and R = 1.737 × 10⁶ m, and ignore the Moon's rotation and Earth's pull. Find the greatest height the canister reaches, compare it with the constant-g prediction, and find the height at which it has lost half its launch kinetic energy.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- Energy is conserved from launch to the top, where the canister is momentarily at rest: ½mv₀² − GMm/R = −GMm/rₘₐₓ. Divide by m and work per kilogram: ½v₀² = 1.125 × 10⁶ J kg⁻¹ and GM/R = 2.824 × 10⁶ J kg⁻¹.
- So GM/rₘₐₓ = 2.824 × 10⁶ − 1.125 × 10⁶ = 1.699 × 10⁶ J kg⁻¹, giving rₘₐₓ = 4.905 × 10¹² ÷ (1.699 × 10⁶) = 2.887 × 10⁶ m and a greatest height h = rₘₐₓ − R = 1.150 × 10⁶ m.
- Constant-g estimate: g₀ = GM/R² = 1.626 m s⁻², so h = v₀²/(2g₀) = 1.125 × 10⁶ ÷ 1.626 = 6.92 × 10⁵ m. The true height is 66% greater, because the pull weakens as the canister climbs and each joule buys more height than mg₀h allows.
- The two answers are linked exactly. Rearranging the energy equation gives h = (v₀²/(2g₀)) ÷ (1 − K₀/Ebind), where K₀/Ebind = 1.125/2.824 = 0.398 compares the launch energy with the binding energy per kilogram: 6.92 × 10⁵ ÷ 0.602 = 1.15 × 10⁶ m. When K₀ ≪ Ebind this collapses to the constant-g result; as K₀ approaches Ebind the height grows without limit.
- Half the launch energy, v₀²/4 = 5.625 × 10⁵ J kg⁻¹, has gone into U when GM/r = 2.824 × 10⁶ − 5.625 × 10⁵ = 2.261 × 10⁶ J kg⁻¹, so r = 2.169 × 10⁶ m, a height of 4.32 × 10⁵ m. That is only 38% of the way to the top: the first half of the energy is spent where the field is strongest.
- Ledger for the 25.0 kg canister: K₀ = 2.81 × 10⁷ J, and U rises from −7.06 × 10⁷ J at launch to −4.25 × 10⁷ J at the top, a gain of 2.81 × 10⁷ J. At r = R the slope dU/dr = GMm/R² = 25.0 × 1.626 = 40.6 N, the canister's weight on the pad, so the curve and the constant-g model agree at the surface and part company above it.
Answer. Greatest height 1.15 × 10⁶ m, 66% above the constant-g 6.92 × 10⁵ m; half the launch kinetic energy is gone by a height of 4.32 × 10⁵ m.
Quick check
Select an answer and explain it before checking.
Review & continue
Gravitational potential energy U(r) = −GMm/r is the energy of two masses a distance r apart, measured from zero at infinite separation: it equals minus the work gravity does as the masses are brought together from infinitely far apart.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics I completion tasks.