Undetermined Coefficients
For : general solution homogeneous one particular solution. Guess shaped like : polynomials for polynomials ( gets ), for exponentials, for sinusoids — substitute and match coefficients.
Why the table works: derivatives of polynomials are polynomials of no higher degree, derivatives of are multiples of , and derivatives of and stay among . So the left side applied to the guess lands in the same family as , and matching coefficients is a finite linear system. The homogeneous part is added because the left side sends it to zero. For (worked below) that part decays, and every solution approaches .
When the forcing already solves the homogeneous equation, the naive guess collapses — multiply it by . For : , whose amplitude grows without bound. This is resonance — the mathematics behind pushed swings and shattered bridges.
Why multiplying by helps: if solves the homogeneous equation, then substituting leaves times the homogeneous expression for , which is zero, plus terms built from that are not zero. For : , so . This has , so it is the motion from rest, and its swings grow between the lines .
with : substituting gives , so and : . Matching term-by-term is bookkeeping, not cleverness — write the shape, then compare.
Why and not just : substituting gives , which needs and at once — impossible. Differentiating produces the constant , and the constant in the guess is there to absorb it.
The Broughton suspension bridge (1831) collapsed under soldiers marching in step; the Millennium Bridge in London wobbled dangerously on opening day from synchronized footfalls — both are the growth of this topic in steel. Every tuned structure is designed to keep its natural frequencies away from expected forcing.
Which of , and causes resonance in ? For each, give the form of the guess.
Show the answerHide the answer
The homogeneous solutions are and (roots ), and resonance happens exactly when the forcing is itself a homogeneous solution. is one, so the guess must be , and the response grows like . is not, so works (in fact , ). is not either — the roots are , not — so works, with .
Exponential, Sinusoidal and Product Forcing
For :
- with a polynomial of degree : guess with a general polynomial of degree ;
- : guess , with both cosine and sine even if has only one;
- : find a particular solution for each and add them.
If a term of the guess solves the homogeneous equation, multiply the whole guess by (see the next section).
Each family is closed under differentiation, so the left side applied to the guess returns to the family, and comparing coefficients gives a square linear system. Both cosine and sine are needed because the term turns one into the other. Adding particular solutions works because the left side is linear: .
Find the general solution of .
Step 1 — homogeneous: , so .
Step 2 — is not among these ( is not a root), so guess .
Step 3 — substitute: , so .
Step 4 — . A shortcut worth knowing: for with not a root, substituting gives , so is the forcing's coefficient divided by the characteristic polynomial at ; here .
Solve with , .
Step 1 — the homogeneous roots are , so .
Step 2 — guess ; then and .
Step 3 — substitute and collect: the terms give , the terms . Matching : and , so , , and .
Step 4 — the data: gives , and gives .
Step 5 — .
Step 6 — read it: the transient dies like , leaving the steady state with — amplitude , at the driving frequency rather than the natural frequency .
Find a particular solution of .
Step 1 — does not solve , so guess , a general degree-one polynomial times .
Step 2 — and .
Step 3 — must equal , so and : , .
Step 4 — . The constant was necessary: with alone, the constant terms would demand , contradicting .
For , the guess gives . Matching requires and at the same time — no such exists. The damping term turns cosine into sine, so the guess must carry both: gives , , as above.
Find a particular solution of .
Show the answerHide the answer
has the double root , so is not a homogeneous solution. Guess : and . The cosine terms total ; the sine terms . Matching : and , so , , and . Check: ✓.
Resonance, Double Roots and Beats
If the exponent of the forcing (or for ) is a root of the characteristic equation, multiply the guess by , where is the multiplicity of that root: for a simple root, for a double root. Near resonance, but not at it, no extra is needed; instead, started from rest, the response shows beats:
a fast oscillation inside a slow envelope.
Why the multiplicity: when is a root of multiplicity , the functions all solve the homogeneous equation, so the left side sends each of them to zero and the first power of that can balance the forcing is . Beats are the near-miss version of resonance: as the slow envelope stretches out, and over any fixed stretch of the response grows almost linearly, approaching the resonant .
Find a particular solution of .
Step 1 — the roots are , and the forcing's exponent is a simple root, so the plain guess gives and cannot work.
Step 2 — guess : and .
Step 3 — , so and . The -terms cancelled, as they must: the part of that looks like a homogeneous solution contributes nothing, and what is left is a constant multiple of .
Find a particular solution of .
Step 1 — : is a double root, so both and are homogeneous solutions.
Step 2 — guess : and .
Step 3 — substitute: , so and .
Step 4 — the general solution is .
Solve from rest, .
Step 1 — natural frequency , driving frequency : no resonance. With no term, a cosine guess stays a cosine, so suffices.
Step 2 — , so and .
Step 3 — the general solution is ; gives , and gives .
Step 4 — .
Step 5 — read it: a fast oscillation at frequency inside the slow envelope , which swells to at and shrinks back to at . The system alternately absorbs energy from the forcing and hands it back.
For , the guess gives and , so . The equation has no solution for : at a double root, is itself a homogeneous solution. The multiplicity is , so the guess needs .
Solve with , .
Show the answerHide the answer
The forcing solves the homogeneous equation (roots ), so guess . Substituting, the -terms cancel and . Matching : , , so . General solution: . Data: , and gives . So , whose swings grow like .
Proofs & Why It Matters
Let solve (writing for the whole left side). If is any solution of , then by linearity, so is a homogeneous solution: . Conversely every solves .
One particular solution plus the whole homogeneous family is therefore the complete solution set.
For , try : and . Then — the -terms cancel — so ( when ).
The linear-in- amplitude is forced: bounded guesses die because they already solve the homogeneous equation.
Going Deeper: Explanations & Worked Problems
Undetermined coefficients works because differentiation maps each function family into itself: polynomials to polynomials, to itself, into each other.
So guess a general member of the forcing's family: for , guess (both terms — the derivative of makes constants, so a bare cannot balance); for , guess ; for , guess (both, since turns cosine into sine); for products, multiply the guesses. The exception: if the guess already solves the homogeneous equation, substituting it gives zero on the left and the coefficient equations become unsolvable — multiply the guess by (twice for a double root). That is resonance, and physically it is why forcing a system at its natural frequency produces growing oscillations rather than a steady response.
Find the general solution of .
Step 1 — homogeneous part: , so .
Step 2 — guess (not a homogeneous solution — no -multiplication needed): , .
Step 3 — substitute: , i.e. .
Step 4 — match coefficient by coefficient: : ; constants: .
Step 5 — assemble: .
Step 6 — long-run reading: both homogeneous pieces decay, so every solution approaches the line — the particular solution is the system's steady response, the homogeneous part its fading memory of initial conditions.
Compare against (natural frequency ). Non-resonant: guess ; then , so gives — a bounded steady oscillation, done.
Resonant: the naive guess gives — unsolvable, exactly because solves the homogeneous equation. Multiply by : . Differentiate twice (product rule, carefully): ; adding cancels the -terms, leaving : , , so . The amplitude grows linearly forever — same equation shape, one frequency changed, qualitatively different fate.