AP Physics 1 · Topic 7.4 · Reading guide, about 5 min

Energy in oscillating systems

Energy in SHM: E = (1/2)kA^2, exchange between kinetic and potential energy, maximum speed from energy, bar charts, and damping.

In one minute

An oscillator is a machine for swapping energy back and forth. As a mass moves on a spring, energy moves between motion (kinetic energy) and stored energy in the spring (potential energy), but the total does not change when there is no friction. This makes energy the fastest tool for finding speeds at different positions.

In this topic you will learn the formula for the total energy of a mass-spring oscillator, how energy is split at each position, how to draw energy bar charts, and what happens when friction or air drag drains the system (damping).

Key terms

Kinetic energy
K=12mv2K=\tfrac12mv^2, energy of motion. In SHM it is greatest at equilibrium and zero at the extremes.
Elastic potential energy
Us=12kx2U_s=\tfrac12kx^2, energy stored in a stretched or compressed spring. It is greatest at the extremes and zero at equilibrium.
Total mechanical energy
E=K+UE=K+U. With no friction it stays constant: E=12kA2E=\tfrac12kA^2 for a mass on a spring.
Conservation of energy
When only conservative forces do work (spring, gravity), total mechanical energy stays the same.
Energy bar chart
A diagram with bars showing KK, UU, and the total at a position. The bars for KK and UU always add up to the same total.
Maximum speed
vmax=Ak/mv_{max}=A\sqrt{k/m}, found by setting all of EE equal to kinetic energy at equilibrium.
Damping
Loss of mechanical energy to friction or drag. The amplitude shrinks each cycle until the motion stops.
Gravitational potential energy
Ug=mghU_g=mgh. For a pendulum it plays the role that spring energy plays for a spring.

Total energy of a mass on a spring

Pull a mass on a frictionless horizontal spring out to amplitude AA and release it. At that instant it is at rest, so K=0K=0 and all the energy is stored in the spring: E=12kA2E=\tfrac12kA^2. Because the spring force is conservative and nothing else does work, this total stays the same throughout the motion.

Notice that the total depends on the amplitude squared. Doubling the amplitude quadruples the total energy. It does not depend on the mass at all, and the period does not appear in it. A stiffer spring (larger kk) stores more energy for the same stretch.

Trading kinetic and potential energy

At any displacement xx, the potential energy is U=12kx2U=\tfrac12kx^2, and the kinetic energy is whatever remains: K=E−U=12k(A2−x2)K=E-U=\tfrac12k(A^2-x^2). So K=12mv2K=\tfrac12mv^2 gives v=km(A2−x2)v=\sqrt{\frac{k}{m}(A^2-x^2)}. At x=±Ax=\pm A, K=0K=0. At x=0x=0, U=0U=0 and K=EK=E.

Halfway out (x=A/2x=A/2), the potential energy is 12k(A/2)2=14⋅12kA2=14E\tfrac12k(A/2)^2=\tfrac14\cdot\tfrac12kA^2=\tfrac14E. So the object holds one-quarter of the energy as potential and three-quarters as kinetic. This surprises many students who expect a 50-50 split. The 50-50 split happens at x=A/2≈0.71Ax=A/\sqrt{2}\approx0.71A.

To draw an energy bar chart, choose a total height for EE (say 4 units) and keep it the same at every position. At x=±Ax=\pm A: KK = 0 units, UsU_s = 4. At x=±A/2x=\pm A/2: KK = 3, UsU_s = 1. At x=0x=0: KK = 4, UsU_s = 0. The chart is the same whether the object is moving left or right, because energy is a scalar. For a pendulum the bars are KK and UgU_g (with Ug=0U_g=0 at the bottom): UgU_g fills the total at the extremes and KK fills it at the bottom. With damping, the total itself shrinks from cycle to cycle, and if the surroundings are included in the system a thermal-energy bar grows by the same amount.

Energy shares at different positions of a mass on a spring
PositionKinetic energySpring potential energyTotal
x=±Ax=\pm A00EE (all)EE
x=±A/2x=\pm A/234E\tfrac34E14E\tfrac14EEE
x=±0.71Ax=\pm0.71A12E\tfrac12E12E\tfrac12EEE
x=0x=0EE (all)00EE

Pendulums and vertical springs

The same idea works for other oscillators. For a pendulum, the bob is highest at the extremes, where gravitational potential energy is greatest and speed is zero. At the bottom the bob is fastest and UgU_g is smallest. The maximum speed comes from 12mv2=mgh\tfrac12mv^2=mgh, where hh is the height gained at the extreme. In this case the mass cancels, giving v=2ghv=\sqrt{2gh}.

For a mass hanging on a vertical spring, two potential energies are at work: gravity and the spring. The result is still neat. Measured from the new equilibrium (where kx=mgkx=mg), the combined potential energy behaves like 12ky2\tfrac12ky^2, with yy the displacement from that equilibrium. So the same energy formulas apply when displacement is measured from the shifted center.

Worked example and damping

A 0.50 kg0.50\text{ kg} block on a frictionless surface is attached to a spring with k=200 N/mk=200\text{ N/m} and released from rest at A=0.10 mA=0.10\text{ m}. The total energy is E=12kA2=12(200)(0.10)2=1.0 JE=\tfrac12kA^2=\tfrac12(200)(0.10)^2=1.0\text{ J}. At equilibrium all of it is kinetic, so 12mvmax2=1.0\tfrac12mv_{max}^2=1.0 and vmax=2(1.0)/0.50=4.0=2.0 m/sv_{max}=\sqrt{2(1.0)/0.50}=\sqrt{4.0}=2.0\text{ m/s}. At x=0.05 mx=0.05\text{ m}, U=12(200)(0.05)2=0.25 JU=\tfrac12(200)(0.05)^2=0.25\text{ J}, so K=1.0−0.25=0.75 JK=1.0-0.25=0.75\text{ J} and v=2(0.75)/0.50=3.0≈1.7 m/sv=\sqrt{2(0.75)/0.50}=\sqrt{3.0}\approx1.7\text{ m/s}. Check with the formula: v=2000.50(0.102−0.052)=400(0.0075)=3.0v=\sqrt{\frac{200}{0.50}(0.10^2-0.05^2)}=\sqrt{400(0.0075)}=\sqrt{3.0}, the same.

In real systems friction and drag do negative work, so the total energy EE decreases each cycle. This is damping. The amplitude shrinks, the bars on an energy chart get smaller from cycle to cycle, and the lost energy appears as thermal energy in the surroundings. For light damping the period stays close to the undamped value, even though the amplitude falls.

How it connects

  • Back to 3.4: conservation of mechanical energy and the idea of KK and UU turning into each other are used again here.
  • Back to 3.3: the spring potential energy formula 12kx2\tfrac12kx^2 comes from the work done in stretching a spring.
  • Back to 7.3: the instants of maximum speed and of maximum stretch on the graphs are exactly the all-kinetic and all-potential points.
  • Back to 7.2 and 7.3: since T=2πm/kT=2\pi\sqrt{m/k}, k/m=2π/T=ω\sqrt{k/m}=2\pi/T=\omega, so the maximum speed Ak/mA\sqrt{k/m} equals AωA\omega and the energy and period descriptions agree.

Common mistakes

  • Thinking energy is zero at the extremes. Kinetic energy is zero there, but the potential energy equals the whole total.
  • Forgetting to square the amplitude. E=12kA2E=\tfrac12kA^2, so doubling AA means four times the energy, not twice.
  • Assuming a 50-50 split halfway out. At x=A/2x=A/2 the split is one-quarter potential and three-quarters kinetic.
  • Using total energy conservation with friction. With damping, mechanical energy is not conserved; the system loses energy to thermal energy.

How it shows up on the exam

  • Energy bar chart questions ask you to complete or choose the chart for a given position or time, with total height fixed.
  • Calculation questions give mm, kk, and AA and ask for maximum speed, or the speed at a given displacement.
  • Conceptual questions ask how energy, speed, or amplitude change with damping, or compare energy for two amplitudes or two springs.

Check yourself

  1. Where is the kinetic energy of a mass on a spring greatest, and where is the potential energy greatest?
  2. If you double the amplitude of an oscillator, what happens to its total energy and its maximum speed?
  3. Draw an energy bar chart for the mass at x=A/2x=A/2, with the total as a fixed height.
  4. With damping, which quantities shrink from one cycle to the next, and which stays about the same?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.