Section 2.3 Higher order linear ODEs
We briefly study higher order equations. Equations appearing in applications tend to be second order. Higher order equations do appear from time to time, but generally the world around us is “second order.”
The basic results about linear ODEs of higher order are essentially the same as for second order equations, with 2 replaced by The important concept of linear independence is somewhat more complicated when more than two functions are involved. For higher order constant coefficient ODEs, the methods developed are also somewhat harder to apply, but we will not dwell on these complications. It is also possible to use the methods for systems of linear equations from Chapter 3 to solve higher order constant coefficient equations.
That is, a linear combination of solutions to (2.4) is a solution to (2.4). There is also the existence and uniqueness theorem for linear equations, including nonhomogeneous ones.
Theorem 2.3.2. Existence and uniqueness.
Subsection 2.3.1 Linear independence
When we had two functions and we said they were linearly independent if one was not a multiple of the other. Same idea holds for functions, although in this case it is easier to state as follows. The functions ..., are linearly independent if the equation
has only the trivial solution where the equation must hold for all If we can solve the equation with some constants where for example then we can solve for as a linear combination of the others. If the functions are not linearly independent, they are linearly dependent.
Example 2.3.1.
Verify that are linearly independent.
Let us give several ways to show this fact. Many textbooks (including [EP] and [F]) introduce Wronskians, but it is difficult to see why they work and they are not really necessary here.
Consider
The left-hand side is a third degree polynomial in It is either identically zero, or it has at most 3 zeros. Therefore, it is identically zero, and the functions are linearly independent.
Let us try another way. As before we write
Rinse, repeat!
How about yet another way. We again write
We can evaluate the equation and its derivatives at different values of to obtain equations for and Let us first divide by for simplicity.
We set to get We divide by again and differentiate to get It is clear that is zero. Then must be zero as and must be zero because
There is no one best way to do it. All of these methods are perfectly valid. The important thing is to understand why the functions are linearly independent.
Example 2.3.2.
Once we have enough linearly independent solutions, we have the general solution to the homogeneous equation, just as we did for second order equations.
Theorem 2.3.3.
Subsection 2.3.2 Constant coefficient higher order ODEs
When we have a higher order constant coefficient homogeneous linear equation, the song and dance is exactly the same as it was for second order. We just need to find more solutions. If the equation is order, we need to find linearly independent solutions. It is best seen by example.
Example 2.3.3.
Try: We plug in and get
We divide through by Then
The trick now is to find the roots. There is a formula for the roots of degree 3 and 4 polynomials but it is very complicated. There is no formula for higher degree polynomials. That does not mean that the roots do not exist. There are always roots for an degree polynomial. They may be repeated and they may be complex. Computers are pretty good at finding roots approximately for reasonable size polynomials.
A good place to start is to plot the polynomial and check where it is zero. We can also simply try plugging in. We just start plugging in numbers and see if we get a hit (we can also try complex numbers). Even if we do not get a hit, we may get an indication of where the root is. For example, we plug into our polynomial and get we plug in and get That means there is a root between and because the sign changed. If we find one root, say then we know is a factor of our polynomial. Polynomial long division can then be used.
A good strategy is to begin with or These are easy to compute. Our polynomial has two such roots, and There should be 3 roots and the last root is reasonably easy to find. The constant term in a monic polynomial such as this is the multiple of the negations of all the roots because So
1
The word monic means that the coefficient of the top degree in our case is
You should check that really is a root. Hence and are solutions to (2.5). They are linearly independent as can easily be checked, and there are 3 of them, which happens to be exactly the number we need. So the general solution is
It is possible to find the solution by high school algebra, but it would be a pain. The sensible way to solve a system of equations such as this is to use matrix algebra, see Section 3.2 or Appendix A. For now we note that the solution is and The specific solution to the ODE is
Next, suppose that we have real roots, but they are repeated. Let us say we have a root repeated times. In the spirit of the second order solution, and for the same reasons, we have the solutions
We take a linear combination of these solutions to find the general solution.
Example 2.3.4.
The case of complex roots is similar to second order equations. Complex roots always come in pairs Suppose we have two such complex roots, each repeated times. The corresponding solution is
Example 2.3.5.
The characteristic equation is
Hence the roots are both with multiplicity 2. Hence the general solution to the ODE is
The way we solved the characteristic equation above is really by guessing or by inspection. It is not so easy in general. We could also have asked a computer or an advanced calculator for the roots.
Exercises 2.3.3 Exercises
2.3.1.
Find the general solution for
2.3.2.
Find the general solution for
2.3.3.
Find the general solution for
2.3.4.
Suppose the characteristic equation for an ODE is
- Find such a differential equation.
- Find its general solution.
2.3.5.
Suppose that a fourth order equation has a solution
- Find such an equation.
- Find the initial conditions that the given solution satisfies.
2.3.6.
Find the general solution for the equation of Exercise 2.3.5.
2.3.7.
Let and Are and linearly independent? If so, show it, if not, find a linear combination that works.
2.3.8.
Let and Are and linearly independent? If so, show it, if not, find a linear combination that works.
2.3.9.
2.3.10.
2.3.11.
Find an equation such that is a solution.
2.3.101.
Find the general solution of
Answer.
2.3.102.
Suppose that the characteristic equation of a third order differential equation has roots and 3.
- What is the characteristic equation?
- Find the corresponding differential equation.
- Find the general solution.
Answer.
a) b) c)
2.3.103.
Answer.
2.3.104.
Answer.
No.
2.3.105.
Answer.
Yes. (Hint: First note that is bounded. Then note that and cannot be multiples of each other.)