[Notes on Diffy Qs home] [PDF version] [Buy cheap paperback version]
[next] [prev] [prev-tail] [tail] [up]
Note: 1 lecture, §1.4 in [EP], §2.2 in [BD]
When a differential equation is of the form
, we can just integrate:
. Unfortunately this method no longer works for the general form of the equation
. Integrating both sides yields
|
|
Notice the dependence on
in the integral.
Let us suppose that the equation is separable. That is, let us consider
|
|
for some functions
and
. Let us write the equation in the Leibniz notation
|
|
Then we rewrite the equation as
|
|
Now both sides look like something we can integrate. We obtain
|
|
If we can find closed form expressions for these two integrals, we can, perhaps, solve for
.
Example 1.3.1: Take the equation
|
|
First note that
is a solution, so assume
from now on. Write the equation as
, then
|
|
We compute the antiderivatives to get
|
|
Or
|
|
where
is some constant. Because
is a solution and because of the absolute value we actually can write:
|
|
for any number
(including zero or negative).
We check:
|
|
Yay!
We should be a little bit more careful with this method. You may be worried that we were integrating in two different variables. We seemed to be doing a different operation to each side. Let us work this method out more rigorously.
|
|
We rewrite the equation as follows. Note that
is a function of
and so is
!
|
|
We integrate both sides with respect to
.
|
|
We can use the change of variables formula.
|
|
And we are done.
It is clear that we might sometimes get stuck even if we can do the integration. For example, take the separable equation
|
|
We separate variables,
|
|
We integrate to get
|
|
or perhaps the easier looking expression (where
)
|
|
It is not easy to find the solution explicitly as it is hard to solve for
. We, therefore, leave the solution in this form and call it an implicit solution. It is still easy to check that an implicit solution satisfies the differential equation. In this case, we differentiate to get
|
|
It is simple to see that the differential equation holds. If you want to compute values for
, you might have to be tricky. For example, you can graph
as a function of
, and then flip your paper. Computers are also good at some of these tricks.
We note that the above equation also has the solution
. The general solution is
together with
. These outlying solutions such as
are sometimes called singular solutions.
First factor the right hand side to obtain
|
|
We separate variables, integrate and solve for ![]()

|
|
Example 1.3.3: Bob made a cup of coffee, and Bob likes to drink coffee only once it will not burn him at 60 degrees. Initially at time
minutes, Bob measured the temperature and the coffee was 89 degrees Celsius. One minute later, Bob measured the coffee again and it had 85 degrees. The temperature of the room (the ambient temperature) is 22 degrees. When should Bob start drinking?
Let
be the temperature of the coffee, and let
be the ambient (room) temperature. Newton’s law of cooling states that the rate at which the temperature of the coffee is changing is proportional to the difference between the ambient temperature and the temperature of the coffee. That is,
|
|
for some constant
. For our setup
,
,
. We separate variables and integrate (let
and
denote arbitrary constants)

Example 1.3.4: Find the general solution to
(including singular solutions).
First note that
is a solution (a singular solution). So assume that
and write

Exercise 1.3.11: Find an explicit solution for
,
. It is alright to leave a definite integral in your answer.
Exercise 1.3.12: Suppose a cup of coffee is at 100 degrees Celsius at time
, it is at 70 degrees at
minutes, and it is at 50 degrees at
minutes. Compute the ambient temperature.
Exercise 1.3.106: Take Example 1.3.3 with the same numbers: 89 degrees at
, 85 degrees at
, and ambient temperature of 22 degrees. Suppose these temperatures were measured with precision of
degrees. Given this imprecision, the time it takes the coffee to cool to (exactly) 60 degrees is also only known in a certain range. Find this range. Hint: Think about what kind of error makes the cooling time longer and what shorter.