A second-order equation is generally much harder than a first-order one. But if the equation is missing either the dependent variable or the independent variable , a substitution lowers its order by one, and the tools of this chapter finish the job. This is the last technique of the chapter and the natural bridge to the higher order chapters that follow.
Quick Reference
| Case | Equation shape | Substitution | Result |
|---|---|---|---|
| missing | F\left(x, y', y''\right) = 0 | , so y'' = \dfrac{dp}{dx} | First-order equation in and |
| missing | F\left(y, y', y''\right) = 0 | , so y'' = p\dfrac{dp}{dy} | First-order equation in and |
| After solving for | Replace by | Integrate once more | Two arbitrary constants total |
| Chain rule identity | The key to Case 2 |
The Setting
The most general form of a second-order differential equation is
F\left(x, y, y', y''\right) = 0 .Two special types of second-order equations can be reduced to first-order equations: those in which does not appear, and those in which does not appear. In both cases the trick is to make y' the new unknown.
Case 1: The Dependent Variable Does Not Appear
Suppose the equation has the form
F\left(x, y', y''\right) = 0 \tag{1}
so that itself is absent, though , y', and y'' may all appear.
To solve this equation, introduce a new dependent variable :
If we replace y' and y'' in (1) by and p', we get
G\left(x, p, \frac{dp}{dx}\right) = 0 . \tag{2}
This is a first-order equation in the unknown , and the whole of this chapter applies to it. If we can solve (2), we then replace in the solution by y' and integrate once more to recover .
The two integrations produce two arbitrary constants, which is the right number for a second-order equation. The first constant enters when solving the first-order equation for ; the second enters when integrating to get .
Solve
x y'' + 2y' = x + 1 .Solution
The variable does not appear, so this is Case 1. Let p = y' and p' = y''. Then
x y'' + 2y' = x + 1 \quad \Longrightarrow \quad x p' + 2p = x + 1or, dividing by ,
which is a linear first-order differential equation. The integrating factor is
Therefore
\begin{aligned} x^{2}\left(\frac{dp}{dx} + \frac{2}{x}p\right) &= x^{2} + x \\ \frac{d}{dx}\left(x^{2}p\right) &= x^{2} + x \\ x^{2}p &= \frac{1}{3}x^{3} + \frac{1}{2}x^{2} + c \end{aligned}Dividing by ,
But , so
Now is obtained by one more integration, using :
Letting and , the solution is
Two arbitrary constants, as expected for a second-order equation.
We want to find the position of a falling ball as a function of time , taking air resistance into account. Taking the air resistance force to be proportional to the square of the velocity, the equation of motion becomes
where is the distance fallen at time , is the mass of the body, is the acceleration due to gravity, and is a constant. Suppose the ball starts from rest at .
Solution
The position does not appear in the equation, only its derivatives, so this is Case 1. Let
Then the governing equation becomes
a first-order equation for the velocity. It is separable:
Factor out of the denominator:
To integrate, make the substitution
Therefore
Because partial fractions give
we have
\begin{aligned} \frac{1}{2}\sqrt{\frac{m}{gk}}\int\left(\frac{1}{1-u} + \frac{1}{1+u}\right)du &= \frac{1}{2}\sqrt{\frac{m}{gk}}\left[-\ln(1-u) + \ln(1+u)\right] \\ &= \frac{1}{2}\sqrt{\frac{m}{gk}}\,\ln\left(\frac{1+u}{1-u}\right) \end{aligned}Putting back ,
Because at , the logarithm's argument is and , so . Thus
Since
the result can be written as
or, solving for ,
Since , the speed of the falling ball never exceeds . This limiting speed is the terminal velocity :
Note that , so the velocity can be written compactly as
Now integrate the velocity to find the position:
Since and , we have . Here , so
Assuming , and noting that so the logarithm vanishes, and the position function is
Sanity check for large . For large arguments , so . The ball eventually falls at the constant terminal velocity, lagging behind a drag-free fall by a fixed distance, exactly as physical intuition demands.
Case 2: The Independent Variable Does Not Appear
Now suppose the equation has the form
F\left(y, y', y''\right) = 0so that is absent. Such an equation is called autonomous.
Setting p = y' is again the right move, but now the natural variable to keep is , not . The chain rule supplies the necessary identity:
Substituting y' = p and y'' = p\dfrac{dp}{dy} turns the equation into a first-order equation for as a function of . Solve it, then recover from the separable equation .
Solve y y'' + \left(y'\right)^{2} = 0.
Solution
The variable is absent, so this is Case 2. Substituting y' = p and y'' = p\dfrac{dp}{dy},
Factor out :
The factor gives y' = 0, so is a family of solutions. For , separate the remaining factor:
so .
Now replace by and separate again:
The general solution is , or more simply .
Solve y'' = -\dfrac{1}{y^{2}} with , and interpret the result.
Solution
Since is absent, substitute y'' = p\dfrac{dp}{dy}:
Integrating,
This relation is an energy integral. Reading as a position and as a velocity, it says that stays constant along every solution, which is conservation of energy for an inverse-square attraction. Case 2 always produces a relation of this kind, because eliminating is precisely what a conservation law does.
The final step, , is separable but its integral is not elementary for general .
Exercises
Solve y'' = 2x\left(y'\right)^{2}.
Solution
The variable is missing, so let p = y':
Therefore , and
For this gives . Note also the separate solution , that is, , lost when dividing by .
Solve y'' + \left(y'\right)^{2} = 0 by both cases, since neither nor appears.
Solution
As Case 1. With p = y', the equation is , so , giving and
As Case 2. With y'' = p\dfrac{dp}{dy}, the equation is , so for , and . Then separates to , giving and
the same family after renaming constants.
Either route works when both variables are missing; pick whichever produces the simpler first-order equation.
Solve y'' = \left(y'\right)^{2}\tan y with the conditions and y'(0) = 1.
Solution
The variable is absent, so substitute y'' = p\dfrac{dp}{dy}:
Integrating, , so .
The condition y'(0) = 1 with gives , so .
Now separates as , giving . Applying gives , so
valid on .
Frequently Asked Questions
When can I use reduction of order?
When the second-order equation is missing one of the two variables. If is absent, use p = y' with y'' = dp/dx and keep as the independent variable. If is absent, use p = y' with y'' = p\,dp/dy and switch to as the independent variable. If both and appear, this technique does not apply.
Why is y'' = p\,dp/dy in Case 2?
Because is being regarded as a function of rather than of . The chain rule gives
Forgetting the extra factor of is the single most common mistake in Case 2 problems.
How many arbitrary constants should the answer have?
Two, since the equation is second order. One appears when you solve the reduced first-order equation for , and the second when you integrate to recover . If your answer has only one constant, you have almost certainly stopped a step early, at the formula for rather than for .
Is this the same "reduction of order" used for linear equations later?
The name is shared but the technique differs. Here, order is lowered by exploiting a missing variable. In the higher order chapter, reduction of order means using one known solution of a linear equation and substituting to find a second one. Both lower the order by one, but they apply in different circumstances.
What does the intermediate relation between and mean physically?
In Case 2 it is usually a conservation law. Reading as position and as velocity, an equation such as is conservation of energy: kinetic plus potential is constant along the motion. This is why Case 2 arises so often in mechanics, where the force depends on position but not explicitly on time.
Why does dividing by deserve care?
Because means y' = 0, that is, constant, and those constant solutions are genuine. Dividing by discards them, exactly as dividing by discarded equilibria in the separable and Bernoulli sections. Note the roots before dividing and restore them at the end.