2.2 - Seperable & Homogeneous Equations
2.2 - Seperable & Homogeneous Equations
then, if you wish, terms involving each variable may be placed on opposite sides of the
equation. The differential form (5) is also more symmetric and tends to suppress the distinction
between independent and dependent variables.
A separable equation can be solved by integrating the functions M and N . We illustrate
the process by an example and then discuss it in general for equation (4).
EXAMPLE 1
Solution:
If we write equation (6) as
dy
−x 2 + ( 1 − y 2 ) = 0, (7)
dx
then it has the form (4) and is therefore separable. Recall from calculus that if y is a function of x,
then by the chain rule,
d d dy dy
f ( y) = f ( y) = f ( y) .
dx dy dx dx
▼
Boyce 9131 Ch02 2 September 29, 2016 17:16 34
Thus the second term in equation (7) is the derivative with respect to x of y − y 3 /3, and the first
term is the derivative of −x 3 /3. Thus equation (7) can be written as
d x3 d y3
− + y− = 0,
dx 3 dx 3
or
d x3 y3
− +y− = 0.
dx 3 3
Therefore, by integrating (and multiplying the result by 3), we obtain
−x 3 + 3y − y 3 = c, (8)
where c is an arbitrary constant.
Equation (8) is an equation for the integral curves of equation (6). A direction field and
several integral curves are shown in Figure 2.2.1. Any differentiable function y = φ ( x) that
satisfies equation (8) is a solution of equation (6). An equation of the integral curve passing through
a particular point (x0 , y0 ) can be found by substituting x0 and y0 for x and y, respectively, in
equation (8) and determining the corresponding value of c.
y
4
–4 –2 2 4 x
–2
–4
Essentially the same procedure can be followed for any separable equation. Returning to
equation (4), let H1 and H2 be any antiderivatives of M and N , respectively. Thus
H1 ( x) = M( x) , H2 ( y) = N ( y) , (9)
we obtain
x y
M( s) ds + N ( s) ds = 0. (16)
x0 y0
Equation (16) is an implicit representation of the solution of the differential equation (4) that
also satisfies the initial condition (14). Bear in mind that to determine an explicit formula for
the solution, you need to solve equation (16) for y as a function of x. Unfortunately, it is often
impossible to do this analytically; in such cases you can resort to numerical methods to find
approximate values of y for given values of x.
EXAMPLE 2
Solution:
The differential equation can be written as
2( y − 1) dy = ( 3x 2 + 4x + 2) d x.
Integrating the left-hand side with respect to y and the right-hand side with respect to x gives
y 2 − 2y = x 3 + 2x 2 + 2x + c, (18)
where c is an arbitrary constant. To determine the solution satisfying the prescribed initial condition,
we substitute x = 0 and y = −1 in equation (18), obtaining c = 3. Hence the solution of the initial
value problem is given implicitly by
y 2 − 2y = x 3 + 2x 2 + 2x + 3. (19)
To obtain the solution explicitly, we must solve equation (19) for y in terms of x. That is a simple
matter in this case, since equation (19) is quadratic in y, and we obtain
y =1± x 3 + 2x 2 + 2x + 4. (20)
Equation (20) gives two solutions of the differential equation, only one of which, however, satisfies
the given initial condition. This is the solution corresponding to the minus sign in equation (20), so
we finally obtain
y = φ ( x) = 1 − x 3 + 2x 2 + 2x + 4 (21)
▼
Boyce 9131 Ch02 2 September 29, 2016 17:16 36
▼ as the solution of the initial value problem (15). Note that if we choose the plus sign by mistake in
equation (20), then we obtain the solution of the same differential equation that satisfies the initial
condition y( 0) = 3. Finally, to determine the interval in which the solution (21) is valid, we must find
the interval in which the quantity under the radical is positive. The only real zero of this expression
is x = −2, so the desired interval is x > −2. Some integral curves of the differential equation are
shown in Figure 2.2.2. The green curve passes through the point ( 0, −1) and thus is the solution of
the initial value problem (15). Observe that the boundary of the interval of validity of the solution
(21) is determined by the point ( −2, 1) at which the tangent line is vertical.
y
3
(–2, 1) 1
–2 –1 1 2 x
(0, –1)
–1
–2
EXAMPLE 3
Solution:
Rewriting equation (22) as
( 4 + y 3 ) dy = ( 4x − x 3 ) d x,
integrating each side, multiplying by 4, and rearranging the terms, we obtain
y 4 + 16y + x 4 − 8x 2 = c, (23)
where c is an arbitrary constant. Any differentiable function y = φ ( x) that satisfies equation (23) is
a solution of the differential equation (22). Graphs of equation (23) for several values of c are shown
in Figure 2.2.3.
To find the particular solution passing through ( 0, 1) , we set x = 0 and y = 1 in equation (23)
with the result that c = 17. Thus the solution in question is given implicitly by
y 4 + 16y + x 4 − 8x 2 = 17. (24)
It is shown by the green curve in Figure 2.2.3. The interval of validity of this solution extends on
either side of the initial point as long as the function remains differentiable. From the figure we see
that the interval ends when we reach points where the tangent line is vertical. It follows from the
differential equation (22) that these are points where 4 + y 3 = 0, or y = ( −4) 1/3 ∼
= −1.5874. From
equation (24) the corresponding values of x are x ∼ = ±3.3488. These points are marked on the graph
in Figure 2.2.3.
▼
Boyce 9131 Ch02 2 September 29, 2016 17:16 37
▼
y
–3 –2 –1 1 2 3
x
–1
(–3.3488, –1.5874) (3.3488, –1.5874)
–2
–3
Problems
In each of Problems 1 through 8, solve the given differential equation. G 19. Solve the initial value problem
x2
1. y = y = 2y 2 + x y 2 , y( 0) = 1
y
2. y + y 2 sin x = 0 and determine where the solution attains its minimum value.
G 20. Solve the initial value problem
3. y = cos2 ( x) cos2 ( 2y)
4. x y = ( 1 − y 2 ) 1/2 2 − ex
y = , y( 0) = 0
dy x −e −x 3 + 2y
5. =
dx y + ey and determine where the solution attains its maximum value.
dy x2 G 21. Consider the initial value problem
6. =
dx 1 + y2
t y( 4 − y)
dy y y = , y( 0) = y0 .
7. = 3
dx x
dy −x a. Determine how the behavior of the solution as t increases
8. = depends on the initial value y0 .
dx y
In each of Problems 9 through 16: b. Suppose that y0 = 0.5. Find the time T at which the solution
a. Find the solution of the given initial value problem in explicit first reaches the value 3.98.
form. G 22. Consider the initial value problem
G b. Plot the graph of the solution.
t y( 4 − y)
c. Determine (at least approximately) the interval in which the y = , y( 0) = y0 > 0.
solution is defined. 1+t
9. y = ( 1 − 2x) y 2 , y( 0) = −1/6 a. Determine how the solution behaves as t → ∞.
10.
y = ( 1 − 2x) / y, y( 1) = −2 b. If y0 = 2, find the time T at which the solution first reaches
the value 3.99.
11. x d x + ye−x dy = 0, y( 0) = 1 c. Find the range of initial values for which the solution lies in
12. dr/dθ = r 2 /θ , r ( 1) = 2 the interval 3.99 < y < 4.01 by the time t = 2.
13. y = x y 3 ( 1 + x 2 ) −1/2 , y( 0) = 1 23. Solve the equation
14. y = 2x/( 1 + 2y) , y( 2) = 0 dy ay + b
= ,
15. y = ( 3x 2 − e x ) /( 2y − 5) , y( 0) = 1 dx cy + d
16. sin( 2x) d x + cos( 3y) dy = 0, y( π/2) = π/3 where a, b, c, and d are constants.
Some of the results requested in Problems 17 through 22 can be 24. Use separation of variables to solve the differential equation
obtained either by solving the given equations analytically or by
dQ
plotting numerically generated approximations to the solutions. Try = r ( a + bQ) , Q( 0) = Q 0 ,
to form an opinion about the advantages and disadvantages of each dt
approach. where a, b, r , and Q 0 are constants. Determine how the solution
G 17. Solve the initial value problem behaves as t → ∞
N 25. Consider the equation through the origin, although the slope changes from one line to
another. Therefore, the direction field and the integral curves are
dy y − 4x
= . (29) symmetric with respect to the origin. Is this symmetry property
dx x−y evident from your plot?
a. Show that equation (29) can be rewritten as The method outlined in Problem 25 can be used for any
dy ( y/ x) − 4 homogeneous equation. That is, the substitution y = xv( x) transforms
= ; (30) a homogeneous equation into a separable equation. The latter equation
dx 1 − ( y/ x)
can be solved by direct integration, and then replacing v by y/ x
thus equation (29) is homogeneous. gives the solution to the original equation. In each of Problems 26
b. Introduce a new dependent variable v so that v = y/ x, or through 31:
y = xv( x) . Express dy/d x in terms of x, v, and dv/d x. a. Show that the given equation is homogeneous.
c. Replace y and dy/d x in equation (30) by the expressions b. Solve the differential equation.
from part b that involve v and dv/d x. Show that the resulting G c. Draw a direction field and some integral curves. Are they
differential equation is symmetric with respect to the origin?
dv v −4 dy x 2 + x y + y2
v+x = , 26. =
dx 1−v dx x2
or dy x + 3y 2
2
27. =
dx 2x y
dv v2 − 4
x = . (31) dy 4y − 3x
dx 1−v 28. =
dx 2x − y
Observe that equation (31) is separable. dy 4x + 3y
d. Solve equation (31), obtaining v implicitly in terms of x. 29. =−
dx 2x + y
e. Find the solution of equation (29) by replacing v by y/ x in
dy x 2 − 3y 2
the solution in part d. 30. =
f. Draw a direction field and some integral curves for dx 2x y
equation (29). Recall that the right-hand side of equation (29) dy 3y 2 − x 2
31. =
actually depends only on the ratio y/ x. This means that integral dx 2x y
curves have the same slope at all points on any given straight line
Equations
Differential equations are of interest to nonmathematicians primarily because of the possibility
of using them to investigate a wide variety of problems in the physical, biological, and social
sciences. One reason for this is that mathematical models and their solutions lead to equations
relating the variables and parameters in the problem. These equations often enable you to make
predictions about how the natural process will behave in various circumstances. It is often easy
to vary parameters in the mathematical model over wide ranges, whereas this may be very
time-consuming or expensive, if not impossible, in an experimental setting. Nevertheless,
mathematical modeling and experiment or observation are both critically important and
have somewhat complementary roles in scientific investigations. Mathematical models are
validated by comparison of their predictions with experimental results. On the other hand,
mathematical analyses may suggest the most promising directions to explore experimentally,
and they may indicate fairly precisely what experimental data will be most helpful.
In Sections 1.1 and 1.2 we formulated and investigated a few simple mathematical models.
We begin by recapitulating and expanding on some of the conclusions reached in those
sections. Regardless of the specific field of application, there are three identifiable steps that
are always present in the process of mathematical modeling.
Step 1: Construction of the Model. In this step the physical situation is translated into
mathematical terms, often using the steps listed at the end of Section 1.1. Perhaps most critical
at this stage is to state clearly the physical principle(s) that are believed to govern the process.
For example, it has been observed that in some circumstances heat passes from a warmer to
a cooler body at a rate proportional to the temperature difference, that objects move about
in accordance with Newton’s laws of motion, and that isolated insect populations grow at
a rate proportional to the current population. Each of these statements involves a rate of