PrepGo

Representing and Analyzing SHM - AP Physics C: Mechanics Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 13 minutes to read.

Getting Started

Simple Harmonic Motion (SHM) describes the oscillatory behavior of many systems, from a mass on a spring to the swing of a pendulum's bob. This motion occurs when an object is subject to a restoring force that is directly proportional to its displacement from a stable equilibrium position. Our central question is: how can we use the principles of dynamics and calculus to create a complete mathematical description of an object's position, velocity, and acceleration as it oscillates over time?

What You Should Be Able to Do

By the end of this section, you should be able to:

  • Derive the second-order linear differential equation that governs simple harmonic motion from Newton's Second Law and a linear restoring force.

  • Verify by differentiation that a sinusoidal function of the form is a valid solution to this differential equation.

  • Determine the velocity and acceleration functions for an object in SHM by taking successive time derivatives of its position function.

  • Analyze the direct, linear relationship between an object's acceleration and its position at any point during its motion.

Key Concepts & Mechanisms

System & Preconditions

Our model system is a point mass, , attached to an ideal, massless spring on a frictionless horizontal surface. The system's equilibrium position is defined as . The crucial precondition for SHM is the existence of a linear restoring force, a force that is always directed toward the equilibrium position and whose magnitude is directly proportional to the displacement, , from that position. This is described by Hooke's Law, , where is the spring constant. We assume no energy is lost to friction or air resistance.

Key Steps / Relations

  1. Governing Law: The motion is governed by Newton's Second Law for one-dimensional motion: .

  2. Force Substitution: For our system, the only horizontal force is the spring's restoring force. Substituting this into Newton's law gives:

  3. Calculus Representation: We express acceleration as the second time derivative of position. The acceleration is the rate of change of velocity, which itself is the rate of change of position: .

  4. The Differential Equation of Motion: Substituting the calculus definition of acceleration into our force equation yields the fundamental differential equation for SHM:

    Rearranging this into standard form, we get:

  5. Defining Angular Frequency: The term is a constant determined by the physical properties of the system (its mass and the spring's stiffness). We define a new constant, the angular frequency, , as . This simplifies the differential equation to its canonical form:

    This equation's structure is the definitive signature of SHM: the second time derivative of position is proportional to the negative of the position itself.

Outputs & Effects

The solution to this second-order differential equation is a function whose second derivative is proportional to its negative. Sinusoidal functions (sine and cosine) have this property. The general solution for position as a function of time, , is:

  • Amplitude (): The maximum displacement from equilibrium, measured in meters (m). It is determined by the initial conditions (how far the object is initially pulled or pushed).

  • Angular Frequency (): A measure of how rapidly the oscillations occur, measured in radians per second (rad/s). It is an intrinsic property of the system ().

  • Phase Constant (): The phase angle, measured in radians (rad), which is determined by the object's position and velocity at time . It effectively shifts the cosine curve horizontally to match the starting conditions.

From this position function, we can find the velocity and acceleration using differentiation:

  • Velocity ():

    The maximum speed is , which occurs as the object passes through equilibrium ().

  • Acceleration ():

    The maximum acceleration is , which occurs at the points of maximum displacement ().

By substituting back into the acceleration equation, we recover a key relationship:

This confirms that our sinusoidal solution is correct, as it satisfies the original differential equation. It also provides a powerful, direct link between acceleration and position at any instant in time, independent of the explicit time variable.

Regulation & Limits

The SHM model is an idealization. Its validity is limited to systems where the restoring force is strictly linear () and where dissipative forces like friction and air drag are negligible. For a real spring, this holds true for small displacements but can fail if the spring is stretched or compressed too far. For a simple pendulum, this model is an approximation valid only for small angles of oscillation. The point represents a stable equilibrium; if the object is displaced, the restoring force acts to return it, causing the oscillation.

Key Models & Diagrams

The causal chain from physical system to predicted motion can be visualized as follows:

Physical System (e.g., Mass on a Spring)

Governing Principle (Newton's Second Law: )

System-Specific Force Law (Hooke's Law: )

Differential Equation of Motion ()

General Solution (Position Function) ()

Kinematic Observables (via Differentiation)

  • Velocity:

  • Acceleration:

Key Components & Evidence

  • Position (): The instantaneous displacement of the object from its equilibrium point. Units: meters (m).

  • Velocity (): The instantaneous rate of change of position. Units: meters per second (m/s).

  • Acceleration (): The instantaneous rate of change of velocity. Units: meters per second squared (m/s²).

  • Amplitude (): The maximum magnitude of the position, representing the turning points of the motion. Units: meters (m).

  • Angular Frequency (): A constant that determines the period of oscillation (). Units: radians per second (rad/s).

  • Phase Constant (): A constant that adjusts the function to match the initial state () at . Units: radians (rad).

  • Linear Restoring Force (): The causal agent of SHM, always directed toward equilibrium and proportional to displacement (). Units: Newtons (N).

  • The SHM Differential Equation (): The mathematical signature of SHM, linking acceleration directly to position.

  • The Acceleration-Position Relation (): A direct consequence of the governing equation, showing that acceleration is greatest at maximum displacement and zero at equilibrium.

Skill Snapshots

Causation

  • Driver: A linear restoring force () is applied to a mass .

    → Change: The system's motion is described by the differential equation .

  • Driver: The position of an object in SHM follows .

    → Change: The velocity function is its time derivative, , which is phase-shifted by radians (90°) relative to position.

  • Driver: The velocity of the object changes according to .

    → Change: The acceleration is its time derivative, , which is always proportional to the negative of the position.

Comparison

  • Position vs. Acceleration: In SHM, acceleration is proportional to the negative of position (). In contrast, for an object in uniformly accelerated motion, acceleration is constant and independent of position.

  • Velocity vs. Position: In SHM, velocity is maximal (in magnitude) when position is zero (at equilibrium), and velocity is zero when position is maximal (at the amplitudes).

  • SHM Position vs. SHM Acceleration: The function for position, , is radians (180°) out of phase with the function for acceleration, . This means when position is a positive maximum, acceleration is a negative maximum.

Change Over Time

  • Baseline: An object rests at its stable equilibrium position (), where the net force, velocity, and acceleration are all zero.

  • Change 1: When the object is released from its maximum positive displacement (), its acceleration is maximally negative, causing its velocity to become increasingly negative.

  • Change 2: As the object passes through equilibrium () moving in the negative direction, its acceleration is momentarily zero, but its velocity reaches its maximum negative value.

  • Continuity: In an ideal system without friction, the total mechanical energy (the sum of kinetic and potential energy) remains constant throughout the entire oscillation.

Common Misconceptions & Clarifications

  1. Misconception: The phase constant, , is arbitrary or unimportant.

    Clarification: The phase constant is essential for defining the state of the oscillator at . A value of corresponds to an object released from rest at maximum positive displacement (), while corresponds to an object starting at equilibrium but with an initial positive velocity ().

  2. Misconception: Acceleration and velocity must always be in the same direction.

    Clarification: In SHM, acceleration is determined by the restoring force, which always points toward equilibrium (). When an object is moving away from equilibrium, its velocity and acceleration are in opposite directions, causing it to slow down.

  3. Misconception: Angular frequency () is the same as the object's speed.

    Clarification: Angular frequency (rad/s) is a constant parameter that dictates how fast the oscillations repeat. The object's speed, (m/s), is a variable quantity that changes continuously, reaching a maximum of at equilibrium and dropping to zero at the endpoints.

  4. Misconception: The maximum acceleration occurs when the object is moving fastest.

    Clarification: The maximum speed occurs at the equilibrium position (), where the net force and thus the acceleration are zero. The maximum acceleration occurs at the points of maximum displacement (), where the restoring force is strongest and the object is momentarily at rest.

One-Paragraph Summary

Simple Harmonic Motion is the oscillatory motion that results from a linear restoring force. Applying Newton's Second Law to such a system yields a defining second-order differential equation, , which states that acceleration is proportional to the negative of displacement. The solution to this equation is a sinusoidal function, , which describes the object's position over time. By taking successive time derivatives of this function, we can precisely determine the object's velocity and acceleration at any instant. This mathematical framework, built upon the parameters of amplitude, angular frequency, and phase constant, provides a powerful and predictive model for any system that approximates these ideal, frictionless conditions.