AP PHYSICS 1: ALGEBRA-BASED • OSCILLATIONS

Representing and Analyzing SHM

Master the sinusoidal graphs, phase relationships, and energy analysis that describe every oscillating system in nature.

Historical Context & Motivation

The study of oscillatory motion dates back centuries, rooted in humanity's earliest encounters with pendulums, vibrating strings, and celestial cycles. The formal mathematical treatment of simple harmonic motion (SHM) grew from efforts to describe how objects move back and forth around a stable equilibrium position. What makes SHM so central to physics is that it serves as the universal model for any system experiencing a restoring force proportional to displacement — from atoms in a crystal lattice to the oscillations of a guitar string. Understanding how to represent and analyze SHM graphically and mathematically unlocks insights across mechanics, waves, sound, and even quantum physics.

1583
Galileo and the Pendulum
Galileo Galilei observes that a swinging chandelier takes the same time per swing regardless of amplitude (for small angles), establishing the isochronous nature of pendulum motion.
1656
Huygens' Pendulum Clock
Christiaan Huygens builds the first pendulum clock, exploiting the regularity of oscillatory motion for precise timekeeping and advancing the mathematical treatment of periodic systems.
1678
Hooke's Law
Robert Hooke publishes his law of elasticity, F = −kx, providing the restoring-force foundation upon which the entire mathematical framework of SHM is built.
1736
Euler's Sinusoidal Functions
Leonhard Euler formalizes the sine and cosine functions as solutions to differential equations of motion, giving physicists the exact language needed to represent oscillations analytically.
1822
Fourier Analysis
Joseph Fourier demonstrates that any periodic function can be decomposed into a sum of sinusoidal components, revealing SHM as the fundamental building block of all periodic phenomena.

These historical developments converge on a central question: How do we precisely describe the position, velocity, acceleration, and energy of an oscillator at every instant? The answer lies in sinusoidal representations and the phase relationships among kinematic quantities — tools that remain essential in the AP Physics 1 curriculum and well beyond.

Core Principles & Definitions

Before diving into graphs and equations, it is essential to establish the foundational vocabulary and physical ideas that govern SHM. Every oscillating system that qualifies as simple harmonic exhibits a linear restoring force directed toward equilibrium and proportional to the displacement from that equilibrium. This single condition dictates sinusoidal motion, fixed-period oscillations, and predictable energy exchange between kinetic and potential forms.

1

Amplitude (A)

The maximum displacement from equilibrium, measured in meters. Amplitude determines the total mechanical energy of the system but does not affect the period.
2

Period (T) & Frequency (f)

The period is the time for one complete oscillation (seconds); frequency is the number of cycles per second (hertz). They are reciprocals: f = 1/T.
3

Angular Frequency (ω)

Defined as ω = 2πf = 2π/T, angular frequency relates oscillatory motion to circular motion and appears directly in all sinusoidal equations of SHM.
4

Phase Constant (φ₀)

The initial phase angle (in radians) that specifies where in its cycle the oscillator begins at t = 0. Different initial conditions produce different phase constants.
5

Restoring Force & Equilibrium

The net force always points toward the equilibrium position and is proportional to displacement: Fnet = −kx. This linear restoring force is the defining feature of SHM.
KEY TAKEAWAY
Think of SHM as the shadow of uniform circular motion projected onto a line. If you watch a ball on a rotating turntable from the side, the ball appears to oscillate back and forth sinusoidally — that projection is SHM. The radius of the circle corresponds to the amplitude, the rotation rate to the angular frequency, and the starting angle to the phase constant. This reference-circle model explains why every SHM quantity is naturally described by sine and cosine functions.

Visual Explanation — x(t), v(t), and a(t) Graphs

The most powerful way to understand SHM is to examine how position, velocity, and acceleration evolve over time on stacked sinusoidal graphs. These three curves have identical shapes — all sinusoidal with the same period — but they are phase-shifted relative to one another. Position leads velocity by a quarter cycle (π/2 radians), and velocity leads acceleration by another quarter cycle. Equivalently, acceleration is exactly half a cycle (π radians) out of phase with position, which is the graphical signature of the restoring force always opposing displacement.

Stacked graphs of position x(t) in cyan, velocity v(t) in violet, and acceleration a(t) in pink. Notice that velocity leads position by π/2 radians (quarter period) and acceleration is π radians (half period) out of phase with position. Dashed vertical lines help visualize the phase offsets.

Several crucial relationships emerge from these graphs. At the moment the position reaches its maximum displacement (x = +A), the velocity is zero and the acceleration has its maximum magnitude in the negative direction. Conversely, when the object passes through equilibrium (x = 0), the velocity reaches its maximum magnitude while the acceleration is zero. These relationships are not coincidental — they are direct consequences of Newton's second law applied to a restoring force: the acceleration must always point opposite to the displacement.

💡 AP Exam Tip
The AP Physics 1 exam frequently asks you to identify or sketch the velocity or acceleration graph given a position-versus-time graph (or vice versa). Memorize this: velocity is the slope of x(t), and acceleration is the slope of v(t). If x(t) is at a peak, v(t) crosses zero and a(t) is at a trough — and the pattern repeats.

Mathematical Framework

The sinusoidal functions that describe SHM are not arbitrary — they are the unique solutions to the condition that acceleration is proportional to, and opposite in direction from, displacement. For an object oscillating along the x-axis with amplitude A, angular frequency ω, and initial phase φ₀, the three kinematic equations of SHM follow directly from one another through differentiation.

POSITION
x(t) = A cos(ωt + φ₀)
A = amplitude (m), ω = angular frequency (rad/s), t = time (s), φ₀ = initial phase (rad). The cosine form is conventional when the object starts at maximum displacement.
VELOCITY
v(t) = −Aω sin(ωt + φ₀)
The maximum speed is vmax = Aω, which occurs as the object passes through equilibrium. The negative sign ensures that velocity is the time derivative of position.
ACCELERATION
a(t) = −Aω² cos(ωt + φ₀) = −ω²x(t)
The maximum acceleration magnitude is amax = Aω². Note that a = −ω²x, confirming that acceleration is always proportional to and opposite in sign from displacement.
ANGULAR FREQUENCY RELATIONS
ω = 2πf = 2π / T
For a mass-spring system: ω = √(k/m). For a simple pendulum (small angle): ω = √(g/L). These connect the abstract angular frequency to physical system parameters.

A critical insight is the relationship a(t) = −ω²x(t). This equation encapsulates the defining property of SHM: the acceleration is always proportional to the displacement with a negative proportionality constant. When you encounter a system where this relationship holds, you can immediately conclude the motion is simple harmonic and identify ω² as the coefficient. On the AP exam, being able to recognize this form — whether given as an equation, a graph, or a verbal description — is essential for earning full credit on both multiple-choice and free-response questions.

📐 Phase Constant Conventions
If the oscillator starts at maximum positive displacement, φ₀ = 0 and x(0) = A. If it starts at equilibrium moving in the positive direction, φ₀ = −π/2 (making x(t) = A sin(ωt)). The AP exam may present either form; recognize them as equivalent descriptions with different phase constants.

Energy in SHM — KE, PE, and Total Energy

Energy analysis provides a complementary perspective on SHM that the AP exam tests heavily. In an ideal (frictionless) oscillator, total mechanical energy is conserved and continuously converts between kinetic energy (KE) and potential energy (PE). At the equilibrium position, all energy is kinetic; at the turning points (x = ±A), all energy is potential. Importantly, both KE and PE vary sinusoidally with twice the frequency of the displacement — the energy completes a full cycle in half the period because PE peaks at both +A and −A.

Energy versus position for a mass-spring oscillator. The potential energy (yellow parabola) peaks at ±A where the object momentarily stops; the kinetic energy (cyan parabola) peaks at x = 0 where the object moves fastest. Their sum, the total energy (green dashed line), remains constant throughout the motion.
ENERGY EQUATIONS
E = ½kA² = ½mv²max = KE + PE = ½mv² + ½kx²
At any displacement x, PE = ½kx² and KE = ½k(A² − x²). The total energy E = ½kA² depends on amplitude squared, so doubling the amplitude quadruples the energy.

The energy-position diagram is an especially powerful tool because it allows you to determine the speed at any position without knowing the time. Given E = ½kA² and PE = ½kx², the kinetic energy at any x is KE = ½k(A² − x²), so the speed at position x is v = ω√(A² − x²). At x = 0, this simplifies to vmax = Aω. At x = ±A, v = 0 as expected. Many AP free-response questions ask you to relate speed and position using this energy approach, which avoids the need to solve for time explicitly.

Worked Example

Mass-Spring Oscillator: Full Kinematic & Energy Analysis
1
Step 1 — Identify Given ValuesA 0.50 kg block is attached to a horizontal spring (k = 200 N/m) on a frictionless surface. The block is pulled 0.10 m from equilibrium and released from rest. Find the period, maximum speed, maximum acceleration, and the speed when the block is 0.060 m from equilibrium.
2
Step 2 — Calculate Angular Frequency and Periodω = √(k/m) = √(200/0.50) = √400 = 20 rad/s. The period is T = 2π/ω = 2π/20 = 0.314 s.
T ≈ 0.314 s, ω = 20 rad/s
3
Step 3 — Find Maximum SpeedThe maximum speed occurs at equilibrium: vmax = Aω = (0.10 m)(20 rad/s) = 2.0 m/s. Alternatively, using energy: ½mv² = ½kA² gives v = A√(k/m) = 0.10 × 20 = 2.0 m/s.
v_max = 2.0 m/s
4
Step 4 — Find Maximum AccelerationThe maximum acceleration occurs at maximum displacement: amax = Aω² = (0.10 m)(20 rad/s)² = (0.10)(400) = 40 m/s². This can also be found from Newton's second law: amax = kA/m = (200)(0.10)/0.50 = 40 m/s².
a_max = 40 m/s²
5
Step 5 — Find Speed at x = 0.060 mUsing the energy-derived velocity equation: v = ω√(A² − x²) = 20 × √(0.10² − 0.060²) = 20 × √(0.0100 − 0.0036) = 20 × √(0.0064) = 20 × 0.080 = 1.6 m/s. The block retains significant speed because it is still relatively close to equilibrium.
v = 1.6 m/s at x = 0.060 m
Dimensional Check
Always verify units. ω has units of rad/s = s⁻¹, so Aω has units of m × s⁻¹ = m/s ✓, and Aω² has units of m × s⁻² = m/s² ✓. This is a quick way to catch errors on the exam.

Comparing Representations of SHM

SHM can be described through multiple representations — verbal descriptions, equations, graphs, energy bar charts, and motion diagrams. The AP Physics 1 exam rewards students who can fluently translate between these representations. Each has strengths and limitations, and the table below summarizes when each is most useful.

Comparison of SHM representations used on the AP Physics 1 exam
RepresentationStrengthsLimitations
Sinusoidal EquationsProvide exact values of x, v, or a at any time; reveal phase relationships analytically; allow algebraic derivations of energy and velocity at any position.Require knowledge of ω, A, and φ₀; abstract for students who think visually; don't immediately convey qualitative behavior.
x(t), v(t), a(t) GraphsShow phase shifts visually; make it easy to identify maxima, zeros, and turning points; slopes connect kinematics (slope of x is v, slope of v is a).Hard to extract precise numerical values without a scale; require careful axis labeling to avoid sign errors.
Energy vs. Position GraphDirectly shows KE, PE, and total E at any position; illustrates energy conservation; can determine speed at any x without time.Contains no time information; cannot tell how fast the object reaches a given position; does not show direction of motion.
Energy Bar ChartsExcellent for qualitative comparisons at different positions; clearly show energy transfer from KE to PE and back.Not suitable for precise calculations; only show discrete snapshots, not continuous motion.
Motion DiagramsShow how position and velocity change over equal time intervals; make the 'speeding up near equilibrium, slowing near turning points' pattern intuitive.Difficult to read for more than one full cycle; do not encode acceleration explicitly.
KEY TAKEAWAY
Think of each representation as a different 'lens' on the same physical process — the way a topographic map, a satellite photo, and a hiking trail description all describe the same mountain. No single representation captures everything: equations are precise but abstract, graphs are intuitive but approximate, and energy diagrams are powerful but time-blind. The hallmark of a strong AP Physics student is the ability to translate fluidly between these lenses to solve any problem efficiently.

Connection to Advanced Theory

Simple harmonic motion is the idealized case — the first term in a broader description of oscillatory systems. Understanding how the AP Physics 1 treatment connects to more advanced concepts helps you appreciate both the power and the boundaries of the SHM model.

From AP Physics 1 SHM to more advanced oscillatory theory
AP Physics 1 (SHM)Advanced Extension
No friction or damping; amplitude stays constant forever.Damped oscillations: amplitude decays exponentially due to viscous or friction forces (AP Physics C and beyond).
Restoring force is exactly proportional to displacement (F = −kx).Anharmonic oscillations: for large displacements, restoring forces become nonlinear (e.g., pendulum at large angles), and period depends on amplitude.
System oscillates at its natural frequency only.Driven and resonant oscillations: an external periodic force can drive the system and, at resonance, produce dramatic amplitude growth.
Single-particle oscillation; no wave propagation.Coupled oscillators and mechanical waves: SHM of individual particles underpins traveling and standing waves.
Classical description using position and momentum.Quantum harmonic oscillator: energy is quantized into discrete levels E_n = (n + ½)ℏω, the foundation of quantum field theory.

The key forward-looking idea for AP students is this: when you study mechanical waves later in the course, you will see that each small element of the medium undergoes SHM. The wave equation itself is built by coupling many simple harmonic oscillators together, so the sinusoidal mathematics you have learned here — amplitude, frequency, phase — will reappear as the fundamental language of wave phenomena, from sound to light.

Practice Problems

1
A block on a spring undergoes simple harmonic motion. At the instant the block passes through the equilibrium position, which of the following statements is true?
2
A 0.25 kg mass oscillates on a spring with a spring constant of 100 N/m. The amplitude of oscillation is 0.08 m. What is the maximum speed of the mass?
3
An object oscillates in SHM with amplitude A and period T. At what displacement from equilibrium is the object's speed equal to half of its maximum speed?
PROBLEM 4APPLIED
A student has access to a vertical spring, a set of hanging masses (50 g to 500 g in 50 g increments), a stopwatch, and a meter stick. The student wants to experimentally determine the spring constant k of the spring by analyzing the period of oscillation for different masses. (a) Describe the procedure the student should follow to collect the necessary data. Include enough detail that another student could replicate the experiment. (b) Identify the quantities the student should graph to produce a straight line, and explain how the spring constant k can be determined from the graph. (c) Describe one technique the student should use to reduce experimental uncertainty in the measurement of the period. (d) The student notices that for very large masses, the measured period is slightly longer than predicted. Provide a physical explanation for this discrepancy.
PROBLEM 5CRITICAL THINKING
Two identical mass-spring systems (same mass m and spring constant k) oscillate in SHM. System 1 has amplitude A₁ = 0.10 m and System 2 has amplitude A₂ = 0.20 m. (a) Compare the periods of the two systems. Justify your answer. (b) Compare the maximum accelerations of the two systems. Derive the ratio a₂,max / a₁,max. (c) At what displacement from equilibrium does System 2 have the same speed as the maximum speed of System 1? Show your work.

Summary

Simple harmonic motion describes any oscillation where the restoring force is proportional to displacement (F = −kx), producing sinusoidal position, velocity, and acceleration functions. The motion is fully characterized by three parameters: amplitude A (maximum displacement), angular frequency ω = 2π/T (which depends on system properties, not amplitude), and phase constant φ₀ (set by initial conditions). The position x(t) = A cos(ωt + φ₀), velocity v(t) = −Aω sin(ωt + φ₀), and acceleration a(t) = −ω²x(t) are related by quarter-cycle phase shifts — velocity leads position by π/2, and acceleration is π out of phase with position.

Energy in SHM oscillates between kinetic energy (½mv², maximum at equilibrium) and potential energy (½kx², maximum at turning points), with total mechanical energy E = ½kA² conserved throughout. The energy-position parabolas allow determination of speed at any displacement via v = ω√(A² − x²). Mastery of SHM requires fluency in translating between equations, graphs, energy diagrams, and verbal descriptions — a skill the AP exam tests extensively across both MCQ and FRQ formats.

Varsity Tutors • AP Physics 1: Algebra-Based • Representing and Analyzing SHM