In the previous section on Exact Equations we saw that if , , and are continuous and on an open rectangle then
is exact on . Sometimes an equation that isn’t exact can be made exact by multiplying it by an appropriate function. For example,
is not exact, since in Equation . However, multiplying Equation by yields
which is exact, since in Equation . Solving Equation by the procedure given in Section 2.5 yields the implicit solution
A function is an integrating factor for Equation if is exact. If we know an integrating factor for Equation , we can solve the exact equation Equation by the method of Section 2.5. It would be nice if we could say that Equation and Equation always have the same solutions, but this isn’t so. For example, a solution of Equation such that on some interval could fail to be a solution of (Exercise 2.6.1), while Equation may have a solution such that isn’t even defined (Exercise 2.6.2). Similar comments apply if is the independent variable and is the dependent variable in Equation and Equation . However, if is defined and nonzero for all , Equation and Equation are equivalent; that is, they have the same solutions.
Finding Integrating Factors
By applying Theorem 2.5.2 (with and replaced by and ), we see that Equation is exact on an open rectangle if , , , and are continuous and
or, equivalently
on . It’s better to rewrite the last equation as which reduces to the known result for exact equations; that is, if then Equation holds with , so Equation is exact.
You may think Equation is of little value, since it involves partial derivatives of the unknown integrating factor , and we haven’t studied methods for solving such equations. However, we’ll now show that Equation is useful if we restrict our search to integrating factors that are products of a function of and a function of ; that is, . We’re not saying that every equation has an integrating factor of this form; rather, we are saying that some equations have such integrating factors.We’llnow develop a way to determine whether a given equation has such an integrating factor, and a method for finding the integrating factor in this case.
If , then and , so Equation becomes
or, after dividing through by ,
Now let
so Equation becomes
We obtained Equation by assuming that has an integrating factor . However, we can now view Equation differently: If there are functions and that satisfy Equation and we define
then reversing the steps that led from Equation to Equation shows that is an integrating factor for . In using this result, we take the constants of integration in Equation to be zero and choose the signs conveniently so the integrating factor has the simplest form.
There’s no simple general method for ascertaining whether functions and satisfying Equation exist. However, the next theorem gives simple sufficient conditions for the given equation to have an integrating factor that depends on only one of the independent variables and , and for finding an integrating factor in this case.
Theorem 2.6.1
Let and be continuous on an open rectangle Then:
If is independent of on and we define then is an integrating factor for on
If is independent of on and we define then is an integrating factor for Equation on
Proof
(a) If is independent of , then Equation holds with and . Therefore so Equation is an integrating factor for Equation on .
(b) If is independent of then eqrefeq:2.6.8 holds with and , and a similar argument shows that Equation is an integrating factor for Equation on .
The next two examples show how to apply Theorem 2.6.1
.
Example 2.6.1
Find an integrating factor for the equation and solve the equation.
Solution
In Equation and so Equation isn’t exact. However, is independent of , so Theorem 2.6.1
(a) applies with . Since is an integrating factor. Multiplying Equation by yields the exact equation
To solve this equation, we must find a function such that and Integrating Equation with respect to yields Differentiating this with respect to yields Comparing this with Equation shows that ; therefore, we can let in Equation and conclude that is an implicit solution of Equation . It is also an implicit solution of Equation .
Figure 2.6.1
shows a direction field and some integral curves for Equation
Figure 2.6.1
: A direction field and integral curves for
Example 2.6.2
Find an integrating factor for
and solve the equation.
Solution
In Equation ,
and
so Equation isn't exact. Moreover,
is not independent of , so Theorem 2.6.1(a) does not apply. However, Theorem 2.6.1(b) does apply, since
is not independent of , so we can take . Since
is an integrating factor. Multiplying Equation by yields the exact equation.
To solve this equation, we must find a function such that
and
Integrating Equation with respect to yields
Differentiating this with respect to yields
and comparing this with Equation shows that φ 0 (y) = e y . Therefore we set φ(y) = e y in Equation and conclude that
is an implicit solution of . It is also an implicit solution of . Figure 2.6.2
shows a direction field and some integral curves for .
Figure 2.6.2
: A direction field and integral curves for
Theorem 2.6.1
does not apply in the next example, but the more general argument that led to Theorem 2.6.1
provides an integrating factor.
Example 2.6.3
Find an integrating factor for
and solve the equation.
Solution
In Equation
and
Therefore
so Theorem 2.6.1
does not apply. Following the more general argument that led to Theorem 2.6.1
, we look for functions and such that
that is,
Since the left side contains only first degree terms in and , we rewrite this equation as
This will be an identity if
where and are constants such that
or, equivalently,
Equating the coefficients of x and y on both sides shows that the last equation holds for all if
which has the solution A = 1, B = 1. Therefore Equation implies that
Since
we can let and ; hence, is an integrating factor. Multiplying Equation by yields the exact equation
Figure 2.6.3
: A direction field and integral curves for
We leave it to you to use the method of Section 2.5 to show that this equation has the implicit solution
This is also an implicit solution of Equation . Since x ≡ 0 and y ≡ 0 satisfy Equation , you should check to see that x ≡ 0 and y ≡ 0 are also solutions of Equation . (Why is it necesary to check this?) Figure 2.6.3
shows a direction field and integral curves for Equation . See Exercise 2.6.28 for a general discussion of equations like Equation .
Example 2.6.4
The separable equation
can be converted to the exact equation
by multiplying through by the integrating factor
However, to solve Equation by the method of Section 2.5 we would have to evaluate the nasty integral
Instead, we solve Equation explicitly for by finding an integrating factor of the form .
Solution
In Equation
and
We look for functions and such that
that is,
The right side will contain the term if . Then Equation becomes
so . Since
and
we can take and , which yields the integrating factor . Multiplying Equation by yields the exact equation
We leave it to you to use the method of the Section 2.5 to show that this equation has the implicit solution
Solving for yields
which we rewrite as
by renaming the arbitrary constant. This is also a solution of Equation .
Figure 2.6.4
shows a direction field and some integral curves for Equation .
Figure 2.6.4
: A direction field and integral curves for