How the characteristic equation solves a real constant-coefficient homogeneous equation of second order, with distinct real roots, a repeated root or complex conjugate roots, and how to keep the solutions real-valued.
A mass on a spring with friction and the current in a simple circuit both lead to equations such as y′′+2y′+5y=0, where t is time and y′=dy/dt. Because the coefficients are fixed numbers, an exponential guess turns the differential equation into a quadratic equation. A real quadratic has two distinct real roots, one repeated root or a pair of complex roots, and each case gives its own pair of basic solutions. This lesson works through all three and shows how complex roots still lead to real solutions and real initial-value answers.
Key terms
Constant-coefficient homogeneous equation
Definition A second-order constant-coefficient homogeneous equation is
y′′+ay′+by=0,
where y is an unknown function of t, y′=dy/dt, and a and b are real constants. An equation a2y′′+a1y′+a0y=0 with real constants and a2=0 takes this form after division by a2, with a=a1/a2 and b=a0/a2. Constant coefficients are continuous everywhere, so all of R is a regular interval. Every initial-value problem y(t0)=k0, y′(t0)=k1 therefore has exactly one solution, defined for all real t, and once a fundamental set y1, y2 is known, every solution is C1y1+C2y2. The characteristic equation below finds such a set.
In plain words The coefficients are fixed numbers rather than functions of time, and nothing is left over on the right side. Every solution then lives for all time, and two independent solutions describe them all.
Example The equation 2y′′+4y′+10y=0 becomes y′′+2y′+5y=0 after division by 2, so a=2 and b=5. By contrast, y′′+ty=0 has a coefficient that changes with t, and the method of this lesson does not apply to it. An exponential trial ert there gives (r2+t)ert, which is not zero for all t for any constant r. The equation y′′+2y′+5y=cost is not homogeneous. Its solutions are the homogeneous family found here plus one particular solution, which still has to be found, for example by undetermined coefficients.
Characteristic equation
Definition Write L[y]=y′′+ay′+by. For every constant r, real or complex,
L[ert]=(r2+ar+b)ert.
The polynomial r2+ar+b is the characteristic polynomial, and
r2+ar+b=0
is the characteristic equation. Since ert is never zero, the exponential ert solves L[y]=0 exactly when r is a root. The discriminant
Δ=a2−4b
decides the case. If Δ>0 there are two distinct real roots, if Δ=0 there is one repeated real root, and if Δ<0 there is a pair of complex conjugate roots.
In plain words An exponential keeps its shape under differentiation, and each derivative only multiplies it by r. So the differential equation reduces to a quadratic equation for the rate r.
Example For y′′−y′−2y=0 the characteristic equation r2−r−2=0 factors as (r−2)(r+1)=0, and the discriminant is 1+8=9>0. For y′′+4y′+4y=0 the discriminant is 16−16=0, and for y′′+2y′+5y=0 it is 4−20=−16<0. These three equations illustrate the three cases below.
Distinct real roots
Definition If Δ>0, the characteristic equation has two real roots r1=r2, namely
r1,2=2−a±Δ.
The solutions er1t and er2t form a fundamental set on R, because their Wronskian
W=(r2−r1)e(r1+r2)t
is never zero. Every solution is
y=C1er1t+C2er2t.
In plain words Two different rates give two different exponentials, and together they build every solution. A positive root contributes a growing term and a negative root a decaying one, and the initial data decide how much of each is present.
Example For y′′−y′−2y=0 the roots are 2 and −1, so every solution is y=C1e2t+C2e−t, and the Wronskian is −3et. The data y(0)=1 and y′(0)=−1 give C1+C2=1 and 2C1−C2=−1, so C1=0, C2=1 and y=e−t, which decays to 0. The data y(0)=1 and y′(0)=0 give 3C1=1 instead, and
y=31e2t+32e−t,
which grows without bound as t→∞ because its coefficient of e2t is not zero.
Repeated root
Definition If Δ=0, the only root is r0=−a/2. The characteristic polynomial is then (r−r0)2, so a=−2r0 and b=r02. The exponential er0t gives only one solution, and a second one is ter0t. Its derivatives are
Substituting them into the equation with a=−2r0 and b=r02, the constant terms give 2r0−2r0=0 and the terms with t give r02−2r02+r02=0. The Wronskian W(er0t,ter0t)=e2r0t is never zero, so every solution is
y=(C1+C2t)er0t.
In plain words When the two rates merge into one, the exponential alone supplies only one solution. Multiplying it by t gives the missing second one. For a negative root the factor t changes the early shape of the curve, but the exponential still drives every solution to zero as t→∞.
Example For y′′+4y′+4y=0 the characteristic polynomial is (r+2)2, so r0=−2 and y=(C1+C2t)e−2t. Writing e−2t twice would not be enough. The pair e−2t, e−2t has Wronskian 0, and its combinations Ce−2t only reach data with y′(0)=−2y(0). For the data y(0)=2 and y′(0)=−1, the derivative y′=(C2−2C1−2C2t)e−2t gives C1=2 and C2−2C1=−1, so C2=3 and
y=(2+3t)e−2t.
Complex conjugate roots
Definition If Δ<0, the roots are r=α±iβ with
α=−2a,β=24b−a2>0.
They are complex conjugates of each other because a and b are real. By Euler’s formula the complex solution e(α+iβ)t equals eαt(cosβt+isinβt), and its real and imaginary parts
y1=eαtcosβt,y2=eαtsinβt
are real solutions with Wronskian βe2αt=0. Every real solution is therefore
y=C1eαtcosβt+C2eαtsinβt
with real constants C1 and C2, which is often written y=eαt(C1cosβt+C2sinβt).
In plain words Complex roots mean oscillation. The number β is the angular frequency of the swings, and the real part α sets the envelope eαt. The swings die out when α<0, keep a constant size when α=0 and grow when α>0.
Example For y′′−2y′+10y=0 the roots of r2−2r+10=0 are 1±3i, so every real solution is et(C1cos3t+C2sin3t). It oscillates with angular frequency 3 inside a growing envelope. For y′′+9y=0 the roots are ±3i, so α=0 and the solutions C1cos3t+C2sin3t keep a constant amplitude.
Real-valued solutions
Definition Let a and b be real, and let z=u+iv, with u and v real-valued, be a complex-valued solution of L[y]=y′′+ay′+by=0. Then u and v are real solutions, because
0=L[z]=L[u]+iL[v]
and both L[u] and L[v] are real-valued, so both are zero. With complex roots the complex solutions are c1e(α+iβ)t+c2e(α−iβ)t with complex constants c1 and c2, and such a combination is real-valued exactly when c2=c1. Choosing c1=(C1−iC2)/2 and c2=c1 with real C1 and C2 gives the real form eαt(C1cosβt+C2sinβt), and real initial data always lead to real C1 and C2. When R=C12+C22>0, the same solution can be written
y=Reαtcos(βt−φ),
where the phase φ satisfies Rcosφ=C1 and Rsinφ=C2.
In plain words Complex numbers are a tool for finding the solutions, not part of the final answer. The real and imaginary parts of one complex solution already give two real solutions, and real starting values select a real curve.
Example Solve y′′+2y′+5y=0 with y(0)=3 and y′(0)=1. The roots of r2+2r+5=0 are −1±2i, so every real solution has the form y=e−t(C1cos2t+C2sin2t). The height gives C1=3. The product rule applied to the whole product gives
y′=e−t(2C2−C1)cos2t−e−t(2C1+C2)sin2t,
so y′(0)=2C2−C1=1 and C2=2. The solution is
y=e−t(3cos2t+2sin2t),
an oscillation with angular frequency 2 whose amplitude 13e−t decays. Dropping the derivative of e−t would give 2C2=1 and the wrong coefficient C2=21.
Check yourself
Solve y′′+y′−6y=0 with y(0)=0 and y′(0)=5.
Show the answer
The characteristic equation r2+r−6=0 factors as (r−2)(r+3)=0, so y=C1e2t+C2e−3t. The data give C1+C2=0 and 2C1−3C2=5. Substituting C2=−C1 gives 5C1=5, so C1=1, C2=−1 and
y=e2t−e−3t.
For y′′−6y′+9y=0 a classmate writes y=C1e3t+C2e3t and tries to meet y(0)=1 and y′(0)=2. Explain what goes wrong and find the correct solution.
Show the answer
The characteristic polynomial is (r−3)2, so 3 is a repeated root. The classmate’s family is only Ce3t with C=C1+C2, and every member has y′(0)=3y(0). With y(0)=1 that forces y′(0)=3 rather than 2, so no member fits. The correct family is y=(C1+C2t)e3t, with y(0)=C1 and y′(0)=3C1+C2. So C1=1, C2=−1 and
y=(1−t)e3t.
Its derivative y′=(2−3t)e3t gives y′(0)=2 as required.
Solve y′′+4y′+13y=0 with y(0)=1 and y′(0)=0, and describe the behavior of the solution as t→∞.
Show the answer
The roots of r2+4r+13=0 are −2±3i, so y=e−2t(C1cos3t+C2sin3t). The height gives C1=1. By the product rule y′(0)=−2C1+3C2, so −2+3C2=0 and C2=32. The solution is
y=e−2t(cos3t+32sin3t).
It oscillates with angular frequency 3 inside the envelope ±313e−2t, so it tends to 0. Forgetting the derivative of e−2t would give 3C2=0 and the wrong answer C2=0.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details