2 Applying the method of separation of variables to ODEs
Example 3
Use the method of separation of variables to solve the differential equation
Solution
The equation already has the form
where
Dividing both sides by we find
Integrating both sides with respect to gives
that is
Note that the left-hand side is an integral involving just ; the right-hand side is an integral involving just . After integrating both sides with respect to the stated variables we find
where is a constant of integration. (You might think that there would be a constant on the left-hand side too. You are quite right but the two constants can be combined into a single constant and so we need only write one.)
We now have a relationship between and as required. Often it is sufficient to leave your answer in this form but you may also be required to obtain an explicit relation for in terms of . In this particular case
so that
Task!
Use the method of separation of variables to solve the differential equation
First separate the variables so that terms involving and appear on the left, and terms involving appear on the right:
You should have obtained
Now reformulate both sides as integrals:
Now integrate both sides:
Finally, rearrange to obtain an expression for in terms of :
Exercises
-
Solve the equation
-
Solve the following equation subject to the condition
:
-
Find the general solution of the following equations:
- ,
-
-
Find the general solution of the equation
- Find the particular solution which satisfies the condition .
-
Find the general solution of the equation
-
Some equations which do not appear to be separable can be made so by means of a suitable
substitution. By means of the substitution solve the equation
-
The equation
where , and are constants arises in electrical circuit theory. This equation can be
solved by separation of variables. Find the solution which satisfies the condition .
- .
- .
-
- ,
- .
-
- ,
- .
- so that .
- where .