



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




A first order differential equation y′^ = f (x, y) is a separable equation if the function f can be expressed as the product of a function of x and a function of y. That is, the equation is separable if the function f has the form
f (x, y) = p(x) h(y).
where p and h are continuous functions.
The solution method for separable equations is based on writing the equation as 1 h(y) y
′ (^) = p(x)
or q(y) y′^ = p(x) (1)
where q(y) = 1/h(y).
Of course, in dividing the equation by h(y) we have to assume that h(y) 6 = 0. Any numbers r such that h(r) = 0 may result in singular solutions of the form y = r.
If we write y′^ as dy/dx and interpret this symbol as “differential y” divided by “differential x,” then a separable equation can be written in differential form as
q(y) dy = p(x) dx.
This is the motivation for the term “separable,” the variables are separated.
Solution Method for Separable Equations
Step 1. Identify: Can you write the equation in the form (1). If yes, do so.
In expanded form, equation (1) is
q(y(x)) y′(x) = p(x).
Step 2. Integrate this equation with respect to x: ∫ q(y(x)) y′(x) dx =
p(x) dx + C C an arbitrary constant
which can be written (^) ∫ q(y) dy =
p(x) dx + C
by setting y = y(x) and dy = y′(x) dx. Now, if P is an antiderivative for p, and if Q is an antiderivative for q, then this equation is equivalent to
Q(y) = P (x) + C. (2)
INTEGRAL CURVES Equation (2) is a one-parameter family of curves called the integral curves of equation (1). In general, the integral curves define y implicitly as a function of x. These curves are solutions of (1) since, by implicit differentiation,
d dx [Q(y)]^ =^
d dx [P^ (x)] +^
d dx [C] q(y) y′^ = p(x).
Example 1. The differential equation
y′^ = − x y (y 6 = 0)
is separable since f (x, y) = −(x/y) = (−x)(1/y). Writing the equation in the form (1)
y y′^ = −x or y dy = −x dx
and integrating (^) ∫
y dy = −
x dx + C,
we get 1 2 y
2 x (^2) + C or 1 2 x
2 y
which, after multiplying by 2, gives
x^2 + y^2 = 2C or x^2 + y^2 = C.
(Since C is an arbitrary constant, 2C is arbitrary and so we’ll just call it C again. This “manipulation” of arbitrary constants is standard in differential equations courses; you’ll have to become accustomed to it.)
The set of integral curves is the family of circles centered at the origin. Note that for each positive value of C, the resulting equation defines y implicitly as a function of x.
Remark we may or may not be able to solve the implicit relation (2) for y. This is in contrast to linear differential equations where the solutions y = y(x) are given explicitly as a function of x. (See equation (2) in Section 2.1.) When we can solve (2) for y, we will.
As we shall illustrate below, the set of integral curves of a separable equation may not represent the set of all solutions of the equation and so it is not technically correct to use the term “general solution” as we did with linear equations. However for our purposes here this is a minor point and so we shall also call (2) the general solution of (1). As noted above, if h(r) = 0, then y = r may be a singular solution of the equation; we will have to check for singular solutions.
is separable and find the general solution.
SOLUTION Since ey−x^ = e−xey^ we have f (x, y) = xey−x^ = xe−xey^. Thus, f can be expressed as the product of a function of x and a function of y; the equation is separable.
We have y′^ = xey−x^ = xe−xey^.
To write the equation in the form (1), divide by ey^ (i.e., multiply by e−y^ ) to get
e−y^ y′^ = xe−x.
(Note: Since e−y^6 = 0 for all y, there will be no singular solutions.)
Integrating this equation with respect to x we get ∫ e−y^ dy =
xe−x^ dx + C
−e−y^ = −xe−x^ − e−x^ + C (integration by parts)
e−y^ = xe−x^ + e−x^ + C (the general solution).
Again, the general solution gives y implicitly as a function of x. However, in this case we can solve for y by applying the natural log function:
−y = ln (xe−x^ + e−x^ + C) y = − ln (xe−x^ + e−x^ + C).
Example 4. As you can check, the differential equation
y′^ = xy + 2x
is both linear and separable so it can be solved using either method. We’ll solve it as a separable equation. You should also solve it as a linear equation and compare the two approaches.
Rewriting the equation in the form (1), we have 1 y + 2 y
′ (^) = x (y 6 = −2).
Integrating this equation, we get ∫ 1 y + 2 dy^ =
x dx + C
ln | y + 2| = 12 x^2 + C (general solution)
We can solve the latter equation for y as follows:
ln | y + 2| = 12 x^2 + C
| y + 2| = ex^2 /2+C^ = eC^ ex^2 /^2 = K ex^2 /^2 (K = eC^ , (an arbitrary constant)
By allowing K to take on both positive and negative values, we can write the general solution as y + 2 = K ex^2 /^2 or y = K ex^2 /^2 − 2.
If we set K = 0 we get y = −2 so this solution is included in the general solution; y = − 2 is not a singular solution.
Exercises 2.
Find the general solution and any singular solutions. If possible, express your general solution in the form y = f (x).
y′^ = xy^1 /^2.
y′^ = y sin(2x + 3).
y′^ = 3x^2 (1 + y^2 ).
y′^ − xy^2 = x.
dy dx =
sin^2 y 1 − x^2.
2 1 + x^2.
x
Find a solution of the initial-value problem.
dy dx =^
y x + √xy.
(^2) ey/x (^) + y 2 xy
(^4) + 2y 4 xy^3
( (^) y x
x^2 − y^2 x.