2 The general solution of a differential equation
Consider the equation where is an arbitrary constant. If we differentiate it we obtain
and so, since we obtain
Thus a differential equation satisfied by is
Note that we have eliminated the arbitrary constant.
Now consider the equation
where and are arbitrary constants. Differentiating, we obtain
Differentiating a second time gives
The right-hand side is simply times the expression for . Hence satisfies the differential equation
Task!
Find a differential equation satisfied by where and are arbitrary constants.
Differentiating once we obtain
Differentiating a second time we obtain
Hence
We have seen that an expression including one arbitrary constant required one differentiation to obtain a differential equation which eliminated the arbitrary constant. Where two constants were present, two differentiations were required. Is the converse true? For example, would a differential equation involving as the only derivative have a general solution with one arbitrary constant and would a differential equation which had as the highest derivative produce a general solution with two arbitrary constants? The answer is, usually, yes.
Task!
Integrate twice the differential equation
where and are constants, to find a general solution for .
Integrating once: where is an arbitrary constant (of integration).
Integrating again: where is a second arbitrary constant.
Consider the simple differential equation
On integrating, we obtain the general solution
where is an arbitrary constant. As varies we get different solutions, each of which belongs to the family of solutions. Figure 2 shows some examples.
Figure 2
It can be shown that no two members of this family of graphs ever meet and that through each point in the - plane passes one, and only one, of these graphs. Hence if we specify the boundary condition when , written , then using :
and is the unique solution.
Task!
Find the unique solution of the differential equation which satisfies the condition .
You should obtain since, by a single integration we have , where is an arbitrary constant. Now when so that . Hence and the unique solution is
Example 1
Solve the differential equation subject to the conditions
- and
- and
- and at .
Solution
-
Integrating the differential equation once produces
The general solution is found by integrating a second time to give
, where
and
are arbitrary constants.
Imposing the conditions and : at we have so that , and at we have . Therefore and the solution is
-
Here the second condition is
so at
and the solution in this case is
-
Here the second condition is
then since , putting we get:
so that and the solution in this case is .