0% found this document useful (0 votes)
14 views14 pages

SLIDESSeparable DE

The document discusses how to solve separable differential equations. It defines separable differential equations and outlines the steps to solve them: 1) find constant solutions, 2) find implicit solutions by integrating both sides, and 3) solve the implicit equation for an explicit solution in terms of x. An example solves the equation y' = (x+1)y using these steps.

Uploaded by

basmaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views14 pages

SLIDESSeparable DE

The document discusses how to solve separable differential equations. It defines separable differential equations and outlines the steps to solve them: 1) find constant solutions, 2) find implicit solutions by integrating both sides, and 3) solve the implicit equation for an explicit solution in terms of x. An example solves the equation y' = (x+1)y using these steps.

Uploaded by

basmaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

D

TE
Separable Differential Equations

H
IG
Created by

Barbara Forrest and Brian Forrest


R
PY
O
C
Separable Differential Equations

D
Question: How do we solve the differential equation

TE
y 0 = x(y 2 + 1)?

Note: We saw that the function

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

Solving for y in terms of x gives us

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

f (x) = 1 and g(y) = y


C

3. y 0 = cos(xy) is not separable.


Solving Separable Differential Equations

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

φ 0 (x) = 0 = f (x)g(y0 ) = f (x)g(φ(x))


O

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

Note: The separable differential equation


y 0 = x(y 2 + 1)
C

has no constant solutions since y 2 + 1 > 0 for all y ∈ R.


Solving Separable Differential Equations

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)

our last step is to try and solve the implicit equation


R G(y) = F (x) + C
PY
for y in terms of x to get our explicit solutions.
O
C
Solving Separable Differential Equations

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

are either the constant solution

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

so in this example all solutions are of the form


O

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.

However the equation can be rewritten as

R y 0 = (x + 1)y
PY
so it is separable with

f (x) = x + 1 and g(y) = y


O
C
Solving Separable Differential Equations

D
Solving the separable differential equation

TE
y 0 = f (x)g(y)

Step 1: Determine whether the DE is separable. You may have to


factor the DE to identify f (x) and 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

to solve the differential equation implicitly.


Step 4: Solve the implicit equation from Step 3 explicitly for y in terms of x.
C

Step 5: [Optional] Check your solution by differentiating y to determine if this


derivative does satisfy the original equation.

You might also like