Previously, we saw how to find a particular solution of a linear second-order differential equation when two linearly independent solutions of the homogeneous ODE are given. Thus, the problem of solving a linear second-order ODE is reduced to finding all homogeneous solutions. This is difficult. But if we have one nonzero solution of the homogeneous equation, we can find a second one:
Suppose that is a nonzero solution of the ODE
where and are continuous functions. Let
- be an antiderivative of and
- an antiderivative of .
Then
is a solution of the ODE that is linearly independent of .
It is not necessary to memorise the formula. A second solution can be found from the definition of the Wronskian:
According to The Wronskian of a lineair second-order differential equation, the Wronskian is known: . Also and its derivative are known. Therefore, the equation is a linear first-order ODE, of which it is known how it can be solved.
Since , another expression for the function rule of is:
We begin by showing that is a solution of the ODE. By use of the sum and product rule for differentiation, we first determine the first two derivatives of :
Substitution of these function rules in the left hand side of the ODE gives
It is given that . In view of the product rule for differentiation this implies
Filling these function rules into the previous result, we find
This proves that satisfies the differential equation. We still need to check that is linearly independent of . We make use of the Linear independence test by use of the Wronskian of and :
Since , it follows from the test that and are linearly independent.
In the derivation of the formula for , two methodst play a role. In the first place (again), variation of a constant, because the constant factor of the solution is replaced by the function . In the second place, the idea that the Wronskian of the two solutions is equal to can be chosen, so that satisfies the first-order differential equation . This is a reduction of the problem of finding to solving a first-order equation. Such an approach is called order reduction.
We examine what the statement means in the case of constant coefficients. To this end, we consider the homogeneous differential equation
where and are constants. Let be a real number that satisfies the characteristic equation . Then is a solution of the ODE. In this case, is an antiderivative of the constant function .
If , then we have
where is an integration constant, so we can choose (the constant factor is not important), so a second solution of the ODE is:
If is a second solution (in addition to ) of the characteristic equation, then satisfies , so and . This is in accordance with the General solution of a homogeneous linear second-order ODE with constant coefficients.
This deals completely with the case of two different solutions of the characteristic equation. The case of a single solution corresponds to the situation in which . In this case, is an antiderivative of the constant function and we find for a second solution. Again, this is in line with General solution of a homogeneous linear second-order ODE with constant coefficients.
In the case where there are no real solutions, the sine solution gives the cosine, and vice versa.
Consider the ODE
with unknown defined for . It is given that is a solution. Find a solution such that and are linearly independent.
Give your answer in the form of a function rule in terms of .
In order to see this, we start with the equation in standard form:
We search a second solution which is linearly independent of . According to Second solution of a homogeneous linear second-order ODE, is a suitable solution if
where is an antiderivative of . Thus we can take . Substituting
in the function rule for gives
As a consequence, is a second solution.