logo

Second-Order Linear Homogeneous Differential Equations with Constant Coefficients and Characteristic Equation 📂Odinary Differential Equations

Second-Order Linear Homogeneous Differential Equations with Constant Coefficients and Characteristic Equation

Theorem1

The general solution of a second-order linear homogeneous differential equation with constant coefficients ay+by+cy=0a y^{\prime \prime} + by^\prime +cy=0 is as follows.

y(x)=Aer1x+Ber2x y(x)=A e^{r_{1} x}+Be^{r_2 x}

At this time, r1,2=b±b24ac2ar_{1,2}=\dfrac{-b \pm \sqrt{b^2-4ac}} {2a}

Corollary

The solution of ay+cy=0a y^{\prime \prime} + cy = 0 is as follows.

y(x)=Aeicax+Beicax=Ccos(cax)+Dsin(cax) y(x) = A e^{i\sqrt{\frac{c}{a}} x}+Be^{-i\sqrt{\frac{c}{a}} x} = C\cos{\textstyle (\sqrt{\frac{c}{a}}x)} + D\sin{\textstyle (\sqrt{\frac{c}{a}}x)}

Solution

ad2dx2y+bddxy+cy=0 \begin{equation} a\dfrac{d^2}{dx^2}y+b\dfrac{d}{dx}y+cy = 0 \label{eq1} \end{equation}

First, let’s define the differential operator DD as follows.

D:=ddxDf=D(f)=dfdx D:=\dfrac{d}{dx} \\ Df = D(f) = \dfrac{df}{dx}

Then, since DD satisfies D(ay1+y2)=ady1dx+dy2dx=aDy1+Dy2D(ay_{1}+y_{2}) = a\dfrac{dy_{1}}{dx} + \dfrac{dy_{2}}{dx} = aDy_{1}+Dy_{2}, it is a linear operator. Using DD to express Equation (eq1)\eqref{eq1} gives the following.

aD2y+bDy+cy=0    (aD2+bD+c)y=0 \begin{align} &&aD^2y+bDy+cy&=0 \\ \implies&& (aD^2+bD+c)y&=0 \end{align}

If there is a constant rr that satisfies Dy=ryDy=ry, then we obtain the following equation from the above equation.

(aD2+bD+c)y=(ar2+br+c)y=0 (aD^2+bD+c) y = (ar^2+br+c) y = 0

Since we are looking for solutions that satisfy y0y \ne 0, we obtain the following condition

aD2+bD+c=ar2+br+c=0 aD^{2} + bD + c = ar^{2}+br+c = 0

This quadratic equation is called the characteristic equation.

r1=b+b24ac2ar2=bb24ac2a \begin{align*} r_{1} &= \dfrac{-b + \sqrt{b^2-4ac}} {2a} \\ r_2 &=\dfrac{-b - \sqrt{b^2-4ac}} {2a} \end{align*}

Let’s say r1,r2r_{1}, r_{2} are two different real numbers. Then, from the above equations, we obtain the following.

(aD2+bD+c)y=0     a(Dr1)(Dr2)y=0 (aD^2 + bD+c)y=0 \implies \ a(D-r_{1})(D-r_2)y=0

  • Case 1. (Dr1)y=0(D-r_{1})y=0

    If dydx=r1y\dfrac{dy}{dx}=r_{1}y and we find yy through the method of separation of variables, then

    y1(x)=Aer1t y_{1}(x)=Ae^{r_{1}t}

  • Case 2. (Dr2)y=0(D-r_2)y=0

    Similarly, if we find yy, then

    y2(x)=Ber2t y_{2}(x)=Be^{r_2t}

If y1y_{1} and y2y_{2} are solutions to the given differential equation, then y1+y2y_{1}+y_{2} is also a solution, so the general solution of the given differential equation is

y(x)=y1+y2=Aer1t+Ber2t y(x)=y_{1}+y_{2}=Ae^{r_{1}t} + Be^{r_2t}


  1. William E. Boyce, Boyce’s Elementary Differential Equations and Boundary Value Problems (11th Edition, 2017), p103-109 ↩︎