MathIsimple
ODE-05
Constant Coefficients

Constant Coefficient Linear Equations

Master the powerful techniques for solving linear ODEs with constant coefficients: characteristic equations, the superposition principle, undetermined coefficients, variation of parameters, and elegant operator methods.

Learning Objectives

  • Solve homogeneous equations via characteristic roots
  • Handle distinct, repeated, and complex roots
  • Apply the superposition principle
  • Use undetermined coefficients for particular solutions
  • Apply variation of parameters systematically
  • Master the operator method and exponential shift
  • Understand the Wronskian and linear independence
  • Solve resonance problems

1. Homogeneous Constant Coefficient Equations

Consider the nn-th order linear homogeneous equation with constant coefficients:

Lx:=anx(n)+an1x(n1)++a1x+a0x=0Lx := a_n x^{(n)} + a_{n-1}x^{(n-1)} + \cdots + a_1 x' + a_0 x = 0

Definition 5.1: Characteristic Equation

The characteristic equation of the homogeneous ODE is:

p(λ)=anλn+an1λn1++a1λ+a0=0p(\lambda) = a_n \lambda^n + a_{n-1}\lambda^{n-1} + \cdots + a_1\lambda + a_0 = 0

The roots λ1,,λm\lambda_1, \ldots, \lambda_m (with multiplicities n1,,nmn_1, \ldots, n_m) are called the characteristic values or eigenvalues of the equation.

Theorem 5.1: General Solution of Homogeneous Constant Coefficient ODE

Let the characteristic equation have mm distinct roots λ1,,λm\lambda_1, \ldots, \lambda_mwith multiplicities n1,,nmn_1, \ldots, n_m where nk=n\sum n_k = n. Then:

  1. {tjeλkt:1km,0j<nk}\{t^j e^{\lambda_k t} : 1 \leq k \leq m, 0 \leq j < n_k\} forms a set of nn linearly independent solutions
  2. The general solution is:
    x(t)=k=1mj=0nk1Cjktjeλktx(t) = \sum_{k=1}^{m} \sum_{j=0}^{n_k-1} C_{jk} t^j e^{\lambda_k t}
Proof of Theorem 5.1:

Step 1: Show that tjeλktt^j e^{\lambda_k t} are solutions. Since p(λk)=0p(\lambda_k) = 0 with multiplicity nkn_k, we have p(λk)=p(λk)==p(nk1)(λk)=0p(\lambda_k) = p'(\lambda_k) = \cdots = p^{(n_k-1)}(\lambda_k) = 0.

Using the identity L(tjeλt)=jλjL(eλt)λ=λk=jλj(p(λ)eλt)λ=λkL(t^j e^{\lambda t}) = \frac{\partial^j}{\partial \lambda^j}L(e^{\lambda t})|_{\lambda=\lambda_k} = \frac{\partial^j}{\partial \lambda^j}(p(\lambda)e^{\lambda t})|_{\lambda=\lambda_k}:

L(tjeλkt)=l=0j(jl)p(l)(λk)tjleλkt=0 for j<nkL(t^j e^{\lambda_k t}) = \sum_{l=0}^{j} \binom{j}{l} p^{(l)}(\lambda_k) t^{j-l} e^{\lambda_k t} = 0 \text{ for } j < n_k

Step 2: Prove linear independence. Suppose k,jCjktjeλkt0\sum_{k,j} C_{jk} t^j e^{\lambda_k t} \equiv 0. We show C,jk,=0C_,{jk}, = 0 for all j,kj, k.

Multiply by eλmte^{-\lambda_m t} and differentiate repeatedly to eliminate terms, reducing to the case of fewer distinct roots. By induction, all coefficients vanish. ∎

Summary: Root Types and Solutions

Distinct Real Roots λ1,λ2,\lambda_1, \lambda_2, \ldots:

Solutions: eλ1t,eλ2t,e^{\lambda_1 t}, e^{\lambda_2 t}, \ldots

Repeated Real Root λ\lambda of multiplicity kk:

Solutions: eλt,teλt,t2eλt,,tk1eλte^{\lambda t}, te^{\lambda t}, t^2 e^{\lambda t}, \ldots, t^{k-1}e^{\lambda t}

Complex Conjugate Roots α±iβ\alpha \pm i\beta:

Real Solutions: eαtcosβt,eαtsinβte^{\alpha t}\cos\beta t, e^{\alpha t}\sin\beta t

Example 5.1: Solving a Homogeneous Equation

Problem: Find the general solution of x,(5),3x,(4),+4x4x+3xx=0x^,{(5)}, - 3x^,{(4)}, + 4x''' - 4x'' + 3x' - x = 0.

Solution:

The characteristic equation is:

λ53λ4+4λ34λ2+3λ1=0\lambda^5 - 3\lambda^4 + 4\lambda^3 - 4\lambda^2 + 3\lambda - 1 = 0

Factoring: (λ1)3(λ2+1)=0(\lambda - 1)^3(\lambda^2 + 1) = 0

Roots: λ1=1\lambda_1 = 1 (multiplicity 3), λ2=i,λ3=i\lambda_2 = i, \lambda_3 = -i (simple)

From λ1=1\lambda_1 = 1 (triple): et,tet,t2ete^t, te^t, t^2 e^t

From λ=±i\lambda = \pm i: cost,sint\cos t, \sin t

General solution:

x(t)=(C1+C2t+C3t2)et+C4cost+C5sintx(t) = (C_1 + C_2 t + C_3 t^2)e^t + C_4 \cos t + C_5 \sin t

2. Superposition Principle

Theorem 5.2: Superposition Principle

For the linear operator LL and nonhomogeneous equation Lx=f(t)Lx = f(t):

General Solution=Homogeneous Solution+Particular Solution\text{General Solution} = \text{Homogeneous Solution} + \text{Particular Solution}

If xhx_h is the general solution of Lx=0Lx = 0 and xpx_p is any particular solution ofLx=f(t)Lx = f(t), then x=xh+xpx = x_h + x_p is the general solution of the nonhomogeneous equation.

Definition 5.2: Wronskian

For nn functions ϕ1,,ϕn\phi_1, \ldots, \phi_n, the Wronskian is:

W(t)=W(ϕ1,,ϕn)(t)=ϕ1ϕ2ϕnϕ1ϕ2ϕnϕ1(n1)ϕ2(n1)ϕn(n1)W(t) = W(\phi_1, \ldots, \phi_n)(t) = \begin{vmatrix} \phi_1 & \phi_2 & \cdots & \phi_n \\ \phi_1' & \phi_2' & \cdots & \phi_n' \\ \vdots & \vdots & \ddots & \vdots \\ \phi_1^{(n-1)} & \phi_2^{(n-1)} & \cdots & \phi_n^{(n-1)} \end{vmatrix}

If W(t)0W(t) \neq 0 for some tt, the functions are linearly independent.

3. Method of Undetermined Coefficients

For specific forms of f(t)f(t), we can guess the form of a particular solution and determine its coefficients.

Algorithm 5.1: Undetermined Coefficients Method

Input: Lx=f(t)Lx = f(t) where f(t)=Pl(t)e,μtf(t) = P_l(t)e^,{\mu t} (polynomial × exponential)

Output: Particular solution xpx_p

1. Find the characteristic roots of Lx=0Lx = 0

2. If μ\mu is not a characteristic root:

Try xp=Ql(t)e,μtx_p = Q_l(t)e^,{\mu t} where QlQ_l is a polynomial of degree ll

3. If μ\mu is a characteristic root of multiplicity kk:

Try xp=tkQl(t)e,μtx_p = t^k Q_l(t)e^,{\mu t}

4. Substitute into the equation and solve for coefficients

5. return xpx_p

Remark:

For trigonometric forcing f(t)=(Plcosβt+Qmsinβt)eαtf(t) = (P_l \cos\beta t + Q_m \sin\beta t)e^{\alpha t}, try xp=(Cscosβt+Dssinβt)eαtx_p = (C_s \cos\beta t + D_s \sin\beta t)e^{\alpha t} where s=max(l,m)s = \max(l, m). If α+iβ\alpha + i\beta is a characteristic root of multiplicity kk, multiply by tkt^k.

Example 5.2: Undetermined Coefficients

Problem: Solve x+3x+3x+x=e,t,(t+5)+et+sint+1x''' + 3x'' + 3x' + x = e^,{-t},(t + 5) + e^t + \sin t + 1.

Solution:

Characteristic equation: (λ+1)3=0(\lambda + 1)^3 = 0, so λ=1\lambda = -1 (triple root).

Homogeneous solution: xh=(C1+C2t+C3t2)e,tx_h = (C_1 + C_2 t + C_3 t^2)e^,{-t}

For f1=e,t,(t+5)f_1 = e^,{-t},(t + 5): Since 1-1 is a triple root, try x1=t3(at+b)e,tx_1 = t^3(at + b)e^,{-t}.

Substituting: 24bt3+24a=t+524bt^3 + 24a = t + 5 gives a=5/24,b=1/24a = 5/24, b = 1/24.

x1=t324(t+20)etx_1 = \frac{t^3}{24}(t + 20)e^{-t}

For f2=etf_2 = e^t: Try x2=Aetx_2 = Ae^t. Substituting: 8A=18A = 1, so A=1/8A = 1/8.

For f3=sintf_3 = \sin t: Try x3=acost+bsintx_3 = a\cos t + b\sin t. Solving: a=b=1/4a = b = -1/4.

For f4=1f_4 = 1: Try x4=Ax_4 = A. Clearly A=1A = 1.

General solution:

x=(C1+C2t+C3t2)et+t3(t+20)24et+18et14(sint+cost)+1x = (C_1 + C_2 t + C_3 t^2)e^{-t} + \frac{t^3(t+20)}{24}e^{-t} + \frac{1}{8}e^t - \frac{1}{4}(\sin t + \cos t) + 1

4. Variation of Parameters

Theorem 5.3: Variation of Parameters for Second Order

If ϕ1,ϕ2\phi_1, \phi_2 are linearly independent solutions of x+p(t)x+q(t)x=0x'' + p(t)x' + q(t)x = 0, then a particular solution of x+p(t)x+q(t)x=f(t)x'' + p(t)x' + q(t)x = f(t) is:

xp(t)=t0tϕ1(s)ϕ2(t)ϕ1(t)ϕ2(s)W(s)f(s)dsx_p(t) = \int_{t_0}^{t} \frac{\phi_1(s)\phi_2(t) - \phi_1(t)\phi_2(s)}{W(s)} f(s)\,ds

where W(s)=ϕ1(s)ϕ2(s)ϕ1(s)ϕ2(s)W(s) = \phi_1(s)\phi_2'(s) - \phi_1'(s)\phi_2(s) is the Wronskian.

Example 5.3: Variation of Parameters

Problem: Solve x+x=sectx'' + x = \sec t.

Solution:

Homogeneous solutions: ϕ1=cost,ϕ2=sint\phi_1 = \cos t, \phi_2 = \sin t

Wronskian: W=costcost(sint)sint=1W = \cos t \cdot \cos t - (-\sin t) \cdot \sin t = 1

Using the formula:

xp=(cosssintcostsins)secsdsx_p = \int (\cos s \sin t - \cos t \sin s) \sec s\,ds
=sintcosssecsdscostsinssecsds= \sin t \int \cos s \sec s\,ds - \cos t \int \sin s \sec s\,ds
=sinttcost(lncost)= \sin t \cdot t - \cos t \cdot (-\ln|\cos t|)
=tsint+costlncost= t\sin t + \cos t \ln|\cos t|

5. Operator Method

Definition 5.3: Differential Operator

Define the differential operator D=d/dtD = d/dt and the operator polynomial:

P(D)=anDn+an1Dn1++a1D+a0P(D) = a_n D^n + a_{n-1}D^{n-1} + \cdots + a_1 D + a_0

The ODE becomes P(D)x=f(t)P(D)x = f(t), and formally, x=,1P(D),f(t)x = \frac,{1}{P(D)}, f(t).

Theorem 5.4: Operator Properties

1. P(D)e,at,=P(a)e,atP(D)e^,{at}, = P(a)e^,{at}

2. Exponential Shift: P(D)(e,at,u(t))=e,at,P(D+a)u(t)P(D)(e^,{at},u(t)) = e^,{at},P(D+a)u(t)

3. P(D2)sinωt=P(ω2)sinωtP(D^2)\sin\omega t = P(-\omega^2)\sin\omega t and similarly for cosωt\cos\omega t

Algorithm 5.2: Operator Method for Particular Solutions

Case 1: f(t)=e,atf(t) = e^,{at}

If P(a)0P(a) \neq 0: xp=,1P(a),e,atx_p = \frac,{1}{P(a)},e^,{at}

If aa is a root of multiplicity kk: xp=,tkP(k)(a),e,atx_p = \frac,{t^k}{P^{(k)}(a)},e^,{at}

Case 2: f(t)=Pn(t)f(t) = P_n(t) (polynomial)

Expand ,1P(D)\frac,{1}{P(D)} as power series in DD

Case 3: f(t)=e,at,g(t)f(t) = e^,{at},g(t)

Use ,1P(D),e,at,g(t)=e,at,,1P(D+a),g(t)\frac,{1}{P(D)},e^,{at},g(t) = e^,{at},\frac,{1}{P(D+a)},g(t)

Example 5.4: Operator Method

Problem: Find a particular solution of x2x+x=tetx'' - 2x' + x = te^t.

Solution:

The equation is (D1)2x=tet(D-1)^2 x = te^t. Using the exponential shift:

xp=1(D1)2(tet)=et1D2(t)=ettdtdtx_p = \frac{1}{(D-1)^2}(te^t) = e^t \frac{1}{D^2}(t) = e^t \int\int t\,dt\,dt
=ett36= e^t \cdot \frac{t^3}{6}

Practice Quiz

Constant Coefficient Equations Quiz
10
Questions
0
Correct
0%
Accuracy
1
The characteristic equation of x5x+6x=0x'' - 5x' + 6x = 0 is:
Easy
Not attempted
2
If the characteristic equation has roots λ1=2\lambda_1 = 2 and λ2=3\lambda_2 = 3, the general solution is:
Easy
Not attempted
3
If λ=2\lambda = 2 is a double root of the characteristic equation, the general solution is:
Easy
Not attempted
4
For complex roots λ=α±iβ\lambda = \alpha \pm i\beta, the real solutions are:
Medium
Not attempted
5
The Wronskian of e2te^{2t} and e3te^{3t} is:
Medium
Not attempted
6
For x+x=etx'' + x = e^t, a particular solution using undetermined coefficients has the form:
Medium
Not attempted
7
For x4x=e2tx'' - 4x = e^{2t}, the particular solution form is:
Medium
Not attempted
8
In the operator method, DD represents:
Medium
Not attempted
9
The operator identity P(D)(eatu(t))=P(D)(e^{at}u(t)) = ?
Hard
Not attempted
10
For finding a particular solution of x+4x=sin2tx'' + 4x = \sin 2t (resonance case), the correct form is:
Hard
Not attempted

Frequently Asked Questions

How do I handle complex characteristic roots?

For complex conjugate roots α±iβ\alpha \pm i\beta, the complex solutions e,(α±iβ)te^,{(\alpha \pm i\beta)t}give real solutions e,αt,cosβte^,{\alpha t},\cos\beta t and e,αt,sinβte^,{\alpha t},\sin\beta t. For repeated complex roots, multiply by powers of tt as with real roots.

When should I use undetermined coefficients vs. variation of parameters?

Use undetermined coefficients when f(t)f(t) is a polynomial, exponential, sine/cosine, or products thereof. It's faster when applicable. Use variation of parameters for any f(t)f(t)—it always works but may involve difficult integrals.

What is resonance?

Resonance occurs when the forcing frequency matches a natural frequency of the system. Forx+ω2x=Acosωtx'' + \omega^2 x = A\cos\omega t, the characteristic roots are ±iω\pm i\omega, so cosωt\cos\omega t is a homogeneous solution. The particular solution has the formt(Bcosωt+Csinωt)t(B\cos\omega t + C\sin\omega t), growing linearly in time.

How does the operator method simplify calculations?

The operator method treats derivatives algebraically. For example, P(D)e,at,=P(a)e,atP(D)e^,{at}, = P(a)e^,{at}instantly gives particular solutions for exponential forcing. The exponential shiftP(D)(e,at,u)=e,at,P(D+a)uP(D)(e^,{at},u) = e^,{at},P(D+a)u reduces problems to simpler forms.

Why is the Wronskian important?

The Wronskian WW determines linear independence of solutions: if W0W \neq 0 at any point, the solutions are independent. It also appears in variation of parameters formulas and satisfies Abel's identity: W(t)=W(t0)et0tp(s)dsW(t) = W(t_0)e^{-\int_{t_0}^{t} p(s)ds} for the equationx+p(t)x+q(t)x=0x'' + p(t)x' + q(t)x = 0.

Can these methods handle variable coefficient equations?

Characteristic equation and undetermined coefficients are specific to constant coefficients. Variation of parameters works for any linear equation if you know the homogeneous solutions. For variable coefficients, other methods (power series, Frobenius, etc.) are typically needed to find homogeneous solutions first.