SEPARABLE ODEs
SEPARABLE ODEs
SEPARABLE ODEs
(y − 1)dy = (x + 1)dx
2 2
1 3 1
y − y = x3 + x + C
3 3
y 3 − 3 y = x 3 + 3x + C
The equation above defines the solution y implicitly. A graph
showing the direction field and implicit plots of several
integral curves for the differential equation is given above.
Example 2:
Implicit and Explicit Solutions (1 of 4)
Solve the following first order nonlinear equation:
dy 3x 2 + 4 x + 2
=
dx 2( y − 1)
Separating variables and using calculus, we obtain
( )
2( y − 1)dy = 3x 2 + 4 x + 2 dx
(
2 ( y − 1)dy = 3x 2 + 4 x + 2 dx )
y 2 − 2 y = x3 + 2 x 2 + 2 x + C
The equation above defines the solution y implicitly. An
explicit expression for the solution can be found in this case:
(
y − 2 y − x + 2x + 2x + C = 0 y =
2 3 2
)2 4 + 4 x 3
(+ 2 x 2
+ 2x + C )
2
y = 1 x3 + 2 x 2 + 2 x + C
Example 2: Initial Value Problem (2 of 4)
Suppose we seek a solution satisfying y(0) = -1. Using the
implicit expression of y, we obtain
y 2 − 2 y = x3 + 2 x 2 + 2 x + C
(−1) 2 − 2(−1) = C C = 3
Thus the implicit equation defining y is
y 2 − 2 y = x3 + 2 x 2 + 2 x + 3
Using explicit expression of y,
y = 1 x3 + 2 x 2 + 2 x + C
−1 = 1 C C = 4
It follows that
y = 1 − x3 + 2 x 2 + 2 x + 4
Example 2: Initial Condition y(0) = 3 (3 of 4)