Reduction of order
$$y''+ p(x)y' + q(x)y = 0 \tag{6}$$
If we know one non-zero solution
that forms a basis.
We assume that
Using the fact that
Dividing by
Since this is a linear equation, $$U = \frac{1}{y_{1}^2}e^{-\int pdx}$$and after substituting
Thus the general solution of
Solve $$ x y'' + (2x + 1)y' + (x + 1)y = 0$$
Solution
At
Without loss of generality, assume
Clearly,$$y_1(x) = e^{-x}$$is a solution.
Divide the entire equation by
Thus,$$p(x) = 2 + \frac{1}{x}$$
Using reduction of order, let$$y_2(x) = v(x) y_1(x)$$
Then$$v(x) = \int \frac{1}{y_1^2(x)} \exp\left(-\int p(x),dx\right) dx$$
Compute each part:$$y_1^2 = e^{-2x}$$
So,$$\exp\left(-\int p(x),dx\right)= \exp(-2x - \ln x) = \frac{e^{-2x}}{x}$$
Therefore, $$v(x) = \int \frac{1}{e^{-2x}} \cdot \frac{e^{-2x}}{x},dx = \int \frac{1}{x},dx = \ln x$$
Hence, $$ y_2(x) = e^{-x} \ln x $$
The general solution (for
What About ?
The correct general antiderivative is $$\int \frac{1}{x},dx = \ln |x|$$
So for
and therefore $$ y_2(x) = e^{-x} \ln |x| $$
Thus, for
Note: Since
How to guess a solution
Consider the homogeneous 2nd order linear differential $$y'' + p(x)y' + q(x)y = 0 \tag{7} $$then,
- if
for all then will be a solution of - if
for all , then will be a solution.