# Higher Order O.D.E.’s Complex Roots of The Characteristic Equation Examples 1

Consider the following $n^{\mathrm{th}}$ order linear homogenous differential equation:

(1)

Recall from the Higher Order Homogenous Differential Equations – Complex Roots of The Characteristic Equation page that sometimes the characteristic equation $a_0r^n + a_1r^{n-1} + … + a_{n-1}r + a_{n-1}r + a_n = 0$ does not solely have distinct real roots. Instead, there many be some roots of the characteristic equation that are complex.

We note that we can only have an even number of complex roots (since complex roots come in conjugate pairs). Recall that for each pair of complex roots we have that they can be written in the form $\lambda + \mu i$ where $\lambda, \mu \in \mathbb{R}$. If these complex roots are distinct, then we will have that $e^{\lambda} (\cos (\mu t) + \sin (\mu t))$ will be a part of our general solution.

We will now look at some examples of higher order linear homogenous differential equations of this form.

## Example 1

**Find the general solution to the differential equation $\frac{d^3y}{dt^3} + 2 \frac{d^2y}{dt^2} + x +2$.**

The characteristic equation for this differential equation is $r^3 + 2r^2 + r + 2 = 0$. By trial and error, we can immediately see that $r_1 = -2$ is a solution to this differential equation, and by applying long division we have that:

(2)

Note that the factor $r^2 + 1$ is irreducible as factors of real numbers. If we apply the quadratic formula, we’ll see that this factor has two complex roots, namely $r_2 = i$ and $r_3 = -i$. For this pair of complex roots we have that $\lambda = 0$ and $\mu = 1$, and so the general solution to our differential equation is:

(3)

## Example 2

**Find the general solution of the differential equation $\frac{d^3y}{dt^3} + 5 \frac{d^2y}{dt^2} + 17 \frac{dy}{dt} +13 = 0$.**

The characteristic equation for this differential equation is $r^3 + 5r^2 + 17r + 13 = 0$. By trial and error we see that $r_1 = -1$ is a root to the characteristic equation, and upon factoring this root out by long division we get that:

(4)

We will now use the quadratic formula on the term $r^2 +4r + 13$:

(5)

Therefore we have that $r_2 = -2 + 3i$ and $r_3 = -2 – 3i$ are both roots to our characteristic equation. So $\lambda = -2$ and $\mu = 3$. Thus we have that the general solution to our differential equation is

(6)