Second-Order Examples with Undetermined Coefficients
What you'll learn: You'll work through complete second-order non-homogeneous differential equations from start to finish, combining all the undetermined coefficients techniques you've learned.
The Complete Solution Process
When solving a second-order non-homogeneous ODE like ay'' + by' + cy = g(t), you need both pieces of the puzzle:
- The homogeneous solution y_h: Solve the characteristic equation to handle ay'' + by' + cy = 0
- A particular solution y_p: Use undetermined coefficients based on g(t)'s form
- Combine them: The general solution is y = y_h + y_p
Example: Full Walkthrough
Solve: y'' - 3y' + 2y = 4e^(3t) + 6
Step 1: Find y_h
Characteristic equation: r² - 3r + 2 = 0 Factor: (r - 1)(r - 2) = 0 Roots: r = 1, 2 (real and distinct)
So y_h = c₁e^t + c₂e^(2t)
Step 2: Find y_p
For g(t) = 4e^(3t) + 6, we need two particular solutions.
For 4e^(3t): Try y_p1 = Ae^(3t) Substitute and solve: A = 1, so y_p1 = e^(3t)
For 6 (constant): Try y_p2 = B Substitute: 2B = 6, so B = 3, giving y_p2 = 3
By superposition: y_p = e^(3t) + 3
Step 3: General Solution
y = c₁e^t + c₂e^(2t) + e^(3t) + 3
If given initial conditions, substitute to find c₁ and c₂.
Key Takeaway: Complete solutions to second-order non-homogeneous ODEs require finding the homogeneous solution, building the correct particular solution form for each term in g(t), applying superposition, then combining everything—always verify by substitution!