Complex roots are no match for a systematic approach to solving second-order differential equations and higher-order DEs.
While these roots may appear challenging at first, with the right method and understanding, you’ll find that the process and solutions is fairly straight forward.
I promise!
So, let’s quickly review what we learned in our previous lesson involving the characteristic equation and real and distinct roots.
When solving a homogeneous linear higher order differential equation of the form
\begin{equation}
a_n y^{(n)}+a_{n-1} y^{(n-1)}+\cdots+a_2 y^{\prime \prime}+a_1 y^{\prime}+a_0 y=0
\end{equation}
we first create a characteristic equation, using the principle of supperposition, for which we will then solve for roots.
\begin{align*}
a_{n} r^{n}+a_{n-1} r^{(n-1)}+\cdots+a_{2} r^{2}+a_{1} r+a_{0}=0
\end{align*}
Our focus with this lesson is to learn how to find the general and particular solution to a second order homogeneouls linear differential equation that has imaginary or complex roots.
Steps for Solving Homogeneous Linear Differential Equations with Constant Coefficients
First, let’s look over the steps for solving and creating the general solution to a second order or higher order homogeneous differential equations with constant coefficients.
- Write the characteristic equation
- Solve the polynomial equation for factors by using factoring or quadratic formula.
- Substitute each root into the general form
Distinct Real Roots:
\begin{equation}
y=c_1 e^{r_1 t}+c_2 e^{r_2 t}+\cdots+c_n e^{r_n t}
\end{equation}
Complex Roots:
\begin{equation}
y=c_1 e^{\alpha t} \cos (\beta t)+c_2 e^{\alpha t} \sin (\beta t), \text { where } r=\alpha \pm \beta i
\end{equation}
Example: Finding the General Solution with Complex Roots
Okay, so let’s look at an example to help us make sense of our method.
Find the general solution of \(y^{\prime \prime}-2 y^{\prime}+2 y=0\).
First, we will transform our DE into the characteristic equation
\begin{equation}
\begin{aligned}
& a_2 r^2+a_1 r+a_0=0 \\
& y^{\prime \prime}-2 y^{\prime}+2 y=0 \\
& r^2-2 r+2=0
\end{aligned}
\end{equation}
Next, we will solve the quadratic polynomial for our roots using the quadratic formula \(r^{2}-2 r+2=0\).
\begin{equation}
r=\frac{-(-2) \pm \sqrt{(-2)^2-4(1)(2)}}{2(1)}
\end{equation}
\begin{equation}
=\frac{2 \pm \sqrt{-4}}{2}
\end{equation}
\begin{equation}
=\frac{2 \pm 2 i}{2}
\end{equation}
\begin{equation}
=1 \pm i
\end{equation}
Now we notice that our roots are complex; therefore we will need to identify the real component and the imaginary component in order to write our general solution
\begin{equation}
\begin{aligned}
& r=\underbrace{\alpha}_{\text {real }} \pm \underbrace{\beta i}_{\text {imaginary }} \\
& r=\underbrace{1}_{\alpha=1} \pm \underbrace{1 i}_{\beta=1}
\end{aligned}
\end{equation}
So, let’s plug into the general solution formula for complex roots.
\begin{equation}
\begin{aligned}
& y=c_1 e^{\alpha t} \cos (\beta t)+c_2 e^{\alpha t} \sin (\beta t) \\
& y=c_1 e^{1 t} \cos (1 t)+c_2 e^{1 t} \sin (1 t) \\
& y=e^t\left(c_1 \cos t+c_2 \sin t\right)
\end{aligned}
\end{equation}
See! Nothing to it!
Combining General Solutions for Distinct Real Roots and Complex Roots
But what do we do if we have both distinct, real roots and complex roots?
So glad you asked!
Well, all we have to do is combine our general solutions for both distinct real roots and complex roots, as the next example nicely demonstrates.
Find the general solution of the higher order differential equation \(y^{\prime \prime \prime}+4 y^{\prime}=0\)
First, we will transform our DE into the characteristic equation
\begin{equation}
\begin{aligned}
& y^{\prime \prime \prime}+4 y^{\prime}=0 \\
& r^3+4 r=0
\end{aligned}
\end{equation}
Next, we will solve the quadratic polynomial for our roots by factoring
\begin{equation}
\begin{aligned}
& r^3+4 r=0 \\
& r\left(r^2+4\right)=0 \\
& r=0, \quad r= \pm 2 i
\end{aligned}
\end{equation}
So, we have one real root, and two imaginary roots. Which mean we need to rewrite our imaginary roots as complex numbers knowing that we need to identify both the real and imaginary components
\begin{align*}
\begin{aligned}
& r=\underbrace{\alpha}_{\text {real }} \pm \underbrace{\beta i}_{\text {imaginary }} \\
& r= \pm 2 i \Rightarrow r=\underbrace{0}_{\alpha=0} \pm \underbrace{2 i}_{\beta=2}
\end{aligned}
\end{align*}
Now all that is left to do is combine our general solutions formula for both real and complex roots knowing that
\begin{equation}
y=c_1 e^{r_1 t}+c_2 e^{r_2 t}+\cdots+c_n e^{r_n t}
\end{equation}
for distinct real roots and
\begin{equation}
y=c_1 e^{\alpha t} \cos (\beta t)+c_2 e^{\alpha t} \sin (\beta t)
\end{equation}
for complex roots for our three roots.
If we have one real root, \(r_{1}=0\), and two complex roots, \(r_{2}=2 i\), and \(r_{3}=-2 i\), then
\begin{equation}
y=\underbrace{c_1 e^{r_1 t}}_{\text {distinct }}+\underbrace{c_2 e^{\alpha t} \cos (\beta t)+c_3 e^{\alpha t} \sin (\beta t)}_{\text {complex }}
\end{equation}
\begin{equation}
y=\underbrace{c_1 e^{0 t}}_{\text {distinct }}+\underbrace{c_2 e^{0 t} \cos (2 t)+c_3 e^{0 t} \sin (2 t)}_{\text {complex }}
\end{equation}
\begin{equation}
y=c_1 e^{0 t}+c_2 e^{0 t} \cos (2 t)+c_3 e^{0 t} \sin (2 t)
\end{equation}
\begin{equation}
y=c_1+c_2 \cos (2 t)+c_3 \sin (2 t)
\end{equation}
Fantastic, right?
Transient Terms and Steady-State Terms
Not only are we going to learn how to solve higher order differential equations with complex roots, but we will also discuss the notion of Transient Terms and Steady-State Terms for our general solutions.
In other words, we are going to analyze the end behavior of our solution and discover that it is possible to have a term(s) that become negligible over time.
Next Steps
You’ll…
- Deepen your understanding of second order differential equations by learning the techniques and concepts related to complex roots, which will enhance your problem-solving skills.
- Gain confidence in solving second order homogeneous differential equations with constant coefficients by mastering the characteristic equation method.
- Discover how to tackle second order differential equations with non-constant coefficients by learning the reduction of order technique, a valuable skill for advanced problems.
Let’s get to it!
Video Tutorial w/ Full Lesson & Detailed Examples
Get access to all the courses and over 450 HD videos with your subscription
Monthly and Yearly Plans Available
Still wondering if CalcWorkshop is right for you?
Take a Tour and find out how a membership can take the struggle out of learning math.