Frictionlessbeta
beta

To wczesna wersja strony: treści i symulacje wciąż się zmieniają, a niektóre mogą mieć błędy.This is an early version of the site: lessons and simulations are still changing, and some may contain mistakes. Zgłoś problemReport a problem

Simple Harmonic Motion

The needle of a sewing machine, a loudspeaker cone, the quartz crystal in a watch, a piston in an engine, the wings of a mosquito: all of them repeat the same back-and-forth motion, sometimes a few times a second, sometimes millions of times. The simplest and at the same time the most important kind of such motion is simple harmonic motion, in which the position changes in time like a sine. In this lesson you will describe it with three numbers: the amplitude, the angular frequency and the phase, and you will see that it is simply the shadow of motion in a circle.

Co musisz umieć?What you need to know(5)(fizykaphysics: 4 · matematyka szkolnaschool maths: 1 · akademickauniversity: 1)

Fizyka z wcześniejszych lekcjiPhysics from earlier lessons

  • prędkość kątowaangular velocityKąt zakreślany w jednostce czasu: ω = 2π/T, w rad/s. Wszystkie punkty obracającej się bryły mają to samo ω, a prędkość liniowa to v = ωr.The angle swept per unit time: ω = 2π/T, in rad/s. All points of a rotating body share the same ω, and the linear speed is v = ωr.Dowiedz się więcej →Learn more →
  • przyspieszenie dośrodkowecentripetal accelerationPrzyspieszenie skierowane do środka okręgu, wynikające ze zmiany kierunku prędkości: a = v²/r = ω²r.The acceleration pointing towards the center of the circle, caused by the changing direction of velocity: a = v²/r = ω²r.Dowiedz się więcej →Learn more →
  • II zasada dynamikiNewton’s second lawSiła wypadkowa nadaje ciału przyspieszenie o tym samym kierunku: a = F_wyp / m.The net force gives a body an acceleration in the same direction: a = F_net / m.Dowiedz się więcej →Learn more →
  • przemieszczeniedisplacementWektor od położenia początkowego do końcowego: Δx = x_k − x_p. Może być ujemne lub zerowe, w odróżnieniu od drogi, która zawsze rośnie.The vector from the initial to the final position: Δx = x_f − x_i. It can be negative or zero, unlike distance, which always grows.Dowiedz się więcej →Learn more →

Matematyka, poziom szkolny (algebra, trygonometria, składowe wektorów)Maths, school level (algebra, trigonometry, vector components)

  • sinus, cosinus i tangenssine, cosine and tangentStosunki boków w trójkącie prostokątnym: sin = naprzeciw/przeciwprostokątna, cos = przy kącie/przeciwprostokątna, tg = naprzeciw/przy kącie.Ratios of sides in a right triangle: sin = opposite/hypotenuse, cos = adjacent/hypotenuse, tan = opposite/adjacent.Dowiedz się więcej →Learn more →

Matematyka, poziom akademicki (pochodne, całki, iloczyny wektorowe, gradient)Maths, university level (derivatives, integrals, cross products, gradient)

  • pochodnaderivativeChwilowe tempo zmian wielkości: granica ilorazu Δx/Δt, gdy Δt dąży do zera. Graficznie: nachylenie stycznej do wykresu.The instantaneous rate of change of a quantity: the limit of Δx/Δt as Δt tends to zero. Graphically: the slope of the tangent to the graph.Dowiedz się więcej →Learn more →

Najedź na pojęcie, żeby zobaczyć krótką definicję, albo kliknij „Dowiedz się więcej”.Hover a term for a short definition, or click “Learn more”.

1. Period and frequency

Motion that repeats itself at equal time intervals is called periodic. The time of one full cycle, after which the body returns to the same position and moves in the same direction, is the period TT. The number of cycles in one second is the frequency ff. The unit of frequency is the hertz: 1 Hz=1 cycle per second=1 s−11\text{ Hz}=1\text{ cycle per second}=1\text{ s}^{-1}.

A sewing-machine needle that makes 12001200 stitches a minute has a frequency f=120060 s=20 Hzf=\tfrac{1200}{60\text{ s}}=20\text{ Hz} and a period T=0.05 sT=0.05\text{ s}. The quartz crystal in a watch vibrates at 32 768 Hz32\,768\text{ Hz}, that is 2152^{15} times a second: the electronics divide this number by 22 fifteen times and get exactly one pulse per second.

2. Position in simple harmonic motion

Pull out a block attached to a spring on a smooth table and let go. The block flies through the equilibrium position, stops on the other side, comes back, and so on. If you record its position every few milliseconds, you will get a graph shaped like a cosine curve. Such motion is called simple harmonic.

Each letter has its meaning:

  • AA is the amplitude, the largest displacement from the equilibrium position (always positive);
  • ω\omega is the angular frequency in rad/s\text{rad/s}: the argument of the cosine grows by this many radians every second, and after one period it has grown by a full 2π2\pi;
  • ωt+φ\omega t+\varphi is the phase of the motion, and φ\varphi is the initial phase (phase constant), the phase at t=0t=0.
01234-4-3-2-101234t [s]x [cm]x(0) = A cos φA = 3 cmT = 2 sΔt = φ/ω = 1/3 sgrey: φ = 0
The amplitude A is the largest displacement, the period T is the time between successive maxima. The initial phase φ = π/3 shifts the whole graph to the left by φ/ω = 1/3 s compared with the cosine curve with φ = 0.

3. Velocity and acceleration

Velocity is the time derivative of position, and acceleration is the derivative of velocity. Differentiating x(t)x(t) we get:

v(t)=−Aωsin⁡(ωt+φ),v(t)=-A\omega\sin(\omega t+\varphi), a(t)=−Aω2cos⁡(ωt+φ)a(t)=-A\omega^2\cos(\omega t+\varphi)

Sine and cosine take values from −1-1 to 11, so the largest velocity and the largest acceleration are:

vmax⁡=Aω,v_{\max}=A\omega, amax⁡=Aω2a_{\max}=A\omega^2

Compare the formula for acceleration with the formula for position: it is the same cosine, only multiplied by −ω2-\omega^2.

The whole picture of the motion follows from this:

  • at the equilibrium position (x=0x=0) the acceleration is zero and the speed is largest, ±Aω\pm A\omega;
  • at the extreme positions (x=±Ax=\pm A) the body stops for an instant, and the acceleration is largest and directed towards the centre;
  • the acceleration always “pulls” the body back towards x=0x=0.
xvaAAωAω²x = +Ax = 0x = −Ax = 0x = +Av = 0|a| maxv maxa = 0v = 0|a| maxv maxa = 0v = 0|a| max
The acceleration is the position graph turned upside down (a = −ω²x), and the velocity is shifted by a quarter period. When the body is farthest out, it stops and accelerates hardest towards the centre; when it passes the centre, it moves fastest and does not accelerate.

4. Amplitude and phase from the initial conditions

In problems we often know not AA and φ\varphi but the position x0x_0 and velocity v0v_0 at t=0t=0. Substituting t=0t=0 into the formulas for xx and vv:

x0=Acos⁡φ,x_0=A\cos\varphi, v0=−Aωsin⁡φv_0=-A\omega\sin\varphi

Squaring and adding (since cos⁡2+sin⁡2=1\cos^2+\sin^2=1) gives the amplitude, and the ratio gives the phase:

A=x02+(v0ω)2,A=\sqrt{x_0^2+\left(\frac{v_0}{\omega}\right)^2}, cos⁡φ=x0A,\cos\varphi=\frac{x_0}{A}, sin⁡φ=−v0Aω\sin\varphi=-\frac{v_0}{A\omega}

The angle must be chosen so that both signs agree: tan⁡φ\tan\varphi alone is not enough, because it gives two angles that differ by 180∘180^\circ.

5. Simple harmonic motion as the shadow of circular motion

Imagine a point PP going round a circle of radius AA at a constant angular speed ω\omega. At time tt the radius to the point makes an angle ωt+φ\omega t+\varphi with the xx axis. The projection of the point onto the xx axis (its shadow in light falling from above) has the coordinate:

x=Acos⁡(ωt+φ)x=A\cos(\omega t+\varphi)

This is exactly the formula for simple harmonic motion. The velocity of the point on the circle has magnitude AωA\omega and is tangent to the circle; its projection onto the xx axis is −Aωsin⁡(ωt+φ)-A\omega\sin(\omega t+\varphi). The centripetal acceleration has magnitude Aω2A\omega^2 and points to the centre; its projection is −Aω2cos⁡(ωt+φ)=−ω2x-A\omega^2\cos(\omega t+\varphi)=-\omega^2x. All the formulas of section 3 are plain geometry of circular motion.

v→a→v→xa→xPωt + φωA−A0+Axx = A cos(ωt + φ)vx = −Aω sin(ωt + φ)ax = −Aω² cos(ωt + φ)= −ω²x
The block is the shadow of point P: always directly below it. Projecting the velocity and centripetal acceleration vectors on the x axis gives the formulas of simple harmonic motion.

The moons of Jupiter seen through a telescope from Earth move in exactly this way: they seem to slide back and forth along a single line beside the planet, although they really travel in nearly circular orbits that we see almost exactly edge-on.

✦ Dla ciekawych (poziom akademicki, można pominąć)For the curious (university level, can be skipped) · why a sine: the equation of simple harmonic motion

The condition a=−ω2xa=-\omega^2x is a differential equation:

d2xdt2=−ω2x\frac{\mathrm d^2x}{\mathrm dt^2}=-\omega^2x

We are looking for a function that, differentiated twice, returns to itself, only multiplied by −ω2-\omega^2. Both cos⁡ωt\cos\omega t and sin⁡ωt\sin\omega t do this, and so does any combination x=C1cos⁡ωt+C2sin⁡ωtx=C_1\cos\omega t+C_2\sin\omega t. A second-order equation has exactly two arbitrary constants, and these are they: they are fixed by the initial conditions, C1=x0C_1=x_0 and C2=v0ωC_2=\tfrac{v_0}{\omega}.

The combination can be written as a single cosine. From the formula for the cosine of a sum:

Acos⁡(ωt+φ)=Acos⁡φcos⁡ωt−Asin⁡φsin⁡ωtA\cos(\omega t+\varphi)=A\cos\varphi\cos\omega t-A\sin\varphi\sin\omega t

so C1=Acos⁡φC_1=A\cos\varphi and C2=−Asin⁡φC_2=-A\sin\varphi. Hence A=C12+C22A=\sqrt{C_1^2+C_2^2}, the formula of section 4. The same mathematics describes the oscillation of current in a circuit with a coil and a capacitor, vibrations of atoms in a crystal and many other systems: wherever the “restoring force” is proportional to the displacement.

6. Interactive lab: a block on a spring

Start with the “Twice the amplitude” experiment and think about whether the period will change. Then change the mass, and finally switch on the reference circle and see that the block is always exactly below point PP. The φ\varphi slider sets where in the cycle the motion starts.

▶ SymulacjaSimulation: Simple harmonic motion: a block on a spring and the reference circle⚑︎
🎯 What question does this simulation answer? How do the position, velocity and acceleration of a block on a spring change, and what does its period depend on?

🧪 Try these in turn:

▶ After choosing an experiment press Start (or drag the time slider).

🎨 Legend: position x velocity v acceleration a and spring force F point P on the reference circle

▶ Right now: ω = √(k/m) = 6.32 rad/s, so one full oscillation takes T = 0.99 s. The block passes the equilibrium position at 0.38 m/s, and at the extreme positions ±6 cm it stops for an instant and has its largest acceleration, 2.4 m/s².

Pωt + φ = 0°mx = 0−A+AF→x±10 cmv±0.38 m/sa±2.4 m/s²t: 0–6 s
ω=k/m=6.32 rad/s\omega=\sqrt{k/m}=6.32\ \text{rad/s}
T=2πm/k=0.993 s, f=1.01 HzT=2\pi\sqrt{m/k}=0.993\ \text{s},\ f=1.01\ \text{Hz}
x=6 cm, v=0 m/sx=6\ \text{cm},\ v=0\ \text{m/s}
a=−ω2x=−2.4 m/s2a=-\omega^2x=-2.4\ \text{m/s}^2

Model: a massless spring obeying Hooke’s law, a frictionless table, no air resistance. The block is drawn to scale; the graphs show the last few seconds of motion.

A block on a spring oscillates on a frictionless table. The arrows show the velocity and the spring force, point P goes round the reference circle, and the graphs below show position, velocity and acceleration against time.

Quiz: test yourself

1.A body completes 1515 full oscillations in 3.0 s3.0\ \text{s}. What is the angular frequency of its motion?

2.At what point of its path does a body in simple harmonic motion have its greatest speed?

3.A body in simple harmonic motion is at its extreme position x=+Ax=+A. What can be said about its acceleration?

4.A block on a spring is pulled out twice as far as before and released. How has the period changed?

5.The motion is described by x=Acos⁡(ωt+φ)x=A\cos(\omega t+\varphi). At t=0t=0 the body passes through the equilibrium position moving towards negative xx. What is φ\varphi?

6.A peg on the rim of a disc of radius 0.20 m0.20\ \text{m}, turning 22 times a second, casts a shadow on a wall. What is the greatest speed of the shadow?

Score: 0 / 6

Exercises

ZadanieExerciseŁatweEasy

Exercise 1 – a pump piston. The piston of a diaphragm pump completes 9090 full cycles in 36 s36\text{ s}, oscillating harmonically with an amplitude of 4.0 cm4.0\text{ cm}. Calculate the period, the angular frequency and the largest speed of the piston.

m/s
Pokaż wskazówkęShow hint

The period is the time divided by the number of cycles, ω=2πT\omega=\dfrac{2\pi}{T}, and vmax⁡=Aωv_{\max}=A\omega.

Rozwiązanie krok po krokuStep-by-step solution

Period: T=36 s90=0.40 sT=\dfrac{36\text{ s}}{90}=\mathbf{0.40\text{ s}}, frequency f=2.5 Hzf=2.5\text{ Hz}.

Angular frequency: ω=2π0.40≈15.7 rad/s\omega=\dfrac{2\pi}{0.40}\approx\mathbf{15.7\text{ rad/s}}.

Largest speed: vmax⁡=Aω=0.040⋅15.7≈0.63 m/sv_{\max}=A\omega=0.040\cdot15.7\approx\mathbf{0.63\text{ m/s}}. Incidentally: amax⁡=Aω2≈9.9 m/s2a_{\max}=A\omega^2\approx9.9\text{ m/s}^2, almost exactly gg.

ZadanieExerciseŚrednieMedium

Exercise 2 – a shake test. Electronics for a satellite are tested on a vibration table that oscillates harmonically at 25 Hz25\text{ Hz}. The acceleration must not exceed 3g3g. What is the largest permissible amplitude of the table?

mm
Pokaż wskazówkęShow hint

amax⁡=Aω2a_{\max}=A\omega^2 with ω=2πf\omega=2\pi f. Solve for AA.

Rozwiązanie krok po krokuStep-by-step solution

Angular frequency: ω=2π⋅25≈157.1 rad/s\omega=2\pi\cdot25\approx157.1\text{ rad/s}, so ω2≈24 670 s−2\omega^2\approx24\,670\text{ s}^{-2}.

From Aω2≤3gA\omega^2\le3g: A≤3⋅9.8124 670≈1.19⋅10−3 m=1.19 mmA\le\dfrac{3\cdot9.81}{24\,670}\approx1.19\cdot10^{-3}\text{ m}=\mathbf{1.19\text{ mm}}.

At twice the frequency the permissible amplitude would be four times smaller, because the acceleration grows with the square of the frequency.

ZadanieExerciseŚrednieMedium

Exercise 3 – reading the equation of motion. The position of a weight is given by x=(0.050 m)cos⁡ ⁣(4πt+π3)x=(0.050\text{ m})\cos\!\left(4\pi t+\tfrac{\pi}{3}\right), with tt in seconds. Find the position, velocity and acceleration of the weight at t=0.25 st=0.25\text{ s}.

m/s
Pokaż wskazówkęShow hint

First the phase at this instant: ωt+φ=4π⋅0.25+π3=4π3\omega t+\varphi=4\pi\cdot0.25+\tfrac\pi3=\tfrac{4\pi}{3}. Then v=−Aωsin⁡(…)v=-A\omega\sin(\ldots) and a=−ω2xa=-\omega^2x.

Rozwiązanie krok po krokuStep-by-step solution

Phase: π+π3=4π3\pi+\tfrac\pi3=\tfrac{4\pi}{3} (that is 240∘240^\circ). cos⁡240∘=−0.5\cos240^\circ=-0.5, sin⁡240∘≈−0.866\sin240^\circ\approx-0.866.

Position: x=0.050⋅(−0.5)=−0.025 mx=0.050\cdot(-0.5)=\mathbf{-0.025\text{ m}}.

Velocity: v=−0.050⋅4π⋅(−0.866)≈+0.54 m/sv=-0.050\cdot4\pi\cdot(-0.866)\approx\mathbf{+0.54\text{ m/s}}.

Acceleration: a=−ω2x=−(4π)2⋅(−0.025)≈+3.9 m/s2a=-\omega^2x=-(4\pi)^2\cdot(-0.025)\approx\mathbf{+3.9\text{ m/s}^2}.

The weight is on the left, moving to the right (towards the centre) and speeding up, because the acceleration points the same way as the velocity.

ZadanieExerciseTrudneHard

Exercise 4 – phase from the initial conditions. A block on a spring oscillates with an angular frequency of 12 rad/s12\text{ rad/s}. At t=0t=0 it is 2.0 cm2.0\text{ cm} to the left of the equilibrium position and moving to the left at 0.30 m/s0.30\text{ m/s}. Find the amplitude and the initial phase in x=Acos⁡(ωt+φ)x=A\cos(\omega t+\varphi).

v→ (0.30 m/s)0−2.0 cmxequilibrium positiontime t = 0ω = 12 rad/s
The displacement is exaggerated.
cm
Pokaż wskazówkęShow hint

A=x02+(v0/ω)2A=\sqrt{x_0^2+(v_0/\omega)^2}. Signs: x0<0x_0<0 and v0<0v_0<0, so cos⁡φ<0\cos\varphi<0 and sin⁡φ=−v0Aω>0\sin\varphi=-\tfrac{v_0}{A\omega}>0. Which quadrant is φ\varphi in?

Rozwiązanie krok po krokuStep-by-step solution

v0ω=−0.3012=−0.025 m=−2.5 cm\dfrac{v_0}{\omega}=\dfrac{-0.30}{12}=-0.025\text{ m}=-2.5\text{ cm}.

Amplitude: A=2.02+2.52=10.25≈3.2 cmA=\sqrt{2.0^2+2.5^2}=\sqrt{10.25}\approx\mathbf{3.2\text{ cm}}.

Phase: cos⁡φ=−2.03.2≈−0.625\cos\varphi=\dfrac{-2.0}{3.2}\approx-0.625, sin⁡φ=2.53.2≈0.781\sin\varphi=\dfrac{2.5}{3.2}\approx0.781. Cosine negative, sine positive: second quadrant, φ≈180∘−51.3∘≈129∘≈2.25 rad\varphi\approx180^\circ-51.3^\circ\approx\mathbf{129^\circ}\approx2.25\text{ rad}.

A calculator given tan⁡φ=1.25\tan\varphi=1.25 would return 51∘51^\circ, but that is a first-quadrant angle: it would describe a block to the right of the centre. The block keeps moving left and will stop at −3.2 cm-3.2\text{ cm}.

ZadanieExerciseTrudneHard

Exercise 5 – a jigsaw blade. A jigsaw blade oscillates harmonically at 40 Hz40\text{ Hz} with an amplitude of 9.0 mm9.0\text{ mm}. How long does it take to go from its highest position to half the amplitude, and what is its speed then?

ms
Pokaż wskazówkęShow hint

Starting from x=Ax=A (phase 00), the blade is at x=12Ax=\tfrac12A when cos⁡ωt=12\cos\omega t=\tfrac12, that is ωt=π3\omega t=\tfrac\pi3. What fraction of the period is that?

Rozwiązanie krok po krokuStep-by-step solution

The condition cos⁡ωt=12\cos\omega t=\tfrac12 gives ωt=π3\omega t=\tfrac\pi3, so t=π/32π T=T6t=\dfrac{\pi/3}{2\pi}\,T=\dfrac T6.

Period T=140 s=25 msT=\tfrac1{40}\text{ s}=25\text{ ms}, so t=256≈4.2 mst=\dfrac{25}{6}\approx\mathbf{4.2\text{ ms}}.

Speed: ∣v∣=Aωsin⁡π3=0.009⋅2π⋅40⋅0.866≈1.96 m/s|v|=A\omega\sin\tfrac\pi3=0.009\cdot2\pi\cdot40\cdot0.866\approx\mathbf{1.96\text{ m/s}}.

Interestingly, the blade covers the second half of the way, from 12A\tfrac12A to the centre, in T4−T6=T12\tfrac T4-\tfrac T6=\tfrac T{12}, half the time: close to the centre it moves fastest.

ZadanieExercisePoziom akademickiUniversity levelTrudneHard

Exercise 6 (for the curious) – average speed in harmonic motion. A body oscillates harmonically with an amplitude of 5.0 cm5.0\text{ cm} and a period of 0.80 s0.80\text{ s}. Calculate the average speed over one period as vˉ=1T∫0T∣v(t)∣ dt\bar v=\dfrac1T\displaystyle\int_0^T|v(t)|\,\mathrm dt and compare it with the maximum speed.

m/s
Pokaż wskazówkęShow hint

Take φ=0\varphi=0. By symmetry it is enough to integrate over a quarter period, where ∣v∣=Aωsin⁡ωt|v|=A\omega\sin\omega t, and multiply by 44.

Rozwiązanie krok po krokuStep-by-step solution

For φ=0\varphi=0: ∣v∣=Aω∣sin⁡ωt∣|v|=A\omega|\sin\omega t|. Over a quarter period:

∫0T/4Aωsin⁡ωt dt=A[−cos⁡ωt]0T/4=A\int_0^{T/4}A\omega\sin\omega t\,\mathrm dt=A\left[-\cos\omega t\right]_0^{T/4}=A

A whole period gives 4A4A, which is the distance covered in one cycle. Hence vˉ=4AT=4⋅0.0500.80=0.25 m/s\bar v=\dfrac{4A}{T}=\dfrac{4\cdot0.050}{0.80}=\mathbf{0.25\text{ m/s}}.

Maximum speed: vmax⁡=Aω=0.050⋅2π0.80≈0.39 m/sv_{\max}=A\omega=0.050\cdot\dfrac{2\pi}{0.80}\approx0.39\text{ m/s}. The ratio vˉvmax⁡=4A/T2πA/T=2π≈0.64\dfrac{\bar v}{v_{\max}}=\dfrac{4A/T}{2\pi A/T}=\dfrac2\pi\approx0.64 depends on neither the amplitude nor the period.

Coś się nie zgadza albo jest niejasne?Something wrong or unclear? ⚑︎ Zgłoś problemReport a problem