2.2: Constant coefficient second order linear ODEs
( \newcommand{\kernel}{\mathrm{null}\,}\)
Solving Constant Coefficient Equations
Suppose we have the problem
This is a second order linear homogeneous equation with constant coefficients. Constant coefficients means that the functions in front of
To guess a solution, think of a function that you know stays essentially the same when we differentiate it, so that we can take the function and its derivatives, add some multiples of these together, and end up with zero.
Let us try
Hence, if
Check that
Solution
The functions
We need to solve for
Either apply some matrix algebra, or just solve these by high school math. For example, divide the second equation by 2 to obtain
Let us generalize this example into a method. Suppose that we have an equation
where
Divide by
Solve for the
Therefore, we have
Suppose that
If
If
For another example of the first case, take the equation
Solve
Solution
The characteristic equation is
Since
Find the general solution of
Solution
The characteristic equation is
Check that
- Answer
-
That
solves the equation is clear. If solves the equation, then we know we are done. Let us compute and . Plug inWe should note that in practice, doubled root rarely happens. If coefficients are picked truly randomly we are very unlikely to get a doubled root.
Let us give a short proof for why the solution
2.2.2 Complex numbers and Euler’s formula
It may happen that a polynomial has some complex roots. For example, the equation
Complex numbers may seem a strange concept, especially because of the terminology. There is nothing imaginary or really complicated about complex numbers. A complex number is simply a pair of real numbers,
It turns out that with this multiplication rule, all the standard properties of arithmetic hold. Further, and most importantly
Generally we just write
Note that engineers often use the letter
Make sure you understand (that you can justify) the following identities:
, , , , .
We can also define the exponential
Euler's Formula
In other words,
Using Euler’s formula, check the identities:
Double angle identities: Start with
- Answer
-
For a complex number
we call the real part and the imaginary part of the number. Often the following notation is used,
2.2.3 Complex roots
Suppose that the equation
As you can see, we always get a pair of roots of the form
However, the exponential is now complex valued. We would need to allow
Here we can use Euler’s formula. Let
Then note that
Linear combinations of solutions are also solutions. Hence,
are also solutions. Furthermore, they are real-valued. It is not hard to see that they are linearly independent (not multiples of each other). Therefore, we have the following theorem.
For the homegneous second order ODE
If the characteristic equation has the roots
Find the general solution of
Solution
The characteristic equation is
Find the solution of
Solution
The characteristic equation is
To find the solution satisfying the initial conditions, we first plug in zero to get
Hence
We again plug in the initial condition and obtain
Footnotes
[1] Making an educated guess with some parameters to solve for is such a central technique in differential equations, that people sometimes use a fancy name for such a guess: ansatz, German for “initial placement of a tool at a work piece.” Yes, the Germans have a word for that.


