ENG 206 · Engineering Mathematic III (Differential Equations)
Our notes
2 min readThe 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 n | general polynomial of degree n |
| k e^(ax) | A e^(ax) |
| k cos ωx or k sin ωx | A cos ωx + B sin ωx |
| e^(ax) × polynomial or trig | product 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
-
Best pick Calculus Volume 3, 7.2 Nonhomogeneous Linear Equations
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 3, 7.2 Nonhomogeneous Linear Equations, CC BY-NC-SA 4.0 · licence
-
Method of undetermined coefficients
(opens en.wikipedia.org in a new tab)
Wikipedia, Method of undetermined coefficients, CC BY-SA 4.0 · licence
-
Variation of parameters
(opens en.wikipedia.org in a new tab)
Wikipedia, Variation of parameters, CC BY-SA 4.0 · licence
-
NOUN MTH 302: Elementary Differential Equations
NOUN course book (PDF, about 0.3 MB, 54 pages). First-order to Sturm-Liouville problems.
(opens nou.edu.ng in a new tab)
-
OpenStax, Calculus Volume 3 (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Calculus Volume 3 (whole free textbook), CC BY-NC-SA 4.0 · licence
Watch
-
Variation of Parameters - Nonhomogeneous Second Order Differential Equations
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Undetermined Coefficients: Solving non-homogeneous ODEs
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Second Order Non-Homogeneous Ordinary Differential Equations: Meaning, Example and Solution
28 min · ≈ 126 MB · about ₦71
(opens youtube.com in a new tab)
-
🔵22 - Method of Variation of Parameters 1 - Non-Homogeneous Differential Equations
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Method of Undetermined Coefficients - Nonhomogeneous 2nd Order Differential Equations
41 min · ≈ 185 MB · about ₦104
(opens youtube.com in a new tab)
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.