5. Second-Order Linear Equations

Repeated And Complex Roots

Repeated and Complex Roots

Second-order linear differential equations are a major tool for modeling motion, circuits, vibrations, and growth or decay in real life. In this lesson, students, you will learn what happens when the characteristic equation has repeated roots or complex roots, and why those cases produce special solution forms ๐Ÿ”Ž

By the end of this lesson, you should be able to:

  • explain what repeated roots and complex roots mean in the context of second-order linear equations,
  • find the correct general solution when the characteristic equation has repeated or complex roots,
  • connect these cases to the broader structure of second-order linear equations,
  • use examples to justify why the solution formulas work.

Review of second-order linear equations

A second-order linear homogeneous differential equation with constant coefficients has the form

$$ay''+by'+cy=0,$$

where $a$, $b$, and $c$ are constants and $a\neq 0$.

To solve it, we usually try a solution of the form

$$y=e^{rx}.$$

Substituting this into the differential equation gives the characteristic equation

$$ar^2+br+c=0.$$

The roots of this quadratic determine the shape of the solution. There are three important cases:

  • two different real roots,
  • one repeated real root,
  • two complex conjugate roots.

This lesson focuses on the last two cases. These cases matter because they often appear in systems that either return to equilibrium slowly or oscillate, like springs, mass-spring systems, and electrical circuits โš™๏ธ

Repeated roots: when the same root appears twice

A repeated root happens when the characteristic equation has one real solution counted twice. For example, if

$$r^2-6r+9=0,$$

then factoring gives

$$(r-3)^2=0,$$

so the repeated root is $r=3$.

If we only used $y=e^{3x}$ once, we would not get enough independent solutions for a second-order equation. A second-order equation needs two linearly independent solutions to build the general solution. That is why repeated roots require a second solution of a different form.

For a repeated root $r$, the general solution is

$$y=(c_1+c_2x)e^{rx}.$$

This means the two independent solutions are

$$y_1=e^{rx}$$

and

$$y_2=xe^{rx}.$$

Why does the extra $x$ appear?

The factor $x$ is needed so the second solution is not just a multiple of the first one. If we used two copies of $e^{rx}$, they would not be linearly independent. The function $xe^{rx}$ grows in a different way, so it gives the missing second solution.

You can think of it like this: one solution gives the basic pattern, and the $x$ factor creates a new pattern that still fits the equation ๐ŸŽฏ

Example with a repeated root

Solve

$$y''-4y'+4y=0.$$

The characteristic equation is

$$r^2-4r+4=0,$$

which factors as

$$(r-2)^2=0.$$

So $r=2$ is a repeated root. The general solution is

$$y=(c_1+c_2x)e^{2x}.$$

To check the structure, notice that both $e^{2x}$ and $xe^{2x}$ solve the equation, and together they form the full family of solutions.

Real-world meaning of repeated roots

Repeated roots often show up in critically damped systems. In a mechanical system, critical damping means the object returns to equilibrium as quickly as possible without oscillating. The solution contains exponential behavior multiplied by a polynomial factor like $x$, which changes how the motion starts and how it settles.

For example, in a spring system, the position might move toward rest without overshooting. That is very different from oscillation, because the repeated-root case produces no sine or cosine terms.

Complex roots: when the characteristic equation gives nonreal numbers

Now consider a characteristic equation with no real roots. This happens when the discriminant

$$b^2-4ac$$

is negative. Then the roots are complex conjugates:

$$r=\alpha\pm \beta i,$$

where $\alpha$ and $\beta$ are real numbers and $i^2=-1$.

For second-order linear equations with real coefficients, complex roots always come in conjugate pairs. That means if one root is $\alpha+\beta i$, the other is $\alpha-\beta i$.

The general solution in this case is

$$y=e^{\alpha x}(c_1\cos(\beta x)+c_2\sin(\beta x)).$$

This is one of the most important formulas in the course, so students should remember it carefully โœจ

Why do sine and cosine appear?

Complex exponentials are connected to trigonometric functions through Eulerโ€™s formula:

$$e^{i\theta}=\cos\theta+i\sin\theta.$$

If the roots are $\alpha\pm \beta i$, then solutions begin with

$$e^{(\alpha+\beta i)x}$$

and

$$e^{(\alpha-\beta i)x}.$$

These combine into real-valued solutions involving $\cos(\beta x)$ and $\sin(\beta x)$. That is why oscillations appear in problems with complex roots.

The factor $e^{\alpha x}$ controls growth or decay, while $\cos(\beta x)$ and $\sin(\beta x)$ control oscillation.

Example with complex roots

Solve

$$y''+4y'+13y=0.$$

The characteristic equation is

$$r^2+4r+13=0.$$

Using the quadratic formula,

$$r=\frac{-4\pm\sqrt{4^2-4(1)(13)}}{2}$$

$$r=\frac{-4\pm\sqrt{-36}}{2}$$

$$r=-2\pm 3i.$$

So $\alpha=-2$ and $\beta=3$. The solution is

$$y=e^{-2x}(c_1\cos 3x+c_2\sin 3x).$$

This describes an oscillation whose amplitude shrinks over time because of the factor $e^{-2x}$.

Real-world meaning of complex roots

Complex roots usually represent oscillatory behavior. In a mass-spring system, the object moves back and forth. In an electrical circuit, the current or voltage may oscillate. If $\alpha<0$, the oscillations die out over time, which is called damped motion.

This is a big contrast with repeated roots, which produce no oscillation at all.

How to decide which formula to use

When solving a second-order linear homogeneous equation, follow this process:

  1. Write the differential equation in standard form.
  2. Form the characteristic equation.
  3. Find the roots.
  4. Match the roots to the correct solution pattern.

If the roots are:

  • two different real numbers $r_1$ and $r_2$, then

$$y=c_1e^{r_1x}+c_2e^{r_2x};$$

  • a repeated real number $r$, then

$$y=(c_1+c_2x)e^{rx};$$

  • complex conjugates $\alpha\pm\beta i$, then

$$y=e^{\alpha x}(c_1\cos(\beta x)+c_2\sin(\beta x)).$$

A helpful way to remember this is:

  • repeated roots create an $x$ factor,
  • complex roots create sine and cosine terms.

Comparing repeated and complex roots

Repeated roots and complex roots both change the basic exponential solution idea, but they do so in different ways.

Repeated roots:

  • have one real root counted twice,
  • produce solutions like $e^{rx}$ and $xe^{rx}$,
  • often describe non-oscillatory motion.

Complex roots:

  • come in conjugate pairs,
  • produce solutions with $\cos$ and $\sin$,
  • often describe oscillation, possibly with damping.

Both cases still fit the same overall method: solve the characteristic equation first, then translate the roots into the correct general solution. That is why these topics belong together inside second-order linear equations ๐Ÿ“˜

Worked comparison example

Consider these two equations:

$$y''-2y'+y=0$$

and

$$y''-2y'+5y=0.$$

For the first equation, the characteristic equation is

$$r^2-2r+1=0,$$

so

$$(r-1)^2=0.$$

This is a repeated root case, so

$$y=(c_1+c_2x)e^x.$$

For the second equation, the characteristic equation is

$$r^2-2r+5=0.$$

Using the quadratic formula,

$$r=\frac{2\pm\sqrt{4-20}}{2}=1\pm 2i.$$

This is a complex root case, so

$$y=e^x(c_1\cos 2x+c_2\sin 2x).$$

These two equations look similar, but their solutions behave very differently. One grows with no oscillation, and the other grows while oscillating.

Conclusion

Repeated and complex roots are two special outcomes of the characteristic equation in second-order linear homogeneous differential equations. When a root is repeated, the second solution becomes $xe^{rx}$ so that the two solutions remain independent. When roots are complex, the solution turns into an exponential times sine and cosine. students, these cases are important because they explain many real phenomena, especially systems that either return smoothly to equilibrium or oscillate with or without damping. Mastering these patterns makes it much easier to solve second-order linear equations and understand what the solutions mean in context ๐ŸŒŸ

Study Notes

  • A second-order linear homogeneous equation with constant coefficients has the form $$ay''+by'+cy=0.$$
  • The characteristic equation is $$ar^2+br+c=0.$$
  • If the characteristic equation has a repeated root $r$, the general solution is $$y=(c_1+c_2x)e^{rx}.$$
  • The extra factor $x$ is needed to create a second linearly independent solution.
  • If the characteristic equation has roots $\alpha\pm\beta i$, the general solution is $$y=e^{\alpha x}(c_1\cos(\beta x)+c_2\sin(\beta x)).$$
  • Complex roots are connected to oscillation through Eulerโ€™s formula $$e^{i\theta}=\cos\theta+i\sin\theta.$$
  • Repeated roots often correspond to non-oscillatory behavior such as critical damping.
  • Complex roots often correspond to oscillatory motion, possibly with decay if $\alpha<0$.
  • The main strategy is always: find the characteristic equation, solve it, and match the roots to the correct solution form.

Practice Quiz

5 questions to test your understanding