Professional Documents
Culture Documents
Linear equations
dy
p( x) y q ( x)
Example
dx
1
dy 1 p ( x)
y x2 x2
dx x 2
q( x) x 2
How to solve Linear equations
e p ( x ) dx
y q( x) dx
Example 1
solution
dy
x4
4x y x
3 8
x4
dx
4
dy 4 p( x)
Then y x4 x
dx x q( x) x 4
Thus
4
e p ( x ) dx
e x
dx
e 4 Ln x
e Ln x 4
x 4
y q( x) dx
x y x x dx x dx
4 4 4 8
Then
9 5
x x c
x y c
4
y 4
9 9 x
Example 2
solution
dy p( x) 2 x
2 xy x
dx q( x) x
Then
e p ( x ) dx
e 2 x dx
e x2
The solution will be such that
y q( x) dx
2
e x2
y e x2
x dx
2
1 x2
e c e x2
Then
2
1
y ce x2
2
Example 3
solution
dy p( x) tan x
y tan x sin 2 x
dx q( x) sin 2 x
Then
sin x
e p ( x ) dx
e tan x dx
e cos x
dx
e Ln cos x
1
Ln cos x
e e Ln sec x
sec x
The solution will be such that
y q( x) dx
sec x sec x
5. Bernoulli's equations
dy
p ( x) y q ( x) y n , n 1
dx
To solve Bernoulli’s equation we have to follow the following transformation
1 n
zy
dz n dy
(1 n) y
dx dx
Then the equation will be transformed to be a linear equation and could be solved
1/ 3 dy 3 11/ 3
y y x 4
dx x
1/ 3 dy 3 2/3
y y x4
dx x
dz 2 1/ 3 dy 3 dz 1/ 3 dy
Then let z y2/3 y OR y
dx 3 dx 2 dx dx
3 dz 3 2
z x4
2 dx x 3
2
p( x)
dz 2 2 4 x
z x 2 4
dx x 3 q( x) x
3
2
e p ( x ) dx
e x
dx
e 2 Ln x
e Ln x 2
x 2
Now
z q( x) dx
2 4 2 2 2 3
x z x
2 2
x dx x dx x c
3 3 9
But
z y2/3
2 2 3
x y 2/3
x c
9
Example 2
solution
dz p( x) 1
z x q ( x) x
dx
e p ( x ) dx
e 1 dx
e x
z q( x) dx
e z x e dx
x x
x
ux dv e dx
x
du dx ve
e z xe e dx
x x x
x x
xe e c
But
z y 1
x 1 x x
e y xe e c