HW 2.5 Solutions PDF
HW 2.5 Solutions PDF
HW 2.5 Solutions PDF
5 Solutions
Assigned: 1-10, 12, 13, and 14.
Solutions:
1. (2y3 + 2y2) dx + (3y2x + 2xy) dy = 0.
M/y = 6y2 + 4y
N/x = 3y2 + 2y
This equation is not exact.
This equation does not have an integrating factor that is a function of y alone.
This equation does not have an integrating factor that is a function of x alone.
x2(dy/dx) 2xy = y2
(y2 + 2xy)(dx/dy) = x2
This equation is not linear.
Note that both and are zero, so this equation has integrating factors that are functions of x
alone and y alone, respectively. (This will always be the case for exact equations, so I will not repeat this.)
(2y x)(dy/dx) y = 2x
(2x + y)(dx/dy) 2y = x
This equation is not linear.
5. (2y2x y)dx + x dy = 0
M/y = 4xy 1 1 = N/x, so this is not exact.
This equation does not have an integrating factor that is a function of x alone.
y(2yx 1)(dx/dy) + x = 0
x(dy/dx) y = 2y2x, so this equation is not linear.
NOTE: As you will see below, this equation is linear, and any linear equation has an integrating factor that
is a function of the independent variable alone, namely, .
This equation does not have an integrating factor that is a function of y alone.
NOTE: Multiplying both sides of the equation by our integrating factor 1/x2 assumed that x 0.
As we've seen above, it makes just as much sense to think of this equation, which is in differential form, as
expressing x = x(y) as a function of y. The corresponding equation, in non-differential form, is
dx/dy = x(1 xy)/(3x2 + y)
And, as you can check, the constant function x(y) 0 is a solution to this equation.
NOTE: When we multiplied by the integrating factor 1/y4 we had to assume that y 0. Consider the
function y(x) 0. As you can check, it is a solution for the equation 2xy + (y2 3x2)(dy/dx) = 0. So we
must report it as a solution as well:
NOTE: Multiplying by our integrating factor (x) = 1/x assumed that x 0. This time we do not need to
add any solution since the constant function x(y) 0 appears in the above solution when C = 0.
10. (x4 x + y)dx x dy = 0
M/y = 1
N/x = 1
Solution: x3/3 ln |x| y/x = C which can be solved for y, giving y = x4/3 x ln |x| Cx.
As has happened before, there is another solution, x(y) 0, if you're willing to consider the possibility that x
is a function of y.
===============================================================
This one is also linear: dy/dx = (x4 x + y)/x so dy/dx (1/x)y = x3 1.
So P(x) = 1/x and Q(x) = x3 1.
The integrating factor is then (x) = e (1/x) dx = eln(1/x) = 1/x. And so you get the solution
y = x4/3 x ln |x| + Cx So you get the same solution, except for that quirky x(y) 0.
===============================================================
M/y = 6xy2
N/x = 6xy2 So this one is exact!
If xnym is to be a successful integrating factor, then when we multiply both sides of the given equation by it:
(2xnym+2 6xn+1ym+1) dx + (3xn+1ym+1 4xn+2ym) dy = 0
we should end up with an exact equation. So the partials
M/y = 2(m + 2)xnym+1 6(m + 1)xn+1ym = xnym[2(m + 2)y 6(m + 1)x]
and
N/x = 3(n + 1)xnym+1 4(n + 2)xn+1ym = xnym[3(n + 1)y 4(n + 2)x]
must be equal. So we'd need
xnym[2(m + 2)y 6(m + 1)x] = xnym[3(n + 1)y 4(n + 2)x]
2(m + 2)y 6(m + 1)x = 3(n + 1)y 4(n + 2)x
To assure this, we would need two things:
2(m + 2) = 3(n + 1), or
2m + 4 = 3n + 3, or
2m 3n = 1
and
6(m + 1) = 4(n + 2), or
3(m + 1) = 2(n + 2), or
3m 2n = 1
So we need to solve the system
2m 3n = 1
3m 2n = 1
Solving the first equation for m: m = (3n 1)/2.
Substituting in the second equation: (3/2)(3n 1) 2n = 1, and solving. . .
3(3n 1) 4n = 2
9n 3 4n = 2
5n = 5
n=1
m = (3(1) 1)/2 = 1.
Now to solve the differential equation. First I'll use the integrating factor multiply both sides by xy.
(2xy3 6x2y2)dx + (3x2y2 4x3y)dy = 0
Check (for exactness of the new equation):
M(x, y) = 2xy3 6x2y2 and N(x, y) = 3x2y2 4x3y
(it checks)
Solve:
So this time we'd need 12m + 5(m + 1)xy = 6(n + 1) + 3(n + 2)xy
Which means we'd need
12m = 6(n + 1) and 5(m + 1) = 3(n + 2)
2m = n + 1 and 5m = 3n + 1
n = 2m 1 and 5m = 3(2m 1) + 1 = 6m 2.
So m = 2 and n = 3, which means that our integrating factor is x3y2.