← Back to course

Physics — Mechina

Simple harmonic motion

Summary

Simple harmonic motion: a restoring force proportional to the displacement, F=−kxF=-kx. Position: x(t)=Acos⁡(ωt)x(t)=A\cos(\omega t) (starting from the extreme).

  • AA — amplitude; T=2πωT=\frac{2\pi}{\omega} — period; f=1Tf=\frac1T.
  • Spring: ω=km\omega=\sqrt{\frac km}, T=2πmkT=2\pi\sqrt{\frac mk}. Pendulum (small angles): T=2πLgT=2\pi\sqrt{\frac Lg}.
  • vmax=Aωv_{max}=A\omega (at the center), amax=Aω2a_{max}=A\omega^2 (at the extremes). v(x)=ωA2−x2v(x)=\omega\sqrt{A^2-x^2}.
  • Total energy: E=12kA2=12mvmax2E=\tfrac12kA^2=\tfrac12mv_{max}^2.

Symbols in the formulas

FF
The restoring force — always directed toward the equilibrium pointN\text{N}
kk
The spring constant — how "stiff" it isN/m\text{N/m}
xx
The displacement from the equilibrium point (with a sign)m\text{m}
AA
The amplitude — the maximum displacement from equilibriumm\text{m}
ω\omega
The angular frequency — how many radians of "phase" pass per secondrad/s\text{rad/s}
tt
The time from the starts\text{s}
TT
The period — the duration of one complete oscillations\text{s}
ff
The frequency — the number of oscillations per secondHz\text{Hz}
mm
The mass of the oscillating bodykg\text{kg}
LL
The length of the pendulum — from the suspension point to the center of the bodym\text{m}
gg
The acceleration of free fallm/s2\text{m/s}^2
vmax, amaxv_{max},\ a_{max}
The maximum velocity and accelerationm/s, m/s2\text{m/s},\ \text{m/s}^2
EE
The total mechanical energy — constantJ\text{J}

Where this comes from: if x=Acos⁡ωtx=A\cos\omega t, then the acceleration is a=−ω2xa=-\omega^2x. The second law gives −kx=ma=−mω2x-kx=ma=-m\omega^2x, so ω2=km\omega^2=\frac km. The speed is maximal at the center, where all the energy is kinetic: 12mvmax2=12kA2\tfrac12mv_{max}^2=\tfrac12kA^2, hence vmax=Aωv_{max}=A\omega.

0.20.40.60.811.21.41.61.822.2-0.1-0.050.050.10.15t (s)x (m)x
x=0.1cos⁡(2πt)x=0.1\cos(2\pi t): amplitude 0.1 m0.1\,\text{m}, period 1 s1\,\text{s}.

What is new here

Oscillations are everywhere: a clock's pendulum, a guitar string, a building in an earthquake, atoms in a crystal. Harmonic motion is special because it is what happens to almost any system pushed slightly away from a stable equilibrium: the restoring force is roughly proportional to the displacement, F≈−kxF\approx-kx. So what you learn about one spring fits dozens of other situations.

The link to circular motion

Picture a point moving at constant speed on a circle of radius AA with angular speed ω\omega. Its shadow on the xx-axis moves back and forth exactly as x=Acos⁡ωtx=A\cos\omega t. That is why ω\omega is called the angular frequency: it is the angular speed of the imaginary point, and a full turn — 2π2\pi radians — is one period, so T=2πωT=\frac{2\pi}{\omega}.

What happens at each point of the path

  • At the ends (x=±Ax=\pm A): the speed is zero, force and acceleration are at their maximum and point to the centre, all the energy is potential.
  • At the centre (x=0x=0): force and acceleration are zero, the speed is at its maximum, all the energy is kinetic.
  • In between: the acceleration always points to the centre, even when the body moves away from it — then it slows down.

A full numerical example

A 0.5 kg0.5\,\text{kg} body on a spring with k=50 N/mk=50\,\text{N/m}, amplitude A=0.1 mA=0.1\,\text{m}. Then ω=500.5=10 rad/s\omega=\sqrt{\frac{50}{0.5}}=10\,\text{rad/s}, T=2π10≈0.63 sT=\frac{2\pi}{10}\approx0.63\,\text{s}, vmax=0.1⋅10=1 m/sv_{max}=0.1\cdot10=1\,\text{m/s}, amax=0.1⋅100=10 m/s2a_{max}=0.1\cdot100=10\,\text{m/s}^2, and the energy is E=12⋅50⋅0.12=0.25 JE=\tfrac12\cdot50\cdot0.1^2=0.25\,\text{J}. At x=0.06 mx=0.06\,\text{m}: v=100.01−0.0036=0.8 m/sv=10\sqrt{0.01-0.0036}=0.8\,\text{m/s}.

Initial conditions and phase

Starting from an end gives x=Acos⁡ωtx=A\cos\omega t. Starting from the centre while moving gives x=Asin⁡ωtx=A\sin\omega t. Given an initial position x0x_0 and initial velocity v0v_0, the amplitude is A=x02+(v0ω)2A=\sqrt{x_0^2+\left(\frac{v_0}{\omega}\right)^2} — this is just energy conservation.

Vertical spring and pendulum

For a vertical spring, gravity only shifts the equilibrium point down by mgk\frac{mg}{k}; around the new point the oscillation is exactly like a horizontal spring's, with the same period. For a pendulum the period does not depend on mass — only on length and gg — and this holds only for small angles (up to about 10∘10^\circ). To double the period you need a pendulum 44 times longer; on the Moon, where gg is smaller, a pendulum swings more slowly.

How to approach a problem

  1. Identify the system: spring (ω=k/m\omega=\sqrt{k/m}) or pendulum (ω=g/L\omega=\sqrt{g/L}).
  2. Find ω\omega, and from it TT and ff.
  3. From the data fix AA and the starting point.
  4. Speed at any point — from energy or from v=ωA2−x2v=\omega\sqrt{A^2-x^2}.
  5. Time between two states — through the angle ωt\omega t, with the calculator in radians.

Common mistakes

  • A calculator in degrees while ωt\omega t is in radians.
  • Mixing up ff and ω\omega: ω=2πf\omega=2\pi f.
  • Taking the amplitude as the whole distance from end to end — that is 2A2A.
  • Thinking a pendulum's period depends on mass, or a spring's on length.
  • Thinking the acceleration is maximal at the centre — it is zero there, and the speed is maximal.

Question types

1

Amplitude, period and position

Given an equation of motion or a graph — read off AA, TT, ω\omega.

Worked example

x(t)=0.2cos⁡(πt)x(t)=0.2\cos(\pi t) (in m\text{m}). What are AA, TT, and where is the body at t=1 st=1\,\text{s}?

Solution

IdeaCompare with the form Acos⁡(ωt)A\cos(\omega t).
  1. The general form: x(t)=Acos⁡(ωt)x(t)=A\cos(\omega t). Compare with the given x(t)=0.2cos⁡(πt)x(t)=0.2\cos(\pi t).
  2. The amplitude is the coefficient in front of the cosine: A=0.2 mA=0.2\,\text{m}.
  3. The angular frequency is the coefficient of tt inside the cosine: ω=π rad/s\omega=\pi\,\text{rad/s}.
  4. The period — formula: T=2πωT=\frac{2\pi}{\omega}.
  5. Substitute ω=π\omega=\pi: T=2ππT=\frac{2\pi}{\pi}.
  6. Compute: T=2 sT=2\,\text{s}.
  7. The position at t=1t=1 — substitute into the given function: x(1)=0.2cos⁡(π⋅1)x(1)=0.2\cos(\pi\cdot1).
  8. Substitute cos⁡π=−1\cos\pi=-1: x(1)=0.2⋅(−1)x(1)=0.2\cdot(-1).
  9. Compute: x(1)=−0.2 mx(1)=-0.2\,\text{m} — the body is at the negative extreme.
CheckHalf a period — at the other extreme ✓.
Common mistakeT=πT=\pi — mixing up ω\omega and TT.
−A0+Ax(t) = 0.2·cos(πt)A = ? T = ? x(1) = ?
2

Mass on a spring

A body on a spring — TT depends only on mm and kk.

Worked example

A 2 kg2\,\text{kg} body on a spring k=200 N/mk=200\,\text{N/m}. What are ω\omega and TT?

Solution

Ideaω=km\omega=\sqrt{\frac km}.
  1. The angular frequency of a spring — formula: ω=km\omega=\sqrt{\frac km}.
  2. Substitute k=200k=200, m=2m=2: ω=2002\omega=\sqrt{\frac{200}{2}}.
  3. Divide: ω=100\omega=\sqrt{100}.
  4. Compute the root: ω=10 rad/s\omega=10\,\text{rad/s}.
  5. The period — formula: T=2πωT=\frac{2\pi}{\omega}.
  6. Substitute ω=10\omega=10: T=2π10T=\frac{2\pi}{10}.
  7. Compute: T≈0.63 sT\approx0.63\,\text{s}.
CheckUnits: N/mkg=s−1\sqrt{\frac{\text{N/m}}{\text{kg}}}=\text{s}^{-1} ✓.
Common mistakeω=mk\omega=\sqrt{\frac mk}.
0m = 2 kgk = 200 N/mω = ? T = ?
  • Field

Variants of this type · 1

2.1Vertical spring

Worked example

A 0.2 kg0.2\,\text{kg} body hangs from a spring and stretches it by 5 cm5\,\text{cm}. What is kk?

Solution

IdeaAt equilibrium kx=mgkx=mg.
  1. k=20.05=40 N/mk=\frac{2}{0.05}=40\,\text{N/m}.
Check✓.
Common mistakex=5x=5 without converting units.
3

Simple pendulum

A pendulum at small angles — TT depends only on length and gravitational acceleration.

Worked example

What is the period of a pendulum of length 2.5 m2.5\,\text{m}?

Solution

IdeaT=2πLgT=2\pi\sqrt{\frac Lg}.
  1. The period of a pendulum (small angles) — formula: T=2πLgT=2\pi\sqrt{\frac Lg}.
  2. Substitute L=2.5L=2.5, g=10g=10: T=2π2.510T=2\pi\sqrt{\frac{2.5}{10}}.
  3. Divide: T=2π0.25T=2\pi\sqrt{0.25}.
  4. Compute the root: T=2π⋅0.5T=2\pi\cdot0.5.
  5. Compute: T=π≈3.14 sT=\pi\approx3.14\,\text{s}.
CheckIndependent of the mass ✓.
Common mistakePutting the mass into the formula.
θL = 2.5 mmgT = ?g = 10 m/s²
  • Force

Variants of this type · 1

3.1On the Moon

Worked example

gmoon=g6g_{moon}=\frac g6. By what factor does the period increase?

Solution

IdeaT∝1gT\propto\frac1{\sqrt g}.
  1. By a factor of 6≈2.45\sqrt6\approx2.45.
Check✓.
Common mistakeBy a factor of 66.
4

Speed, acceleration and energy

Asked about speed or acceleration at a point, or about energy.

Worked example

Spring k=400 N/mk=400\,\text{N/m}, m=4 kgm=4\,\text{kg}, amplitude 0.1 m0.1\,\text{m}. What is vmaxv_{max} and the speed at x=0.06 mx=0.06\,\text{m}?

Solution

Ideaω=10\omega=10; v=ωA2−x2v=\omega\sqrt{A^2-x^2}.
  1. The angular frequency — formula: ω=km\omega=\sqrt{\frac km}.
  2. Substitute k=400k=400, m=4m=4: ω=4004=100\omega=\sqrt{\frac{400}{4}}=\sqrt{100}.
  3. Compute: ω=10 rad/s\omega=10\,\text{rad/s}.
  4. The maximum speed (at the center) — formula: vmax=Aωv_{max}=A\omega.
  5. Substitute A=0.1A=0.1, ω=10\omega=10: vmax=0.1⋅10v_{max}=0.1\cdot10.
  6. Compute: vmax=1 m/sv_{max}=1\,\text{m/s}.
  7. The speed at position xx — formula: v=ωA2−x2v=\omega\sqrt{A^2-x^2}.
  8. Substitute ω=10\omega=10, A=0.1A=0.1, x=0.06x=0.06: v=100.12−0.062v=10\sqrt{0.1^2-0.06^2}.
  9. Compute the squares: v=100.01−0.0036v=10\sqrt{0.01-0.0036}.
  10. Subtract: v=100.0064v=10\sqrt{0.0064}.
  11. Compute the root: v=10⋅0.08v=10\cdot0.08.
  12. Compute: v=0.8 m/sv=0.8\,\text{m/s}.
CheckEnergy: 12⋅400⋅0.01=2=12⋅4⋅1\tfrac12\cdot400\cdot0.01=2=\tfrac12\cdot4\cdot1 ✓.
Common mistakev=ωxv=\omega x.
−A00.060.1 mm = 4 kgk = 400 N/mv = ?vₘₐₓ = ?
  • Velocity

Exam-style problems

One problem with several parts on the same data, as on the exam. Each part adds something to the drawing.

Practice · 20

Test yourself with problems and full solutions.

Go to practice