Skip to content

Constant coefficients: distinct real roots

Solve ay'' + by' + cy = 0 by trying y = ert, find the general solution when the characteristic equation has two distinct real roots, and fit it to y(0) and y'(0).

It opens on

In y'' = y' + 2y, is there a function whose derivatives are all multiples of itself, so that the equation reduces to a number problem?

Why it matters

Springs, circuits and cooling systems with two stored quantities all obey this equation, and the two roots say at once whether the motion dies out or blows up.

Good to know first

  • Linear second-order equations and the Wronskian: c₁y₁ + c₂y₂ is the general solution when y₁ and y₂ have nonzero Wronskian
  • derivative of ert is rert

Step by step

  1. Try ert and get the characteristic equation

    Substitute y = ert into y'' − y' − 2y = 0 and solve the characteristic equation for its two roots.

    Substituting into y'' − y' − 2y = 0 gives r²ert − rert − 2ert = 0.

    A common mix-up

    The trial function ert only works for first-order equations.

    In fact: It works for any constant-coefficient linear equation, because each derivative just multiplies by r.

  2. Two solutions make the general solution

    Show that er₁t and er₂t form a fundamental set and write c₁er₁t + c₂er₂t.

    The Wronskian of y₁ = e2t and y₂ = e−t is e2t(−e−t) − 2e2te−t = −3et.

    A common mix-up

    Each root gives a separate answer, so the problem has two solutions and we pick one.

    In fact: The roots give two building blocks; the one solution that fits y(0) and y'(0) uses both.

  3. Both roots negative: read the long run

    Predict from the signs of the roots how solutions behave as t grows, and see that a solution can cross zero at most once.

    For y'' + 4y' + 3y = 0 the characteristic equation r² + 4r + 3 = 0 gives (r + 1)(r + 3) = 0, so r₁ = −1 and r₂ = −3.

    A common mix-up

    A solution of a second-order equation can oscillate through zero many times for real roots.

    In fact: With two real roots a nonzero solution crosses zero at most once, since c₁er₁t + c₂er₂t = 0 has at most one solution.

Try it

Find the roots of the characteristic equation of y'' − 5y' + 6y = 0.Answer

r = 2 and r = 3

Hint: r² − 5r + 6 = (r − 2)(r − 3)

Solve y'' − 5y' + 6y = 0 with y(0) = 1, y'(0) = 0.Answer

y = 3e2t − 2e3t

Hint: c₁ + c₂ = 1 and 2c₁ + 3c₂ = 0

Does every solution of y'' + y' − 6y = 0 tend to 0? Give the roots.Answer

No; the roots are 2 and −3, so a solution with c₁ ≠ 0 grows like e2t

Hint: r² + r − 6 = (r + 3)(r − 2)

A function whose derivatives are all multiples of itself would turn y'' − y' − 2y = 0 into an algebra problem; which function family has that property?Answer

Exponentials ert.

Why is the sum of two solutions again a solution?Answer

The equation is linear and homogeneous, so superposition holds.

Constant coefficients: distinct real roots

30 minutes every month. No card.