The Exact Form and General Integrating Factors
The Exact Form and General Integrating Factors
In the previous chapters, we’ve seen how separable and linear differential equations can be solved
using methods for converting them to forms that can be easily integrated. In this chapter, we will
develop a more general approach to converting a differential equation to a form (the “exact form”)
that can be integrated through a relatively straightforward procedure. We will see just what it
means for a differential equation to be in exact form and how to solve differential equations in
this form. Because it is not always obvious when a given equation is in exact form, a practical
“test for exactness” will also be developed. Finally, we will generalize the notion of integrating
factors to help us find exact forms for a variety of differential equations.
The theory and methods we will develop here are more general than those developed earlier
for separable and linear equations. In fact, the procedures developed here can be used to solve
any separable or linear differential equation (though you’ll probably prefer using the methods
developed earlier). More importantly, the methods developed in this chapter can, in theory at
least, be used to solve a great number of other first-order differential equations. As we will see
though, practical issues will reduce the applicability of these methods to a somewhat smaller (but
still significant) number of differential equations.
By the way, the theory, the computational procedures, and even the notation that we will
develop for equations in exact form are all very similar to that often developed in the later part of
many calculus courses for two-dimensional conservative vector fields. If you’ve seen that theory,
look for the parallels between it and what follows.
129
130 The Exact Form and General Integrating Factors
while
∂φ
= the derivative of φ(x, y) assuming x is the variable and y is a constant.
∂x
The Exact Form, Defined 131
In our use of chain rule (7.2), y will be an unknown function of x , and the right side of
equation (7.2) will correspond to one side of whatever differential equation is being considered.
with
M(x, y) = 2x y and N (x, y) = 2y + x 2 .
φ(x, y) = y 2 + x 2 y ,
we have
∂φ ∂ 2
= y + x 2 y = 2x y = M(x, y)
∂x ∂x
and
∂φ ∂ 2
= y + x 2 y = 2y + x 2 = N (x, y)
∂y ∂y
everywhere in the XY –plane. So equation (7.5) is in exact form (and we can take R to be
the entire XY –plane).
In the next several sections, we will discuss how to determine when a differential equation
is in exact form, how to convert one not in exact form into exact form, how to find a potential
function, and how to solve the differential equation using a potential function. However, we
will develop the material backwards, starting with solving a differential equation given a known
potential function, and working our way towards dealing with equations not in exact form. This
ends up being the natural (and least confusing) way to develop the material.
But first, a few general comments regarding exact forms and potential functions:
∂φ ∂φ
= 3y + 3y 3 and = x y2 − x .
∂x ∂y
So
dy
3y + 3y 3 + x y 2 − x = 0
dx
is not in exact form.
The Exact Form, Defined 133
2. A single differential equation will have several potential functions. In particular, adding
any constant to a potential function yields another potential function. After all, if
∂φ0 ∂φ0
= M(x, y) and = N (x, y)
∂x ∂y
and
φ1 (x, y) = φ0 (x, y) + c
for some constant c , then, since any derivative of any constant is zero,
∂φ0 ∂φ1 ∂φ0 ∂φ1
= = M(x, y) and = = N (x, y) .
∂x ∂x ∂y ∂y
Moreover, as you will verify in exercises 7.2 and 7.3 (starting on page 154), any
differential equation that can be written in one exact form will actually have several exact
forms, all corresponding to different (but related) potential functions.
Because of the uniqueness results concerning solutions to first-order differential equa-
tions, it does not matter which of these potential functions is used to solve the equation.
Thus, in the following, we will only worry about finding a potential function for any
given differential equation.
3. Many authors refer to an equation in exact form as an exact equation. We are avoiding this
terminology because, unlike linear and separable differential equations, the “exactness”
of an equation can be destroyed by legitimate rearrangements of that equation. For
example,
dy
+ x 2 y = e2x
dx
is a linear differential equation whether it is written as above or written as
dy
= e2x − x 2 y .
dx
Consider, on the other hand,
dy
2x y + 2y + x 2 = 0 .
dx
As we saw in example 7.3, this differential equation is in exact form (i.e., is an “exact
equation”). However, if we rewrite it as
dy 2x y
= − ,
dx 2y + x 2
we have an equation that is not in exact form (i.e., is not an “exact equation”).
134 The Exact Form and General Integrating Factors
H⇒ φ(x, y) = c .
Think about this last equation for a moment. It describes the relation between x and y = y(x)
assuming y satisfies the differential equation
dy
M(x, y) + N (x, y) = 0 .
dx
In other words, the equation φ(x, y) = c is an implicit solution to the differential equation for
which it is a potential function.
All this is important enough to be restated as a theorem.
The above theorem contains all the steps for finding an implicit solution to a differential
equation that can be put in exact form, provided you have a corresponding potential function. Of
course, you have probably already noticed that this theorem can be shortened to the following:
Corollary 7.2
Let φ(x, y) be a potential function for a given first-order differential equation. Then
φ(x, y) = c
is an implicit solution to that differential equation.
In solving at least the first few differential equations in the exercises at the end of this chapter,
you should use all the steps described in theorem 7.1 simply to reinforce your understanding of
why φ(x, y) = c . Then feel free to cut out the intermediate steps (i.e., use the corollary). And,
of course, don’t forget to see if the implicit solution can be solved for y in terms of x , yielding
an explicit solution.
1. Identify the formulas for M(x, y) and N (x, y) , and, using these formulas, write out the
pair of partial differential equations to be solved,
∂φ ∂φ
= M(x, y) and = N (x, y) .
∂x ∂y
(In doing so, we are naively assuming the given differential equation is in exact form.)
For our example,
dy
2x y + 2 + |x 2{z
+ 4} = 0 .
| {z } dx
M(x,y) N (x,y)
2. Integrate the first equation in the pair with respect to x , treating y as a constant.
Z Z
∂φ
dx = M(x, y) d x .
∂x
In computing the integral of M with respect to x , you get a “constant of integration”.
Keep in mind that this “constant” is based on y being a constant, and may thus depend
on the value of y . Consequently, this “constant of integration” is actually some yet
unknown function of y — call it h(y) .
For our example,
Z Z
∂φ
dx = [2x y + 2] d x
∂x
H⇒ φ(x, y) = x 2 y + 2x + h(y) .
(Observe that this step yields a formula for φ(x, y) involving one yet unknown function
of y only. We now just have to determine h(y) to know the formula for φ(x, y) .)
3. Replace φ in the other partial differential equation,
∂φ
= N (x, y) ,
∂y
with the formula just derived for φ(x, y) , and compute the partial derivative. Keep in
mind that, because h(y) is a function of y only,
∂
[h(y)] = h ′ (y) .
∂y
Then algebraically solve the resulting equation for h ′ (y) .
For our example:
∂φ
= N (x, y)
∂y
∂ 2
H⇒ x y + 2x + h(y) = x 2 + 4
∂y
H⇒ x 2 + h ′ (y) = x 2 + 4
H⇒ h ′ (y) = 2 .
4. Look at the formula just obtained for h ′ (y) . Because h ′ (y) is a function of y only, its
formula must involve only the variable y , no x may appear.
If the x’s do not cancel out, then we have an impossible equation. This means the
naive assumption made in the first step was wrong; the given differential equation was
not in exact form, and there is no φ(x, y) satisfying the desired pair of partial differential
equations. In this case, Stop! Go no further in this procedure!
On the other hand, if the previous step yields
h ′ (y) = a formula of y only (no x’s ) ,
then integrate both sides of this equation with respect to y to obtain h(y) . (Because
h(y) does not depend on x , the constant of integration here will truly be a constant, not
a function of the other variable.)
138 The Exact Form and General Integrating Factors
h ′ (y) = 2 .
The right side does not contain x , so we can continue and integrate to obtain
Z Z
h(y) = h(y) dy = 2 dy = 2y + c1 .
(We will later see that the constant c1 is not that important.)
5. Combine the formula just obtained for h with the formula obtained for φ in step 2.
In our example, combining the results from step 2 and the last step above
yields
φ(x, y) = x 2 y + 2x + h(y)
= x 2 y + 2x + 2y + c1
If the above procedure does yield a formula φ(x, y) , then it immediately follows that the
given equation is in exact form and φ(x, y) is a potential function for the given differential
equation. But don’t forget that the goal is usually to solve the given differential equation,
dy
M(x, y) + N (x, y) = 0 .
dx
The function φ = φ(x, y) is not that solution. It is a function such that the differential equation
can be rewritten as
d
[φ(x, y)] = 0 .
dx
Integrating this yields the implicit solution
φ(x, y) = c
from which, if the implicit solution is not too complicated, we can obtain an explicit solution
y = y(x) .
As just illustrated, this equation is in exact form, and has a potential function
φ(x, y) = x 2 y + 2x + 2y + c1
Note that, in the last example, the constants arising from the integration of h ′ (y) and dφ/
dx
were combined at the end. It is easy to see that this will always be possible.
you
∂φ/
integrate ∂y = N with respect to y , and then plug the result into ∂φ/∂ x = M .
The integration of ∂φ/∂ y = N will yield some formula involving x , y and an unknown
function of x , g(x) . Plugging this formula into ∂φ/∂ x = M should yield a ordinary
differential equation for g(x) which does not contain y . If the y’s do not cancel out,
the desired φ does not exist. Otherwise, g(x) can be obtained by integration, and then
combined with the formula just obtained for φ(x, R y) .
This
R is usually the preferred method when N (x, y) dy is much easier to compute
than M(x, y) d x . Indeed, it usually is a good idea to scan these two integrals and, if
one looks much easier to compute, compute that one, and plug the result into the partial
differential equation corresponding to the other integral. Don’t forget to check to see if
equation resulting from that just involves the appropriate variable.
2. The other method is one often attempted by beginners who do not understand why it
should not be used: First independently integrate both ∂φ/∂ x = M and ∂φ/∂ y = N .
Then stare at the two different formulas obtained for φ(x, y) (each involving a different
unknown function) and try to guess what single formula for φ(x, y) (without unknown
functions) matches the results from the two integrations.
140 The Exact Form and General Integrating Factors
Fight any temptation to take this approach. Yes, with a little luck and skill, you can
get φ this way. But it is usually more work, it doesn’t easily warn you when φ(x, y)
does not exist, and is more likely to result in errors. Why use a method involving two
two integrations and two unknown functions when you can use a method involving just
one one integration and one unknown function with a straightforward way to determine
that one function?
dy
M(x, y) + N (x, y) = 0 (7.6)
dx
does not tell us whether such a φ even exists until step 4, after a possibly tricky integration.
Fortunately, there is a simple test that that can often tell us when seeking that φ would be futile.
This test is based on the fact that, for any sufficiently differentiable φ(x, y) ,
∂ 2φ ∂ 2φ
= .
∂y ∂x ∂x ∂y
Now let R be any region in the XY –plane on which φ is sufficiently differentiable and satisfies
∂φ ∂φ
= M(x, y) and = N (x, y) .
∂x ∂y
∂M ∂N
= (7.7)
∂y ∂x
at every point in R . If this equation does not hold, differential equation (7.6) is not in exact
form over that region — no corresponding potential function φ exists.
What we have not shown is that equality (7.7) necessarily implies that differential equation
(7.6) is in exact form. In fact, equality (7.7) does imply that, given any point in R , the equation
is in exact form over some subregion of R containing that point. Unfortunately, showing that
and describing those regions takes more development than is appropriate here. For now, let us
just say that, in practice, the equality (7.7) implies that differential equation (7.6) is “probably” in
exact form over the given region, and it is worthwhile to seek a corresponding potential function
φ via the method outlined earlier.
Let us summarize what has just been derived, accepting the term “suitably differentiable”
as simply meaning that the necessary partial derivatives can be computed:
Testing for Exactness — Part I 141
1. If
∂M ∂N
6= on R ,
∂y ∂x
then the above differential equation is not in exact form on R .
2. If
∂M ∂N
= on R ,
∂y ∂x
then the above differential equation might be in exact form on R . It is worth seeking a
corresponding potential function.
and
∂N ∂ 2
= x y − x = y2 − 1 .
∂x ∂x
So
∂M ∂N
6= ,
∂y ∂x
telling us that the given differential equation is not in exact form over any region.
and
∂N ∂ x 1(x 2 + y 2 ) − x(2x) y2 − x 2
= = = .
∂x ∂x x 2 + y2 2
(x + y )2 2 (x 2 + y 2 )2
142 The Exact Form and General Integrating Factors
So these two partial derivatives are equal throughout R , and our test for probable exactness
tells us that the given differential equation might be in exact form on R — it is worthwhile
to try to find a corresponding potential function.
For many, the test described above in theorem 7.3 will suffice. Those who wish a more
complete test should jump to section 7.7 starting on page 150 (where we will also finish solving
the differential equation in example7.7).
If the two partial derivatives are equal, then follow the procedure for finding a
potential function φ(x, y) outlined on pages 136 to 138.
If that procedure is successful and yields a φ(x, y) , then finish solving the given
differential equation using the fact that the differential equation can be rewritten as
d
[φ(x, y)] = 0 ,
dx
the integration of which yields the implicit solution
φ(x, y) = 0 .
If the given differential equation is not in exact form, then there is a possibility that it can
be put into an exact form using appropriate “integrating factors”. We will discuss these next.
By the way, don’t forget that these equations may be solvable by other means. For example,
the equation used to illustrate the procedure for finding φ was a linear differential equation, and
could have been solved a bit more quickly using the methods from chapter 5.
Converting Equations to Exact Form 143
We get
dy
3x 2 y −1 + 3x 2 y + x 3 − x 3 y −2 = 0
| {z } | {z } dx
Mnew (x,y) Nnew (x,y)
with
∂ Mnew ∂ 2 −1
= 3x y + 3x 2 y = −3x 2 y −2 + 3x 2 = 3x 2 − 3x 2 y −2
∂y ∂y
144 The Exact Form and General Integrating Factors
and
∂ Nnew ∂ 3
= x − x 3 y −2 = 3x 2 − 3x 2 y −2 .
∂x ∂x
So
∂ Mnew ∂ Nnew
= ,
∂y ∂x
telling us that the equation is now (probably) in exact form (over any region where y never
equals 0 ).
We will refer to any nonzero function µ = µ(x, y) as an integrating factor for a first-order
differential equation
dy
M + N = 0
dx
if and only if multiplying that equation through by µ ,
dy
µM + µN = 0 ,
dx
yields a differential equation in exact form.2 This integrating factor may be a function of x or
of y or of both x and y . Notice that, because
dy
µM + µN = 0
|{z} |{z} dx
“new” M “new” N
1. Decide on which case you think is appropriate, and make the corresponding assumptions
on µ .
2. Expand equation (7.8) by computing out the derivatives as far as possible, taking into
account the assumptions made on µ .
3. See if the resulting equation can be solved for a µ satisfying the assumptions made. If
so, do so. If not, start over using different assumptions on µ (unless you’ve run out of
reasonable options).
We’ll illustrate the above approach in a moment. Before that, however, a few more comments
should be made:
1. Only one integrating factor is needed. So go ahead and assign convenient values to the
arbitrary constants that arise in solving for µ (just as in finding an integrating factors for
linear equations).
2. Once you have found an integrating factor µ , remember why you wanted it. Use it to
rewrite your differential equation in exact form, and then solve the differential equation
as described earlier in this chapter.
3. There are tests to determine if there are integrating factors that are functions of just x
or just y . Moreover, there are formulas for µ that can be used if any of the tests are
satisfied (see exercise 7.6 on page 156). DO NOT WASTE YOUR TIME TRYING TO
USE THESE FORMULAS! They are hard to memorize correctly and are worth learning
only if you expect to compute many, many integrating factors over a relatively short
time frame. Chances are, you won’t have that need, just a need to understand the basic
concepts and to compute the occasional integrating factor.
Consequently, equation (7.8) should immediately reduce to an ordinary differential equation for
µ . Moreover, since µ is supposed to be just a function of x here, this differential equation for
µ should not contain any y’s . Thus, if the y’s do not cancel out, the assumption that µ could
be just a function of x is wrong — go to the next case. But if the y’s do cancel out, then solve
the differential equation just obtained for a µ = µ(x) .
∂ M/
So ∂y 6= ∂ N/∂ x . The equation is not exact, but, with luck, we can find a function µ so that
dy
µ 1 + y3 + µ x y2 = 0
dx
which simplies to
dµ 2µ
= .
dx x
So there is an integrating factor µ that is a function of x alone. Moreover, to find such an
integrating factor, we need only find one (nonzero) solution to the above simple, separable
ordinary differential equation. Proceding to do so, we get
Z Z
1 dµ 2
dx = dx
µ dx x
Since only one nonzero integrating factor is needed, we can take A = 1 , giving us
µ(x) = x 2
Unfortunately, there is always the possibility that the y’s will not cancel out.
Converting Equations to Exact Form 147
The x ’s cancel out, as hoped, and we have a simple differential equation for µ = µ(y) .
Solving it:
Z Z
1 dµ 2
dy = dy
µ dy 3y
2 2
H⇒ ln |µ| = ln |y| + c = ln |y| /3 + c
3
2/
H⇒ µ = Ay 3 .
µ(x, y) = x α y β
where the exponents, α and β , are constants to be determined. To determine the values of
the constants so that the guess works (if such constants exist), just plug this formula for µ
into equation (7.8) and see if it reduces to an equation that can be solved for α and β . If so,
find those values and use µ(x, y) = x α y β (with the values just found for α and β ) as your
integrating factor. If not, keep searching (or consider dealing with the differential equation using
the graphical and numerical methods we’ll discuss in chapter 8).
Plugging
µ(x, y) = x α y β
into equation (7.8) for our differential equation yields:
∂ ∂
(µM) = (µN )
∂y ∂x
∂ ∂
H⇒ x α y β 3y + 3y 3 = x α yβ x y2 − x
∂y ∂x
∂ ∂
H⇒ 3x α y β+1 + 3x α y β+3 = x α+1 y β+2 − x α+1 y β
∂y ∂x
3β + α + 4 = 0 and 3β − α + 8 = 0 .
3β + α + 4 = 0
3β − α + 8 = 0
α=2 and β = −2 .
µ(x, y) = x 2 y −2
∗
7.7 Testing for Exactness — Part II
Simple Connectivity and the Complete Test for Exactness
A more complete test for exactness than given in theorem 7.3 can be described if we are more
careful about describing our situation. So suppose we have an equation
dy
M(x, y) + N (x, y) = 0 ,
dx
and that, on some open region R of the XY –plane, all of the following hold:
∂ M/ ∂ N/
1. The functions M(x, y) and N (x, y) , along with the derivatives ∂y and ∂x , are
continuous everywhere in R .
everywhere in the region R consisting of the XY –plane with the origin removed. Removing
this point (the origin) creates a “hole” in R . This point is also a point not in R but which is
enclosed by any loop in R around the origin.
Now we can state the full test for exactness. (Its proof will be briefly discussed at the end
of this section.)
This theorem assures us that, if our region R is simply connected, then we can (in theory at
least) use the procedure outlined on pages 136 to 138 to find the corresponding potential function
φ(x, y) on R , and from that, derive an implicit solution φ(x, y) = c to our differential equation.
Theorem 7.4 does not definitely say the differential equation is not in exact form if R is
not simply connected. Whether the equation is or is not be in exact form over all of R is still
uncertain. What is certain, however, is the following immediate consequence of theorem 7.4.
Corollary 7.5
Assume M(x, y) and N (x, y) are two continuous functions on some open region R of the
XY –plane. Assume further that, on R , the partial derivatives of M and N are continuous and
satisfy
∂M ∂N
= .
∂y ∂x
Then
dy
M(x, y) + N (x, y) = 0
dx
is in exact form on each simply-connected open subregion of R .
Thus, even if our original region is not simply connected, we can at least pick any open,
simply connected subregion R1 , and (in theory at least) use the procedure outlined in section
7.3 to find a corresponding potential function φ1 (x, y) on R1 , and from that, derive the implicit
solution φ1 (x, y) = c to our differential equation, valid on subregion R1 .
But then, why might there not be a potential function φ(x, y) valid on the entire region R ?
Let’s go back to an example started earlier to see.
from example 7.7. As just noted in the previous example, the region R consisting of all the
XY –plane except for the origin (0, 0) is not simply connected. But we can partition it into
the left and right half-planes
which are simply connected. Theorem 7.4 assures us that our differential equation is in exact
form over each of these half-planes, and, indeed, you can easy show that all the corresponding
152 The Exact Form and General Integrating Factors
potential functions on these regions for our differential equation are given by
y
φ+ (x, y) = Arctan + c+ on R+
x
and y
φ− (x, y) = Arctan + c− on R−
x
where c+ and c− are arbitrary constants.
But could there be a potential function φ on all of R corresponding to our differential
equation? If so, then φ would also be a potential function over the left and right half-planes
R+ and R− , and, as just noted, there would be constants c+ and c− such that
y
φ(x, y) = Arctan + c+ for x > 0
x
and y
φ(x, y) = Arctan + c− for x <0 .
x
Since φ must be continuous everywhere except at the origin, it must, in particular, be con-
tinuous at any point on the positive Y –axis, (0, y) with y > 0 . So, letting x → 0 from the
positive side, we have
y
φ(0, y) = lim+ φ(x, y) = lim+ Arctan + c+ .
x→0 x→0 x
Using the substitution t = y/x and recalling the limiting values of the Arctangent function,
we can rewrite the above as
π
φ(0, y) = lim Arctan(t) + c+ = + c+ .
t→+∞ 2
Likewise, letting x → 0 from the negative side, we have
φ(0, y) = lim− φ(x, y)
x→0
y
= lim− Arctan + c−
x→0 x
π
= lim Arctan(t) + c− = − + c− .
t→−∞ 2
Together, the above tells us that
π π
− + c− = φ(0, 1) = + c+ ,
2 2
which, of course, means that c− = π + c+ . Because of the arbitrariness of the constants
added to potential functions, we may, for simplicity, let c+ = 0 . Then
y
Arctan if x > 0
x
y
φ(x, y) = Arctan + π if x < 0 .
x
π
if x = 0 and y > 0
2
But look at what must now happen at a point on the negative Y –axis, say, at (0, −1) .
−1 π
lim+ φ(x, −1) = lim+ Arctan = lim Arctan(t) = −
x→0 x→0 x t→−∞ 2
Testing for Exactness — Part II 153
and
−1 3π
lim− φ(x, −1) = lim− Arctan + π = lim Arctan(t) + π = .
x→0 x→0 x t→+∞ 2
So
lim φ(x, −1) 6= lim− φ(x, −1) .
x→0+ x→0
Thus, there are points in R at which φ(x, y) is not continuous, contrary to the fact that a
potential function on R must be continuous everywhere on R . And thus, the answer to our
question “Could there be a potential function φ on all of R corresponding to our differential
equation?” is “No”.
The above example illustrates that, while we can partition a non-simply connected region
into simply-connected subregions and then find all possible potential functions for our differential
equation over each subregion, it may still be impossible to “paste together” these regions and
potential functions to obtain a potential function that is well defined across all the boundaries
between the partitions.
Is this truly a problem for us, whose main interest is in solving the differential equation?
Not really. We can still solve the given differential equation. All we need to do is to choose our
simply-connected partitions reasonably intelligently.
3 = y(1) = A · 1 .
y = 3x for x >0 .
(We will leave the issue of whether we truly need to restrict x to being positive as an exercise
for the interested.)
154 The Exact Form and General Integrating Factors
Additional Exercises
7.1. For each choice of φ(x, y) given below, find a differential equation for which the
given φ is a potential function, and then solve the differential equation using the given
potential function.
a. φ(x, y) = 3x y b. φ(x, y) = y 2 − 2x 3 y
c. φ(x, y) = x 2 y − x y 3 d. φ(x, y) = x Arctan(y)
7.2. The following concern the differential equation
dy y 1
= − . (7.9)
dx 2x y
a. Verify that the above differential equation can be rewritten as
dy
2x − y 2 + 2x y = 0 ,
dx
and then verify that this is an exact form for equation (7.9) by showing that
φ(x, y) = x 2 − x y 2
is a corresponding potential function.
b. Solve equation (7.9) using the above potential function.
c. Note that we can also rewrite equation (7.9) as
2 2 2 2 dy
e x −x y 2x − y 2 + e x −x y 2x y = 0 .
dx
Show that this is also an exact form by showing that
2 −x y 2
ψ(x, y) = e x
is a corresponding potential function.
Additional Exercises 155
are also potential functions for this differential equation, though corresponding to dif-
ferent exact forms.
7.4. Each of the following differential equations is in exact form. Find a corresponding
potential function for each, and then find a general solution to the differential equation
using that potential function (even if it can be solved by simpler means).
dy
a. 2x y + y 2 + 2x y + x 2 = 0
dx
dy
b. 2x y 3 + 4x 3 + 3x 2 y 2 = 0
dx
dy
c. 2 − 2x + 3y 2 = 0
dx
dy
d. 1 + 3x 2 y 2 + 2x 3 y + 6y = 0
dx
4 dy
e. 4x 3 y + x 4 − y = 0
dx
x dy
f. 1 + ln |x y| + = 0
y dx
dy
g. 1 + e y + xe y = 0
dx
dy
h. e y + xe y + 1 = 0
dx
7.5. For each of the following differential equations,
iii. solve the given differential equation (using the integrating factor just found).
dy
a. 2y 3 + 4x 3 y 3 − 3x y 2 = 0
dx
dy
b. y + y 4 − 3x = 0
dx
dy
c. 2x −1 y + 4x 2 y − 3 = 0
dx
dy
d. 1 + [1 − x tan(y)] = 0
dx
dy
e. 3y + 3y 2 + 2x + 4x y = 0
dx
156 The Exact Form and General Integrating Factors
dy
f. 2x(y + 1) − = 0
dx
dy
g. 1 + y 4 + x y 3 = 0
dx
dy
h. 4x y + 3x 2 + 5y = 0 for y > 0
dx
x dy
i. 6 + 12x 2 y 2 + 7x 3 y + = 0
y dx
a. Show that, if P is a function of x only (so all the y ’s cancel out), then
R
P(x) dx
µ(x) = e