Learn
Lesson · Oscillators, Damping and Resonance · Forcing

Forced Oscillation

Push an undamped mass with a force F₀·cos(ωt) and it answers at the frequency of the push, with an amplitude that is an exact fraction, A = F₀/(m·(ω₀² − ω²)). The sign of A says whether the mass moves with the push or against it, and the size of A grows as the push frequency approaches the natural one.

m·x″ + k·x = F₀·cos(ωt) x_p = A·cos(ωt) A = F₀/(m·(ω₀² − ω²)) = F₀/(k − m·ω²) A > 0 when ω < ω₀, with the push ω > ω₀: A < 0, against the push
The push sets the frequency; the spring sets the size

Core ideas

What this lesson establishes

Three ideas: why a cosine is the right guess, what the amplitude is made of, and what its sign records.

1

A push at frequency ω is answered at frequency ω

The second derivative of cos(ωt) is −ω²·cos(ωt), a multiple of itself, so a cosine of the same frequency as the push can balance it. This is undetermined coefficients, as in “Exponential and Sinusoidal Forcing”. With no damper only even derivatives appear, so no sine term is needed.

2

The amplitude is a fraction with ω₀² − ω² underneath

Substituting A·cos(ωt) gives A·(k − m·ω²) = F₀. Dividing by m, A = F₀/(m·(ω₀² − ω²)). Every symbol in it is a fraction in the lab, so A is exact. Note the squares: it is ω₀² − ω² and not ω₀ − ω.

3

The sign of A says in step or against

If ω < ω₀ the denominator is positive and A has the sign of F₀: the mass peaks when the push peaks. If ω > ω₀ it is negative, and the mass is at its most negative when the push is at its most positive. A fast push on a mass that cannot keep up is answered the wrong way round.

The material

A steady push on a free spring

The forced equation, the substitution that fixes the amplitude, the theorem with its check, and pushes that show the three behaviours.

Until now the right-hand side of every oscillator equation was zero and the motion was whatever the start left it. Add a force from outside that alternates with frequency ω and size F₀, and the equation becomes m·x″ + c·x′ + k·x = F₀·cos(ωt). This lesson and the next keep the damper off, c = 0, so that the mass answers the push and nothing carries the answer away. The last lesson of the course puts the damper back.

m·x″ + k·x = F₀·cos(ωt) x = x_p + C₁cos(ω₀t) + C₂sin(ω₀t)

The second line is the structure from “Homogeneous Plus Particular”: any one solution x_p of the forced equation, plus the free motion of the unforced one. The free part carries the constants C₁ and C₂ and is fixed by the start. The part fixed by the push alone is x_p, and it is the subject of this lesson.

x_p = A·cos(ωt) x_p″ = −ω²·A·cos(ωt) m·(−ω²·A) + k·A = F₀ A·(k − m·ω²) = F₀ A = F₀/(k − m·ω²) = F₀/(m·(ω₀² − ω²))
Theorem · The forced amplitude

If ω² ≠ ω₀² then x_p = A·cos(ωt) with A = F₀/(m·(ω₀² − ω²)) is a solution of m·x″ + k·x = F₀·cos(ωt), and it is the only solution of the form A·cos(ωt) + B·sin(ωt).

Substitute: m·x_p″ + k·x_p = (k − m·ω²)·A·cos(ωt), and (k − m·ω²)·A = m·(ω₀² − ω²)·A = F₀, so the left side is F₀·cos(ωt).

For a sine term B·sin(ωt) the same substitution gives (k − m·ω²)·B·sin(ωt), which must be zero, and k − m·ω² ≠ 0, so B = 0. Dividing by k − m·ω² is allowed exactly when ω² ≠ ω₀², which is why the next lesson exists.

□

Four pushes on one spring

Take m = 1, k = 4 and F₀ = 3, so ω₀² = 4 and ω₀ = 2. The push 3·cos(ωt) is tried at four frequencies, the lab starts the mass at rest at the rest position each time, and the tile reads the amplitude.

ω = 1: A = 3/(4 − 1) = 1 ω = 3/2: A = 3/(4 − 9/4) = 12/7 ω = 7/4: A = 3/(4 − 49/16) = 16/5 ω = 3: A = 3/(4 − 9) = −3/5
Example · Below the natural frequency

For ω = 1, x_p = cos(t), and A = 1. Started at rest at the rest position, the whole motion is x = cos(t) − cos(2t): it has x(0) = 0 and x′(0) = 0, and x″ + 4x = −cos(t) + 4cos(2t) + 4cos(t) − 4cos(2t) = 3cos(t).

The curve the lab draws is that sum of two cosines. The tile reports the first one, the part fixed by the push, and it moves with the push.

Example · Above the natural frequency

For ω = 3, A = −3/5. The push is 3·cos(3t), and the response is −(3/5)·cos(3t): when the force is pulling the mass to the right, the response is to the left. The whole motion from rest is −(3/5)·cos(3t) + (3/5)·cos(2t).

The mass is too sluggish to follow a push this fast. It is still going the old way when the force turns, and the spring reverses it before the next push.

The two extremes make sense of the formula. As ω falls toward zero the push becomes a slow steady pull, and A tends to F₀/k, the stretch Hooke's law gives for that force. As ω rises the amplitude shrinks toward zero from below: inertia wins. Between them, near ω₀, the denominator ω₀² − ω² is small and the amplitude is large, as the pushes at 3/2 and 7/4 show: 12/7 and then 16/5.

One tile will look odd. While the push is on, the lab's period tile reads the beat period of the two cosines when the natural frequency is rational. It means something specific, and the next lesson explains it.

Interactive

The oscillator

Free, damped and forced motion, with every exact quantity

The mass on a springm·x″ + c·x′ + k·x = F₀·cos(ωt)
drawn by stepping in floating pointenvelope or marks

Method

From a push to an amplitude and a sign

Five moves. The second is the one that decides whether the formula can be used at all.

1

Read the five numbers

The mass m, the spring constant k, the size of the push F₀ and its frequency ω, with the damper absent. Compute ω₀² = k/m as a fraction.

2

Compare ω² with ω₀²

If they are equal, stop: the formula divides by zero and the next lesson takes over. Otherwise note which is larger, because that will be the sign.

3

Compute the amplitude

A = F₀/(k − m·ω²). Do the subtraction in the denominator as a fraction first, then divide. For ω = 3/2: 4 − 9/4 = 7/4, and 3/(7/4) = 12/7.

4

Read the sign

Positive: the mass moves with the push. Negative: against it. The size is |A|, and it is the larger the closer ω² is to ω₀².

5

Check by substitution

m·(−ω²·A) + k·A must equal F₀. For ω = 3, A = −3/5: −9·(−3/5) + 4·(−3/5) = 27/5 − 12/5 = 3.

Amplitude, size and sign

Score 0 / 0

x″ + 4x = 3cos(t), and then the push at ω = 3

The lab presets for ω = 1 and ω = 3: m = 1, k = 4, F₀ = 3, started at rest at the rest position.

ω₀² = 4, F₀ = 3 ω = 1: x_p = A·cos(t), x_p″ = −A·cos(t) −A + 4A = 3 A = 1 ω = 3: x_p = A·cos(3t), x_p″ = −9A·cos(3t) −9A + 4A = 3 A = −3/5 x_p = −(3/5)·cos(3t): against the push

Both amplitudes are exact fractions, and the lab prints them as A = 1 and A = −3/5. The first is positive because 1 < 2; the second is negative because 3 > 2. Nothing in either figure is rounded.

Common mistakes

1
Believing the response is always in step with the pushIt is in step only below the natural frequency. For ω = 1 the amplitude is A = 1 and the mass peaks with the push. For ω = 3 it is A = −3/5: when the force is at its largest in one direction, the response is at its largest in the other. The formula carries this in the sign of ω₀² − ω² and needs nothing added.
2
Expecting the forced mass to swing at its own frequencyThe part of the motion fixed by the push is A·cos(ωt), at the pushing frequency, and the natural frequency appears only in the free part, whose constants come from the start. The lab's curve from rest is the sum of both, cos(t) − cos(2t) for the push at ω = 1. Neither term is the answer on its own.
3
Subtracting the frequencies instead of their squaresThe denominator is ω₀² − ω², because the second derivative brings down ω². For ω = 3/2 the right answer is A = 3/(4 − 9/4) = 12/7; using ω₀ − ω = 1/2 would give A = 6, more than three times too large.

Check your understanding

✓
Finish when you can compute the amplitude of a forced undamped oscillator and say which way it moves.

You should be able to write x_p = A·cos(ωt) for m·x″ + k·x = F₀·cos(ωt), compute A = F₀/(m·(ω₀² − ω²)) exactly as a fraction, say from its sign whether the mass moves with the push or against it, and check the answer by substituting it.

Note: The formula divides by zero when the push has exactly the natural frequency, and it is large just beside that. What replaces it, and what the motion does, is the subject of “Resonance and Beats”.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.