AP PHYSICS 1: ALGEBRA-BASED • OSCILLATIONS

Defining Simple Harmonic Motion (SHM)

Understanding the restoring force that drives nature's most fundamental periodic motion.

Historical Context & Motivation

The study of oscillatory motion — objects swinging, bouncing, and vibrating — has captivated natural philosophers and physicists for centuries, ultimately giving rise to one of the most powerful models in all of classical mechanics: simple harmonic motion (SHM). From the rhythmic swing of a pendulum in a clock tower to the vibrations of atoms in a crystal lattice, SHM provides a unifying mathematical description for any system in which a restoring force pulls an object back toward an equilibrium position in proportion to its displacement. The recognition that such diverse phenomena share a common underlying structure ranks among the great conceptual achievements in the history of physics, and understanding SHM is essential not only for success on the AP Physics 1 exam but also as a gateway to wave mechanics, acoustics, and electromagnetism.

1583
Galileo and the Pendulum
Galileo Galilei observed that the period of a swinging chandelier in the Pisa cathedral remained roughly constant regardless of amplitude, establishing isochronism as a foundational concept in oscillatory motion.
1656
Huygens' Pendulum Clock
Christiaan Huygens built the first practical pendulum clock, exploiting the near-isochronous nature of small-angle pendulum swings to revolutionize timekeeping accuracy.
1676
Hooke's Law Published
Robert Hooke published his observation that the force exerted by a spring is proportional to its extension, giving the mathematical relationship F = −kx that underpins the modern definition of SHM.
1687
Newton's Principia
Isaac Newton's laws of motion provided the framework to connect Hooke's linear restoring force to the resulting sinusoidal displacement as a function of time, formally establishing the differential equation of SHM.
1822
Fourier's Theorem
Joseph Fourier demonstrated that any periodic function can be decomposed into a sum of sinusoidal components, confirming SHM as the fundamental building block of all oscillatory and wave phenomena.

These milestones converge on a single motivating question: what conditions must a physical system satisfy for it to oscillate with a perfectly regular, sinusoidal rhythm? Answering that question — defining SHM precisely and identifying its key parameters — is the objective of this lesson.

Core Principles & Definitions

At its heart, simple harmonic motion arises whenever an object experiences a net restoring force proportional to its displacement from equilibrium and directed opposite to that displacement. This single condition — captured by Hooke's law in the case of a spring — is both necessary and sufficient for producing the characteristic sinusoidal time dependence that defines SHM. Before exploring the mathematics, it is important to establish the foundational vocabulary and conceptual pillars of this topic.

1

Equilibrium Position

The location at which the net force on the oscillating object is zero. All displacements in SHM are measured relative to this point, typically labeled x = 0.
2

Restoring Force

A force that always acts to return the object toward equilibrium. In SHM, this force is linear: F = −kx, where k is the force constant and x is displacement.
3

Amplitude (A)

The maximum displacement from equilibrium, measured in meters. Amplitude determines the total energy stored in the oscillation but does not affect the period.
4

Period (T) & Frequency (f)

The period is the time for one complete oscillation cycle; frequency is the number of cycles per second. They are reciprocals: f = 1/T. SI units are seconds and hertz, respectively.
5

Angular Frequency (ω)

Defined as ω = 2πf = 2π/T, angular frequency measures how rapidly the phase of the oscillation advances, in radians per second. It connects the motion to circular-motion analogies.
KEY TAKEAWAY
Think of SHM like a marble rolling in a smooth, symmetric bowl. If you nudge the marble to one side, gravity provides a force that always pushes it back toward the bottom — the equilibrium point. The farther you push it, the stronger the restoring force. That proportionality is the hallmark of SHM. Any system in physics that behaves like that bowl, no matter how different it looks on the surface, will oscillate sinusoidally.

Visualizing Simple Harmonic Motion

A powerful way to understand SHM is to examine the relationship between a mass oscillating on a horizontal spring and the resulting displacement-versus-time graph. The diagram below shows the mass at five key positions during one complete cycle, along with the corresponding sinusoidal curve. Notice that the velocity is maximum at equilibrium and zero at the turning points, while the restoring force (and thus acceleration) behaves in exactly the opposite manner — maximum at the extremes and zero at equilibrium.

Top: A mass on a horizontal spring is shown at five instants during one full cycle. Pink arrows indicate the restoring force direction at the extreme positions. Bottom: The corresponding displacement-versus-time graph traces a cosine curve. Colored dots on the graph correspond to the mass positions above.

Several important observations emerge from this diagram. First, the displacement curve is a perfect cosine function — this sinusoidal shape is the defining signature of SHM and a direct mathematical consequence of the linear restoring force. Second, notice that the restoring force arrows point toward equilibrium at the extremes, confirming the direction requirement of Hooke's law. Third, at the equilibrium crossings (t = T/4 and t = 3T/4), the displacement is zero, meaning the net force and acceleration are also zero at those instants, even though the mass is moving at its maximum speed. This interplay between displacement, velocity, and acceleration is fundamental to understanding the energy exchanges within SHM, which we will develop in later sections.

Mathematical Framework of SHM

The mathematical description of SHM begins with the force law and proceeds through Newton's second law to arrive at the kinematic equations describing position, velocity, and acceleration as functions of time. Although the AP Physics 1 exam does not require you to solve differential equations, understanding how the equations connect — and what each variable represents — is essential for both conceptual reasoning and quantitative problem-solving.

RESTORING FORCE (HOOKE'S LAW)
F = −kx
F is the net restoring force (N), k is the spring constant or force constant (N/m), and x is the displacement from equilibrium (m). The negative sign indicates the force opposes the displacement.
ACCELERATION IN SHM
a = −(k/m) × x = −ω² × x
Applying Newton's second law (F = ma) and dividing both sides by m yields the acceleration. Here ω² = k/m, linking the angular frequency to the physical properties of the system. The acceleration is always proportional to and opposite in direction to the displacement.
POSITION AS A FUNCTION OF TIME
x(t) = A cos(ωt + φ)
A is the amplitude (m), ω is the angular frequency (rad/s), t is time (s), and φ is the phase constant (rad) determined by the initial conditions. If the object starts at maximum displacement with zero velocity, φ = 0.
PERIOD OF A MASS-SPRING SYSTEM
T = 2π √(m/k)
T is the period (s), m is the oscillating mass (kg), and k is the spring constant (N/m). Notice that the period is independent of amplitude — a hallmark of ideal SHM. Increasing the mass lengthens the period; increasing the spring constant shortens it.
📝 AP Exam Tip
The AP Physics 1 equation sheet provides T = 2π√(m/k) for a mass-spring system and T = 2π√(L/g) for a simple pendulum. Commit to understanding why the period depends on these specific variables rather than simply memorizing the formulas. Free-response questions frequently ask you to justify how changing a parameter affects the period.

Energy Analysis & Classification

One of the most insightful ways to analyze SHM is through the lens of energy conservation. In an ideal, frictionless system, the total mechanical energy — the sum of kinetic energy and elastic potential energy — remains constant throughout the motion. Energy is continuously converted between these two forms, and the relationship between them at any point in the cycle reveals the instantaneous speed and displacement of the oscillating object. The diagram below illustrates how kinetic and potential energy trade off during one complete oscillation.

The parabolic curves show how kinetic energy (cyan) and elastic potential energy (pink) vary with position. At the extremes (x = ±A), all energy is potential; at equilibrium (x = 0), all energy is kinetic. The dashed amber line represents the constant total mechanical energy E = ½kA².
ENERGY CONSERVATION IN SHM
E = ½kA² = ½mv² + ½kx²
At any point in the oscillation, the sum of kinetic energy (½mv²) and elastic potential energy (½kx²) equals the total mechanical energy (½kA²). This equation allows you to find the speed at any displacement, or vice versa.

An important consequence of energy conservation is the expression for the maximum speed of the oscillator. Setting x = 0 in the energy equation yields vmax = Aω = A√(k/m). This result is frequently tested on the AP exam, particularly in problems that ask you to compare speeds at different positions or to analyze how changing the amplitude or mass affects the maximum speed.

Worked Example: Mass-Spring Oscillator

A 0.50 kg block is attached to a horizontal spring with spring constant k = 200 N/m. The block is pulled 0.10 m from its equilibrium position and released from rest. Determine the period of oscillation, the maximum speed of the block, and the speed of the block when it is 0.060 m from equilibrium.

Complete Solution
1
Step 1 — Identify Given ValuesMass m = 0.50 kg, spring constant k = 200 N/m, amplitude A = 0.10 m (since the block is released from rest at maximum displacement), initial velocity v₀ = 0.
2
Step 2 — Calculate the PeriodUsing the period formula for a mass-spring system: T = 2π√(m/k) = 2π√(0.50/200) = 2π√(0.0025) = 2π × 0.050 = 0.314 s.
T ≈ 0.31 s
3
Step 3 — Determine Angular Frequencyω = 2π/T = 2π/0.314 ≈ 20 rad/s. Alternatively, ω = √(k/m) = √(200/0.50) = √400 = 20 rad/s, which confirms the result.
ω = 20 rad/s
4
Step 4 — Calculate Maximum SpeedThe maximum speed occurs at equilibrium (x = 0). Using v_max = Aω = (0.10 m)(20 rad/s) = 2.0 m/s.
v_max = 2.0 m/s
5
Step 5 — Find Speed at x = 0.060 m Using Energy ConservationApply ½kA² = ½mv² + ½kx². Solving for v: v = √[(k/m)(A² − x²)] = √[(200/0.50)(0.10² − 0.060²)] = √[400 × (0.010 − 0.0036)] = √[400 × 0.0064] = √2.56 = 1.6 m/s.
v ≈ 1.6 m/s at x = 0.060 m
Verification Check
Notice that 1.6 m/s is less than v_max = 2.0 m/s, which makes physical sense — at x = 0.060 m, the block is between equilibrium and the amplitude, so some energy is stored as potential energy and the speed must be less than the maximum.

SHM Compared to Other Types of Motion

Not all periodic motion qualifies as simple harmonic motion. The distinguishing feature of SHM is the strict proportionality between the restoring force and displacement. It is instructive to compare SHM with other common types of motion to appreciate both its power and its limitations as a model.

Comparison of SHM with other oscillatory motions
FeatureSimple Harmonic MotionGeneral Periodic MotionDamped Oscillation
Restoring forceProportional to displacement (F = −kx)May be nonlinear (e.g., F depends on x³)Proportional to displacement plus a velocity-dependent drag
Waveform shapePerfect sinusoidRepeating but non-sinusoidalSinusoid with exponentially decaying amplitude
Period vs. amplitudeIndependent of amplitudeOften depends on amplitudeSlightly longer period if damping is light
Total energyConstant (no dissipation)Constant if conservativeDecreases over time
Real-world exampleMass on ideal spring; small-angle pendulumHeartbeat; large-angle pendulumCar shock absorber; plucked guitar string
KEY TAKEAWAY
Simple harmonic motion is the idealized limit of oscillatory motion, analogous to how a frictionless surface is the idealized limit for translational dynamics. Just as real surfaces always have some friction, real oscillators always have some damping or nonlinearity. However, SHM serves as the essential baseline model — you must understand the ideal case before you can meaningfully account for the complications introduced by friction, air resistance, or nonlinear forces.

Connections to Advanced Topics

Mastering SHM in the context of AP Physics 1 prepares you for several advanced areas of physics. The sinusoidal solutions that define SHM reappear in traveling waves, standing waves, and AC circuits. In fact, the AP Physics 1 unit on waves builds directly upon the mathematics and concepts of oscillations — a traveling wave can be thought of as a chain of coupled simple harmonic oscillators transmitting energy through a medium. Understanding the connections below will help you see SHM not as an isolated topic but as a cornerstone of physics.

How SHM connects to other AP Physics 1 topics
AP Physics 1 TopicConnection to SHM
Traveling WavesEach particle in a transverse or longitudinal wave undergoes SHM about its equilibrium position. Wave speed and wavelength derive from the oscillation period.
Standing Waves & ResonanceStanding wave patterns arise when a medium oscillates with SHM at resonant frequencies. The concept of natural frequency originates from ω = √(k/m).
Simple PendulumFor small angles (θ < ~15°), the pendulum approximates SHM with T = 2π√(L/g). The restoring force is the tangential component of gravity, which is approximately proportional to displacement.
Circular Motion AnalogySHM can be viewed as the projection of uniform circular motion onto a diameter. Angular frequency ω in SHM is directly analogous to the angular velocity in circular motion.
Energy & Conservation LawsSHM provides a rich context for applying energy conservation. The continuous exchange between kinetic and potential energy mirrors conservation principles across all of mechanics.

Looking beyond AP Physics 1, SHM appears in quantum mechanics (the quantum harmonic oscillator is one of the few exactly solvable models), in electrical engineering (LC circuits oscillate with the same mathematics as a mass-spring system), and in molecular spectroscopy (vibrational modes of molecules are modeled as quantum harmonic oscillators). The mathematical tools you build here — sinusoidal functions, energy conservation, and the relationship between force and motion — will serve you throughout your scientific career.

Practice Problems

1
A block oscillates on a frictionless surface attached to an ideal spring. Which of the following statements correctly describes the block's acceleration when it passes through the equilibrium position?
2
A 0.25 kg mass oscillates on a spring with k = 100 N/m. What is the period of oscillation?
3
A block undergoing SHM on a spring has amplitude A and maximum speed v_max. At what displacement from equilibrium is the block's speed equal to half of v_max?
PROBLEM 4APPLIED
A student has access to a vertical spring, a set of hanging masses (50 g to 500 g), a meter stick, a stopwatch, and a ring stand. The student wants to experimentally determine the spring constant k of the spring by measuring the period of oscillation for different masses. (a) Describe a procedure the student could use to collect the necessary data. Include enough detail that another student could replicate the experiment. (2 points) (b) Describe how the data should be graphed and analyzed to determine k. Explain how the value of k would be extracted from the graph. (2 points) (c) Identify one source of systematic error in this experiment and explain its effect on the measured value of k. (1 point)
PROBLEM 5CRITICAL THINKING
Two identical mass-spring systems (same m and k) are set into oscillation. System 1 is given an amplitude of A, while System 2 is given an amplitude of 2A. (a) Compare the periods of the two systems. Justify your answer. (1 point) (b) Compare the maximum speeds of the two systems. Justify your answer using an energy argument. (2 points) (c) At the instant each system passes through a displacement of x = A/2 from equilibrium, which system has the greater speed? Justify your answer quantitatively. (1 point)

Lesson Summary

Simple harmonic motion is the oscillatory motion that results when a linear restoring force (F = −kx) acts on an object displaced from its equilibrium position. The resulting motion is perfectly sinusoidal, described by x(t) = A cos(ωt + φ), where amplitude A is the maximum displacement and angular frequency ω = √(k/m) determines the rate of oscillation. The period T = 2π√(m/k) is independent of amplitude — a hallmark property of SHM.

Energy conservation governs the dynamics: the total mechanical energy E = ½kA² is constant, with continuous exchange between elastic potential energy (½kx²) and kinetic energy (½mv²). The maximum speed v_max = Aω occurs at equilibrium, while the acceleration a = −ω²x reaches its maximum magnitude at the turning points. SHM serves as the foundational model for understanding waves, resonance, and a wide range of oscillatory phenomena across physics.

Varsity Tutors • AP Physics 1: Algebra-Based • Defining Simple Harmonic Motion (SHM)