Homogeneous Equations with Constant Coefficients



A homogeneous linear differential equation with constant coefficients has the form:

andnydxn+an1dn1ydxn1++a1dydx+a0y=0a_n \frac{d^n y}{dx^n} + a_{n-1} \frac{d^{n-1} y}{dx^{n-1}} + \cdots + a_1 \frac{dy}{dx} + a_0 y = 0

where a0,a1,,ana_0, a_1, \ldots, a_n are constants and is the unknown function of xx. The general solution to such equations can be derived by solving the associated characteristic equation.

Step 1: Formulate the Characteristic Equation

For simplicity, consider a second-order homogeneous equation with constant coefficients:

ad2ydx2+bdydx+cy=0a \frac{d^2 y}{dx^2} + b \frac{dy}{dx} + c y = 0

To solve this, we assume a solution of the form y=emxy = e^{mx}, where mm is a constant to be determined.

  1. Substitute y=emx, dydx=memx\frac{dy}{dx} = m e^{mx}, and d2ydx2=m2emx\frac{d^2 y}{dx^2} = m^2 e^{mx}  into the equation:

    am2emx+bmemx+cemx=0a m^2 e^{mx} + b m e^{mx} + c e^{mx} = 0 
  2. Factor out emxe^{mx} (since emx0):

    (am2+bm+c)emx=0(a m^2 + b m + c) e^{mx} = 0
  3. This results in the characteristic equation:

    am2+bm+c=0a m^2 + b m + c = 0

Step 2: Solve the Characteristic Equation

The characteristic equation am2+bm+c=0a m^2 + b m + c = 0 is a quadratic equation in mm, which can be solved using the quadratic formula:

m=b±b24ac2am = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

The nature of the roots m1m_1 and m2m_2 of this equation determines the form of the general solution.


Case 1: Distinct Real Roots

If b24ac>0b^2 - 4ac > 0, the roots m1m_1 and m2m_2 are real and distinct. In this case, the general solution of the differential equation is:

y=C1em1x+C2em2xy = C_1 e^{m_1 x} + C_2 e^{m_2 x}

where C1C_1 and C2C_2 are constants determined by initial conditions.


Case 2: Repeated Real Roots

If b24ac=0b^2 - 4ac = 0, the characteristic equation has a repeated root m=b2am = -\frac{b}{2a}. The general solution for this case is:

y=(C1+C2x)emxy = (C_1 + C_2 x) e^{mx}

Here, C1C_1 and C2C_2 are constants. The term xemxx e^{mx} arises because the root is repeated, which means that emxe^{mx} alone would not be sufficient to provide a general solution.


Case 3: Complex Roots

If b24ac<0b^2 - 4ac < 0, the roots are complex, and we can write them as m=α±iβ, where Î±=b2a\alpha = -\frac{b}{2a} and β=4acb22a\beta = \frac{\sqrt{4ac - b^2}}{2a}.

In this case, the general solution is given by:

y=eαx(C1cos(βx)+C2sin(βx))y = e^{\alpha x} (C_1 \cos(\beta x) + C_2 \sin(\beta x))

This form comes from Euler’s formula, eiβx=cos(βx)+isin(βx) , and ensures that the solution remains real-valued.


Examples

Example 1: Solve y3y+2y=0y'' - 3y' + 2y = 0

  1. Form the characteristic equation:

    m23m+2=0m^2 - 3m + 2 = 0
  2. Solve for mm:

    m=3±982=3±12m = \frac{3 \pm \sqrt{9 - 8}}{2} = \frac{3 \pm 1}{2} m1=2,m2=1m_1 = 2, \quad m_2 = 1
  3. The general solution is:

    y=C1e2x+C2exy = C_1 e^{2x} + C_2 e^{x}

Example 2: Solve y+4y+4y=0

  1. Form the characteristic equation:

    m2+4m+4=0m^2 + 4m + 4 = 0
  2. Solve for mm:

    m=4±16162=2m = \frac{-4 \pm \sqrt{16 - 16}}{2} = -2

    Here, we have a repeated root m=2m = -2

  3. The general solution is:

    y=(C1+C2x)e2xy = (C_1 + C_2 x) e^{-2x}

Example 3: Solve y+y=0y'' + y = 0

  1. Form the characteristic equation:

    m2+1=0m^2 + 1 = 0
  2. Solve for mm:

    m=±im = \pm i

    This results in complex roots m=0±im = 0 \pm i, so α=0\alpha = 0 and β=1.

  3. The general solution is:

    y=C1cosx+C2sinxy = C_1 \cos x + C_2 \sin x

Summary of Solution Types

  • Distinct Real Roots m1 and m2m_2: y=C1em1x+C2em2x
  • Repeated Real Root m: y=(C1+C2x)emx
  • Complex Roots α±iβ\alpha \pm i \beta: y=eαx(C1cos(βx)+C2sin(βx))

This approach provides a structured method to solve second-order homogeneous differential equations with constant coefficients, applicable to higher-order equations by extending the characteristic polynomial method.