UNIHIVE

Study Hub UNIPORT ENG 206

ENG 206 · Engineering Mathematic III (Differential Equations)

Non-homogeneous equations: undetermined coefficients and variation of parameters

Finding a particular integral for polynomial, exponential and trigonometric forcing, resonance, and the general method.

Our notes

2 min read

The plan

For a y″ + b y′ + c y = f(x): y = CF + PI. The CF solves the homogeneous equation (previous topic); the PI is any one solution of the full equation.

Method of undetermined coefficients

Guess a PI of the same form as f(x), with unknown coefficients:

f(x)Trial PI
polynomial of degree ngeneral polynomial of degree n
k e^(ax)A e^(ax)
k cos ωx or k sin ωxA cos ωx + B sin ωx
e^(ax) × polynomial or trigproduct of the trial forms

Rule: if the trial form is already in the CF, multiply it by x (by x² if needed again).

Example 1

y″ − 3y′ + 2y = 4x. CF: m = 1, 2: Ae^x + Be^(2x).
Try y = ax + b: 0 − 3a + 2(ax + b) = 4x, so 2a = 4 (a = 2) and 2b − 3a = 0 (b = 3).
y = Ae^x + Be^(2x) + 2x + 3.
Check: (2x + 3)″ − 3(2x + 3)′ + 2(2x + 3) = 0 − 6 + 4x + 6 = 4x ✓.

Example 2

y″ − 3y′ + 2y = e^(3x): try Ae^(3x): (9 − 9 + 2)A = 1, A = ½.

Example 3 (the rule)

y″ − 3y′ + 2y = eˣ: e^x is in the CF, so try y = Axe^x.
y′ = A(1 + x)e^x, y″ = A(2 + x)e^x. Then A[(2 + x) − 3(1 + x) + 2x]e^x = −Ae^x = e^x, so A = −1: PI = −xe^x.

Resonance

For x″ + ω₀² x = F cos ωt, the PI is F cos ωt/(ω₀² − ω²), which grows without limit as ω → ω₀. At ω = ω₀ the PI is (F/(2ω₀)) t sin ω₀t: the amplitude grows with time. Resonance damages machines and structures (unbalanced rotors, bridges), so engineers keep operating speeds away from natural frequencies or add damping.

Variation of parameters

Works for any f(x) once the CF y₁, y₂ is known (for y″ + p y′ + q y = f):

y_p = −y₁ ∫ (y₂ f / W) dx + y₂ ∫ (y₁ f / W) dx, with W = y₁y₂′ − y₂y₁′.

Example 4

y″ + y = sec x. y₁ = cos x, y₂ = sin x, W = 1.
y_p = −cos x ∫ sin x sec x dx + sin x ∫ cos x sec x dx = −cos x(−ln|cos x|) + x sin x.
y = A cos x + B sin x + cos x ln|cos x| + x sin x.
(Undetermined coefficients cannot handle sec x.) Check: y_p″ + y_p simplifies to sin²x/cos x + cos x = 1/cos x = sec x ✓.

Exams usually ask

  • Find the PI by undetermined coefficients, including the case where f is in the CF.
  • Solve forced vibration problems and explain resonance.
  • Use variation of parameters.

Common mistake

Trying only A sin ωx when f = sin ωx with a damping (y′) term. The derivative brings in cos ωx, so the trial must include both.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All ENG 206 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.