Sub topic 6
Kinetic, Potential and Total Energy in SHM
This chapter assumes you know the SHM solution x = A sin(ωt + φ), the velocity v = ω√(A² − x²), and the work-energy theorem. It also assumes you can differentiate and integrate sine and cosine. The goal is to describe the oscillator by its energy, which lets you solve many JEE problems without writing a time equation.
Why energy is a natural tool for SHM
A linear restoring force F = −kx is conservative. It depends only on position, and the work it does between two points does not depend on the path. So a potential energy can be defined for it, and the total mechanical energy stays constant when no other force does work.
The potential energy is found by integrating the force from the equilibrium position, taking U = 0 at x = 0:
U(x) = −∫₀ˣ (−kx′) dx′ = ½kx²
The kinetic energy is K = ½mv². Together:
E = ½mv² + ½kx² = constant
For a general SHM with a = −ω²x, the quantity k stands for mω². The energy formulas are written below with k, but any SHM can use k = mω².
Energy as a function of displacement
Use v² = ω²(A² − x²) and k = mω².
- Kinetic energy: K = ½mω²(A² − x²) = ½k(A² − x²)
- Potential energy: U = ½mω²x² = ½kx²
- Total energy: E = K + U = ½kA² = ½mω²A²
At x = ±A the speed is zero, so K = 0 and U = E. At x = 0 the speed is maximum, so U = 0 and K = E. The maximum speed is vmax = ωA, which gives E = ½mvmax².
The total energy depends on the square of the amplitude. Doubling the amplitude multiplies the energy by 4. It does not depend on the phase constant φ. It also does not depend on the time period except through ω, which is fixed by m and k.
Energy as a function of time
Put x = A sin(ωt + φ) and v = Aω cos(ωt + φ):
- U(t) = ½kA² sin²(ωt + φ)
- K(t) = ½kA² cos²(ωt + φ)
Using the identities sin²θ = (1 − cos 2θ)/2 and cos²θ = (1 + cos 2θ)/2:
- U(t) = ¼kA² [1 − cos(2ωt + 2φ)]
- K(t) = ¼kA² [1 + cos(2ωt + 2φ)]
Each energy oscillates about the mean value ¼kA² = E/2. The oscillation has angular frequency 2ω, so the energy frequency is twice the frequency of the motion. The period of the energy oscillation is T/2.
Over one full period, the time-average of both K and U is E/2. The averages over one period are equal, but the averages over a quarter period starting at an extreme position are not. Between x = A and x = 0, U falls from E to 0, while the time-averaged U over that quarter is still E/2 only because sin² is symmetric about π/4. Be careful when a problem asks for the average over a different interval, such as the average with respect to displacement. Averaged over displacement, ⟨U⟩ = ⅓E and ⟨K⟩ = ⅔E.
Where are K and U equal?
Set K = U:
½k(A² − x²) = ½kx² → x² = A²/2 → x = ±A/√2 ≈ ±0.707A
At that position each energy equals E/2. This is a standard JEE result. In terms of time, if the particle starts from the extreme position, it first reaches x = A/√2 after T/8.
A related result: K = nU gives x = ±A/√(n + 1). The fraction of total energy that is kinetic at displacement x is 1 − x²/A².
| Position | K | U | Speed |
|---|---|---|---|
| x = 0 | E | 0 | ωA |
| x = ±A/2 | ¾E | ¼E | (√3/2)ωA |
| x = ±A/√2 | ½E | ½E | ωA/√2 |
| x = ±A | 0 | E | 0 |
Worked example: speed and a numerical check
A 0.5 kg block on a spring with k = 200 N/m oscillates with amplitude 0.1 m. Find its speed at x = 0.06 m and verify energy conservation.
Here ω = √(k/m) = √400 = 20 rad/s. The speed is v = ω√(A² − x²) = 20 × √(0.01 − 0.0036) = 20 × 0.08 = 1.6 m/s. The total energy is ½kA² = ½ × 200 × 0.01 = 1 J. At x = 0.06 m, K = ½ × 0.5 × 1.6² = 0.64 J and U = ½ × 200 × 0.0036 = 0.36 J. The sum is 1.00 J.
import math
m, k, A = 0.5, 200.0, 0.1
omega = math.sqrt(k / m)
x = 0.06
v = omega * math.sqrt(A**2 - x**2)
total = 0.5 * k * A**2
kinetic = 0.5 * m * v**2
potential = 0.5 * k * x**2
print(v)
print(math.isclose(total, kinetic + potential))The program prints a speed of about 1.6 and then True.
Using energy to find the time period
If you can write the total energy of a system in the form
E = ½ M ẋ² + ½ K_eff x²
then the system is simple harmonic with ω = √(Keff/M). This works because differentiating E = constant with respect to time gives M ẋ ẍ + Keff x ẋ = 0, so ẍ = −(K_eff/M)x.
This method is useful when the force is awkward but the energy is easy. Here is a case with a pulley. A block of mass m hangs from a spring of constant k over a pulley of mass M and radius R, which is a uniform disc. The rotation adds kinetic energy ½Iωp², where I = ½MR² and ωp = ẋ/R. So the kinetic energy is ½(m + M/2)ẋ². The effective mass is m + M/2, and the period is T = 2π√((m + M/2)/k). Once the equilibrium shift is accounted for (next sections of this tutorial), the gravitational potential energy only shifts the equilibrium position and does not change K_eff.
Common errors
- Treating U = 0 as universal. U = ½kx² assumes U = 0 at the equilibrium position, where x is measured. If you measure x from the natural length of a vertical spring, the total potential energy includes gravity, and the simple formula applies only after you move the origin to the equilibrium point.
- Confusing the energy period with the motion period. K and U repeat every T/2. The position and velocity repeat every T.
- Using ½kA² when the amplitude is not the one you think. If a block is released from rest at a stretch x₀ from equilibrium, then A = x₀. If it is given a speed v₀ at x₀, then A² = x₀² + v₀²/ω².
- Forgetting that k = mω² for non-spring SHM. For a pendulum with small angle, the effective constant is mg/L per unit displacement of the bob, so E = ½mω²A² with ω² = g/L.
- Expecting energy to be conserved with damping. With a drag force the total energy falls. The formulas above apply to the undamped oscillator.
A quick amplitude problem
A block of mass m on a horizontal spring is at x = 0 with speed v₀. What is the amplitude? At x = 0 all energy is kinetic, so ½mv₀² = ½kA², giving A = v₀√(m/k) = v₀/ω. This is the fastest route when the problem gives the speed at equilibrium. It avoids the time equation entirely.
Exercise
A particle of mass 0.2 kg performs SHM with amplitude 0.05 m and angular frequency 10 rad/s. (a) What is the total energy? (b) At what displacement is the kinetic energy three times the potential energy? (c) What is the speed at that displacement?
Show answer
(a) k = mω² = 0.2 × 100 = 20 N/m, so E = ½kA² = ½ × 20 × 0.0025 = 0.025 J. (b) K = 3U gives x = ±A/√(3 + 1) = ±A/2 = ±0.025 m. (c) v = ω√(A² − x²) = 10 × √(0.0025 − 0.000625) = 10 × 0.0433 ≈ 0.433 m/s. Check: K = ¾E = 0.01875 J, and ½ × 0.2 × 0.433² ≈ 0.01875 J.
Exercise
A block on a spring has total energy E. If the amplitude is doubled while the same block and spring are used, what happens to (a) the total energy, (b) the maximum speed, and (c) the time period?
Show answer
(a) E = ½kA² scales with A², so the energy becomes 4E. (b) v_max = ωA, and ω is unchanged, so the maximum speed doubles. (c) T = 2π√(m/k) does not depend on amplitude, so the period is unchanged.