Achievable logoAchievable logo
AP Physics 1
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Decoding the exam
2. Vectors and their analysis
3. Kinematics
4. Laws of motion
5. Work, energy, and power
6. Linear momentum and collisions
7. Torque and rotational mechanics
8. Oscillations
8.1 Simple harmonic motion
8.2 Energy and dynamics in SHM
9. Fluids
Wrapping up
Achievable logoAchievable logo
8.1 Simple harmonic motion
Achievable AP Physics 1
8. Oscillations
Our AP Physics 1 course is currently in development and is a work-in-progress.

Simple harmonic motion

8 min read
Font
Discuss
Share
Feedback

When an object oscillates back and forth about an equilibrium position under a restoring force proportional to its displacement, the motion is called simple harmonic motion (SHM). Here are some real-life scenarios that show the same basic idea:

  • A car’s suspension is a tuned bounce-and-return system that helps keep the wheels on the road.
  • Skyscrapers can sway in the wind; to reduce the motion, builders sometimes install large pendulums near the top - heavy swinging masses that counter the sway.
  • A phone’s vibration motor spins an off-center weight, which makes the phone’s casing oscillate in a quick, controlled way.

In SHM, the acceleration always points toward equilibrium and satisfies

a=−ω2x,

where

ω≡mk​​(rad/s)

is the angular frequency, m is the mass, k is the spring constant, and x is the displacement from equilibrium.

Mass-spring derivation

Free‐body diagram:

Spring mass system in oscillatory motion
Spring mass system in oscillatory motion

Equation of motion. Apply Newton’s second law along the horizontal direction:

∑Fx​=max​,−kx=mx¨.

Rearrange:

x¨+mk​x=0.

Define

ω≡mk​​,

so the differential equation becomes

x¨+ω2x=0.

You don’t need to do the calculus to use SHM results in most problems. The derivatives here are included to show how the standard formulas fit together.

A standard solution to this equation is

x(t)=Acos(ωt+ϕ),

where A is the amplitude (maximum displacement) and ϕ is the phase constant (set by the initial conditions). Once x(t) is known, velocity and acceleration come from differentiation:

v(t)=x˙(t)=−Aωsin(ωt+ϕ),

a(t)=x¨(t)=−Aω2cos(ωt+ϕ)=−ω2x(t).

Thus:

  • Velocity leads displacement by a quarter-cycle (90°).
  • Acceleration is in phase with displacement but opposite in sign.

Period and frequency in SHM

In simple harmonic motion, the period T is the time required to complete one full oscillation (returning to the same displacement and velocity). The frequency f is the number of complete oscillations per unit time. By definition,

f=T1​.

Since the displacement in SHM can be written

x(t)=Acos(ωt+ϕ),

the argument ωt must increase by 2π for one full cycle. That gives

ωT=2π⟹T=ω2π​.

Period and frequency in SHM
Period and frequency in SHM

Because ω=k/m​ for a mass-spring system (or g/L​ for a small-angle pendulum), the period depends only on the system’s parameters:

Tspring​=2πkm​​,Tpendulum​=2πgL​​.

  • All SHM systems with the same ω share the same T and f, regardless of amplitude A.
  • Higher ω (stronger restoring force or smaller inertia) ⇒ shorter T ⇒ higher f.
  • Frequency is measured in hertz (Hz), where 1 Hz=1 cycle/sec.

Graphical representation of SHM

Normalized SHM plots for position, velocity, and acceleration over one full cycle.
Normalized SHM plots for position, velocity, and acceleration over one full cycle.

Here the solid blue curve is x/A=cos(ωt+ϕ) and the red dashed curve is v/(Aω)=−sin(ωt+ϕ).

Simple pendulum (small‐angle approximation)

A simple pendulum consists of a point mass m suspended from a fixed pivot by a light rod or string of length L. If you displace it by a small angle and release it, it executes simple harmonic motion under gravity.

Restoring force and equation of motion

At an angular displacement θ, the component of the weight mg acting along the arc is

Ftan​=−mgsinθ.

Simple pendulum oscillatory motion
Simple pendulum oscillatory motion

For small angles (θ≪1), sinθ≈θ. If s is the arc length from equilibrium, then

s=Lθ⟹sinθ≈θ=Ls​,

so the tangential force becomes

Ftan​≈−mgLs​.

Apply Newton’s second law in the tangential direction:

ms¨=−mgLs​⟹s¨+Lg​s=0.

This matches the SHM form s¨+ω2s=0 with

ω=Lg​​(rad/s).

General solution

The displacement along the arc varies sinusoidally:

s(t)=Scos(ωt+ϕ),

where S is the maximum arc displacement (amplitude) and ϕ is the phase constant set by initial conditions. Differentiating,

v(t)=s˙=−Sωsin(ωt+ϕ),a(t)=s¨=−ω2Scos(ωt+ϕ)=−ω2s(t).

Period and frequency

One full oscillation corresponds to the argument of the cosine increasing by 2π:

ωT=2π⟹T=ω2π​=2πgL​​,f=T1​.

In the small-angle limit, the pendulum behaves like a mass-spring system, with ω=g/L​.

Example Problem 1

A block of mass m=0.200kg is attached to a horizontal spring of constant k=50.0N/m on a frictionless table. The block is pulled to the right and released from rest at a displacement x=A=0.100m. (a) Find the angular frequency ω and period T.

ω=mk​​=0.20050.0​​=250​=15.81rad/s,T=ω2π​=15.812π​=0.397s.

(b) Write the equation of motion x(t) assuming t=0 at release.

Released from rest at x=A implies phase ϕ=0, so

x(t)=Acos(ωt)=0.100cos(15.81t)m.

(c) Determine the block’s speed when it passes through x=0.060m.

In SHM,

v2=ω2(A2−x2).

Thus

v=±ωA2−x2​=15.810.0064​=1.265m/s.

Since the block is moving toward equilibrium, take v=+1.27m/s.

(d) Determine the acceleration of the block at x=0.060m.

Acceleration in SHM is a=−ω2x:

a=−(15.81)2(0.060)=−250(0.060)=−15.0m/s2.

The negative sign shows the acceleration is toward equilibrium (leftward).

Example Problem 2

A simple pendulum of length L=1.00m oscillates with a maximum angular displacement θmax​=0.100rad (about 5.73∘). Take g=9.80m/s2. (a) Compute the angular frequency ω and period T.

For small angles,

ω=Lg​​=1.009.80​​=3.130rad/s,T=ω2π​=3.1302π​=2.01s.

(b) Write θ(t) assuming θ(0)=Θ=θmax​ and released from rest.

Initial conditions θ(0)=Θ, θ˙(0)=0 give phase ϕ=0:

θ(t)=Θcos(ωt)=0.100cos(3.130t)rad.

(c) Find the maximum tangential speed vmax​ of the bob.

Tangential speed v=Lθ˙. Since θ˙max​=ωΘ,

vmax​=LωΘ=(1.00)(3.130)(0.100)=0.313m/s.

(d) Find the maximum tangential acceleration amax​ of the bob.

Tangential acceleration a=Lθ¨. Since θ¨max​=ω2Θ,

amax​=Lω2Θ=(1.00)(3.130)2(0.100)=0.979m/s2.

Simple Harmonic Motion (SHM) Basics\

  • Oscillation about equilibrium under restoring force ∝ displacement
  • Acceleration: a=−ω2x (points toward equilibrium)
  • Angular frequency: ω=mk​​ (rad/s)

Mass-spring system\

  • Equation of motion: x¨+ω2x=0
  • Solution: x(t)=Acos(ωt+ϕ)
  • Velocity and acceleration:
    • v(t)=−Aωsin(ωt+ϕ)
    • a(t)=−ω2x(t)

Period and frequency in SHM\

  • Period: T=ω2π​
  • Frequency: f=T1​
  • For mass-spring: T=2πkm​​
  • For pendulum (small angle): T=2πgL​​
  • T and f independent of amplitude A

Graphical representation of SHM\

  • Displacement: x/A=cos(ωt+ϕ)
  • Velocity: v/(Aω)=−sin(ωt+ϕ)
  • Phase relationships:
    • Velocity leads displacement by 90∘
    • Acceleration opposite in phase to displacement

Simple pendulum (small-angle approximation)\

  • Restoring force: Ftan​≈−mgLs​
  • Equation of motion: s¨+Lg​s=0
  • Angular frequency: ω=Lg​​
  • Solution: s(t)=Scos(ωt+ϕ)
  • Period: T=2πgL​​

Example problem 1: Mass-spring system\

  • ω=mk​​, T=ω2π​
  • x(t)=Acos(ωt) for release from rest at x=A
  • Speed at x: v=±ωA2−x2​
  • Acceleration at x: a=−ω2x

Example problem 2: Simple pendulum\

  • ω=Lg​​, T=ω2π​
  • θ(t)=Θcos(ωt) for release from rest at θ=Θ
  • Maximum tangential speed: vmax​=LωΘ
  • Maximum tangential acceleration: amax​=Lω2Θ

Key takeaways\

  • SHM: restoring force ∝ displacement, leads to sinusoidal motion
  • Acceleration always points toward equilibrium
  • Period/frequency depend on system parameters, not amplitude
  • Recognize SHM by force law, equations, or motion graphs
  • Understand phase relationships between x, v, and a

Sign up for free to take 6 quiz questions on this topic

Previous
Next  | 8.2 Energy and dynamics in SHM
All rights reserved ©2016 - 2026 Achievable, Inc.

Simple harmonic motion

When an object oscillates back and forth about an equilibrium position under a restoring force proportional to its displacement, the motion is called simple harmonic motion (SHM). Here are some real-life scenarios that show the same basic idea:

  • A car’s suspension is a tuned bounce-and-return system that helps keep the wheels on the road.
  • Skyscrapers can sway in the wind; to reduce the motion, builders sometimes install large pendulums near the top - heavy swinging masses that counter the sway.
  • A phone’s vibration motor spins an off-center weight, which makes the phone’s casing oscillate in a quick, controlled way.

In SHM, the acceleration always points toward equilibrium and satisfies

a=−ω2x,

where

ω≡mk​​(rad/s)

is the angular frequency, m is the mass, k is the spring constant, and x is the displacement from equilibrium.

Mass-spring derivation

Free‐body diagram:

Equation of motion. Apply Newton’s second law along the horizontal direction:

∑Fx​=max​,−kx=mx¨.

Rearrange:

x¨+mk​x=0.

Define

ω≡mk​​,

so the differential equation becomes

x¨+ω2x=0.

You don’t need to do the calculus to use SHM results in most problems. The derivatives here are included to show how the standard formulas fit together.

A standard solution to this equation is

x(t)=Acos(ωt+ϕ),

where A is the amplitude (maximum displacement) and ϕ is the phase constant (set by the initial conditions). Once x(t) is known, velocity and acceleration come from differentiation:

v(t)=x˙(t)=−Aωsin(ωt+ϕ),

a(t)=x¨(t)=−Aω2cos(ωt+ϕ)=−ω2x(t).

Thus:

  • Velocity leads displacement by a quarter-cycle (90°).
  • Acceleration is in phase with displacement but opposite in sign.

Period and frequency in SHM

In simple harmonic motion, the period T is the time required to complete one full oscillation (returning to the same displacement and velocity). The frequency f is the number of complete oscillations per unit time. By definition,

f=T1​.

Since the displacement in SHM can be written

x(t)=Acos(ωt+ϕ),

the argument ωt must increase by 2π for one full cycle. That gives

ωT=2π⟹T=ω2π​.

Because ω=k/m​ for a mass-spring system (or g/L​ for a small-angle pendulum), the period depends only on the system’s parameters:

Tspring​=2πkm​​,Tpendulum​=2πgL​​.

  • All SHM systems with the same ω share the same T and f, regardless of amplitude A.
  • Higher ω (stronger restoring force or smaller inertia) ⇒ shorter T ⇒ higher f.
  • Frequency is measured in hertz (Hz), where 1 Hz=1 cycle/sec.

Graphical representation of SHM

Here the solid blue curve is x/A=cos(ωt+ϕ) and the red dashed curve is v/(Aω)=−sin(ωt+ϕ).

Simple pendulum (small‐angle approximation)

A simple pendulum consists of a point mass m suspended from a fixed pivot by a light rod or string of length L. If you displace it by a small angle and release it, it executes simple harmonic motion under gravity.

Restoring force and equation of motion

At an angular displacement θ, the component of the weight mg acting along the arc is

Ftan​=−mgsinθ.

For small angles (θ≪1), sinθ≈θ. If s is the arc length from equilibrium, then

s=Lθ⟹sinθ≈θ=Ls​,

so the tangential force becomes

Ftan​≈−mgLs​.

Apply Newton’s second law in the tangential direction:

ms¨=−mgLs​⟹s¨+Lg​s=0.

This matches the SHM form s¨+ω2s=0 with

ω=Lg​​(rad/s).

General solution

The displacement along the arc varies sinusoidally:

s(t)=Scos(ωt+ϕ),

where S is the maximum arc displacement (amplitude) and ϕ is the phase constant set by initial conditions. Differentiating,

v(t)=s˙=−Sωsin(ωt+ϕ),a(t)=s¨=−ω2Scos(ωt+ϕ)=−ω2s(t).

Period and frequency

One full oscillation corresponds to the argument of the cosine increasing by 2π:

ωT=2π⟹T=ω2π​=2πgL​​,f=T1​.

In the small-angle limit, the pendulum behaves like a mass-spring system, with ω=g/L​.

Example Problem 1

A block of mass m=0.200kg is attached to a horizontal spring of constant k=50.0N/m on a frictionless table. The block is pulled to the right and released from rest at a displacement x=A=0.100m. (a) Find the angular frequency ω and period T.

ω=mk​​=0.20050.0​​=250​=15.81rad/s,T=ω2π​=15.812π​=0.397s.

(b) Write the equation of motion x(t) assuming t=0 at release.

Released from rest at x=A implies phase ϕ=0, so

x(t)=Acos(ωt)=0.100cos(15.81t)m.

(c) Determine the block’s speed when it passes through x=0.060m.

In SHM,

v2=ω2(A2−x2).

Thus

v=±ωA2−x2​=15.810.0064​=1.265m/s.

Since the block is moving toward equilibrium, take v=+1.27m/s.

(d) Determine the acceleration of the block at x=0.060m.

Acceleration in SHM is a=−ω2x:

a=−(15.81)2(0.060)=−250(0.060)=−15.0m/s2.

The negative sign shows the acceleration is toward equilibrium (leftward).

Example Problem 2

A simple pendulum of length L=1.00m oscillates with a maximum angular displacement θmax​=0.100rad (about 5.73∘). Take g=9.80m/s2. (a) Compute the angular frequency ω and period T.

For small angles,

ω=Lg​​=1.009.80​​=3.130rad/s,T=ω2π​=3.1302π​=2.01s.

(b) Write θ(t) assuming θ(0)=Θ=θmax​ and released from rest.

Initial conditions θ(0)=Θ, θ˙(0)=0 give phase ϕ=0:

θ(t)=Θcos(ωt)=0.100cos(3.130t)rad.

(c) Find the maximum tangential speed vmax​ of the bob.

Tangential speed v=Lθ˙. Since θ˙max​=ωΘ,

vmax​=LωΘ=(1.00)(3.130)(0.100)=0.313m/s.

(d) Find the maximum tangential acceleration amax​ of the bob.

Tangential acceleration a=Lθ¨. Since θ¨max​=ω2Θ,

amax​=Lω2Θ=(1.00)(3.130)2(0.100)=0.979m/s2.

Key points

Simple Harmonic Motion (SHM) Basics\

  • Oscillation about equilibrium under restoring force ∝ displacement
  • Acceleration: a=−ω2x (points toward equilibrium)
  • Angular frequency: ω=mk​​ (rad/s)

Mass-spring system\

  • Equation of motion: x¨+ω2x=0
  • Solution: x(t)=Acos(ωt+ϕ)
  • Velocity and acceleration:
    • v(t)=−Aωsin(ωt+ϕ)
    • a(t)=−ω2x(t)

Period and frequency in SHM\

  • Period: T=ω2π​
  • Frequency: f=T1​
  • For mass-spring: T=2πkm​​
  • For pendulum (small angle): T=2πgL​​
  • T and f independent of amplitude A

Graphical representation of SHM\

  • Displacement: x/A=cos(ωt+ϕ)
  • Velocity: v/(Aω)=−sin(ωt+ϕ)
  • Phase relationships:
    • Velocity leads displacement by 90∘
    • Acceleration opposite in phase to displacement

Simple pendulum (small-angle approximation)\

  • Restoring force: Ftan​≈−mgLs​
  • Equation of motion: s¨+Lg​s=0
  • Angular frequency: ω=Lg​​
  • Solution: s(t)=Scos(ωt+ϕ)
  • Period: T=2πgL​​

Example problem 1: Mass-spring system\

  • ω=mk​​, T=ω2π​
  • x(t)=Acos(ωt) for release from rest at x=A
  • Speed at x: v=±ωA2−x2​
  • Acceleration at x: a=−ω2x

Example problem 2: Simple pendulum\

  • ω=Lg​​, T=ω2π​
  • θ(t)=Θcos(ωt) for release from rest at θ=Θ
  • Maximum tangential speed: vmax​=LωΘ
  • Maximum tangential acceleration: amax​=Lω2Θ

Key takeaways\

  • SHM: restoring force ∝ displacement, leads to sinusoidal motion
  • Acceleration always points toward equilibrium
  • Period/frequency depend on system parameters, not amplitude
  • Recognize SHM by force law, equations, or motion graphs
  • Understand phase relationships between x, v, and a

More from Oscillations

  • Energy and dynamics in SHM