Math 251 L4
Math 251 L4
MATH 251
F.A.Wireko, PhD
Email:fawireko.myclaz@gmail.com
Department of Mathematics
February 5, 2025
g (x) r (y ) dy
+ =0 (5)
h(x) s(y ) dx
F.A.Wireko, PhD Email:fawireko.myclaz@gmail.com Differential Equations 4 / 33
Cont...
Equation (2) has now been separated into each variable x and y .
Integrating both sides of equation (5) we get
Z Z
g (x) r (y )
dx + dy = c (6)
h(x) s(y )
(a).
dy x2
=
dx 1 + y2
(b).
dy x − e −x
=
dx y + ey
(c).
dy x2
=
dx y (1 + x 3 )
(a)
Separating the variables,
(1 + y 2 )dy = x 2 dx
Integrating both sides we get,
Z Z
(1 + y )dy = x 2 dx
2
Z Z Z
2
1dy + y dy = x 2 dx
y3 x3
y+ = +c
3 3
3y + y 3 − x 3
=c
3
F.A.Wireko, PhD Email:fawireko.myclaz@gmail.com Differential Equations 7 / 33
Cont...
(b)
Separating variables
(y + e y )dy = (x − e −x )dx
(y + e y )dy − (x − e −x )dx = 0
Integrating both sides, we get
Z Z
(y + e )dy − (x − e −x )dx
y
y2 x2
+ ey − + e −x = c
2 2
y2 − x2
e y + e −x + =c
2
F.A.Wireko, PhD Email:fawireko.myclaz@gmail.com Differential Equations 8 / 33
Cont...
(c)
Separating of variables,
y (1 + x 3 )dy = x 2 dx
x2
=⇒ ydy = dx
1 + x3
Integrating both sides,
x2
Z Z
ydy = dx
1 + x3
y2 1
− ln(1 + x 3 ) = c
2 3
r
2
y =± ln(1 + x 3 ) + 2c
3
F.A.Wireko, PhD Email:fawireko.myclaz@gmail.com Differential Equations 9 / 33
Cont...
Hence
r
2
y =± ln(1 + x 3 ) + c
3
Separating variables
dy 3x 2 − e x
=
dx 2y − 5
(2y − 5)dy = (3x 2 − e x )dx
Integrating both sides,
Z Z
(2y − 5)dy − (3x 2 − e x )dx = 0
y 2 − 5y − x 3 + e x = c
=⇒ 12 − 5(1) + 1 = c
c = −3
The particular solution becomes
y 2 + 5y − x 3 − e x + 3 = 0
y ′ = e −y (2x − 4) y (5) = 0
Separating variables,
e y dy = (2x − 4)dx
Integrating both sides
Z Z
y
e dy = (2x − 4)dx
e y = x 2 − 4x + c
1 = 25 − 20 + c, c = −4
=⇒ e y = x 2 − 4x − 4
y (x) = ln(x 2 − 4x − 4)
The interval of validity :
x 2 − 4x − 4 > 0
√
The quadratic will be zero at the points x = 2 ± 2 2.
Possible intervals of validity are
√ √
-∞ < x < 2 - 2 2, 2 + 2 2 < x < ∞.
F.A.Wireko, PhD Email:fawireko.myclaz@gmail.com Differential Equations 16 / 33
Example
dy e y e −x (1 + x 2 )
=
dx cos(y )
Separating Variables
e −y
(sin(y ) − cos(y )) = −e −x (x 2 + 2x + 3) + c
2
e −y 5
(sin(y ) − cos(y )) = −e −x (x 2 + 2x + 3) + (9)
2 2
2x + y
f (x, y ) =
x 2y 2
2(λx) + (λy ) 2λx + λy λ(2x + y )
f (λx, λy ) = 2 2
= 2 2 2 2 =
(λx) (λy ) λ x λ y λ4 x 2 y 2
2x + y
f (λx, λy ) = λ−3
x 2y 2
f (λx, λy ) = λ−3 f (x, y )
The function is homogeneous of degree -3
y y
f (x, y ) = e x + tan
x
λy λy
=⇒ f (λx, λy ) = e λx + tan
λx
f (λx, λy ) = λ0 f (x, y )
The function is homogeneous of degree 0
(x 2 + y 2 )dx − 2xydy = 0
ln |x| = − ln 1 − v 2 + ln |c| ,
c
ln |x| = ln
1 − v2
We get
sin−1 v = lnx + lnc
Replacing the original variables, using v = y /x. We get
y −1
sin−1 = lnxc =⇒ xc = e sin (y /x)
x
(4). 2xy dy 2 2
dx = x + y ; y(1) = 0