Mathematics · Glossary

What is differential equation second-order linear?

Also known as: characteristic polynomial

Definition 5.9 University Mathematics — Year 1 · Chapter 5 — Linear Differential Equations

Let a,bRa, b \in \R and f ⁣:IRf \colon I \to \R continuous. The equation

(E) ⁣:y+ay+by=f(x)(E)\colon\quad y'' + a\,y' + b\,y = f(x)

is a second-order linear equation with constant coefficients; (H) ⁣:y+ay+by=0(H)\colon y'' + ay' + by = 0 is its homogeneous equation, and χ(r)=r2+ar+b\chi(r) = r^2 + ar + b its characteristic polynomial.

Examples

Example 5.11 (A Cauchy problem, start to finish)

Solve y3y+2y=0y'' - 3y' + 2y = 0 with y(0)=0y(0) = 0, y(0)=1y'(0) = 1. The characteristic polynomial r23r+2=(r1)(r2)r^2 - 3r + 2 = (r - 1)(r - 2) has the real roots 11 and 22: general solution y=λex+μe2xy = \lambda\eu^{x} + \mu\eu^{2x}. The two conditions give the linear system

λ+μ=0,λ+2μ=1,\lambda + \mu = 0, \qquad \lambda + 2\mu = 1 ,

so μ=1\mu = 1, λ=1\lambda = -1:

y(x)=e2xex.y(x) = \eu^{2x} - \eu^{x} .

Check: y(0)=0y(0) = 0; y=2e2xexy' = 2\eu^{2x} - \eu^x has y(0)=1y'(0) = 1; and y3y+2y=(46+2)e2x+(1+32)ex=0y'' - 3y' + 2y = (4 - 6 + 2)\eu^{2x} + (-1 + 3 - 2)\eu^x = 0. Note the shape of the answer: near -\infty the slow mode ex-\eu^x dominates; near ++\infty the fast mode e2x\eu^{2x} does. Reading solutions as superpositions of modes with different decay or growth rates is the profitable habit — it is how the transient/steady-state split of the weekend problem is organized.

Example 5.14 (Superposition in action)

Solve yy=ex+4y'' - y = \eu^{x} + 4 on R\R. Homogeneous: χ(r)=r21\chi(r) = r^2 - 1, roots ±1\pm1, so yh=λex+μexy_h = \lambda\eu^x + \mu\eu^{-x}. Split the right-hand side and treat each piece by the method box. Piece ex\eu^x: here γ=1\gamma = 1 is a simple root of χ\chi, so try y1=cxexy_1 = c\,x\,\eu^x: then y1y1=c(x+2)excxex=2cexy_1'' - y_1 = c(x + 2)\eu^x - cx\eu^x = 2c\,\eu^x, giving c=12c = \frac12. Piece 44: γ=0\gamma = 0 is not a root; the constant y2=4y_2 = -4 works. By superposition (Theorem 5.12 (2)):

y=xex24+λex+μex,(λ,μ)R2.y = \frac{x\,\eu^x}2 - 4 + \lambda\,\eu^x + \mu\,\eu^{-x}, \qquad (\lambda, \mu) \in \R^2 .

Note how the two pieces demanded different shapes (m=1m = 1 versus m=0m = 0): the multiplicity test is applied to each exponent separately, which is the whole point of splitting the right-hand side before guessing.

Example 5.15 (The multiplicity rule at work)

Solve y+y=xy'' + y' = x on R\R. The right-hand side is P(x)e0xP(x)\eu^{0 \cdot x} with P(x)=xP(x) = x, and γ=0\gamma = 0 is a simple root of χ(r)=r2+r=r(r+1)\chi(r) = r^2 + r = r(r + 1): so m=1m = 1, and the correct guess is yp=x(αx+β)=αx2+βxy_p = x\,(\alpha x + \beta) = \alpha x^2 + \beta x, one degree higher than PP. Substituting:

yp+yp=2α+(2αx+β)=2αx+(2α+β),y_p'' + y_p' = 2\alpha + (2\alpha x + \beta) = 2\alpha x + (2\alpha + \beta) ,

and identification with xx gives α=12\alpha = \frac12, β=1\beta = -1: yp=x22xy_p = \frac{x^2}2 - x. General solution: y=x22x+λ+μexy = \frac{x^2}2 - x + \lambda + \mu\,\eu^{-x}. Had we guessed yp=αx+βy_p = \alpha x + \beta (ignoring the multiplicity), substitution would give yp+yp=αy_p'' + y_p' = \alpha, a constant — no choice of α,β\alpha, \beta can match xx, and the failure is structural: constants already solve the homogeneous equation, so they are invisible to the left-hand side. The factor xmx^m exists precisely to climb out of the homogeneous solution space.

Read in context →