SLIDESSeparable DE
SLIDESSeparable DE
TE
Separable Differential Equations
H
IG
Created by
D
Question: How do we solve the differential equation
TE
y 0 = x(y 2 + 1)?
H
x2
IG
y = tan( )
2
satisfies the above equation but how did we discover this?
R
We can divide by y 2 + 1 to get
PY
y0
=x
y2 + 1
Integrating both sides with respect to x gives
O
y0
Z Z
C
dx = x dx
y2 + 1
Separable Differential Equations
D
Question Cont’d: How do we solve the differential equation
y 0 = x(y 2 + 1)?
TE
Since y = y(x), we can apply the Change of Variables theorem get that
H
y0
Z Z
1
dx = y 0 (x) dx
IG
y2 + 1 (y(x))2 + 1
Z
1
= dy
y2 + 1
R = arctan(y)
PY
Hence
x2
Z
arctan(y) = x dx = +C
2
O
x2
C
y = tan( + C)
2
Separable Differential Equations
D
Definition: [Separable Differential Equation]
TE
We say that a first order differentiable equation is separable if there exists
functions f = f (x) and g = g(y) such that the equation can be written
in the form
H
y 0 = f (x)g(y)
IG
Example:
R
1. y 0 = x(y 2 + 1) is separable. In this case,
f (x) = x and g(y) = y 2 + 1
PY
2. y 0 = y is separable. In this case,
O
D
Question: How do we solve a separable differential equation
TE
y 0 = f (x)g(y)
H
Step 1: Finding all constant solutions.
IG
Suppose that y0 ∈ R is such that
g(y0 ) = 0
Let
R
PY
φ(x) = y0
for all x ∈ R. Then
for each x ∈ R.
C
Solving Separable Differential Equations
D
TE
H
Definition: [Constant Solutions to Separable DE’s]
If
IG
y 0 = f (x)g(y)
is a separable differential equation and if y0 ∈ R is such that g(y0 ) = 0,
then
R φ(x) = y0
PY
is called a constant or equilibrium solution to the differential equation.
O
C
Solving Separable Differential Equations
D
Example: Find all constant solutions to the equation
TE
y 0 = y(1 − y)
Solution : We have
H
f (x) = 1 and g(y) = y(1 − y)
IG
Therefore, g(y0 ) = 0 if
y0 = 0 or y0 = 1
R
The constant solutions are
PY
ϕ(x) = 0 or ψ(x) = 1
for all x ∈ R.
O
D
Step 2: Finding all implicit solutions.
When g(y) 6= 0, we can divide by g(y) to get
TE
y0
= f (x)
g(y)
Integrating both sides with respect to x gives
H
y0
Z Z
dx = f (x) dx
IG
g(y)
Since y = y(x), the Change of Variables Theorem gives
y0
Z Z
1
R g(y)
dx =
Z
g(y(x))
1
y 0 (x) dx
PY
= dy
g(y)
Hence Z Z
1
G(y) = dy = f (x) dx = F (x) + C
O
g(y)
The expression
C
G(y) = F (x) + C
is called an implicit solution to our equation.
Solving Separable Differential Equations
D
TE
Step 3: Finding all explicit solutions.
Given the equation
H
1
Z Z
IG
G(y) = dy = f (x) dx = F (x) + C
g(y)
D
Example: Find all solutions to the equation
TE
y 0 = (x + 1)y
H
Step 1: Since g(y) = y , the only y0 such that g(y0 ) = 0 is y0 = 0.
Therefore,
IG
y(x) = 0
is the only constant solution.
R
Step 2: If y 6= 0, we have
Z
1
Z
PY
dy = (x + 1) dx
y
so
x2
ln(| y |) = +x+C
O
2
where C is an arbitrary constant.
C
Solving Separable Differential Equations
D
Step 3: Since
x2
ln(| y |) = +x+C
TE
2
we get
|y| = eln(|y|)
x2
H
+x+C
= e 2
x2
= eC e 2
+x
IG
x2 +x
= C1 e 2
R
where C1 = eC > 0.
However,
PY
x2 +x
| y |= C1 e 2
means that
x2 +x
y = ±C1 e 2
O
x2 +x
= C2 e 2
C
where C2 = ±C1 6= 0.
Solving Separable Differential Equations
D
Remark: The solutions to the equation
TE
y 0 = (x + 1)y
H
y(x) = 0
IG
or the solutions of the form
x2
+x
y = Ce 2
where C 6= 0.
R
PY
Observe that
x2
+x
y =0=0·e 2
x2
+x
y = Ce 2
C
where C ∈ R.
Solving Separable Differential Equations
D
TE
Remark: It may not be immediately obvious that an differential equation
is separable. For example
H
y 0 = xy + y
IG
does not immediately look separable.
R y 0 = (x + 1)y
PY
so it is separable with
D
Solving the separable differential equation
TE
y 0 = f (x)g(y)
H
Step 2: Determine the constant solution(s) by finding all the values y0 such that
IG
g(y0 ) = 0. For each such y0 , the constant function
y = y(x) = y0
is a solution.
R
Step 3: If g(y) 6= 0, integrate both sides of the following equation
PY
Z Z
1
dy = f (x) dx
g(y)
O