A second-order equation needs two independent solutions, but sometimes only one can be found by inspection. This section shows how to manufacture the second from the first. The substitution reduces the equation to a first-order equation for v', and the result is a formula. Best of all, the method does not require constant coefficients.
Quick Reference
| Item | Statement |
|---|---|
| Equation | y'' + P(x)y' + Q(x)y = 0, in standard form |
| Given | One solution , not identically zero |
| Substitution | |
| The formula | |
| Wronskian produced | , never zero |
| Result | is a fundamental set |
| Restriction | None on the coefficients; and may be any continuous functions |
| Practical note | Multiply by any convenient nonzero constant to tidy it |
Motivation
We know that the general solution of the homogeneous equation
y'' + P(x)y' + Q(x)y = 0 \tag{i}
is
where and are two linearly independent solutions of (i), and and are constants.
Sometimes we can find one solution of (i) by inspection. Trying , , , or in an equation with polynomial coefficients frequently works, and applied problems often supply one solution on physical grounds. What can we do in that case, and how can we find the other independent solution?
The Theorem
If is a solution of
y'' + P(x)y' + Q(x)y = 0 ,and if we set where
then is a solution of this equation and is a fundamental set of solutions.
Notice that this method is not restricted to equations with constant coefficients. It applies to any second-order linear homogeneous equation whose coefficients are continuous, which is precisely why it remains useful long after the characteristic equation method runs out.
Proof
We assume that is a solution of y'' + P(x)y' + Q(x)y = 0, and try to determine the unknown function .
Differentiating twice with the product rule,
\begin{aligned} y_{2}'(x) &= v'y_{1} + vy_{1}' \\ y_{2}''(x) &= v''y_{1} + 2v'y_{1}' + vy_{1}'' \end{aligned}Substituting into (i),
v''y_{1} + 2v'y_{1}' + vy_{1}'' + P(x)\left[v'y_{1} + vy_{1}'\right] + Q(x)vy_{1} = 0or, after rearranging by powers of derivatives of ,
v''y_{1} + v'\left(2y_{1}' + P(x)y_{1}\right) + v\left[\underbrace{y_{1}'' + P(x)y_{1}' + Q(x)y_{1}}_{=\,0}\right] = 0 . \tag{ii}
Since is a solution of (i), the expression in square brackets vanishes. This is the pivotal step, and it is why the method needs a known solution: without it, nothing cancels.
Equation (ii) reduces to
v''y_{1} + v'\left(2y_{1}' + P(x)y_{1}\right) = 0 .Note that itself no longer appears, only v' and v''. So this is really a first-order equation in the unknown v', which is where the name "reduction of order" comes from.
Dividing by v'y_1,
\frac{v''}{v'} = -2\frac{y_{1}'}{y_{1}} - P(x) .Integrating both sides, and recognizing \displaystyle\int\frac{v''}{v'}dx = \ln v' and \displaystyle\int\frac{y_1'}{y_1}dx = \ln y_1,
\ln v' = -2\ln y_{1} - \int P(x)\,dxso
\begin{aligned} v' &= \exp\left(\ln\frac{1}{y_{1}^{2}} - \int P(x)\,dx\right) \\ &= \exp\left(\ln\frac{1}{y_{1}^{2}}\right)\exp\left(-\int P(x)\,dx\right) \\ &= \frac{1}{y_{1}^{2}}\,e^{-\int P(x)\,dx} \end{aligned}and thus
It remains to show that and are independent, that is, that :
\begin{aligned} W\left(y_1, y_2\right) = W\left(y_1, vy_1\right) &= \begin{vmatrix} y_1 & vy_1 \\ y_1' & v'y_1 + v y_1' \end{vmatrix} \\ &= v'y_1^{2} + vy_1'y_1 - vy_1y_1' \\ &= v'y_1^{2} \\ &= \frac{1}{y_1^{2}}e^{-\int P(x)\,dx}\,y_1^{2} \\ &= e^{-\int P(x)\,dx} \end{aligned}Because the exponential function is never zero, is never zero, so the two solutions are independent.
Note that this is exactly Abel's formula from Section 3.3, with the constant equal to . The two results are two faces of the same computation.
Do not memorize the formula; understand the substitution. Many students find it easier to substitute directly into the given equation, watch the terms cancel, and solve the resulting first-order equation for v'. That route is self-correcting, whereas a misremembered formula is not.
Worked Examples
By simple inspection, we can discover that is one solution of x^{2}y'' + xy' - y = 0 for . Find the general solution of this equation.
Solution
First check the given solution: with we have y' = 1 and y'' = 0, so
We write a second linearly independent solution as . To use the formula we need the equation in standard form, so divide by :
y'' + \frac{1}{x}y' - \frac{1}{x^{2}}y = 0giving . Now
\begin{aligned} v &= \int\frac{1}{y_1^{2}}e^{-\int P(x)\,dx}\,dx \\ &= \int\frac{1}{x^{2}}e^{-\int\frac{1}{x}dx}\,dx \qquad \left(y_1 = x\right) \\ &= \int\frac{1}{x^{2}}e^{-\ln x}\,dx \\ &= \int\frac{1}{x^{2}}e^{\ln\frac{1}{x}}\,dx \qquad \left(B\ln A = \ln A^{B}\right) \\ &= \int\frac{1}{x^{3}}\,dx \qquad \left(e^{\ln A} = A\right) \\ &= -\frac{1}{2}x^{-2} = -\frac{1}{2x^{2}} \end{aligned}So the second solution is
Notice that if is a solution of a homogeneous equation, then is also a solution for any constant . Multiplying by , we may just as well write .
Therefore the general solution of the given differential equation is
Given that solves y'' - 2y' + y = 0, find a second independent solution.
Solution
The equation is already in standard form with . Then
So , and the general solution is .
This confirms from a completely different direction the rule from Section 4.2 that a repeated root contributes both and . The factor of is not a convention; it falls out of the integral.
Given that solves x^{2}y'' - 3xy' + 4y = 0 for , find the general solution.
Solution
Verify first: y_1' = 2x, y_1'' = 2, and . ✓
In standard form, , so
Therefore
The second solution is , and the general solution is
The appearance of a logarithm here is characteristic. It signals a repeated root in the associated Cauchy-Euler problem of Section 4.5, and it plays the same role that the factor of plays for constant coefficients.
Given that solves y'' + y = 0, recover the second solution.
Solution
Here , so and
Therefore
Discarding the sign gives , as expected.
Exercises
Given that solves \left(1-x^{2}\right)y'' - 2xy' + 2y = 0 on , find a second solution.
Solution
In standard form, , so
giving .
Therefore
using the partial fractions .
The second solution is
This is Legendre's equation with , whose second solution is the classical function .
Given that solves y'' - 4y' + 4y = 0, find the general solution.
Solution
With ,
so and , matching the repeated-root rule.
Given that solves x^{2}y'' + xy' + \left(x^{2} - \tfrac{1}{4}\right)y = 0 on , find a second solution.
Solution
In standard form, , so . Since ,
Therefore
or simply after dropping the sign. This is Bessel's equation of order , one of the rare Bessel equations with elementary solutions.
Frequently Asked Questions
Why does the substitution lower the order?
Because the coefficient of in the resulting equation is exactly y_1'' + Py_1' + Qy_1, which is zero since solves the equation. With itself eliminated, only v' and v'' remain, so the equation is first order in the unknown v'.
Must the equation be in standard form?
Yes. The formula reads off an equation whose leading coefficient is . Applying it to x^{2}y'' + xy' - y = 0 with instead of gives a completely wrong answer. Divide by the leading coefficient before you start.
What happened to the constants of integration?
They were dropped, and legitimately so. A constant of integration in the outer integral adds a multiple of to ; a multiplicative constant scales . Neither changes the span of , and both are absorbed into and in the general solution. Take the simplest antiderivative available.
What if is zero at some point of the interval?
The formula divides by , so it breaks down there. Work on a subinterval where is nonzero, then extend the resulting by continuity. In the example, is undefined at multiples of , yet the final answer is perfectly well behaved everywhere.
Does this work for equations of order three or higher?
The same idea applies but is much messier. Substituting into an th order equation reduces it to order in v', which for still leaves a second-order equation to solve. There is no clean formula, and in practice other methods are preferred at higher order.
How is this related to Abel's formula?
They are the same result. The Wronskian computed in the proof, , is precisely Abel's formula with . Conversely, Section 3.3 solved the equation W = y_1y_2' - y_2y_1' for , which is another route to the same second solution. Either derivation may be used.