





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!






Lesson 3: Separable Equations
Sometimes we can solve a differential equation by integration:
Example:
dy dt
= t^3 ⇒ y(t) =
t^4 + C.
Sometimes we might have to manipulate things a little:
Example: dy dx
y x
} Note y = 0 is a solution. Then divide by y and multiply by dx
dy y
= dx x
⇒
dy y
dx x
ln |y| = ln |x|+Constant
= ln |x| + ln C
= ln C|x|
⇒ |y| = C|x|
⇒ y = cx, where c is any real number is the general solution.
dx x
Here with solutions through (1, 4), (1, 1) and (2, 1).
This is how the textbook defines it:
Definition: A first-order differential equation is SEPARABLE if it can be writ- ten as h(y)y ′^ = g(x).
Examples:
(A) Solve y ′^
x = − (^) y.
y · y ′^ = −x
y^2 = −^1 2
x^2 + Constant
⇒ x^2 + y^2 = C
Note: C ≥ 0 so C = a^2 for some a ≥ 0. Then the above can be rewritten as x^2 + y^2 = a^2 , which is a circle of radius a.
y =
a^2 − x^2 if y(x 0 ) > 0
y = −
a^2 − x^2 if y(x 0 ) < 0
(B) Solve the IVP y ′^
x = − , y(1) y
By part (A), and due to the negative initial y-value, the solution is of the form (^) p y = − a^2 − x^2.
y(1) = − 2 ⇒ p − 2 = − a^2 − 12
⇒ a^2 = 5
√ ⇒ a = ± 5
So the IVP solution is y = − 5 − x^2 , where (^) |− 5 <{zx < (^5) } “Interval of validity"
Example: Solve y ′^ = xy^2 ex. Note: y = 0 is a solution.
y−^2 y ′^ = xex
y−^2 y ′^ dx =
xex^ dx
y−^2 dy =
xex^ dx
y
xex^ dx
Next integrate by parts
u dv = uv −
v du
u = x, dv = ex^ dx, du = dx, v = ex,
y
= xex^ −
ex^ dx
y
= xex^ − ex^ + C
⇒ y =
xex^ − ex^ + C
( or y = 0)
Example: A previous example had x^2 +y^2 = a^2 as a general solution to y′^ = −
x y
This is an implicit solution to y′^ = −x y
Note that
y =
a^2 − x^2
y = −
a^2 − x^2
gives an explicit solution.