Recall the method of separable variables, which solves
by separating the from the
, and integrating on both sides:
In particular, we have solved the following equation in a similar manner.
Theorem 1. For any continuous , the general solution to the differential equation
is given by , where
.
Proof. Exercise.
How do we solve more general equations? For instance, we want to solve the equation
where and
are continuous so that they can be integrated. There are multiple perspectives to approach this problem, but the approach we will take will connect this problem with the separable variables method.
Let’s first recall the product rule. Given any function , the product rule tells us that
Dividing by yields
Now, cue the key insight: If we specially chose some such that
, then
Then doing a little bit of algebra and integration yields
We call an integrating factor, since it is the factor multiplied to help us integrate the expression. What should
be, though? Remember our key insight? Well, writing
,
Then Theorem 1 gives us the result
where is any arbitrary nonzero constant. Denote
so that
. Making the substitution,
This means that eventually cancels out, and therefore without loss of generality, we can assume
. This yields the method of integrating factors.
Theorem 2. For any continuous , the general solution to the differential equation
is given by
Example 1. Given , find the general solution to the differential equation
Solution. By the method of integrating factors, and
. Then the integrating factor is given by
Thus, the general solution is given by
where are arbitrary constants.
In fact, Example 1 is the key motivating result for us to study the next idea in a course in differential equations: second-order differential equations.
—Joel Kindiak, 27 Jan 25, 1712H
Leave a comment