Skip to main content
United StatesPhysics C: MechanicsSyllabus dot point

What defines simple harmonic motion, and why does a linear restoring force lead to the differential equation whose solution is sinusoidal?

Topic 7.1 Defining Simple Harmonic Motion: identify simple harmonic motion as arising from a linear restoring force, derive the defining differential equation, and recognize its sinusoidal solution.

A focused answer to AP Physics C: Mechanics Topic 7.1, covering the linear restoring force that defines simple harmonic motion, the differential equation d2x/dt2=ω2xd^2x/dt^2 = -\omega^2 x, its sinusoidal solution, the meaning of the angular frequency, and the mass-spring example, with calculus-based worked examples.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The linear restoring force
  3. The defining differential equation
  4. The sinusoidal solution
  5. Try this

What this topic is asking

The College Board (Topic 7.1) wants you to identify simple harmonic motion (SHM) as the motion produced by a linear restoring force, to derive the defining differential equation, and to recognize its sinusoidal solution. This is the calculus core of Unit 7: SHM is defined by a second-order differential equation, and everything else in the unit, frequency, energy, pendulums, flows from it.

The linear restoring force

The defining ingredient is the linear restoring force. Whenever an object is displaced from a stable equilibrium and the force pulling it back grows in proportion to the displacement, the motion is SHM. The spring is the prototype (Hooke's law F=kxF = -kx), but the same form appears for a pendulum at small angles and for many systems near a potential-energy minimum. Because the force is restoring, the system overshoots equilibrium, swings to the other side, and oscillates indefinitely (in the absence of damping).

The defining differential equation

Applying Newton's second law to the linear restoring force gives a second-order differential equation:

md2xdt2=kxd2xdt2=kmx=ω2x,m\frac{d^2x}{dt^2} = -kx \quad\Longrightarrow\quad \frac{d^2x}{dt^2} = -\frac{k}{m}x = -\omega^2 x,

where we have defined ω2=k/m\omega^2 = k/m. This equation, the acceleration is proportional to the negative of the displacement, is the mathematical definition of SHM. Any system you can reduce to this form oscillates harmonically, and identifying the coefficient gives you the angular frequency immediately. Deriving this equation for a given system, a spring, a floating object, a small-angle pendulum, is the central AP Physics C skill of the unit.

The sinusoidal solution

The solution to x¨=ω2x\ddot{x} = -\omega^2 x is sinusoidal:

x(t)=Acos(ωt+ϕ),x(t) = A\cos(\omega t + \phi),

where AA is the amplitude (maximum displacement) and ϕ\phi is the phase constant, both set by the initial position and velocity. You can verify it by differentiating twice: x¨=ω2Acos(ωt+ϕ)=ω2x\ddot{x} = -\omega^2 A\cos(\omega t + \phi) = -\omega^2 x, which matches. The key feature is that the angular frequency ω=k/m\omega = \sqrt{k/m} depends only on the stiffness and mass, not on the amplitude. This amplitude-independence (isochronism) means a mass-spring oscillator keeps the same period whether it swings far or near, a property that makes harmonic oscillators useful as clocks.

Try this

Q1. A mass-spring system has x¨=64x\ddot{x} = -64x (SI units). State its angular frequency. [2 points]

  • Cue. ω2=64\omega^2 = 64, so ω=8.0\omega = 8.0 rad/s.

Q2. Explain why the period of a mass-spring oscillator does not depend on the amplitude. [2 points]

  • Cue. The angular frequency ω=k/m\omega = \sqrt{k/m} depends only on kk and mm, so the period is fixed regardless of how far the mass is displaced.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2024 (style)6 marksSection II (FRQ, calculus). A block of mass mm on a frictionless surface is attached to a spring of constant kk. (a) Using Newton's second law, derive the differential equation for the block's displacement x(t)x(t) from equilibrium. (b) Show that x(t)=Acos(ωt+ϕ)x(t) = A\cos(\omega t + \phi) is a solution and determine ω\omega in terms of kk and mm. (c) State how the angular frequency would change if the mass were quadrupled.
Show worked answer →

A 6-point calculus FRQ deriving the SHM equation.

(a) Differential equation (2 points): the spring force is kx-kx, so Newton's second law gives md2xdt2=kxm\dfrac{d^2x}{dt^2} = -kx, i.e. d2xdt2=kmx\dfrac{d^2x}{dt^2} = -\dfrac{k}{m}x.
(b) Solution and frequency (3 points): differentiate x=Acos(ωt+ϕ)x = A\cos(\omega t + \phi) twice: d2xdt2=ω2Acos(ωt+ϕ)=ω2x\dfrac{d^2x}{dt^2} = -\omega^2 A\cos(\omega t + \phi) = -\omega^2 x. Matching to the equation, ω2=km\omega^2 = \dfrac{k}{m}, so ω=km\omega = \sqrt{\dfrac{k}{m}}.
(c) Quadrupling the mass (1 point): ω=k/m\omega = \sqrt{k/m}, so quadrupling mm halves ω\omega (since 4=2\sqrt{4} = 2 in the denominator).

Markers reward deriving x¨=(k/m)x\ddot{x} = -(k/m)x and confirming the sinusoidal solution with ω=k/m\omega = \sqrt{k/m}.

AP 2021 (style)1 marksSection I (multiple choice). A system undergoes simple harmonic motion when the restoring force is... (A) constant (B) proportional to the displacement from equilibrium (C) proportional to the velocity (D) proportional to the square of the displacement. Justify your reasoning.
Show worked answer →

A 1-point conceptual MCQ. The answer is (B).

Simple harmonic motion arises precisely when the restoring force is proportional to the displacement and directed back toward equilibrium, F=kxF = -kx. This linear restoring force gives the differential equation x¨=ω2x\ddot{x} = -\omega^2 x, whose solution is sinusoidal. A constant force gives uniform acceleration (not oscillation); a velocity-dependent force gives damping; a force proportional to x2x^2 is nonlinear and not SHM. The trap is to forget that the proportionality must be linear in xx.

Related dot points

Sources & how we know this