Professional Documents
Culture Documents
SMA 2271 Lec Civil
SMA 2271 Lec Civil
HOMOGENEOUS EQUATION
1. A differential equation is homogeneous if it has the form
y
y f
x
e.g.
x y
y cos
y x
y
y which may be written as
x y
y y
y x x x0
x y 1 y
x x x
u ux f u
or
du
x u f u
dx
This is a separable equation
du
x f u u
dx
1 1
du dx
f u u x
Example 1
Solve the homogeneous equation
dy
xy x2 y 2
dx
Solution
Diving the equation through by x 2
2
y dy y
1
x dx x
dy du
Let u y y ux ux
x dx dx
On substituting in equation
du
u u x 1 u2
dx
du
ux 1
dx
1
u du x dx
1 2
u ln x ln C
2
2
y
u 2 ln Cx
2
ln Ax 2
x
Example 2
dy
Solve the homogeneous equation x 2 x 2 xy y 2
dx
Solution
Diving the equation through by x 2
2
dy y y
1
dx x x
dy du
Let u y y ux ux
x dx dx
On substituting in equation
du
ux 1 u u2
dx
du
x 1 u2
dx
du 1
1 u 2 x dx
tan 1 u ln x ln C tan 1 u ln Cx
y
tan 1 ln Cx
x
Example 3
dy
Solve the homogeneous equation xy x2 y 2
dx
Solution
x2 x2 2 y 2 A
Exercise
Solve the following homogeneous equation
dy
a) 3x 2 y2
dx
b) x 2 y 2 xy
dy
dx
dy
c) x x y
dx
dy
d) 4 x y 4 x
dx
y 2 x x2 y 2
dy
e) xy
dx
is an exact equation. We can write from the first terms on the LHS
d dy dF
Fy F y (2)
dx dx dx
F e
P x dx
Example 1
dy
Solve the differential equation 3 y e2 x given that y 0 6
dx 5
Solution
dy
3 y e2 x
dx
P x 3 F e
3 dx
e3 x
dy
e3 x 3e3 x y e5 x
dx
d
dx
ye3 x e5 x
ye e5 x dx
3x
1
e5 x C
5
1
The general solution is given by y e2 x Ce3 x
5
x0 y6 6 1 C C 1
5 5 5
1
y e2 x e3 x
5
Example 2
dy
Solve the initial value problem 2 xy x given that y 0 1
dx 2
Solution
dy
2 xy x
dx
P x 2x F e
2 x dx
ex
2
dy
2 xe x y xe x
2 2 2
ex
dx
d
dx
2
ye x xe x
2
ye xe x dx
x2 2
1 2
ex C
2
1 2
y e x Ce x
2
The general solution is given by
2
x0 y1 1 1 C C 1
2 2 2
1 2
y e x e x
2
2
Example 3
dy
Solve y tan x sin 2 x given that y 0 1
dx
Solution
y 3cos x 2cos2 x
dy
y tan x sin 2 x
dx
P x tan x F e
tan x dx
eln sec x sec x
dy
sec x y sec x tan x sec x sin 2 x
dx
d
y sec x sec x sin 2 x
dx
y sec x sec x sin 2 x dx
sec x 2 cos x sin x dx
2sin x dx
2 cos x C
The general solution is given by
y 2cos2 x C cos x
x 0 y 1 1 2 C C 3
y 3cos x 2cos2 x
Exercise
1. Solve the initial value problems
a) y 3 y 12 y 0 6
b) y 2 xy 4 x y 0 3
c) y ky e kx y 0 5
2. Find the general solution on the differential equation
a) y 4 y 0.8
b) y 3 y e3 x
c) xy 2 y 9 x
d) xy 2 y 4e x
2
e) xy 2 y x3e x
f) xy 3 y 5x
BERNOULLI EQUATIONS
An equation of the form
dy
P x y Q x yn Where n is any real number
dx
Is known as a Bernoulli equation
If n = 0 or 1 the equation is linear otherwise it is non-linear
Theorem
If n 0 or 1 the transformation v y1n reduces the Bernoulli equation to a linear equation
Proof
dy
P x y Q x yn (1)
dx
Multiplying (1) by y n
dy
yn P x y1n Q x (2)
dx
Let v y1n then
dv dy dy y n dv
1 n y n (3)
dx dx dx 1 n dx
y n dv
P x v Q x
1 n dx
Or
dv
1 n P x v 1 n Q x (4)
dx
dv
M x v N x This is linear in v
dx
Example 1
dy
Solve the equation y xy 3
dx
Solution
This is a Bernoulli equation with n 3 multiplying the equation by y 3 we get
dy
y 3 y 2 x .................................................. (A)
dx
dy y 3 dv
v y1n y 2
dx 2 dx
1 2 x
xe2 x
xe C
2
1
ve 2 x xe 2 x xe 2 x C
2
1
v 2 x 1 Ce 2 x
2
1 1
2 2 x 1 Ce 2 x
y 2
Example 2
Solve the Bernoulli equation 4 y y 1 2 x y 5
Solution
This is a Bernoulli equation with n 5 multiplying the equation by y 5 we get
4 y 5 y y 4 1 2 x ................................................ (A)
dy y 5 dv
v y1n y 4
dx 4 dx
dy
v 1 2x
dx
dy
v 2x 1
dx
This is linear
F x e
dx
e x
dy
e x ve x 2 xe x e x
dx
d
dx
ve x 2 xe x e x
ve 2 x 2 xe x e x dx
2 xe x 2e x dx e x C
2 xe x 2e x e x C
2 xe x e x C
v 2 x 1 Ce x
1
4
Ce x 2 x 1
y
Example 3
1
Solve the Bernoulli equation y y 6 x 2 y 2
x
Solution
y 3x3 Cx 3
2
Exercise
Solve the differential equations
a) y xy xy 2
1
b) y y x 4 y 2
x
1 2
c) y y 2 y
x x
d) 2 xy y 10 x3 y 5
dy
e) x 4 2 x3 y 1
dx