Homogeneous Linear ODEs

How do we know the solutions of an th order linear homogeneous ODE form a vector space of dimension ? Is this true only in the complex case, or for real valued solutions as well? This page answers these questions.

Summary

The short answer is that the initial conditions that specify a unique solution to an th order linear homogeneous ODE are an dimensional vector. (That is, , , , .) So we can find linearly independent sets of initial conditions. Then each one of these evolves differently, so the resulting functions are linearly independent. Doesn’t matter if your functions are real or complex.

Partial Proof

Let’s formalize this a bit. Say we have a th order linear homogeneous ODE.

Assume that all are continuous. It’s possible to write this as a coupled system of first order ODEs. First, define functions . Then the following matrix system describes the same problem.

Basically we’re saying that each function is the derivative of the one before it, i.e. , so really . Then the last row of the matrix defines (really ) in terms of the others.

Let’s call that matrix . Now solving the original ODE amounts to solving

Or, if we find multiple solutions, we can use them as columns to build a matrix .

Now the columns of are just different sets of initial conditions; we can choose them arbitrarily (gonna state this without proof, sorry) and then integrate forward to solve for the rest of time. Let’s choose them so they’re linearly independent. This means that the determinant of is nonzero.

What is the determinant of at some future time ? This is answered by Liouville’s Formula.

Crucially, as long as the value of the integral isn’t (or in the complex case, doesn’t have real part ), then the factor by which we multiply the original determinant will not be zero. Thus is nonzero for all . Thus the columns (and rows) of are always linearly independent.

This tells us what we want to know, and more. In particular, at no single point in time do any of the solutions have linearly dependent values and derivatives. This is why paths in phase space can never cross. This also means the functions can’t be linearly dependent, since for their values to be related by a scalar factor (over some open interval), their derivatives would have to as well.

Mapping Between Complex and Real Solutions

Now assume all and are real valued. Let be any solution. Then

But since is real, this means

In other words, the imaginary component is a solution of the associated homogeneous equation.

As a result, is a solution of the original equation on its own.

This proves that the real projection operator preserves solutions. (As a corollary, this also demonstrates the existence of real solutions.) Note that this is true despite the fact that the real projection operator is nonlinear and nonholomorphic.

Conversely, any real valued solution is of course also a complex solution (it’s a complex solution that happens to have zero imaginary part). Furthermore, given any real valued solution of the (potentially) inhomogeneous equation, and any real valued solution of the associated homogeneous equation, then by linearity is also a solution.

Example

Let’s look at the harmonic oscillator as an example.

It’s easiest to solve it using complex numbers. The general solution is

If we take and to be real numbers, the last line shows the real and imaginary parts of the solution. And since the problem is homogeneous, this means that both and are also solutions. They are linearly independent, so they form a basis for all the real solutions.

Sometimes it can be helpful to see how a particular complex solution maps to a particular real one. So let’s let and be complex numbers. Then the general solution’s real and imaginary parts are

If instead we write the coefficients as and , the general solution’s real and imaginary parts are