Day 5 Separable Equations
Day 5 Separable Equations
Day 5 Separable Equations
Separable Equations
Elementary Differential Equations and Boundary Value Problems
William E. Boyce and Richard C. DiPrima
• In this section we examine a subclass of linear and nonlinear
first order equations. Consider the first order equation
dy
= f ( x, y )
dx
• We can rewrite this in the form
dy
M ( x , y ) + N ( x, y ) =0
dx
• For example, let M(x,y) = − f (x,y) and N (x,y) = 1. There may
be other ways as well. In differential form,
M ( x, y )dx + N ( x, y )dy = 0
• If M is a function of x only and N is a function of y only, then
M ( x)dx + N ( y )dy = 0
• In this case, the equation is called separable.
Example 1: Solving a Separable Equation
2 2 4
(1 − y )dy = (x )dx
2
2 2
x t
4 2 2 4
1 3 1 3
y− y = x +C
3 3 2
3 y − y = x3 + C
3
4
y = 1 + x3 + 2 x 2 + 2 x + 4
Example 2: Domain (4 of 4)
(4 + y )dy = (4 x − x )dx
3 3
1 1
4y + y4 = 2x2 − x4 + c
4 4
y 4 + 16 y + x 4 − 8 x 2 = C where C = 4c
• Using the initial condition, y(0) = 1, it follows that C = 17.
y 4 + 16 y + x 4 − 8 x 2 = 17
4 x − x3
y = , y(0) = 1
4 + y3
Example 3: Graph of Solutions (2 of 2)
• Thus the general solution is y 4 + 16 y + x 4 − 8x 2 = C
and the solution through (0, 2) is y 4 + 16 y + x 4 − 8 x 2 = 17
• The graph of this particular solution through (0, 2) is shown in red
along with the graphs of the direction field and several other
solution curves for this differential equation, are shown:
• The points identified with blue 2
y