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 periodT. The number of cycles in one second is the frequencyf. The unit of frequency is the hertz: 1 Hz=1 cycle per second=1 s−1.
A sewing-machine needle that makes 1200 stitches a minute has a frequency f=60 s1200=20 Hz and a period T=0.05 s. The quartz crystal in a watch vibrates at 32768 Hz, that is 215 times a second: the electronics divide this number by 2 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:
A is the amplitude, the largest displacement from the equilibrium position (always positive);
ω is the angular frequency in 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π;
ωt+φ is the phase of the motion, and φ is the initial phase (phase constant), the phase at t=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) we get:
v(t)=−Aωsin(ωt+φ),a(t)=−Aω2cos(ωt+φ)
Sine and cosine take values from −1 to 1, so the largest velocity and the largest acceleration are:
vmax=Aω,amax=Aω2
Compare the formula for acceleration with the formula for position: it is the same cosine, only multiplied by −ω2.
The whole picture of the motion follows from this:
at the equilibrium position(x=0) the acceleration is zero and the speed is largest, ±Aω;
at the extreme positions(x=±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=0.
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 A and φ but the position x0 and velocity v0 at t=0. Substituting t=0 into the formulas for x and v:
x0=Acosφ,v0=−Aωsinφ
Squaring and adding (since cos2+sin2=1) gives the amplitude, and the ratio gives the phase:
A=x02+(ωv0)2,cosφ=Ax0,sinφ=−Aωv0
The angle must be chosen so that both signs agree: tanφ alone is not enough, because it gives two angles that differ by 180∘.
5. Simple harmonic motion as the shadow of circular motion
Imagine a point P going round a circle of radius A at a constant angular speed ω. At time t the radius to the point makes an angle ωt+φ with the x axis. The projection of the point onto the x axis (its shadow in light falling from above) has the coordinate:
x=Acos(ωt+φ)
This is exactly the formula for simple harmonic motion. The velocity of the point on the circle has magnitude Aω and is tangent to the circle; its projection onto the x axis is −Aωsin(ωt+φ). The centripetal acceleration has magnitude Aω2 and points to the centre; its projection is −Aω2cos(ωt+φ)=−ω2x. All the formulas of section 3 are plain geometry of circular motion.
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=−ω2x is a differential equation:
dt2d2x=−ω2x
We are looking for a function that, differentiated twice, returns to itself, only multiplied by −ω2. Both cosωt and sinωt do this, and so does any combination x=C1cosωt+C2sinωt. A second-order equation has exactly two arbitrary constants, and these are they: they are fixed by the initial conditions, C1=x0 and C2=ωv0.
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ωt
so C1=Acosφ and C2=−Asinφ. Hence A=C12+C22, 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 P. The φ slider sets where in the cycle the motion starts.
▶ SymulacjaSimulation: Simple harmonic motion: a block on a spring and the reference circleSpacja: start/pauza · R: resetSpace: start/pause · R: reset⚑︎
🎯 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².
ω=k/m=6.32rad/s
T=2πm/k=0.993s,f=1.01Hz
x=6cm,v=0m/s
a=−ω2x=−2.4m/s2
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 15 full oscillations in 3.0s. 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=+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+φ). At t=0 the body passes through the equilibrium position moving towards negative x. What is φ?
6.A peg on the rim of a disc of radius 0.20m, turning 2 times a second, casts a shadow on a wall. What is the greatest speed of the shadow?
Exercise 1 – a pump piston. The piston of a diaphragm pump completes 90 full cycles in 36 s, oscillating harmonically with an amplitude of 4.0 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, ω=T2π, and vmax=Aω.
Rozwiązanie krok po krokuStep-by-step solution
Period: T=9036 s=0.40 s, frequency f=2.5 Hz.
Angular frequency: ω=0.402π≈15.7 rad/s.
Largest speed: vmax=Aω=0.040⋅15.7≈0.63 m/s. Incidentally: amax=Aω2≈9.9 m/s2, almost exactly g.
Exercise 2 – a shake test. Electronics for a satellite are tested on a vibration table that oscillates harmonically at 25 Hz. The acceleration must not exceed 3g. What is the largest permissible amplitude of the table?
mm
Pokaż wskazówkęShow hint
amax=Aω2 with ω=2πf. Solve for A.
Rozwiązanie krok po krokuStep-by-step solution
Angular frequency: ω=2π⋅25≈157.1 rad/s, so ω2≈24670 s−2.
From Aω2≤3g:A≤246703⋅9.81≈1.19⋅10−3 m=1.19 mm.
At twice the frequency the permissible amplitude would be four times smaller, because the acceleration grows with the square of the frequency.
Exercise 3 – reading the equation of motion. The position of a weight is given by x=(0.050 m)cos(4πt+3π), with t in seconds. Find the position, velocity and acceleration of the weight at t=0.25 s.
m/s
Pokaż wskazówkęShow hint
First the phase at this instant: ωt+φ=4π⋅0.25+3π=34π. Then v=−Aωsin(…) and a=−ω2x.
Rozwiązanie krok po krokuStep-by-step solution
Phase: π+3π=34π (that is 240∘).cos240∘=−0.5,sin240∘≈−0.866.
Position: x=0.050⋅(−0.5)=−0.025 m.
Velocity: v=−0.050⋅4π⋅(−0.866)≈+0.54 m/s.
Acceleration: a=−ω2x=−(4π)2⋅(−0.025)≈+3.9 m/s2.
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.
Exercise 4 – phase from the initial conditions. A block on a spring oscillates with an angular frequency of 12 rad/s. At t=0 it is 2.0 cm to the left of the equilibrium position and moving to the left at 0.30 m/s. Find the amplitude and the initial phase in x=Acos(ωt+φ).
The displacement is exaggerated.
cm
Pokaż wskazówkęShow hint
A=x02+(v0/ω)2. Signs: x0<0 and v0<0, so cosφ<0 and sinφ=−Aωv0>0. Which quadrant is φ in?
Rozwiązanie krok po krokuStep-by-step solution
ωv0=12−0.30=−0.025 m=−2.5 cm.
Amplitude: A=2.02+2.52=10.25≈3.2 cm.
Phase: cosφ=3.2−2.0≈−0.625,sinφ=3.22.5≈0.781. Cosine negative, sine positive: second quadrant, φ≈180∘−51.3∘≈129∘≈2.25 rad.
A calculator given tanφ=1.25 would return 51∘, 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.
Exercise 5 – a jigsaw blade. A jigsaw blade oscillates harmonically at 40 Hz with an amplitude of 9.0 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=A (phase 0), the blade is at x=21A when cosωt=21, that is ωt=3π. What fraction of the period is that?
Rozwiązanie krok po krokuStep-by-step solution
The condition cosωt=21 gives ωt=3π, so t=2ππ/3T=6T.
Period T=401 s=25 ms, so t=625≈4.2 ms.
Speed: ∣v∣=Aωsin3π=0.009⋅2π⋅40⋅0.866≈1.96 m/s.
Interestingly, the blade covers the second half of the way, from 21A to the centre, in 4T−6T=12T, half the time: close to the centre it moves fastest.
Exercise 6 (for the curious) – average speed in harmonic motion. A body oscillates harmonically with an amplitude of 5.0 cm and a period of 0.80 s. Calculate the average speed over one period as vˉ=T1∫0T∣v(t)∣dt and compare it with the maximum speed.
m/s
Pokaż wskazówkęShow hint
Take φ=0. By symmetry it is enough to integrate over a quarter period, where ∣v∣=Aωsinωt, and multiply by 4.
Rozwiązanie krok po krokuStep-by-step solution
For φ=0:∣v∣=Aω∣sinωt∣. Over a quarter period:
∫0T/4Aωsinωtdt=A[−cosωt]0T/4=A
A whole period gives 4A, which is the distance covered in one cycle. Hence vˉ=T4A=0.804⋅0.050=0.25 m/s.
Maximum speed: vmax=Aω=0.050⋅0.802π≈0.39 m/s. The ratio vmaxvˉ=2πA/T4A/T=π2≈0.64 depends on neither the amplitude nor the period.