Professional Documents
Culture Documents
F x g y
dx dy 0
f x G y
Example:
Solve the initial value problem
dy 2x
y 0 2
dx y x 2 y
Solution:
We have
dy 2x
dx y 1 x 2
Or
2x
ydy dx
1 x2
On integrating, we obtain
y2
ln 1 x 2 c
2
y 2 ln 1 x 2 c
1/ 2
Now, y (0) 2
2 2 ln1 c
1/ 2
We must take negative sign of the radical and this gives c=4
Hence
y 2 ln 1 x 2 4
1/ 2
y
u x q x dx C
u x
where u(x) =e
p x dx
The function u(x) is called the integrating factor. If it is an initial value problem then we use it to
find the constant C.
Example:
Solve the initial value problem
Solution:
The equation is already in the standard form
dy
p x y q x
dx
2
With p(x) =tan x , q(x) = cos x
Further, because
2 sin 0 C cos 0
C2
Therefore the solution of the initial value problem is
y sin x 2 cos x
we take c1 A and c 2 B
Solution:
1st we find its C.F. We write it as
D 2
a 2 y sec ax
m2 a 2 0
m ai
C.F c1 cos ax c2 sin ax
1 x
y log sec ax c2 cos ax c1 sin ax
a a
x 1
y c1 sin ax c2 cos ax sin ax cos ax log sec ax
a a
f x, y
Is called an exact differential if there exist a function of two real variables such that the
expression equals the total differential df . We know from calculus that
f f
df dx dy
x y
M x, y dx N x, y dy 0
f x, y
Is an exact differential equation, then there exists a function such that
f f
df dx dy
x y
=M x, y dx N x, y dy
f f
M and N
Therefore, x y
f
M
Integrating x with respect to x, we have
f Mdx h y .............(2)
The constant of integration is an arbitrary function of y since it must vanish under differentiation
w.r.t x.
Differentiating (2) w.r.t y, we get
f
y y
Mdx h y '
N
y
Mdx h y
'
i.e.
h' y N
y
Mdx
Or,
f x, y c
Integrating w.r.t y, we obtain h and hence is the required solution of (1).
Example:
Solve
3x 2
y 2 dx x 3 y dy 0
Solution:
We have
3x 2
y 2 dx x3 y dy 0...............(1)
M N
3x 2 , 3x2
y x
M N
i.e =
y x
Hence the solution is exact. To find the solution of (1) we note that the left hand side of the
f x, y
equation is an exact differential. Hence there exists a function such that
f
=3x 2 y+2.............(2)
x
f 3
=x +y ..................(3)
y
f x, y x 3 y 2 x h y
h y
Where is the constant of integration. Differentiating the above equation w.r.t y and using
(3), we obtain
f 3
=x h ' y x 3 y
y
h' y y
Or
Integrating, we have
y2
h y
2
y2
f x, y x 3 y 2 x
Thus 2
y2
x y 2x
3
c
2
Alternatively
Integrating (1) and (2) we have
f x, y x 3 y 2 x h y
y2
=x 3 y g x
2
y2
h y and g x 2x
Thus 2
The general solution of is
y2
x3 y 2 x c
2
Bernoulli’s equation
Definition: An equation of the form
dy
P x y Q x y n .................(1)
dx
Is called a Bernoulli differential equation. This equation is linear if n=0 or 1. If n is not zero or 1,
n
then (1) is reducible to linear differential equation. Dividing by y , (1) becomes
dy
y n P x y1 n Q x ............(2)
dx
1 n
In (2), put v y , then it reduces to
dv
1 n P x v 1 n Q x
dx
Which is linear in v.
Example:
1
dy xy
xy 2
Solve dx 1 x 2
Solution:
1
dy xy
xy 2
.............(1)
We have dx 1 x 2
1 1
dy x
y2 y 2
x..............(2)
dx 1 x 2
1
put y2 v
1 21 dy dv
or y
2 dx dx
Then (2) reduces to
dv x x
v ................(3)
dx 2 1 x
2
2
This is linear in v.
1
1
x 2
I .F exp dx exp ln 1 x 1 x
2 4
2 1 x
2 4
1
Multiplying (3) by
1 x2 4
, we get
1
dv x x
1 x 2 4
dx 2 1 x
v
2 1 x2
2 5/ 4 1/ 4
d 1
1
1 x v 2 x 1 x
2 4 2 1/ 4
dx 4
Integrating, we have
1 1 x
2 3/ 4
v 1 x
2 1/ 4
c
4 3/ 4
1
1 x2
v c 1 x2 4
Or 3
1
1
1 x2
y 2 c 1 x2 4
Or 3