Simple Harmonic Motion: Pendulum and Spring Period

A spring-mass oscillator has period T = 2 pi sqrt(m/k); a simple pendulum has period T = 2 pi sqrt(l/g). Amplitude does not affect either period, and the pendulum's period does not depend on the mass of the bob. Energy swaps between kinetic and potential twice each cycle.

AP Physics: Unit 7 (topics 7.1 Defining Simple Harmonic Motion (SHM), 7.2 Frequency and Period of SHM, 7.4 Energy of Simple Harmonic Oscillators). Covers Unit 7 (Oscillations) of AP Physics 1, worth 5 to 8 percent of the multiple-choice section. AP Physics C: Mechanics tests the same period formulas in its own Unit 7, adding simple and physical pendulums as topic 7.5.

The two period formulas

A mass on a spring oscillates with period Ts=2πm/kT_s = 2\pi\sqrt{m/k}, where mm is the attached mass in kilograms and kk is the spring constant in newtons per meter. A simple pendulum swings with period Tp=2π/gT_p = 2\pi\sqrt{\ell/g}, where \ell is the string length in meters and g=9.8 m/s2g = 9.8 \text{ m/s}^2 near Earth's surface. The period TT is the time for one complete cycle, in seconds, and frequency is its reciprocal: T=1/fT = 1/f.

All three equations are printed on the AP Physics 1 equation sheet, so you never have to memorize them. What the exam actually tests is whether you know which variables matter, which do not, and how the period responds when one of them changes. That is where the rest of this guide goes.

What counts as simple harmonic motion

Simple harmonic motion happens when the net force on an object is a restoring force whose strength is proportional to the displacement from equilibrium. A spring does this exactly: Hooke's law gives Fs=kΔxF_s = -k\Delta x, so doubling the stretch doubles the pull back toward center. The negative sign means the force always points opposite the displacement.

A pendulum is only approximately simple harmonic. The restoring force component along the swing is mgsinθmg\sin\theta, and only for small angles (roughly under 15 degrees) is sinθ\sin\theta close enough to θ\theta for the motion to count as SHM. That is why the pendulum formula carries a small-angle assumption while the spring formula has none.

In both cases the object speeds up toward equilibrium, overshoots, slows, stops momentarily at the far side, and repeats. Maximum speed occurs at equilibrium. Maximum acceleration occurs at the endpoints, where displacement and restoring force are largest.

What does not affect each period

Amplitude appears in neither formula. Pull the spring mass twice as far before releasing it, or start the pendulum from a slightly wider angle, and the period stays the same: the object travels farther each cycle but also moves faster, and the two effects cancel exactly. This amplitude independence is the signature of simple harmonic motion and one of the most tested facts in Unit 7.

Mass does not affect the pendulum. A heavier bob feels a stronger gravitational pull, but it also has proportionally more inertia, so mm cancels out of the motion. Swap a steel bob for a wooden one on the same string and the period is unchanged.

Gravity does not affect the spring-mass period. Since gg never enters Ts=2πm/kT_s = 2\pi\sqrt{m/k}, a horizontal spring oscillator on Earth and the identical oscillator on the Moon share one period. Hanging the mass vertically shifts the equilibrium position but leaves the period alone.

Energy trades back and forth

Total mechanical energy stays constant in ideal SHM; it just changes form twice per cycle. At maximum displacement the object is momentarily at rest, so kinetic energy is zero and everything is potential: Us=12k(Δx)2U_s = \frac{1}{2}k(\Delta x)^2 for a spring, or gravitational ΔUg=mgΔy\Delta U_g = mg\Delta y for a pendulum bob at the top of its swing. Passing through equilibrium, potential energy hits its minimum and the energy is all kinetic, K=12mv2K = \frac{1}{2}mv^2, which is where speed peaks.

For a spring oscillator with amplitude AA, the total energy is 12kA2\frac{1}{2}kA^2, set entirely by amplitude and spring constant. Doubling the amplitude quadruples the stored energy but, as always, leaves the period untouched.

Every energy question in topic 7.4 is really a conservation of energy problem: write the total energy at one position, set it equal to the total at another, and solve. The third worked example below does exactly that.

Proportional reasoning beats plugging in

Multiple-choice questions rarely hand you clean numbers. They ask what happens to TT when a variable changes, and the square root is the whole game: period scales with the square root of the numerator and the inverse square root of the denominator.

  • Quadruple the mass on a spring: TsT_s doubles, since 4=2\sqrt{4} = 2.
  • Quadruple the pendulum length: TpT_p doubles for the same reason.
  • Swap in a spring four times stiffer: TsT_s halves.
  • Move a pendulum to a planet where gg is four times larger: TpT_p halves.
ChangeEffect on TsT_s (spring)Effect on TpT_p (pendulum)
Double the amplitudenonenone (small angles)
Double the masslonger by 2\sqrt{2}none
Double ggnoneshorter by 2\sqrt{2}

Handle one factor at a time and most Unit 7 ranking questions take under a minute.

Where SHM sits in AP Physics 1

Oscillations is Unit 7 of AP Physics 1, worth 5 to 8 percent of the multiple-choice section. This guide covers topic 7.1 (defining SHM), topic 7.2 (frequency and period), and topic 7.4 (energy of simple harmonic oscillators); topic 7.3 adds the position, velocity, and acceleration graphs. A calculator is allowed on both sections of the exam, so arithmetic is never the obstacle in a period problem. The traps are conceptual, like assuming a heavier bob swings slower.

Keep the equation sheet open while you practice so you know exactly where Ts=2πm/kT_s = 2\pi\sqrt{m/k}, Tp=2π/gT_p = 2\pi\sqrt{\ell/g}, and T=1/fT = 1/f sit on the page. For the full topic list, see the Unit 7 overview. The same oscillation is what launches a periodic wave, so the frequency here carries straight into wave speed, frequency, and wavelength. If you are in the calculus-based course instead, AP Physics C: Mechanics tests the same two formulas in its own Unit 7 and adds simple and physical pendulums as topic 7.5.

Period and frequency of a spring-mass oscillator

A 0.50 kg block on a frictionless surface is attached to a horizontal spring with spring constant k=200k = 200 N/m. The block is pulled 0.30 m from equilibrium and released. Find the period and the frequency of the oscillation.

  1. Start from the spring period formula: Ts=2πm/kT_s = 2\pi\sqrt{m/k}. The 0.30 m amplitude is a distractor; amplitude does not appear in the formula.

  2. Substitute the values: Ts=2π0.50 kg/200 N/m=2π0.0025 s2T_s = 2\pi\sqrt{0.50 \text{ kg} / 200 \text{ N/m}} = 2\pi\sqrt{0.0025 \text{ s}^2}.

  3. Take the root: 0.0025 s2=0.050\sqrt{0.0025 \text{ s}^2} = 0.050 s, so Ts=2π(0.050 s)=0.314T_s = 2\pi(0.050 \text{ s}) = 0.314 s.

  4. Frequency is the reciprocal: f=1/T=1/(0.314 s)=3.18f = 1/T = 1/(0.314 \text{ s}) = 3.18 Hz.

T=0.314T = 0.314 s and f=3.18f = 3.18 Hz. Pulling the block farther before release would change its maximum speed and energy, but not the period.

Length of a pendulum with a 2.00 s period

What length must a simple pendulum have so that one complete swing takes exactly 2.00 s? Use g=9.8 m/s2g = 9.8 \text{ m/s}^2.

  1. Solve Tp=2π/gT_p = 2\pi\sqrt{\ell/g} for length: square both sides to get T2=4π2/gT^2 = 4\pi^2 \ell / g, so =gT2/(4π2)\ell = gT^2 / (4\pi^2).

  2. Substitute: =(9.8 m/s2)(2.00 s)2/(4π2)=(9.8)(4.00)/39.48\ell = (9.8 \text{ m/s}^2)(2.00 \text{ s})^2 / (4\pi^2) = (9.8)(4.00)/39.48 m.

  3. Compute: =39.2/39.48=0.993\ell = 39.2 / 39.48 = 0.993 m.

=0.993\ell = 0.993 m, just under one meter. This is the classic seconds pendulum: each one-way swing takes 1.00 s. The mass of the bob never entered the calculation because it does not matter.

Speed from energy conservation

A 0.20 kg block oscillates on a horizontal spring with k=80k = 80 N/m and amplitude A=0.10A = 0.10 m. Find (a) the total mechanical energy, (b) the maximum speed, and (c) the speed when the block is 0.050 m from equilibrium.

  1. At maximum displacement the energy is all potential: E=12kA2=12(80 N/m)(0.10 m)2=0.40E = \frac{1}{2}kA^2 = \frac{1}{2}(80 \text{ N/m})(0.10 \text{ m})^2 = 0.40 J.

  2. At equilibrium the energy is all kinetic: 12mvmax2=0.40\frac{1}{2}mv_{max}^2 = 0.40 J, so vmax2=2(0.40 J)/(0.20 kg)=4.0 m2/s2v_{max}^2 = 2(0.40 \text{ J})/(0.20 \text{ kg}) = 4.0 \text{ m}^2/\text{s}^2 and vmax=2.0v_{max} = 2.0 m/s.

  3. At x=0.050x = 0.050 m the spring stores Us=12(80 N/m)(0.050 m)2=0.10U_s = \frac{1}{2}(80 \text{ N/m})(0.050 \text{ m})^2 = 0.10 J, leaving K=0.400.10=0.30K = 0.40 - 0.10 = 0.30 J.

  4. Convert to speed: v=2K/m=2(0.30 J)/(0.20 kg)=3.0=1.73v = \sqrt{2K/m} = \sqrt{2(0.30 \text{ J})/(0.20 \text{ kg})} = \sqrt{3.0} = 1.73 m/s.

(a) E=0.40E = 0.40 J, (b) vmax=2.0v_{max} = 2.0 m/s, (c) v=1.73v = 1.73 m/s. Notice the speed at half the amplitude is not half the maximum speed, because energy depends on the square of displacement.

Frequently asked questions

Does amplitude change the period of a spring or a pendulum?

No. Amplitude appears in neither period formula. A larger swing or stretch means more distance per cycle but also higher speeds, and the two effects cancel. For a pendulum this holds as long as the angle stays small, since the pendulum is only approximately simple harmonic.

Why does the mass of the bob not affect a pendulum's period?

Gravity pulls harder on a heavier bob, but the heavier bob also resists acceleration more, so the mass cancels out. It is the same reason all objects fall at the same rate in free fall. Only the length of the pendulum and the local value of g set the period.

What happens to a pendulum clock on the Moon?

The Moon's gravitational field strength is about one sixth of Earth's, so the period grows by a factor of sqrt(6), roughly 2.4 times longer, and the clock runs slow. A spring-mass oscillator would keep exactly the same period, because g does not appear in its formula.

Where is speed greatest, and where is acceleration greatest, in SHM?

Speed is greatest at the equilibrium position, where all the energy is kinetic, and zero at the endpoints. Acceleration is greatest at the endpoints, where the displacement and restoring force are largest, and zero at equilibrium. Many students expect both to peak in the same place; they never do.

Are the period formulas given on the AP exam?

Yes. Both period equations and T = 1/f are printed on the AP Physics 1 equation sheet, and a calculator is allowed on both sections of the exam. The scored skill is deciding which variables matter and how the period scales when one changes.