Gravitational and Elastic Potential Energy
In 1638, under house arrest and half blind, Galileo published the observation that started all of energy physics: a ball rolling down any ramp arrives at the bottom with a speed that depends only on the height it descended — not on the slope, the shape, or the time taken. Drop it, roll it, spiral it down a helix: same height, same final speed. Nature, it turns out, keeps an account book in which position alone fixes the balance. We now call that balance potential energy, and this article is about its two workhorse entries: the energy of a raised mass, , and the energy of a deformed spring, . The two formulas could hardly look more different — one linear in position, one quadratic, one with a freely movable zero, one pinned to the spring's natural length — yet they are the same idea twice: the work you must do against a conservative force, banked in the configuration of a system and repayable in full, on demand, as kinetic energy. Between them they price almost everything in introductory mechanics: pile drivers and pendulums, dams and drawn bows, roller coasters and rock climbers' ropes. Master these two and you inherit the energy method — the trick of skipping Newton's vector equations entirely and reading speeds, turning points, and equilibria straight off a scalar function. A hydroelectric reservoir is at grid scale; the quartz tuning fork timing your watch is at the micron scale. Same account book, twenty orders of magnitude apart.
- Potential energy is banked work: for a conservative force, depends only on position, and the force is recovered as the downhill slope, .
- Near Earth's surface the gravitational entry is — linear in height, path-independent, with a zero level you may place anywhere because only differences are physical.
- A Hooke's-law spring stores , where is measured from the natural length — this zero is not movable, and the energy is positive for stretch and compression alike.
- is itself an approximation: expanding the exact for heights recovers with ; the error is about — already 6% at ISS altitude.
- Hanging a mass on a vertical spring does not change the spring physics: gravity only shifts the equilibrium by , and measured from the new equilibrium the potential is again plus a constant.
- Key idea: for a conservative force the work done is minus the change of a position-only function ; with and in hand, conservation of turns force-and-acceleration problems into one-line energy balances.
For a conservative force the work done is minus the change in a position-only function ; setting constant turns force-and-acceleration problems into one-line energy balances, with and the two foundational examples.
Where this lives today
The world's largest batteries are still gravitational. Pumped-storage plants like Bath County in Virginia — the biggest on Earth — pump water uphill when electricity is cheap and let it fall through turbines when the grid is hungry: about of water behind the upper dam at a head is an deposit of , roughly gross — the scale of tens of millions of phone batteries, stored as nothing more exotic than raised water. The catch is dilution: at of head, each kilogram banks only , about 250 times less than a kilogram of lithium-ion cell — which is why gravity storage needs mountains and lakes, and your phone does not. The elastic store went the other direction: miniature and precise. The quartz resonator timing your watch, the MEMS accelerometer that flips your phone screen, and the atomic-force-microscope cantilever that images single molecules are all engineered parabolic valleys — with spring constants tuned from thousands of newtons per metre down to thousandths. And the "any minimum is a spring" fact from the limiting-cases table is the working assumption of modern computational chemistry: near equilibrium, every chemical bond is modeled as a spring whose is read off the quantum potential-energy surface, so the vibrational spectrum of a molecule is a table of effective spring constants.
The physical picture
Lift a brick slowly to a shelf: every joule your hand supplies is deposited in the Earth–brick system, and the account pays out in full — as kinetic energy — the moment the brick falls. Draw a bow: the work of your arm is coiled into the bent limbs, and the arrow collects it on release. Neither deposit cares how it was made. Lift the brick straight up or walk it up a staircase; draw the bow fast or agonizingly slowly — the stored energy depends only on the final configuration. That indifference to history is what makes a force conservative, and it is the only license you need to define potential energy at all.
The most useful mental image is the energy landscape: plot against position and imagine the system as a ball rolling on that terrain. Gravity's landscape near the surface is a featureless ramp of constant slope ; the spring's is a parabolic valley centered on the natural length. The force at any point is the downhill steepness, : the ramp pushes one way everywhere, the valley always pushes back toward the bottom. Conservation of energy draws a horizontal line at height across the landscape — the system can only ever be where the terrain lies below that line, it moves fastest where the terrain is lowest, and it turns around exactly where the line meets the ground.
One asymmetry between the two stores deserves attention before the algebra, because it is the most common source of wrong answers. Gravity's zero level is yours to choose — floor, tabletop, sea level — because only changes in ever appear in the physics. The spring's zero is not negotiable: in is the deformation from the natural, unstretched length, because that is the unique configuration where the spring pushes on nothing. Move that origin and the formula simply stops being true.
From work to a bank account
Potential energy is defined by the work a conservative force does. To make the idea precise we start from the general work integral and turn it around: instead of asking how much work the force does along some path, we ask what function of position alone could summarize that work once and for all. Such a function exists exactly when the work is path-independent — which both uniform gravity and the ideal spring satisfy.
where: — potential energy at position ; — the reference configuration where ; — the conservative force whose work is being banked. The minus sign implements the accounting convention: when the force does positive work (the brick falls, the spring relaxes), the account is drawn down, so decreases. Change the reference point and you shift everywhere by one constant — which is why the zero is physically empty freedom. Once the account exists, the force can be read back out of it. Differentiating equation (1) undoes the integral, and in more than one dimension the derivative that appears is the gradient — the direction of steepest increase of , with the force pointing the opposite way, downhill:
where: — the gradient of the potential; — the one-dimensional case used throughout this article. This is the landscape picture made literal: steep terrain means strong force, flat terrain means equilibrium. It also explains instantly why adding a constant to changes nothing — the derivative of a constant is zero, so the force, and hence all the motion, is untouched. With the machinery in place, the two stars of this article are one integral each. For sizing them up quickly:
| situation | use | zero point | shape |
|---|---|---|---|
| mass at height , | anywhere you like | straight ramp, slope | |
| spring deformed by | natural length only | parabola, curvature | |
| altitude not small vs | infinity (convention) | well | |
| both at once (vertical spring) | new equilibrium | same parabola, relocated |
We are deriving , the potential energy of a mass in the uniform field near Earth's surface, directly from the definition (1). The strategy is to compute the work done by the constant force along a completely arbitrary path from the reference point to the final position, and watch the horizontal part of the path drop out of the dot product — that disappearance is the path-independence that licenses a potential energy in the first place. The step to watch is the dot product itself: gravity is vertical, so only the vertical component of each path element survives.
Step 1. Write the work done by gravity along an arbitrary path from the origin (our reference, ) to the point , chopping the path into elements :
Why the horizontal motion vanishes: , so every sideways step is free — gravity neither helps nor hinders it. The integral no longer knows anything about the path's shape, only its net rise .
Step 2. Evaluate the surviving integral and apply the definition (1), :
Why the sign comes out right: raising the mass means gravity did negative work on it, so the account balance went up — energy was deposited.
Step 3. Check the reference-level freedom explicitly. Measuring height from a level shifted by replaces , so : the same function plus a constant. By equation (2) the force is unchanged, and in any energy balance the constant cancels between the two sides. Only is ever physical. For example, a 2 kg ball lifted 3 m gains regardless of path — the direct route and any staircase route give the same answer.
Go deeper · Derivation B · 1 minElastic potential energy and why it is quadratic
We are deriving for an ideal Hooke's-law spring, again straight from the definition (1). The route is a one-dimensional integral of the restoring force from the natural length out to deformation . Two features deserve watching: where the comes from — the force is not constant, so the work is the area of a triangle, not a rectangle — and why the result cannot be negative, which is what pins the zero of elastic energy to the natural length with no freedom of choice.
Step 1. Integrate the definition with , taking the natural length as the reference where :
Why the half: the opposing force grows from at the start of the pull to at the end, so the work is the area under a straight ramp — a triangle of base and height , area . A constant force over the whole distance would have cost twice as much.
Step 2. Read the shape. The square makes an even function: compression () and stretch () of equal size store identical energy, and always. The spring's account can never be overdrawn — every deformation is a deposit. Why the zero is not movable: is not a coordinate of the mass in space but the physical deformation of the spring. The configuration is singled out by the hardware — it is the one shape in which the spring exerts no force. Redefining from anywhere else breaks itself, not just the potential.
Step 3. Check consistency with equation (2): . The parabola's slope reproduces Hooke's law, and its curvature is the stiffness: everywhere. Doubling the stretch quadruples the stored energy — both the force you fight and the distance you fight it over have doubled. As a concrete check: a spring stretched stores ; stretched it stores — doubling the stretch quadruples the energy, as the quadratic formula demands.
When mgy runs out — the universal potential
The ramp landscape cannot go on forever: predicts unlimited energy gain with altitude, yet a rocket that climbs far enough plainly feels gravity weaken. The honest potential energy of a mass at distance from Earth's center comes from Newton's law of universal gravitation, taking the conventional zero at infinite separation. It is worth displaying before we show that hides inside it:
where: — the gravitational constant; — Earth's mass; — distance from Earth's center (not altitude). The minus sign says every finite separation is an energy debt relative to infinity: you must pay to remove the mass completely. Near the surface we never see the debt itself — only its tiny variations with height, and those variations are exactly .
Go deeper · Derivation C · 1 minRecovering mgh from the universal potential
We are deriving the near-surface formula as the leading approximation to the exact potential (3), and identifying along the way. The strategy is a Taylor expansion of about the surface in the small parameter , where is altitude. This derivation earns its keep twice: it tells you why works, and — through the size of the first neglected term — exactly when it stops working.
Step 1. Substitute into equation (3) and factor out the surface value:
Why this form: the physics of "near the surface" is precisely the statement , so we want the small ratio sitting alone where an expansion can reach it.
Step 2. Expand the geometric factor to first order, for :
Why we may stop at first order: the next term is smaller by another factor of — about for a 6 km mountain flight, since .
Step 3. Read off the pieces. The first term is a constant — by the reference-level freedom established above, it drops out of every energy balance. The coefficient of in the second term is a force per unit mass evaluated at the surface:
Step 4. Price the approximation. The fractional error of is of order : about 1% by , and at the International Space Station's altitude () the formula overestimates the true energy difference by about 6% — use equation (3) there. The numbers bear this out: and give , and the exact per-kilogram energy to ISS altitude is versus the flat-Earth estimate — a 6% overshoot.
Combining the two — the hanging spring
Real systems rarely offer one store at a time: a mass hanging from a vertical spring banks gravitational and elastic energy simultaneously, and the bookkeeping of the two together produces one of the tidiest results in mechanics. Measure downward from the spring's natural length, so the elastic term keeps its legal zero. The total potential is then the sum of a parabola and a ramp:
where: the elastic term uses the true deformation ; the gravitational term is because moving down (increasing ) lowers the mass and withdraws gravitational energy. Adding a ramp to a parabola cannot change its shape — it can only slide the valley. Where the new bottom lands, and what the landscape looks like around it, is the next derivation.
Go deeper · Derivation D · 1 minA hanging mass on a spring — gravity only moves the zero
We are deriving the equilibrium position of a mass on a vertical spring and showing that, measured from that new equilibrium, the combined gravitational-plus-elastic potential is again a pure spring parabola, , up to an ignorable constant. The method is completing the square on equation (4) — no new physics, just algebra — and the payoff is the standard exam license to ignore gravity entirely in vertical spring problems, provided displacements are measured from the hanging equilibrium. Watch how the linear terms cancel identically: that cancellation is gravity being absorbed into the choice of origin.
Step 1. Locate the equilibrium from equation (2): set , giving the static stretch
Why this is familiar: it is just force balance — the spring force holding up the weight . The landscape view and the force view agree, as equation (2) guarantees they must.
Step 2. Complete the square in equation (4) about , substituting for the displacement from equilibrium:
Why the cross terms vanish: the linear part of the parabola's expansion, , exactly cancels the gravitational ramp — by construction, since was chosen to zero the net force. Gravity has been completely absorbed into the shift.
Step 3. Discard the constant by the reference-level freedom. What remains is a pure Hooke's-law valley of the same curvature , centered on the hanging equilibrium. The oscillation frequency about the new bottom is therefore unchanged: , exactly as for a horizontal spring. As a numerical illustration: for and , the static sag is , and the oscillation frequency is identical with or without gravity — exactly as the completed-square result predicts.
Limiting cases
| case | result | meaning |
|---|---|---|
| , | the uniform-field ramp is the first Taylor term of the true well | |
| and beyond | overestimates; use | error : 1% at 64 km, 6% at ISS altitude |
| small deformation | , | Hooke's linear regime; real springs go anharmonic, then yield |
| any smooth near a stable minimum | every gentle valley is a spring: | |
| vertical spring, from hanging equilibrium | gravity shifts the valley by but does not reshape it | |
| or | no force, no store: motion is uniform (Newton's first law) |
Worked examples
Example 1 — banking the same energy two ways (confidence builder). A crane lifts a steel beam from the ground to a rooftop. How much energy is banked, and what compression of a stiff industrial buffer spring () would store the same amount?
Step 1. The gravitational deposit is . Path irrelevant: swinging on the way up changes nothing.
Step 2. Demand the same balance from the spring: , so .
Step 3. Evaluate: . A third of a metre of compression on a spring stiff enough to stop a truck, against eighteen metres of lift — a first taste of how dense elastic storage is over short distances, and how dilute gravity's ramp is.
Answer: ; the buffer spring must compress .
Example 2 — a block dropped onto a spring (exam level). A block is released from rest above the top of a relaxed vertical spring with . Find the maximum compression of the spring, and compare it with the static equilibrium compression.
Step 1. Choose the moment of maximum compression as the target: there the block is momentarily at rest, so all the energy is potential. Put the gravitational zero at the top of the relaxed spring and measure compression downward — the block's total descent is then with .
Step 2. Balance the books between release (at rest, height above the zero) and maximum compression (at rest, depth below it): . Both stores appear: gravity has been drawn down by the full descent, the spring has banked all of it.
Step 3. Insert numbers: , i.e. .
Step 4. Solve the quadratic: . (The negative root is a phantom above the spring — discard it.)
Step 5. Sanity-check the energy audit: descent gives ; the spring holds . Balanced. The static equilibrium compression is far smaller: .
Answer: maximum compression — eleven times the static compression . At the lowest point the spring pushes with , about 11 times the block's weight — which is why the block does not stop there but rebounds hard: maximum compression is a turning point, not an equilibrium.
The people behind the idea
Origins · 1 minGalileo Galilei and how this was discovered
Galileo never wrote the word "energy," but he discovered its accounting rule. Rolling balls down inclines of every slope in his Padua workshop — with water clocks and his own pulse for timing — he established that the speed acquired depends only on the vertical drop, and that a pendulum released from a given height climbs back to the same height even when a nail interrupts the string. Height in, height out: the account always balances. Published in the Discorsi (1638) while he was under house arrest in Arcetri, this "height-alone" principle is precisely the path-independence that makes gravity conservative — the license behind . What Galileo established with ramps and pendulums, later generations formalized: the account book he opened is the one every energy method still balances today.
Going further
Texts. Morin, Introduction to Classical Mechanics, ch. 5 (Conservation of energy and momentum) · Taylor, Classical Mechanics, ch. 4 (Energy) · Kleppner & Kolenkow, An Introduction to Mechanics, ch. 5 · Landau & Lifshitz, Mechanics, §§6–7, 21. The key results can be traced directly to the boxed formulas: and follow from integrating and via ; the expansion with carries a error (6% at ); and the vertical-spring completed square gives , , with unchanged . The worked-example numbers ( and for the beam-and-buffer; vs , peak force , energy balance for the dropped block; Bath County gross; water at 380 m head ) are illustrative arithmetic drawn from those same formulas.
Builds on: Newton's Second Law · Gravitational Force Near Earth's Surface · Position, Displacement, and Reference Frames · Vectors in Kinematics and Coordinate Systems. Leads to: Circular Motion and Centripetal Acceleration · Projectile Motion.
If I can put the zero of gravitational PE anywhere, how can potential energy be a real physical thing?
Because the thing is never itself — it is , and differences are immune to where you put the zero. Every measurable consequence (speeds from energy balances, forces from slopes, turning points from ) involves either a difference or a derivative of , and both operations kill an added constant. It is exactly like altitude: "300 m" is meaningless until someone says above what — sea level, the runway — yet "the plane climbed 300 m" is a hard physical fact under every convention. The spring is the instructive contrast: there the hardware itself defines a special configuration (the natural length, where the force vanishes), so nature, not you, fixes that zero.
Why does the spring energy have a one-half but mgh has none?
Because gravity is the same during the whole lift, while the spring fights back harder the further you pull. Work is force times distance only for a constant force; lift a brick by and you pay , no discount, no surcharge. The spring starts at zero force and ends at , so on a force-versus-position graph the work is a triangle — base , height — whose area is . A rectangle versus a triangle: that is the entire story of the . The same logic explains the average-force shortcut: the spring's mean opposition over the pull is , and gives the half automatically.
Where is the energy actually stored — in the brick, in the Earth, in the spring metal?
For gravity, strictly in the configuration of the Earth–brick pair (in field language: in the gravitational field). Saying "the brick has PE" is a harmless shorthand because Earth barely moves, but only the pair has a well-defined — a brick alone in empty space stores nothing. The spring is more concrete: the energy lives in the elastically strained bonds of the metal itself. Stretch steel and interatomic separations shift off their equilibrium; each distorted bond is a microscopic parabolic valley holding its share of . That is also why the elastic store has an absolute zero (bonds relaxed, natural length) while the gravitational one does not.
Can potential energy be negative, and does that mean anything is wrong?
Nothing is wrong — negative just means "below your chosen zero." Put at the tabletop and the floor sits at ; all predictions come out identical to any other choice. One negative sign is meaningful though: the universal potential is negative everywhere by the convention , and there the sign encodes being bound — you owe of work to escape to infinity. A satellite with total is trapped in the well; escapes. Elastic energy, by contrast, is genuinely never negative: because any deformation, either direction, is a deposit.
For a vertical spring, why am I allowed to completely ignore gravity if I measure from the hanging equilibrium?
Because completing the square has already spent gravity on relocating the valley. The combined potential is algebraically identical to with measured from the sag point — the linear gravity term cancels exactly against the linear part of the shifted parabola, by the very equation () that defines equilibrium. So "spring-only bookkeeping from the new equilibrium" is not an approximation; it is the same function renamed. The frequency is untouched because a ramp has no curvature to add. The only sin is mixing conventions — writing and an term double-counts gravity.
Does the falling ball somehow know the path does not matter, even before it lands?
The ball knows only the local force; path-independence is a property of that force field, not a computation the ball performs. Uniform gravity is vertical, so each step of any route is billed only for its vertical component — horizontal excursions are free of charge, and every route between the same two points contains the same net rise. The honest caution: this is special, not automatic. Add air drag, which always opposes the motion, and longer paths genuinely cost more — no potential energy can be defined for drag, and the energy method loses its license. "Conservative force" is precisely the certificate that the path-blindness holds.
Is the potential energy of a pendulum gravitational or elastic — and what about a bouncing ball?
A pendulum on a rigid rod is purely gravitational: with the bob's height; the rod's tension does no work (always perpendicular to the motion). A bouncing ball is the two stores taking turns: gravitational on the way down, then — during the millisecond of contact — the ball deforms and the energy goes elastic, stored in the squashed rubber as an effective , before being repaid as kinetic energy on the rebound. An imperfect bounce is an honest audit of the elastic stage: whatever fraction the deformation fails to return has leaked to heat and sound, and the ball reclaims correspondingly less height on each cycle.
My textbook says any potential minimum acts like a spring. Why is that, and why should I care?
Taylor-expand any smooth about a stable equilibrium : the constant is ignorable, the linear term vanishes because is an equilibrium (), and the first surviving term is — formally identical to a spring with . Every gentle valley, whatever its global shape, is parabolic at the bottom. That is why small oscillations are universally simple harmonic — pendulums, molecules, buildings, quartz crystals — with , and why the humble you learn here reappears in every physics course you will ever take, up to and including quantum field theory.