UcenlyOpen in the app

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.

Open the interactive lesson

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

Practice with worked solutions

Question 1

Solve the IVP and give e³·y(1).

y′′+6y′+9y=0,y(0)=2, y′(0)=−1y''+6y'+9y=0,\quad y(0)=2,\ y'(0)=-1
Worked solution

Answer: 7

  1. λ2+6λ+9=(λ+3)2=0\lambda^2+6\lambda+9=(\lambda+3)^2=0
  2. y=(a+bx)e−3x,  a=2,  y′(0)=b−3a=−1⇒b=5y=(a+bx)e^{-3x},\ \ a=2,\ \ y'(0)=b-3a=-1\Rightarrow b=5
  3. e3y(1)=a+b=7e^3y(1)=a+b=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)?

y′′−3y′+2y=e2x+xy''-3y'+2y=e^{2x}+x
  1. A e²ˣ + Bx + C
  2. A x e²ˣ + Bx + C (correct)
  3. A x e²ˣ + Bx² + Cx + D
  4. A x² e²ˣ + Bx + C
Worked solution
  1. λ2−3λ+2=(λ−1)(λ−2): λ∈{1,2}\lambda^2-3\lambda+2=(\lambda-1)(\lambda-2):\ \lambda\in\{1,2\}
  2. e2x: λ=2 (m=1),x: λ=0 (m=0)e^{2x}:\ \lambda=2\ (m=1),\qquad x:\ \lambda=0\ (m=0)

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.

y′′−3y′+2y=2xy''-3y'+2y=2x
Worked solution

Answer: 7/2

  1. yp=Ax+B:  −3A+2Ax+2B=2x⇒A=1, B=32y_p=Ax+B:\ \ -3A+2Ax+2B=2x\Rightarrow A=1,\ B=\tfrac32
  2. yp(2)=2+32=72y_p(2)=2+\tfrac32=\tfrac72

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: