PDF PDF
PDF PDF
January 4, 1980
Objectives
At the end of the course, the student should be able to produce analytic
solutions of standard rst and second order linear and non-linear dierential
equations including power series solutions, non linear dierential equations in-
cluding power series solutions, and to handle analyitcal solutions of some ele-
mentary functions
Course Outline
Partial dierentiation including rst and second order partial derivatives,
total derivatives, change of variables for two independent variables. First order
equations; their origin, solutions and applications. Second order linear equa-
tions; homogeneous with constants and variable coecients and their applica-
tions. Systems of Linear dierential equations and their applications. Non-
lineat dierential equations. Linear equations of nth order. Introduction to
partial dierential equations and their applications.
References
1. R Bronson: Theory and Problems of Dierential equations, 2nd edition
Schaum Outline Series. Mc Graw Hill, 1994.
2. RK. Nagle and EB sta: Fundamentals of Dierential equations, 4th
edition, Addison-Wesley 1996.
3. SJ Sales and E Hille Calculus One and Several variables, 7th edition,
Wesley 1995.
1
Contents
TABLE OF CONTENTS 2
1 PARTIAL DIFFERENTIATION 4
1.1 First Order Partial derivatives . . . . . . . . . . . . . . . . . . . . 4
1.2 Second Order Partial dierential equations . . . . . . . . . . . . . 9
1.3 Total Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.4 The Chain Rule for functions of functions . . . . . . . . . . . . . 19
1.5 Implicit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3 LINEAR EQUATIONS 48
3.1 Leibnitz equation . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.2 Bernoulli equation . . . . . . . . . . . . . . . . . . . . . . . . . . 51
2
6.2 The D-Operator . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6.2.1 The Inverse of D-Operator f (D)
1
. . . . . . . . . . . . . . . 79
3
1 PARTIAL DIFFERENTIATION
∂z f (x + ∂x) − f (x)
= lim
δx δx→0 ∂x
∂z
δx measures the instantaneous rate of change of z with respect to x while y
is held constant. Similarly, the derivative of z with respect to y keeping x
constant is called the partial derivative of z with respect to y and is written as
∂z δf
δy , δy , fy , zy , fy (x, y). Mathematically,
∂z f (y + ∂y) − f (y)
= lim
δy δy→0 ∂y
∂z
δy measures the instantaneous rate of change of z with respect to y while x is
held constant.
Partial derivatives rules include scalar multiplication rule, addition
Example:
1. Find ∂z
δx and ∂z
δy of z = 5x6 y 4
4
Solution
∂z δ
(1)
4
5x6 y 4 = 30x5 y
=
δx δx
δz δ
5x6 y 4 = 20x6 y 3 (2)
=
δy δy
2. Find ∂z
δx and ∂z
δy of
(i)z = 3x2 + 6xy + 9y 4
(ii)z = 7x2 y 3 + 8x5 y 8
(iii)z = (4x − 6y)7
Solution
(i)z = 3x2 + 6xy + 9y 4
∂z δ
3x2 + 6xy + 9y 4 = 6x + 6y (3)
=
δx δx
δz δ
3x2 + 6xy + 9y 4 = 6x + 36y 3 (4)
=
δy δy
2. Determine ∂z
δx and ∂z
δy of
(i) z = xy + y x
(ii)z = (x + 2y)10 (4x − y)12
(iii)z = 4x−9y
5x+2y
Solution
(i) z = xy + y x
∂z δ
= (xy + y x ) = yxy−1 + y x lny (9)
δx δx
δz δ
= (xy + y x ) = xy lnx + xy x−1 (10)
δy δy
5
(ii)z = (x + 2y)10 (4x − y)12
∂z δ 10 12
10 δ 12 12 δ 10
= (x + 2y) (4x − y) = (x + 2y) (4x − y) +(4x − y) (x + 2y)
δx δx δx δx
(11)
= (x + 2y)
10
· 12 (4x − y)
11
· 4 + (4x − y)
12
· 10 (x + 2y) (12)
= 48 (x + 2y)
10
(4x − y)
11
+ 10 (4x − y)
12
(x + 2y) (13)
= (x + 2y) (4x − y)
9 11
[48(x + 2y) + 10(4x − y)] (14)
= (x + 2y) (4x − y)
9 11
[88x + 86y] (15)
= 2 (x + 2y) (4x − y)
9 11
[44x + 43y] (16)
δz δ 10 12
10 δ 12 12 δ 10
= (x + 2y) (4x − y) = (x + 2y) (4x − y) +(4x − y) (x + 2y)
δy δy δy δy
(17)
= (x + 2y)
10
· 12 (4x − y)
11
· −1 + (4x − y)
12
· 10 (x + 2y) · 2
9
(18)
= −12 (x + 2y)
10
(4x − y)
11
+ 20 (4x − y)
12
(x + 2y)
9
(19)
9
= (x + 2y) (4x − y)
11
[−12(x + 2y) + 20(4x − y)] (20)
= (x + 2y) (4x − y)
9 11
[68x − 44y] (21)
= 4 (x + 2y) (4x − y)
9 11
[17x − 11y] (22)
(iii)z = 4x−9y
5x+2y
∂z δ 4x − 9y 4(5x + 2y) − 5(4x − 9y) 53y
= = 2
= (23)
δx δx 5x + 2y (5x + 2y) (5x + 2y)2
δz δ 4x − 9y −9(5x + 2y) − 2(4x − 9y) −53x
= = = (24)
δy δy 5x + 2y (5x + 2y)2 (5x + 2y)2
3. Determine ∂z
δx and ∂z
δy of
(i) z = (7x3 + 5xy + 9x2 y 3 + 10y 5 )11
Let u = 7x3 + 5xy + 9x2 y 3 + 10y 5 ⇒ z = u11 =⇒ δz = 11u10
δz δz δu
= 11(7x3 + 5xy + 9x2 y 3 + 10y 5 )10 · 21x2 + 5y + 18xy 3 (25)
= ·
δx δu δx
δz δz δu
= 11(7x3 + 5xy + 9x2 y 3 + 10y 5 )10 · 5x + 27x2 y 2 + 50y 4 (26)
= ·
δy δu δy
6
(ii)z = e2x
2
+4xy 3 +y 7
Solution
δu 3x2 − 3yz
= 3
δx x + y 3 + z 3 − 3xyz
δu 3y 2 − 3xz
= 3
δx x + y 3 + z 3 − 3xyz
δu 3z 2 − 3yx
= 3
δx x + y 3 + z 3 − 3xyz
δz δz
x δx + y δy = −z
Solution
x+y
z=
x2 + y 2
δz x2 + y 2 − 2x (x + y) x2 + y 2 − 2x2 − 2xy −x2 + y 2 − 2xy
= 2 = 2 = 2
δx (x2 + y 2 ) (x2 + y 2 ) (x2 + y 2 )
δz x2 + y 2 − 2y (x + y) x2 + y 2 − 2xy − 2y 2 −y 2 + x2 − 2xy
= 2 = 2 = 2
δy (x2 + y 2 ) (x2 + y 2 ) (x2 + y 2 )
7
! !
δz δz −x2 + y 2 − 2xy −y 2 + x2 − 2xy
x +y =x 2 +y 2 (33)
δx δy (x2 + y 2 ) (x2 + y 2 )
1 3
−x + xy 2 − 2x2 y + yx2 − y 3 − 2xy 2
= 2
(x2 + y2 )
−1 3 2 2 3
− (x + y) x2 + y 2 x+y
= 2 x + x y + xy + y = 2 =− 2 = −z
2 2
(x + y ) 2 2
(x + y ) x + y2
(34)
6. If u = f y
, show that x δu δu
x δx + y δy = 0
Solution
δu y −y y
= f0 y · (−1)x−2 = 2 f 0
δx x x x
δu y 1 1 y
= f0 = f0
δy x x x x
δu δu −y 0 y 1 0 y y 0 y y 0 y
x +y =x f + y f = − f + f =0
δx δy x2 x x x x x x x
(35)
2
δu 2 δu 2
7. If u = x2 + y 2 + z 2 , show that
p δu
δx + δy + δz =1
Solution
δu 1 2 − 1 x
= x + y 2 + z 2 2 · 2x = p
δx 2 x + y2 + z2
2
δu 1 2 − 1 y
= x + y 2 + z 2 2 · 2y = p
δy 2 x + y2 + z2
2
δu 1 2 − 1 z
= x + y 2 + z 2 2 · 2z = p
δz 2 x + y2 + z2
2
2 2 2 !2 !2 !2
δu δu δu x y z
+ + = p + p + p
δx δy δz x2 + y 2 + z 2 x2 + y 2 + z 2 x2 + y 2 + z 2
(36)
x2 y2 z2 x2 + y 2 + z 2
= 2 + + = =1 (37)
x + y2 + z2 x2 + y 2 + z 2 x2 + y 2 + z 2 x2 + y 2 + z 2
Exercise
− 12
1. If u = 1 − 2xy + y 2 , prove that x δu δu 2 3
δx − y δy = y u
Show that
L δQ δQ
δL + K δK = Q
8
3. If f (x, y, z) = x3 + y 3 + z 3 − 3xyz , show that x δf δf δf
δx + y δy + z δz = 3f (x, y, z)
fxx .
The partial derivative of δz
δy with respect to y, i.e. δ
δy
δz
δy is written as δ2 z
δy 2 ,zyy or
fyy .
fyx .
The partial derivative of δz
δy with respect to x, i.e. δ
δx
δz
δy is written as δ2 z
δxδy ,zxy or
fxy .
δ2 z
and δy 2 are called second order direct partial derivatives whereas, and δxδy are
2
δ z δ2 z δ z 2
δx2 δyδx
called second order mixed partial derivatives. By Young's theorem if δyδx and δxδy are
2 2
δ z δ z
continuous then δ2 z
= δxδy .
2
δ z
δyδx
Examples
1. Find , ,
δ2 z δ2 z δ2 z
δx2 δy 2 δyδx and δ2 z
δxδy of the function z = 8x2 y − 11xy 3
Solution
∂z δ
8x2 y − 11xy 3 = 16xy − 11y 3
=
δx δx
δz δ
8x2 y − 11xy 3 = 8x2 − 33xy 2
=
δy δy
δ2 z
δ δ δ
16xy − 11y 3 = 16y (38)
2
= =
δx δx δx δx
δ2 z
δ δ δ
8x2 y − 11xy 3 = 8x2 − 33xy 2 (39)
2
= =
δy δy δy δx
δ2 z
δ δ δ
8x2 y − 11xy 3 = 16xy − 11y 3 (40)
= =
δxδy δx δy δx
δ2 z
δ δ δ
16xy − 11y 3 = 16xy − 11y 3 (41)
= =
δyδx δy δx δy
9
2. Find , , and of the function z = x2 + 2y
δ2 z δ2 z δ2 z δ2 z
4
δx2 δy 2 δyδx δxδy
Solution
∂z δ 2 4 3 3
= x + 2y = 4 x2 + 2y · 2x = 8x x2 + 2y
δx δx
δz δ 2 4 3 3
= x + 2y = 4 x2 + 2y · 2 = 8 x2 + 2y
δy δy
δ2 z
δ δ δ 3
(42)
2
2
= 8 x2 + 2y 7x2 + 2y
2
= = 8x x + 2y
δx δx δx δx
δ2 z
δ δ δ 3
(43)
2
2
2
= = 8 x + 2y = 48 x2 + 2y
δy δy δy δy
δ2 z
δ δ δ 3 2 2
= = 8 x2 + 2y = 24 x2 + 2y · 2x = 48x x2 + 2y
δxδy δx δy δx
(44)
δ2 z
δ δ δ 3 2 2
= = 8x x2 + 2y = 8x.3 x2 + 2y · 2 = 48x x2 + 2y
δyδx δy δx δy
(45)
3. If u = x2 + 2y 2 , then verify that = δxδy .
p 2 2
δ u δ u
δyδx
Solution
∂z δ 2 1 1 2 − 1 x
= x + 2y 2 2 = x + 2y 2 2 · 2x = 1
δx δx 2 (x + 2y 2 ) 2
2
δz δ 2 1 1 2 − 1 2y
= x + 2y 2 2 = x + 2y 2 2 · 4y = 1
δy δy 2 (x2 + 2y 2 ) 2
δ2 z
δ δ δ − 1 1 − 3 −2xy
= = 2y x2 + 2y 2 2 = 2y·− x2 + 2y 2 2 ·2x = 3
δxδy δx δy δx 2 (x + 2y 2 ) 2
2
(46)
2
δ z δ δ δ − 1 1 − 3 −2xy
= = x x2 + 2y 2 2 = x.− x2 + 2y 2 2 ·4y = 3
δyδx δy δx δy 2 (x + 2y 2 ) 2
2
(47)
2
4. If r2 = x2 + y 2 , show that δ2 r
δx2 · δ2 r
δy 2 = δ2 r
δxδy
Solution
2rδr = 2xδx
δr x
=
δx r
δr
δ2 r δ x r − x. δx r − x. xr r 2 − x2 y2
2
= = 2
= 2
= 3
= 3 (48)
δx δx r r r r r
2rδr = 2yδy
10
δr y
=
δy r
δr
δ2 r δ y r − y. δy r − y. yr r2 − y2 x2
= = = = = (49)
δy 2 δy r r2 r2 r3 r3
δ2 r
δ δr δ y δr −y x −xy
= = = y(−1)r−2 = 2 · = 3 (50)
δxδy δx δy δx r δx r r r
δ2 r δ2 r y 2 x2 x2 y 2
2
· 2 = 3 · 3 = 6 (51)
δx δy r r r
2 2
δ2 r x2 y 2
−xy
= = (52)
δxδy r3 r6
Hence proven.
5.If u = f (x + 2y) + g (x − 2y), show that 4 δδxu2 =
2
δ2 u
δy 2
Solution
δu
= f 0 (x + 2y) · 1 + g 0 (x − 2y) · 1 = f 0 (x + 2y) + g 0 (x − 2y)
δx
δu
= f 0 (x + 2y) · 2 + g 0 (x − 2y) · −2 = 2f 0 (x + 2y) − 2g 0 (x − 2y)
δy
δ2 u δ
= (f 0 (x + 2y) + g 0 (x − 2y)) = f 00 (x + 2y)·1+g 00 (x − 2y)·1 = f 00 (x + 2y)+g 00 (x − 2y)
δx2 δx
(53)
δ2 u δ
2
= (2f 0 (x + 2y) − 2g 0 (x − 2y)) = 2f 00 (x + 2y)·2+(−2 · −2) g 00 (x − 2y) = 4f 00 (x + 2y)+4g 00 (x − 2y)
δy δy
(54)
δ2 u δ2 u
4 2 = 2
δx δy
Hence proven.
6. If u = , then show that x2 δδxu2 + 2xy δxδy
2 2
xy δ u 2
δ2 u
x+y +y δy 2 =0
Solution
δu y(x + y) − (x − y) y2
= 2 = 2
δx (x + y) (x + y)
δu x(x + y) − (x − y) x2
= 2 = 2
δy (x + y) (x + y)
!
δ2 u δ y2 2 −3 −2y 2
= 2 = y · −2 (x + y) · 1 = 3
δx2 δx (x + y) (x + y)
11
!
δ2 u δ x2 −3 −2x2
= 2 = x2 · −2 (x + y) ·1= 3
δy 2 δy (x + y) (x + y)
!
2
δ2 u δ x2 (x + y) · 2x − 2x2 (x + y) 2xy
= 2 = 4 = 3
δxδy δx (x + y) (x + y) (x + y)
! ! !
δ2 u δ2 u 2
2 δ u −2y 2 2xy −2x2
x2 2 +2xy +y = x2 3 +2xy 3 +y 2 3
δx δxδy δy 2 (x + y) (x + y) (x + y)
(55)
1 1
−2x2 y 2 + 4x2 y 2 − 2x2 y 2
(56)
= 3 = 3 (0) =0
(x + y) (x + y)
Hence proven
7. If x2 + y 2 + z 2 = 1
u2 , show that δ2 u
δx2 + δ2 u
δy 2 + δ2 u
δz 2 =0
Solution
1
u= p
x2 + y 2 + z 2
δu 1 − 3 −x
= − x2 + y 2 + z 2 2 · 2x = 3
δx 2 (x2 + y 2 + z 2 ) 2
! 23 3
21
δ2 u δ −x −1 x2 + y 2 + z 2 +x· 2 x2 + y 2 + z 2 · 2x
= 3 = 3
δx2 δx (x2 + y2 + z2) 2 (x2 + y2 + z2)
23 21 12 2
− x2 + y 2 + z 2 + 3x2 x2 + y 2 + z 2 x2 + y 2 + z 2 3x − x2 + y 2 + z 2
= 3 = 3
(x2 + y 2 + z 2 ) (x2 + y 2 + z 2 )
3x2 − x2 + y 2 + z 2
= 5
(x2 + y 2 + z 2 ) 2
δ2 u 3y 2 − x2 + y 2 + z 2
= 5
δy 2 (x2 + y 2 + z 2 ) 2
δ2 u 3z 2 − x2 + y 2 + z 2
= 5
δz 2 (x2 + y 2 + z 2 ) 2
δ2 u δ2 u δ2 u 3x2 − x2 + y 2 + z 2 3y 2 − x2 + y 2 + z 2 3z 2 − x2 + y 2 + z 2
+ + = 5 + 5 + 5 =0
δx2 δy 2 δz 2 (x2 + y 2 + z 2 ) 2 (x2 + y 2 + z 2 ) 2 (x2 + y 2 + z 2 ) 2
(57)
8. If R = ln x2 + y 2 + z , then prove that x δyδz
2 2 2
δ R δ R δ R
2
= y δzδx = z δxδy
Solution
δR 2x
= 2
δx x + y2 + z2
12
δR 2y
= 2
δy x + y2 + z2
δR 2z
= 2
δz x + y2 + z2
δ2 R
δ 2z −2 −4yz
= = 2z · −1 x2 + y 2 + z 2 · 2y = 2
δyδz δy x2 + y 2 + z 2 (x2 + y 2 + z 2 )
δ2 R
δ 2x −2 −4xz
= = 2x · −1 x2 + y 2 + z 2 · 2z = 2
δzδx δz x2 + y 2 + z 2 (x2 + y2 + z2 )
δ2 R
δ 2y −2 −4xy
= = 2y · −1 x2 + y 2 + z 2 · 2x = 2
δxδy δx x2 + y 2 + z 2 (x2 + y2 + z2 )
!
δ2 R −4yz −4xyz
x =x 2 = 2 (58)
δyδz (x2 + y2 + z2) (x2 + y2 + z2 )
!
δ2 R −4xz −4xyz
y =y 2 = 2 (59)
δzδx (x2 + y2 + z2) (x2 + y2 + z2 )
!
δ2 R −4xy −4xyz
z =z 2 = 2 (60)
δxδy (x2 + y2 + z2) (x2 + y2 + z2 )
δ2 R δ2 R δ2 R
x =y =z (61)
δyδz δzδx δxδy
Hence proven
9. If u = ln x3 + y 3 − x2 y − xy 2 . Show that δδxu2 + 2 δxδy
2 2 2
δ u −4
+ δδyu2 =
(x+y)2
Solution
x3 +y 3 −x2 y−xy 2 = x + y x2 − xy + y 2 − xy (x + y) = (x + y) x2 − xy + y 2 − xy =
2
(x + y) (x − y)
h i
2
u = ln (x + y) (x − y) = ln (x + y) + 2ln (x − y)
δu 1 2 3x + y
= + = 2
δx x+y x−y x − y2
δu 1 2 −x − 3y
= − = 2
δy x+y x−y x − y2
δ2 u 3 x2 − y 2 − 2x (3x + y) 3x2 − 3y 2 − 6x2 − 2xy −3x2 − 2xy − 3y 2
δ 3x + y
2
= 2 2
= 2 = 2 = 2
δx δx x − y (x2 − y 2 ) (x2 − y 2 ) (x2 − y 2 )
δ2 u −3 x2 − y 2 + 2y (−x − 3y) −3x2 + 3y 2 − 2xy − 6y 2 −3x2 − 2xy − 3y 2
δ −x − 3y
= = 2 = 2 = 2
δy δx x2 − y 2 (x2 − y 2 ) (x2 − y 2 ) (x2 − y 2 )
13
δ2 u −1 x2 − y 2 − 2x (−x − 3y) −x2 + y 2 + 2x2 + 6xy x2 + 6xy + y 2
δ −x − 3y
= = 2 = 2 = 2
δxδy δx x2 − y 2 (x2 − y 2 ) (x2 − y 2 ) (x2 − y 2 )
!
δ2 u δ2 u δ2 u −3x2 − 2xy − 3y 2 x2 + 6xy + y 2 −3x2 − 2xy − 3y 2
+2 + = 2 +2 2 + 2
δx2 δxδy δy 2 (x2 − y 2 ) (x2 − y 2 ) (x2 − y 2 )
(62)
−3x2 − 2xy − 3y 2 + 2x2 + 12xy + 2y 2 − 3x2 − 2xy − 3y 2 −4x2 + 8xy − 4y 2
= 2 = 2
(x2 − y 2 ) (x2 − y 2 )
(63)
−4(x − y)2 −4
= 2 = 2 (64)
(x2 − y 2 ) (x + y)
10. A utility function is given by u = 2q12 q2 + q1 q23 , Show that the rate of change
of marginal utility q1 with respect to q2 is equal to the rate of change of marginal
utility of q2 with respect to q1 .
Solution
Marginal utility of q1 is given by δu
δq1 = (2q2 ) 2q1 + q23 · 1 = 4q1 q2 + q23
Rate of change of marginal utility of q1 with respect to q2 is given by δ
δq2
δu
δq1 =
δ
δq2
3
4q1 q2 + q2 = 4q1 + 3q22
The quantities δxand δy , are called the dierentials of the independent variables
14
x,y respectively and are denoted by dx, dy respectively. δx = dx,δy = dy
The quantity δz δz
dy is called the total dierential of the dependent
δx dx + δy
15
4. In a right angled triangle, one side changes from 3cm to 3.1cm and the other
changes from 4cm to 3.9cm.
(i) Find the approximate change in area
(ii) Find the approximate change in the hypotenuse
Solution
Let A be the area and z be the hypotenuse
A = 12 xy and z =
p
x2 + y 2
1 1
dA = y dx + x dy
2 2
! !
x y
dz = p dx + p dy
x2 + y 2 x2 + y 2
Change in hypotenusedz ,
3 4
dz = √ (0.1) + √ (−0.1) = (70)
3 + 42
2 3 + 42
2
dA = (y) dx + (x) dy
16
5. Approximate the change in the hypotenuse of a right triangle of legs 15 and
20cm when the shorter leg is lengthened by 85 cmand the longer is shortened by
5
16 cm .
Solution
Let x,y.z be the shorter leg, longer leg and the hypotenuse of the triangle re-
spectively.
p
z= x2 + y 2
δz δz
dz = dx + dy
δx δy
! !
x y xdx + ydy
dz = p dx + p dy = p (73)
x2 + y 2 x2 + y 2 x2 + y 2
x = 15,dx = 5
8
y = 20,dy = − 16
5
15 85 + 20 − 165
xdx + ydy 1
dz = p = √ = cm (74)
2
x +y 2 2
15 + 20 2 8
E = 200,dE = −5
R = 8,dR = −0.2
2002
2(200)
dP = (−5) − (−0.2) = −250 + 125 = −125volts (76)
8 82
17
and the percentage of error in the area caused by the errors in the individual
measurements.
Solution
The surface area is given by s = 2 (xy + yz + zx) = 2 ((25 × 30) + (30 × 50) + (25 × 50)) =
7000
δs δs δs
ds = dx + dy + dz
δx δy δz
The greatest error in s will occur when the errors in the lengths are of the same
sign, say positive. Then
ds = 2(30 + 50)(0.125) + 2(25 + 50)(0.125) + 2(25 + 30)(0.125) = 52.5cm2 (78)
dR 0.0325
× 100% = × 100% = 0.41%
R 8
9. The sides of a triangle were measured as 50cm by 65cm and the included
angle as 600 . If the possible errors are 0.06m in measuring the sides and 10 in
18
the angle, determine the greatest error in the computed area.
Solution
A = 12 xysinθ
δA δA δA
dA = dx + dy + dθ
δx δy δθ
1 1 1
dA = ysinθ dx + xsinθ dy + xycosθ dθ (81)
2 2 2
x = 50,dx = 0.06
y = 65,dy = 0.06
θ = 600 ,dx = π
180
then
1 0 1 0 1 0 π
dA = (65)sin60 (0.06)+ (50)sin60 (0.06)+ (60)(65)cos60 = 17.169m2
2 2 2 180
(82)
Example
1. Find dz
dt , given that z = x2 + 3xy + 5y 2 ,x = sintand y = cost
Solution
dz δz dx δz dy
= +
dt δx dt δy dt
19
= (2x + 3y) cost − (3x + 10y) sint (83)
2. Find dz
, given that z = ln x2 + y 2 ,x = e−t and y = et
dt
Solution
dz δz dx δz dy
= +
dt δx dt δy dt
2 (yet − xe−t )
2x 2y
= 2 2
· −e −t
+ 2 2
et = (84)
x +y x +y x2 + y 2
Let z = f (x, y)is a continuous function of the variable x,y with continuous
partial derivatives δz
δx and δz
δy , and let y be a dierentiable function of x. Then z
is a dierentiable function of x and y above.
dz δf dx δf dy
= +
dx δx dx δy dx
dz δf δf dy
= +
dx δx δy dx
The shift notation from z to f is made here in order to avoid possible confusion
of using δz
δx and dz
dx in the same expression
Example
1. Find dz
dx given that z = f (x, y) = x2 + 2xy + 4y 2 and y = eax
Solution
dz δf δf dy
= +
dx δx δy dx
dz
= (2x + 2y) + (2x + 8y) aeax (85)
dx
2. Determine δx
δz
and dz
dx given that z = f (x, y) = xy 2 + x2 y and y = lnx
Solution
dz δf δf dy
= +
dx δx δy dx
dz 1
= y 2 + 2xy + 2xy + x2 = y 2 + 2xy + 2y + x (87)
dx x
dz δf dx δf
= +
dy δy dy δy
20
dz
= y 2 + 2xy x + 2xy + x2 = xy 2 + 2x2 y + 2xy + x2 (88)
dy
1 70π 3 −1
π 2 · 10 · 15 · (−0.3) + 102 (0.2) = − (90)
= cm s
3 3
When y = 1, dy
dt =
−x dx
y dt = −2
1 (0.2) = −0.4and dz
dt = 2
8 (0.2) − 29 (−0.4) =
5 −1
36 cms
If z = f (x, y)is a continuous function of the variable x,y with continuous partial
derivatives δz
δx and δz
δy ,and if x and y are continuous functions of x = g(r, s)and
y = h(r, s)of the independent variables r and s, then z is a function of r and s
with
dz δz dx δz dy
= +
dr δx dr δy dr
and
dz δz dx δz dy
= +
ds δx ds δy ds
21
Similarly, if w = f (x, y, z, ...)is a continuous function of the variable x,y,z,...with
continuous partial derivatives ,
δw δw
δx δy and δw
δz , and if x,y,z,...are continuous func-
tions of the n independent variables r,s,t,...then
dw δw dx δw dy δw dz
= + +
dr δx dr δy dr δz dr
and
dw δw dx δw dy δw dz
= + +
ds δx ds δy ds δz ds
Examples
1. Find dz
dr and dz
ds , given z = x2 + xy + y 2 , x = 2r + sand y = r − 2s
Solution
dz
= (2x + y) (2) + (x + 2y) = −3y
dr
2. Find δu
δρ , δβ , δθ , given that u = x +2y +2z ,x = ρsinβcosθ , y = ρsinβsinθ and
δu δu 2 2 2
y = ρcosβ
Solution
du δu dx δu dy δu dz
= + +
dρ δx dρ δy dρ δz dρ
3. Determine du
dx , given that u = f (x, y, z) = xy + yz + zx, y = x1 , z = x2
Solution
du δf δf dy δf dz
= + +
dx δx δy dx δz dx
1 x+z
= (y + z) + (x + z) − 2 + (y + x) 2x = y + z + 2x x + y − (95)
x x2
22
1.5 Implicit Functions
The dierentiation of a function of one variable dened implicitly by a relation
f (x, y) = 0. was earlier treated. For this case , we state without proof.
δy
Example
1. Use the above theorem to show that x2 + y 2 − 13 = 0denes y as a continuous
dierentiable function of x in any neighborhood of the point (2, 3)that does not
include a point of the x-axis. Determine the derivative at that point.
Solution
f (x, y) = x2 + y 2 − 13
δf
dy −x −2
δx
= − δf = = (96)
dx δy
y 3
2. Find dy
dx givenf (x, y) = y 3 + xy − 12 = 0
Solution
δf
dy −y
δx
= − δf = 2 (97)
dx δy
3y + x
3. Find dy
dx givenf (x, y) = ex siny + ey sinx − 1 = 0
Solution
δf
dy ex siny + ex cosx
δx
= − δf =− x (98)
dx δy
e cosy + ey sinx
δz − δF
= δFδx
δx δz
23
δz − δF
δy
= δF
δy δz
Example
1. Find δz
δx and δz
δy , given that sinxy + sinyz + sinzx = 1
Solution
F (x, y, z) = sinxy + sinyz + sinxz − 1
δz − δF
= δFδx
δx δz
ycosxy + zcoszx
=− (99)
ycosyz + xcoszx
δz − δF
δy
= δF
δy δz
xcosxy + zcosyz
=− (100)
ycosyz + xcosxz
g(x, y, u, v) = x2 − xy + y 2 + u2 + v 2
Determine (a) δu
δx and δv
δx (b) δu
δy and δv
δy
24
δu δv
1 + 2v + 2u =0
δx δx
and
δu δv
2x − y + 2u + 2v =0
δx δx
and
δv v (2x − y) − u
=
δx 2 (u2 − v 2 )
and
δu δv
−x + 2y + 2u + 2v =0
δy δy
(b) δu , δv , δu and
δx δx δy δy
δv
Solution
(a) Here x and y are considered as independent variables . Dierentiating the
given equations with respect to x.
δu δv
2u − 2v +2=0
δx δx
and
δu δv
v +u +1=0
δx δx
and
25
δv v−u
= 2
δx u + v2
and
δu δv
v +u −1=0
δy δy
δv 2u + 3v
=
δy 2 (u2 + v 2 )
and
δx δy
v+ − =0
δu δu
and
δy 2 (v − u)
=
δu 5
and
δx δy
u+ − =0
δv δv
and
26
δy 2u (u + v)
=
δv 5
Exercise:
1. Find dy
dx , given
(a) x3 − x2 y + xy 2 − y 3 = 1and (b) ln x2 + y 2 − tan−1 y
x =0
Ans:(a) (b)
2 2
3x −2xy+y 2x+y
x2 −2xy+3y 2 x−2y
2. Determine δz
δx and δz
δy ,given
(a) 3x2 + 4y 2 − 5z 2 = 60and (b) x + 3y + 2z = lnz
Ans:(a) δz
δx = 3x
5z and δz
δy = 4y
5z
(b) δz
δx = z
1−2z and δz
δy = 3z
1−2z
3. Find all the rst and second partial derivatives of z, given that x2 + 2yz +
2zx = 1
Ans: δx
δz
x+y , δy =
= − (x+z) δz
,
−z δ 2 z
x+y δx2 = ,
x−y−2z δ 2 z
(x+y)2 δxδy
= x+2z
(x+y)2
and δ2 z
δy 2 = 2z
(x+y)2
4. Find the rst partial derivatives of u and v with respect to x and y and the rst
partial derivatives of x and y with respect to u and v given:2u−v+x2 +xy = 0and
u + 2v + xy − y 2 = 0.
Ans: δu
δx = − 5 (4x + 3y); δx =
1 δv 1
5 (2x − y); δu
δy =
1
5 (2y − 3x); δy
δv
= 4y−x δx
5 δu ; =
4y−x δy
2(x2 −2xy−y 2 ) δu ; = y−2x
2(x2 −2xy−y 2 ) ; δx
δv = 3x−2y δy
2(x2 −2xy−y 2 ) δv; = −4x−3y
2(x2 −2xy−y 2 )
27
2 ORDINARY DIFFERENTIAL EQUATION
2.1 Introduction
A dierential equation is an equation that involves dierentials or dierential
coecients. An ordinary dierential equation is a dierential equation in which
all the dierential coecients have reference to a single independent variable.
A partial dierential equation is a dierential equation in which there are two
or more independent variables and partial dierentials coecients with respect
to them.
The order of a dierential equation is the order of the highest order derivative
in the equation. For example:
dn y dy
n
+ =0
dx dx
is of the nth order if n>1. The degree of a dierential equation is the degree of
the highest derivative in the equation. For example:
2
dy dy
y =x +x
dx dx
Solution
Dierentiating with respect to x, then
dy
2(x − h) + 2(y − k) =0 (101)
dx
or
dy
(x − h) + (y − k) =0 (102)
dx
28
" 2 #
d2 y dy
(y − k) 2 = − 1 + (104)
dx dx
2
dy
− 1 + dx
(y − k) = d2 y
(105)
dx2
From above,
dy
(x − h) = −(y − k) (106)
dx
2
dy
dy 1 + dx
(x − h) = d2 y
(107)
dx
2 dx
2 2
dy
1 + dx " 2 #
dy
2 2 + 1+ =1 (109)
d y dx
dx2
" 2 # 3 2
d2 y
dy
1+ = (110)
dx dx2
Solution
Because these are two constants; A and α, the dierential equation is dieren-
tiated twice
dx
= −nAsin (nt − α) (111)
dt
d2 x
= −n2 Acos (nt − α) = −n2 x (112)
dt2
or
d2 x
+ n2 x = 0 (113)
dt2
29
2.1.1 Solution of a Dierential equation
A relation between the variables that satisfy the given dierential equation is
called the solution of the dierential equation. There are two types of solution:
The general solution or complete solution which is one that the number of
arbitrary constants is the order of the dierential equation
The particular solution is that which can be obtained from the general solution
by giving solutions to the arbitrary constants.
Once this is done all that is needed is to apply integration on both sides. The
method of solving separable dierential equations can therefore be summarized
as follows:
separate the varables
Integrate
Examples
1. Solve the dierenctial equation2ydy = x2 + 1 dx
Solution
ˆ ˆ
x2 + 1 dx (114)
2ydy =
2y 2 x3
= +x+c (115)
2 3
30
x3
y2 = +x+c (116)
3
Solution
dy
= 1 + e−x dx (117)
y2
−1
ˆ ˆ
dy
= 1 + e−x dx (118)
y2 − 1
ˆ ˆ ˆ
− 21 1
dy + 2
dy = 1 + e−x dx (119)
y+1 y−1
1 1
− ln |y + 1| + ln |y − 1| = x − e−x + c (120)
2 2
y − 1
= 2 x − e−x + c (121)
ln
y + 1
Let 2c = A
y − 1
ln
= 2x − 2e−x + A (122)
y + 1
Solution
x dy
dx = (123)
x2 + 1 y
ˆ ˆ
x dy
2
dx = (124)
x +1 y
1 2
(125)
ln x + 1 = lny + c
2
Solution
dy
e2y = e2y e3x−2y + x2 e−2y (126)
dx
ˆ ˆ
e2y dy = e3x + x2 dx (128)
e2y 1 x3
= e3x + +c (129)
2 3 3
31
5. Solve the dierential equation 1 − x2 (1 − y) dx = xy (1 + y) dy
Solution
1 − x2 y (1 + y)
dx = dy (130)
x 1−y
ˆ ˆ
y2
1 y
− x dx = + dy (131)
x 1−y 1−y
ˆ
x2
1 1
lnx − = −1 + + −y − 1 + dy (132)
2 1−y 1−y
x2 y2
lnx − = −y − ln |1 − y| − − y − ln |1 − y| + c (133)
2 2
Let 2c = A
2lnx − x2 + 4y + 4ln |1 − y| + y 2 = A (135)
EXERCISE
Solve the dierential equations by variable separable method
1. xdx +secxsinydy = 0Ans: cosy = xsinx + cosx + c
2
x ex +2
2. dx ,y(0) = 1Ans:4y 3 = ex + 2x2 + 3
dy 2
= 6y 2
Examples
Solve the following dierential equations
1. dy
dx = (4x + y + 1)
2
Solution
Let 4x + y + 1 = t
Dierentiating with respect to x,
dy dt
4+ = (136)
dx dx
dy dt
= −4 (137)
dx dx
32
Replacing back to the given dierential equation
dt
− 4 = t2 (138)
dx
dt
= t2 + 4 (139)
dx
2. cos(x + y)dy = dx
Solution
Let x + y = t
dx dt
+1= (144)
dy dy
dx dt
= −1 (145)
dy dy
But cos(x + y) = dx
dy
dt
cost = −1 (146)
dy
dt
cost + 1 = (147)
dy
33
ˆ ˆ
1 t
sec2 dt = dy (151)
2 2
t
tan =y+c (152)
2
y+x
tan =y+c (153)
2
2
f (kx, ky) = (kx) + 7 (kx) (ky) (155)
34
This function is not homogeneous since there still remains a k in the brackets.
(iii)x5 − 4x3 y 2 + 2xy 4 + 3y 5
f (x, y) = x5 − 4x3 y 2 + 2xy 4 + 3y 5 (160)
Solution
x3 + 3xy 2
f (x, y) = (163)
2xy − y 2
(kx)3 + 3(kx)(ky)2
f (kx, ky) = (164)
2(kx)(ky) − (ky)2
k 3 x3 + 3xy 2
3
x + 3xy 2
f (x, y) = 2 = k (165)
k (2xy − y 2 ) 2xy − y 2
Solution √ √
x+ y
f (x, y) = (166)
x+y
√ √
kx + ky
f (kx, ky) = (167)
kx + ky
1 √ √ √ √
k2 x+ y x+ y
f (kx, ky) = =k − 21
(168)
k (x + y) x+y
pressed as xn η y
.To solve a homogeneous dierential equation we put y =
x
35
vxand dy
dx
dv
= v + x dx . We then substitute the values in the given dierential
equation and separate the variables for v and x, integrate them, substitute the
values of v and then get the solution for the dierential equation.
Examples:
1. Solve x2 − y 2 dx = 2xydy
dy x2 − y 2
= (169)
dx 2xy
Let y = vxand dy dv
= v + x dx
dx
dv x − (vx)2
2
x2 − v 2 x2 x2 1 − v 2 1 − v2
v+x = = = = (170)
dx 2x(vx) 2vx2 2vx2 2v
dv 1 − v2 1 − v 2 − 2v 2 1 − 3v 2
x = −v = = (171)
dx 2v 2v 2v
ln x3 1 − 3v 2 = −3c (178)
Replacing v = y
x y 2
ln x3 1 − 3 (179)
= −3c
x
Let e−3c = A
x3 − 3xy 2 = A (181)
2. Solve x (x + y) dy − y 2 dx = 0
36
Solution
dy y2
= 2 (182)
dx x + xy
Let y = vxand dy dv
= v + x dx
dx
dv (vx)2 v 2 x2 x2 v 2 v2
v+x = 2 = 2 = = (183)
dx x + x(vx) x + x2 v x2 (1 + v) 1+v
dv v2 v 2 − v (1 + v) v2 − v − v2 −v
x = −v = = = (184)
dx 1+v 1+v 1+v 1+v
v + ln |vx| = c (191)
Replacing v = y
x
y y
+ ln · x = c
(192)
x x
y
+ ln |y| = c (193)
x
Solution p
dy x2 + y 2 + y
= (195)
dx x
Let y = vxand dy
dx
dv
= v + x dx
37
p p √
dv x2 + (vx)2 + (vx) x (1 + v 2 ) + (vx) x 1 + v2 + v p
v+x = = = = 1 + v 2 +v
dx x x x
(196)
dv
(197)
p p
x = 1 + v2 + v − v = 1 + v2
dx
(202)
p
ln v + 1 + v 2 = ln |x| + c
v + √1 + v 2
ln
=c
(203)
x
√
v+ 1 + v2
= ec (204)
x
Let ec = A √
v+ 1 + v2
=A (205)
x
Replacing v = y
x q
y y 2
+ 1+
x
=A
x
(206)
x
p
y + x2 + y 2
=A (207)
x2
(208)
p
y + x2 + y 2 = Ax2
38
Let y = vxand dy dv
= v + x dx
dx
dv x3 − 3x(vx)2 x3 1 − 3v 2 1 − 3v 2
v+x = 3 2
= 3 3
= 3 (210)
dx (vx) − 3x (vx) x (v − 3v) v − 3v
dv 1 − 3v 2 1 − 3v 2 − v v 3 − 3v 1 − 3v 2 − v 4 + 3v 2 1 − v4
x = 3 −v = 3
= 3
= 3
dx v − 3v v − 3v v − 3v v − 3v
(211)
When a dierential equation contains xy a number of times. We can solve this
as an homogeneous equation by putting y
x = v.
Examples
1. Solve xsin xy − ycos xy dx + xcos xy dy = 0
Solution
dy −xsin xy + ycos xy
= (212)
dx xcos xy
Let y = vxand dy dv
= v + x dx
dx
dv −xsinv + vxcosv −sinv + vcosv
v+x = = (213)
dx xcosv cosv
dv −sinv + vcosv −sinv + vcosv − vcosv −sinv
x = −v = = (214)
dx cosv cosv cosv
ln |xsinv| = −c (218)
Replacing y
x = v.
y
ln xsin = −c
(219)
x
y
xsin = e−c (220)
x
Let e−c = A
y
xsin =A (221)
x
2. Solve 1 + e y dx + e y 1 − xy dy = 0
x x
39
Solution x
dx −e y 1 − xy
= x (222)
dy 1 + ey
x
y = v and dx
dy =
dv
v + y dy
dv −e 1 − xy
v
−ev (1 − v) − v (1 + ev ) −ev + vev − v − vev − (ev + v)
y = −v = = =
dy 1 + ev 1 + ev 1 + ev 1 + ev
(223)
Separating the variables
−dy 1 + ev
= (224)
y v + ev
ˆ ˆ
−dy 1 + ev
= (225)
y v + ev
ln |y (v + ev )| = −lnc (227)
y (v + ev ) = −c (228)
Replacing x
y =v
x
(229)
x
y + ey = −c
y
Let −c = A
(230)
x
x + ye y = A
40
We choose h and k such that ah + hk + c = 0and a0 h + b0 k + c0 = 0. From
these, we calculate the values of h and k. From these the equation now becomes
homogeneous i.e:
dy aX + bY
= 0
dx a X + b0 Y
CASE 2:
Where a
a0 = b
b0 = 1
m , then a0 = amand b0 = bmand the equation becomes
dy ax + by + c
=
dx m (ax + by) + c0
ax + by = t,a + b dx
dy
= dt
dx
dy 1 dt
dx = b dx − a
We can now separate the variables abd integrate accordingly to get thae solution
in t and x, then subtitute back the value of t to obtain the reqiured solution.
Examples:
1. Solve dy
dx = y+x−2
y−x−4
Solution
a
a0 = 1
−1 = −1and b
b0 = 1
1 = 1. Therefore a
a0 6= b
b0 hence we apply case 1.
Let x = X + hand y = Y + k.Then dx = dX and dy = dY .
dY Y + X + (k + h − 2)
= (231)
dX Y − X + (k − h − 4)
dY Y +X
= (232)
dX Y −X
which is homogeneous.
Let Y = V X , dX
dY dV
= V + X dX
dV (V X) + X V +1
V +X = = (233)
dX (V X) − X V −1
41
dV V +1 V + 1 − V (V − 1) V +1−V2+V 1 − V 2 + 2V
X = −V = = =
dX V −1 V −1 V −1 V −1
(234)
Separating the variables,
V −1 dX
dV = (235)
1 − V 2 + 2V X
ˆ ˆ
V −1 dX
dV = (236)
1 − V 2 + 2V X
ˆ ˆ
1 2 − 2V dX
− 2
dV = (237)
2 1 + 2V − V X
1
− ln 1 + 2V − V 2 = ln |X| + c (238)
2
ln 1 + 2V − V 2 · X 2 = −2c (240)
X 2 1 + 2V − V 2 = e−2c (241)
Let e−2c = A
2 !
Y Y
X 2
1+2 − =A (242)
X X
X 2 + 2XY − Y 2 = A (243)
x + 1 = X and y − 3 = Y .
Therefore,
2
(x + 1) + 2 (x + 1) (y − 3) − (y − 3) = A
2
(244)
x2 + 2xy − y 2 − 4x + 8y − 14 = A (245)
42
dt 3t + 12
−2= (248)
dx 2t + 5
dt 3t + 12 3t + 12 + 2 (2t + 5) 7t + 22
= +2= = (249)
dx 2t + 5 2t + 5 2t + 5
2 9
t − ln |7t + 22| = x + c (253)
7 49
2 9
(2x + 3y) − ln |7 (2x + 3y) + 22| = x + c (254)
7 49
2 9
(2x + 3y) − ln |14x + 21y + 22| = x + c (255)
7 49
Let 49c = A
14 (2x + 3y) − 9ln |14x + 21y + 22| − 49x = A (257)
3. Solve dy
dx = x+2y−3
2x+y−3
Solution
a
a0 = 12 and b
b0 = 2
1 = 2. Therefore a
a0 6= b
b0 hence we apply case 1.
Let x = X + hand y = Y + k.Then dx = dX and dy = dY .
dY X + 2Y + (h + 2k − 3)
= (258)
dX 2X + Y + (2h + k − 3)
dY X + 2Y
= (259)
dX 2X + Y
which is homogeneous.
43
Let Y = V X , dX
dY dV
= V + X dX
dV X + 2(V X) 1 + 2V
V +X = = (260)
dX 2X + (V X) 2+V
dV 1 + 2V 1 + 2V − V (2 + V ) 1 + 2V − 2V − V 2 1−V2
X = −V = = =
dX 2+V 2+V 2+V 2+V
(261)
Separating the variables, we have:
2+V dX
2
dV = (262)
1−V X
ˆ ˆ
2+V dX
dV = (263)
1−V2 X
ˆ ˆ
2 V dX
+ dV = (264)
1−V2 1−V2 X
1 + V 1
− ln 1 − V 2 = ln |X| + C (265)
ln
1−V 2
1 + V
− ln 1 − V 2 = 2ln |X| + 2C (266)
2ln
1−V
1 + V 2 1
ln
× = 2ln |X| + 2C
(267)
1−V (1 − V ) (1 + V )
1+V
ln
= 2ln |X| + A
(268)
(1 − V )3
1 1 + V
ln 2 ·
=A (269)
X (1 − V )3
1 1+V
· = eA = B (270)
X 2 (1 − V )3
Y
1 1+ X
· =B (271)
X2 1 − Y 3
X
X +Y
3 =B (272)
(X − Y )
x − 1 = X and y − 1 = Y .
Therefore,
(x − 1) + (y − 1)
3 =B (273)
((x − 1) − (y − 1))
44
x+y−2
3 =B (274)
(x − y)
x + y − 2 = B (x − y)
3
(275)
4. Solve (3x − y − 2) dx
dy
= x + 3y − 4
Solution
dy x + 3y − 4
= (276)
dx 3x − y − 2
Solution
a
a0 = 13 and b
b0 = 3
−1 = −3. Therefore a
a0 6= b
b0 hence we apply case 1.
Let x = X + hand y = Y + k.Then dx = dX and dy = dY .
dY X + 3Y + (h + 3k − 4)
= (277)
dX 3X − Y + (3h − k − 2)
Let Y = V X , dX
dY dV
= V + X dX
dV X + 3(V X) 1 + 3V
V +X = = (279)
dX 3X − (V X) 3−V
dV 1 + 3V 1 + 3V − V (3 − V ) 1 + 3V − 3V + V 2 1+V2
X = −V = = =
dX 3−V 3−V 3−V 3−V
(280)
Separating the variables,
3−V dX
dV = (281)
1+V2 X
ˆ ˆ
3−V dX
dV = (282)
1+V2 X
ˆ ˆ ˆ
3 V dX
2
dV − 2
dV = (283)
1+V 1+V X
1
3tan−1 V − ln 1 + V 2 = ln |X| + C (284)
2
45
Let 2C = A
6tan−1 V − ln 1 + V 2 = 2ln |X| + A (286)
6tan−1 V = ln X 2 1 + V 2 + A (287)
ButV = Y
X
Y2
Y
6tan−1 = ln X 2 1 + 2 + A (288)
X X
Y
6tan−1 = ln X 2 + Y 2 + A (289)
X
x − 1 = X and y − 1 = Y .
Therefore,
y−1
6tan−1
2 2
= ln (x − 1) + (y − 1) + A
(290)
x−1
t − lnt = 2x + 2c (298)
Let 2c = A
46
t − lnt = 2x + A (299)
But t = x + y ,
(x + y) − ln |x + y| = 2x + A (300)
Exercise:
Solve the following dierential equations
1. dy
dx = x+y+1
2x+2y+3 Ans:3 (2y − x) + ln |3x + 2y + 4| = C
47
3 LINEAR EQUATIONS
p(x) and Q(x) are functions of x. This equation is called the leibnitz equation.
´
To solve this kind of equation, we multiply both sides by e pdx
to get:
´ ´ ´
pdx dy pdx pdx
e + p(x)e y = Q(x)e
dx
d h ´ pdx i ´
ye = Q(x)e pdx
dx
´
The factor e pdx
is called the integrating factor of the dierential equation.
Exarcise:
Solve the following dierential equations by nding a suitable integrating factor.
a) (x + 1) dx
dy
− y = ex (x + 1)
2
Solution
dy y
− = ex (x + 1) (301)
dx x + 1
´ ´
Let p = −1
x+1then pdx = −1
x+1 dx = −ln |x + 1| = ln |x + 1|
−1
´ −1
pdx 1
I.F. = e = eln|x+1| = x+1
48
y = (ex + c) (x + 1) (306)
b) 1 + y 2 dx = tan−1 y − x dy
Solution
dy tan−1 y − x
= (307)
dx 1 + y2
dx tan−1 y x
= − (308)
dy 1 + y2 1 + y2
dx x tan−1 y
+ 2
= (309)
dy 1+y 1 + y2
´ ´
Let p = 1
1+y 2 then pdy = 1
1+y 2 dy = tan−1 y
´ −1
pdy
I.F. = e = etan y
u = t, du = 1and dv = et , v = et
ˆ ˆ
(314)
−1 −1
te dt = te − et dt = tet − et + c = tan−1 yetan y − etan y + c
t t
(315)
−1 −1
xetan y
= tan−1 y − 1 etan y + c
(316)
−1
x = tan−1 y − 1 + cetan y
c) xlnx dx
dy
+ y = 2lnx
dy y 2
+ = (317)
dx xlnx x
´ ´
Let p = 1
xlnx then pdx = 1
xlnx dx ,
Let t = lnxthen x1 dx = dt ⇒ dx = xdt
´ ´ 1
´ 1
pdx = xt · xdt = t dt = lnt = ln (lnx)
49
´
pdx
I.F. = e = eln(lnx) = lnx
= −5ecosx + c (329)
50
ysinx = −5ecosx + 9 (332)
Thus
dz
+ p (1 − n) z = (1 − n) Q
dx
Solution
dy y
+ = x2 y 6 (333)
dx x
dy y −5
y −6 + = x2 (334)
dx x
Let y −5 = z , −5y −6 dx
dy
= dz
dx and dy
= − 51 y 6 dx
dx
dz
1 dz z
− + = x2 (335)
5 dx x
dz 5z
− = −5x2 (336)
dx x
51
´ 5
−x
I.F. = e dx
= e−5lnx = x−5
5 −2
zx−5 = x +c (340)
2
But y −5 = z
5 −2
y −5 x−5 = x +c (341)
2
5 3 5
1= x y + cx5 y 6 (342)
2
by putting f (y) = z .
a) Solve dy
dx + xsin2y = x3 cos2 y
Solution
1 dy 2xsinycosy
· + = x2 (343)
cos2 y dx cosy
dy
sec2 y + 2xtany = x3 (344)
dx
Let z = tany
dy dz
sec2 y dx = dx
dy 1 dz
dx = sec2 y dy
Thus,
dz
+ 2xz = x3 (345)
dx
´ 2
2xdx
I.F. = e = ex
52
d h x2 i
(347)
2
ze = x3 ex
dx
ˆ
(348)
2 2
zex = x3 ex dx
u = t, du = 1and dv = et , v = et
ˆ ˆ
1 1 1
tet dt = tet − et dt = (t − 1) et + c (350)
2 2 2
1 2
(351)
2 2
zex = x − 1 ex + c
2
But z = tany
1 2
(352)
2 2
tanyex = x − 1 ex + c
2
1 2
(353)
2
x − 1 + ce−x
tany =
2
b) Solve dy
dx + x (x + y) = x3 (x + y) − 1
3
Solution
Let x + y = u
dy du
1+ dx = dx
dy du
dx = dx −1
Replacing,
du
− 1 + xu = x3 u3 − 1 (354)
dx
du
+ xu = x3 u3 (355)
dx
du
u−3 + xu−2 = x3 (356)
dx
u−2 = z
−2u−3 du
dx =
dz
dx and du
dx = − 12 u3 dx
dz
1 dz
− + xz = x3 (357)
2 dx
dz
− 2xz = −2x3 (358)
dx
53
´ 2
−2xdx
I.F. = e = e−x
Let x2 = tthen dx = dt
ˆ 2x ˆ ˆ ˆ
−x2 3 −t dt 2 −t
te dt = − −te + e dt = − −te−t − e−t +c
−t −t −t
ze = −2x e =− x e dt = −
2x
(362)
= (t + 1) e −t
+c (363)
(364)
2 2
ze−x = x2 + 1 e−x + c
(365)
2 2
u−2 e−x = x2 + 1 e−x + c
(366)
2
u−2 = x2 + 1 + cex
(367)
−2 2
= x2 + 1 + cex
(x + y)
c) Solve ey dy
dx + 1 = ex
dy
ey + ey = ex (368)
dx
Let ey = z
dy dz
ey dx = dx
dy
dx = e−y dx
dz
dz
+ z = ex (369)
dx
´
dx
I.F. = e = ex
54
ˆ
zex = e2x dx (372)
1 2x
zex = e +c (373)
2
But ey = z
1 2x
ey ex = e +c (374)
2
1 2x
e(y+x) = e +c (375)
2
55
4 EXACT DIFFERENTIAL EQUATIONS
A dierential equation of the form M (x, y)dx + N (x, y)dy = 0is said to be exact
if the left hand side is an exact dierentil of some function, say M (x, y). That
is M (x, y)dx + N (x, y)dy = du(x, y) = 0.
Theorem: The necessary and sucient condition for an equation M (x, y)dx +
N (x, y)dy = 0to be exact is δM
δy = δN
δx .
Proof: The Necessary Part,
Given that M (x, y)dx + N (x, y)dy = 0is an eact dierential equation then
M (x, y)dx + N (x, y)dy = du(x, y) = 0.......................................(i) Therefore,
du = δu
δx du + δu
δy dy ..................................................................(ii)
From (i) and (ii) then M = δu
δx ,N = δu δM
δy δy , = ,
δ 2 u δN
δyδx δx = δ2 u
δxδy
Therefore,
δM
δy = δN
δx ,
Integrating (ii) with respect to x,
δu
N= δy + f (y)
Thus the equation M (x, y)dx + N (x, y)dy = 0is an exact dierential equation.
On integration then
´
u+ f (y)dy = c
56
Exercise
1. Solve dy
dx + ycosx+siny+y
sinx+xcosy+x =0
Solution
(ycosx + siny + y) dx = − (sinx + xcosy + x) dy (376)
M = ycosx + siny + y
N = sinx + xcosy + x
δM
δy = cosx + cosy + 1
δN
δx = cosx + cosy + 1
δM δN
= (378)
δy δx
Thus,
ˆ
u= (ycosx + siny + y) dx = c (379)
and
ˆ
u= (sinx + xcosy + x) dy = c (381)
2. Solve x2 + y dx + y 3 + x dy = 0
Solution
M = x2 + y and N = y 3 + x
δM δN
δy = δx =1
57
ˆ
y 3 + x dy (384)
u=
y4
+ xy + f (x) = c (385)
4
and
ˆ
x2 + y dx (386)
u=
y4
+ xy + f (y) = c (387)
4
Solution
1
+ cosy and N = x + lnx − xsiny
M =y 1+ x
δM δN 1
δy = δx =1+ x − siny
and
ˆ
u= (x + lnx − xsiny) dx (391)
58
4.1 Equations Reducible to Exact Dierential Equations
Group of terms Integrating factor Exact dierential
1
d xy
xdy − ydx x2
xdy − ydx 1
y2 d −xy
1
d ln xy
xdy − ydx xy
1
d tan−1 xy
xdy − ydx x2 +y 2
1 x+y
xdy − ydx x2 −y 2 d 12 ln x−y
4. Solve xdy − ydx = y lnxdx
2
Solution
Multiplying both sides by 1
y2 ,
x 1 xdy − ydx
dy − dx = lnxdx = lnxdx (394)
y2 y y2
−x
d = lnxdx (395)
y
−x
d − lnxdx = 0 (396)
y
ˆ ˆ
−x
d = lnxdx (397)
y
ˆ
−x 1
= xlnx − x· dx (398)
y x
−x
= xlnx − x + c (399)
y
p
5. Solve xdy − ydx = x x2 + y 2 dx
Solution
p
xdy − ydx = x x2 + y 2 dx (400)
59
r y 2
1 y
dy − 2 dx = 1+ (401)
x x x
y r y 2
d = 1+ (402)
x x
ˆ y
ˆ
d
q x
= dx (403)
y 2
1+ x
´ √
√ 1
a2 +x2
dx = ln x + a2 + x2
" r #
y y 2
ln + 1+ =x+c (404)
x x
ydx + xdy xy 2 x2 y
2 2
+ 2 2 dx − 2 2 dy = 0 (406)
x y x y x y
d(xy) 1 1
+ dx − dy =0 (407)
x2 y 2 x y
Integrating,
ˆ ˆ
d(xy) 1 1
+ dx − dy =0 (408)
x2 y 2 x y
1
− + lnx − lny = c (409)
xy
1 x
− + ln =c (410)
xy y
60
7. Solve x4 ex − 2mxy 2 dx + 2mx2 ydy = 0
Solution
x4 ex dx − 2m xy 2 dx − x2 ydy = 0 (411)
Dividing by x4
xy 2 dx − x2 ydy
x
e dx − 2m =0 (412)
x4
(ydx − xdy)
ex dx − 2my =0 (413)
x3
y (ydx − xdy)
ex dx − 2m =0 (414)
x x2
y y
ex dx − 2m d =0 (415)
x x
Integrating,
y 2
ex dx − m =c (416)
x
61
5 APPLICATION OF FIRST ORDER DIFFER-
ENTIAL EQUATIONS
5.1 In Mechanics
1. A moving body is opposed by a force per unit mass of value Cx and the
resistance per unit mass of radius bv 2 whose x and v are the displacement nand
velocity of the particle rspectively at that instant. Determine the velocity of
the particle in terms of x if it starts from rest.
Solution
Let m be the mass of the particle , then the equation of motion from Newton's
second law of motion is:
F = −mcx − mbv 2
ma = −mcx − mbv 2
dv
m = −mcx − mbv 2 (417)
dt
dv dx
m · = −mcx − mbv 2 (418)
dx dt
dv
= − cx + bv 2 (419)
v
dx
dv
v + bv 2 = −cx (420)
dx
Put v 2 = z
dv dz
2v = (421)
dx dx
dv 1 dz
= (422)
dx 2v dx
62
The above equation becomes:
1 dz
+ bz = −cx (423)
2 dx
dz
+ 2bz = −2cx (424)
dx
´
2bdx
I.F = e = e2bx
dz
e2bx + 2bze2bx = −2cxe2bx (425)
dx
d 2bx
ze = −2cxe2bx (426)
dx
ˆ
ze2bx = −2c xe2bx dx (427)
ˆ
x 2bx 1 2bx
ze 2bx
= −2c e − e dx (428)
2b 2b
" #
x 2bx 1 2bx
ze2bx
= −2c e − 2e +k (429)
2b (2b)
−c 1
z= x− + ke−2bx (430)
b 2b
−c 1
v = 2
x− + ke−2bx (431)
b 2b
Whenv = 0,x = 0
−c 1
0= − +k (432)
b 2b
63
−c
k= (433)
2b2
Thus,
c cx
v2 = 2
1 − e−2bx − (434)
2b b
Solution
If the velocity of the body is r after falling a distance r then the equation of
motion is
dv
mv = mg − kv 2 (435)
dx
dv
mv = ka2 − kv 2 (436)
dx
dv
= k a2 − v 2 (437)
mv
dx
ˆ ˆ
dv k
v 2 = dx (438)
a − v2 m
ˆ ˆ
1 −2vdv k
− 2 2
= dx (439)
2 a −v m
1 k
− ln a2 − r2 = x + c (440)
2 m
Whenv = 0,x = 0
1
− lna2 = c (441)
2
64
1 k 1
− ln a2 − r2 = x − lna2 (442)
2 m 2
1 a2
k
ln 2 2
= x (443)
2 a −r m
a2 2kx
(444)
ln =
a2 − r2 m
Chemistry
1. Uranium disintegrates at a rate proportional to the amount present at any
instant. If m1 and m2 are the masses present at times T1 and T2 respectively,
show that the half of uranium is T2 −T1
m
ln m1
ln2
2
Solution
Let m be the mass of uranium present at time t. Then the equation of
disentegration will be
dm
= −µm (445)
dt
ˆ ˆ
dm
= −µdt (446)
m
m0
ln = µt (448)
m
Now at
t = T1 ,m = m1
65
t = T2 ,m = m2
m0
ln = µT1 (449)
m1
m0
ln = µT2 (450)
m2
m0 m0
µ (T2 − T1 ) = ln − ln (451)
m1 m2
m0 m2 m1
µ (T2 − T1 ) = ln · = ln (452)
m1 m0 m2
1 m1
µ= ln (453)
T2 − T1 m2
T2 − T1 m0
t= ln (454)
ln m 1 m
m2
T2 − T1 m0
T = ln m0 (455)
m1
ln m 2
2
T2 − T1
T = ln2 (456)
m1
ln m 2
5.2 Mixtures
1. A tank initially contains 50 gallows of fresh water. Brine containing 2lb of
salt per gallow ows inrto the tank at a rate of 2lb/min and the mixture, kept
uniform by stirring, runs out at the same rate. How long will it take for the
quantity of salt in the tank to increase from 40lb to 80lb?
66
Solution
Let the salt content at time t be ulb in the tank. Therefore the rate of change
of the content of salt in the tank is du
dt .The rate of increase of salt content in
the tank will be 2 × 2 = 4lb/min. If C is the concentration of brine in the tank
at time t then the rate of decrease of salt content in the tank is
u
2clb/min = 2 lb/min
50
Thus
du u 100 − u
=4− = (457)
dt 25 25
ˆ ˆ
du 1
= dt (458)
100 − u 25
t
−ln |100 − u| = +k (459)
25
100 1
ln = t (460)
100 − u 25
100
t = 25ln (461)
100 − u
Let t = t1 ,u = 40
t = t2 ,u = 80
100 100 5
t1 = 25ln = 25ln = 25ln (462)
100 − 40 60 3
100 100
t2 = 25ln = 25ln = 25ln5 (463)
100 − 80 20
67
t2 − t1 = 25ln3mins (464)
dm
= µ (75 − m) (465)
dt
ˆ ˆ
dm
= µdt (466)
75 − m
75
ln = µt (468)
75 − m
When t = 30min,m = 8g
75
ln = 30µ (469)
67
1 75
µ= ln (470)
30 67
75 t 75
ln = ln (471)
75 − m 30 67
68
30 75
t= 75 ln 75 − m (472)
ln 67
75 75
ln = 3ln (473)
75 − m 67
−3
75 75
(474)
75
= e−3ln 67 = = 0.7129
75 − m 67
(475)
75
75 − m = 75e−3ln 67 = 53.469
69
6 SECOND ORDER DIFFERENTIAL EQUA-
TIONS
6.1 Introduction
The general form of the the nth order linear dierential equation is given by
dn y dn−1 y dn−2 y
+ P 1 + P 2 + ... + Pn y = Q(x)
dxn dxn−1 dxn−2
dn y dn−1 y dn−2 y
n
+ k1 n−1 + k2 n−2 + ... + kn y = 0
dx dx dx
dn y1 dn−1 y1 dn−2 y1
+ k 1 + k2 + ... + ky1 = 0
dxn dxn−1 dxn−2
and for y = y2
dn y2 dn−1 y2 dn−2 y2
+ k 1 + k2 + ... + ky2 = 0
dxn dxn−1 dxn−2
dn dn−1 dn−2
(c1 y1 + c 2 y2 )+k 1 (c1 y1 + c2 y2 )+k2 (c1 y1 + c2 y2 )+...+k (c1 y1 + c2 y2 ) = 0
dxn dxn−1 dxn−2
which shows that if y1 and y2 are the onlty solutions of the above equation
then c1 y1 + c2 y2 is also a solution where c1 and c2 are arbitrary constants.
70
6.2 The D-Operator
The following D-Operator method will be adopted as indicated:
= D, dx 2 = D , dx3 = D , dx4 = D ,..., dxn = D
2 3 4 n
d d 2 d 3 d 4 d n
dx
In this case the linear dierential equation with constant coecients can be
written as:
f (D)y = 0
f (D)y = 0is also called the auxillary form of the dierential equation f (D) =
Case 1:
If all the roots of f (D) = 0are real and dierent then f (D)y = 0can be
written as
d
− mn y = 0
dx
dy
− mn y = 0
dx
dy
e−mn x − mn e−mn x y = 0
dx
71
d −mn x
ye =0
dx
ye−mn x = cn
y = cn emn x
y = c1 e m 1 x
y = c2 e m 2 x
y = c3 e m 3 x
e.t.c.
Therefore the complte solution will be the source of these independent solu-
tions i.e.
Case 2:
If all the roots are real but two of them are equal and the rest dierent, say,
m1 = m2 , m3 , m4 , ..., mn dierent then
72
Therefore there will be (n − 1)solutions and we say that the solution is not
complete. An equation of order n have n independent solutions. Considering
the rst two equal roots in this case,
[(D − m1 )(D − m1 )] y = 0
and
(D − m1 )y = z
then
(D − m1 )z = 0
d
− m1 z = 0
dx
dz
− m1 z = 0
dx
´
I.F. = e− m1 dx
= e−m1 x
dz
e−m1 x − m1 e−m1 x z = 0
dx
d −m1 x
ze =0
dx
Integrating
ze−m1 x = k1
z = k1 em1 x
73
Now
(D − m1 )y = z
(D − m1 )y = k1 em1 x
dy
− m1 y = k1 em1 x
dx
´
I.F. = e− m1 dx
= e−m1 x
dy
e−m1 x − m1 e−m1 x y = k1 em1 x · e−m1 x
dx
dy
e−m1 x − m1 e−m1 x y = k1
dx
d −m1 x
ye = k1
dx
Integrating,
ˆ
ye−m1 x = k1 dx
ye−m1 x = k1 x + k2
y = (k1 x + k2 ) em1 x
74
y = c1 + c2 x + c3 x2 em1 x + c4 em4 x + ..... + cn emn x
Case 3:
If one pair of the roots is comples and the other rfeal and dierent saym1 =
α + iβ, m2 = α − iβ, m3 , m4 , ..., mn are the roots then the solution is given by
Case 4: If two of the complex roots are equal and the others real and dierent
i.e. m1 = m2 = α + iβ, m3 = m4 = α − iβ, m5 , m6 , ..., mn then the complete
solution will be given as:
Exercise
75
1. Solve d2 x
dt2 + 6 dx
dt + 9x = 0
Solution
D2 − 6D + 9 x = 0 (477)
2
(D + 3) x = 0 (478)
D = −3, −3
Hence the roots are real but equal. Thus the complete solution will be given
by
x = (c1 t + c2 ) e−3t
2. Solve D3 + D2 + 4D + 4 x = 0
Solution
By inspection, D = −1satises the equation. Therefore (D + 1)is a factor
D2 (D + 1) + 4 (D + 1) = 0 (479)
D2 + 4 (D + 1) = 0 (480)
3. Solve d4 y
dx4 + 4y = 0
Solution
D4 + 4 y = 0 (482)
76
D4 + 4D2 + 4 − 4D2 = 0 (483)
(484)
2 2
D2 + 2 − (2D) = 0
D2 − 2D + 2 D2 + 2D + 2 = 0 (485)
When D2 − 2D + 2
√ √
2± 4−8 2± −4 2±2I
D= 2 = 2 = 2 =1±i
When D2 + 2D + 2
√ √
−2± 4−8 −2± −4 −2±2I
D= 2 = 2 = 2 = −1 ± i
4. Solve d3 y 2
d y dy
dx3 − 3 dx 2 + 3 dx − y = 0
Solution
D3 − 3D2 + 3D + 1 y = 0 (487)
D3 − 3D2 + 3D + 1 = 0 (488)
(D − 1) = 0
3
(489)
D = 1, 1, 1
y = c1 x2 + c2 x + c3 ex (490)
6. Solve d4 x
dt4 + m4 x = 0
77
Solution
D4 + m4 x = 0 (491)
√ 2
(493)
2
D2 + m2 − 2Dm = 0
7. Solve d4 y 2
d y
dx4 + 8 dx 2 + 16y = 0
Solution
D4 + 8D2 + 16 y = 0 (494)
(496)
2
D2 + 4 =0
dn y dn−1 y dn−2 y
n
+ k1 n−1 + k2 n−2 + ... + kn y = Q(x)
dx dx dx
n
D + k1 Dn−1 + k2 Dn−2 + ..... + kn y = Q(x)
This kind of equation will have two types of solutions; We solve the L.H.S=0
78
to get the complimetary function(C.F) of the equation. Then we nd the par-
ticular integral as a result of Q(x) given by
1
P.I. = Q(x)
Dn + k1 Dn−1 + k2 Dn−2 + ..... + kn
y = C.F + P.I
1
f (D) x is that function of x containing arbitrary constants which when operated
on by f (D)gives x.i.e.
1
f (D) x =x
f (D)
Thus f (D)and 1
f (D) are inverse operators of each other. Equation(2) can be
written as f (D)y = Q(x). Operating both sides by 1
f (D) then
1 1
f (D)y = Q(x)
f (D) f (D)
1
y= Q(x)
f (D)
Solution
Let y = 1
D Q(x)
1
Dy = D Q(x)
D
79
Dy = Q(x)
dy
= Q(x)
dx
ˆ
y= Q(x)dx
2. Evaluate 1
D−a Q(x)
Solution
Let y = 1
D−a Q(x)
1
(D − a) y = D − a Q(x)
D−a
(D − a) y = Q(x)
dy
− ay = Q(x)
dx
´
−adx
I.F. = e = e−ax
dy
e−ax − ae−ax y = e−ax Q(x)
dx
d −ax
ye = Q(x)e−ax
dx
Integrating,
ˆ
ye−ax = Q(x)e−ax
80
ˆ
y = eax Q(x)e−ax dx
1 ax 1
P.I. = e = n eax
f (D) D + k1 Dn−1 + ... + kn
Deax = aeax
D2 eax = a2 eax
Dn eax = an eax
\
f (D)eax = f (a)eax
1 1
[f (D)eax ] = [f (a)eax ]
f (D) f (D)
1 ax
eax = f (a) e
f (D)
1 ax 1 ax
e = e
f (D) f (a)
81
(D − a) φ(D).
1 ax 1
e = eax
f (D) (D − a) φ(D)
1
= eax
(D − a) φ(a)
1 1
= eax
φ(a) D − a
ˆ
1
Q(x) = eax Q(x)e−ax dx
D−a
ˆ
1
eax = eax eax e−ax dx
D−a
ˆ
ax
=e dx
= xeax
When D = a
82
f 0 (a) = φ(a)
Thus
1 ax 1 ax
e = e if f (a) 6= 0
f (D) f (a)
1 ax x
e = 0 eax if f 0 (a) 6= 0
f (D) f (a)
1 ax x2
e = 00 eax if f 00 (a) 6= 0
f (D) f (a)
Exercise:
1. Determine the particular integral of D2 + 5D + 6 y = ex
Solution
1
yp = ex (498)
D2 + 5D + 6
Put D = 1
1 1 x
yp = ex = e (499)
12 + 5(1) + 6 12
1
(500)
−2x
+ ex − e−x
yp = 2
e
(D + 2)(D − 1)
" #
1 1 1
e −2x
= e−2x
(501)
(D + 2)(D − 1)2 D + 2 (−2 − 1)2
1 1 −2x
= e (502)
D+2 9
83
1 x −2x
= · e (503)
9 1
x −2x
= e (504)
9
" #
1 1 1
e−2x = 2 2e
x
(505)
(D + 2)(D − 1)2 (D − 1) (D + 2)
1 1 x
= 2 e (506)
(D − 1) 3
1 1
= · · ex (507)
3 (D − 1)2
x2
1
= ex (508)
3 f 00 (D)
1 2 x
= x e (509)
6
1 1 −e−x
e −x
= e −x
= (510)
(D + 2)(D − 1)2 (−1 + 2)(−1 − 1)2 4
x −2x 1 2 x e−x
yp = e + x e − (511)
9 6 4
Case 2:
When Q(x) = sin(ax + b)or Q(x) = cos(ax + b)
In this case:
Dsin(ax + b) = asin(ax + b)
D4 sin(ax + b) = a4 sin(ax + b)
84
2 2
D2 sin(ax + b) = −a2
sin(ax + b)
2 3 3
D sin(ax + b) = −a2 sin(ax + b)
r r
D2 sin(ax + b) = −a2 sin(ax + b)
1
f (−a2 ) f (D 2 ) sin(ax + b) = sin(ax + b)
Exercise
1. Determine the particular integral of D3 + 1 y = cos (2x − 1)
Solution
1
yp = cos (2x − 1) (512)
D3 + 1
1
yp = cos (2x − 1) (513)
D(D2 ) + 1
1
yp = cos (2x − 1) (514)
1 − 4D
1 + 4D
= cos (2x − 1) (515)
(1 − 4D) (1 + 4D)
1 + 4D
= cos (2x − 1) (516)
1 − 16D2
1 + 4D
= cos (2x − 1) (517)
1 − 16(−4)
85
1
= [cos (2x − 1) + 4Dcos (2x − 1)] (518)
65
1
= [cos (2x − 1) − 8sin (2x − 1)] (519)
65
Solution
D3 + 4D y = sin2x (520)
1
yp = sin2x (521)
D3 + 4D
1
yp = sin2x (522)
−4D + 4D
Now f (D) = D3 + 4D
f 0 (D) = 3D2 + 4
f 0 (−a2 ) = 3(−4) + 4 = −8 6= 0
−x
yp = sin2x (523)
8
Case 3:
When Q(x) = eax V , where V is a function of x then we have
D (eax V ) = eax DV + aeax V
D (eax V ) = eax (D + a) V
86
Thus 1
f (D)
1
(eax V ) = eax f (D+a) V
Exercise
1. D2 − 2D + 4 y = ex cosx
Solution
1
yp = ex cosx (524)
D2 − 2D + 4
1
yp = ex 2 cosx (525)
(D + 1) − 2 (D + 1) + 4
1
yp = ex · cosx (526)
D2 + 2D + 1 − 2D − 2 + 4
1
yp = ex · cosx (527)
D2 + 3
f (D) = D2 + 3
f (D) = −12 + 3 = 2 6= 0
1
yp = ex · cosx (528)
2
1 x
yp = e cosx (529)
2
Solution
(D − 2) = 0
2
(530)
D = 2, 2
87
1
(532)
2x
yp = 2 8e + 8sin2x
(D − 2)
1 1
yp = 2 8e
2x
+ 2 8sin2x (533)
(D − 2) (D − 2)
f 00 (D) = 2 6= 0
1 8x2 2x
2 8e
2x
= e = 4x2 e2x (534)
(D − 2) 2
1 8
2 8sin2x = sin2x (535)
(D − 2) D2 − 4D + 4
ˆ
8 −2
= sin2x = sin2x = −2 sin2xdx = cos2x (536)
−4 − 4D + 4 D
or
8 −2 −2D −2D 1
= sin2x = sin2x = sin2x = sin2x = ·2cos2x = cos2x
−4 − 4D + 4 D D2 4 2
3. Solve d2 y
dx2 + a2 y = secax
Solution
D2 + a2 y = secax (538)
88
D2 + a2 = 0 (539)
D2 = −a2 (540)
D = ±ai
1
yp = secax (542)
D2 + a2
1
= secax (543)
(D + ai) (D − ai)
1 1 1
= − secax (544)
2ia D − ai D + ai
1 1 1
= secax − secax (545)
2ia D − ai D + ai
´
But 1
D−a Q(x) = eax Q(x)e−ax dx
ˆ
1
secax = eaix secaxe−iax dx (546)
D − ai
ˆ
cosax − isinax
= eiax dx (547)
cosax
ˆ
= eiax (1 − itanax) dx (548)
i
=e iax
x + ln |cosax| (549)
a
89
ˆ
1
secax = e−aix secaxeiax dx (550)
D + ai
ˆ
cosax + isinax
=e −iax
dx (551)
cosax
ˆ
= e−iax (1 + −itanax) dx (552)
i
=e −iax
x + ln |cosax| (553)
a
1 i i
yp = eiax x + ln |cosax| − e−iax x − ln |cosax| (554)
2ia a a
x 1
= sinax + 2 cosaxln |cosax| (556)
a a
y = yc + yp (557)
x 1
y = c1 cosax + c2 sinax + sinax + 2 cosaxln |cosax| (558)
a a
4. Solve D2 + 4 y = ex sin2 x
Solution
D2 + 4 = 0 (559)
D = ±2i
90
yc = c1 cos2x + c2 sin2x (560)
1
yp = ex sin2 x (561)
D2 +4
1
= ex 2 sin2 x (562)
(D + 1) + 4
1 1
= ex [1 − cos2x] (563)
D2 + 2D + 5 2
1 x 1 1
= e e 0x
− cos2x (564)
2 D2 + 2D + 5 D2 + 2D + 5
1 x 1 1
= e − cos2x (565)
2 5 −4 + 2D + 5
1 x 1 1
= e − cos2x (566)
2 5 2D + 1
1 x 1 2D − 1
= e − cos2x (567)
2 5 (2D + 1) (2D − 1)
1 x 1 2D − 1
= e − cos2x (568)
2 5 4D2 + 1
1 x 1 2D − 1
= e − cos2x (569)
2 5 −17
1 x 1 1
yp = e − (−4sin2x − cos2x) (570)
2 5 17
1 x 1 1
yp = e − (4sin2x + cos2x) (571)
2 5 17
91
y = yc + yp (572)
1 x 1 1
y = c1 cos2x + c2 sin2x + e − (4sin2x + cos2x) (573)
2 5 17
5. Solve d2 y
dx2
dy
− 2 dx + 4y = ex sin x2
Solution
x
D2 − 2D + 4 y = ex sin (574)
2
D2 − 2D + 4 = 0 (575)
D2 − 2D + 1 = −3 (576)
√
(D − 1) = 1 ± 3i (577)
√ √
yc = ex c1 cos 3x + c2 sin 3x (578)
1 x
yp = ex sin (579)
D2 − 2D + 4 2
1 x
= ex 2 sin (580)
(D + 1) − 2 (D + 1) + 4 2
1 x
= ex sin (581)
D2 + 2D − 1 − 2D − 2 + 4 2
1 x
= ex sin (582)
D2 + 3 2
92
1 x
= ex sin (583)
− 14 + 3 2
4 x x
yp = e sin (584)
11 2
y = yc + yp (585)
√ √ 4 x
yp = ex c1 cos 3x + c2 sin 3x + ex sin (586)
11 2
Casa 4:
When Q(x) = X m
Particular integral will be yp = 1
f (D) x
m −1
= [f (D)] xm . We expand this
Solution
2D2 + 2D + 3 = 0 (587)
√ √
−2± 4−24 5
D= 4 = − 12 ± 2 i
√ √ !
5 5
yc = e − 12 x
c1 cos x + c2 sin x (588)
2 2
1
yp = · x2 + 2x − 1 (589)
2D2 + 2D + 3
1
= 2
· x2 + 2x − 1 (590)
3 1+ 3D + 23 D2
−1
1 2 2 2
x2 + 2x − 1 (591)
= 1+ D+ D
3 3 3
93
1 2 2
1 − D − D2 − ... x2 + 2x − 1 (592)
=
3 3 9
1 2 2
= 2
x + 2x − 1 − (2x + 2) − · 2 (593)
3 3 9
1 2 2 25
= x + x− (594)
3 3 9
1 2 2 57
= x + x− (595)
3 9 27
y = yc + yp (596)
√ √ !
5 5 1 2 57
yp = e − 21 x
c1 cos x + c2 sin x + x2 + x − (597)
2 2 3 9 27
2. Solve D3 − 2D + 4 y = x4 + 3x2 − 5x + 2
Solution
D3 − 2D + 4 y = 0 (598)
(D + 2) D2 − 2D + 2 y = 0 (599)
D = −2, 1 ± i
1
x4 + 3x2 − 5x + 2 (601)
yp =
D3 − 2D + 4
94
1
x4 + 3x2 − 5x + 2 (602)
= 1 1 3
4 1− 2D − 4D
−1
1 1 1 3
x4 + 3x2 − 5x + 2 (603)
= 1− D− D
4 2 4
" 2 3 4 #
1 1 1 3 1 1 3 1 1 3 1 1 3
+ ... x4 + 3x2 − 5x + 2
= 1+ D− D + D− D + D− D + D− D
4 2 4 2 4 2 4 2 4
(604)
1 1 1 2 1 3 3 4
1 + D + D − D − D + ... x4 + 3x2 − 5x + 2 (605)
=
4 2 4 8 16
1 4 2 1 3
1 2
1 3
= x + 3x − 5x + 2 + 4x + 6x − 5 + 12x + 6 − (24x) − (24) + ...
4 2 4 8 16
(606)
1 4 1 3 3 2 5 7
= x + x + x − x− (607)
4 2 2 4 8
y = yc + yp (608)
1 1 3 5 7
y = c1 e−2x + ex (c2 cosx + c3 sinx) + x4 + x3 + x2 − x − (609)
4 2 2 4 8
Exercise:
Determine the particular integrals of the following dierential equations
a) D2 + D + 1 y = e2x + 6ex − 3e−2x + 5Ans: yp = 1 3x
+ 2ex − e−2x + 5
13 e
b) D4 − 1 y = sin2xAns:yp = 1
15 sin2x
95
d) D4 + 4 y = sin2xAns:yp = − 14 xcos2x
e) D2 − 1 y = x2 Ans:yp = −x2 − 2
f) D4 D2 − 1 y = x2 Ans:yp = − 360
1
x6 + 30x4
g) D2 + 2 y = x3 + x2 Ans: 1
2 x3 + x2 − 3x − 1
96
7 CAUCHY HOMOGENEOUS LINEAR EQUA-
TIONS
where k's ae contants and Q(x) is some function of x is called a cauchy homo-
geneous Linear equation, Such an equation can be redced to a linear dierential
equation with constant coecients by puttingx = et ort = lnx.
dy dy dt
= ·
dx dt dx
1 dt
= ·
x dx
1
= Dy
x
where D = d
dt
d2 y
d 1
2
= Dy
dx dx x
1 dy 1 d dy
=− +
x2 dt x dt dt
1 dy 1 dt d dy
=− 2 + · ·
x dt x dx dt dt
1 dy 1 d2 y
=− 2
+ 2· 2
x dt x dt
97
1 1 1
Dy + 2 D2 y = 2 D2 − D y
=− 2
x x x
1
== D (D − 1) y
x2
Thus,
dy
x = Dy
dx
d2 y
x2 = D (D − 1) y
dx2
d3 y
x3 = D (D − 1) (D − 2) y
dx3
Solution
Let x = et ort = lnx.
dy
x dx = Dy
2
d y
x2 dx 2 = D (D − 1) y
3
d y
x3 dx 3 = D (D − 1) (D − 2) y
[D (D − 1) − D + 1] y = t (610)
D2 − D − D + 1 y = t (611)
D2 − 2D + 1 y = t (612)
98
2
(D − 1) y = t (613)
(D − 1) = 0
2
(614)
D = 1, 1
yc = (c1 + c2 t) et (615)
1
yp = 2t (616)
(D − 1)
1
= 2t (617)
(1 − D)
= (1 − D)
−2
t (618)
= (1 + 2D + ....) t (619)
=t+2 (620)
y = yc + yp (621)
y = (c1 + c2 t) et + t + 2 (622)
But t = lnx.
99
2. Solve x2 dx 2 − 4x dx + 6y = x ................................................(i)
2
d y dy 5
3
d y
x3 dx 3 = D (D − 1) (D − 2) y
[D (D − 1) − 4D + 6] y = e5t (624)
D2 − D − 4D + 6 y = e5t (625)
D2 − 5D + 6 y = e5t (626)
(D − 3) (D − 2) y = e5t (627)
(D − 3) (D − 2) = 0 (628)
D = 3, 2
1 1 1
yp = e5t = e5t = e5t (630)
(D − 3) (D − 2) (5 − 3) (5 − 2) 6
y = yc + yp (631)
1
y = c1 e3t + c2 e2t + e5t (632)
6
100
But t = lnxand x = et
1
y = c1 x3 + c2 x2 + x5 (633)
6
dr −
Solution
d2 u du
r2 +r − u = −kr3 (634)
dr2 dr
Let t = lnrand r = et
r du
dr = Du
2
r2 ddru2 = D (D − 1) u
[D (D − 1) + D − 1] u = −ke3t (635)
(636)
2
D − D + D − 1 u = −ke3t
D2 − 1 u = −ke3t (637)
(D − 1) (D + 1) u = −ke3t (638)
(D − 1) (D + 1) = 0 (639)
uc = c1 e−t + c2 et (640)
101
1 1 k
up = − ke3t = − ke3t = − e3t (641)
(D − 1) (D + 1) (3 − 1) (3 + 1) 8
u = uc + up (642)
k 3t
= c1 e−t + c2 et − e (643)
8
c1 k
u= + c2 r − r3 (644)
r 8
k 4
ur = c1 + c2 r2 − r (645)
8
c1 = 0
k 4
ur = c2 r2 − r (646)
8
k 4
0 = c2 a2 − a (647)
8
k 4
c2 = a
8
k 4 2 k 4
ur = a r − r (648)
8 8
k
r a2 − r2 (649)
ur =
8
102
4. Solve x2 D2 − 2xD + 2 y = x3 +sin (5lnx)...................................................(i)
Solution
Let x = et ort = lnx.
dy
x dx = Dy
2
d y
x2 dx 2 = D (D − 1) y
3
d y
x3 dx 3 = D (D − 1) (D − 2) y
(D − 1) (D − 2) = 0 (654)
yc = c1 et + c2 e2t (655)
1
(656)
3t
yp = e + sin5t
(D − 1) (D − 2)
1 1
yp = e3t + 2 sin5t (657)
(D − 1) (D − 2) D − 3D + 2
1 1
yp = e3t + sin5t (658)
(3 − 1) (3 − 2) −25 − 3D + 2
103
1 3t 1
= e + sin5t (659)
2 −23 − 3D
1 3t 23 − 3D
= e − 2 sin5t (660)
2 23 − 9D2
1 3t 23 − 3D
= e − sin5t (661)
2 329 + 225
1 3t 1
= e − (23sin5t − 15cos5t) (662)
2 754
y = yc + yp (663)
1 1
y = c1 et + c2 e2t + e3t − (23sin5t − 15cos5t) (664)
2 754
1 1
y = c1 x + c2 x2 + x3 − (23sin (5lnx) − 15cos (5lnx)) (665)
2 754
104
8 LEGENDER LINEAR DIFFERENTIAL EQUA-
TION
n dn y n−1 d
n−1
y n−2 d
n−2
y n−1 d
n−1
y
(ax + b) n
+k1 (ax + b) n−1
+k2 (ax + b) n−2
+...+kn−1 (ax + b) +kn y = Q(x)
dx dx dx dxn−1
where k's ae contants and Q(x) is some function of x is called a legender Lin-
ear dierential equation, Such an equation can be redced to a linear dierential
equation with constant coecients by putting(ax + b) = et ort = ln (ax + b).
dy dy dt
= ·
dx dt dx
a dt
= ·
(ax + b) dx
a
= Dy
(ax + b)
where D = d
dt
d2 y
d a
2
= Dy
dx dx (ax + b)
a2
dy a d dy
=− 2 +
(ax + b) dt (ax + b) dt dt
a2
dy a dt d dy
=− 2 dt + (ax + b) · dx · dt
(ax + b) dt
a2 dy a2 d2 y
=− + 2 2 · 2
(ax + b) dt (ax + b) dt
105
d2 y
2
2 2 d y dy
(ax + b) = a −
dx2 dt2 dt
= a2 D2 − D y
Thus,
dy
(ax + b) = aDy
dx
2 d2 y
(ax + b) = a2 D (D − 1) y
dx2
3 d3 y
(ax + b) = a3 D (D − 1) (D − 2) y
dx3
Exercise
1. Solve (1 + x)2 dx 2 +(1 + x) dx +y = 2sin [ln (1 + x)]................................(i)
2
d y dy
Solution
Put(1 + x) = et ort = ln (1 + x)
then
dy
(1 + x) = Dy
dx
2 d2 y
(1 + x) = D (D − 1) y
dx2
[D (D − 1) + D + 1] y = 2sint (666)
D2 − D + D + 1 y = 2sint (667)
106
D2 − 3D + 2 y = e3t + sin5t (668)
D2 + 1 y = 2sint (669)
D2 + 1 y = 0 (670)
D = ±i (671)
1 2t t D
yp = 2sint = sint = sint = t 2 sint = −tcost (673)
D2 +1 2D D D
y = yc + yp (674)
But t = ln (1 + x)
y = c1 cost [ln (1 + x)] + c2 sin [ln (1 + x)] − [ln (1 + x)] cos [ln (1 + x)] (676)
Solution
Put(1 + x) = et ort = ln (1 + x)
107
then
dy
(1 + x) = Dy
dx
2 d2 y
(1 + x) = D (D − 1) y
dx2
D2 y = 0 (679)
D = 0, 0 (680)
yc = c1 t + c2 (681)
1
4e2t + 6et + 2 (682)
yp =
D2
y = yc + yp (684)
108
y = c1 t + c2 + 4e2t + 6et + t2 (685)
But t = ln (1 + x)
2 2
y = c1 ln (1 + x) + c2 + (1 + x) + 6 (1 + x) + [ln (1 + x)]
2
(687)
Put(x + 3) = et ort = ln (x + 3)
then
dy
(x + 3) = Dy
dx
2 d2 y
(x + 3) = D (D − 1) y
dx2
[D (D − 1) − 4D + 6] y = t (688)
D2 − 5D + 6 y = t (689)
D2 − 5D + 6 y = 0 (690)
(D − 2) (D − 3) = 0 (691)
109
D = 2, 3 (692)
1
yp = (t) (694)
D2 − 5D + 6
−1
1 5 1 2
= 1− D− D t (695)
6 6 6
1 5 1
= 1 + D − D2 t (696)
6 6 6
t 5
= + (697)
6 36
OR
1 1
yp = − t
D−3 D−2
1 1
= t− t (698)
D−3 D−2
ˆ
1
Q(x) = eax Q(x)e−ax dx
D−a
ˆ
1
t = e3t te−3t dt (699)
D−3
ˆ
t −3t 1 −3t
3t
=e − e − − e dt (700)
3 3
110
t 1 t 1
= e3t − e−3t − e−3t = − − (701)
3 9 3 9
and
ˆ
1
t = e2t te−2t dt (702)
D−2
ˆ
t 1
= e2t − e−2t − − e−2t dt (703)
2 2
t −2t 1 −2t t 1
=e 2t
− e − e =− − (704)
2 4 2 4
t 1 t 1 t 5
yp = − − − − − = + (705)
3 9 2 4 6 36
y = yc + yp (706)
t 5
y = c1 e2t + c2 e3t + + (707)
6 36
But t = ln (1 + x)
ln (x + 3) 5
y = c1 2ln (x + 3) + c2 3ln (x + 3) + + (708)
6 36
1 5
2 3
y = c1 (x + 3) + c2 (x + 3) + ln (x + 3) + (709)
6 36
111
9 SIMULTANEOUS DIFFERENTIAL EQUATIONS
dx
+ 4y = t
dt
dy
+ 2x = et
dt
Solution
On using the D-Operator method
Dx + ωy = 0...........................................................................(i)
−ωx + Dy = 0.....................................................................(ii)
ωDx + ω 2 y = 0...........................................................................(iii)
112
−ωDx + D2 y = 0.....................................................................(iv)
ω 2 y + D2 y = 0...........................................................................(v)
or
ω 2 + D2 y = 0..................................................................(v)
ω2 + D2 = 0
D2 = −ω 2 or D = ±iω
y = Acosωt + Bsinωt....................................................................(vi)
Dy = −Aωsinωt + Bωcosωt....................................................................(vii)
113
ωx = −Aωsinωt + Bωcosωt
x = −Asinωt + Bcosωt
Solution
Dx + Dy + 2x + y = 0...................................(i)
Dy + 5x + 3y = 0...................................(ii)
(D + 2) x + (D + 1) y = 0.............................(iii)
5x + (D + 3) y = 0.....................................(iv)
5 (D + 2) x + 5 (D + 1) y = 0.............................(v)
5 (D + 2) x + (D + 3) (D + 2) y = 0.....................................(vi)
114
D2 + 5D + 6 − 5D − 5 y = 0 or D2 + 1 y = 0
D = ±i
y = C1 cost + C2 sint
1 1
x= (C1 − 3C2 ) sint − (3C1 + C2 ) cost
5 5
3. Solve
dx dy
dt − dt + 2y = cos2t
dx dy
dt + dt − 2x = sin2t
Solution
Dx − Dy + 2y = cos2t...................................(i)
Dx + Dy − 2x = sin2t...................................(ii)
Dx − (D − 2) y = cos2t.............................(iii)
115
(D − 2) x + Dy = sin2t.....................................(iv)
D2 x − D (D − 2) y = −2sin2t.............................(v)
2
(D − 2) x + D (D − 2) y = 2cos2t − 2sin2t.....................................(vi)
h i
2
D2 + (D − 2) x = 2cos2t − 4sin2t.....................................(vi)
D2 − 2D + 2 x = cos2t − 2sin2t
D2 − 2D + 2 x = 0
√
2± 4−8
D= =1±i
2
116
1 2
xp = cos2t − 2 sin2t
D2 − 2D + 2 D − 2D + 2
1 2
= cos2t − sin2t
−4 − 2D + 2 −4 − 2D + 2
−1 2
= cos2t − sin2t
2D + 2 D+1
−2D − 2 D−1
= cos2t − 2 sin2t
4D2 − 4 D −1
2D − 2 D−1
= cos2t − sin2t
−16 − 4 −4 − 1
1 1
= (D − 1) cos2t − (D − 1) sin2t
10 5
1 1
= (−2sin2t − cos2t) − (2cos2t − sin2t)
10 5
1
= − cos2t
2
x = xc + xp
1
x = et [C1 cost + C2 sint] − cos2t.........................................(vii)
2
dx
= et [−C1 cost + C2 sint] + et [C1 cost + C2 sint] + sin2t..............(viii)
dt
117
Adding equations (i) and (ii), we get
dx
2 + 2y − 2x = cos2t + sin2t.........................................(ix)
dt
t t
t 1
2 e [−C1 cost + C2 sint] + e [C1 cost + C2 sint] + sin2t +2y−2 e [C1 cost + C2 sint] − cos2t
2
= cos2t + sin2t
1
y = et [C1 cost + C2 sint] − sin2t
2
Exercise:
Solve the following system of equations:
(a)(D − 3) x + 2 (D + 2) y = e2t
2 (D + 1) x + (D − 1) y = 0
118
10 VARIATION OF PARAMETERS
C1 y1 (x) + C2 y2 (x)
V1 y1 (x) + V2 y2 (x)..................................................(iii)
119
yp (x) = V1 (x)y1 (x) + V2 (x)y2 (x)..................................................(iv)
yp0 (x) = V1 (x)y10 (x)+V2 (x)y20 +V10 (x)y1 (x)+V20 (x)y2 (x)..................................................(v)
We now impose the basic condition that (iv) be a solution of equation (i).
Thus we substitute (iv), (vii)and (viii) for y, y 0 and y 00 , repectively in equation
(i) and obtain the following identity;
a0 (x) [V1 (x)y100 (x) + V2 (x)y200 + V 0 (x)y10 (x) + V20 (x)y20 ]+a1 (x) [V1 (x)y10 (x) + V2 (x)y20 ] +
120
Since y1 and y2 are solutions of the corresponding homogeneous dierential
equation (ii), the expression in the rst two brackets in (ix) are identically zero.
This leaves merely;
Q(x)
[V10 (x)y10 (x) + V20 (x)y20 (x)] = ..............................(x)
a0 (x)
This is actually what the basic condition demand. Thus the imposed con-
ditions require that the fnctions V1 and V2 be chosen such that the system of
equations
Q(x)
V20 (x)y10 (x) + V20 (x)y20 (x) = ..............................(xi)
a0 (x)
121
y1 (x) 0
0 Q(x)
y1 (x) a0 (x) Q(x)y1 (x)
V20 (x) = =
y1 (x) y2 (x)
a0 (x)ω (y1 (x), y2 (x))
0
y1 (x) y20 (x)
Thus we obtain,
ˆx
Q(x)y2 (x)
V1 (x) = dx..............................(xii)
a0 (x)ω (y1 (x), y2 (x))
ˆx
Q(x)y1 (x)
V2 (x) = dx..............................(xiii)
a0 (x)ω (y1 (x), y2 (x))
Solution
Assume
where the functions V1 (x)and V2 (x) will be determined such that this is a
particular integral of the dierential equation (i). Then
122
We impose the condition;
leaving
0 cos(x)
tanx −sin(x)
−cos(x)tan(x)
V10 (x) = = = sin(x)
sin(x) cos(x) −1
cos(x) −sin(x)
sin(x) 0
cosx −tan(x)
0 −sin(x)tan(x) −sin2 (x) cos2 (x) − 1
V2 (x) =
= = = = cos(x)−sec(x)
sin(x) cos(x) −1 cos(x) cos(x)
cos(x) −sin(x)
123
Integrating we nd that:
y = yc + yp
Let C1 + C3 = Aand C2 + C4 = B
124
2. Solve the dierential; equatin using method of variation of parameters
y 000 − 6y 00 + 11y 0 − 6y = ex
Solution
Assume,
yp0 = V10 (x)ex +V20 (x)e2x +V30 (x)e3x +V1 (x)ex +2V2 (x)e2x +3V3 (x)e3x .............................(iv)
Then
yp00 = V10 (x)ex +2V20 (x)e2x +3V30 (x)e3x +V1 (x)ex +4V2 (x)e2x +9V3 (x)e3x .............................(vii)
125
V10 (x)ex + 2V20 (x)e2x + 3V30 (x)e3x = 0.............................(viii)
yp000 = V10 (x)ex +4V20 (x)e2x +9V30 (x)e3x +V1 (x)ex +8V2 (x)e2x +27V3 (x)e3x .............................(x)
V10 (x)ex +4V20 (x)e2x +9V30 (x)e3x +V1 (x)ex +8V2 (x)e2x +27V3 (x)e3x −6 V1 (x)ex + 4V2 (x)e2x + 9V3 (x)e3x
V10 (x)ex +4V20 (x)e2x +9V30 (x)e3x +V1 (x)ex +8V2 (x)e2x +27V3 (x)e3x −6V1 (x)ex −24V2 (x)e2x −54V3 (x)e3x
+11V1 (x)ex + 22V2 (x)e2x + 33V3 (x)e3x − 6V1 (x)ex − 6V2 (x)e2x − 6V3 (x)e3x = ex
or
Thus we have three equations (v),(viii) and (xi) from which to determine
126
V1 (x), V2 (x)and V3 (x),
Solving we nd,
2x 3x
0 e e
0
2e2x 3e3x
x
e 4e2x 9e3x
0 1
V1 (x) = =
ex 2
e2x e3x
ex 2e2x 3e3x
x
e 4e2x 9e3x
x
e3x
e 0
ex 0 3e3x
x
e ex 9e3x
V20 (x) = = −e−x
ex e2x e3x
ex 2e2x 3e3x
x
e 4e2x 9e3x
x 2x
e e 0
ex 2e2x 0
x
e 4e2x ex
1
V30 (x) = = e−2x
ex 2
e2x e3x
ex 2e2x 3e3x
x
e 4e2x 9e3x
127
Integrating,
1
V1 (x) = x + C4 ....................................(xii)
2
1
V3 (x) = − e−2x + C6 .................................(xiv)
4
1 x −x
2x 1 −2x
yp = x + C4 e + e + C5 e + − e + C6 e3x .............................(xv)
2 4
1 x 1
yp = xe + C4 ex + ex + C5 e2x − ex + C6 e3x
2 4
1 x 3 x
= xe + e + C4 ex + C6 e3x
2 4
y = yc + yp
1 3
= C1 ex + C2 e2x + C3 e3x + xex + ex + C4 ex + C6 e3x
2 4
3 1
= C1 + + C4 ex + C2 e2x + (C3 + C6 ) e3x + xex
4 2
Let C1 + 43 + C4 = Aand C3 + C6 = B
1
y = Aex + C2 e2x + Be3x + xex
2
Exercise:
128
Evaluate the folowing dierential equations using method of variation of
parameters:
a) y 00 + 4y = sec(x)
b) y 00 + 9y = 12sec(3x)
c) y 00 + y = sec(x)
d) d2 y
dx2 + y = sec(x)tan(x)
e)
2
d y
+ y = x − cot(x)
dx2
f) D2 − 6D + 9 y = ex2
3x
g) y 00 + 4y = sec(x)
h) y 00 + 9y = 12sec(3x)
129
11 METHOD OF UNDETERMINED COEFFI-
CIENTS
by substituting tthen proposed solution into the given dierential equations and
equating coecients of the like terms.
Case 1: If φ(x) = Pn (x)is an nth order polynomial in x, then we assume
that the solution of yp is given by:
yp = eαx sinβx An xn + An−1 xn−1 + ... + A1 x + A0 +eαx sinβx An xn + An−1 xn−1 + ... + A1 x + A0
yp = eαx sinβx An xn + An−1 xn−1 + ... + A1 x + A0 +eαx sinβx An xn + An−1 xn−1 + ... + A1 x + A0
The modication of this method is that if any term of the assumed solution
regardless of the constant is a term of yc then the assumed solution must be
130
modied by multiplying it by xm where m is the lowest positive integer such that
the product xm with the assumed solution has no common term with yc .
The limitation of this method is that it cannot be used if p(x) does not
fall in any of the above four cases discussed. If the equation does not contain
coecients, in such a situation another method can be used.
Example:
Solution
D2 − 2D y = 0
[D (D − 2)] y = 0
D = 0, D = 2
yc = c1 + c2 e2x
131
Assume the solution is of the form;
yp = A1 ex sinβx + A2 ex cosβx...............................(i)
yp00 = A1 (ex sinβx + ex cosβx + ex cosβx − ex sinβx)+A2 (ex cosβx − ex sinβx − ex sinβx − ex cosβx)
Replacing,
1
A1 = −
2
2A2 ex cosβx+ = 0
132
A2 = 0
1
yp = − ex sinβx
2
y = yc + yp
1
= c1 + c2 e2x − ex sinβx
2
133
12 LAPLACE TRANSFORMATIONS
´∞
By denition L {y(t)} = 0
e−st y(t)dt = y(s).
´∞
L {y 0 (t)} = 0
e−st y 0 (t)dt.
By integration by parts;
du
u = e−st =⇒ = −se−st
dt
dv
= y 0 (t) =⇒ v = y(t)
dt
ˆ ∞
0 −st
L {y (t)} = e y(t) |∞
0 + se−st y(t)dt
0
ˆ ∞
= 0 − y(0) + s e−st y(t)dt
0
= sy(s) − y(0)
´∞
L {y 00 (t)} = 0
e−st y 00 (t)dt.
du
u = e−st =⇒ = −se−st
dt
dv
= y 00 (t) =⇒ v = y 0 (t)
dt
ˆ ∞
L {y 00 (t)} = e−st y 0 (t) |∞
0 + se−st y(t)dt
0
ˆ ∞
= 0 − y 0 (0) + s e−st y 0 (t)dt
0
134
Similarly,
´∞
L {y 000 (t)} = 0
e−st y 000 (t)dt = s3 y(s) − s2 y(0) − sy 0 (0) − y 00 (0).
Example:
Solution
2
s2 y(s) − sy(0) − y 0 (0) − 3 [sy(s) − y(0)] + 2y(s) =
s−3
2
s2 y(s) − 2s − 3 − 3 [sy(s) − 2] + 2y(s) =
s−3
2 2 + (2s − 3) (s − 3) 2s2 − 9s + 11
s2 − 3s + 2 y(s) =
+2s−3 = =
s−3 s−3 s−3
2s2 − 9s + 11
y(s) =
(s − 3) (s2 − 3s + 2)
2s2 − 9s + 11
=
(s − 3) (s − 1) (s − 2)
In partial fractions,
2s2 − 9s + 11 A B C
= + +
(s − 3) (s − 1) (s − 2) s−3 s−1 s−2
135
A = 1 B = 2 C = −1
1 2 1
y(t) = L−1 {y(s)} = L−1 + L−1 − L−1
s−3 s−1 s−2
2. Solve d2 y
dt2 dt − 8y = 0 using laplace transforms with initial values as
− 2 dy
Solution
s2 − 2s − 8 y(s) = 3s
3s 3s
y(s) = =
s2 − 2s − 8 (s − 4) (s + 2)
3s A B
= +
(s − 4) (s + 2) s−4 s+2
136
A=2B=1
−1 2 −1 1
y(t) = L +L
s−4 s+2
1. L−1 1
s =1
2. L−1 1
s−a = eat
3. L−1 1 tn−1
sn = (n−1)!
4. L−1 1
(s−a)n = eat tn−1
(n−1)!
5. L−1 a
s2 +a2 = sinat
6. L−1 s
s2 +a2 = cosat
7. L−1 a
s2 −a2 = sinhat
8. L−1 s
s2 −a2 = coshat
9. L−1 b
(s−a)2 +b
= eat sinbt
10. L−1 s−a
(s−a)2 +b2
= eat cosbt
11. L−1 s
(s2 +a2 )2
= 1
2a tsinat
12. L−1 s
(s2 +a2 )2
= 1
2a3 (sinat − atcosat)
1. d2 y
dt2 + y = e−2t sint where, y(0) = 0 and y 0 (0) = 0
137
2. d2 y
dt2 − dy
dt − 2y = 18e−t sin3t where, y(0) = 0 and y 0 (0) = 3
IN SERIES
13.1 Introduction
Consider the second order dierential equation
and suppose that the equation has no solution that is expressible as a nite
linear combination of known elementary functions due to the nature of the
variable coecients a0 (x), a1 (x) and a2 (x).If the coecients were constants then
the equation (1) could be easily solved by means of complimentary functions.
Let us assume, however, that it does have a solution that could be expressed in
the form of an innite series. Specically, we assume that it has a solution of
the form:
2
X n
y = C0 +C1 (x − x0 )+C2 (x − x0 ) +........ = Cn (x − x0 ) .......................(ii)
138
d2 y a1 (x) dy a2 (x)
+ + y=0
dx2 a0 (x) dx a0 (x)
where a0 (x) 6= 0.
or
d2 y dy
2
+ P1 (x) + P2 (x)y = 0..................................(iii)
dx dx
X f n (x0 ) n
f (x) = (x − x0 )
n!
exists and converges to f(x) for all x in an open interval of x0 . This is equivalent
to saying that the function is single valued and possesses derivatives of all orders
of that point. All polynomial functions are analytic everywhere and so also are
the functions et , cos(x), sin(x). A rational function is analytic except at these
points at which the denominator is zero. For example, the rational function;
1 1
= 2
x2 − 2x + 1 (x − 1)
139
13.1.3 Singular Point
If either one or both P1 (x)and P2 (x)in the equivalent normalized form (iii) is
not analytic at the point x = x0 , then we say that the point x0 is a singular
point of the dierential equation(i0.
Exercise:
Determine the singular points of the equation
(x − 1) y 00 + xy 0 + x1 y = 0
Solution
x 1
y 00 + y0 + y=0
x−1 x (x − 1)
P1 (x) = x
x−1 ,P2 (x) = 1
x(x−1)
At x=0 and x=1, the dierential equation becomes innite and so these are
singular points. All the other points are ordinary points.
d2 y dy
+ P1 (x) + P2 (x)y = 0
dx2 dx
140
(a)2x2 dx
2
d y dy
2 − x dx + (x − 5)y = 0
(b)x2 (x − 2)2 dx
2
d y dy
2 + 2(x − 2) dx + (x + 1)y = 0
Solution
(a) Writing the equation in the normalized form
d2 y x dy (x − 5)
− 2 + y=0
dx2 2x dx 2x2
P1 (x) = x
2x2 ,P2 (x) = (x−5)
2x2
d2 y 2(x − 2) dy (x + 1)
2
+ 2 + 2 y=0
dx x (x − 2) dx x (x − 2)2
2
P1 (x) = 2
x2 (x−2) ,P2 (x) = (x+1)
x2 (x−2)2
products as:
xP1 (x) = 2
x(x−2) ,x2 P2 (x) = (x+1)
(x−2)2
Now xP1 (x)is not analytic but x2 P2 (x)is analytic at x = 0is an irregular
singular point..
At x = 2we dene the products,
(x − 2)P1 (x) = 2
x2 ,(x − 2)2 P2 (x) = (x+1)
x2
141
a0 (x)y 00 + a1 (x)y 0 + a2 (x)y = Q(x)..............................(i)
∞
X n
y= Cn (x − x0 ) .......................(ii)
n=0
where x0 is the ordinary point about which we are nding the solution. From
equation (ii) then,
∞
X n−1
y0 = nCn (x − x0 )
n=1
∞
X n−2
y 00 = n(n − 1)Cn (x − x0 )
n=2
hX i hX i hX i
n−2 n−1 n
a0 (x) n(n − 1)Cn (x − x0 ) +a1 (x) nCn (x − x0 ) +a2 (x) Cn (x − x0 ) = Q(x)...........(ii
∞
X
y= Cn xn .......................(ii)
n=0
142
∞
X
y0 = nCn xn−1 ....................(iii)
n=1
∞
X
y 00 = n(n − 1)Cn xn−2 .................(iv)
n=2
∞
X ∞
X
n(n − 1)Cn xn−2 + 4 Cn xn = 0.....................................(v)
n=2 n=0
We now change the indexing so that the series has the general form xn−2 by
putting n = n − 2in the second sum
∞
X ∞
X
n(n − 1)Cn xn−2 + 4 Cn−2 xn−2 = 0.....................................(vi)
n=2 n=2
Adding the two because they have the same index then
∞
X
[n(n − 1)Cn + 4Cn−2 ] xn−2 = 0.....................................(vii)
n=2
For the power series to vanish identically over interval then each coecient
in the series must be zero. Thus
−4Cn−2
Cn = , n ≥ 2..................................(viii)
n (n − 1)
Relation (viii) is called a recurrent relation and is used to nd Cn for n ≥ 2in
terms of C0 and C1 , which are left arbitrary we therefore have
C2 = −4C0
2.1 ,C4 = −4C2
4.3 ,.......C2k = −4C2k−2
2k(2k−1)
143
C3 = −4C1
3.2 ,C5 = −4C3
5.4 ,......,C2k+1 = −4C2k−1
(2k+1)(2k)
We have taken both even and odd constants separately. Multiplying the
corresponding numbers of the even and odd;
−4C0 −4C2 −4C2k−2
C2 · C4 · ..... · C2k = 2.1 · 4.3 · ..... · 2k(2k−1)
(−1)k 4k
C2 · C4 · ..... · C2k = (2k)! C0 · C2 · C4 · ..... · C2k−2
k k
(−1) 4
C2k = (2k)! C0 , k ≥ 1...................................................(ix)
∞
X
y= C n xn
n=0
∞
X
= C0 + C1 x + Cn xn
n=2
∞
X ∞
X
= C0 + C1 x + C2k x2k + C2k+1 x2k+1
k=1 k=1
∞ ∞
X (−1)k 22k x2k X (−1)k x2k+1
= C0 + + C1 x + C1
(2k)! (2k + 1)!
k=0 k=0
∞ ∞
X (−1)k 22k x2k C1 X (−1)k x2k+1
= C0 +
(2k)! 2 (2k + 1)!
k=1 k=0
C1
= C0 cos(2x) + sin(2x)
2
144
Here we let the solution be a power series of the form
∞
X
y= Cn xn .......................(ii)
n=0
∞
X
y0 = nCn xn−1 ....................(iii)
n=1
∞
X
y 00 = n(n − 1)Cn xn−2 .................(iv)
n=2
"∞ # " ∞
# " ∞
#
2
X n−2
X
n−1
X
n
1−x n(n − 1)Cn x − 6x nCn x −4 Cn x =0
n=2 n=1 n=0
∞
X ∞
X ∞
X ∞
X
n(n − 1)Cn xn−2 − n(n − 1)Cn xn − 6 nCn xn − 4 C n xn = 0
n=2 n=2 n=1 n=0
∞
X ∞
X
n−2
n2 + 5n + 4 Cn xn = 0
n(n − 1)Cn x −
n=2 n=0
∞
X ∞
X
2
n(n − 1)Cn xn−2 − (n − 2) + 5 (n − 2) + 4 Cn−2 xn−2 = 0
n=2 n=0
∞
X ∞
X
n(n − 1)Cn xn−2 − (n − 1) (n + 2) Cn−2 xn−2 = 0
n=2 n=2
∞
X
[n(n − 1)Cn − (n − 1) (n + 2) Cn−2 ] xn−2 = 0................(ii)
n=2
145
n(n − 1)Cn − (n − 1) (n + 2) Cn−2 = 0
Thus for n ≥ 2,
n+2
Cn = Cn−2 .....................(iii)
n
C2k = (k + 1) C0
Also,
C3 · C5 · C7 · ... · C2k+1 = 53 C1 · 75 C3 · 97 C5 · ... · 2k+3
2k+1 C2k−1
1
C2k+1 = 3 (2k + 3) C1
Since the nature of the expressions for C 0 s depends on where the subscript
is odd or then the expression of y becomes:
∞
X
y= C n xn
n=0
∞
X ∞
X
2k
= C2k x + C2k+1 x2k+1
k=0 k=0
∞ ∞
X X 1
= (k + 1) C0 x2k + (2k + 3) C1 x2k+1
3
k=0 k=0
∞ ∞
X C1 X
= C0 (k + 1) x2k + (2k + 3) x2k+1
3
k=0 k=0
146
13.3 Solution about a regular Singular Point
Rules of nding the Solution
a) Put y = xm ,y 0 = mxm−1 ,y 00 = m (m − 1) xm−2 and nd the common
dierence of the powers of x. If it is s(say) then we take the assumed solution
as
∞
X
y= ar xm+rs
r=0
b) Find the derivatives of the above series and substitute in the given dier-
ential equation.
c) Find the initial equation from the identity by equating the coecients of
either the lowest powers of x(or the highest power of x) to zero.
d) From the initial equation nd the roots.
e) From the roots, a recurrence solution can be obtained which will be a
relation in ar+1 and ar .
f) Find the constants a1 , a2 , ...in terms of a0 from the recurrence relation.
• If the roots of the initial equation are determined and not dened by an
y = C1 (y) m1 + C2 (y) m2
• If the roots of the initial equation are equal, say m1 and m1 then the com-
g) If the roots of the initial equation are distinct and dierent integers and if
some of the coecients of the y-series become innite when m = m1 , we modify
the form of y by replacing a0 by b (m − m1 ). We then obtain the complete
solution as
147
δy
y = C1 (y) m1 + C2 m1
δm
Exercise:
1. Solve the dierential equation 9x (1 − x) dx
2
d y dy
2 −12 dx +4y = 0..................(i)
s = m − (m − 1) = 1
∞
X
y= ar xm+r
r=0
∞
X
0
y = ar (m + r) xm+r−1
r=0
∞
X
y 00 = ar (m + r − 1) (m + r) xm+r−2
r=0
∞
X ∞
X ∞
X
9x (1 − x) ar (m + r − 1) (m + r) xm+r−2 −12 ar (m + r) xm+r−1 +4 ar xm+r = 0
r=0 r=0 r=0
148
∞
X ∞
X ∞
X ∞
X
m+r−1 m+r m+r−1
9ar (m + r − 1) (m + r) x − 9ar (m + r − 1) (m + r) x − 12ar (m + r) x + 4ar xm+
r=0 r=0 r=0 r=0
∞
X
9 (m + r − 1) (m + r) xm+r−1 − 12 (m + r) xm+r−1 − [9 (m + r − 1) (m + r) − 4] xm+r = 0
ar
r=0
∞
X
ar (m + r) [9 (m + r − 1) − 12] xm+r−1 − [9 (m + r − 1) (m + r) − 4] xm+r = 0..........(iii)
r=0
a0 m (9m − 12) = 0
We see that the dierence between these roots is not an integer. On equating
the coecient of the general term xm+r to zero, replace r by r+1 in the rst
summation, then
so
9 (m + r − 1) (m + r) − 4
ar+1 = ar
(m + r + 1) [9 (m + r + 1) − 21]
149
which is the recurrence relationship for a0r s. So at r=0,
9 (m − 1) (m) − 4
a1 = a0
(m + 1) [9 (m + 1) − 12]
9m2 − 9m − 4
= a0
(m + 1) (9m − 12)
(3m + 1) (3m − 4)
= a0
3 (m + 1) (3m − 4)
(3m + 1)
= a0
3 (m + 1)
At r=1,
9 (m + 1) (m) − 4
a2 = a1
(m + 2) [9 (m + 2) − 12]
9m2 − 9m − 4
= a1
(m + 2) (9m − 3)
(3m − 1) (3m + 4)
= a1
3 (m + 2) (3m − 1)
(3m + 4)
= a1
3 (m + 2)
(3m + 4) (3m + 1)
= · a0
3 (m + 2) 3 (m + 1)
Therefore
150
Therefore the solution is
∞
X
y= ar xm+r
r=0
∞
X
= xm ar xr
r=0
= xm a0 + a1 x + a2 x2 + a3 x3 + .......
at m = 0
1 1·4 2 1·4·7 3
y1 = 1 a0 + a0 x + 2 a0 x + 3 a0 x + .....
3 3 (2 · 1) 3 (3 · 2 · 1)
1 1·4 1·4·7
y1 = a0 1 + x + 2 x2 + 3 x3 + .....
3 3 (2 · 1) 3 (3 · 2 · 1)
at m = 73 then,
7 8 8 11 2 8 11 14 3
y2 = x a0 + a0 x +
3 · a0 x + · · a0 x + .....
10 10 13 10 13 16
7 8 8 11 2 8 11 14 3
y2 = a 0 x 3 1 + x + · x + · · x + .....
10 10 13 10 13 16
1 1·4 2 1·4·7 3 7 8 8 11 2 8 11 14 3
y = C1 a0 1 + x + 2 x + 3 x + ..... +C2 a0 x 1 + x +
3 · x + · · x + ..
3 3 (2 · 1) 3 (3 · 2 · 1) 10 10 13 10 13 16
151
x m (m − 1) xm−2 + mxm−1 + x · xm = 0
∞
X
y0 = ar (m + 2r) xm+2r−1
r=0
∞
X
y 00 = ar (m + 2r − 1) (m + 2r) xm+2r−2
r=0
∞
X ∞
X ∞
X
x ar (m + 2r − 1) (m + 2r) xm+2r−2 + ar (m + 2r) xm+2r−1 +x ar xm+2r = 0
r=0 r=0 r=0
∞
X ∞
X ∞
X
ar (m + 2r − 1) (m + 2r) xm+2r−1 + ar (m + 2r) xm+2r−1 + ar xm+2r+1 = 0
r=0 r=0 r=0
∞
X
ar [(m + 2r − 1) (m + 2r) + (m + 2r)] xm+2r−1 + xm+2r+1 = 0
r=0
∞
X
ar (m + 2r) (m + 2r) xm+2r−1 + xm+2r+1 = 0
r=0
152
∞
X n o
2
ar (m + 2r) xm+2r−1 + xm+2r+1 = 0
r=0
To nd the indicial equation from (2), we equate the coecient of the lowest
power of x into zero to get (at r = 0, xm−1 )
a0 m2 = 0, a0 6= 0
Now equating the coecient of the general term xm+2r+1 to zero, we get
2
ar+1 (m + 2r + 2) + ar = 0
−1
ar+1 = 2 ar
(m + 2r + 2)
at r=0
−1
a1 = 2 a0
(m + 2)
at r=1
−1 1
a2 = 2 a1 = 2 2 a0
(m + 4) (m + 2) (m + 4)
at r=2
−1 −1
a3 = 2 a2 = 2 2 2 a0
(m + 6) (m + 2) (m + 4) (m + 6)
Therefore,
∞
X
y= ar xm+r
r=0
153
∞
X
= xm ar xr
r=0
= xm a0 + a1 x2 + a2 x4 + a3 x6 + .......
" #
m −1 2 1 4 −1 6
=x a0 + 2 a0 x + 2 2 a0 x + 2 2 2 a0 x + .......
(m + 2) (m + 2) (m + 4) (m + 2) (m + 4) (m + 6)
" #
−1 1 −1
= a0 xm 1 + 2x
2
+ 2 2x
4
+ 2 2 2x
6
+ .......
(m + 2) (m + 2) (m + 4) (m + 2) (m + 4) (m + 6)
At m=0
" #
−1 2 1 4 −1 6
y1 = a0 1 + 2x + 2 2x + 2 2 2x + .......
(2) (2) (4) (2) (4) (6)
" #
δy m 1 2 1 4 1 6
= x lnxa0 1 − 2x + 2 2x − 2 2 2 x + .......
δm (m + 2) (m + 2) (m + 4) (m + 2) (m + 4) (m + 6)
" ( ) #
2x2 2 2
+xm a0 3 − x4 3 2 + 2 3 + ......
(m + 2) (m + 2) (m + 4) (m + 2) (m + 4)
Therefore,
δy
m=0
δm
2
1 1 1 x 1 1
= a0 lnx 1 − 2 x2 + 2 2 x4 − 2 2 2 x6 + ...... +a0 2 − 2 2 1 + x4 + .......
2 2 ·4 2 ·4 ·6 2 2 ·4 2
154
The general solution is:
δy
y = C1 (y) m1 + C2 m1
δm
" #
−1 2 1 4 −1 6
y = C1 a0 1 + 2x + 2 2x + 2 2 2x + .......
(2) (2) (4) (2) (4) (6)
2
1 1 1 x 1 1
+a0 lnx 1 − 2 x2 + 2 2 x4 − 2 2 2 x6 + ...... +a0 2 − 2 2 1 + x4 + .......
2 2 ·4 2 ·4 ·6 2 2 ·4 2
14 TAYLOR SERIES
1. Use the Taylor series to nd the power series solution of the initial value
problem:
dy
dx = x2 + y 2 .....................(i)where y(0) = 1in powers of x.
Solution
The Taylor series is dened by
x2 00 x3
p(x) = f (0) + xf 0 (0) + f (0) + f 000 (0) + ....
2! 3!
Let
x2 00 x3
y(x) = y(0) + xy 0 (0) + y (0) + y 000 (0) + ....
2! 3!
y 0 = x2 + y 2
y 0 (0) = 0 + y 2 (0) = 0 + 1 = 1
155
d2 y dy
= y 00 = 2x + 2y = 2x + 2yy 0 = 0 + 2y(0)y 0 (0) = 0 + 2.1.1 = 2
dx2 dx
2
y 000 = 2 + 2yy 00 + 2 (y 0 ) = 2 + 2.1.2 + 2.1 = 8
x2 x3
y =1+x+ ·2+ · 8 + ......
2! 3!
4
= 1 + x + x2 + x3 + ....
3
156
15 PARTIAL DIFFERENTIAL EQUATIONS
Partial dierential equations are those equations which contain partial dieren-
tial coecients, independent and dependent variables. The independent vari-
ables will be denoted by x and y and the dependent variables by z. The partial
dierential coecients are denoted as follows:
= p, = q, δ2 z
= r, δxδy = s,
2
δz δz δ z δ2 z
δx δy δx2 δy 2 =t
δz
2x + 2 (z − c) =0
δx
2x + 2 (z − c) p = 0................(i)
δz
2y + 2 (z − c) =0
δy
2y + 2 (z − c) q = 0................(ii)
157
x y
(z − c) = − =−
p q
x
y− q=0
p
yp − xq = 0
Solution
Dierentiate with respect to x and y, to get
δz
= f 0 x2 − y 2 · 2x
p=
δx
δz
= f 0 x2 − y 2 · −2y
q=
δy
Dividing yields;
p x
=−
q y
py = −qx or yp + xq = 0
Exercise:
a) z = (x + a) (y + b) Ans: pq = z
b) (x − h)2 + (y − k)2 + z 2 = a2 Ans: z 2 p2 + q 2 + 1 = a2
158
15.1 Solution of pde's by direct integration
1. Exercise: Solve δ3 z
δx2 δy = cos (2x + 3y)
Solution
Integrate with respect to x, we get
δ3 z 1
= sin (2x + 3y) + f (y)
δxδy 2
δz 1
= − cos (2x + 3y) + xf (y) + g (y)
δy 4
ˆ ˆ
1
z = − sin (2x + 3y) + x f (y)dy + g(y)dy
12
1
=− sin (2x + 3y) + xΦ1 (y) + Φ2 (y)
12
2. Solve δ2 z
δxδy = x2 y subject to the condition z (x, 0) = x2 and z = (1, y) =
cosy
Solution
On integrating with respect to x, we obtain
δz x3
= y + f (y)
δy 3
ˆ
x3 y 2
z= + f (y)dy + g(x)
3 2
or
x3 y 2
z= + F (y) + g(x)........................(i)
6
159
´
where F (y) = f (y)dy
Condition 1: Putting z = x2 and y = 0in (i) we get,
x2 = 0 + F (0) + g(x)
g(x) = x2 − F (0)
x3 y 2
z= + F (y) + x2 − F (0)........................(ii)
6
y2
cos(y) = + F (y) + 1 − F (0)
6
y2
cos(y) − − 1 + F (0) = F (y)
6
x3 y 2 y2
z= + cos(y) − − 1 + F (0) + x2 − F (0)
6 6
x3 y 2 y2
z= + cos(y) − − 1 + x2
6 6
3. Solve δ2 z
δy 2 = z , if y = 0,z = ex and δz
δy = e−x
Solution
If z was a function of y above, then
z = Asinh(y) + Bcosh(y)
160
functions of x. Then
ex = Φ(x)
Substitute:
δz
= cosh(y)f (x) + sinh(y) · ex ..................................(iii)
δy
On putting y = 0, and δz
δy = e−x , we get
e−x = f (x)
Exercise:
Solve the following
1. δ2 z
δyδx = xy 2
2. δ2 z
δxδy = ey cos(x)
3. δ2 z
δxδy = y
x +2
4. = a2 z , when x = 0, = asin(y)and
2
δ z δz δz
δx2 δx δy =0
Answers
1. z = x2 y 3
6 + f (y) + Φ(x)
161
2. z = ey sin(x) + f (y) + Φ(x)
3. z = y2
2 ln(x) + 2xy + f (y) + Φ(x)
4. z = sin(x) + ey cos(x)
162