Solution of First Order and First Degree Differential Equations by Various Methods
Solution of First Order and First Degree Differential Equations by Various Methods
various methods
e dy = e ax dx
− by
e ax e − by
+ +c =0
a b
Hence the requered solution.
dy 1− y2
2. + =0
dx 1 − x2
Solution:
Intergating,
3. (e x
+ 1) ydy = ( y + 1) e x dx
4. y x 2 − 1 dx + x y 2 − 1 dy = 0
5. x 1 − y 2 dx + y 1 − x 2 dy = 0
6. x ( e y + 4 ) dx + e x + y dy = 0
dy
7. sin −1 = x + y Hence x + y = v
dx
dy
8. + 1 = e x− y
dx
9. y (1 + xy ) dx + x (1 − xy ) dy = 0
xdy − ydx
10. xdx + ydy + =0
x2 + y 2
11. xdx + ydy + ( x 2 + y 2 )dy = 0
12. ( x + y )(dx − dy ) = dx + dy
13. ( x + y )dy + ( x − y )dx = 0
dy y 2 + y + 1
14. ( i ) + =0
dx x 2 + x + 1
15. ( i ) a( xdx + ydy) + b( x 2 + y 2 + c) ydy = 0; ( ii ) ydx + (1 + x 2 ) tan −1 xdy = 0; ( iii ) ( x 2 + y 2 + x ) dx + xydy = 0.
Equation reducible to the form in which variable are separable
dy
1. = sin( x + y ) + cos( x + y )
dx
dy dy dy
2. ( i ) = y − x ; ( ii )( x + y + 1) dx − ( 2 x + 2 y + 1) dy = 0; ( iii ) sin −1 = x + y; ( iv ) cos −1 = x + y;
dx dx dx
dy dy dy 2 dy
(i ) = ( 4 x + y + 1) ; ( ii ) = (2 x + 3 y − 5) 2 ; ( iii )( x + y + z ) = 1( iv )( x + y ) = a2
2
3.
dx dx dx dx
Homogeneous Differential Equations: An equation of the form
dy
= f ( x, y )
dx
is called a homogeneous differential equation, where f ( x, y ) is a homogeneous function
of degree zero.
4. (x 2
+ y2 )
dy
dx
= xy
5. xdy − ydx = x 2 + y 2 dx
dy y y 2
= + 2 ; ( ii ) ( xy + y 2 ) dx + ( xy − x 2 ) dy = 0; ( iii ) ( x 2 + y 2 ) = xy; ( iv ) xdy − ydx = x 2 + y 2 dx; ( v ) ( x 2 + y 2 ) dx = 2 x 2dy
dy
6. (i ) 2
dx x x dx
y y3
( )( )
y y dy y y dy 2
()
i x cos dy + x sin − y cos dx = 0; ii x 3
+ y 3
dy = x 2
ydx; ( )
iii = + sin ; ( )
iv + y =
x x x dx x x dx x x3
( v ) ( x 2 + y 2 ) dx − 2 xydy = 0; ( vi ) (1 + e x / y ) dx + (1 − x / y)e x / y dy = 0; ( vii ) ( x3 + 3xy 2 ) dx + ( y 3 + 3x 2 y ) dy = 0
7. ( vii ) ye x / y dx + ( y − xe x / y )dy = 0; ( viii ) ( x3 + y 2 )
x 2 + y 2 dx − xy x 2 + y 2 dy = 0; ( viii ) ( x 2 − xy + y 2 ) dx − xydy = 0
( ix ) ( x 2 + y 2 ) dy + 2 x( x + y)dx = 0; ( x ) xdy − ydx = ( x 2 + y 2 ) dx when y ( )=
2 2
( )
( xi ) y + x 2 + y 2 dx − xdy = 0 when y (1) = 0 ( xii ) x 2
dy
dx
+ xy =
y3
x
when y (1) = 1.
dy
=
(
y + x2 + y 2 )
[ Homogeneous differential Eq n ]
dx x
Putting y = vx , we get
d ( vx ) ( vx + x 2 + ( vx ) )
2
=
dx x
dv
v+x = v + 1 + v2
dx
dv dx
= int ergating
1 + v2 x
( )
ln v + 1 + v 2 = ln x + ln c
v + 1 + v 2 = xc
y
+ 1 + y 2 / x 2 = cx
x
y + x 2 + y 2 = cx 2 .............(i )
when x = 1then y = 0; we get ,
0 + 1+ 0 = c
c = 1
then from ( i ) we get ,
y + x2 + y 2 = x2
Hence the requered solution.
Differential Equation reducible to homogeneous form:
dy a1 x + b1 y + c1 a1 b1
case(i ) : = putting x = + h and y = + k
dx a2 x + b2 y + c2 a2 b2
Question :
dy 2 x + y − 2
( i )( 4 x − y + 7 ) dx = ( 2 x + y − 1) dy; ( ii )( 2 x + y + 3) dx = ( x + 2 y + 3) dy; ( iii ) =
dx 3 x + y − 3
dy dy
( iv )( 3x − 7 y − 3) = ( 3 x − 7 y + 7 )( v )( 2 x + y + 3) = ( x + 2 y + 3 )
dx dx
dy a1 x + b1 y + c1
case(ii ) : = ( b1 = −a2 or − b1 = a2 or sign change ) direct method
dx a2 x + b2 y + c2
Question :
dy 2 x − y + 1 dy 2 x + 3 y + 1
(i ) = ( ii )( 2 x − y + 1) dx + ( 2 y − x − 1) dy = 0 ( iii ) + =0
dx x + 2 y − 3 dx 3x + 4 y − 1
dy 2 x + y + 3
( iv ) = ( v )( 4 x + 3 y + 1) dx + ( 3x + 2 y + 1) dy = 0 ( vi )( 2 x − y + 1) dx + ( 2 y − x − 1) dy = 0
dx − x + 2 y − 9
dy 2 x + y + 3 dy 3 x − 2 x + 5
Question : ( i ) = ( ii ) = ( iii )( 2 x − y + 1) dx + ( 2 y − x − 1) dy = 0
dx − x + 2 y − 9 dx − x + 2 y − 9
( iv )( 4 x + 3 y + 1) dx + ( 3x + 2 y + 1) dy = 0
dy a1 x + b1 y + c1 a1 b1 a1 b1
case ( iii ) : = = puttiig = =m
dx a2 x + b2 y + c2 a2 b2 a2 b2
Question :
dy 6 x − 2 y − 7
( i ) (2 x − 6 y + 3)dx = ( x − 3 y − 1) dy ( ii ) = ( iii ) ( 2 x + y + 1) dx + ( 4 x + 2 y − 1) dy = 0
dx 3x − y + 4
dy dy 6 x − 4 y + 3
( iv )( 2 x − y + 3) dy = ( 2 x − y − 5) dx ( v )( 2 x − 2 y + 5 ) = ( x − y + 3)( vi ) =
dx dx 3x − 2 y + 1
dy
(vii ) ( 6 x − 4 y + 1) = ( 3 x − 2 y + 1)
dx
Exact Differential: The expression M ( x, y )dx + N ( x, y )dy is called an exact differential
in a domain D if M ( x, y )dx + N ( x, y )dy = dF ( x, y ) for all ( x, y ) D . That is the
expression M ( x, y )dx + N ( x, y )dy is an exact differential in D if there exists a function
F ( x, y ) such that
F ( x, y ) F ( x, y )
= M ( x, y ) and = N ( x, y )
x y
for all ( x, y ) D .
y cons tan t
Mdx +
without x
Ndy = c
( 3x 2 y − 6 x ) dx + 2 ydy = c
x3 y − 3x 2 + y 2 = 0
Hence the required solution.
2. ( 2 x + 3 y − 6 ) dy = ( 6 x − 2 y − 7 ) dx
3. ( y − x ) dx + ( x + y ) dy = 0
4. ( 4 x + 3 y + 1) dx + ( 3x + 2 y + 1) dy = 0
5. (x 3
+ 3xy 2 ) dx + ( y 3 + 3x 2 y ) dy = 0
6. ( i ) ( tan y − 3x 2 ) dx + x sec2 ydy = 0; ( ii ) ( e x sin y + e− y ) dx + ( e x cos y − xe− y ) dy = 0;
Note: If differential equation M ( x, y )dx + N ( x, y )dy = 0 is not exact, then we have to find
the integrating factor of the given differential equation. We can find the integrating factor
in the following ways:
1 M N f ( x ) dx is an integrating factor of
1. If − = f ( x) [function of x only] then e
N y x
M ( x, y )dx + N ( x, y )dy = 0 .
Example: Find the integrating factor of (2 x 2 + y 2 + x) dx + xy dy = 0 .
Solution: Here M = 2 x 2 + y 2 + x and N = xy
M y = 2 y and N x = y , then M y N x
Hence the given equation is not exact.
1 M N 2 y − y 1
Now − = =
N y x xy x
1
x dx
Hence the integrating factor = e = eln x = x
x multiplying given equation
(2 x 3 + xy 2 + x 2 ) dx + x 2 y dy = 0
Again M 1 = (2 x 3 + xy 2 + x 2 ) and N1 = x 2 y
M 1 N1
= = 2 xy so the equation exact.
y x
Then the solution
M dx + N dy = c
1 1
(2 x + xy + x ) dx + 0dy = 0
3 2 2
x 4 x 2 y 2 x3
+ + =c
2 2 3
Hence requered the solution.
Question: Solve the differential equation
1. ( x + y + x ) dx + xydy = 0
2 2
2. ( y ( x + 1) + y ) dx + (2 xy + 1)dy = 0
2
1 N M f ( y ) dy is an integrating factor of
2. If − = f ( y ) [function of y only] then e
M x y
M ( x, y )dx + N ( x, y )dy = 0 .
Example: Find the integrating factor and solve of ( y 4 + 2 y ) dx + ( xy 3 + 2 y 4 − 4 x) dy = 0 .
2
(y + )dx + 2 ydy = c
y2
2x
xy + 2 + y 2 = c Hence requered the solution.
y
Question: Solve the differential equation
1. (y 4
+ 2 y ) dx + ( xy 3 + 2 y 4 − 4 x)dy = 0
State the necessary and sufficient condition for the exactness of the differential
equation M ( x, y )dx + N ( x, y )dy = 0 : The differential equation M dx + N dy = 0 will be
M N
exact if and only if = .
y x
Note: To solve this equation we need to find an integrating factor by the following way:
Integrating Factor = e
P ( x ) dx
dy P ( x ) dx
+ P( x) ye = Q ( x )e
P ( x ) dx P ( x ) dx
e
dx
ye
d P ( x ) dx P ( x ) dx
= Q ( x )e
dx
ye = Q ( x )e
P ( x ) dx P ( x ) dx
dx + c
y=e P ( x ) dx
− P ( x ) dx − P ( x ) dx
Q( x)e dx + ce
Hence requered solution.
2.
dy
+ xy = x
dx
dy dy
Solution : Given the + xy = x is comparing + P ( x ) y = Q ( x ) ; we get P ( x ) = x, Q ( x ) = x
dx dx
Now I .F = e = e = e x /2 .
pdx xdx 2
y = 1 + ce − x
2
/2
Hence the requered solution.
dy
3. cos 2 x + y = tan x
dx
4. (1 + y ) dx = (tan
2 −1
y − x)dy
5. (1 + y ) dx + ( x − e
2 tan −1 x
)dy = 0
dy y
6. + = x2
dx x
7. (1 + x ) dy
2
dx
+ 2 xy = 4 x 2
dy
8. + y tan x − sec x = 0
dx
9.
dy dy y dy dy
(i ) = x 3 − 2 xy when y (1) = 1; ( ii ) + = x 2 when y (1) = 1; ( iii ) + 3 y = 3x 2e −3 x ( iv ) x + y = x 2 + 3x + 2
dx dx x dx dx
( v ) + y = 3x 2 − 3x; ( vi ) (1 + x 2 ) + y = tan −1 x; ( vii ) + y sec x = cos y ( viii ) (1 − x 2 ) − xy = 1
dy dy dy dy
dx dx dx dx
dy 1 − 2 x
( ix )( x + y + 1) = 1( x ) + 2 y = 1; ( xi ) + = n ( xii ) (1 + x 2 ) + xy = x 2 ( xiii ) = e x= y ( e x − e y )
dy dy ny a dy dy
dx dx x dx x x dx dx
( xiv ) ( x3 − x ) − ( 3x 2 − 1) y = x5 − 2 x3 + x ( xv ) (1 + y 2 ) dx + ( x − tan −1 y ) dy = 0
dy
dx
Note: The change of variable v = y 1−n transform the Bernoulli equation into a first order
linear differential equation in v.
1. Show that the solution of the Bernoulli differential equation is
y1−n = (1 − n ) e (1−n ) P ( x ) dx dx + ce− (1−n ) P ( x ) dx where c is constant.
− (1− n ) P ( x ) dx
Q( x)e
dy y
2. + = y2
dx x
Solution: Given the equation
dy y
+ = y2
dx x
1 dy 1
2 + =1
y dx xy
− ( y −1 ) +
d 1
=1
dx xy
d 1 1
− = −1
dx y xy
1
I .F = e
− dx 1
x
= e − ln x =
x
Then the solution
1 1
= − dx + c
xy x
1
= − ln x + c
xy
1
+ ln x = c Hence the requered solution.
xy
dy
3. + y = y 2e x
dx
dy 1
4. + sin 2 y = x3 cos 2 y
dx x
dy y y 2
5. 2 = +
dx x x 2
dy tan y
6. − = (1 + x)e x sec y
dx 1 + x
dy
7. x + y = y 2 ln x
dx
8. ( i ) dx + x ln y = x 2 ( ln y ) ( ii ) x dx + y = y ln x; ( iii ) (1 − x ) dx + xy = xy ( iv ) dx + 1 − x 2 y = x x
dy y y 2 dy 2 dy
2 2 dy x
dy y x
9. + = 3 when y (1) = 2.
dx 2 x y
dy
10. = x3 y 3 − xy
dx
1
Note: If f is any solution of the equation, then the transformation y = f + reduces the
v
equation to a linear equation in v.
Trajectory: A curve which cuts every member of a given family of curves at a constant
angle is called a trajectory.
Orthogonal Trajectory: A curve which cuts every member of a given family of curves at
a constant angle 90 is called an orthogonal trajectory.
Oblique Trajectory: A curve which cuts every member of a given family of curves at a
constant angle 90 is called an − trajectory or oblique trajectory.
Note: This is a differential equation whose order is one but degree is more than one.
Alternative Definition: Any solution of the equation obtained from a given differential
equation by replacing the inhomogeneous term with zero is called complementary function.
Particular Integral: The solution which is obtained from the inhomogeneous term of a
non-homogeneous linear differential equation and which satisfies the full non-
homogeneous differential equation is called particular integral.
dy
(a) Equations solvable for P; P =
dx
Question:Solve the differential equation
1. p 2 + p(e x + e− x ) + 1 = 0
2. p 2 + 2 xp − 3x 2 = 0
3. p( p 2 + xy ) = p 2 ( x + y )
dy dx x y
4. − = −
dx dy y x
Then the requered solution
( x 2 − y 2 − c)( xy − c) = c (ans)
5. p3 + 3xp 2 − y 3 p 2 − 3xy 3 p = 0
( i ) y = 2 px − p 2 y ( ii ) y = x − p 2 ( iii ) y = p 2 y + 2 px
dy
(d) An equation of the form y = px + f ( p), Where p = = y is known as
dx
Clairaut’s equation:
1. Show that the general solution of Clairaut’s equation
y = px + f ( P ) is y = cx + f (c )
a
2. Find the general and particular solution and singular solution of y = px +
p
Solution:
a
y = px + .......................(i )
p
Differenting w.r.to x
dy dp a dp
= p+x − 2
dx dx p dx
dp a dp
p = p+x − 2
dx p dx
a dp
x− 2 =0
p dx
dp
Now, =0
dx
Integrating
p=c
From(i )
a
y = cx + is general solution.
c
a
and x − 2 = 0
p
a
p= from (i )
x
a a
y= x+
x a
x
y = 4ax is sin gular solution.
2
a2
3. Find the general and particular solution and singular solution of y = px +
p
4. Find the general and particular solution and singular solution of y = px + p 2
5. Find the general and particular solution and singular solution of y = px − ln p
6. Find general and singular solution
y = px + p − p 2 , ( 8 ) y = px + p n , ( 9 ) y = px − p 2 , py = p 2 ( x − b ) + a
Md .Nurul Alam
Lecturer(Mathematics)
Barishal Engineering College,Barishal.