Plotwise graphing calculator

Learn › Degree level

Damped oscillations

Pull a weight on a spring and let go. It bounces, and the bounces die away. Fit a stiffer damper and it creeps back without bouncing at all. One differential equation covers both, and every case in between.

What you need first

  • Solving second-order linear differential equations with constant coefficients by trying y = emt.
  • That complex roots of the auxiliary equation lead to sines and cosines.
  • The graphs of e−t and cos t.

What you will be able to do

  • Say what each term of the equation represents.
  • Decide which of the three cases applies.
  • Write down and sketch the solution in each case.

What the equation says

y″ + 2γy′ + ω₀²y = 0

Here y is how far the weight is from its rest position and t is time. Read the equation as a balance of three effects:

Everything depends on which wins: the spring, set by ω₀, or the friction, set by γ.

The auxiliary equation

Try a solution of the form y = emt. Then y′ = memt and y″ = m²emt. Substituting and dividing through by emt, which is never zero, leaves an ordinary quadratic in m:

m² + 2γm + ω₀² = 0,   so   m = −γ ± √(γ² − ω₀²)

What is under the square root decides the behaviour. It is the same idea as the discriminant of a quadratic: positive, zero or negative.

CaseConditionRootsGeneral solution
Underdampedγ < ω₀Complexe−γt(A cos ωt + B sin ωt), where ω = √(ω₀² − γ²)
Critically dampedγ = ω₀One repeated(A + Bt) e−γt
Overdampedγ > ω₀Two real, both negativeA em₁t + B em₂t

Key words

Underdamped
Friction is weak. The system oscillates while dying away.
Critically damped
Friction is exactly enough to stop any oscillation.
Overdamped
Friction is strong. The system creeps back slowly.
Envelope
The pair of curves ±e−γt that the oscillation stays between.

The three cases side by side

To compare them fairly, fix the spring at ω₀ = 2 and release from rest at y = 1 every time. Only the damping changes.

Blue: γ = 0.5, underdamped. Orange: γ = 2, critically damped. Green: γ = 4, overdamped. The horizontal axis is time. Open in the full calculator

Try it yourself

Point at a curve to read its coordinates. Predict each answer first.

  1. Before looking closely: which curve do you expect to cross below zero?

    What you should see

    Only the blue, underdamped one. It first reaches zero at about t = 0.94 and swings to the other side. The other two never cross.

  2. Which curve do you expect to be closest to zero at t = 2: the one with the most damping, or another?

    What you should see

    The orange, critically damped one, at about 0.09. The green curve, with twice the damping, is still up at about 0.37. More friction is not faster.

  3. Point at the blue curve at two neighbouring peaks. What is the time between them?

    What you should see

    About 3.24. That is the period 2π/ω with ω ≈ 1.94. It is a little longer than the undamped period π, because friction slows the oscillation slightly.

Where the three formulas come from

All three use y(0) = 1 and y′(0) = 0 to fix the constants A and B.

γ = 0.5 (underdamped). ω = √(4 − 0.25) ≈ 1.9365. Setting t = 0 gives A = 1. Differentiating and setting t = 0 gives −γA + ωB = 0, so B = γ/ω ≈ 0.2582:

y = e−0.5t(cos 1.9365t + 0.2582 sin 1.9365t)

γ = 2 (critically damped). The root m = −2 is repeated. y(0) = 1 gives A = 1, and y′(0) = 0 gives B − 2A = 0, so B = 2:

y = (1 + 2t) e−2t

γ = 4 (overdamped). The roots are m = −4 ± √12, which are −0.5359 and −7.4641. Solving A + B = 1 and m₁A + m₂B = 0 gives

y = (7.4641 e−0.5359t − 0.5359 e−7.4641t) / 6.9282

Why critical damping is special

In the overdamped solution, one exponential dies almost at once and the other, with the small root −0.5359, lingers. Heavy friction stops the system from moving quickly, including back to rest. Critical damping is the boundary: the most friction you can add before this slow creep sets in. That is why door closers and car suspension are tuned close to it.

The envelope

An underdamped solution is trapped between the curves ±e−γt. In the calculator below, g stands for γ and w for ω. Raise g and the envelope closes in faster. Raise w and more oscillations fit inside the same envelope.

Open the envelope with sliders

Each peak is smaller than the one before by the same factor, e−γT, where T = 2π/ω is the period. The logarithm of that ratio, γT, is called the logarithmic decrement. It is the standard way to measure damping from an experimental trace: measure two successive peaks and take the log of their ratio.

Check yourself

Try each one on paper before you open the answer. Getting one wrong is useful: it shows you which part to reread.

  1. Classify y″ + 6y′ + 9y = 0.

    Show the answer

    Critically damped. 2γ = 6 so γ = 3, and ω₀² = 9 so ω₀ = 3. They are equal.

  2. Classify y″ + 2y′ + 10y = 0 and find the frequency of oscillation.

    Show the answer

    Underdamped. γ = 1 and ω₀² = 10, so γ < ω₀. Then ω = √(10 − 1) = 3.

  3. Classify y″ + 10y′ + 9y = 0 and find the roots.

    Show the answer

    Overdamped. γ = 5 and ω₀ = 3. The roots are −5 ± √(25 − 9) = −5 ± 4, which are −1 and −9.

What to remember