Differential Equations & Numerical Methods · BE5B01DEN · Topic 6 of 13
Linear ODEs: homogeneous and non-homogeneous
Week 6. Characteristic numbers give the homogeneous solution; undetermined coefficients or variation of parameters give a particular one.
Key ideas
Homogeneous equations with constant coefficients
Solve the characteristic equation p(λ)=0. A real root α of multiplicity m gives e^(αx), x e^(αx), …, xᵐ⁻¹e^(αx); a pair α±βi gives e^(αx)cos βx and e^(αx)sin βx (times powers of x for multiplicity).
Particular solution by undetermined coefficients
For b(x)=e^(αx)[P(x)cos βx+Q(x)sin βx] guess x^m e^(αx)[P̃cos βx+Q̃sin βx] with polynomials of degree at most max(deg P, deg Q); m is the multiplicity of α+βi among the characteristic numbers (0 if it is not one). The general solution is y_p+y_h.
Variation of parameters and the Wronskian
Look for y=c₁(x)u₁+…+cₙ(x)uₙ and solve for c′ᵢ. For a first order equation y′+a(x)y=b(x) this means C′(x)u(x)=b(x). A set of n solutions is a fundamental system exactly when its Wronskian is nonzero.
In one line: Find y_h first; the resonance factor x^m in the guess is decided by the homogeneous roots, not by the right-hand side alone.
Formulas
- Homogeneous equations with constant coefficients
- Particular solution by undetermined coefficients
- Variation of parameters and the Wronskian
Practice with worked solutions
Question 1
Solve the IVP and give e³·y(1).
Worked solution
Answer: 7
λ = −3 is a double root, so y = (a + bx)e⁻³ˣ.
Question 2
Which form of a particular solution does the method prescribe (the right power of x and no superfluous terms)?
- A e²ˣ + Bx + C
- A x e²ˣ + Bx + C (correct)
- A x e²ˣ + Bx² + Cx + D
- A x² e²ˣ + Bx + C
Worked solution
Compare each part of the right-hand side with the characteristic numbers: the multiplicity m is the power of x.
Question 3
The equation has a polynomial particular solution. Find it and give its value at x = 2.
Worked solution
Answer: 7/2
Since 0 is not a characteristic number, try y_p = Ax + B.
More Differential Equations & Numerical Methods practice in Ucenly
Sources
Written by Ucenly. Based on the BE5B01DEN course materials:
- Course card BE5B01DEN (Bílá kniha), p. 1
- Lecture slides: ODE linear equations (edens_a1lin.pdf), p. 2, 3, 4, 5
- Lecture slides: ODE separable equations (edens_a0order1.pdf), p. 4
- Typical midterm test with solutions (edensm.pdf), p. 1, 2
- Habala: Ordinary Differential Equations and Numerical Analysis (dnbook.pdf), p. 151, 167
- Homework 5 (edenhw05.pdf), p. 1