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
The Spring Oscillator and the Energy of Oscillations
In the previous lesson we described simple harmonic motion: what it looks like, but not why it appears. Now you will see where it comes from. All it takes is a force that pulls a body back the harder, the farther it has been moved, and every spring provides such a force. You will calculate the period of a block, of a car on its suspension and of a railway wagon on a buffer, and then follow how energy flows between the spring and the motion.
Co musisz umieć?What you need to know(6)(fizykaphysics: 5 · matematyka szkolnaschool maths: 1 · akademickauniversity: 2)
Fizyka z wcześniejszych lekcjiPhysics from earlier lessons
ruch harmonicznysimple harmonic motionRuch, w którym przyspieszenie jest proporcjonalne do wychylenia z położenia równowagi i skierowane przeciwnie: a = −ω²x. Położenie zmienia się wtedy jak x = A cos(ωt + φ).Motion in which the acceleration is proportional to the displacement from equilibrium and opposite to it: a = −ω²x. The position then varies as x = A cos(ωt + φ).Dowiedz się więcej →Learn more →
częstość kołowaangular frequencySzybkość narastania fazy drgań w radianach na sekundę: ω = 2π/T = 2πf. Nie mylić z częstotliwością f w hercach.The rate at which the phase of an oscillation grows, in radians per second: ω = 2π/T = 2πf. Not to be confused with the frequency f in hertz.Dowiedz się więcej →Learn more →
energia potencjalnapotential energyEnergia zależna od ustawienia ciał układu: jej spadek to praca siły zachowawczej. Przykłady: E_p = mgh, E_p = kx²/2.Energy that depends on the configuration of a system: its decrease equals the work of a conservative force. Examples: E_p = mgh, E_p = kx²/2.Dowiedz się więcej →Learn more →
zasada zachowania energiiconservation of energyGdy pracę wykonują tylko siły zachowawcze, suma E_k + E_p się nie zmienia. Tarcie zamienia część energii mechanicznej na wewnętrzną.When only conservative forces do work, the sum E_k + E_p stays constant. Friction turns part of the mechanical energy into internal energy.Dowiedz się więcej →Learn more →
zasada zachowania pęduconservation of momentumGdy siły zewnętrzne znoszą się, całkowity pęd układu się nie zmienia. Dlatego pęd tuż przed zderzeniem równa się pędowi tuż po nim.When the external forces cancel, the total momentum of a system stays constant. That is why momentum just before a collision equals momentum just after it.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 →
całka oznaczonadefinite integralSuma bardzo wielu wąskich pasków pod wykresem między a i b, czyli pole ze znakiem. Wynik to liczba z jednostką, np. praca w dżulach.The sum of very many thin strips under a graph between a and b, i.e. the signed area. The result is a number with a unit, e.g. work in joules.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. The spring force produces simple harmonic motion
A block of mass m lies on a frictionless table, attached to a spring with spring constant k. When you displace it by x from the position where the spring is undeformed, the spring pulls it back with a force F=−kx (Hooke’s law). The weight and the normal force cancel, so by Newton’s second law:
ma=−kx⟹a=−mkx
This is exactly the condition for simple harmonic motion a=−ω2x, with ω2=mk.
The spring force is a restoring force: always directed towards the equilibrium position and proportional to the displacement. Any system in which such a force acts oscillates harmonically, and its period follows from its “stiffness” k and its “inertia” m.
The elastic force F = −kx always points toward the equilibrium position (dashed line) and grows with the displacement. It is largest at the extreme positions and vanishes at equilibrium. There, however, the block has its largest speed and passes through by inertia.
2. A vertical spring
Let us hang a block on a vertical spring. The spring stretches until its force balances the weight: kΔl=mg. This new equilibrium position lies Δl=kmg below the end of the free spring.
If we displace the block by y from the new equilibrium position, the spring force changes by −ky, while the weight stays the same. The net force is therefore −ky, exactly as horizontally. Gravity only shifts the centre of the oscillation, and the period remains T=2πm/k. Substituting km=gΔl:
T=2πgΔl
It is enough to measure how much a body stretches a spring at rest to know the period of its oscillations, without weighing it and without knowing k.
The weight only moves the centre of the oscillation down by Δl = mg/k. About the new equilibrium position the net force is −ky, so the period is the same as horizontally: T = 2π√(m/k) = 2π√(Δl/g).
3. Energy in simple harmonic motion
The spring force is conservative, so without friction the sum of the kinetic energy of the block and the elastic energy of the spring is constant:
E=21mv2+21kx2
At an extreme position the block is at rest (v=0,x=±A), so all the energy is in the spring.
k = 200 N/m, A = 0.1 m. The total energy is constant; at every position it splits into the part under the parabola (spring) and above it (motion). At half the amplitude the spring holds only ¼ of the energy. The points ±A are turning points.
The conservation of energy gives the speed at any position, without calculating the time:
21mv2=21k(A2−x2)⟹v=±ωA2−x2
For x=0 this is vmax=Aω, the result of the previous lesson. The energies vary in time like cos2 and sin2, so each of them peaks twice per period, and on average each holds half of the total energy.
4. Combining springs
Two springs with constants k1 and k2 can be connected in two ways.
In parallel (side by side, both stretch by the same amount): the forces add, so k=k1+k2. The system is stiffer than either spring alone.
In series (one after the other): the same force passes through both, and the extensions add, so
k1=k11+k21
The system is softer than the softest of the springs. A special case: a spring cut in half can be treated as two halves in series, so each half has a constant 2k. A shorter spring made of the same wire is stiffer.
The parallel arrangement is stiffer than either spring alone (the stiffnesses add). The series arrangement is softer than the softer spring. For two identical springs k this gives 2k and k/2 respectively.✦ Dla ciekawych (poziom akademicki, można pominąć)For the curious (university level, can be skipped) · why almost everything oscillates harmonically
Take any potential energy U(x) with a minimum at x0, for example the interaction energy of two atoms in a molecule. Close to the minimum we expand it in a Taylor series:
U(x)≈U(x0)+U′(x0)(x−x0)+21U′′(x0)(x−x0)2
At the minimum U′(x0)=0, so what remains is a parabola, the energy of a spring with constant keff=U′′(x0). The force F=−dxdU≈−keff(x−x0) obeys Hooke’s law. That is why every system slightly disturbed from stable equilibrium oscillates harmonically, with angular frequency ω=U′′(x0)/m: atoms in a crystal, gas molecules, a bridge, a string, a ship on a wave. At larger displacements the higher terms of the series matter, the oscillations stop being harmonic and the period starts to depend on the amplitude.
5. Interactive lab: the energy of an oscillating block
Start with the “Where is it fastest?” experiment, then pause the simulation so that the block is at half the amplitude and compare the energy bars. On the right-hand graph the elastic energy is the parabola, and the kinetic energy is the distance from that parabola to the horizontal line of total energy.
▶ SymulacjaSimulation: Energy of an oscillator: the flow between the spring and the motionSpacja: start/pauza · R: resetSpace: start/pause · R: reset⚑︎
🎯 What question does this simulation answer? How does the energy of an oscillating block pass between the spring and the motion, and what does its total depend on?
🧪 Try these in turn:
▶ After choosing an experiment press Start (or drag the time slider).
🎨 Legend:■ kinetic energy■ elastic energy■ total energy
▶ Right now: The total energy ½kA² = 36 mJ does not change. Right now 0% is the kinetic energy of the block and 100% the elastic energy of the spring.
ω=k/m=6.32rad/s
T=2πm/k=0.993s,f=1.01Hz
E=21kA2=36mJ
vmax=Aω=0.38m/s
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 without friction. The bars show the kinetic energy, the elastic energy and their sum; the left graph shows the energies against time, and the right one the energy against position.
Quiz: test yourself
1.On the same spring we hang a body with four times the mass. How will the period change?
2.A weight oscillates on a vertical spring on Earth. What will the period of the same weight on the same spring be on the Moon?
3.By what factor does the energy of a spring oscillator grow when its amplitude doubles?
4.A block oscillates on a spring with amplitude A. What fraction of the energy of oscillation is kinetic when the block is 21A from equilibrium?
5.A weight oscillates on one spring. How will the period change if we hang it on two identical springs connected in series (one below the other)?
6.A spring is cut into two equal halves, and the same weight is hung on one of them. How will the frequency of oscillation change?
Exercise 1 – a laboratory cart. A cart with a mass of 0.80 kg attached to a spring makes 10 oscillations in 6.0 s. Calculate the spring constant and the largest force the spring exerts on the cart at an amplitude of 5.0 cm.
N/m
Pokaż wskazówkęShow hint
T=106.0, and from T=2πm/k we get k=T24π2m. The largest force acts at the extreme position: F=kA.
Exercise 2 – a lamp on a spring. When a lamp was hung on a spring, the spring stretched by 6.0 cm. With what period will the lamp oscillate vertically when someone bumps it?
s
Pokaż wskazówkęShow hint
At rest kΔl=mg, so km=gΔl.
Rozwiązanie krok po krokuStep-by-step solution
T=2πgΔl=2π9.810.060≈0.49 s.
We need to know neither the mass of the lamp nor the spring constant: the extension at rest already contains their ratio.
Exercise 3 – speed at a given position. A block with a mass of 0.40 kg oscillates on a spring with a constant of 160 N/m and an amplitude of 5.0 cm. Calculate the energy of oscillation and the speed of the block when it is 3.0 cm from equilibrium.
m/s
Pokaż wskazówkęShow hint
E=21kA2, and 21mv2=E−21kx2.
Rozwiązanie krok po krokuStep-by-step solution
Energy: E=21⋅160⋅0.0502=0.20 J.
At x=3.0 cm the spring holds 21⋅160⋅0.0302=0.072 J, so the block has 0.128 J of kinetic energy:
v=0.402⋅0.128=0.80 m/s
The same comes from v=ωA2−x2=20⋅0.040, since ω=160/0.40=20 rad/s. The maximum speed is 1.0 m/s.
Exercise 4 – two springs. You have two springs with constants 300 N/m and 600 N/m and a weight with a mass of 1.5 kg. At what frequency will the weight oscillate when you connect the springs in series, and at what frequency when you connect them in parallel?
Hz
Pokaż wskazówkęShow hint
In series: k1=k11+k21. In parallel: k=k1+k2. Then f=2π1k/m.
Rozwiązanie krok po krokuStep-by-step solution
In series: k1=3001+6001=2001, so k=200 N/m and
f=2π11.5200≈1.84 Hz
In parallel: k=900 N/m and f=2π11.5900≈3.90 Hz.
The same two springs give frequencies that differ by more than a factor of two: 900/200≈2.12.
Exercise 5 – putty on a block. A ball of putty with a mass of 50 g flies horizontally at 4.0 m/s and sticks to a block of mass 0.45 kg at rest, attached to a spring with a constant of 200 N/m on a frictionless table. What will the amplitude and period of the oscillation be?
cm
Pokaż wskazówkęShow hint
The collision is inelastic and short: momentum is conserved, but energy is not. The speed just after the collision is vmax of the new oscillator with a mass of 0.50 kg.
Rozwiązanie krok po krokuStep-by-step solution
Conservation of momentum: 0.050⋅4.0=0.50v, so v=0.40 m/s. The block was at the equilibrium position, so this is the maximum speed.
Angular frequency: ω=0.50200=20 rad/s.
Amplitude: A=ωvmax=200.40=0.020 m=2.0 cm. Period: T=202π≈0.31 s.
The energy of oscillation (0.040 J) is only 10% of the kinetic energy of the putty (0.40 J): the rest turned into heat and deformation of the putty. Calculating the amplitude from the energy of the putty would give a wrong result.
Exercise 6 (for the curious) – the mass of the spring. A spring with a constant of 50 N/m has a mass of 0.12 kg, and the weight hanging on it 0.20 kg. Assuming that the speed of a coil grows linearly from zero at the fixed end to the speed of the weight at the bottom, show with an integral that the spring “adds” 31ms to the oscillating mass, and calculate the period. By what percentage would we be wrong if we ignored the mass of the spring?
s
Pokaż wskazówkęShow hint
A coil at a distance s from the fixed end (spring of length l) has mass lmsds and speed vls. Compute Ek=∫0l21lms(vls)2ds.
Rozwiązanie krok po krokuStep-by-step solution
Kinetic energy of the spring:
Ek=2l3msv2∫0ls2ds=2l3msv2⋅3l3=21⋅3msv2
So the spring has as much kinetic energy as if one third of its mass moved together with the weight. Effective mass: m+31ms=0.20+0.04=0.24 kg.
Period: T=2π500.24≈0.435 s. Without the spring’s mass: 2π0.20/50≈0.397 s, about 9% too little. Ignoring the mass of the spring is safe only when it is much smaller than the mass of the weight.