Section 2.1 Second order linear ODEs
Note: 1 lecture, reduction of order optional, first part of Β§3.1 in [EP], parts of Β§3.1 and Β§3.2 in [BD]
Consider the general second order linear differential equation
We usually divide through by to get
In the special case when we have a so-called homogeneous equation
We have already seen some second order linear homogeneous equations.
If we know two solutions of a linear homogeneous equation, we know many more of them.
That is, we can add solutions together and multiply them by constants to obtain new and different solutions. We call the expression a linear combination of and Let us prove this theorem; the proof is very enlightening and illustrates how linear equations work.
The proof becomes even simpler to state if we use the operator notation. An operator is an object that eats functions and spits out functions (kind of like what a function is, but a function eats numbers and spits out numbers). Define the operator by
The differential equation now becomes The operator (and the equation) being linear means that It is almost as if we were βmultiplyingβ by The proof above becomes
Two different solutions to the second equation are and Recalling the definition of and we note that these are solutions by superposition as they are linear combinations of the two exponential solutions: and
The functions and are sometimes more convenient to use than the exponential. Let us review some of their properties:
Exercise 2.1.1.
Linear equations have nice and simple answers to the existence and uniqueness question.
Theorem 2.1.2. Existence and uniqueness.
Using and in this solution allows us to solve for the initial conditions in a cleaner way than if we have used the exponentials.
The initial conditions for a second order ODE consist of two equations. Common sense tells us that if we have two arbitrary constants and two equations, then we should be able to solve for the constants and find a solution to the differential equation satisfying the initial conditions.
Question: Suppose we find two different solutions and to the homogeneous equation (2.2). Can every solution be written (using superposition) in the form
Answer is affirmative! Provided that and are different enough in the following sense. We say and are linearly independent if one is not a constant multiple of the other.
Theorem 2.1.3.
For example, we found the solutions and for the equation It is not hard to see that sine and cosine are not constant multiples of each other. Indeed, if for some constant plugging in would imply But then for all which is preposterous. So and are linearly independent. Hence,
is the general solution to
For two functions, checking linear independence is rather simple. Let us see another example. Consider Then and are solutions. To see that they are linearly independent, suppose one is a multiple of the other: we just have to find out that cannot be a constant. In this case we have this most decidedly not a constant. So is the general solution.
If you have one nonzero solution to a second order linear homogeneous equation, then you can find another one. This is the reduction of order method. The idea is that if we somehow found as a solution of then we try a second solution of the form We just need to find We plug into the equation:
In other words, Using we have the first order linear equation After solving this equation for (integrating factor), we find by antidifferentiating We then form by computing For example, suppose we somehow know is a solution to The equation for is then We find a solution, and we find an antiderivative Hence Any works and so makes Thus, the general solution is
Since we have a formula for the solution to the first order linear equation, we can write a formula for
However, it is much easier to remember that we just need to try and find as we did above. The technique works for higher order equations too: You get to reduce the order by one for each solution you find. So it is better to remember how to do it rather than a specific formula.
We will study the solution of nonhomogeneous equations in Section 2.5. We will first focus on finding general solutions to homogeneous equations.
Exercises Exercises
2.1.2.
2.1.3.
Take Find (guess!) a solution.
2.1.4.
Prove the superposition principle for nonhomogeneous equations. Suppose that is a solution to and is a solution to (same linear operator ). Show that solves
2.1.5.
For the equation find two solutions, show that they are linearly independent and find the general solution. Hint: Try
Equations of the form are called Eulerβs equations or CauchyβEuler equations. They are solved by trying and solving for (assume for simplicity).
2.1.6.
Suppose that
- Find a formula for the general solution of Eulerβs equation (see above)
Hint: Try and find a formula for - What happens when
or
We will revisit the case when later.
2.1.7.
Same equation as in Exercise 2.1.6. Suppose Find a formula for the general solution of Hint: Try for the second solution.
2.1.8. reduction of order.
2.1.9. Chebyshevβs equation of order 1.
Take
- Show that
is a solution. - Use reduction of order to find a second linearly independent solution.
- Write down the general solution.
2.1.10. Hermiteβs equation of order 2.
Take
- Show that
is a solution. - Use reduction of order to find a second linearly independent solution. (Itβs OK to leave a definite integral in the formula.)
- Write down the general solution.
2.1.101.
Answer.
Yes. To justify try to find a constant such that for all
2.1.102.
Answer.
No.
2.1.103.
Guess a solution to
Answer.
2.1.104.
Answer.
2.1.105.
Write down an equation (guess) for which we have the solutions and Hint: Try an equation of the form for constants and plug in both and and solve for and