Show how kinetic and potential energy oscillate during SHM, and that their sum stays constant.
Explanation
In SHM, kinetic energy (KE) and potential energy (PE) oscillate out of phase with each other, both at twice the frequency of the position. But their sum is constant — that's energy conservation.
The Math
For x(t)=Acos(ωt) and v(t)=−Aωsin(ωt):
PE(t)=21kx2=21kA2cos2(ωt)
KE(t)=21mv2=21mA2ω2sin2(ωt)=21kA2sin2(ωt)
(In the last step we used mω2=k, the SHM definition.)
Adding them:
Etotal=PE+KE=21kA2(cos2ωt+sin2ωt)=21kA2
The trig identity sin2+cos2=1 does the magic. The total mechanical energy is 21kA2 at every instant — it depends only on the amplitude.
Step-by-Step Solution
Given:m=2kg, k=50N/m, A=0.2m, ω=5rad/s.
Find: Total energy, max KE, max PE, and energy at t=T/8.
Step 1 — Compute the total energy.
E=21kA2=21(50)(0.04)=1.000J
Step 2 — Maximum potential energy.
Reached at the extremes (x=±A, v=0):
PEmax=21kA2=1.000J
All the energy is potential.
Step 3 — Maximum kinetic energy.
Reached at the center (x=0, v=±Aω):
KEmax=21m(Aω)2=21(2)(1)2=1.000J
Same as PEmax — they trade off perfectly.
Step 4 — Energy split at t=T/8.
At t=T/8=2π/(8ω), ωt=π/4. So:
x=Acos(π/4)=A⋅22≈0.1414m
v=−Aωsin(π/4)=−1⋅22≈−0.7071m/s
Energy components:
PE=21(50)(0.0200)=0.500J
KE=21(2)(0.5)=0.500J
At T/8, the energy is exactly half PE and half KE — the two are equal there.
Step 5 — Verify the sum.
PE+KE=0.500+0.500=1.000J=Etotal✓
The total is unchanged.
Step 6 — Average values over one period.
A useful fact for many physics problems: averaged over one full cycle, ⟨sin2⟩=⟨cos2⟩=1/2. So:
⟨PE⟩=⟨KE⟩=2Etotal=41kA2
On average, half the energy is potential and half is kinetic — even though at any instant they can be anything from 0 to Etotal.
Answer:
Etotal=21kA2=1.000Jat every instant
KE and PE oscillate at twice the frequency of x(t), π/2 out of phase from each other. Their sum is exactly 21kA2 forever. At the extremes, all the energy is PE; at the center, all is KE; halfway between, it's split 50/50.
Try It
Watch the bar graph beside the oscillator — KE (cyan) and PE (pink) trade off.
The green total bar stays the same height — that's energy conservation.
Adjust the amplitude: doubling it quadruples the total energy (E∝A2).
Interactive Visualization
Parameters
0.20
2.00
50.00
Your turn
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.