Unit 1.part1
Unit 1.part1
·DIFFERENTIAL EQUATio~
5.1 Introduction . S
Students are already f~iliar ~ith the concept of diff
equations and method of solvmg a first order first degree differential
equation by a particular method known as by the method of etential
the variables. However, we sh~l recap~late thesejdeas and ~ating
different other methods of solvmg the first order first degree
The process of solving the differential equations of first O ~qua~ons.
degree and determining the orthogonal trajectories as an r er ~~er
of differential equations are also discussed. application
5.2 Definitions and Examples.
1. An equation in which, the independent, dependent Variabl
differential coefficients of dependent variables w .r. t. indepen: and~
ables are involved is called a differential equation. entvan.
Following are a few examples of differential equations.
2.
3.
300
r ~tte
re11ua
1Equations
(4!L J 1
301
I• y•• dx +[~)
2
g)f.:::: -a2 X
,. dt iJu
au y- = 2u
6, xfx + 9,Y .
a2u .
~-a2-;3=0
7. al ay
iff rential equation is said to be ordinary differential equation, if ·
z. Ad . \tives involved in it are w.r.t. a single independent variable
.
In the above examples equations (1) to (5) are ardinary differential
equations. . . . . . .
differential equation_ 1S ~aid to be partial differential equation, if
~:derivative involved m 1t ai:e .w.r.t more than one independent
variable. . .
. In the above examples, the equations (6) and (7) are partial dif-
ferential equations.
In the present book we c~nsider only ordinary differential equa-
tions.
4.1he order of the d_ifferential equation is the highest order derivative
present in the equation.
s.1he degree of the differential equation is the positive integral power
of the highest order derivative involved in it.
In the above examples,
(1) is of order 1 and degree 1.
*J' r
(2) is of order 3 and degree 1.
(4)can be written as y( t) = r( i 1+ I
and therefore is of order 1 and degree 2.
(5) is of order 2 and degree 1.
(6) is of order 1 and degree 1. ·
(7) is of order 2 and degree 1.
302 A Textbook of B.Sc. Mathernai;
cs . . (>
. . ilrt I
6. Sol uti.on of 'r1 differential equation
. bl
1s a relationship b
h. h . etwe
•
depen den t ru,d independent vana es, w 1c satisfies th e give . en the
ferential equation. . n dif.
Solution of a differential equation is also known asp . .
integral of the equation.
· flll11tj Ve or
+y = 0
dx2
For, differentiating (1) twice we get
4.Jt.- .
i
d .
= - a sin x + b cos x , dx2 - - a cos x - b sin x
d2
ij = -(acosx + bsin ·x)
dx2
{jj_ - -
dx2 - y
.
Thfa is the given differential equation.
.
J-t--
2
sec x dx + Jsec2y
t dy = loge y1
anx . any
log (tanx) + log(tany) = loge Let
y
log (tanx. tany) = loge => l=A
tanx. tany =· loge Put y = 0,
This is the required so1ution.
Example 3. Solve : (x2 - yr) i y=l
y= -
Solution : The given equatio;n can be written as
x2(1 - y) + y2(1 + x) =0 .. y( f
1
equations 305
ijlll p
x2 (1 - Y) dy + y2 (1 + x) dx =O
. the variable (i.e. by dividing both sides by r2y2 ) we
of ~r11tifl8
(I? )dy +( I; x )dz = O
(·1 1) + (1:x2 ·+ X1)
y2 - y dy dx = 0
- y1 - logy - x
1
+ logx = c
: .'asl )- ( + ~) = C
. the -
tllich 15 - , i ~ solution.
rt:'{~~"
~ pie 4. Solve! 1; + xy = xy 3
.
,, log(Y/l=x'+zc
This is the required solution.
Example 5. Solve : (e !I + 1) cosx dx + e !I sinx dy = o
Solution: Dividing throughout.by (e !I + 1) sinx, we get
cosxd
- x+-- e !I yd=
0
sinx eY +) .
Jcotx dx + J-f--
e +1
dy = loge
(y + ycos2y) dy + (x + x cos2x) dx =0
fY dy + Jy cos2y dy + f x dx + f x cos2x dx = c
i_2 + y sin2y
2 -
f sin2y x2 sin2x f sin2x
2 dy + 2 + x -2- - -2-dx = c
307
,, . I Equations
....,J1tli1
CJ!·ffe•~ . .J. }l sin2]l cos2y
cos2.x x si,n2x
X2 + .!I- + 2 + 4 C + + - - ::
2 2 . 2 4
+ y2 + 2 y sin2y + 2 x sin2x + cos2y + sin2x == 4c
or
zx 2 2
I ·
•'-e required so utton.
·
•s js u• !El
111'
6XaJJ'P
le 7. Solve : xy dx
.
=Y + 2
.
'fhe given equation is
'
50Jt1ti0Jt : . !!]/_
xydx=y+Z
f (I - y ; 2 logx + c
. Exercises
Solve the following differenliaJ equations by ""Parar
G x -- --
1 + y dx + y 1 + x2 dy
2
+ = O,giveny=J whenx=o
S. (ex+ e-x)~ =(ex~ e-x)
d·
6. dx =. k (y - a) (y - b)
7 !El._ x(2logx + !2.
· dx - siny + y cosy
@ ex tany dx + (1 - ex ) sec2 y dy = 0
MS. Y •~ = •(y' + t)
14.- •H; J
+ 2y = 2xy~
\
. I Equations 309
1'ua .,
·f/ete '
()I - x2) dx + (xt - y2) dy = 0 . '),;J , 6.v J. / )
,G (fJ.-;
dy + xy dx = 0 l1 " .• 1
W ~+X
16·
d
tanx + 5) ~dX = 2 (1 + tanx) sec2x
O i ~ .
V
~,, 2X + 2
{ti"'
ix - 3y + 4 x2 e - 3y
17•
8 -
d~ ::d
.
1'. dt (logsecx + tanx) dx = cosx log(secy +--tany) dy
l, cosY d .
_ y) x + (1 + x)y = 0 given y =1 when x =1
zo. (1 _dx .
Answers
1
p + +y =
2
C 2. tany = cotx + c
. m
· s,.. sin-rx · -1x+sm
3, Y :: 5
L----
7
4. sm , -1
y=-7t
. 2
s. Y
:: log(ex + e-x) + c 1~i
l
6. . lo0 y _ b = k (a - b ) + c
E1l .: .! ( dv )
dx-2 _~-3
The given equation becomes
!(dv .;. 3 _] = v2
2 dx
dv - 3 = 2rt dv ,
dx dx = 2v2 + 3
- On separating the variables, we get
dv .
--=dx
2v2 + 3
f 2v2d: 3 = f dx + c
21 f (-/½)2dv + v2 = fdx + c
i.e. .!-~21 -1(..ffvl .
2 -vu3tan T3 = x + c
or
• [../2
2 tan-1
16' T3 (3x + 2y +. 4) l= x +c
On integration, we get
V +4
dx = J;:;T9dv + c
J
v + 19 - 15 d .
x= J - v+c
.V + 19
J
x = dv - 15 J _j_
V + 19 ~v + c
t
This is the required solution.
ExaJI\Ple 3, Solve : + 1 = e <.r + yl
olution: Put dx dx
r+y=v"' l+~=dv
S
'fhe given equation becomes
dv
dx=e 11
11
e dv=dx
ATextbook of B.Sc. Ma ............
312 •lhernat··tcs
J e-
11 I
dv = dx + c
, iltt I
-e - 11 = x+c
x + e - (.t+y)
+ C :::: Q
i
This is the required solution.
Example 4. Solve: = 1 + 6x .' e (x - Yl
x-y=v 1- _ dv
Solution: Put dx -;&
!!11_ = 1 dv
dx - ;&
The given equation becomes
dv 1 6 v
1 - dx = + xe
dv v
or dx = - 6xe
•
On separating the variables, we get
e- vdv = - 6x dx
On integration, we get
. J e-v dv = - 6 f x dx + c
. - e- V = - 3.x2 - C e (X - y)
::: 3-2
This is the required solution. r +c
1
~ pie 5. Solve:~ =
dx cos (x + y)
~dv = X +c
J 1 + cosv
1~ I.dv - J l +1cosv dv .= x + c
I
1 2V
v- J 2sec 2dv = x + c (Since 1 +cosv = 2cos2 E.2 ]
V
V - tan
2= X + C
x+y-tan(x;y)=x+c
or
or
y-tan(x;y)=c
. is the general solution.
11115.
J i· d
4!!H_ -
,.- Example 6. Solve : x dx + ly + cosec xy = o
1
x'~~ + y + cosecxy = O
dv .
-i3 dx + cosec v = O
On separating the variables, we gel
_--4E__ + dx = 0
cosecv .;
Jsinv dv + J = c.
\ 1 .
-cost, - -
1
=c
2r- .
.
-
or cos xy + 7 + c :::;: 0
2 -- - -
2
Example 7. Sol~e: xdy - ydx = x + y dx
Solution : The given equa~on can be written as
ATextbook of B.~ . Math
314 ernatics
... J>i\tt I
or
··········· 0)
Put ; : V y = VX :::) =V + X
Thus (1) becomes
v + x dv - v = x +J
dx
dv = X1 + V2
x-
. dx
dv = dx
· +v2
,. sinh- 1 V = X + C
Sinh-1 ( - X) - X
y - +C
This is the solution of the equation.
,J -~ .
., Example 8. Solve : dx = sin (x + y) + cos (x + y)
or dv . · -
dx = 1 + sm v + cos v
dv · .
dx = sin v + (1 + cos v)
• V V 2 V
= 2s~co~. + 2cos
2
= 2cos'~[ + 1]
rr O'((erct'
tiaJ Equations 315
- --ird_v--:-- -, = dx
E 1
2 cos 2 tan 2 +
2V
f [½ sec' ( ¥)] dv = f dx + c
1 + tan
2
or log[ I + tan(~?)] = X -~
Exercises
solve the following differential equations.
2
L ~=(4x+y ,+!) 2. (x+y+l)*=l
3 !!Y=x+y-1 4]{=4x+6y+5
. · dx x+y +1 4. d x 3y + 2x + 4
5, (2x + 2y + 3) dy - (x + y + 1) dx = 0
6. (x - y - 2) dx - (2x - 2y - 3) dy = 0
7, (x+2y-1)dx=(x+2y+1)dy
s. (3y + 2x + 4) dx - (4.x + 6y + 3) dy = O
9, (4x - 6y - l) dx - (2x - 3y + 2) dy = 0
10. (x + y + 1) dx - (2x + 2y + 1) dy =
11. !!1_ a2 y) 2
dx = (x...;. 12. x = cos (x + y)
13. 2 (x + y) dy = (1 - 3x - 3y) dx
h
16. du = sin(x + y) 17· fxx .1.,, ey[41ldx-l]=ex .
Y.
18 y_~ ,r+y2-l =C
· x dx + 2(j + y2) + 1
316 A Textbook of 8.5c M
. ll thllfl)
Answers "'ic\ ,
J. ,x + y + 1 = 2tan(2x + 2c)
l ;r + y +2 a CtY 3. X - y+
1
,. y _ 2x + log (16x + 24y + 23) = c C ::::: I
og (~ ,
s. 6y _ 3r + 6 log (3x + 3y + 4) = c
6. x _ 2y - log (x - y - 1) = c
1
7, x = y + log( X + 2y - !)+ C ,
8. x=2y-~log(2r+-3y+~)+c
'·
9. X =HY - 2r - ~y 7 I)]+ C
17, e- (x - y) = X +C
18. ; + 2y2 = 3log (l- y2 + 2) + c
S.6 HomogeneO'us Equations
yif A function/ (x, y) is said to be homogeneous of degree n in x and
f (i, y) = x" g (; )
A differential equation of the form
- i(x, 1/L
dx - g (x, y)
ua· !Equations 317
•{fer&
(JI 1 y) and g (x, y) are homogeneous functions of the e
,f"heree
re/Cjfl ; and y is called a Homogeneous differential equatio~f
1eS rder, .
~~Io sider a Homogeneous differential equation
con - fjx , Y2.
dx - g (x, y) ......... (1)
(x y) and g (x, y) be homogeneous functions of d
f
1.,et an' write the equation (1) as egree n.
wee
111e11 -x" q> (y/
dx - x" 'I' (ylx)
_ q> (ylx~
dx - \jf (ylx) ......... (2)
::i
Jve this equation, hence (1), we put
foSo y = VX
· dv
dx = v. + xdx
::i
'(lief\ (Z) beeomes
or
dv
/\ Tex tbook of B.Sc M
x dx =
. the variables, we get
v - 2v + 2
1 - v
2
· athel"tl
<ltics
'P
i\11 ,
By separating 1- v dx
- - - - dv == -
v2 - 2v + 2 x
f J -1-v d -Jdx
2v + 2 v - -;- + loge
- .!. f 2v - 2 dv == f ~-
2
2 v - 2v + 2 x + loge
1
-- log (if - 2v + 2) = logx +
2 1oge
2
2 logx + log (v - 2v + 2) + 2 logc = o
2
Iog[x2(v - 2v + 2)]c2 = o
2
( x2 (v - 2v + 2)] c2 = 1
or 1[(;) -2(;)+;]<'=1
or 2x2-2.xy+t/=c' Wherel
L c- "'-c'
+
" Example 2. S~lve : (y~ 2xtJ) dx (2x2 3xy) d :::. + +
Solution .! / The given equation can be written as Y O
!El.
dx =-
[i:+2xy]
2x2 + 3.xy
1his is a homogeneous equation.
d - dv
Put y = vx !El. = v + x -
dx dx
Thus the equation becomes
v + x dv = _ [
dx
2
v x2 + ilv
2x2 + 3x2v
l
V dv = - [ v + 2v
+ x-
dx
2
2 + 3v
l
dv v2 + 2v
- x- = V +
dx 2 + 3v
Equations 319
.,
._1
r&tlill
x =· 2v + 3tf + v2 + 2v
- dx 2+3v
2
dv 4v + 4v
x--
- dx - 2 + 3v
arating the,vJlriables, we get
f,l\seP • 2----t 3v dx\
"' dv = - 4-~ \
v-·2 +v.. . _, X ,
2 + 3v
dv + 4
J-dx = loge \
J V2 + V X ......... (1)
Let 2 + 3v - 2 + 3v A B
consider, .J- + v - v(v + 1) = ; +
-:i , 2 + 3v = A (v + 1)· + B v
::: o : : :), 2 = A -1.e. .(\ = 2
\
0
:::-1:::::) -1 =-B i.e. B = 1
0
2 + 3v2 1
--+
v2+v-v v+l
J \ + 3v = 2 J! dv + J_1_ dv
v+v v v+l
= 2 logv + log(v + 1)
= log v2 (v + 1)
(1) becomes
log v2 (v + 1) + 4 logx = loge
. log x4 tl (v + 1) = loge
x4J(v + 1) =e
or x'y' (; + 1 ) =c or x,/- (X + y) =c
~ e required solution. •
Example 3. Solve : (x2 + 2y ) dx - xy dy = 0
2
~-l+v2
---=-
xd x V
On separating the variables, we get
v
--dv=-
2
dx
=>
1 2v -
-2 ~dv:::J~
J
l+v x l+v x+Iogc
1 log(l + v2) = 1ogx + loge
2
log(l + v2) = 2logx + 2logc
(1 + v2) = x2 + c2
l+y2 =i-+c2
x2
x2+y2 =c'x4 (where c, == <!-)
This is the required.general solution.
Example 4. Solve: x dy - y dx = + y2 dy
Solution : The given equation can be written as
xEY.
dx
- y= + y2
4)/_ - y + + y2
dx - x
This is a homogeneous equation.
. du dv
Put y = vx => ::.z. = v + x -
dx dx
Thus the given equation becomes
dv vx + + x2J-
v + x- = - - - - . . - - -
dx x
x ddv = v + + v2 - v
X r-- .
xdv = + v2
dx
Qn separating the variables, we get
,,,-
Oitteren
.
rial Equations
321
dv dx
- X
. J dv . Jdx
,.,,/ + J- = X +C
sinh- t v = logx + c
smh-
1
(;) =logx +c[smce v =;]
£xal11Ple 5. Solve ,( x Ian; :- y sec' ; ) dx + x sec\; ) dy = O
x1;)
41[_ -
dx - -
2
dv [ tanv - v sec v ]
V + x- = -
dx sec2v
+ J-dx = loge
2
sec v
J--dv
tanv x
322 A Textbook of B.Sc. Mathematics p
- art t
.
Solution : The given y_ I
equation can be written as
y( xcos! + y_sin x J
~=
dx . x ( y sin; - x ll) .
cos
. uation is of hokogeneous
l theeq
Cleary d type.
Put Y = vx dx = V + X~
dx
Thus the given equation becomes .
dv _ vx(xcosv + vxsm11
v + x dx - x (v x sin v - x cos v)
= v (cos v + v sin v_l
V sin V - COS V ·
dv v cos v + v2 sin v
x dx = v sin v - cos v - v
i.e. dv
x-=
2vcosv
.
dx v sm v - cos v
·On separating the variables, we get
.J v sin v -cos v dv = dx
2 X
VCOSV
J v sinVCOSV
v - cos v d J dx
v = 2 -X + 1ogc
-log (v cos v) = 2 log x + loge
L
323
:::) xycosy_ = c
X
log [ y (v + ev ] = loge
or
iLY! 1·
+ e "ly = e =>
.; ,
x
-w
+_y e x ly = e
.~ ':L2 ' 8. 2 xy + (y
2
- x2) ¼; = 0
7· x dx + x = Y
' 10. ·x(y - x)dy = y(x + y)dx . J
9· = y_ + tan Y.
_!,;,JJ(I -rjo/l-
' --t J'#, f
dx ,x x
~- J
. ,_ /-{ (/-V)
324
*•;(
A Textbook of B.Sc. Math
dx - x cosec2 .'l
artJ
X
, 13. (r3 + y~ dx = (x2 y + x y2) dy
I'- (x2 + 2y 2)dx - xydy = 0
16. 2xy2dy-(x3+2y3)dx=O
17. x2 + (x2 - 1'11) !El.
··:, dx :::: 0
18 x !bl = y + x cos ( .Y. ) 2
· dx x 19. x(x - y) dy + y2 dx _
' -o
Answers
log(:;J:cx .
X
11.
12. X = C e cos ( ylx)
13. Y. + log (y - x) = c .
X 14. x2 + y2 = C x4
i~
X
19. logx = )L - logi + c -If
X X
v'