
Physics III course sequence · Interactive lesson
Energy in simple harmonic motion
Time is not the only route through an oscillation. Draw the parabolic well, lay one horizontal line across it at the total energy, and the turning points, the speed at every displacement and the share still held as motion all read straight off the picture.
UPIII-01.04 · Lesson 4 of 9 in this unit. Position is not a completion score.Build the model
One horizontal line across a parabola settles the whole motion.
The key idea
The total mechanical energy of a simple harmonic oscillator is the constant sum E = ½mv² + ½mω²x², equal to ½mω²A², which the motion keeps converting between kinetic and potential form without changing the total.
Example. A 0.50 kg mass oscillating at ω = 8.0 rad s⁻¹ with A = 0.20 m holds E = ½ × 0.50 × 8.0² × 0.20² = 0.64 J — all kinetic at x = 0, where v = ωA = 1.6 m s⁻¹, and all potential at x = ±0.20 m.
The complete physical model and assumptions
A linear restoring force F = −mω²x does work that depends only on where the mass is and never on how it got there, so integrating it gives a potential energy U(x) = ½mω²x²: a parabolic well whose curvature mω² is the whole of the oscillator's stiffness. Adding the kinetic energy is not merely convenient, it is forced — multiply d²x/dt² = −ω²x by m dx/dt and both sides become time derivatives, so d/dt(½mv² + ½mω²x²) = 0 and E is a first integral of the equation of motion, fixed once and for all by the initial conditions. Evaluate E where the mass turns round, v = 0 and x = ±A, and it becomes ½mω²A²; rearrange the same constant and it hands back the speed at any displacement, v = ±ω√(A² − x²), with no clock involved. The split is never static: because both terms are quadratic in quantities that reverse sign twice per cycle, K and U each sweep from 0 to E at angular frequency 2ω about a shared average of ½E. All of it rests on two idealisations — a well that is exactly quadratic, and no dissipation. Let the well pick up a quartic term and E survives while ½mω²A² and the pure 2ω exchange do not; let a drag force −bv act and dE/dt = −bv², so the energy line slides down and the turning points creep inwards.
1Integrate the restoring force into a well
Simple harmonic motion is defined by a restoring force proportional to displacement, F(x) = −mω²x. That force depends on position alone, so the work it does between two points is path-independent and a potential energy exists. Take U = 0 at the equilibrium point and the work you must do against the force to reach x is U(x) = ∫₀ˣ mω²s ds = ½mω²x². The result is a parabola, and its curvature d²U/dx² = mω² is constant — that constant is the entire content of the harmonic assumption, since a well of any other shape would not give a force linear in x. Put numbers on it: m = 0.50 kg and ω = 8.0 rad s⁻¹ give mω² = 32 N m⁻¹, so U(0.20 m) = ½ × 32 × 0.20² = 0.64 J. Dimensions agree, kg × s⁻² × m² = kg m² s⁻² = J.
2Energy is the first integral of the equation of motion
You do not have to assume that E is conserved; the differential equation says so. Start from d²x/dt² = −ω²x, multiply both sides by m dx/dt, and read each side as a time derivative: m(dx/dt)(d²x/dt²) = d/dt(½mv²) on the left, and −mω²x(dx/dt) = −d/dt(½mω²x²) on the right. Bring them together and d/dt(½mv² + ½mω²x²) = 0, so E = ½mv² + ½mω²x² is constant along every solution. That move — multiply a second-order equation by the velocity and integrate once — is what physicists mean by a first integral, and it is worth more than the answer here: one constant of integration now stands in for one of the two you would otherwise fix from initial conditions. Release the 0.50 kg mass from rest at 0.20 m and E = 0.64 J; launch it through x = 0 at 1.6 m s⁻¹ instead and E = 0.64 J again, so the two motions share an amplitude even though their phase constants differ.
3Read the amplitude straight off the energy
Evaluate the constant where it is easiest. At a turning point the mass is momentarily at rest, v = 0 and x = ±A, so the kinetic term vanishes and E = ½mω²A². Everything else follows from that one line. Inverting it gives the amplitude an energy buys, A = √(2E/(mω²)); evaluating the constant at x = 0 instead, where U vanishes, gives ½mvₘₐₓ² = E and so vₘₐₓ = ωA, the same maximum speed the time-domain solution produces. The quadratic dependence is the headline. Pull the 0.50 kg, 8.0 rad s⁻¹ oscillator to 0.40 m rather than 0.20 m and the store rises from 0.64 J to 2.56 J — four times the energy for twice the displacement, and at exactly the same period, because the amplitude never enters ω. Check the limit: A → 0 sends E → 0, as an oscillator sitting at rest at the bottom of its well must.
4Speed from position, with no clock in sight
Set ½mv² + ½mω²x² = ½mω²A² and solve for the speed: v(x) = ±ω√(A² − x²). This is the practical payoff of the energy route. Asked for the speed at a stated displacement, the time-domain solution would have you invert x = A cos(ωt + φ) for t and substitute; the energy equation answers in one step. Three checks before trusting it: at x = 0 it gives ωA, the known maximum; at x = ±A it gives zero; and rad s⁻¹ × m is m s⁻¹. What it will not give is direction, because squaring destroyed the sign — energy knows speed, phase knows which way. With A = 0.20 m and ω = 8.0 rad s⁻¹, the speed at x = 0.10 m is 8.0√(0.20² − 0.10²) = 1.39 m s⁻¹, which is 0.866 vₘₐₓ while the kinetic share is ¾E = 0.48 J. Kinetic and potential energies are equal not at A/2 but at x = A/√2 = 0.141 m, where v = 1.13 m s⁻¹.
5Both halves oscillate at twice the frequency
Put x = A cos(ωt + φ) and v = −ωA sin(ωt + φ) back into the two terms. U(t) = ½mω²A²cos²(ωt + φ) and K(t) = ½mω²A²sin²(ωt + φ), and the double-angle identities turn these into U(t) = ½E[1 + cos(2ωt + 2φ)] and K(t) = ½E[1 − cos(2ωt + 2φ)]. Each runs from 0 to E about a mean of ½E at angular frequency 2ω, so the energy curves have period T/2 while the displacement has period T. The reason is that both terms are quadratic: squaring a quantity that changes sign twice per cycle produces a shape that peaks twice per cycle. Their sum is E at every instant, which is why the total never oscillates at all. Averaging over a whole period with (1/T)∫₀ᵀ cos²(ωt + φ) dt = ½ gives ⟨K⟩ = ⟨U⟩ = ½E. For the 0.50 kg oscillator with A = 0.20 m and ω = 8.0 rad s⁻¹, T = 0.785 s, the energy curves repeat every 0.393 s, and each averages 0.32 J.
6What a constant total quietly assumes
Two idealisations are hiding in ½mω²A². The first is that the well is exactly quadratic. A real restoring force carries higher terms, U(x) = ½mω²x² + ¼βx⁴ being the first correction for a symmetric well. Energy is still conserved, but E is no longer ½mω²A², the exchange is no longer a pure 2ω sinusoid, and the frequency acquires an amplitude-dependent fractional shift whose leading term is the dimensionless 3βA²/(8mω²) — the tell-tale sign of an anharmonic oscillator, and the reason the harmonic result is always quoted with a small-amplitude caveat. The second is that nothing dissipates. Repeat the first-integral calculation with a drag force −bv added and dE/dt = v(−bv) = −bv² ≤ 0, strictly negative whenever the mass is moving. For light damping E decays as e(−bt/m) while the amplitude, going as √E, decays as e(−bt/2m): the store empties at twice the exponential rate of the swing, which is why a struck oscillator falls quiet long before it looks still. Setting b → 0 returns the constant total, which is the correspondence check the damped model must pass.
Key equations
Read the units, assumptions and limits before substituting.
Potential energy of a linear restoring force
U(x) = ∫₀ˣ mω²s ds = ½mω²x²
The well is a parabola of fixed curvature mω², the one number that makes the motion harmonic.
m in kg, ω in rad s⁻¹, x and s in m, U in J; U = 0 chosen at the equilibrium pointThe conserved total
E = ½mv² + ½mω²x²
A first integral of the motion: one constant replaces integrating the second-order equation again.
v in m s⁻¹, E in J; dE/dt = 0 along every solution of d²x/dt² = −ω²xAmplitude fixes the total
E = ½mω²A²
E goes as A², so doubling the pull quadruples the store at unchanged ω and unchanged period.
A in m is the turning-point displacement, where v = 0; E in JSpeed from displacement
v(x) = ±ω√(A² − x²)
Speed anywhere without a clock. The sign needs the phase, which the energy alone cannot supply.
x in m with |x| ≤ A; v in m s⁻¹, ω in rad s⁻¹, A in mThe exchange runs at 2ω
U(t) = ½E[1 + cos(2ωt + 2φ)]
U and K each swing between 0 and E about ½E, with period T/2 rather than T.
φ in rad is the phase constant, t in s, U and E in J, ω in rad s⁻¹Averages over a whole cycle
⟨K⟩ = ⟨U⟩ = ½E
Follows from ⟨cos²⟩ = ½, and it is how an oscillator's energy is quoted when the instant is irrelevant.
⟨ ⟩ means (1/T)∫₀ᵀ … dt over one full period T in s; K, U and E in JInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Hold ω at 8.0 rad s⁻¹ and drag A from 0.12 m to 0.24 m: the turning points move out twice as far while the energy line climbs from 0.230 J to 0.922 J, four times as high, because E goes as A². Then sweep the phase and watch the solid kinetic part complete two cycles per round trip.
Live results
- TOTAL ENERGY E
- 0.640 J
- POTENTIAL U(x)
- 0.160 J
- KINETIC K(x)
- 0.480 J
- SPEED |v|
- 1.386 m s⁻¹
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. Amplitude A: 0.20 m; Angular frequency ω: 8.0 rad s⁻¹; Phase ωt + φ: 60 °
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
Because U goes as x², the store is not half converted at half the amplitude. At x = A/2 the potential energy is only E/4 and the kinetic energy is 3E/4; the displacement where the two are equal is x = A/√2 ≈ 0.707A, reached a time T/8 after a turning point and not T/4. The same square drives the second surprise: K and U each complete a full cycle in T/2, because v² and x² are blind to the sign of v and of x. A student who sketches K on the same axes as x, rising and falling with the same period, has drawn an oscillator that does not exist.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A 0.25 kg glider on a frictionless air track moves in SHM with angular frequency 6.0 rad s⁻¹ and amplitude 0.12 m. Find its total mechanical energy, its maximum speed, and its speed as it passes x = 0.060 m.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- The total is set by the amplitude: E = ½mω²A² = ½ × 0.25 × 6.0² × 0.12² = 0.0648 J. Units check as kg s⁻² m² = J.
- At x = 0 the well holds nothing, so all of E is kinetic: ½mvₘₐₓ² = E, giving vₘₐₓ = ωA = 6.0 × 0.12 = 0.72 m s⁻¹.
- For any displacement use v(x) = ω√(A² − x²) rather than inverting x(t): v = 6.0 × √(0.12² − 0.060²) = 6.0 × 0.1039 = 0.62 m s⁻¹.
- Sanity check: x = 0.060 m is half the amplitude, so U = E/4 = 0.0162 J and K = 0.0486 J; the speed ratio is √3/2 = 0.866, and 0.866 × 0.72 = 0.62 m s⁻¹ as found.
Answer. E = 6.48 × 10⁻² J, vₘₐₓ = 0.72 m s⁻¹, and v = 0.62 m s⁻¹ at x = 0.060 m.
MediumExample 2
A 0.80 kg mass oscillates harmonically at ω = 5.0 rad s⁻¹ with total mechanical energy 0.144 J. Find the amplitude, the displacement at which the kinetic energy is three times the potential energy, the speed there, and how long after leaving a turning point it first arrives.
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.
- Invert E = ½mω²A²: A = √(2E/(mω²)) = √(0.288/(0.80 × 25)) = √0.0144 = 0.12 m.
- K = 3U with K + U = E forces U = E/4. So ½mω²x² = ¼ × ½mω²A², the constants cancel, and x² = A²/4.
- Hence x = ±A/2 = ±0.060 m. Note that quartering the potential energy only halves the displacement, because U goes as x².
- Speed from energy: v = ω√(A² − x²) = 5.0 × √(0.0144 − 0.0036) = 5.0 × 0.1039 = 0.52 m s⁻¹. Check: K = ½ × 0.80 × 0.52² = 0.108 J = ¾ × 0.144 J.
- Energy cannot supply the time, so go back to the phase. Starting from rest at x = A, x = A cos(ωt), so cos(ωt) = ½ and ωt = π/3.
- t = (π/3)/5.0 = 0.209 s. With T = 2π/5.0 = 1.26 s, that is exactly T/6 — the energy answer is one line, the timing answer still needs the phase.
Answer. A = 0.12 m; K = 3U at x = ±0.060 m, where v = 0.52 m s⁻¹, first reached t = 0.209 s (T/6) after a turning point.
HardExample 3
A 0.60 kg mass moves in SHM with period 0.400 s and amplitude 0.150 m. Find the total energy, the period and mean value of the kinetic-energy curve, the first instant after release from rest at x = +A at which K = U, and the new total if the amplitude is doubled.
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.
- ω = 2π/T = 2π/0.400 = 15.708 rad s⁻¹, so E = ½mω²A² = ½ × 0.60 × 15.708² × 0.150² = 1.67 J.
- With x = A cos(ωt), K(t) = E sin²(ωt) = ½E[1 − cos(2ωt)]. The cosine inside carries 2ω, so the kinetic curve repeats with period T/2 = 0.200 s, twice as fast as the motion.
- Its mean follows from ⟨sin²⟩ = (1/T)∫₀ᵀ sin²(ωt) dt = ½, so ⟨K⟩ = ½E = 0.833 J, and ⟨U⟩ is the same, as it must be for the two to sum to E at every instant.
- K = U means cos²(ωt) = ½, so ωt = π/4 and t = T/8 = 0.0500 s. The mass is then at x = A/√2 = 0.106 m, not at A/2 — half the energy transferred is not half the distance travelled.
- Double the amplitude to 0.300 m: E = ½ × 0.60 × 15.708² × 0.300² = 6.66 J, four times as much, while ω, T and the shape of every energy curve are untouched.
- That quadratic scaling is the fingerprint of the exactly parabolic well; if measured energies grew faster or slower than A², the quartic term in U would be the first suspect.
Answer. E = 1.67 J; the kinetic curve has period 0.200 s and mean 0.833 J; K = U first at t = 0.0500 s, where x = 0.106 m; doubling A gives E = 6.66 J.
Quick check
Select an answer and explain it before checking.
Review & continue
The total mechanical energy of a simple harmonic oscillator is the constant sum E = ½mv² + ½mω²x², equal to ½mω²A², which the motion keeps converting between kinetic and potential form without changing the total.
- 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 III completion tasks.