Bmatc201 Notes
Bmatc201 Notes
INTEGRAL CALCULUS
Multiple Integral
DOUBLE INTERGALS
Consider a function f(x, y) of the independent variables x, y defined at each point I the finite
region R of the xy-plane. Divide R into n elementary areas A1 , A2 , , An . Let ( xr , yr )
n
be any point within the rth elementary area Ar . Then consider the sum f ( xr , yr ) Ar
r 1
i.e. f ( x1 , y1 ) A1 f ( x2 , y2 ) A2 f ( xn , yn ) An
The limit of this sum, if it exists, as n is defined as the double integral of f(x, y) over the
n
region R and is written as f ( x, y)dA Thus f ( x, y)dA Lim f ( xr , yr ) Ar
n
R R A0 r 1
Evaluation of double:
(i) If R is a region in the xy-plane bounded by the curves y y1 ( x), y y2 ( x) and the lines x
b y2 ( x)
= a, x = b, then we have f ( x, y )dA f ( x, y )dy dx
R
1
a y ( x)
(ii) If R is a region in the xy-plane bounded by the curves x x1 ( y ), x x2 ( y ) and the lines y
d x2 ( y)
= c, y = d, then we have f ( x, y )dA f ( x, y )dx dy
R
1
c x ( y)
1 √𝑥
1. ∫0 ∫𝑥 𝑥𝑦 𝑑𝑦𝑑𝑥
𝑥
1 𝑦2 √
𝑺𝒐𝒍: 𝐼 = ∫0 𝑥 [ 2 ] 𝑑𝑥
𝑥
1 1
= ∫ 𝑥 [ 𝑥 − 𝑥 2 ] 𝑑𝑥
2 0
1 1
= 2 ∫0 [ 𝑥 2 − 𝑥 3 ] 𝑑𝑥
1
1 𝑥3 𝑥4
= 2[3 − ]
4 0
𝟏
𝑰 = 𝟐𝟒
1 𝑦
2. ∫0 ∫0 𝑥𝑦 (𝑥 + 𝑦)𝑑𝑦𝑑𝑥
1 𝑦
𝑺𝒐𝒍: 𝐼 = ∫0 ∫0 (𝑥 2 𝑦 + 𝑦 2 𝑥)𝑑𝑦𝑑𝑥
𝑦
1 𝑥3 𝑥2
= ∫0 [𝑦 + 𝑦2 ] 𝑑𝑦
3 2 0
1 𝑦4 𝑦4
= ∫0 [ 3 + 2
] 𝑑𝑦
1 5𝑦 4
= ∫0 𝑑𝑦
6
1
5 𝑦5
= [ ]
6 5 0
𝟏
𝑰=𝟔
𝑦
1 𝑥2
3 ∫0 ∫0 𝑒 𝑥 𝑑𝑦𝑑𝑥
𝟏
𝑰=𝟐
1 1 1 1
4.∫0 ∫0 √1−𝑥2 √1−𝑦 2
𝑑𝑦𝑑𝑥
1 1 1 1
𝑺𝒐𝒍: 𝐿𝑒𝑡 𝐼 = ∫0 ∫0 √1−𝑥 2
𝑑𝑦𝑑𝑥
√1−𝑦 2
1 1 1 1
= ∫0 √1−𝑥 2
𝑑𝑥 ∫0 √1−𝑦 2 𝑑𝑦
= [𝑠𝑖𝑛−1 𝑥]10 [𝑠𝑖𝑛−1 𝑦]10
𝜋 𝜋
= ( 2 − 0) (2 − 0)
𝝅𝟐
𝑰= 𝟒
1 √1+𝑥2
1
5. ∫ ∫ 𝑑𝑦𝑑𝑥
0 0 1 + 𝑥2 + 𝑦2
1 √1+𝑥 2 1
𝑺𝒐𝒍: 𝐼 = ∫0 ∫0 𝑑𝑦𝑑𝑥
1+𝑥 2 +𝑦 2
𝐿𝑒𝑡 1 + 𝑥 2 = 𝑎2 𝑜𝑟 𝑎 = √1 + 𝑥 2
1 𝑎 𝑑𝑦
𝐼 = ∫0 ∫0 𝑑𝑥
𝑎2 +𝑦 2
11 𝑦 𝑎
= ∫0 [ 𝑡𝑎𝑛−1 (𝑎)] 𝑑𝑥
𝑎 0
11
= ∫0 𝑎 [𝑡𝑎𝑛−1 (1) − 𝑡𝑎𝑛−1 (0)]𝑑𝑥
1 1𝜋
= ∫ 𝑑𝑥
𝑎 0 4
𝑆𝑖𝑛𝑐𝑒 𝑎 = √1 + 𝑥 2
Triple integrals:
2 2 2 𝑥 𝑦 𝑧
∬ ∫ 𝑓(𝑥, 𝑦, 𝑧)𝑑𝐴 = ∫𝑥 ∫𝑦 ∫𝑧 𝑓(𝑥, 𝑦, 𝑧)𝑑𝑧𝑑𝑦𝑑𝑥
1 1 1
𝑥
1 1 𝑧4
= 2 ∫0 𝑥 3 [ 4 ] 𝑑𝑥
0
1 1
= 8 ∫0 𝑥 3 (𝑥 4 − 0) 𝑑𝑥
1
1 1 1 𝑥8 1
= 8 ∫0 𝑥 7 𝑑𝑥 = 8 [ 8 ] = 64
0
𝟏
∴ 𝑰 = 𝟔𝟒
𝑐 𝑏 𝑎
2. ∫−𝑐 ∫−𝑏 ∫−𝑎(𝑥 2 +𝑦 2 + 𝑧 2 ) 𝑑𝑧𝑑𝑦𝑑𝑥
𝑺𝒐𝒍:
𝑐 𝑏 𝑎
𝐿𝑒𝑡 𝐼 = ∫−𝑐 ∫−𝑏 ∫−𝑎(𝑥 2 +𝑦 2 + 𝑧 2 ) 𝑑𝑧𝑑𝑦𝑑𝑥
𝑐 𝑏 2𝑎3
= ∫−𝑐 ∫−𝑏 (2𝑎𝑥 2 + 2𝑎𝑦 2 + ) 𝑑𝑦𝑑𝑥
3
𝑏
𝑐 𝑦3 2𝑎3
= ∫−𝑐 (2𝑎𝑥 2 𝑦 + 2𝑎 + 𝑦) 𝑑𝑥
3 3 −𝑏
𝑐 4𝑎𝑏 3 4𝑎3 𝑏
= ∫−𝑐(4𝑎𝑏𝑥 2 + + ) 𝑑𝑥
3 3
𝑐
𝑥3 4𝑎𝑏 3 4𝑎3 𝑏
= [4𝑎𝑏 + 𝑥+ 𝑥]
3 3 3 −𝑐
𝟖
∴𝑰= 𝒂𝒃𝒄(𝒂𝟐 + 𝒃𝟐 + 𝒄𝟐 )
𝟑
1 𝑧 𝑥+𝑧
3. ∫−1 ∫0 ∫𝑥−𝑧 (𝑥 + 𝑦 + 𝑧) 𝑑𝑧𝑑𝑦𝑑𝑥
1 𝑧 𝑥+𝑧
𝑺𝒐𝒍: 𝐿𝑒𝑡 𝐼 = ∫ ∫ ∫ (𝑥 + 𝑦 + 𝑧) 𝑑𝑧𝑑𝑦𝑑𝑥
−1 0 𝑥−𝑧
𝑥+𝑧
1 𝑧 𝑦2
= ∫−1 ∫0 (𝑥𝑦 + + 𝑧𝑦) 𝑑𝑥𝑑𝑧
2 𝑥−𝑧
1 𝑧
= ∫ ∫ (4𝑥𝑧 + 2𝑧 2 )𝑑𝑥𝑑𝑧
−1 0
𝑧
1 𝑥2
= ∫−1 [4 𝑧 + 2𝑧 2 𝑥] 𝑑𝑧
2 0
1
= ∫−1[2𝑧(𝑧 2 − 0) + 2𝑧 2 (𝑧 − 0)]𝑑𝑧
1
= ∫−1 4𝑧 3 𝑑𝑧
−1
𝑧4
∴ 𝐼 = [4 4 ] =0
−1
1 √1−𝑥 2 √1−𝑥 2 −𝑦 2
4. ∫0 ∫0 ∫0 𝑥𝑦𝑧 𝑑𝑧𝑑𝑦𝑑𝑥
1 √1−𝑥 2 √1−𝑥2 −𝑦 2
𝑺𝒐𝒍: 𝐿𝑒𝑡 𝐼 = ∫ ∫ ∫ 𝑥𝑦𝑧 𝑑𝑧𝑑𝑦𝑑𝑥
0 0 0
1 √1−𝑥 2
= ∫0 ∫0 (𝑥𝑦 − 𝑥 3 𝑦 − 𝑥𝑦 3 )𝑑𝑦 𝑑𝑥
√1−𝑥 2
1 𝑦2 𝑦 2 𝑦4
= ∫0 [𝑥 2 − 𝑥3 2 −𝑥 ] 𝑑𝑥
4 0
1 1
= 8 ∫0 (𝑥 − 2𝑥 3 + 𝑥 5 ) 𝑑𝑥
1
1 𝑥2 2𝑥 4 𝑥6
= 8[ − + ]
2 4 6 0
1
∴ 𝐼 = 48
𝑎6
∴ 𝐼 = 48
(𝒙 − 𝑥1 )(𝑥 − 𝑥2 ) = (𝑦 − 𝑦1 )(𝑦 − 𝑦2 )
is the equation of the line passing through the given two points.
2. Circles.
𝑥 2 + 𝑦 2 = 𝒂𝟐
is an equation of the circle with the center at origin and radius a
𝑥2 𝑦2
3. Ellipse : + 𝒃𝟐 = 1
𝒂𝟐
4. Parabola.
Problems
Evaluate the following by changing the order of the integration
1 √𝑥
1. Evaluate ∫0 ∫𝑥 𝑥𝑦 𝑑𝑦 𝑑𝑥 by changing the order of the integration.
1 √𝑥
𝑆𝑜𝑙: 𝐿𝑒𝑡 𝐼 = ∫ ∫ 𝑥𝑦 𝑑𝑦 𝑑𝑥
0 𝑥
𝐺𝑖𝑣𝑒𝑛 𝐿𝑖𝑚𝑖𝑡𝑠 𝑥 ∶ 𝑥 = 0 𝑡𝑜 𝑥 = 1
𝑦 ∶ 𝑦 = 𝑥 𝑡𝑜 𝑦 = √𝑥 𝑜𝑟 𝑦 2 = 𝑥
1 𝑦
𝑥2
= ∫ 𝑦 [ ] 𝑑𝑦
𝑦=0 2 𝑦2
1 1
= ∫ 𝑦(𝑦 2 − 𝑦 4 )𝑑𝑦
2 𝑦=0
1 1
= ∫ (𝑦 3 − 𝑦 5 )𝑑𝑦
2 𝑦=0
1
1 𝑦4 𝑦6
= [ − ]
2 4 6 0
𝟏
∴𝑰=
𝟐𝟒
1 𝑥
∴ ∬ 𝑥𝑦(𝑥 + 𝑦) 𝑑𝑦 𝑑𝑥 = ∫ ∫ (𝑥 2 𝑦 + 𝑥𝑦 2 )𝑑𝑦 𝑑𝑥
𝑥=0 𝑦=𝑥 2
𝑥
1 𝑦2 𝑦3
= ∫𝑥=0 [ 𝑥 2 +𝑥 ] 𝑑𝑥
2 3 𝑥2
1
𝑥5 𝑥5 𝑥7 𝑥8
= ( 10 + 15 − 14 − 24 )
𝑥=0
𝟑
∴ 𝑰 = 𝟓𝟔
4𝑎 2√𝑎𝑥
𝑺𝒐𝒍: 𝑊𝑒 ℎ𝑎𝑣𝑒 𝐼 = ∫𝑥=0 ∫ 𝑥2 𝑥𝑦 𝑑𝑦 𝑑𝑥
𝑦=
4𝑎
𝑥2
𝑊𝑒 ℎ𝑎𝑣𝑒 = 2√𝑎𝑥 ⇒ 𝑥 4 = 64𝑎 3 𝑥 ⇒ 𝑥 = 0 𝑎𝑛𝑑 𝑥 = 4𝑎
4𝑎
𝑥2
𝑓𝑟𝑜𝑚 𝑦 = 𝑤𝑒 𝑔𝑒𝑡 𝑦 = 0 𝑎𝑛𝑑 𝑦 = 4𝑎
4𝑎
4𝑎 2√𝑎𝑦
∴ 𝐼=∫ ∫ 𝑦 (𝑥 𝑑𝑥) 𝑑𝑦
𝑦2
𝑦=0 𝑥=
4𝑎
2 𝑎𝑦
4𝑎
𝑥2 √
𝐼=∫ 𝑦 [ ] 2 𝑑𝑦
𝑦=0 2 𝑥=𝑦
4𝑎
4𝑎 𝑦5
= ∫𝑦=0 (2𝑎𝑦 2 − 32𝑎2 ) 𝑑𝑦
𝑎4
∴ 𝐼 = 64
3
∞ ∞ 𝑒 −𝑦
∫0 ∫𝑥 𝑑𝑦 𝑑𝑥
𝑦
∞ ∞
𝑒 −𝑦
𝑆𝑜𝑙 ∶ 𝐿𝑒𝑡 𝐼 = ∫ ∫ 𝑑𝑦 𝑑𝑥
𝑥=0 𝑦= 𝑥 𝑦
∞ ∞𝑦
𝑒 −𝑦 𝑒 −𝑦 𝑦
∴ 𝐼=∫ ∫ 𝑑𝑥 𝑑𝑦 = ∫ [𝑥 ]𝑥=0 𝑑𝑦
𝑦=0 𝑥=0 𝑦 𝑦=0 𝑦
∞ 𝑒 −𝑦 ∞
= ∫𝑦=0 𝑦 𝑑𝑦 = ∫𝑦=0 𝑒 −𝑦 𝑑𝑦
𝑦
−𝑦 ∞
𝑒
=[ ] = −(0 − 1) = 1
−1 0
∴𝐼 =1
𝑎 𝑎 𝑥
5.Evaluate ∫0 ∫𝑦 𝑑𝑦 𝑑𝑥 by changing the order of the integration.
𝑥 2 +𝑦 2
𝑎 𝑎
𝑥
𝑆𝑜𝑙: 𝐿𝑒𝑡 𝐼 = ∫ ∫ 𝑑𝑦 𝑑𝑥
0 𝑦 𝑥2 + 𝑦2
𝑎
𝜋 𝜋 𝑎
=∫ 𝑑𝑥 = ∫ 1. 𝑑𝑥
𝑥=0 4 4 𝑥=0
𝜋 𝑎 𝜋
= [𝑥] = 𝑎
4 0 4
𝜋𝑎
∴𝐼=
4
∞ ∞ 2 2
1. 𝐸𝑣𝑎𝑙𝑢𝑎𝑡𝑒 ∫0 ∫0 𝑒 −( 𝑥 +𝑦 ) 𝑑𝑦 𝑑𝑥 𝑏𝑦 𝑐ℎ𝑎𝑛𝑔𝑖𝑛𝑔 𝑡𝑜 𝑝𝑜𝑙𝑎𝑟 𝑐𝑜𝑜𝑟𝑑𝑖𝑛𝑎𝑡𝑒𝑠
𝑺𝒐𝒍: 𝐼𝑛 𝑝𝑜𝑙𝑎𝑟 𝑤𝑒 ℎ𝑎𝑣𝑒 𝑥 = 𝑟𝑐𝑜𝑠𝜃 , 𝑦 = 𝑟𝑠𝑖𝑛𝜃
∴ 𝑥 2 + 𝑦 2 = 𝑟 2 𝑎𝑛𝑑 𝑑𝑥𝑑𝑦 = 𝑟 𝑑𝑟 𝑑𝜃
𝑥2 𝑦2
1. Find the area of the ellipse 𝑎2 + 𝑏2 = 1 𝑏𝑦 𝑑𝑜𝑢𝑏𝑙𝑒 𝑖𝑛𝑡𝑒𝑔𝑡𝑎𝑡𝑖𝑜𝑛.
𝑥2 𝑦2
𝑆𝑜𝑙: 𝐿𝑒𝑡 + = 1 𝑖𝑠 𝑒𝑙𝑙𝑖𝑝𝑠𝑒
𝑎2 𝑏 2
𝑏 2 2
𝑎 √𝑎 −𝑥
𝑎
𝐴𝑟𝑒𝑎, 𝐴 = 4∫ ∫ 𝑑𝑦 𝑑𝑥
𝑥=0 𝑦=0
𝑏
𝑎 √𝑎2 −𝑥 2
= 4 ∫𝑥=0[𝑦]𝑎0 𝑑𝑥
𝑎 𝑏
= 4 ∫𝑥=0 𝑎 √𝑎2 − 𝑥 2 𝑑𝑥
4𝑏 𝑎
= 𝑎
∫𝑥=0 √𝑎2 − 𝑥 2 𝑑𝑥
𝑎
4𝑏 𝑥 𝑎2 𝑥
= [2 √𝑎2 − 𝑥 2 + 𝑠𝑖𝑛−1 (𝑎)]
𝑎 2 0
4𝑏 𝑎2
= [ 𝑠𝑖𝑛−1 (1)]
𝑎 2
4𝑏 𝑎2 𝜋
= [ ]
𝑎 2 2
𝑎 √𝑎2 −𝑥 2
𝑆𝑜𝑙: 𝐴 = ∫ ∫ 𝑑𝑦 𝑑𝑥
𝑥=0 𝑦=𝑎−𝑥
𝑎
= ∫𝑥=0( √𝑎2 − 𝑥 2 − 𝑎 + 𝑥) 𝑑𝑥
4𝑏 𝑎
=
𝑎
∫𝑥=0 √𝑎2 − 𝑥 2 𝑑𝑥
𝑎
𝑥 𝑎2 𝑥 𝑥2
= [2 √𝑎2 − 𝑥 2 + 𝑠𝑖𝑛−1 (𝑎) − 𝑎𝑥 + ]
2 2 0
𝑎2 𝑎2
=[ 𝑠𝑖𝑛−1 (1) − 𝑎2 + ]
2 2
𝑎2 𝜋 𝑎2
= −
2 2 2
𝑎2 𝜋
= ( 2 − 1)
2
𝑎2 (𝜋 − 2)
∴𝐴= 𝑠𝑞. 𝑢𝑛𝑖𝑡𝑠
4
3. 𝐹𝑖𝑛𝑑 𝑏𝑦 𝑑𝑜𝑢𝑏𝑙𝑒 𝑖𝑛𝑡𝑒𝑔𝑡𝑎𝑡𝑖𝑜𝑛 the area enclosed by the curve
r = a(1 + cosθ)𝑏𝑒𝑡𝑤𝑒𝑒𝑛 𝜃 = 0 𝑡𝑜 𝜃 = 𝜋
𝜋 a(1+cosθ)
𝑆𝑜𝑙: 𝐴 = ∫ ∫ 𝑟 𝑑𝑟 𝑑𝜃
𝜃=0 𝑟=0
𝜃
𝑃𝑢𝑡 = 𝑡 ⇒ 𝜃 = 2𝑡 ⇒ 𝑑𝜃 = 2𝑑𝑡
2
𝜋
𝑖𝑓 𝜃 𝑣𝑎𝑟𝑖𝑒𝑠 𝑓𝑟𝑜𝑚 0 𝑡𝑜 𝜋 𝑡ℎ𝑒𝑛 𝑡 𝑎𝑙𝑠𝑜 𝑣𝑎𝑟𝑖𝑒𝑠 𝑓𝑟𝑜𝑚 0 𝑡𝑜
2
𝜋
𝐴 = 2𝑎2 ∫𝑡=0
2 cos 4 𝑡 . 2 𝑑𝑡
3 1 𝜋
= 4𝑎2 [4 . 2 ] 2
3𝑎2 𝜋
∴𝐴= 𝑠𝑞. 𝑢𝑛𝑖𝑡𝑠
4
𝜋 a(1+cosθ)
𝑟3
𝑉 = ∫ 2𝜋𝑠𝑖𝑛𝜃 [ ] 𝑑𝜃
𝜃=0 3 0
2𝜋 𝜋
= 3
∫𝜃=0 𝑠𝑖𝑛𝜃 𝑎3 (1 + cosθ)3 𝑑𝜃
2𝑎3 𝜋 𝜋
= 3
∫𝜃=0 𝑠𝑖𝑛𝜃 (1 + cosθ)3 𝑑𝜃
𝑃𝑢𝑡 1 + 𝑐𝑜𝑠𝜃 = 𝑡 ⇒ −𝑠𝑖𝑛 𝜃𝑑𝜃 = 𝑑𝑡 ⇒ 𝑠𝑖𝑛 𝜃𝑑𝜃 = −𝑑𝑡
𝑖𝑓 𝜃 𝑣𝑎𝑟𝑖𝑒𝑠 𝑓𝑟𝑜𝑚 0 𝑡𝑜 𝜋 𝑡ℎ𝑒𝑛 𝑡 𝑎𝑙𝑠𝑜 𝑣𝑎𝑟𝑖𝑒𝑠 𝑓𝑟𝑜𝑚 2 𝑡𝑜 0
𝑎𝑙𝑠𝑜 𝑥 2 + 𝑦 2 = 4 ⇒ 𝑦 2 = 4 − 𝑥 2 ⇒ 𝑦 = ±√4 − 𝑥 2
𝑥 𝑣𝑎𝑟𝑖𝑒𝑠 𝑓𝑟𝑜𝑚 − 2 𝑡𝑜 2
2 √4−𝑥 2 4−𝑦
𝑖. 𝑒. , 𝑉 = ∫ ∫ ∫ 𝑑𝑧𝑑𝑦𝑑𝑥
𝑥=−2 𝑦=−√4−𝑥 2 𝑧=0
2 √4−𝑥 2
= ∫𝑥=−2 ∫𝑦=−√4−𝑥 2 [𝑧]4−𝑦
0 𝑑𝑦 𝑑𝑥
2 √4−𝑥 2
= ∫𝑥=−2 ∫𝑦=−√4−𝑥 2 ( 4 − 𝑦) 𝑑𝑦𝑑𝑥
√4−𝑥 2
2 𝑦2
= ∫𝑥=−2 [4𝑦 − ] 𝑑𝑥
2 −√4−𝑥 2
2
= ∫𝑥=−2 8 √4 − 𝑥 2 𝑑𝑥
2
= 2 ∫𝑥=0 8 √4 − 𝑥 2 𝑑𝑥
2
= 16 ∫𝑥=0 √4 − 𝑥 2 𝑑𝑥
𝑥 4 𝑥 2
= 16 [2 √4 − 𝑥 2 + 2 𝑠𝑖𝑛−1 (2)]
0
(m).(n)
Relationship between Beta and Gamma functions: (m, n)
( m n)
∞
2
𝑎𝑙𝑠𝑜 ᴦ(𝑚 + 𝑛) = 2 ∫ 𝑒 −(𝑟 ) 𝑟 2(𝑚+𝑛)−1 𝑑𝑟 − −(4)
0
∞ ∞
2 +𝑦 2 )
𝑁𝑜𝑤 ᴦ(𝑚). ᴦ(𝑛) = 2 ∫ ∫ 𝑒 −(𝑥 𝑥 2𝑛−1 𝑦 2𝑚−1 𝑑𝑥 𝑑𝑦 − −(5)
0 0
∞ ∞
2 2
ᴦ(1/2) = 2 ∫ 𝑒 −𝑥 𝑑𝑥 𝑎𝑛𝑑 𝑎𝑙𝑠𝑜 ᴦ(1/2) = 2 ∫ 𝑒 −𝑦 𝑑𝑦
0 0
1 2 ∞ ∞
2 2
𝐻𝑒𝑛𝑐𝑒 { ᴦ ( )} = 4 ∫ ∫ 𝑒 −(𝑥 +𝑦 ) 𝑑𝑥 𝑑𝑦
2 0 0
Problems
∞
1. 𝐸𝑣𝑎𝑙𝑢𝑎𝑡𝑒 ∫0 𝑥 3/2 𝑒 −𝑥 𝑑𝑥
∞
3
𝑆𝑜𝑙: 𝐿𝑒𝑡 𝐼 = ∫ 𝑥 2 𝑒 −𝑥 𝑑𝑥
0
3 5
𝑊𝑒 ℎ𝑎𝑣𝑒 (n) e x x n1dx, (n 0) here n − 1 = 𝑜𝑟 𝑛 =
0 2 2
𝟓
𝐼 = ᴦ( )
𝟐
𝟓 𝟓
= (𝟐 − 𝟏 ) (𝟐 − 𝟐) ᴦ(𝟏/𝟐)
3 1
𝐼= ∗ ∗ √𝝅
2 2
𝟑
𝑰= √𝝅
𝟒
1 3 1
2. 𝐸𝑣𝑎𝑙𝑢𝑎𝑡𝑒 ∫0 𝑥 2 (1 − 𝑥)2 𝑑𝑥
3 5 1 3
here m − 1 = or m5/= and n−1= 𝑜𝑟 𝑛 =
2 2 2 2
1
3 1 5 3
∫ 𝑥 2 (1 − 𝑥)2 𝑑𝑥 = 𝛽 ( . )
2 2
0
ᴦ(𝑚). ᴦ(𝑛)
𝑎𝑠 𝑊𝐾𝑇𝛽(𝑚 , 𝑛) =
ᴦ(𝑚 + 𝑛)
1
3 1 5 3 ᴦ(5/2). ᴦ(3/2) ᴦ(5/2). ᴦ(3/2)
∫ 𝑥 2 (1 − 𝑥)2 𝑑𝑥 = 𝛽 ( . ) = =
2 2 ᴦ(5/2 + 3/2) ᴦ(4)
0
3 1 1
∗ ∗√𝜋 ∗√𝜋 𝜋
=2 2 2
= 16
3!
𝜋 𝜋
𝑑𝜃
3. 𝑆ℎ𝑜𝑤 𝑡ℎ𝑎𝑡 ∫02 ∫ 2 √𝑠𝑖𝑛𝜃 𝑑𝜃 = 𝜋
√𝑠𝑖𝑛𝜃 0
𝜋 𝜋 𝜋
2 2 2
𝑑𝜃
𝑆𝑜𝑙: 𝐿𝑒𝑡 𝐼1 = ∫ = ∫ 𝑠𝑖𝑛−1/2 𝜃 𝑑𝜃 = ∫ 𝑠𝑖𝑛−1/2 𝜃 𝑐𝑜𝑠 0 𝜃 𝑑𝜃
√𝑠𝑖𝑛𝜃
0 0 0
𝜋 𝜋 𝜋
2 2 2
𝜋
2 1
1 −2 + 1 0 + 1 1 1 1
𝐻𝑒𝑛𝑐𝑒 𝐼1 = ∫ 𝑠𝑖𝑛−1/2 𝜃 𝑐𝑜𝑠 0 𝜃 𝑑𝜃 = 𝛽 ( . )= 𝛽 ( . )
2 2 2 2 4 2
0
𝜋
2 1
1 +1 0+1 1 3 1
𝑠𝑖𝑚𝑖𝑙𝑎𝑟𝑙𝑦 𝐼2 = ∫ 𝑠𝑖𝑛1/2 𝜃 𝑐𝑜𝑠 0 𝜃 𝑑𝜃 = 𝛽 (2 . )= 𝛽 ( . )
2 2 2 2 4 2
0
1 1 1 1 3 1
∴ 𝐼1 ∗ 𝐼2 = 𝛽 ( . ) ∗ 𝛽 ( . )
2 4 2 2 4 2
3 1
1 ᴦ(1/4).ᴦ(1/2) ᴦ( ).ᴦ( )
4 2
=2 ∗ 5 = 𝜋
ᴦ(3/4) ᴦ( )
4
𝜋
4. 𝑆ℎ𝑜𝑤 𝑡ℎ𝑎𝑡 ∫02 √𝑡𝑎𝑛𝜃 𝑑𝜃 = 𝜋/√2
𝜋 𝜋
2 2
√𝑠𝑖𝑛𝜃
𝑆𝑜𝑙: 𝐿𝑒𝑡 𝐼 = ∫ 𝑑𝜃 = ∫ 𝑠𝑖𝑛1/2 𝜃 𝑐𝑜𝑠 −1/2 𝜃 𝑑𝜃
√𝑐𝑜𝑠𝜃
0 0
1 3 1
1 2
+1 −1/2+1 1 3 1 1 ᴦ(4).ᴦ(4)
=2 𝛽 ( . ) = 2 𝛽 (4 . 4) = 2
2 2 ᴦ(1)
1
= 2 𝜋√2 = 𝜋/√2
5. 𝐸𝑥𝑝𝑟𝑒𝑠𝑠𝑖𝑛𝑔 𝑡ℎ𝑒 𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 𝑡𝑒𝑟𝑚𝑠 𝑜𝑓 𝛽 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛.
2
3
𝑆𝑜𝑙: 𝐿𝑒𝑡 𝐼 = ∫(4 − 𝑥 2 )2 𝑑𝑥
0
𝑝𝑢𝑡 𝑥 = 2𝑠𝑖𝑛𝜃 𝑑𝑥 = 2𝑐𝑜𝑠𝜃 𝑑𝜃
𝐼𝑓 𝑥 = 0 ⟹ 𝜃 = 0
𝜋
𝐼𝑓 𝑥 = 2 ⟹ 𝜃 =
2
𝜋
2
3
= ∫(4 − 4𝑠𝑖𝑛2 𝜃)2 2𝑐𝑜𝑠𝜃 𝑑𝜃
0
𝜋
2
3
= ∫(4[1 − 𝑠𝑖𝑛2 𝜃])2 2𝑐𝑜𝑠𝜃 𝑑𝜃
0
𝜋
2
3
= ∫(22 [1 − 𝑠𝑖𝑛2 𝜃])2 2𝑐𝑜𝑠𝜃 𝑑𝜃
0
𝜋
2
3
= ∫ 16 (𝑐𝑜𝑠 2 𝜃)2 𝑐𝑜𝑠𝜃 𝑑𝜃
0
𝜋
2
= ∫ 16 𝑐𝑜𝑠 4 𝜃 𝑑𝜃
0
𝜋
2
= 16 ∫ 𝑠𝑖𝑛0 𝜃 𝑐𝑜𝑠 4 𝜃 𝑑𝜃
0
3 1
√𝝅 ∗ 2 ∗ 2 ∗ √𝝅 2𝜋 ∗ 3
= 8 = = 3𝜋
2! 2
∴ 𝐼 = 3𝜋
∞
𝑥 𝑚−1
6. 𝑆ℎ𝑜𝑤 𝑡ℎ𝑎𝑡 𝛽(𝑚 , 𝑛) = ∫ 𝑑𝑥
0 (1 + 𝑥)𝑚+𝑛
∞ 𝑚−1
𝑥
𝑐𝑜𝑛𝑠𝑖𝑑𝑒𝑟 ∫ 𝑑𝑥
0 (1 + 𝑥)𝑚+𝑛
𝜋
2
= 2 ∫ 𝑠𝑖𝑛2𝑚−1 𝜃 𝑐𝑜𝑠 2𝑛−1 𝜃 𝑑𝜃 = 𝛽(𝑚 , 𝑛)
0
∞
𝑥 𝑚−1
∴ 𝛽(𝑚 , 𝑛) = ∫ 𝑚+𝑛
𝑑𝑥
0 (1 + 𝑥)
Let 𝐹⃗ (𝑡) = 𝑓1 (𝑡)𝑖̂ + 𝑓2 (𝑡)𝑗̂ + 𝑓3 (𝑡)𝑘̂ be a ‘Vector function’. Then for various values of 𝑡
we get a set of constant vectors.
Let 𝜑 = 𝜑(𝑥, 𝑦, 𝑧) be a ‘Scalar function’. Then for various values of 𝑥, 𝑦, 𝑧 we get a set of
points or scalars.
Vector operation 𝛻(𝑑𝑒𝑙) is defined by the equation
𝜕 𝜕 𝜕
𝛻= 𝑖̂ + 𝑗̂ + 𝑘̂
𝜕𝑥 𝜕𝑦 𝜕𝑧
This operator has a great role in vector calculus. Laplacian operator 𝛻 2 is defined as follows
𝜕 𝜕 𝜕
𝑖. 𝑒. , 𝑔𝑟𝑎𝑑𝜑 = 𝛻𝜑 = (𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝜕𝑧 𝑘̂) 𝜑
𝝏𝝋 𝝏𝝋 𝝏𝝋
𝒈𝒓𝒂𝒅𝝋 = 𝜵𝝋 = ( 𝒊̂ + 𝒋̂ + ̂)
𝒌
𝝏𝒙 𝝏𝒚 𝝏𝒛
2. The component of 𝛻𝜑 in the direction of a unit vector 𝑎⃗ is 𝛻𝜑. 𝑛̂ and is called the
directional derivative of 𝜑 in the direction of 𝑎⃗. Thus, the directional derivative is
maximum in the direction 𝛻𝜑 and the magnitude of this maximum is equal to |𝛻𝜑|.
𝑎⃗⃗
̂
𝑖. 𝑒., 𝑫. 𝑫 = 𝜵𝝋. 𝒏 where 𝑛̂ = |𝑎⃗⃗|
Problems
1. Find the unit normal vector to the surface 𝑥 3 + 𝑦 3 + 3𝑥𝑦𝑧 = 3 at (1,2, −1).
Sol: Let 𝜑 = 𝑥 3 + 𝑦 3 + 3𝑥𝑦𝑧 − 3
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 3𝑥 2 + 3𝑦𝑧 = 3𝑦 2 + 3𝑥𝑧 = 3𝑥𝑦
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Now, 𝛻𝜑 = ( 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂)
𝜕𝑧
At (1,2, −1)
Sol: Let 𝜑 = 𝑥 2 𝑦 + 𝑦 2 𝑧 + 𝑧 2 𝑥 − 5
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 2𝑥𝑦 + 𝑧 2 . 1 = 𝑥 2 . 1 + 2𝑦𝑧 = 𝑦 2 + 2𝑧𝑥
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Now, 𝛻𝜑 = ( 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂)
𝜕𝑧
At (1, −1,2)
|𝜵𝝋| = √𝟑𝟖
𝜵𝝋 ̂
2𝑖̂−3𝑗̂ +5𝑘
̂ = |𝜵𝝋| =
The unit normal vector , 𝒏
√𝟑𝟖
3. Find the directional derivative of the function 𝜑 = 𝑥𝑦 2 + 𝑦𝑧 3 at (2, −1,1) along 𝑖̂ + 2𝑗̂ + 3𝑘̂
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 𝑦2 = 2𝑥𝑦 + 𝑧 3 = 3𝑦𝑧 2
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Now, 𝛻𝜑 = ( 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂)
𝜕𝑧
At (2, −1,1)
̂
𝜵𝝋 = 𝒊̂ − 𝟑𝒋̂ − 𝟑𝒌
|𝑎⃗| = √12 + 22 + 32
|𝑎⃗| = √1 + 4 + 9
|𝒂
⃗⃗| = √𝟏𝟒
𝑎⃗⃗ ̂
𝒊̂+𝟐𝒋̂+𝟑𝒌
∴ 𝑛̂ = |𝑎⃗⃗| =
√𝟏𝟒
̂
𝑫. 𝑫 = 𝜵𝝋. 𝒏
̂)
(𝑖̂+2𝑗̂ +3𝑘
𝐷. 𝐷 = (𝑖̂ − 3𝑗̂ − 3𝑘̂).
√14
(1)(1) + (−3)(2) + (−3)(3)
𝐷. 𝐷 =
√14
1−6−9
𝐷. 𝐷 =
√14
−14
𝐷. 𝐷 =
√14
𝑫. 𝑫 = −√𝟏𝟒
4. Find the directional derivative of the function 𝑓 = 4𝑥𝑧 3 − 3𝑥 2 𝑦 2 𝑧 at (2, −1,2) along
2𝑖̂ − 3𝑗̂ + 6𝑘̂
Sol: Given 𝑓 = 4𝑥𝑧 3 − 3𝑥 2 𝑦 2 𝑧 Let 𝑎⃗ = 2𝑖̂ − 3𝑗̂ + 6𝑘̂
𝜕𝑓 𝜕𝑓 𝜕𝑓
= 4𝑧 3 . 1 − 3𝑦 2 𝑧. 2𝑥 = 0 − 3𝑥 2 𝑧. 2𝑦 = 4𝑥. 3𝑧 2 − 3𝑥 2 𝑦 2 . 1
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝑓 𝜕𝑓 𝜕𝑓
= 4𝑧 3 − 6𝑥𝑦 2 𝑧 = −6𝑥 2 𝑦𝑧 = 12𝑥𝑧 2 − 3𝑥 2 𝑦 2
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝑓 𝜕𝑓 𝜕𝑓
Now, 𝛻𝑓 = (𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝜕𝑧 𝑘̂)
|𝑎⃗| = √4 + 9 + 36
|𝑎⃗| = √49
|𝒂
⃗⃗| = 𝟕
𝑎⃗⃗ ̂
𝟐𝒊̂−𝟑𝒋̂+𝟔𝒌
∴ 𝑛̂ = |𝑎⃗⃗| = 𝟕
̂
𝑫. 𝑫 = 𝜵𝒇. 𝒏
𝜕𝜑 𝜕𝜑 𝜕𝜑
= cos(𝑦𝑧) . 2𝑒 2𝑥 = 𝑒 2𝑥 [− sin(𝑦𝑧) . 𝑧] = 𝑒 2𝑥 [− sin(𝑦𝑧) . 𝑦]
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 2𝑒 2𝑥 cos(𝑦𝑧) = −𝑒 2𝑥 𝑧𝑠𝑖𝑛(𝑦𝑧) = −𝑒 2𝑥 𝑦𝑠𝑖𝑛(𝑦𝑧)
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Now, 𝛻𝜑 = ( 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂)
𝜕𝑧
𝑑𝑟⃗
= (𝑎𝑐𝑜𝑠𝑡)𝑖̂ + (−𝑎𝑠𝑖𝑛𝑡)𝑗̂ + (𝑎) 𝑘̂
𝑑𝑡
𝜋
At 𝑡 = 4
𝑑𝑟⃗ 1 1
= (𝑎. ) 𝑖̂ + (−𝑎. ) 𝑗̂ + (𝑎)𝑘̂
𝑑𝑡 √2 √2
𝑑𝑟⃗ 𝑎 𝑎
= ( ) 𝑖̂ − ( ) 𝑗̂ + (𝑎)𝑘̂
𝑑𝑡 √2 √2
⃗⃗
𝑑𝑟
𝑑𝑡
Unit normal vector , 𝑛̂ = ⃗⃗
𝑑𝑟
| |
𝑑𝑡
𝑎 𝑎
( ) 𝑖̂ − ( ) 𝑗̂ + (𝑎)𝑘̂
𝑛̂ = √2 √2
𝑎 2 𝑎 2
√( ) + (− ) + 𝑎2
√2 √2
𝑎 𝑎 𝑎 𝑎
( ) 𝑖̂ − ( ) 𝑗̂ + (𝑎)𝑘̂ ( ) 𝑖̂ − ( ) 𝑗̂ + (𝑎)𝑘̂
𝑛̂ = √2 √2 = √2 √2
2 2 √𝑎 + 𝑎2
2
√𝑎 + 𝑎 + 𝑎 2
2 2
𝑎 𝑎
) 𝑖̂ − ( ) 𝑗̂ + (𝑎)𝑘̂
(
𝑛̂ = √2 √2
√2. 𝑎
𝑎
(𝑖̂ − 𝑗̂ + √2𝑘̂)
𝑛̂ = √2
√2. 𝑎
(𝑖̂ − 𝑗̂ + √2𝑘̂ )
𝑛̂ =
2
̂
𝑫. 𝑫 = 𝜵𝝋. 𝒏
̂)
(𝑖̂−𝑗̂ +√2𝑘
𝐷. 𝐷 = 2𝑖̂. 2
𝑫. 𝑫 =1
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 1. 𝑦 2 = 𝑥. 2𝑦 + 1. 𝑧 3 = 0 + 𝑦. 3𝑧 2
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 𝑦2 = 2𝑥𝑦 + 𝑧 3 = 3𝑦𝑧 2
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Now, 𝛻𝜑 = ( 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂)
𝜕𝑧
At (2, −1,1)
𝛻𝜑 = 𝑖̂ − 3𝑗̂ − 3𝑘̂
Also given 𝜓 = 𝑥𝑙𝑜𝑔𝑧 − 𝑦 2 + 4
𝜕𝜓 𝜕𝜓 𝜕𝜓 1
= 1. 𝑙𝑜𝑔𝑧 − 0 = 0 − 2𝑦 = 𝑥. 𝑧 − 0
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜓 𝜕𝜓 𝜕𝜓 𝑥
= 𝑙𝑜𝑔𝑧 = −2𝑦 =𝑧
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜓 𝜕𝜓 𝜕𝜓
Now, 𝛻𝜓 = ( 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂)
𝜕𝑧
𝑥
𝛻𝜓 = (𝑙𝑜𝑔𝑧)𝑖̂ + (−2𝑦)𝑗̂ + ( ) 𝑘̂
𝑧
At (−1,2,1)
−1
𝛻𝜓 = (𝑙𝑜𝑔1)𝑖̂ + (−2.2)𝑗̂ + ( ) 𝑘̂
1
|𝜵𝝍| = √𝟏𝟕
𝛻𝜓 0𝑖̂ − 4𝑗̂ − 𝑘̂
̂=
𝒏 =
|𝛻𝜓| √17
̂
𝑫. 𝑫 = 𝜵𝝋. 𝒏
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 𝑎𝑦 2 + 3𝑐𝑧 2 𝑥 2 = 2𝑎𝑥𝑦 + 𝑏𝑧 = 𝑏𝑦 + 2𝑐𝑧𝑥 3
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Now, 𝛻𝜑 = ( 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂)
𝜕𝑧
At (−1,1,2)
𝛻𝜑. 𝑗̂ = 32
⇒ 𝑎 + 12𝑐 = 0 −2𝑎 + 2𝑏 = 32 𝑏 − 4𝑐 = 0
⇒ 𝒂 = −𝟏𝟐𝒄 ⇒ 𝑏 − 𝑎 = 16 ⇒ 𝒃 = 𝟒𝒄
⇒ 4𝑐 − (−12𝑐) = 16
⇒ 16𝑐 = 16
Sol: Given 𝜑 = 𝑥 2 + 𝑦 2 + 𝑧 2 − 9 𝜓 = 𝑥2 + 𝑦2 − 𝑧 − 3
𝜕𝜑 𝜕𝜓
= 2𝑥 = 2𝑥
𝜕𝑥 𝜕𝑥
𝜕𝜑 𝜕𝜓
= 2𝑦 = 2𝑦
𝜕𝑦 𝜕𝑦
𝜕𝜑 𝜕𝜓
= 2𝑧 = −1
𝜕𝑧 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Wkt, 𝛻𝜑 = 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂
𝜕𝑥 𝜕𝑧
̂
𝜵𝝋 = 𝟒𝒊̂ − 𝟐𝒋̂ + 𝟒𝒌
|𝜵𝝋| = 𝟔
𝜕𝜓 𝜕𝜓 𝜕𝜓
Also 𝛻𝜓 = 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂
𝜕𝑥 𝜕𝑧
|𝛻𝜓| = √21
𝜕𝜑 𝜕𝜑 𝜕𝜑
=𝑦 =𝑥 = −2𝑧
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
Wkt, 𝛻𝜑 = 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂
𝜕𝑥 𝜕𝑧
̂
𝜵𝝋𝟏 = 𝒊̂ + 𝟒𝒋̂ − 𝟒𝒌 ̂
𝜵𝝋𝟐 = 𝟑𝒊̂ + 𝟑𝒋̂ + 𝟔𝒌
𝑐𝑜𝑠𝜃 = 𝑛
̂.
1 𝑛
̂2
̂) (𝟑𝒊̂+𝟑𝒋̂+𝟔𝒌
(𝒊̂+𝟒𝒋̂−𝟒𝒌 ̂)
𝑐𝑜𝑠𝜃 = .
√33 3√6
3+12−24 −9
𝑐𝑜𝑠𝜃 = = 3.3√22
3√33.6
−1 −𝟏
𝑐𝑜𝑠𝜃 = ; 𝜽 = 𝒄𝒐𝒔−𝟏 [ ]
√22 √𝟐𝟐
Amount of the fluid flowing in through the face ABCD per unit time
= 𝑉𝑒𝑙𝑜𝑐𝑖𝑡𝑦 𝑋 𝐴𝑟𝑒𝑎 𝑜𝑓 𝑡ℎ𝑒 𝑓𝑎𝑐𝑒 = 𝑉𝑥 𝛿𝑦𝛿𝑧
Amount of the fluid flowing out through the face PQRS per unit time
𝜕𝑉𝑥
= [𝑉𝑥 + 𝛿𝑥] 𝛿𝑦𝛿𝑧
𝜕𝑥
∴ The net decrease in the amount of fluid across these two faces is
𝜕𝑉𝑦
Similarly, the decrease in amount of fluid due to flow along the y − axis = 𝛿𝑥𝛿𝑦𝛿𝑧
𝜕𝑦
𝜕𝑉𝑧
The decrease in amount of fluid due to flow along the z − axis = 𝛿𝑥𝛿𝑦𝛿𝑧
𝜕𝑧
Total decrease in amount of fluid inside the parallelepiped per unit time
𝜕𝑉𝑥 𝜕𝑉𝑦 𝜕𝑉𝑧
=[ + + ] 𝛿𝑥𝛿𝑦𝛿𝑧
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝑉𝑥 𝜕𝑉𝑦 𝜕𝑉𝑧
Hence the ratio of loss of fluid per unit volume = + +
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕 𝜕 𝜕
= [𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝜕𝑧 𝑘̂] . [𝑉𝑥 𝑖̂ + 𝑉𝑦 𝑗̂ + 𝑉𝑧 𝑘̂]
⃗⃗
= 𝛻. 𝑉
⃗⃗
= 𝑑𝑖𝑣𝑉
Hence 𝑑𝑖𝑣𝑉 ⃗⃗ gives the rate of outflow per unit volume at a point of the fluid. If
𝒅𝒊𝒗𝑽⃗⃗⃗ = 𝟎 everywhere in some region of space, then 𝑉 ⃗⃗ is called Solenoidal Vector function
and the fluids said to be incompressible i.e., there is no gain or loss in the volume element.
Curl of a vector function
The curl of a vector function 𝐹⃗ = 𝑓1 𝑖̂ + 𝑓2 𝑗̂ + 𝑓3 𝑘̂ is denoted by 𝑐𝑢𝑟𝑙𝐹⃗ and is defined as
𝒄𝒖𝒓𝒍𝑭⃗⃗ = 𝜵𝑿𝑭⃗⃗
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕|
𝑐𝑢𝑟𝑙𝐹⃗ = || |
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝑓1 𝑓2 𝑓3
𝝏𝒇𝟑 𝝏𝒇𝟐 𝝏𝒇𝟑 𝝏𝒇𝟏 𝝏𝒇𝟐 𝝏𝒇𝟏
⃗⃗ = [
𝒄𝒖𝒓𝒍𝑭 − ] 𝒊̂ − [ − ] 𝒋̂ + [ − ̂
]𝒌
𝝏𝒚 𝝏𝒛 𝝏𝒙 𝝏𝒛 𝝏𝒙 𝝏𝒚
⃗⃗ is a vector quantity.
Clearly 𝒄𝒖𝒓𝒍𝑭
Physical interpretation of Curl
Consider a rigid body rotating about a fixed axis through origin. Let the uniform angular
velocity be 𝑤⃗⃗⃗ = 𝑤1 𝑖̂ + 𝑤2 𝑗̂ + 𝑤3 𝑘̂ , 𝑤1, 𝑤2 , 𝑤3 are constants. The velocity 𝑉 ⃗⃗ of any point
P(x, y, z) on the body is given by 𝑉 ⃗⃗ = 𝑤
⃗⃗⃗ 𝑋 𝑟⃗ , where 𝑟⃗ is the position vector of P.
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
⃗⃗ = |
𝑐𝑢𝑟𝑙𝑉 |
𝜕𝑥 𝜕𝑦 𝜕𝑧
(𝑤2 𝑧 − 𝑤3 𝑦) (𝑤3 𝑥 − 𝑤1 𝑧) (𝑤1 𝑦 − 𝑤2 𝑥)
⃗⃗ = [𝑤1 − (−𝑤1 ) ]𝑖̂ − [−𝑤2 − 𝑤2 ]𝑗̂ + [𝑤3 − (−𝑤3 )]𝑘̂
𝑐𝑢𝑟𝑙𝑉
⃗⃗ = [2𝑤1 ]𝑖̂ + [2𝑤2 ]𝑗̂ + [2𝑤3 ]𝑘̂
𝑐𝑢𝑟𝑙𝑉
⃗⃗ = 2[𝑤1 𝑖̂ + 𝑤2 𝑗̂ + 𝑤3 𝑘̂]
𝑐𝑢𝑟𝑙𝑉
⃗⃗ = 2𝑤
𝑐𝑢𝑟𝑙𝑉 ⃗⃗⃗
𝟏
⃗⃗⃗
⃗⃗⃗⃗ = 𝟐 𝐜𝐮𝐫𝐥𝑽
𝒘
Thus the angular velocity of rotation at any point is equal to half of the curl of the velocity.
Note:
⃗⃗ = 𝟎 , then we say that 𝐹⃗ is Solenoidal vector.
1. If 𝒅𝒊𝒗𝑭
⃗⃗ = 𝟎 , then we say that 𝐹⃗ is irrotational vector.
2. If 𝒄𝒖𝒓𝒍𝑭
3. Irrotational vector field is called as conservative field or potential field.
4. When 𝐹⃗ is irrotational there always exist a scalar point function such that 𝜵𝝋 = 𝑭
⃗⃗ ,
then 𝜑 is called a scalar potential of vector 𝐹⃗ .
Problems
1. If 𝐹⃗ = 𝑥𝑦𝑧𝑖̂ + 3𝑥 2 𝑦𝑗̂ + (𝑥𝑧 2 − 𝑦 2 𝑧)𝑘̂ , find the 𝑑𝑖𝑣𝐹⃗ and 𝑐𝑢𝑟𝑙𝐹⃗ at (2, −1,1).
𝐹 = 𝑥𝑦𝑧𝑖̂ + 3𝑥 2 𝑦𝑗̂ + (𝑥𝑧 2 − 𝑦 2 𝑧)𝑘̂
Sol: Given ⃗⃗⃗⃗
Wkt 𝑑𝑖𝑣𝐹⃗ = 𝛻. 𝐹⃗
𝜕𝑓 𝜕𝑓 𝜕𝑓
𝑑𝑖𝑣𝐹⃗ = 𝜕𝑥1 + 𝜕𝑦2 + 𝜕𝑧3
𝜕 𝜕 𝜕
𝑑𝑖𝑣𝐹⃗ = 𝜕𝑥 (𝑥𝑦𝑧) + 𝜕𝑦 (3𝑥 2 𝑦) + 𝜕𝑧 (𝑥𝑧 2 − 𝑦 2 𝑧)
𝑑𝑖𝑣𝐹⃗ = 𝑦𝑧 + 3𝑥 2 + 2𝑥𝑧 − 𝑦 2
𝑑𝑖𝑣𝐹⃗ = −1 + 12 + 4 − 1
⃗⃗ =14
𝒅𝒊𝒗𝑭
Also, 𝑐𝑢𝑟𝑙𝐹⃗ = 𝛻 𝑋 𝐹⃗
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
=| 𝜕𝑥 𝜕𝑦 𝜕𝑧
|
(𝑥𝑦𝑧) (3𝑥 2 𝑦) (𝑥𝑧 2 − 𝑦 2 𝑧)
𝜕 𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙𝐹⃗ = [ (𝑥𝑧 2 − 𝑦 2 𝑧) − (3𝑥 2 𝑦)] 𝑖̂ − [ (𝑥𝑧 2 − 𝑦 2 𝑧) − (𝑥𝑦𝑧)] 𝑗̂
𝜕𝑦 𝜕𝑧 𝜕𝑥 𝜕𝑧
𝜕 𝜕
+ [ (3𝑥 2 𝑦) − (𝑥𝑦𝑧)] 𝑘̂
𝜕𝑥 𝜕𝑦
𝐹⃗ = 𝛻𝜑
𝜕𝜑 𝜕𝜑 𝜕𝜑
𝐹⃗ = 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝜕𝑧 𝑘̂
̂
⃗⃗ = (𝟑𝒙𝟐 − 𝟑𝒚𝒛)𝒊̂ + (𝟑𝒚𝟐 − 𝟑𝒙𝒛)𝒋̂ + (𝟑𝒛𝟐 − 𝟑𝒙𝒚)𝒌
𝑭
Now, 𝑑𝑖𝑣𝐹⃗ = 𝛻. 𝐹⃗
𝜕 𝜕 𝜕
𝑑𝑖𝑣𝐹⃗ = 𝜕𝑥 (3𝑥 2 − 3𝑦𝑧)+𝜕𝑦(3𝑦 2 − 3𝑥𝑧) +𝜕𝑧 (3𝑧 2 − 3𝑥𝑦)
𝑐𝑢𝑟𝑙𝐹⃗ = 𝛻 𝑋 𝐹⃗
𝑐𝑢𝑟𝑙𝐹⃗ = [(0 − 3𝑥) − (0 − 3𝑥)]𝑖̂ − [(0 − 3𝑦) − (0 − 3𝑦)]𝑗̂ + [(0 − 3𝑧) − (0 − 3𝑧)]𝑘̂
𝐹⃗ = 𝛻𝜑
𝜕𝜑 𝜕𝜑 𝜕𝜑
𝐹⃗ = 𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝜕𝑧 𝑘̂
̂
⃗⃗ = (𝒚𝟑 𝒛𝟐 )𝒊̂ + (𝟑𝒙𝒚𝟐 𝒛𝟐 )𝒋̂ + (𝟐𝒙𝒚𝟑 𝒛)𝒌
𝑭
Now, 𝑑𝑖𝑣𝐹⃗ = 𝛻. 𝐹⃗
𝜕 𝜕 𝜕
𝑑𝑖𝑣𝐹⃗ = 𝜕𝑥 (𝑦 3 𝑧 2 )+𝜕𝑦(3𝑥𝑦 2 𝑧 2 ) +𝜕𝑧 (2𝑥𝑦 3 𝑧)
Also, 𝑐𝑢𝑟𝑙𝐹⃗ = 𝛻 𝑋 𝐹⃗
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙𝐹⃗ = | 𝜕𝑥 𝜕𝑦 𝜕𝑧
|
(𝒚𝟑 𝟐 )
𝒛 (𝟑𝒙𝒚𝟐 𝟐 )𝒛 (𝟐𝒙𝒚𝟑 𝒛)
𝑐𝑢𝑟𝑙𝐹⃗ = [(𝟔𝒙𝒚𝟐 𝒛𝟐 ) − (𝟔𝒙𝒚𝟐 𝒛𝟐 )]𝑖̂ − [(𝟐𝒚𝟑 𝒛) − (𝟐𝒚𝟑 𝒛)]𝑗̂ + [(𝟑𝒚𝟐 𝒛𝟐 ) − (𝟑𝒚𝟐 𝒛𝟐 )]𝑘̂
Wkt, 𝑑𝑖𝑣𝐹⃗ = 𝛻. 𝐹⃗
𝜕 𝜕 𝜕
𝑑𝑖𝑣𝐹⃗ = 𝜕𝑥 (3𝑥 2 𝑦 − 𝑧)+𝜕𝑦(𝑥𝑧 3 + 𝑦 4 ) +𝜕𝑧 (−2𝑥 3 𝑧 2 )
𝑔𝑟𝑎𝑑(𝑑𝑖𝑣𝐹⃗ ) = 𝛻𝜑
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝑘̂
𝜕𝑥 𝜕𝑧
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙𝐹⃗ = 𝛻 𝑋 𝐹⃗ 𝑐𝑢𝑟𝑙𝐹⃗ = | 𝜕𝑥 𝜕𝑦 𝜕𝑧
|
(𝒙𝟐 ) (𝒙𝒚) (𝒙𝒛)
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙𝐹⃗ = [𝜕𝑦 (𝑥𝑧) − 𝜕𝑧 (𝑥𝑦)] 𝑖̂ − [𝜕𝑥 (𝑥𝑧) − 𝜕𝑧 (𝑥 2 )] 𝑗̂ + [𝜕𝑥 (𝑥𝑦) − 𝜕𝑦 (𝑥 2 )] 𝑘̂
𝑐𝑢𝑟𝑙(𝑐𝑢𝑟𝑙𝐹⃗ ) = 𝛻𝑋(𝑐𝑢𝑟𝑙𝐹⃗ )
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙(𝑐𝑢𝑟𝑙𝐹⃗ ) = | |
𝜕𝑥 𝜕𝑦 𝜕𝑧
(𝟎) (−𝒛) (𝒚)
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙(𝑐𝑢𝑟𝑙𝐹⃗ ) = [𝜕𝑦 (𝑦) − 𝜕𝑧 (−𝑧)] 𝑖̂ − [𝜕𝑥 (𝑦) − 𝜕𝑧 (0)] 𝑗̂ + [𝜕𝑥 (−𝑧) − 𝜕𝑦 (0)] 𝑘̂
Wkt, 𝑑𝑖𝑣𝐹⃗ = 𝛻. 𝐹⃗
𝜕 𝑥 𝜕 𝑦
𝑑𝑖𝑣𝐹⃗ = 𝜕𝑥 ((𝑥 2 +𝑦 2))+𝜕𝑦 ((𝑥 2 +𝑦 2))
𝑥 2 +𝑦 2 −2𝑥 2 +𝑥 2 +𝑦 2 −2𝑦 2
𝑑𝑖𝑣𝐹⃗ = (𝑥 2 +𝑦 2 )2
⃗⃗ = 𝟎
𝒅𝒊𝒗𝑭
∴ ⃗𝑭⃗ is Solenoidal.
Now, 𝑐𝑢𝑟𝑙𝐹⃗ = 𝛻 𝑋 𝐹⃗
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙𝐹⃗ = || 𝜕𝑥 𝜕𝑦 𝜕𝑧 |
|
𝑥 𝑦
(𝑥 2 +𝑦 2 ) (𝑥 2 +𝑦 2 )
0
𝜕 𝜕 𝑦 𝜕 𝜕 𝑥
𝑐𝑢𝑟𝑙𝐹⃗ = [ (0) − ( 2 )] 𝑖̂ − [ (0) − ( )] 𝑗̂
𝜕𝑦 𝜕𝑧 (𝑥 + 𝑦 2 ) 𝜕𝑥 𝜕𝑧 (𝑥 2 + 𝑦 2 )
𝜕 𝑦 𝜕 𝑥
+[ ( 2 2
)− ( 2 )] 𝑘̂
𝜕𝑥 (𝑥 + 𝑦 ) 𝜕𝑦 (𝑥 + 𝑦 2 )
−2𝑥𝑦 2𝑥𝑦
𝑐𝑢𝑟𝑙𝐹⃗ = [(0) − (0)]𝑖̂ − [(0) − (0)]𝑗̂ + [(𝑥 2 +𝑦 2 ) + (𝑥 2 +𝑦 2)] 𝑘̂
8. P.T 𝐹⃗ = (𝑦 + 𝑧)𝑖̂ + (𝑧 + 𝑥)𝑗̂ + (𝑥 + 𝑦)𝑘̂ is irrotational. Also find a scalar point function
𝜑 such that 𝐹⃗ = 𝛻𝜑.
𝑐𝑢𝑟𝑙𝐹⃗ = 𝛻 𝑋 𝐹⃗
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙𝐹⃗ = | |
𝜕𝑥 𝜕𝑦 𝜕𝑧
(𝑦 + 𝑧) (𝑧 + 𝑥) (𝑥 + 𝑦)
𝜕 𝜕 𝜕 𝜕
𝑐𝑢𝑟𝑙𝐹⃗ = [ (𝑥 + 𝑦) − (𝑧 + 𝑥)] 𝑖̂ − [ (𝑥 + 𝑦) − (𝑦 + 𝑧)] 𝑗̂
𝜕𝑦 𝜕𝑧 𝜕𝑥 𝜕𝑧
𝜕 𝜕
+ [ (𝑧 + 𝑥) − (𝑦 + 𝑧)] 𝑘̂
𝜕𝑥 𝜕𝑦
𝒄𝒖𝒓𝒍𝑭 ⃗⃗ ∴ 𝑭
⃗⃗ = 𝟎 ⃗⃗ is irrotational.
To find 𝝋
Consider 𝛻𝜑 = 𝐹⃗
𝜕𝜑 𝜕𝜑 𝜕𝜑
𝑖̂ + 𝑗̂ + 𝑘̂ = (𝑦 + 𝑧)𝑖̂ + (𝑧 + 𝑥)𝑗̂ + (𝑥 + 𝑦)𝑘̂
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
=𝑦+𝑧 =𝑧+𝑥 =𝑥+𝑦
𝜕𝑥 𝜕𝑦 𝜕𝑧
Integrating we get
𝜑 = (𝑦 + 𝑧) ∫ 1 𝑑𝑥 𝜑 = (𝑧 + 𝑥) ∫ 1 𝑑𝑦 𝜑 = (𝑥 + 𝑦) ∫ 1 𝑑𝑧
𝜑 = (𝑦 + 𝑧)𝑥 + 𝑓(𝑦, 𝑧) 𝜑 = (𝑧 + 𝑥)𝑦 + 𝑓(𝑥, 𝑧) 𝜑 = (𝑥 + 𝑦)𝑧 + 𝑓(𝑥, 𝑦)
𝜑 = 𝑥𝑦 + 𝑥𝑧 + 𝑓(𝑦, 𝑧) 𝜑 = 𝑦𝑧 + 𝑥𝑦 + 𝑓(𝑥, 𝑧) 𝜑 = 𝑥𝑧 + 𝑦𝑧 + 𝑓(𝑥, 𝑦)
∴ 𝝋 = 𝒙𝒚 + 𝒙𝒛 + 𝒚𝒛 , where 𝑓(𝑦, 𝑧) = 𝑦𝑧 , 𝑓(𝑥, 𝑧) = 𝑥𝑧 , 𝑓(𝑥, 𝑦) = 𝑥𝑦
𝑐𝑢𝑟𝑙𝐹⃗ = 𝛻 𝑋 𝐹⃗
Since 𝐹⃗ is irrotational,
𝑐𝑢𝑟𝑙𝐹⃗ = ⃗⃗
0
Consider 𝛻𝜑 = 𝐹⃗
𝜕𝜑 𝜕𝜑 𝜕𝜑
𝑖̂ + 𝑗̂ + 𝑘̂ = (6𝑥𝑦 + 𝑧 3 )𝑖̂ + (3𝑥 2 − 𝑧)𝑗̂ + (3𝑥𝑧 2 − 𝑦)𝑘̂
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕𝜑 𝜕𝜑 𝜕𝜑
= 6𝑥𝑦 + 𝑧 3 = 3𝑥 2 − 𝑧 = 3𝑥𝑧 2 − 𝑦
𝜕𝑥 𝜕𝑦 𝜕𝑧
Integrating we get
𝜑 = 6𝑦 ∫ 𝑥 𝑑𝑥 + 𝑧 3 ∫ 1 𝑑𝑥 𝜑 = 3𝑥 2 ∫ 1 𝑑𝑦 − 𝑧 ∫ 1 𝑑𝑦 𝜑=
3𝑥 ∫ 𝑧 2 𝑑𝑧 − 𝑦 ∫ 1 𝑑𝑧
𝑥2 𝑧3
𝜑 = 6𝑦 ( 2 ) + 𝑧 3 𝑥 + 𝑓(𝑦, 𝑧) 𝜑 = 3𝑥 2 𝑦 − 𝑧𝑦 + 𝑓(𝑥, 𝑧) 𝜑 = 3𝑥 ( 3 ) − 𝑦𝑧 +
𝑓(𝑥, 𝑦)
𝜑 = 3𝑥 2 𝑦 + 𝑧 3 𝑥 + 𝑓(𝑦, 𝑧) 𝜑 = 3𝑥 2 𝑦 − 𝑧𝑦 + 𝑓(𝑥, 𝑧) 𝜑 = 𝑥𝑧 3 − 𝑦𝑧 +
𝑓(𝑥, 𝑦)
∴ 𝝋 = 𝟑𝒙𝟐 𝒚 + 𝒙𝒛𝟑 − 𝒚𝒛 , where 𝑓(𝑦, 𝑧) = −𝑦𝑧 , 𝑓(𝑥, 𝑧) = 𝑥𝑧 3 , 𝑓(𝑥, 𝑦) = 3𝑥 2 𝑦
𝑑𝑟. Then the line integral of a vector 𝐴⃗(𝑥, 𝑦, 𝑧) along the curve 𝐶 is defined to be the sum of
the scalar products of 𝐴⃗ ,𝑑𝑟⃗ and is represented by ∫ 𝐴⃗ . 𝑑𝑟⃗ .
𝐶
If 𝐹⃗ is the force acted upon by a particle in displacing it along the curve 𝐶 then
∫𝐶 𝐹⃗ . 𝑑𝑟⃗ represents the total work done by a force , it also represents the circulation of 𝐹⃗
about 𝐶 where 𝐹⃗ represents the velocity of a fluid.
Problems
1. If 𝐹⃗ = (5𝑥𝑦 − 6𝑥 2 )𝑖̂ + (2𝑦 − 4𝑥)𝑗̂, evaluate ∫𝐶 𝐹⃗ . 𝑑𝑟⃗ where 𝐶 is the curve 𝑦 = 𝑥 3 from
the point (1,1) to the point (2,8).
3 2𝜋 2𝜋
𝑠𝑖𝑛 𝜃 𝑠𝑖𝑛2 𝜃 [𝑓(𝑥)]𝑛+1
∫𝐶 𝐹⃗ . 𝑑𝑟⃗ = −24 [ 3 ] − 4[ 2
] {∫[𝑓(𝑥)]𝑛 𝑓 ′ (𝑥)𝑑𝑥 = 𝑛+1
}
0 0
∫ 𝐹⃗ . 𝑑𝑟⃗ = 0.
𝐶
3. If 𝐹⃗ = (3𝑥 2 + 6𝑦)𝑖̂ − (14𝑦𝑧)𝑗̂ + (20𝑥𝑧 2 )𝑘̂, evaluate ∫𝐶 𝐹⃗ . 𝑑𝑟⃗ from the point (0,0,0) to
∫ ⃗𝑭⃗ . 𝒅𝒓
⃗⃗ = 𝟓
𝑪
4. If 𝐹⃗ = (𝑥 2 )𝑖̂ + (𝑥𝑦)𝑗̂, evaluate ∫𝐶 𝐹⃗ . 𝑑𝑟⃗ from (0,0) to (1,1) along i) the line 𝑦 = 𝑥
𝐹⃗ . 𝑑𝑟⃗ = (𝑥 2 + 𝑥 2 )𝑑𝑥
𝐹⃗ . 𝑑𝑟⃗ = 2𝑥 2 𝑑𝑥
1
∫ 𝐹⃗ . 𝑑𝑟⃗ = ∫ 2𝑥 2 𝑑𝑥
𝐶 0
𝑥=1
𝑥3
∫ 𝐹⃗ . 𝑑𝑟⃗ = 2 [ ]
3 𝑥=0
𝐶
𝟐
∫ ⃗𝑭⃗ . 𝒅𝒓
⃗⃗ =
𝟑
𝑪
𝑦=1 𝑦=1
𝑦6 𝑦4
∫ 𝐹⃗ . 𝑑𝑟⃗ = 2 [ ] +[ ]
6 𝑦=0 4 𝑦=0
𝐶
1 1
∫ 𝐹⃗ . 𝑑𝑟⃗ = (1 − 0) + (1 − 0)
3 4
𝐶
1 1
∫ 𝐹⃗ . 𝑑𝑟⃗ = +
3 4
𝐶
𝟕
⃗⃗ . 𝒅𝒓
∫𝑭 ⃗⃗ =
𝟏𝟐
𝑪
5. Find the total work done by a force 𝐹⃗ = 2𝑥𝑦𝑖̂ − 4𝑧𝑗̂ + 5𝑥𝑘̂ along the curve 𝑥 = 𝑡 2 ,
y=(2t+1) , 𝑧 = 𝑡 3 from the point 𝑡 = 1 to 𝑡 = 2.
23(31) 713−75
= − 15 =
5 5
𝟔𝟑𝟖
Work done , ∫𝑪 ⃗𝑭⃗ . 𝒅𝒓
⃗⃗ = units
𝟓
6. Find the total work done by a force 𝐹⃗ = 3𝑥 2 𝑖̂ + (2𝑥𝑧 − 𝑦)𝑗̂ + 𝑧𝑘̂ when it moves
𝑡2 3𝑡 3
a particle from the point 𝑡 = 0 and 𝑡 = 2 along the curve 𝑥 = 𝑡, 𝑦 = ,𝑧= .
4 8
2𝑡 𝑡 (3)3𝑡 2 9𝑡 2
𝑑𝑥 = 𝑑t ; 𝑑𝑦 = 𝑑𝑡 = 2 𝑑𝑡 ; 𝑑𝑧 = 𝑑𝑡 = 𝑑𝑡
4 8 8
𝑡: 𝑡 = 0 𝑡𝑜 𝑡 = 2
3𝑡 3 𝑡2 𝑡 3𝑡 3 9𝑡 2
(1)⇒ 𝐹⃗ . 𝑑𝑟⃗ = 3𝑡 2 𝑑𝑡 + [2𝑡 ( ) − 4 ] 2 𝑑𝑡 + . 𝑑𝑡
8 8 8
3𝑡 𝑡 27𝑡5 3 5
𝐹⃗ . 𝑑𝑟⃗ = (3𝑡 2 + 8 − 8 + 64 ) 𝑑𝑡
𝑡 3 51𝑡 5
𝐹⃗ . 𝑑𝑟⃗ = (3𝑡 2 − + ) 𝑑𝑡
8 64
1 51
∫ 𝐹⃗ . 𝑑𝑟⃗ = 8 − +
2 6
𝐶
48 − 3 + 51
∫ 𝐹⃗ . 𝑑𝑟⃗ =
6
𝐶
96
∫ 𝐹⃗ . 𝑑𝑟⃗ =
6
𝐶
⃗⃗ . 𝒅𝒓
Work done, ∫𝑪 𝑭 ⃗⃗ = 𝟏𝟔 𝒖𝒏𝒊𝒕𝒔
Green’s Theorem
Let 𝑀(𝑥, 𝑦) and 𝑁(𝑥, 𝑦) be two functions defined in region ′𝑅′ and the 𝑥𝑦 − 𝑃𝑙𝑎𝑛𝑒 with
𝝏𝑴 𝝏𝑵
simple closed curve 𝐶 has its boundary , then ∮𝑪 𝑴𝒅𝒙 + 𝑵𝒅𝒚 = ∬𝑹 [ 𝝏𝒙 − 𝝏𝒚 ] 𝒅𝒚𝒅𝒙
Note:
𝟏
1. 𝐀𝐫𝐞𝐚 = ∬𝑹 𝒅𝒚𝒅𝒙 = 𝟐 ∫𝑪 (𝒙𝒅𝒚 − 𝒚𝒅𝒙)
Problems
𝑥 = 1 and 𝑦 = 𝑥.
𝝏𝑵 𝝏𝑴
Sol: Green’s Theorem:∮𝑪 𝑴𝒅𝒙 + 𝑵𝒅𝒚 = ∬𝑹 [ 𝝏𝒙 − ] 𝒅𝒚𝒅𝒙 --- (1)
𝝏𝒚
Here, M = 𝑥𝑦 − 𝑥 2 𝑁 = 𝑥2𝑦
𝝏𝑴 𝝏𝑵
=𝒙 = 𝟐𝒙𝒚
𝝏𝒚 𝝏𝒙
In ‘R’
𝑥: 𝑥 = 0 𝑡𝑜 𝑥 = 1
𝑦: 𝑦 = 0 𝑡𝑜 𝑦 = 𝑥
1
= ∫𝑥=0[𝑥(𝑥 2 − 0) − 𝑥(𝑥 − 0)]𝑑𝑥
1
−𝟏
∫ (𝒙𝒚 − 𝒙𝟐 )𝒅𝒙 + 𝒙𝟐 𝒚𝒅𝒚 =
𝟏𝟐
𝑪
2. Use Green’s theorem to evaluate ∫𝑪 (𝒙𝟐 + 𝒚𝟐 )𝒅𝒙 + 𝟑𝒙𝟐 𝒚𝒅𝒚 where 𝐶 is the circle
Here, M = 𝑥 2 + 𝑦 2 𝑁 = 3𝑥 2
𝝏𝑴 𝝏𝑵
= 𝟐𝒚 = 𝟔𝒙𝒚
𝝏𝒚 𝝏𝒙
In ‘R’
𝑥: 𝑥 = −2 𝑡𝑜 𝑥 = 2
𝑦: 𝑦 = −√4 − 𝑥 2 𝑡𝑜 𝑦 = √4 − 𝑥 2
2 √4−𝑥 2
(1)⇒ ∫𝐶 (𝑥 2 + 𝑦 2 )𝑑𝑥 + 3𝑥 2 𝑦𝑑𝑦 = ∫𝑥=−2 ∫𝑦=−√4−𝑥 2(6𝑥𝑦 − 2𝑦)𝑑𝑦𝑑𝑥
√4−𝑥 2 √4−𝑥 2
2 𝑦2 𝑦2
= ∫𝑥=−2 [6𝑥 [ 2 ] 2
− 2[ 2 ] ] 𝑑𝑥
−√4−𝑥 −√4−𝑥 2
∫ (𝑥 2 +𝑦 2 )𝑑𝑥
+ 3𝑥 𝑦𝑑𝑦 = ∫ [3𝑥[(4 − 𝑥 2 ) − (4 − 𝑥 2 )] − [(4 − 𝑥 2 ) − (4 − 𝑥 2 )]]𝑑𝑥
2
𝐶 𝑥=−2
3.Use Green’s theorem to find area between the parabola 𝑥 2 = 4𝑦 and 𝑦 2 = 4𝑥.
𝟏
Sol: Wkt 𝐀𝐫𝐞𝐚 = ∬𝑹 𝒅𝒚𝒅𝒙 = 𝟐 ∫𝑪 (𝒙𝒅𝒚 − 𝒚𝒅𝒙)
1
Thus, A = 2 ∫𝐶 (𝑥𝑑𝑦 − 𝑦𝑑𝑥)
1
A = 2 [∫𝑂𝐴(𝑥𝑑𝑦 − 𝑦𝑑𝑥) + ∫𝐴𝑂(𝑥𝑑𝑦 − 𝑦𝑑𝑥)] --- (1)
𝒙𝟐 = 𝟒𝒚 𝒚𝟐 = 𝟒𝒙
𝑥2 𝑦2
𝑦= 𝑥=
4 4
2𝑥 2𝑦
𝑑𝑦 = 𝑑𝑥 𝑑𝑥 = 𝑑𝑦
4 4
𝒙 𝒚
𝒅𝒚 = 𝟐 𝒅𝒙 𝒅𝒙 = 𝟐 𝒅𝒚
In ‘R’
𝑥: 𝑥 = 0 𝑡𝑜 𝑥 = 4𝑦: 𝑦 = 4 𝑡𝑜 𝑦 = 0
1 4 𝑥 𝑥2 0 𝑦2 𝑦
(1) ⇒ A = 2 [∫𝑥=0 (𝑥. 2 𝑑𝑥 − 𝑑𝑥) + ∫𝑦=4 ( 4 𝑑𝑦 − 𝑦. 2 𝑑𝑦 )]
4
1 4 𝑥2 𝑥2 0 𝑦2 𝑦2
A = 2 [∫𝑥=0 ( 2 − ) 𝑑𝑥 + ∫𝑦=4 ( 4 − ) 𝑑𝑦]
4 2
1 4 𝑥2 0 𝑦2
A = 2 [∫𝑥=0 ( 4 ) 𝑑𝑥 − ∫𝑦=4 ( 4 ) 𝑑𝑦]
4 0
1 𝑥3 𝑦3
A = [[ ] − [ ] ]
8 3 0 3 4
1
A= [(43 − 0) − (0 − 43 )]
8∗3
1
A= [64 + 64]
24
128
A=
24
𝟏𝟔
𝑨= Sq.Units
𝟑
Stoke’s Theorem
⃗⃗. 𝒅𝒓
∮𝑭 ⃗⃗ . 𝒏
⃗⃗ = ∬ 𝒄𝒖𝒓𝒍𝑭 ⃗⃗) . 𝒏
̂ 𝒅𝒔 = ∬(𝜵𝑿𝑭 ̂ 𝒅𝒔
𝑪 𝑺 𝑺
Problems
1.Verify Stoke’s theorem for 𝐹⃗ = 𝑦𝑖̂ + 𝑧𝑗̂ + 𝑥𝑘̂ where 𝑆 is the upper half of the sphere
𝑥 2 + 𝑦 2 + 𝑧 2 = 1 and 𝐶 is its boundary.
Sol: By Stoke’s theorem,
∮𝑪 ⃗𝑭⃗. 𝒅𝒓
⃗⃗ = ∬𝑺 𝒄𝒖𝒓𝒍𝑭⃗⃗ . 𝒏
̂ 𝒅𝒔 , 𝐶 is the circle in the 𝑥𝑦 − 𝑝𝑙𝑎𝑛𝑒 whose centre is the origin
and radius equal to unity.
i.e., 𝑥 2 + 𝑦 2 = 1 and
𝑧=0
𝑑𝑧 = 0
Put 𝑥 = 𝑐𝑜𝑠𝜃 𝑦 = 𝑠𝑖𝑛𝜃 ; 0 ≤ 𝜃 ≤ 2𝜋
1 𝑠𝑖𝑛2𝜃 2𝜋
= − 2 {[𝜃]2𝜋
0 −[ ] }
2 0
1 1
= − 2 {[2𝜋 − 0] − 2 [𝑠𝑖𝑛4𝜋 − 𝑠𝑖𝑛0]}
1
∮ 𝐹⃗ . 𝑑𝑟⃗ = − (2𝜋)
2
𝐶
∮ ⃗𝑭⃗. 𝒅𝒓
⃗⃗ = −𝝅
𝑪
𝑖̂ 𝑗̂ 𝑘̂
=|𝜕 𝜕 𝜕
|
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝑦 𝑧 𝑥
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
= [𝜕𝑦 (𝑥) − 𝜕𝑧 (𝑧)] 𝑖̂ − [𝜕𝑥 (𝑥) − 𝜕𝑧 (𝑦)] 𝑗̂ + [𝜕𝑥 (𝑧) − 𝜕𝑦 (𝑦)] 𝑘̂
𝑐𝑢𝑟𝑙𝐹⃗ = −𝑖̂ − 𝑗̂ − 𝑘̂
⃗⃗. 𝒏
𝒄𝒖𝒓𝒍𝑭 ̂ 𝒅𝒔 = −𝒅𝒙𝒅𝒚
∬ 𝑐𝑢𝑟𝑙𝐹⃗ . 𝑛̂ 𝑑𝑠 = − ∬ 𝑑𝑥𝑑𝑦
𝑆 𝑆
⃗⃗ . 𝒏
∬𝑺 𝒄𝒖𝒓𝒍𝑭 ̂ 𝒅𝒔 = −𝝅 (𝑺𝒊𝒏𝒄𝒆 ∬𝑆 𝑑𝑥𝑑𝑦 = 𝑨𝒓𝒆𝒂 𝒐𝒇 𝒄𝒊𝒓𝒄𝒍𝒆, 𝑥 2 + 𝑦 2 = 1 =
𝜋(1)2 = 𝜋)
LHS = RHS
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
= | 𝜕𝑥 𝜕𝑦 𝜕𝑧
|
2
𝑥𝑦 𝑥𝑦 0
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
= [𝜕𝑦 (0) − 𝜕𝑧 (𝑥𝑦 2 )] 𝑖̂ − [𝜕𝑥 (0) − 𝜕𝑧 (𝑥𝑦)] 𝑗̂ + [𝜕𝑥 (𝑥𝑦 2 ) − 𝜕𝑦 (𝑥𝑦)] 𝑘̂
⃗⃗. 𝒏
𝒄𝒖𝒓𝒍𝑭 ̂ 𝒅𝒔 = [𝒚𝟐 − 𝒙]𝒅𝒙𝒅𝒚
⃗⃗. 𝒅𝒓
Wkt , ∮𝑪 𝑭 ⃗⃗ . 𝒏
⃗⃗ = ∬𝑹 𝒄𝒖𝒓𝒍𝑭 ̂ 𝒅𝒔
= ∬𝑅 [𝑦 2 − 𝑥]𝑑𝑥𝑑𝑦
1 1
⃗⃗. 𝒅𝒓
∮𝑭 ⃗⃗ = ∫ ∫ [𝑦 2 − 𝑥]𝑑𝑦𝑑𝑥
𝑪 𝑥=−1 𝑦=−1
1
1 𝑦3
= ∫𝑥=−1 {[ 3 ] − 𝑥[𝑦]1−1 } 𝑑𝑥
−1
1 1
= ∫𝑥=−1 [3 [1 − (−1)] − 𝑥[1 − (−1)]] 𝑑𝑥
2
∮ 𝐹⃗ . 𝑑𝑟⃗ = [1 − (−1)] − [(1)2 − (−1)2 ]
3
𝐶
2
∮ 𝐹⃗ . 𝑑𝑟⃗ = [2] − [0]
3
𝐶
𝟒
∮ ⃗𝑭⃗. 𝒅𝒓
⃗⃗ =
𝟑
𝑪
𝑖̂ 𝑗̂ 𝑘̂
𝜕 𝜕 𝜕
=| 𝜕𝑥 𝜕𝑦 𝜕𝑧
|
(𝑥 2 + 𝑦 2 ) −2𝑥𝑦 0
𝜕 𝜕 𝜕 𝜕 𝜕
= [𝜕𝑦 (0) − 𝜕𝑧 (−2𝑥𝑦)] 𝑖̂ − [𝜕𝑥 (0) − 𝜕𝑧 ((𝑥 2 + 𝑦 2 ))] 𝑗̂ + [𝜕𝑥 (−2𝑥𝑦) −
𝜕
((𝑥 2 + 𝑦 2 ))] 𝑘̂
𝜕𝑦
⃗⃗. 𝒏
𝒄𝒖𝒓𝒍𝑭 ̂ 𝒅𝒔 = −𝟒𝒚𝒅𝒙𝒅𝒚
= ∬𝑅 −4𝑦𝑑𝑥𝑑𝑦
𝑎 𝑏
⃗⃗. 𝒅𝒓
∮𝑪 𝑭 ⃗⃗ = −4 ∫𝑥=0 ∫𝑦=0 𝑦 𝑑𝑦 𝑑𝑥
𝑏
𝑎 𝑦2
= −4 ∫𝑥=0 {[ 2 ] } 𝑑𝑥
0
𝑎 𝑏2
= −4 ∫𝑥=0 {[ 2 − 0]} 𝑑𝑥
𝑎
𝑏2
∮ 𝐹⃗ . 𝑑𝑟⃗ = −4. ∫ 1. 𝑑𝑥
2
𝐶 𝑥=0
∮ 𝐹⃗ . 𝑑𝑟⃗ = −2𝑏 2 (𝑎 − 0)
𝐶
⃗⃗. 𝒅𝒓
∮𝑭 ⃗⃗ = −𝟐𝒂𝒃𝟐
𝑪
4. Using Stoke’s theorem to evaluate ∮𝐶 𝐹⃗ . 𝑑𝑟⃗ where 𝐹⃗ = 𝑦𝑖̂ + 𝑧𝑗̂ + 𝑥𝑘̂ and 𝐶 is the
boundary of the upper half of the sphere 𝑥 2 + 𝑦 2 + 𝑧 2 = 1 .
𝑐𝑢𝑟𝑙𝐹⃗ = −𝑖̂ − 𝑗̂ − 𝑘̂
⃗⃗. 𝒏
𝒄𝒖𝒓𝒍𝑭 ̂ 𝒅𝒔 = −𝒅𝒙𝒅𝒚
By Stoke’s theorem,
∮ ⃗𝑭⃗. 𝒅𝒓 ⃗⃗ . 𝒏
⃗⃗ = ∬ 𝒄𝒖𝒓𝒍𝑭 ̂ 𝒅𝒔
𝑪 𝑺
∮ 𝐹⃗ . 𝑑𝑟⃗ = ∬ −𝑑𝑥𝑑𝑦
𝐶 𝑆
∮ 𝐹⃗ . 𝑑𝑟⃗ = − ∬ 𝑑𝑥𝑑𝑦
𝐶 𝑆
⃗⃗. 𝒅𝒓
∮𝑪 𝑭 ⃗⃗ = −𝝅 (𝑆𝑖𝑛𝑐𝑒 ∬𝑆 𝑑𝑥𝑑𝑦 = 𝐴𝑟𝑒𝑎 𝑜𝑓 𝑐𝑖𝑟𝑐𝑙𝑒, 𝑥 2 + 𝑦 2 = 1 = 𝜋(1)2 = 𝜋)
Problem on flux
Now, 𝑑𝑖𝑣𝐹⃗ = 𝛻. 𝐹⃗
𝜕 𝜕 𝜕
= [𝜕𝑥 𝑖̂ + 𝜕𝑦 𝑗̂ + 𝜕𝑧 𝑘̂] . [2𝑥𝑦𝑖̂ + 𝑦𝑧 2 𝑗̂ + 𝑥𝑧𝑘̂ ]
𝜕 𝜕 𝜕
𝑑𝑖𝑣𝐹⃗ = 𝜕𝑥 (2𝑥𝑦) + 𝜕𝑦 (𝑦𝑧 2 )+𝜕𝑧 (𝑥𝑧)
⃗⃗ = 𝟐𝒚 + 𝒛𝟐 + 𝒙
𝒅𝒊𝒗𝑭
Flux across S = ∬𝑆 𝐹⃗ . 𝑛̂ 𝑑𝑠
∬ 𝐹⃗ . 𝑛̂ 𝑑𝑠 = ∫ ∫ ∫(𝟐𝒚 + 𝒛𝟐 + 𝒙 ) 𝑑𝑥 𝑑𝑦 𝑑𝑧
𝑆 𝑧=0 𝑦=0 𝑥=0
2
3 1 𝑦2
= ∫𝑧=0 ∫𝑦=0 [(2𝑦 + 𝑧 2 ) [𝑥]20 + [ 2 ] ] 𝑑𝑦 𝑑𝑧
0
3 1
= ∫𝑧=0 ∫𝑦=0(4𝑦 + 2𝑧 2 + 2) 𝑑𝑦 𝑑𝑧
1
3 𝑦2
= ∫𝑧=0 {4 [ 2 ] + (2𝑧 2 + 2)[𝑦]10 } 𝑑𝑧
0
3
= ∫𝑧=0{2 + 2𝑧 2 + 2}𝑑𝑧
3
= ∫𝑧=0{2𝑧 2 + 4}𝑑𝑧
3
𝑧3
⃗
∬ 𝐹 . 𝑛̂ 𝑑𝑠 = 2 [ ] + 4[𝑧]30
3 0
𝑆
= 2(9 − 0) + 4(3 − 0)
∬ ⃗𝑭⃗ . 𝒏
̂ 𝒅𝒔 = 𝟑𝟎
𝑺
𝜕2 𝑧
2. = 𝑥𝑦 [𝑂𝑟𝑑𝑒𝑟 − 2, 𝐷𝑒𝑔𝑟𝑒𝑒 − 1, 𝑁𝑜𝑛𝐻𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠 𝑃𝐷𝐸]
𝜕𝑥𝜕𝑦
𝜕2 𝑧 𝜕𝑧
3. = 𝜕𝑦 + 2𝑧 [𝑂𝑟𝑑𝑒𝑟 − 2, 𝐷𝑒𝑔𝑟𝑒𝑒 − 1, 𝐻𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠 𝑃𝐷𝐸]
𝜕𝑥 2
𝜕2 𝑧 𝜕2 𝑧
4. + 𝜕𝑦 2 = 0 [𝑂𝑟𝑑𝑒𝑟 − 2, 𝐷𝑒𝑔𝑟𝑒𝑒 − 1, 𝐻𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠 𝑃𝐷𝐸]
𝜕𝑥 2
𝜕3 𝑧
5. 𝜕𝑥 2 𝜕𝑦 = cos(2𝑥 + 3𝑦) [𝑂𝑟𝑑𝑒𝑟 − 3, 𝐷𝑒𝑔𝑟𝑒𝑒 − 1, 𝑁𝑜𝑛𝐻𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠 𝑃𝐷𝐸]
𝜕2 𝑢
6. 𝜕𝑥 2 = 𝑥 + 𝑦 [𝑂𝑟𝑑𝑒𝑟 − 2, 𝐷𝑒𝑔𝑟𝑒𝑒 − 1, 𝑁𝑜𝑛𝐻𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠 𝑃𝐷𝐸]
𝜕2 𝑧
7. 𝜕𝑥 2 − 16𝑧 = 0 [𝑂𝑟𝑑𝑒𝑟 − 2, 𝐷𝑒𝑔𝑟𝑒𝑒 − 1, 𝐻𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠 𝑃𝐷𝐸]
𝜕2 𝑢 𝜕𝑢
8. + 4 𝜕𝑦 = 0 [𝑂𝑟𝑑𝑒𝑟 − 2, 𝐷𝑒𝑔𝑟𝑒𝑒 − 1, 𝑁𝑜𝑛𝐻𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠 𝑃𝐷𝐸]
𝜕𝑥𝜕𝑦
𝜕𝑧
Also, = (𝑥 + 𝑎). 1 ⇒ 𝒒 = (𝒙 + 𝒂)
𝜕𝑦
(1) ⇒ 𝑧 = 𝑞. 𝑝
𝒛 = 𝒑𝒒 , is the required PDE
𝑥2 𝑦2
2. 2𝑧 = 𝑎2 + 𝑏2
𝑥2 𝑦2
Sol: Given 2𝑧 = 2 + --- (1)
𝑎 𝑏2
𝒚𝟐
𝒒𝒚 = 𝒃𝟐
⇒ 2z𝑝 = −2𝑎𝑥
𝑎𝑥 = −𝑧𝑝
Multiply by ‘𝑥’
𝒂𝒙𝟐 = −𝒛𝒑𝒙
𝜕𝑧
Also, 2z 𝜕𝑦 = 0 − 0 − 2𝑏𝑦
⇒ 2z𝑞 = −2𝑏𝑦
𝑏𝑦 = −𝑧𝑞
Multiply by ‘𝑦’
𝒃𝒚𝟐 = −𝒛𝒒𝒚
(1) ⇒ 𝑧 2 = 1 − (−𝑧𝑝𝑥) − (−𝑧𝑞𝑦)
𝑧 2 − 1 = 𝑧𝑝𝑥 + 𝑧𝑞𝑦
𝒛𝟐 − 𝟏 = 𝒛(𝒑𝒙 + 𝒒𝒚) , is the required PDE.
4. 𝑧 = 𝑎𝑙𝑜𝑔(𝑥 2 + 𝑦 2 ) + 𝑏
Sol: Given 𝑧 = 𝑎𝑙𝑜𝑔(𝑥 2 + 𝑦 2 ) + 𝑏 --- (1)
Differentiate (1) w.r.t ‘x’ and ‘y’ partially
𝜕𝑧 1
= 𝑎. (𝑥 2 +𝑦2 ) . 2𝑥
𝜕𝑥
𝟐𝒙𝒂
⇒ 𝒑 = (𝒙𝟐 +𝒚𝟐 )
𝒑 𝟐𝒂
⇒ = (𝒙𝟐 +𝒚𝟐 ) --- (2)
𝒙
𝜕𝑧 1
Also, 𝜕𝑦 = 𝑎. (𝑥 2 +𝑦 2 ) . 2𝑦
𝒒 𝟐𝒂
⇒ = (𝒙𝟐 +𝒚𝟐 ) --- (3)
𝒚
5. 𝑧 = 𝑥𝑦 + 𝑦√𝑥 2 − 𝑎2 + 𝑏
𝜕𝑧
Also, 𝜕𝑦 = 𝑥. 1 + √𝑥 2 − 𝑎2 .1
(𝑝 − 𝑦)(𝑞 − 𝑥) = 𝑥𝑦
𝑝𝑞 − 𝑝𝑥 − 𝑞𝑦 + 𝑥𝑦 = 𝑥𝑦
𝒑𝒒 = 𝒑𝒙 + 𝒒𝒚 , is the required PDE.
6. Find the PDE of the family of spheres whose centre lie on the plane 𝑧 = 0 and have a
constant radius ‘r’.
Sol: The co-ordinates of the centre of the sphere can be taken as (𝑎, 𝑏, 0) where 𝑎 and 𝑏
are arbitrary. 𝑟 is the constant radius.
The equation of the sphere is given by
(𝑥 − 𝑎)2 + (𝑦 − 𝑏)2 + (𝑧 − 0)2 = 𝑟 2
(𝑥 − 𝑎)2 + (𝑦 − 𝑏)2 + 𝑧 2 = 𝑟 2
𝑧 2 = 𝑟 2 − (𝑥 − 𝑎)2 − (𝑦 − 𝑏)2 --- (1)
Differentiate (1) w.r.t ‘x’ and ‘y’ partially
𝜕𝑧
2z 𝜕𝑥 = 0 − 2(𝑥 − 𝑎) − 0
⇒ 2z𝑝 = −2(𝑥 − 𝑎)
⇒ (𝑥 − 𝑎) = −𝑧𝑝
⇒ 2z𝑞 = −2(𝑦 − 𝑏)
⇒ (𝑦 − 𝑏) = −𝑧𝑞
(1) ⇒ 𝑧 2 = 𝑟 2 − (−𝑧𝑝 )2 − (−𝑧𝑞)2
𝑧 2 = 𝑟 2 − 𝑧 2 𝑝2 − 𝑧 2 𝑞 2
𝑧 2 + 𝑧 2 𝑝2 + 𝑧 2 𝑞 2 = 𝑟 2
𝒛𝟐 (𝟏 + 𝒑𝟐 + 𝒒𝟐 ) = 𝒓𝟐 , is the required PDE.
𝑥2 𝑦2 𝑧2
7. 𝑎2 + 𝑏2 + 𝑐 2 = 1
𝑥2 𝑦2 𝑧2
Sol: Given + 𝑏2 + 𝑐 2 = 1
𝑎2
𝑧2 𝑥2 𝑦2
= 1 − 𝑎2 − 𝑏2 --- (1)
𝑐2
Differentiate (1) w.r.t ‘x’ and ‘y’ partially
2𝑧 𝜕𝑧 2𝑥
2
=0− 2 −0
𝑐 𝜕𝑥 𝑎
2𝑧 2𝑥
2
𝑝=− 2
𝑐 𝑎
𝑧𝑝 𝑥
= − 𝑎2 --- (2)
𝑐2
2𝑧 𝜕𝑧 2𝑦
Also, 𝑐 2 𝜕𝑦 = 0 − 0 − 𝑏2
2𝑧 2𝑦
𝑞 = − 𝑏2
𝑐2
𝑧𝑞 𝑦
= − 𝑏2 --- (3)
𝑐2
1 𝜕𝑧 𝜕𝑧 𝜕2 𝑧 1
[𝜕𝑥 . 𝜕𝑥 + 𝑧. 𝜕𝑥 2 ] = − 𝑎2 . 1
𝑐2
1 1
[𝑝2 + 𝑧. 𝑟] = −
𝑐2 𝑎2
Multiply by ‘x’
𝑥 2 𝑥
[𝑝 + 𝑧𝑟] = −
𝑐2 𝑎2
𝑥 𝑧𝑝
[𝑝2 + 𝑧𝑟] = From (2)
𝑐2 𝑐2
8.Form the PDE of the family of spheres whose centre lies on 𝑥 − 𝑎𝑥𝑖𝑠 with constant
radius 3.
Sol: Equation of sphere with centre on 𝑥 − 𝑎𝑥𝑖𝑠 i.e., C = (𝑎, 0,0) and radius 𝑟 = 3.
The equation of the sphere is given by
(𝑥 − 𝑎)2 + (𝑦 − 0)2 + (𝑧 − 0)2 = 32
(𝑥 − 𝑎)2 + 𝑦 2 + 𝑧 2 = 9
𝑧 2 = 9 − (𝑥 − 𝑎)2 − 𝑦 2 --- (1)
Differentiate (1) w.r.t ‘x’ and ‘y’ partially
𝜕𝑧
2z 𝜕𝑥 = 0 − 2(𝑥 − 𝑎) − 0
⇒ 2z𝑝 = −2(𝑥 − 𝑎)
⇒ (𝑥 − 𝑎) = −𝑧𝑝
𝜕𝑧
Also 2z 𝜕𝑦 = 0 − 0 − 2(𝑦 − 𝑏)
⇒ 2z𝑞 = −2(𝑦 − 𝑏)
⇒ (𝑦 − 𝑏) = −𝑧𝑞
(1) ⇒ 𝑧 2 = 9 − (−𝑧𝑝 )2 − (−𝑧𝑞)2
𝑧 2 = 9 − 𝑧 2 𝑝2 − 𝑧 2 𝑞 2
𝑧 2 + 𝑧 2 𝑝2 + 𝑧 2 𝑞 2 = 9
𝒛𝟐 (𝟏 + 𝒑𝟐 + 𝒒𝟐 ) = 𝟗 , is the required PDE.
Form the PDE by eliminating arbitrary functions in the following
1. 𝑧 = 𝑓(𝑥 2 + 𝑦 2 )
Sol: Given 𝑧 = 𝑓(𝑥 2 + 𝑦 2 ) --- (1)
Differentiating (1) partially w.r.t ‘𝑥’ and ‘𝑦’ , we have
𝜕𝑧 𝜕𝑧
= 𝑝 = 𝑓 ′ (𝑥 2 + 𝑦 2 ). 2𝑥 = 𝑞 = 𝑓 ′ (𝑥 2 + 𝑦 2 ). 2𝑦
𝜕𝑥 𝜕𝑦
𝑝𝑦 = 𝑞𝑥
𝒑𝒚 − 𝒒𝒙 = 𝟎 , is the required PDE.
1
2. 𝑧 = 𝑦 2 + 2𝑓 (𝑥 + 𝑙𝑜𝑔𝑦)
1
Sol: Given 𝑧 = 𝑦 2 + 2𝑓 (𝑥 + 𝑙𝑜𝑔𝑦) --- (1)
−1 1 1 1
𝑝= . 2𝑓 ′ (𝑥 + 𝑙𝑜𝑔𝑦) 𝑞 − 2𝑦 = 𝑦 . 2𝑓 ′ (𝑥 + 𝑙𝑜𝑔𝑦)
𝑥2
1 1
𝑥 2 𝑝 = −2𝑓 ′ (𝑥 + 𝑙𝑜𝑔𝑦) --- (2) (𝑞 − 2𝑦)𝑦 = 2𝑓 ′ ( + 𝑙𝑜𝑔𝑦) --- (3)
𝑥
𝑝 = 𝑒 𝑦 𝑓 ′ (𝑥 + 𝑦) --- (2) 𝑞 = 𝑒 𝑦 . 𝑓 ′ (𝑥 + 𝑦) +𝑧
𝑞 − 𝑧 = 𝑒 𝑦 . 𝑓 ′ (𝑥 + 𝑦) --- (3)
From (2) and (3) , we have
𝑝 =𝑞−𝑧
𝒑 + 𝒛 = 𝒒 , is the required PDE.
𝑙 + 𝑛𝑝 = 2𝜑 ′ (𝑥 2 + 𝑦 2 + 𝑧 2 ). (𝑥 + 𝑧𝑝)
(𝑙+𝑛𝑝)
(𝑥+𝑧𝑝)
= 2𝜑 ′ (𝑥 2 + 𝑦 2 + 𝑧 2 ) --- (2)
𝑚 + 𝑛𝑞 = 2𝜑 ′ (𝑥 2 + 𝑦 2 + 𝑧 2 ). (𝑦 + 𝑧𝑞)
(𝑚+𝑛𝑞)
(𝑦+𝑧𝑞)
= 2𝜑 ′ (𝑥 2 + 𝑦 2 + 𝑧 2 ) --- (3)
𝝏𝒖 𝝏𝒗
=𝟏+𝒒 = 𝟐𝒚 − 𝟐𝒛𝒒
𝝏𝒚 𝝏𝒚
𝜑(𝑢, 𝑣) = 0
(1 + 𝑝) (1 + 𝑞)
| |=𝟎
(2𝑥 − 2𝑧𝑝) (2𝑦 − 2𝑧𝑞)
(1 + 𝑝)(2𝑦 − 2𝑧𝑞) − (1 + 𝑞)(2𝑥 − 2𝑧𝑝) = 0
2𝑦 − 2𝑧𝑞 + 2𝑝𝑦 − 2𝑧𝑝𝑞 − 2𝑥 + 2𝑧𝑝 − 2𝑞𝑥 + 2𝑧𝑝𝑞 = 0 ÷ 𝑏𝑦 2
𝑦 − 𝑧𝑞 + 𝑝𝑦 − 𝑥 + 𝑧𝑝 − 𝑞𝑥 = 0
−𝑧𝑞 + 𝑝𝑦 + 𝑧𝑝 − 𝑞𝑥 = 𝑥 − 𝑦
𝒑(𝒚 + 𝒛) − 𝒒(𝒙 + 𝒛) = 𝒙 − 𝒚 , is the required PDE.
7. 𝜑(𝑥𝑦 + 𝑧 2 , 𝑥 + 𝑦 + 𝑧) = 0
Sol: Given 𝜑(𝑥𝑦 + 𝑧 2 , 𝑥 + 𝑦 + 𝑧) = 0
Let u = 𝑥𝑦 + 𝑧 2 𝑣 =𝑥+𝑦+𝑧
𝜕𝑢 𝜕𝑧 𝜕𝑣 𝜕𝑧
= 𝑦. 1 + 2𝑧 𝜕𝑥 = 1 + 0 + 𝜕𝑥
𝜕𝑥 𝜕𝑥
𝝏𝒖 𝝏𝒗
= 𝒚 + 𝟐𝒛𝒑 =𝟏+𝒑
𝝏𝒙 𝝏𝒙
𝜕𝑢 𝜕𝑧 𝜕𝑣 𝜕𝑧
= 𝑥. 1 + 0 + 2𝑧 𝜕𝑦 = 1 + 0 + 𝜕𝑦
𝜕𝑦 𝜕𝑦
𝝏𝒖 𝝏𝒗
= 𝒙 + 𝟐𝒛𝒒 =𝟏+𝒒
𝝏𝒚 𝝏𝒚
𝝏𝒖 𝝏𝒖
𝝏𝒙 𝝏𝒚
Now 𝜑(𝑢, 𝑣) = |𝝏𝒗 𝝏𝒗
|
𝝏𝒙 𝝏𝒚
𝜑(𝑢, 𝑣) = 0
(𝑦 + 2𝑧𝑝) (𝑥 + 2𝑧𝑞)
| |=0
(1 + 𝑝) (1 + 𝑞)
(𝑦 + 2𝑧𝑝)(1 + 𝑞) − (𝑥 + 2𝑧𝑞)(1 + 𝑝) = 0
𝑦 + 𝑦𝑞 + 2𝑧𝑝 + 2𝑧𝑝𝑞 − 𝑥 − 2𝑧𝑞 − 𝑝𝑥 − 2𝑝𝑧𝑞 = 0
𝑦 + 𝑦𝑞 + 2𝑧𝑝 − 𝑥 − 2𝑧𝑞 − 𝑝𝑥 = 0
𝑦𝑞 + 2𝑧𝑝 − 2𝑧𝑞 − 𝑝𝑥 = 𝑥 − 𝑦
𝒑(𝟐𝒛 − 𝒙) + 𝒒(𝒚 − 𝟐𝒛) = 𝒙 − 𝒚 , is the required PDE.
8. 𝑓(𝑥 2 + 𝑦 2 , 𝑧 − 𝑥𝑦) = 0
𝜕𝑢 𝜕𝑣 𝜕𝑧
= 0 + 2𝑦 = 𝜕𝑦 − 𝑥. 1
𝜕𝑦 𝜕𝑦
𝝏𝒖 𝝏𝒗
= 𝟐𝒚 =𝒒−𝒙
𝝏𝒚 𝝏𝒚
𝝏𝒖 𝝏𝒖
𝝏𝒙 𝝏𝒚
Now 𝑓(𝑢, 𝑣) = |𝝏𝒗 𝝏𝒗
|
𝝏𝒙 𝝏𝒚
𝑓(𝑢, 𝑣) = 0
(2𝑥) (2𝑦)
| |=0
(𝒑 − 𝒚) (𝒒 − 𝒙)
(2𝑥)(𝑞 − 𝑥) − (2𝑦)(𝑝 − 𝑦) = 0
2𝑥𝑞 − 2𝑥 2 − 2𝑦𝑝 + 2𝑦 2 = 0 ÷ 𝑏𝑦 2
𝒙𝒒 − 𝒚𝒑 = 𝒙𝟐 − 𝒚𝟐 , is the required PDE.
9. 𝑓(𝑥 2 + 2𝑦𝑧, 𝑦 2 + 2𝑧𝑥) = 0
Sol: Given 𝑓(𝑥 2 + 2𝑦𝑧, 𝑦 2 + 2𝑧𝑥) = 0
Let u = 𝑥 2 + 2𝑦𝑧 v = 𝑦 2 + 2𝑧𝑥
𝜕𝑢 𝜕𝑧 𝜕𝑣 𝜕𝑧
= 2𝑥 + 2𝑦 𝜕𝑥 = 0 + 2𝑥. 𝜕𝑥 + 2𝑧. 1
𝜕𝑥 𝜕𝑥
𝝏𝒖 𝝏𝒗
= 𝟐𝒙 + 𝟐𝒚𝒑 = 𝟐𝒙𝒑 + 𝟐𝒛
𝝏𝒙 𝝏𝒙
𝜕𝑢 𝜕𝑧 𝜕𝑣 𝜕𝑧
= 0 + 2𝑦. 𝜕𝑦 + 2𝑧. 1 = 2𝑦 + 2𝑥 𝜕𝑦
𝜕𝑦 𝜕𝑦
𝝏𝒖 𝝏𝒗
= 𝟐𝒚𝒒 + 𝟐𝒛 = 𝟐𝒚 + 𝟐𝒙𝒒
𝝏𝒚 𝝏𝒚
𝝏𝒖 𝝏𝒖
𝝏𝒙 𝝏𝒚
Now 𝑓(𝑢, 𝑣) = |𝝏𝒗 𝝏𝒗
|
𝝏𝒙 𝝏𝒚
𝑓(𝑢, 𝑣) = 0
𝝏𝒖 𝒚(𝒛−𝒙𝒑) 𝝏𝒗
= =𝒑
𝝏𝒙 𝒛𝟐 𝝏𝒙
𝜕𝑧
𝜕𝑢 (𝑧.1−𝑦. ) 𝜕𝑣 𝜕𝑧
𝜕𝑦
= 𝑥. = 𝜕𝑦
𝜕𝑦 𝑧2 𝜕𝑦
𝝏𝒖 𝒙(𝒛−𝒚𝒒) 𝝏𝒗
= =𝒒
𝝏𝒚 𝒛𝟐 𝝏𝒚
𝝏𝒖 𝝏𝒖
𝝏𝒙 𝝏𝒚
Now 𝑓(𝑢, 𝑣) = |𝝏𝒗 𝝏𝒗
|
𝝏𝒙 𝝏𝒚
𝑓(𝑢, 𝑣) = 0
𝑦(𝑧−𝑥𝑝) 𝑥(𝑧−𝑦𝑞)
| 𝑧2 𝑧2 |=0
𝑝 𝑞
𝑦(𝑧−𝑥𝑝) 𝑥(𝑧−𝑦𝑞)
.𝑞 − .𝑝 = 0
𝑧2 𝑧2
𝑦𝑞(𝑧−𝑥𝑝) 𝑥𝑝(𝑧−𝑦𝑞)
− =0
𝑧2 𝑧2
𝑦𝑞(𝑧−𝑥𝑝)−𝑥𝑝(𝑧−𝑦𝑞)
=0
𝑧2
𝑦𝑞𝑧−𝑥𝑝𝑝𝑞−𝑥𝑧𝑞+𝑥𝑦𝑝𝑞
=0
𝑧2
𝑦𝑞𝑧 − 𝑥𝑧𝑞 = 0 ;
z(𝑦𝑞 − 𝑥𝑞) = 0
𝜕2 𝑧
= 𝑓 ′ (𝑥) + 𝜑 ′ (𝑦)
𝜕𝑦.𝜕𝑥
𝒓 = 𝟒𝒇′′ ′′
𝟏 + 𝒇𝟐 --- (4)
𝜕 𝜕𝑧
𝜕𝑦 𝜕𝑥
( ) = −2𝑓1′′ (𝑦 − 2𝑥) − 2𝑓2′′ (2𝑦 − 𝑥)
𝒕 = 𝒇′′ ′′
𝟏 + 𝟒𝒇𝟐 --- (6)
Now
𝑟 + 2𝑠 = 4𝑓1′′ + 𝑓2′′ −4𝑓1′′ − 4𝑓2′′
𝒓 + 𝟐𝒔 = −𝟑𝒇′′
𝟐 --- (7)
Also
𝑠 + 2𝑡 = −2𝑓1′′ − 2𝑓2′′ +2𝑓1′′ + 8𝑓2′′
𝒔 + 𝟐𝒕 = 𝟔𝒇′′
𝟐 --- (8)
(8) ÷ (7)
𝒔+𝟐𝒕 𝟔𝒇′′
= −𝟑𝒇𝟐′′
𝒓+𝟐𝒔 𝟐
𝑠+2𝑡
= −2
𝑟+2𝑠
𝑠 + 2𝑡 = −2(𝑟 + 2𝑠)
𝑠 + 2𝑡 = −2𝑟 − 4𝑠
𝑠 + 2𝑡 + 2𝑟 + 4𝑠 = 0
𝟓𝒔 + 𝟐𝒕 + 𝟐𝒓 = 𝟎 , is the required PDE.
14. 𝑧 = 𝑓(𝑥) + 𝑒 𝑦 𝑔(𝑥)
Sol: Given 𝑧 = 𝑓(𝑥) + 𝑒 𝑦 𝑔(𝑥) --- (1)
Differentiate (1) partially
𝜕𝑧
= 𝑓 ′ (𝑥) + 𝑒 𝑦 𝑔′ (𝑥)
𝜕𝑥
𝒑 = 𝒇′ + 𝒈′ --- (2)
𝜕𝑧
= 𝑐𝑓 ′ (𝑥 + 𝑐𝑡) − 𝑐𝑔′ (𝑥 − 𝑐𝑡)
𝜕𝑡
𝜕2 𝑢
Sol: Given =𝑥+𝑦
𝜕𝑥 2
𝜕 𝜕𝑢
( )=𝑥+𝑦
𝜕𝑥 𝜕𝑥
𝜕𝑢 𝑥2
= + 𝑦𝑥 + 𝑓(𝑦)
𝜕𝑥 2
1 𝑥3 𝑥2
𝑢 = 2 [ 3 ] + 𝑦 [ 2 ] + 𝑓(𝑦). 𝑥 + 𝑔(𝑦)
𝒙𝟑 𝒙𝟐 𝒚
𝒖= + + 𝒙𝒇(𝒚) + 𝒈(𝒚) , is the required solution.
𝟔 𝟐
𝜕2 𝑧 𝑥
2. Solve =𝑦+𝑎
𝜕𝑥𝜕𝑦
𝜕2 𝑧 𝑥
Sol: Given =𝑦+𝑎
𝜕𝑥𝜕𝑦
𝜕 𝜕𝑧 𝑥
( )=𝑦+𝑎
𝜕𝑥 𝜕𝑦
𝜕𝑧 𝑥2
= 2𝑦 + 𝑎𝑥 + 𝑓(𝑦)
𝜕𝑦
𝒙𝟐
𝒛= 𝒍𝒐𝒈𝒚 + 𝒂𝒙𝒚 + 𝑭(𝒚) + 𝒈(𝒙) , is the required solution.
𝟐
𝜕3 𝑧
3. Solve = cos(2𝑥 + 3𝑦)
𝜕𝑥 2 𝜕𝑦
𝜕3 𝑧
Sol: Given = cos(2𝑥 + 3𝑦)
𝜕𝑥 2 𝜕𝑦
𝜕 𝜕2 𝑧
( ) = cos(2𝑥 + 3𝑦)
𝜕𝑥 𝜕𝑥𝜕𝑦
𝜕2 𝑧 sin(2𝑥+3𝑦)
= + 𝑓(𝑦)
𝜕𝑥𝜕𝑦 2
𝜕𝑧 −cos(2𝑥+3𝑦)
= + 𝑓(𝑦). 𝑥 + 𝑔(𝑦)
𝜕𝑦 2.2
𝒔𝒊𝒏(𝟐𝒙+𝟑𝒚)
𝒛=− + 𝒙𝑭(𝒚) + 𝑮(𝒚) + 𝒉(𝒙), is the required solution.
𝟏𝟐
𝜕2 𝑧 𝜕𝑧
4. Solve = 𝑠𝑖𝑛𝑥 𝑠𝑖𝑛𝑦 for which 𝜕𝑦 = −2𝑠𝑖𝑛𝑦 when 𝑥 = 0 and 𝑧 = 0 if 𝑦 is an odd
𝜕𝑥𝜕𝑦
𝜋 𝜋
multiple of 2 .{𝑜𝑟 𝑧 = 0 𝑖𝑓 𝑦 = (2𝑛 + 1) 2 }
𝜕2 𝑧
Sol: Given = 𝑠𝑖𝑛𝑥 𝑠𝑖𝑛𝑦
𝜕𝑥𝜕𝑦
𝜕 𝜕𝑧
( ) = 𝑠𝑖𝑛𝑥 𝑠𝑖𝑛𝑦
𝜕𝑥 𝜕𝑦
𝜕𝑧
= 𝑠𝑖𝑛𝑦(−𝑐𝑜𝑠𝑥) + 𝑓(𝑦) --- (1)
𝜕𝑦
𝒈(𝒙) = 𝟎
Thus,
(2) ⇒ 𝑧 = 𝑐𝑜𝑠𝑥. 𝑐𝑜𝑠𝑦 + 𝑐𝑜𝑠𝑦 + 0
𝑧 = 𝑐𝑜𝑠𝑥. 𝑐𝑜𝑠𝑦 + 𝑐𝑜𝑠𝑦
𝒛 = 𝒄𝒐𝒔𝒚(𝒄𝒐𝒔𝒙 + 𝟏) , is the solution.
𝜕2 𝑢 𝜕𝑢
5. Solve = 𝑒 −𝑡 𝑐𝑜𝑠𝑥 given that 𝑢 = 0 when 𝑡 = 0 and = 0 at 𝑥 = 0 . Also show that
𝜕𝑥𝜕𝑡 𝜕𝑡
𝑢 → 𝑠𝑖𝑛𝑥 as t → ∞.
𝜕2 𝑢
Sol: Given = 𝑒 −𝑡 𝑐𝑜𝑠𝑥
𝜕𝑥𝜕𝑡
𝜕 𝜕𝑢
( 𝜕𝑡 ) = 𝑒 −𝑡 𝑐𝑜𝑠𝑥
𝜕𝑥
𝜕2 𝑧 𝑥
Sol: Given =𝑦
𝜕𝑥𝜕𝑦
𝜕2 𝑧 𝑥
=𝑦
𝜕𝑦𝜕𝑥
𝜕 𝜕𝑧 𝑥
( )=𝑦
𝜕𝑦 𝜕𝑥
𝜕𝑧
= 𝑥𝑙𝑜𝑔𝑦 + 𝑓(𝑥) --- (1)
𝜕𝑥
𝑭(𝒙) = 𝒙𝒍𝒐𝒈𝒙 − 𝒙
𝑥 2 𝑙𝑜𝑔𝑦
(2) ⇒ 𝑧 = + 𝑥𝑙𝑜𝑔𝑥 − 𝑥 + 𝑔(𝑦)
2
Thus,
𝑥 2 𝑙𝑜𝑔𝑦 𝑙𝑜𝑔𝑦
𝑧= + 𝑥𝑙𝑜𝑔𝑥 − 𝑥 + 1 −
2 2
𝒍𝒐𝒈𝒚
𝒛= (𝒙𝟐 − 𝟏) + 𝒙(𝒍𝒐𝒈𝒙 − 𝟏) + 𝟏 , is the required solution.
𝟐
𝜕2 𝑧 𝜕𝑧
7. Solve = 𝑥𝑦 subject to the conditions that 𝜕𝑥 = log(1 + 𝑦) when 𝑥 = 1 and 𝑧 = 0
𝜕𝑥 2
when 𝑥 = 0.
𝜕2 𝑧
Sol: Given = 𝑥𝑦
𝜕𝑥 2
𝜕 𝜕𝑧
( ) = 𝑥𝑦
𝜕𝑥 𝜕𝑥
𝜕𝑧 𝑥2
= 𝑦. + 𝑓(𝑦) --- (1)
𝜕𝑥 2
𝑦 𝑥3
𝑧 = 2 [ 3 ] + 𝑥𝑓(𝑦) + 𝑔(𝑦)
𝑥3𝑦
𝑧= + 𝑥𝑓(𝑦) + 𝑔(𝑦) --- (2)
6
𝜕𝑧
By data 𝜕𝑥 = log(1 + 𝑦) when 𝑥 = 1
𝑦
(1) ⇒ log(1 + 𝑦) = 2 + 𝑓(𝑦)
𝒚
𝒇(𝒚) = 𝒍𝒐𝒈(𝟏 + 𝒚) − 𝟐
𝑥3𝑦 𝑦
(2) ⇒ 𝑧 = + 𝑥 [𝑙𝑜𝑔(1 + 𝑦) − 2] + 𝑔(𝑦)
6
𝒙𝟑 𝒚 𝒚
𝒛= + 𝒙 [𝒍𝒐𝒈(𝟏 + 𝒚) − 𝟐] , is the required solution.
𝟔
𝜕2 𝑧
Sol: Given +𝑧=0
𝜕𝑥 2
(𝐷2 + 1)𝑧 = 0
A.E : 𝑚2 + 1 = 0
𝑚2 = −1
𝑚 = ±√−1
𝒎 = ±𝒊
𝑧𝑐 = 𝑒 0.𝑥 [𝑐1 𝑐𝑜𝑠𝑥 + 𝑐2 𝑠𝑖𝑛𝑥]
The G.S is
z = 𝑧𝑐
𝜕2 𝑧
Sol: Given − 𝑎2 𝑧 = 0
𝜕𝑥 2
(𝐷2 − 𝑎2 )𝑧 = 0
A.E : 𝑚2 − 𝑎2 = 0
𝑚2 = 𝑎2
𝑚 = ±√𝑎2
𝒎 = ±𝒂
𝑧𝑐 = 𝑐1 𝑒 𝑎𝑥 + 𝑐2 𝑒 −𝑎𝑥
The G.S is
z = 𝑧𝑐
𝒛 = 𝒄𝟏 𝒆𝒂𝒙 + 𝒄𝟐 𝒆−𝒂𝒙
The solution for PDE is
𝒛 = 𝒇(𝒚)𝒆𝒂𝒙 + 𝒈(𝒚)𝒆−𝒂𝒙 --- (1)
By data, When 𝑥 = 0, 𝑧 = 0
(1) ⇒ 0 = 𝑓(𝑦)𝑒 0 + 𝑔(𝑦)𝑒 −0 [𝑒 0 = 1]
𝒔𝒊𝒏𝒚 𝒔𝒊𝒏𝒚
∴ (1) ⇒ 𝑧 = ( ) 𝑒 𝑎𝑥 + (− ) 𝑒 −𝑎𝑥
𝟐 𝟐
𝒔𝒊𝒏𝒚
𝒛= [𝒆𝒂𝒙 − 𝒆−𝒂𝒙 ] , is the solution.
𝟐
𝜕2 𝑧 𝜕𝑧
3. Solve = 𝑧 given that when 𝑦 = 0, 𝑧 = 𝑒 𝑥 and = 𝑒 −𝑥
𝜕𝑦 2 𝜕𝑦
𝜕2 𝑧
Sol: Given −𝑧 =0
𝜕𝑦 2
(𝐷2 − 1)𝑧 = 0
A.E : 𝑚2 − 1 = 0
𝑚2 = 1
𝑚 = ±√1
𝒎 = ±𝟏
𝑧𝑐 = 𝑐1 𝑒 𝑦 + 𝑐2 𝑒 −𝑦
The G.S is
z = 𝑧𝑐
𝒛 = 𝒄𝟏 𝒆𝒚 + 𝒄𝟐 𝒆−𝒚
𝜕𝑧
When 𝜕𝑦 = 𝑒 −𝑥 and 𝑦 = 0
2𝑓(𝑥) = 𝑒 𝑥 + 𝑒 −𝑥 2𝑔(𝑥) = 𝑒 𝑥 − 𝑒 −𝑥
𝒆𝒙 +𝒆−𝒙 𝒆𝒙 −𝒆−𝒙
𝑓(𝑥) = 𝑔(𝑥) =
2 2
𝜕𝑢
ii) (0, 𝑦) = 1.
𝜕𝑥
𝜕2 𝑢
Sol: Given +𝑢 =0
𝜕𝑥 2
(𝐷2 + 1)𝑢 = 0
A.E : 𝑚2 + 1 = 0
𝑚2 = −1
𝒇(𝒚) = √𝒆
Differentiate (1) w.r.t ‘𝑥’
𝝏𝒖
= −𝒇(𝒚)𝒔𝒊𝒏𝒙 + 𝒈(𝒚)𝒄𝒐𝒔𝒙 --- (2)
𝝏𝒙
𝜕𝑢
When = 1 and 𝑥 = 0
𝜕𝑥
𝜕2 𝑧
Sol: Given − 𝑎2 𝑧 = 0
𝜕𝑥 2
(𝐷2 − 𝑎2 )𝑧 = 0
A.E : 𝑚2 − 𝑎2 = 0
𝑚2 = 𝑎2
𝑚 = ±√𝑎2
𝒎 = ±𝒂
𝑧𝑐 = 𝑐1 𝑒 𝑎𝑥 + 𝑐2 𝑒 −𝑎𝑥
The G.S is
z = 𝑧𝑐
𝜕𝑧
When 𝜕𝑦 = 0 and 𝑥 = 0
0 = 𝑓 ′ (𝑦)𝑒 0 + 𝑔′ (𝑦)𝑒 −0 [𝑒 0 = 1 ]
𝑓 ′ (𝑦) + 𝑔′ (𝑦) = 0
Integrate w.r.t ‘𝑦’
𝒇(𝒚) + 𝒈(𝒚) = 𝒌 --- (3)
(3) + (2) , we get (3) - (2) , we get
𝑘+𝑠𝑖𝑛𝑦 𝑘−𝑠𝑖𝑛𝑦
∴ (1) ⇒ 𝑧 = ( ) 𝑒 𝑎𝑥 + ( ) 𝑒 −𝑎𝑥
2 2
𝑘[2𝑐𝑜𝑠ℎ𝑎𝑥]+𝑠𝑖𝑛𝑦[2𝑠𝑖𝑛ℎ𝑎𝑥]
𝑧= 2
𝜕2 𝑧
Sol: Given −𝑧 =0
𝜕𝑦 2
(𝐷2 − 1)𝑧 = 0
A.E : 𝑚2 − 1 = 0
𝑚2 = 1
𝑚 = ±√1
𝒎 = ±𝟏
𝑧𝑐 = 𝑐1 𝑒 𝑦 + 𝑐2 𝑒 −𝑦
The G.S is
z = 𝑧𝑐
𝒛 = 𝒄𝟏 𝒆𝒚 + 𝒄𝟐 𝒆−𝒚
The solution for PDE is
𝒛 = 𝒇(𝒙)𝒆𝒚 + 𝒈(𝒙)𝒆−𝒚 --- (1)
By data, When 𝑦 = 0, 𝑧 = 0
(1) ⇒ 0 = 𝑓(𝑥)𝑒 0 + 𝑔(𝑥)𝑒 −0 [𝑒 0 = 1]
0 = 𝑓(𝑥) + 𝑔(𝑥)
𝒇(𝒙) + 𝒈(𝒙) = 𝟎 --- (2)
Differentiate (1) w.r.t ‘𝑦’
𝝏𝒛
= 𝒇(𝒙)𝒆𝒚 − 𝒈(𝒙)𝒆−𝒚 --- (3)
𝝏𝒚
𝜕𝑧
When 𝜕𝑦 = 𝑠𝑖𝑛𝑥 and 𝑦 = 0
𝑠𝑖𝑛𝑥 𝑠𝑖𝑛𝑥
∴ (1) ⇒ 𝑧 = ( ) 𝑒 𝑦 + (− ) 𝑒 −𝑦
2 2
𝑒 𝑦 −𝑒 −𝑦
𝑧 = 𝑠𝑖𝑛𝑥 [ ]
2
𝜕2 𝑧 𝜕𝑧
7. Solve + 3 𝜕𝑥 − 4𝑧 = 0 𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑡ℎ𝑒 𝑐𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛 𝑧 = 1 &
𝜕𝑥 2
𝜕𝑧
= 𝑦 when 𝑥 = 0.
𝜕𝑥
𝜕2 𝑧 𝜕𝑧
Sol: Given +3 − 4𝑧 = 0
𝜕𝑥 2 𝜕𝑥
(𝐷2 + 3𝐷 − 4)𝑧 = 0
A.E : 𝑚2 + 3𝑚 − 4 = 0
𝑚2 + 4𝑚 − 𝑚 − 4 = 0
𝑚(𝑚 + 4) − 1(𝑚 + 4) = 0
(𝑚 − 1)(𝑚 + 4) = 0
𝑚 = 1, −4
𝒛𝒄 = 𝒄𝟏 𝒆𝒙 + 𝒄𝟐 𝒆−𝟒𝒙
The G.S is
z = 𝑧𝑐
𝒛 = 𝒄𝟏 𝒆𝒙 + 𝒄𝟐 𝒆−𝟒𝒙
The solution for PDE is
𝒛 = 𝒇(𝒚)𝒆𝒙 + 𝒈(𝒚)𝒆−𝟒𝒙 --- (1)
By data, When 𝑥 = 0, 𝑧 = 1
(1) ⇒ 1 = 𝑓(𝑦)𝑒 0 + 𝑔(𝑦)𝑒 −0 [𝑒 0 = 1]
1 = 𝑓(𝑦) + 𝑔(𝑦)
𝒇(𝒚) + 𝒈(𝒚) = 𝟏 --- (2)
Differentiate (1) w.r.t ‘𝑥’
𝝏𝒛
= 𝒇(𝒚)𝒆𝒙 − 𝟒𝒈(𝒚)𝒆−𝟒𝒙 --- (3)
𝝏𝒙
𝜕𝑧
When 𝜕𝑥 = 𝑦 and 𝑥 = 0
(3) ⇒ 𝑦 = 𝑓(𝑦)𝑒 0 − 4𝑔(𝑦)𝑒 −0 [𝑒 0 = 1 ]
𝑦 = 𝑓(𝑦) − 4𝑔(𝑦)
5𝑓(𝑦) = 4 + 𝑦 5𝑔(𝑦) = 1 − 𝑦
𝟒+𝒚 𝟏−𝒚
𝒇(𝒚) = 𝒈(𝒚) =
𝟓 𝟓
𝟒+𝒚 𝟏−𝒚
∴ (1) ⇒ 𝒛 = ( ) 𝒆𝒙 + ( ) 𝒆−𝟒𝒙 , is the solution.
𝟓 𝟓
𝜕2 𝑢 𝜕𝑢 𝜕𝑢
8. Solve = 𝜕𝑥 , using the substitution 𝜕𝑥 = 𝑣.
𝜕𝑥𝜕𝑦
𝜕2 𝑢 𝜕𝑢
Sol: Given = 𝜕𝑥
𝜕𝑥𝜕𝑦
𝜕 𝜕𝑢 𝜕𝑢
[ ] = 𝜕𝑥 --- (1)
𝜕𝑦 𝜕𝑥
𝜕𝑢
Let =𝑣
𝜕𝑥
𝜕𝑣
(1) ⇒ =𝑣
𝜕𝑦
𝜕𝑣
−𝑣 =0
𝜕𝑦
(𝐷 − 1)𝑣 = 0
A.E: 𝑚 − 1 = 0
𝑚=1
The solution is 𝑣 = 𝑐1 𝑒 𝑦
𝜕𝑢
Now, = 𝑓(𝑥)𝑒 𝑦
𝜕𝑥
𝑑𝑥 𝑑𝑦 𝑑𝑧
= = 𝑥𝑦
𝑦𝑧 𝑥𝑧
Comparing,
𝑑𝑥 𝑑𝑦 𝑑𝑦 𝑑𝑧
= = 𝑥𝑦
𝑦𝑧 𝑥𝑧 𝑥𝑧
𝑑𝑥 𝑑𝑦 𝑑𝑦 𝑑𝑧
= =
𝑦 𝑥 𝑧 𝑦
Integrating Integrating
∫ 𝑥 𝑑𝑥 = ∫ 𝑦 𝑑𝑦 ∫ 𝑦 𝑑𝑦 = ∫ 𝑧 𝑑𝑧
𝑥2 𝑦2 𝑦2 𝑧2
= + 𝑐1 = + 𝑐2
2 2 2 2
𝑥 2 = 𝑦 2 + 2𝑐1 𝑦 2 = 𝑧 2 + 2𝑐2
𝑥 2 − 𝑦 2 = 𝑘1 𝑦 2 − 𝑧 2 = 𝑘2
Thus the solution is, 𝜑(𝑢, 𝑣) = 0
𝝋 ((𝒙𝟐 − 𝒚𝟐 ), (𝒚𝟐 − 𝒛𝟐 )) = 𝟎.
𝑑𝑥 𝑑𝑦 𝑑𝑧
= = 𝑥𝑦
𝑥𝑧 𝑦𝑧
Comparing,
𝑑𝑥 𝑑𝑦
=
𝑥𝑧 𝑦𝑧
𝑑𝑥 𝑑𝑦
=
𝑥 𝑦
Integrating
𝑑𝑥 𝑑𝑦
∫ =∫
𝑥 𝑦
𝑦 𝑑𝑥+𝑥 𝑑𝑦−2𝑧 𝑑𝑧
k= 0
y 𝑑𝑥 + 𝑥 𝑑𝑦 − 2𝑧 𝑑𝑧 = 0
𝑑(𝑥𝑦) − 2𝑧𝑑𝑧 = 0
Integrating
𝒙𝒚 − 𝒛𝟐 = 𝒄𝟐
Thus the solution is, 𝜑(𝑢, 𝑣) = 0
𝒙
𝝋 ((𝒚) , (𝒙𝒚 − 𝒛𝟐 )) = 𝟎.
𝑑𝑥 𝑑𝑦 𝑑𝑧
= −𝑥𝑦 = 𝑥(𝑧−2𝑦)
𝑦2
Comparing,
𝑑𝑥 −𝑑𝑦 𝑑𝑦 𝑑𝑧
= = 𝑥(𝑧−2𝑦)
𝑦2 𝑥𝑦 −𝑥𝑦
𝑑𝑥 −𝑑𝑦 𝑑𝑦 𝑑𝑧
= = (𝑧−2𝑦)
𝑦 𝑥 −𝑦
𝑑𝑦 𝑑𝑧
𝑥 𝑑𝑥 = −𝑦 𝑑𝑦 − = (𝑧−2𝑦)
𝑦
∫ 𝑥 𝑑𝑥 = − ∫ 𝑦 𝑑𝑦 (𝑧 − 2𝑦)𝑑𝑦 + 𝑦𝑑𝑧 = 0
𝑥2 𝑦2
=− + 𝑐1 𝑧𝑑𝑦 − 2𝑦𝑑𝑦 + 𝑦𝑑𝑧 = 0
2 2
𝝋 ((𝒙𝟐 + 𝒚𝟐 ), (𝒚𝒛 − 𝒚𝟐 )) = 𝟎.
4. Solve 𝑥 𝑝 + 𝑦𝑞 = 3𝑧
Sol: Given (𝑥)𝑝 + (𝑦)𝑞 = 3𝑧
⟨𝑃𝑝 + 𝑄𝑞 = 𝑅 ⟩
Here 𝑃=𝑥 Q=𝑦 R = 3𝑧
Auxilary equations
𝑑𝑥 𝑑𝑦 𝑑𝑧
= =
𝑃 𝑄 𝑅
Comparing,
𝑑𝑥 𝑑𝑦 𝑑𝑦 𝑑𝑧
= = 3𝑧
𝑥 𝑦 𝑦
Integrating Integrating
𝑑𝑥 𝑑𝑦 𝑑𝑦 𝑑𝑧
∫ =∫ 3∫ =∫
𝑥 𝑦 𝑦 𝑧
𝒙 𝒚𝟑
𝝋 ((𝒚) , ( 𝒛 )) = 𝟎.
𝑦2𝑧
5. Solve 𝑝 + 𝑥𝑧𝑞 = 𝑦 2
𝑥
𝑦2𝑧
Sol: Given ( ) 𝑝 + (𝑥𝑧)𝑞 = 𝑦 2
𝑥
Multiply by ′𝑥′
(𝑦 2 𝑧)𝑝 + (𝑥 2 𝑧)𝑞 = 𝑥𝑦 2
⟨𝑃𝑝 + 𝑄𝑞 = 𝑅 ⟩
Here 𝑃 = 𝑦2𝑧 Q = 𝑥2𝑧 R = 𝑥𝑦 2
Auxilary equations
𝑑𝑥 𝑑𝑦 𝑑𝑧
= =
𝑃 𝑄 𝑅
𝑑𝑥 𝑑𝑦 𝑑𝑧
= 𝑥 2 𝑧 = 𝑥𝑦 2
𝑦2𝑧
Comparing,
𝑑𝑥 𝑑𝑦 𝑑𝑥 𝑑𝑧
= 𝑥2𝑧 = 𝑥𝑦 2
𝑦2𝑧 𝑦2𝑧
𝑑𝑥 𝑑𝑦 𝑑𝑥 𝑑𝑧
= =
𝑦2 𝑥2 𝑧 𝑥
Integrating Integrating
∫ 𝑥 2 𝑑𝑥 = ∫ 𝑦 2 𝑑𝑦 ∫ 𝑥 𝑑𝑥 = ∫ 𝑧 𝑑𝑧
𝑥 2 = 𝑦 2 + 3𝑐1 𝑥 2 = 𝑧 2 + 2𝑐2
𝑥 3 − 𝑦 3 = 𝑘1 𝑥 2 − 𝑧 2 = 𝑘2
Thus the solution is, 𝜑(𝑢, 𝑣) = 0
𝝋 ((𝒙𝟑 − 𝒚𝟑 ), (𝒙𝟐 − 𝒛𝟐 )) = 𝟎.
𝜕𝑧 𝜕𝑧
6. Solve (𝑚𝑧 − 𝑛𝑦) 𝜕𝑥 + (𝑛𝑥 − 𝑙𝑧) 𝜕𝑦 = 𝑙𝑦 − 𝑚𝑥
𝑑𝑥 𝑑𝑦 𝑑𝑧
(𝑚𝑧−𝑛𝑦)
= (𝑛𝑥−𝑙𝑧) = (𝑙𝑦−𝑚𝑥)
𝑥 𝑑𝑥+𝑦 𝑑𝑦+𝑧 𝑑𝑧
k = 𝑥𝑚𝑧−𝑥𝑛𝑦+𝑦𝑛𝑥−𝑦𝑙𝑧+𝑧𝑙𝑦−𝑧𝑚𝑥
𝑥 𝑑𝑥+𝑦 𝑑𝑦+𝑧 𝑑𝑧
k= 0
𝑥 𝑑𝑥 + 𝑦 𝑑𝑦 + 𝑧 𝑑𝑧 = 0
Integrate
∫ 𝑥 𝑑𝑥 + ∫ 𝑦 𝑑𝑦 + ∫ 𝑧 𝑑𝑧 = 0
𝑥2 𝑦2 𝑧2
+ + = 𝑐1
2 2 2
𝑥 2 + 𝑦 2 + 𝑧 2 = 2𝑐1
𝒙𝟐 + 𝒚𝟐 + 𝒛𝟐 = 𝒌𝟏
Let the multipliers be 𝑙, 𝑚, 𝑛
𝑙 𝑑𝑥+𝑚 𝑑𝑦+𝑛 𝑑𝑧
∴ Each fraction = 𝑙(𝑚𝑧−𝑛𝑦)+𝑚(𝑛𝑥−𝑙𝑧)+𝑛(𝑙𝑦−𝑚𝑥)
𝑙 𝑑𝑥+𝑚 𝑑𝑦+𝑛 𝑑𝑧
k = 𝑙𝑚𝑧−𝑙𝑛𝑦+𝑚𝑛𝑥−𝑚𝑙𝑧+𝑛𝑙𝑦−𝑛𝑚𝑥
𝑙 𝑑𝑥+𝑚 𝑑𝑦+𝑛 𝑑𝑧
k= 0
∫ 𝑙 𝑑𝑥 + ∫ 𝑚 𝑑𝑦 + ∫ 𝑛 𝑑𝑧 = 0
𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 𝑐2
Thus the solution is, 𝜑(𝑢, 𝑣) = 0
𝒙𝟐 + 𝒚𝟐 + 𝒛𝟐 = 𝒇(𝒍𝒙 + 𝒎𝒚 + 𝒏𝒛)
7. Solve 𝑥 2 (𝑦 − 𝑧)𝑝 + 𝑦 2 (𝑧 − 𝑥)𝑞 = 𝑧 2 (𝑥 − 𝑦)
Sol: Given 𝑥 2 (𝑦 − 𝑧 )𝑝 + 𝑦 2 (𝑧 − 𝑥 )𝑞 = 𝑧 2 (𝑥 − 𝑦 )
⟨𝑃𝑝 + 𝑄𝑞 = 𝑅 ⟩
Here 𝑃 = 𝑥 2 (𝑦 − 𝑧) Q = 𝑦 2 (𝑧 − 𝑥) R = 𝑧 2 (𝑥 − 𝑦)
Auxilary equations
𝑑𝑥 𝑑𝑦 𝑑𝑧
= =
𝑃 𝑄 𝑅
𝑑𝑥 𝑑𝑦 𝑑𝑧
= 𝑦 2 (𝑧−𝑥) = 𝑧 2 (𝑥−𝑦)
𝑥 2 (𝑦−𝑧)
1 1 1
Let the multipliers be 𝑥 2 , 𝑦 2 , 𝑧 2
1 1 1
𝑑𝑥+ 2 𝑑𝑦+ 2 𝑑𝑧
𝑥2 𝑦 𝑧
∴ Each fraction = 𝑦−𝑧+𝑧−𝑥+𝑥−𝑦
1 1 1
𝑑𝑥+ 2 𝑑𝑦+ 2 𝑑𝑧
𝑥2 𝑦 𝑧
k= 0
1 1 1
𝑑𝑥 + 𝑦 2 𝑑𝑦 + 𝑧 2 𝑑𝑧 = 0
𝑥2
Integrating
1 1 1
∫ 𝑥 2 𝑑𝑥 + ∫ 𝑦 2 𝑑𝑥 + ∫ 𝑧 2 𝑑𝑥 = 0
1 1 1
− 𝑥 − 𝑦 − 𝑧 = 𝑐1
1 1 1
+ 𝑦 + 𝑧 = −𝑐1
𝑥
𝟏 𝟏 𝟏
+ 𝒚 + 𝒛 = 𝒌𝟏
𝒙
1 1 1
Let the multipliers be , ,
𝑥 𝑦 𝑧
Integrating
1 1 1
∫ 𝑥 𝑑𝑥 + ∫ 𝑦 𝑑𝑥 + ∫ 𝑧 𝑑𝑥 = 0
𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
𝝋 ((𝒙 + 𝒚 + 𝒛 ) , (𝒙𝒚𝒛)) = 𝟎 OR + 𝒚 + 𝒛 = 𝒇(𝒙𝒚𝒛)
𝒙
𝑑𝑥 𝑑𝑦 𝑑𝑧
(𝑥 2 −𝑦 2 −𝑧 2 )
= 2𝑥𝑦 = 2𝑥𝑧
Comparing
𝑑𝑦 𝑑𝑧
= 2𝑥𝑧
2𝑥𝑦
𝑑𝑦 𝑑𝑧
=
𝑦 𝑧
Integrating
𝑑𝑦 𝑑𝑧
∫ =∫
𝑦 𝑧
𝑥 𝑑𝑥+𝑦 𝑑𝑦+𝑧 𝑑𝑧
k = 𝑥(𝑥 2 −𝑦 2−𝑧 2 +2𝑦 2 +2𝑧 2 )
𝑥 𝑑𝑥+𝑦 𝑑𝑦+𝑧 𝑑𝑧
k= 𝑥(𝑥 2 +𝑦 2 +𝑧 2 )
Comparing
𝑥 𝑑𝑥+𝑦 𝑑𝑦+𝑧 𝑑𝑧 𝑑𝑦
= 2𝑥𝑦
𝑥(𝑥 2 +𝑦2 +𝑧 2 )
𝑥 𝑑𝑥+𝑦 𝑑𝑦+𝑧 𝑑𝑧 𝑑𝑦
(𝑥 2 +𝑦 2 +𝑧 2 )
= 2𝑦
2𝑥 𝑑𝑥+2𝑦 𝑑𝑦+2𝑧 𝑑𝑧 𝑑𝑦
(𝑥 2 +𝑦 2 +𝑧 2 )
= 𝑦
Integrating
2𝑥 𝑑𝑥+2𝑦 𝑑𝑦+2𝑧 𝑑𝑧 𝑑𝑦
∫ (𝑥 2 +𝑦 2 +𝑧 2 )
=∫ 𝑦
9. Solve (𝑦 2 + 𝑧 2 )𝑝 + 𝑥(𝑦𝑞 − 𝑧) = 0
Sol: Given (𝑦 2 + 𝑧 2 )𝑝 + 𝑥𝑦𝑞 = 𝑥𝑧
⟨𝑃𝑝 + 𝑄𝑞 = 𝑅 ⟩
Here 𝑃 = (𝑦 2 + 𝑧 2 ) Q = 𝑥𝑦 R = 𝑥𝑧
Auxilary equations
𝑑𝑥 𝑑𝑦 𝑑𝑧
= =
𝑃 𝑄 𝑅
𝑑𝑥 𝑑𝑦 𝑑𝑧
(𝑦 2 +𝑧 2 )
= 𝑥𝑦 = 𝑥𝑧
𝑑𝑦 𝑑𝑧
=
𝑦 𝑧
Integrating
𝑑𝑦 𝑑𝑧
∫ =∫
𝑦 𝑧
𝑥 𝑑𝑥−𝑦 𝑑𝑦−𝑧 𝑑𝑧
k = 𝑥(𝑦 2 +𝑧 2 −𝑦 2−𝑧 2 )
𝑥 𝑑𝑥−𝑦 𝑑𝑦−𝑧 𝑑𝑧
k= 0
𝑥 𝑑𝑥 − 𝑦 𝑑𝑦 − 𝑧 𝑑𝑧 = 0
Integrating
∫ 𝑥 𝑑𝑥 − ∫ 𝑦 𝑑𝑦 − ∫ 𝑧 𝑑𝑧 = 0
𝑥2 𝑦2 𝑧2
− − = 𝑐2
2 2 2
𝑥 2 − 𝑦 2 − 𝑧 2 = 2𝑐2
𝒙𝟐 − 𝒚𝟐 − 𝒛𝟐 = 𝒌𝟐
Thus the solution is, 𝜑(𝑢, 𝑣) = 0
𝒚 𝒚
𝝋 ((𝒛 ) , (𝒙𝟐 − 𝒚𝟐 − 𝒛𝟐 )) = 𝟎 OR = 𝒇(𝒙𝟐 − 𝒚𝟐 − 𝒛𝟐 )
𝒛
𝑑𝑥 𝑑𝑦 𝑑𝑧
= −𝑦(𝑥 2 +𝑧) = 𝑧(𝑥 2 −𝑦 2 )
𝑥(𝑦 2 +𝑧)
1 1 1
Let the multipliers be , ,
𝑥 𝑦 𝑧
1 1 1
𝑑𝑥+ 𝑑𝑦+ 𝑑𝑧
𝑥 𝑦 𝑧
Each fraction = 𝑦 2 +𝑧−𝑥 2 −𝑧+𝑥 2 −𝑦2
1 1 1
𝑑𝑥+ 𝑑𝑦+ 𝑑𝑧
𝑥 𝑦 𝑧
k= 0
1 1 1
𝑑𝑥 + 𝑦 𝑑𝑦 + 𝑧 𝑑𝑧 = 0
𝑥
Integrating
1 1 1
∫ 𝑥 𝑑𝑥 + ∫ 𝑦 𝑑𝑥 + ∫ 𝑧 𝑑𝑥 = 0
𝑥𝑑𝑥+𝑦𝑑𝑦−𝑑𝑧
k=
0
𝑥𝑑𝑥 + 𝑦𝑑𝑦 − 𝑑𝑧 = 0
Integrate
∫ 𝑥 𝑑𝑥 + ∫ 𝑦 𝑑𝑦 − ∫ 𝑑𝑧 = 0
𝑥2 𝑦2
+ − 𝑧 = 𝑐2
2 2
𝑥 2 + 𝑦 2 − 2𝑧 = 2𝑐2
𝒙𝟐 + 𝒚𝟐 − 𝟐𝒛 = 𝒌𝟐
Thus the solution is, 𝜑(𝑢, 𝑣) = 0
𝝋 ((𝒙𝒚𝒛), (𝒙𝟐 + 𝒚𝟐 − 𝟐𝒛)) = 𝟎 OR 𝒙𝒚𝒛 = 𝒇(𝒙𝟐 + 𝒚𝟐 − 𝟐𝒛)
𝜕𝑧 𝜕𝑧
11. Solve 𝑥 2 𝜕𝑥 − 𝑦 2 𝜕𝑦 = (𝑥 − 𝑦)𝑧
𝑑𝑥 𝑑𝑦 𝑑𝑧
= −𝑦 2 = (𝑥−𝑦)𝑧
𝑥2
Comparing
𝑑𝑥 𝑑𝑦
= −𝑦 2
𝑥2
Integrating
𝑑𝑥 𝑑𝑦
∫ 𝑥2 = − ∫ 𝑦2
1 1
− = + 𝑐1
𝑥 𝑦
1 1
+ 𝑦 = −𝑐1
𝑥
𝟏 𝟏
+ 𝒚 = 𝒌𝟏
𝒙
𝑑𝑥+𝑑𝑦 𝑑𝑧
(𝑥+𝑦)(𝑥−𝑦)
= (𝑥−𝑦)𝑧
𝑑𝑥+𝑑𝑦 𝑑𝑧
(𝑥+𝑦)
= 𝑧
Integrating we get
log(𝑥 + 𝑦) = 𝑙𝑜𝑔𝑧 + 𝑙𝑜𝑔(𝑐2 )
log(𝑥 + 𝑦) = 𝑙𝑜𝑔(𝑧𝑐2 )
(𝑥 + 𝑦) = 𝑧𝑐2
(𝒙+𝒚)
= 𝒄𝟐
𝒛
1 𝑇1 1 𝑇
= , = 𝑇2--- (1)
𝑐𝑜𝑠𝛼 𝑇 𝑐𝑜𝑠𝛽
Vertical component of tension are −𝑇1 𝑠𝑖𝑛𝛼 and 𝑇2 𝑠𝑖𝑛𝛽 , where the −𝑣𝑒 𝑠𝑖𝑔𝑛 is used
because 𝑇1 is directed downwards.
Thus, Resultant force 𝐹 = 𝑇2 𝑠𝑖𝑛𝛽 − 𝑇1 𝑠𝑖𝑛𝛼
Applying Newton’s second law of motion,
𝐹 = 𝑚𝑎𝑠𝑠 ∗ 𝑎𝑐𝑐𝑒𝑙𝑒𝑟𝑎𝑖𝑜𝑛
𝜕2 𝑢
𝑇2 𝑠𝑖𝑛𝛽 − 𝑇1 𝑠𝑖𝑛𝛼 = 𝜌𝛿𝑥 ∗ 𝜕𝑡 2 [density=mass/length ]
Divide throughout by 𝑇
1 1 𝜌𝛿𝑥 𝜕2 𝑢
. 𝑠𝑖𝑛𝛽 − 𝑐𝑜𝑠𝛼 . 𝑠𝑖𝑛𝛼 = ∗ 𝜕𝑡 2 [From (1) ]
𝑐𝑜𝑠𝛽 𝑇
𝜌 𝜕2 𝑢
𝑡𝑎𝑛𝛽 − 𝑡𝑎𝑛𝛼 = 𝑇 . 𝛿𝑥. 𝜕𝑡 2
𝜕𝑢 𝜕𝑢 𝜌 𝜕2 𝑢
(𝜕𝑥 ) − (𝜕𝑥 ) = 𝑇 . 𝛿𝑥. 𝜕𝑡 2
𝑥+𝛿𝑥 𝑥
𝜕𝑢 𝜕𝑢
( ) −( ) 𝜌 𝜕2 𝑢
𝜕𝑥 𝑥+𝛿𝑥 𝜕𝑥 𝑥
= 𝑇 . 𝜕𝑡 2
𝛿𝑥
𝜕𝑢 𝜕𝑢
( ) −( ) 𝜌 𝜕2 𝑢
𝜕𝑥 𝑥+𝛿𝑥 𝜕𝑥 𝑥
lim = lim 𝑇 . 𝜕𝑡 2
𝑥→0 𝛿𝑥 𝑥→0
𝜕 𝜕𝑢 𝜌 𝜕2 𝑢
( ) = 𝑇 . 𝜕𝑡 2
𝜕𝑥 𝜕𝑥
𝜕2 𝑢 𝜌 𝜕2 𝑢
= .
𝜕𝑥 2 𝑇 𝜕𝑡 2
𝜕2 𝑢 𝑇 𝜕2 𝑢
= 𝜌 . 𝜕𝑥 2
𝜕𝑡 2
𝝏𝟐 𝒖 𝝏𝟐 𝒖 𝑇
= 𝒄𝟐 𝝏𝒙𝟐 [𝑐 2 = 𝜌]
𝝏𝒕𝟐
OR
𝒖𝒕𝒕 = 𝒄𝟐 𝒖𝒙𝒙
𝜕𝑢 𝜕𝑢 𝜕𝑢
(𝐴𝜌𝑠𝛿𝑥) 𝜕𝑡 = 𝑘𝐴 [[𝜕𝑥 ] − [𝜕𝑥 ] ] [ Divide by 𝐴]
𝑥+𝛿𝑥 𝑥
𝜕𝑢 𝜕𝑢
𝜕𝑢 [[ ] −[ ] ]
𝜕𝑥 𝑥+𝛿𝑥 𝜕𝑥 𝑥
𝜌𝑠 𝜕𝑡 = 𝑘 𝛿𝑥
𝜕𝑢 𝜕𝑢
𝜕𝑢 [[ ] −[ ] ]
𝜕𝑥 𝑥+𝛿𝑥 𝜕𝑥 𝑥
lim𝜌𝑠 𝜕𝑡 = lim𝑘
𝑥→0 𝑥→0 𝛿𝑥
𝜕𝑢 𝜕 𝜕𝑢
𝜌𝑠 𝜕𝑡 = 𝑘 𝜕𝑥 (𝜕𝑥 )
𝜕𝑢 𝑘 𝜕2 𝑢
= 𝜌𝑠 𝜕𝑥 2
𝜕𝑡
𝝏𝒖 𝝏𝟐 𝒖 𝑘
= 𝒄𝟐 𝝏𝒙𝟐 [𝑐 2 = 𝜌𝑠]
𝝏𝒕
OR
𝒖𝒕 = 𝒄𝟐 𝒖𝒙𝒙
Various possible solutions of the one dimensional wave equation [𝑢𝑡𝑡 = 𝑐 2 𝑢𝑥𝑥 ] by method of
separation of variables
Consider, 𝑢𝑡𝑡 = 𝑐 2 𝑢𝑥𝑥
𝜕2 𝑢 𝜕2 𝑢
= 𝑐 2 𝜕𝑥 2
𝜕𝑡 2
Let 𝑢 = 𝑋𝑇 --- (*) where 𝑋 = 𝑋(𝑥) , 𝑇 = 𝑇(𝑡) be the solution of above equation.
𝜕2 (𝑋𝑇) 𝜕2 (𝑋𝑇)
= 𝑐2
𝜕𝑡 2 𝜕𝑥 2
𝜕2 𝑇 𝜕2 𝑋
𝑋 𝜕𝑡 2 = 𝑐 2 𝑇 𝜕𝑥 2
1 𝜕2 𝑋 1 𝜕2 𝑇
=𝑘 =𝑘
𝑋 𝜕𝑥 2 𝑐2𝑇 𝜕𝑡 2
𝜕2 𝑋 𝜕2 𝑇
= 𝑘𝑋 = 𝑘𝑐 2 𝑇
𝜕𝑥 2 𝜕𝑡 2
𝜕2 𝑋 𝜕2 𝑇
− 𝑘𝑋 = 0 − 𝑘𝑐 2 𝑇 = 0
𝜕𝑥 2 𝜕𝑡 2
Let 𝑢 = 𝑋𝑇 --- (*) where 𝑋 = 𝑋(𝑥) , 𝑇 = 𝑇(𝑡) be the solution of above equation.
𝜕(𝑋𝑇) 𝜕2 (𝑋𝑇)
= 𝑐2
𝜕𝑡 𝜕𝑥 2
𝜕𝑇 𝜕2 𝑋
𝑋 𝜕𝑡 = 𝑐 2 𝑇 𝜕𝑥 2
1 𝜕2 𝑋 1 𝜕𝑇
=𝑘 =𝑘
𝑋 𝜕𝑥 2 𝑐2𝑇 𝜕𝑡
𝜕2 𝑋 𝜕𝑇
= 𝑘𝑋 = 𝑘𝑐 2 𝑇
𝜕𝑥 2 𝜕𝑡
𝜕2 𝑋 𝜕𝑇
− 𝑘𝑋 = 0 − 𝑘𝑐 2 𝑇 = 0
𝜕𝑥 2 𝜕𝑡
(𝐷2 − 𝑘)𝑋 = 0 (𝐷 − 𝑘𝑐 2 )𝑇 = 0
A.E :
𝑚2 − 𝑘 = 0 𝑚 − 𝑘𝑐 2 = 0
𝑚2 = 𝑘 --- (1) 𝑚 = 𝑘𝑐 2 --- (2)
Case-1: When 𝑘 = 𝑝2 , 𝑘 is positive
(1) ⇒ 𝑚2 = 𝑝2 (2) ⇒ 𝑚 = 𝑝2 𝑐 2
𝑚 = ±𝑝 𝒎 = 𝒑𝟐 𝒄𝟐
𝒎 = 𝒑, −𝒑
The solution is,
𝑋 = 𝑋𝑐 𝑇 = 𝑇𝑐
𝟐 𝒄𝟐 𝒕
𝑿 = 𝒄𝟏 𝒆𝒑𝒙 + 𝒄𝟐 𝒆−𝒑𝒙 𝑻 = 𝒄′𝟏 𝒆𝒑
Problems
1. Using the method of false position find the real root correct to 3 decimal places of the
equation 𝑥 3 + 5𝑥 − 11 = 0.
Sol: Given 𝑓(𝑥) = 𝑥 3 + 5𝑥 − 11
𝑓(0) = −11
𝑓(1) = −5 < 0
𝑓(2) = 7 > 0
The root lies between (1,2).
7+10
𝑥1 = 7+5
𝒙𝟏 = 𝟏. 𝟒𝟏𝟕
𝑓(1.417) = −1.070 < 0
𝑓(2) = 7 > 0
The root lies between (1.417,2).
Step-2: a = 1.417 b=2
𝑓(𝑎) = −1.070 𝑓(𝑏) = 7
(1.417).(7)−2.(−1.070)
𝑥2 = (7)−(−1.070)
𝒙𝟐 = 𝟏. 𝟒𝟗𝟒
𝑓(1.494) = −0.195 < 0
𝑓(2) = 7 > 0
The root lies between (1.417,2).
Step-3: a = 1.494 b=2
𝑓(𝑎) = −0.195 𝑓(𝑏) = 7
(1.494)(7)−2(−0.195)
𝑥3 = (7)−(−0.195)
𝒙𝟑 = 𝟏. 𝟓𝟎𝟖
𝑓(1.508) = −0.031 < 0
𝑓(2) = 7 > 0
The root lies between (1.508,2).
Step-4: a = 1.508 b=2
𝑓(𝑎) = −0.031 𝑓(𝑏) = 7
(1.508)(7)−2(−0.031)
𝑥4 = (7)−(−0.031)
𝒙𝟒 = 𝟏. 𝟓𝟏𝟎
𝒙𝟓 = 𝟏. 𝟓𝟏𝟎
∴ The real root is 1.510
2. Using the method of false position find the real root correct to 3 decimal places of the
equation 𝑥 3 − 5𝑥 − 7 = 0.
Sol: Given 𝑓(𝑥) = 𝑥 3 − 5𝑥 − 7
𝑓(0) = −7
𝑓(1) = −1
𝑓(2) = −9 < 0
𝑓(3) = 5 > 0
The root lies between (2,3).
Wkt,
𝑎𝑓(𝑏)−𝑏𝑓(𝑎)
𝑥𝑛 = 𝑓(𝑏)−𝑓(𝑎)
𝒙𝟏 = 𝟐. 𝟔𝟒𝟑
𝑓(2.643) = −1.752 < 0
𝑓(3) = 5 > 0
The root lies between (2.643,3).
Step-2: a = 2.643 b=3
𝑓(𝑎) = −1.752 𝑓(𝑏) = 5
(2.643)(5)−3.(−1.752)
𝑥2 = (5)−(−1.752)
𝒙𝟐 = 𝟐. 𝟕𝟑𝟔
𝒙𝟑 = 𝟐. 𝟕𝟒𝟔
𝑓(2.746) = −0.024 < 0
𝑓(3) = 5 > 0
The root lies between (2.746,3).
Step-4: a = 2.746 b=3
𝑓(𝑎) = −0.024 𝑓(𝑏) = 5
(2.746)(5)−3.(−0.024)
𝑥4 = (5)−(−0.024)
𝒙𝟒 = 𝟐. 𝟕𝟒𝟕
𝑓(2.747) = −0.006 < 0
𝑓(3) = 5 > 0
The root lies between (2.747,3).
Step-5: a = 2.747 b=3
𝑓(𝑎) = −0.006 𝑓(𝑏) = 5
(2.747)(5)−3.(−0.006)
𝑥5 = (5)−(−0.006)
𝒙𝟓 = 𝟐. 𝟕𝟒𝟕
∴ The real root is 2.747.
3. Find the real root of the equation 𝑥 log10 𝑥 = 1.2 by Regula falsi method.
Carry out 3 iterations.
Sol: Given 𝑓(𝑥) = 𝑥 log10 𝑥 − 1.2
𝑓(1) = −1.2 < 0
𝑓(2) = −0.5979 < 0
𝑓(3) = 0.2314 > 0
The root lies between (2,3).
Wkt,
𝒙𝟏 = 𝟐. 𝟕𝟐𝟏𝟎
𝑓(2.7210) = −0.0171 < 0
𝑓(3) = 0.2314 > 0
The root lies between (2.7210,3).
Step-2: a = 2.7210 b=3
𝑓(𝑎) = −0.0171 𝑓(𝑏) = 0.2314
(2.7210)(0.2314 )−3(−0.0171)
𝑥2 = (0.2314)−(−0.0171)
𝒙𝟐 = 𝟐. 𝟕𝟒𝟎𝟐
𝑓(2.7402) = −0.0004 < 0
𝑓(3) = 0.2314 > 0
The root lies between (2.7402,3).
Step-3: a = 2.7402 b=3
𝑓(𝑎) = −0.0004 𝑓(𝑏) = 0.2314
(2.7402)(0.2314 )−3(−0.0004)
𝑥3 = (0.2314)−(−0.0004)
𝒙𝟑 = 𝟐. 𝟕𝟒𝟎6
∴ The real root is 2.7406.
4. Find the real root of the equation 𝑐𝑜𝑠𝑥 = 3𝑥 − 1 upto 3 decimal places using RF method.
Sol: Given 𝑓(𝑥) = 𝑐𝑜𝑠𝑥 − 3𝑥 + 1
𝑓(0) = 2 > 0
𝑓(1) = −1.460 < 0
The root lies between (0,1).
Wkt,
𝑎𝑓(𝑏)−𝑏𝑓(𝑎)
𝑥𝑛 = 𝑓(𝑏)−𝑓(𝑎)
𝒙𝟏 = 𝟎. 𝟓𝟕𝟖
𝑓(0.578) = 0.104 > 0
𝑓(1) = −1.460 < 0
The root lies between (0.578,1).
Step-2: 𝑎 = 0.578 b=1
𝑓(𝑎) = 0.104 𝑓(𝑏) = −1.460
(0.578)(−1.460 )−1(0.104)
𝑥2 = (−1.460)−(0.104)
𝒙𝟐 = 𝟎. 𝟔𝟎𝟔
𝑓(0.606) = 0. 004 > 0
𝑓(1) = −1.460 < 0
The root lies between (0.606,1).
Step-3: 𝑎 = 0.606 b=1
𝑓(𝑎) = 0.004 𝑓(𝑏) = −1.460
(0.606)(−1.460 )−1(0.004)
𝑥3 = (−1.460)−(0.004)
𝒙𝟑 = 𝟎. 𝟔𝟎𝟕
𝑓(0.607) = 0
∴ The real root is 0.607.
5. Find the real root of the equation 𝑥𝑒 𝑥 = 2 upto three decimal places using RF
method. Carryout 4 iterations.
Sol: Given 𝑓(𝑥) = 𝑥𝑒 𝑥 − 2
𝑓(0) = −2 < 0
𝑓(1) = 0.718 > 0
The root lies between (0,1).
Wkt,
𝑎𝑓(𝑏)−𝑏𝑓(𝑎)
𝑥𝑛 = 𝑓(𝑏)−𝑓(𝑎)
Step-1: 𝑎=0 𝑏=1
𝑓(𝑎) = −2 𝑓(𝑏) = 0.718
0(0.718)−1(−2)
𝑥1 = (0.718)−(−2)
𝒙𝟏 = 𝟎. 𝟕𝟑𝟔
𝒙𝟏 = 𝟎. 𝟑𝟏𝟒𝟕
𝑓(0.3147) = −0.5198 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.3147,1).
Step-2: 𝑎 = 0.3147 𝑏=1
𝑓(𝑎) = −0.5198 𝑓(𝑏) = 2.1780
𝒙𝟐 = 𝟎. 𝟒𝟒𝟔𝟕
𝑓(0.4467) = −0.2036 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.4467,1).
Step-3: 𝑎 = 0.4467 𝑏=1
𝑓(𝑎) = −0.2036 𝑓(𝑏) = 2.1780
(0.4467)(2.1780)−1(−0.2036)
𝑥3 = (2.1780)−(−0.2036)
𝒙𝟑 = 𝟎. 𝟒𝟗𝟒𝟎
𝑓(0.4940) = −0.0708 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.4940,1).
Step-4: 𝑎 = 0.4940 𝑏=1
𝑓(𝑎) = −0.0708 𝑓(𝑏) = 2.1780
(0.4940)(2.1780)−1(−0.0708)
𝑥4 = (2.1780)−(−0.0708)
𝒙𝟒 = 𝟎. 𝟓𝟎𝟗𝟗
𝑓(0.5099) = −0.0237 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.5099,1).
Step-5: 𝑎 = 0.5099 𝑏=1
𝑓(𝑎) = −0.0237 𝑓(𝑏) = 2.1780
(0.5099)(2.1780)−1(−0.0237)
𝑥5 = (2.1780)−(−0.0237)
𝒙𝟓 = 𝟎. 𝟓𝟏𝟓𝟐
𝑓(0.5152) = −0.0078 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.5152,1).
Step-6: 𝑎 = 0.5152 𝑏=1
𝑓(𝑎) = −0.0078 𝑓(𝑏) = 2.1780
(0.5152)(2.1780)−1(−0.0078)
𝑥6 = (2.1780)−(−0.0078)
𝒙𝟔 = 𝟎. 𝟓𝟏𝟔𝟗
𝑓(0.5169) = −0.0026 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.5169,1).
Step-7: 𝑎 = 0.5169 𝑏=1
𝑓(𝑎) = −0.0026 𝑓(𝑏) = 2.1780
𝒙𝟕 = 𝟎. 𝟓𝟏𝟕𝟓
𝑓(0.5175) = −0.0008 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.5175,1).
Step-8: 𝑎 = 0.5175 𝑏=1
𝑓(𝑎) = −0.0008 𝑓(𝑏) = 2.1780
(0.5175)(2.1780)−1(−0.0008)
𝑥8 = (2.1780)−(−0.0008)
𝒙𝟖 = 𝟎. 𝟓𝟏𝟕𝟕
𝑓(0.5177) = −0.0002 < 0
𝑓(1) = 2.1780 > 0
The root lies between (0.5177,1).
Step-9: 𝑎 = 0.5177 𝑏=1
𝑓(𝑎) = −0.0002 𝑓(𝑏) = 2.1780
(0.5177)(2.1780)−1(−0.0002)
𝑥9 = (2.1780)−(−0.0002)
𝒙𝟗 = 𝟎. 𝟓𝟏𝟕𝟕
∴ The real root is 0.5177.
7. Use RF method to find the real root of the equation 𝑡𝑎𝑛𝑥 + 𝑡𝑎𝑛ℎ𝑥 = 0, the root
lies between 2 & 3. Carryout 3 iteration.
Sol: Given 𝑓(𝑥) = 𝑡𝑎𝑛𝑥 + 𝑡𝑎𝑛ℎ𝑥
𝑓(2) = −1.2210 < 0
𝑓(3) = 0.8525 > 0
The root lies between (2,3).
Wkt,
𝑎𝑓(𝑏)−𝑏𝑓(𝑎)
𝑥𝑛 = 𝑓(𝑏)−𝑓(𝑎)
Step-1: 𝑎=2 𝑏=3
𝑓(𝑎) = −1.2210 𝑓(𝑏) = 0.8525
2(0.8525)−3(−1.2210)
𝑥1 = (0.8525)−(−1.2210)
𝒙𝟏 = 𝟐. 𝟓𝟖𝟖𝟗
𝑓(2.5889) = 0.3720 > 0
𝑓(2) = −1.2210 < 0
The root lies between (2,2.5889).
Step-2: 𝑎=2 𝑏 = 2.5889
𝑓(𝑎) = −1.2210 𝑓(𝑏) = 0.3720
𝒙𝟐 = 𝟐. 𝟒𝟓𝟏𝟒
𝑓(2.4514) = 0.1596 > 0
𝑓(2) = −1.2210 < 0
The root lies between (2,2.4514).
Step-3: 𝑎=2 𝑏 = 2.4514
𝑓(𝑎) = −1.2210 𝑓(𝑏) = 0.1596
2(0.1596)−(2.4514)(−1.2210)
𝑥3 = (0.1596)−(−1.2210)
𝒙𝟑 = 𝟐. 𝟑𝟗𝟗𝟐
∴ The real root is 2.3992.
8. Find the real root of the equation 𝑥 3 − 3𝑥 + 4 = 0 using RF method .Carry out 3
iterations.
Sol: Given 𝑓(𝑥) = 𝑥 3 − 3𝑥 + 4
𝑓(0) = 4
𝑓(1) = 2
𝑓(2) = 6
𝑓(3) = 22
𝑓(−1) = 6 𝑓(−2) = 2 > 0 𝑓(−3) = −14 < 0
The root lies between (−3, −2).
Wkt,
𝑎𝑓(𝑏)−𝑏𝑓(𝑎)
𝑥𝑛 = 𝑓(𝑏)−𝑓(𝑎)
Step-1: 𝑎 = −3 𝑏 = −2
𝑓(𝑎) = −14 𝑓(𝑏) = 2
(−3)(2)−(−2)(−14)
𝑥1 = (2)−(−14)
𝒙𝟏 = −𝟐. 𝟏𝟐𝟓𝟎
𝑓(−2.1250) = 0.7793 > 0
𝑓(−3) = −14 < 0
The root lies between (−3, −2.1250).
Step-2: 𝑎 = −3 𝑏 = −2.1250
𝑓(𝑎) = −14 𝑓(𝑏) = 0.7793
(−3)(0.7793)−(−2.1250)(−14)
𝑥2 = (0.7793)−(−14)
𝒙𝟐 = −𝟐. 𝟏𝟕𝟏𝟏
𝑓(−2.1250) = 0.2794 > 0
𝑓(−3) = −14 < 0
The root lies between (−3, −2.1711).
Step-3: 𝑎 = −3 𝑏 = −2.1711
𝑓(𝑎) = −14 𝑓(𝑏) = 0.2794
𝒙𝟑 = −𝟐. 𝟏𝟖𝟕𝟑
∴ The real root is −2.1873.
Newton-Raphson Method
Formula:
𝒇(𝒙 )
𝒙𝒏+𝟏 = 𝒙𝒏 − 𝒇′ (𝒙𝒏 ) ; 𝑓 ′ (𝑥𝑛 ) ≠ 0 , 𝑛 = 0,1,2,3, …
𝒏
𝑓(𝑥 )
𝑛 = 0 , 𝑥1 = 𝑥0 − 𝑓′ (𝑥0 ) ; 𝑓 ′ (𝑥0 ) ≠ 0
0
𝑓(𝑥1 )
𝑛 = 1 , 𝑥2 = 𝑥1 − ; 𝑓 ′ (𝑥1 ) ≠ 0 and so on.
𝑓 ′ (𝑥1 )
Problems
1. Use NR method to find the real root of the equation 𝑥 3 − 3𝑥 − 5 = 0 , correct to 3
decimal places.
Sol: Given 𝑓(𝑥) = 𝑥 3 − 3𝑥 − 5
𝑓(0) = −5
𝑓(1) = −7
𝑓(2) = −3
𝑓(3) = 13
The root lies between (2,3).
Since 𝑓(2) lies nearer to 0.
Let 𝑥0 = 2
𝒇(𝒙 )
We know that 𝒙𝒏+𝟏 = 𝒙𝒏 − 𝒇′ (𝒙𝒏 )
𝒏
Here 𝑓(𝑥) = 𝑥 3 − 3𝑥 − 5
𝑓 ′ (𝑥) = 3𝑥 2 − 3
𝑓(𝑥 )
Step 1: 𝑥1 = 𝑥0 − 𝑓′ (𝑥0 )
0
𝑓(2)
𝑥1 = 2 − 𝑓 ′ (2)
(−3)
𝑥1 = 2 − (9)
𝒙𝟏 = 𝟐. 𝟑𝟑𝟑
𝑓(𝑥 )
Step 2: 𝑥2 = 𝑥1 − 𝑓′ (𝑥1 )
1
𝑓(2.333)
𝑥2 = 2.333 − 𝑓′ (2.333)
(0.699)
𝑥2 = 2.333 − (13.329)
𝒙𝟐 = 𝟐. 𝟐𝟖𝟏
𝑓(𝑥 )
Step 3: 𝑥3 = 𝑥2 − 𝑓′ (𝑥2 )
2
𝑓(2.281)
𝑥3 = 2.281 − 𝑓′ (2.281)
(0.025)
𝑥3 = 2.281 − (12.609)
3. Use NR method to find the real root of 𝑥𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥 = 0 near 𝑥 = 𝜋. Carryout the
iteration upto 4 decimal places of accuracy.
Sol: Given 𝑓(𝑥) = 𝑥𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥
Let 𝑥0 = 𝜋
𝒇(𝒙 )
We know that 𝒙𝒏+𝟏 = 𝒙𝒏 − 𝒇′ (𝒙𝒏 )
𝒏
Here 𝑓(𝑥) = 𝑥𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥
𝑓 ′ (𝑥) = 𝑥𝑐𝑜𝑠𝑥 + 𝑠𝑖𝑛𝑥 − 𝑠𝑖𝑛𝑥
𝑓 ′ (𝑥) = 𝑥𝑐𝑜𝑠𝑥
𝑓(𝑥 )
Step 1: 𝑥1 = 𝑥0 − 𝑓′ (𝑥0 )
0
𝑓(𝜋)
𝑥1 = (𝜋) −
𝑓 ′ (𝜋 )
(−1)
𝑥1 = (𝜋) − (−𝜋)
𝒙𝟏 = 𝟐. 𝟖𝟐𝟑𝟑
𝑓(𝑥 )
Step 2: 𝑥2 = 𝑥1 − 𝑓′ (𝑥1 )
1
𝑓(2.8233)
𝑥2 = 2.8233 − 𝑓′ (2.8233)
(−0.0662)
𝑥2 = 2.8233 − (−2.6815)
𝒙𝟐 = 𝟐. 𝟕𝟗𝟖𝟔
𝑓(𝑥 )
Step 3: 𝑥3 = 𝑥2 − 𝑓′ (𝑥2 )
2
𝑓(2.7986)
𝑥3 = 2.7986 − 𝑓′ (2.7986)
(−0.0006)
𝑥3 = 2.7986 − (−2.6356)
𝒙𝟑 = 𝟐. 𝟕𝟗𝟖𝟒
𝑓(𝑥 )
Step 4: 𝑥4 = 𝑥3 − 𝑓′ (𝑥3 )
3
𝑓(2.7984)
𝑥4 = 2.7984 − 𝑓′ (2.7984)
(0)
𝑥4 = 2.7984 − (−2.6352)
𝒙𝟒 = 𝟐. 𝟕𝟗𝟖𝟒
∴ The real root is 2.7984.
4. Use NR method to find the real root of the equation 𝑥𝑒 𝑥 = 2, correct to 3 decimal places.
Sol: Given 𝑓(𝑥) = 𝑥𝑒 𝑥 − 2
𝑓(0) = −2 < 0
𝑓(1) = 0.718 > 0
The root lies between (0,1).
Since 𝑓(1) lies nearer to 0.
Let 𝑥0 = 1
𝒇(𝒙 )
We know that 𝒙𝒏+𝟏 = 𝒙𝒏 − 𝒇′ (𝒙𝒏 )
𝒏
To find √𝟏𝟐:
Here N = 𝟏𝟐
Wkt, √9 = 3 , √16 = 4
Let 𝑥0 = 3
1 𝑁
Step-1: 𝑥1 = 2 [𝑥0 + 𝑥 ]
0
1 12
𝑥1 = 2 [3 + ]
3
𝒙𝟏 = 𝟑. 𝟓
1 𝑁
Step-2: 𝑥2 = 2 [𝑥1 + 𝑥 ]
1
1 12
𝑥2 = 2 [3.5 + 3.5]
𝒙𝟐 = 𝟑. 𝟒𝟔𝟒𝟑
1 𝑁
Step-3: 𝑥3 = 2 [𝑥2 + 𝑥 ]
2
1 12
𝑥3 = 2 [3.4643 + 3.4643]
𝒙𝟑 = 𝟑. 𝟒𝟔𝟒𝟏
1 𝑁
Step-4: 𝑥4 = 2 [𝑥3 + 𝑥 ]
3
1 12
𝑥4 = 2 [3.4641 + 3.4641]
𝒙𝟒 = 𝟑. 𝟒𝟔𝟒𝟏
Thus, √𝟏𝟐 = 𝟑. 𝟒𝟔𝟒𝟏.
9. Use NR method to find an iterative formula for the reciprocal of the square root of a
1
positive number and hence find (17)− ⁄2 correct to 4 decimal places.
1
Sol: Let 𝑥 =
√𝑁
Square on both sides
1
𝑥2 = 𝑁
1
𝑥2 − 𝑁 = 0
𝟏
To find (𝟏𝟕)− ⁄𝟐 :
Here 𝑁 = 17
1 1
Wkt, = 0.3333 , = 0.25
√9 √16
Let 𝑥0 = 0.25
1 1
Step-1: 𝑥1 = 2 [𝑥0 + 𝑁.𝑥 ]
0
1 1
𝑥1 = 2 [0.25 + 17(0.25)]
𝒙𝟏 = 𝟎. 𝟐𝟒𝟐𝟔
1 1
Step-2: 𝑥2 = 2 [𝑥1 + 𝑁.𝑥 ]
1
1 1
𝑥2 = 2 [0.2426 + 17(0.2426)]
𝒙𝟐 = 𝟎. 𝟐𝟒𝟐𝟓
𝟏
Thus, = 𝟎. 𝟐𝟒𝟐𝟓
√𝟏𝟕
10. Use NR method to find an iterative formula for the reciprocal of positive number and
1
hence find 31.
1
Sol: Let 𝑥 = 𝑁
Take reciprocal on b.s
1
=𝑁
𝑥
1
−𝑁 =0
𝑥
1
Here 𝑓(𝑥) = 𝑥 − 𝑁
1
𝑓 ′ (𝑥) = − 𝑥 2
𝒇(𝒙 )
We know that 𝒙𝒏+𝟏 = 𝒙𝒏 − 𝒇′ (𝒙𝒏 )
𝒏
1
( −𝑁)
𝑥𝑛
𝑥𝑛+1 = 𝑥𝑛 − 1
(− )
𝑥𝑛 2
𝟏
To find 𝟑𝟏:
Here 𝑁 = 31
1
Let 𝑥0 = 25 = 0.04
Step-1: 𝑥1 = 𝑥0 [2 − 𝑁𝑥0 ]
𝑥1 = (0.04)[2 − 31(0.04)]
𝒙𝟏 = 𝟎. 𝟎𝟑𝟎𝟒
Step-2: 𝑥2 = 𝑥1 [2 − 𝑁𝑥1 ]
𝑥2 = (0.0304)[2 − 31(0.0304)]
𝒙𝟐 = 𝟎. 𝟎𝟑𝟐𝟐
Step-3: 𝑥3 = 𝑥2 [2 − 𝑁𝑥2 ]
𝑥3 = (0.0322)[2 − 31(0.0322)]
𝒙𝟑 = 𝟎. 𝟎𝟑𝟐𝟑
𝟏
Thus, 𝟑𝟏 = 𝟎. 𝟑𝟐𝟑.
FINITE DIFFERENCES
𝑥0 = 0 𝑦0 = 1
∆𝑦0 = 3 − 1 = 2
1 3 ∆2 𝑦0 = 4 − 2 = 2
7−3=4 ∆3 𝑦0 = 2 − 2 = 0
2 7 6−4=2
13 − 7 = 6
3 13
𝑥0 = 1 𝑦0 = 0
∆𝑦0 = 0.128
1.2 0.128 ∆2 𝑦0 = 0.288
0.416
1.4 0.544 0.336 ∆3 𝑦0 ∆4 𝑦0 = 0 ∆5 𝑦0 = 0
0.752 = 0.048
1.6 1.296 0.384 0
1.136 0.048
1.8 2.432 0.432
1.568 0.048
2 4
By NFIF,
𝑟(𝑟−1) 𝑟(𝑟−1)(𝑟−2) 𝑟(𝑟−1)(𝑟−2)(𝑟−3)
𝑦 = 𝑦0 + 𝑟∆𝑦0 + ∆2 𝑦0 + ∆3 𝑦0 + ∆4 𝑦0 +
2! 3! 4!
𝑟(𝑟−1)(𝑟−2)(𝑟−3)(𝑟−4) 5
∆ 𝑦0
5!
(0.5)(0.5−1) (0.5)(0.5−1)(0.5−2)
𝑦 = 0 + (0.5)(0.128) + (0.288) + (0.048) + 0 + 0
2 6
𝒚 = 𝟎. 𝟎𝟑𝟏0
Thus, 𝒇(𝟏. 𝟏) = 𝟎. 𝟎𝟑𝟏0.
Find the area corresponding to the diameter 105 using appropriate interpolation formula.
Sol: Here ℎ = 5 , 𝑥𝑛 = 100 To find 𝒇(𝟏𝟎𝟓) ⇒ 𝑥 = 10.5
𝑥−𝑥𝑛
𝑟= ℎ
105−100
𝑟= 5
𝒓=𝟏
𝒙 𝒚 𝑰𝑫 𝑰𝑰 𝑫 𝑰𝑰𝑰 𝑫 𝑰𝑽 𝑫
80 5026
648
85 5674 40
688 −2
90 6362 38 𝛻 4 𝑦𝑛 = 4
726 𝛻 3 𝑦𝑛 = 2
95 7088 𝛻 2 𝑦𝑛 = 40
𝛻𝑦𝑛 = 766
𝑥𝑛 =100 𝑦𝑛 =7854
By NBIF,
𝑟(𝑟+1) 𝑟(𝑟+1)(𝑟+2) 𝑟(𝑟+1)(𝑟+2)(𝑟+3)
𝑦 = 𝑦𝑛 + 𝑟𝛻𝑦𝑛 + 𝛻 2 𝑦𝑛 + 𝛻 3 𝑦𝑛 + 𝛻 4 𝑦𝑛
2! 3! 4!
(1)(1 + 1) (1)(1 + 1)(1 + 2)
𝑦 = 7854 + (1)(766) + (40) + (2)
2 6
(1)(1 + 1)(1 + 2)(1 + 3)
+ (4)
24
𝑦 = 8666
Thus, 𝒇(𝟏𝟎𝟓) = 𝟖𝟔𝟔𝟔.
The area corresponding to the diameter 105 is 8666.
5. The following table give the values of 𝑡𝑎𝑛𝑥 for 0.1 ≤ 𝑥 ≤ 0.3 , find 𝑡𝑎𝑛(0.26).
𝒙 0.1 0.15 0.2 0.25 0.3
Sol:
Here ℎ = 0.05 , 𝑥𝑛 = 0.3 To find 𝐭𝐚𝐧(𝟎. 𝟐𝟔) ⇒ 𝑥 = 0.26
𝑥−𝑥
𝑟= ℎ𝑛
6. From the following table find the number of students who have obtain
a) Less than 45 marks
b) Between 40 – 45 marks
c) More than 40 but less than 55
Marks 30-40 40-50 50-60 60-70 70-80
No. of 31 42 51 35 31
students
Sol:
𝒙 𝒚 𝑰𝑫 𝑰𝑰 𝑫 𝑰𝑰𝑰 𝑫 𝑰𝑽 𝑫
𝒙𝟎 = 𝟒𝟎 𝒚𝟎 = 𝟑𝟏
∆𝒚𝟎 = 𝟒𝟐
50 73 (31+42) ∆ 𝟐 𝒚𝟎 = 𝟗
𝟓𝟏 ∆ 𝟑 𝒚𝟎
60 124 (73+51) −𝟏𝟔 = −𝟐𝟓 ∆𝟒 𝒚𝟎 = 𝟑𝟕
𝟑𝟓
70 159 (124+35) −𝟒
𝟑𝟏 𝟏𝟐
a) To find 𝒇(𝟒𝟓) ⇒ 𝑥 = 45
Here ℎ = 10 , 𝑥0 = 40
𝑥−𝑥
𝑟= ℎ0
45−40
𝑟= 10
𝒓 = 𝟎. 𝟓
By NFIF,
𝑟(𝑟−1) 𝑟(𝑟−1)(𝑟−2) 𝑟(𝑟−1)(𝑟−2)(𝑟−3)
𝑦 = 𝑦0 + 𝑟∆𝑦0 + ∆2 𝑦0 + ∆3 𝑦0 + ∆4 𝑦0
2! 3! 4!
(0.5)(0.5−1) (0.5)(0.5−1)(0.5−2)
𝑦 = 31 + (0.5)(42) + (9) + (−25) +
2 6
(0.5)(0.5−1)(0.5−2)(0.5−3)
(37)
24
𝑦 = 47.8672 ≅ 48
Thus, 𝒇(𝟒𝟓) = 𝟒𝟖.
No. of students who have obtained less than 45 marks is 48.
c) To find 𝒇(𝟓𝟓) ⇒ 𝑥 = 55
Here ℎ = 10 , 𝑥0 = 40
𝑥−𝑥
𝑟= ℎ0
55−40
𝑟= 10
𝒓 = 𝟏. 𝟓
By NFIF,
𝑟(𝑟−1) 𝑟(𝑟−1)(𝑟−2) 𝑟(𝑟−1)(𝑟−2)(𝑟−3)
𝑦 = 𝑦0 + 𝑟∆𝑦0 + ∆2 𝑦0 + ∆3 𝑦0 + ∆4 𝑦0
2! 3! 4!
𝑦 = 99.8047 ≅ 100
𝒙 𝒚 𝑰𝑫 𝑰𝑰 𝑫 𝑰𝑰𝑰 𝑫 𝑰𝑽 𝑫
𝒙𝟎 =1971 𝒚𝟎 = 𝟏𝟗. 𝟗𝟔
∆𝒚𝟎 = 𝟏𝟗. 𝟔𝟗
1981 39.65 ∆𝟐 𝒚𝟎 = −𝟎. 𝟓𝟑
𝟏𝟗. 𝟏𝟔 ∆𝟑 𝒚𝟎 = −𝟎. 𝟐𝟔
1991 58.81 − 𝟎. 𝟕𝟗 ∆𝟒 𝒚𝟎 = 𝟎. 𝟎𝟖
𝟏𝟖. 𝟑𝟕 𝜵𝟑 𝒚𝒏 = −𝟎. 𝟏𝟖 = 𝜵 𝟒 𝒚𝒏
2001 77.18 𝜵𝟐 𝒚𝒏 = −𝟎. 𝟗𝟕
𝜵𝒚𝒏 = 𝟏𝟕. 𝟒𝟎
𝒙𝒏 =2011 𝒚𝒏 = 𝟗𝟒.58
The increase in population from the year 1975 to 2005= 𝒇(𝟏𝟗𝟕𝟓) − 𝒇(𝟐𝟎𝟎𝟓)
= 𝟖𝟒. 𝟐𝟔𝟑𝟖 − 𝟐𝟕. 𝟖𝟕𝟗𝟕
= 𝟓𝟔. 𝟑𝟖𝟒𝟏 ( in thousands )
8. Extrapolate for 25.4 given the data
𝒙 19 20 21 22 23
9. In a table given below the values of 𝑦 are consecutive terms of a series of which 23.6 is the
6𝑡ℎ term , find the 1𝑠𝑡 and 10𝑡ℎ term of series
𝒙 3 4 5 6 7 8 9
10. Given 𝑠𝑖𝑛(45) = 0.7071, 𝑠𝑖𝑛(50) = 0.7660, 𝑠𝑖𝑛(55) = 0.8192, 𝑠𝑖𝑛(60) = 0.8660,
find 𝑠𝑖𝑛(52) and 𝑠𝑖𝑛(57) using an appropriate interpolation formula.
𝒙𝟎 𝒇(𝒙𝟎 )
= 𝟒𝟎 = 𝟒𝟑𝟖𝟑𝟑 𝒇(𝒙𝟎 , 𝒙𝟏 )
𝟒𝟔𝟓𝟔𝟖 − 𝟒𝟑𝟖𝟑𝟑 𝒇(𝒙𝟎 , 𝒙𝟏, 𝒙𝟐 )
=
𝟒𝟐 − 𝟒𝟎 𝟏𝟒𝟑𝟏. 𝟓 − 𝟏𝟑𝟔𝟕. 𝟓 𝒇(𝒙𝟎 , 𝒙𝟏, 𝒙𝟐 , 𝒙𝟑 )
𝒙𝟏 𝒇(𝒙𝟏 ) = 𝟏𝟑𝟔𝟕. 𝟓 = 𝟏𝟔. 𝟓 − 𝟏𝟔
𝟒𝟒 − 𝟒𝟎
= 𝟒𝟐 = 𝟒𝟔𝟓𝟔𝟖 𝒇(𝒙𝟏 , 𝒙𝟐 ) = 𝟏𝟔 = = 𝟎. 𝟏
𝟒𝟓 − 𝟒𝟎
𝟒𝟗𝟒𝟑𝟏 − 𝟒𝟔𝟓𝟔𝟖
=
𝟒𝟒 − 𝟒𝟐 𝒇(𝒙𝟏 , 𝒙𝟐 , 𝒙𝟑 )
𝒙𝟐 𝒇(𝒙𝟐 ) = 𝟏𝟒𝟑𝟏. 𝟓 𝟏𝟒𝟖𝟏 − 𝟏𝟒𝟑𝟏. 𝟓
𝒇(𝒙𝟐 , 𝒙𝟑 ) = = 𝟏𝟔. 𝟓
= 𝟒𝟒 = 𝟒𝟗𝟒𝟑𝟏 𝟒𝟓 − 𝟒𝟐
𝟓𝟎𝟗𝟏𝟐 − 𝟒𝟗𝟒𝟑𝟏
=
𝟒𝟓 − 𝟒𝟒
𝒙𝟑 𝒇(𝒙𝟑 ) = 𝟏𝟒𝟖𝟏
= 𝟒𝟓 = 𝟓𝟎𝟗𝟏𝟐
By NDDF,
𝑦 = 𝑓(𝑥0 ) + (𝑥 − 𝑥0 )𝑓(𝑥0 , 𝑥1 ) + (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )𝑓(𝑥0 , 𝑥1 , 𝑥2 ) + (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 −
𝑥2 )𝑓(𝑥0 , 𝑥1 , 𝑥2 , 𝑥3 )
𝒚 = 𝟒𝟕𝟗𝟖𝟑. 𝟐
Sol:
𝑥0 = 0 𝑓(𝑥0 ) = 0
𝑥1 = 2 𝑓(𝑥1 ) = 6 𝑓(𝑥0 , 𝑥1 )
=3 𝑓(𝑥0 , 𝑥1, 𝑥2 )
𝑥2 = 3 𝑓(𝑥2 ) = 21 =4
𝑓(𝑥0 , 𝑥1, 𝑥2 , 𝑥3 )
𝑥3 = 5 𝑓(𝑥3 ) = 105 𝑓(𝑥1 , 𝑥2 ) =1
= 15 𝑓(𝑥1 , 𝑥2 , 𝑥3 ) 𝑓(𝑥0 , 𝑥1, 𝑥2 , 𝑥3 , 𝑥4 )
𝑥4 = 6 𝑓(𝑥4 ) = 186 =9 =0
𝑓(𝑥1, 𝑥2 , 𝑥3 , 𝑥4 )
𝑓(𝑥2 , 𝑥3 ) =1
= 42 𝑓(𝑥2 , 𝑥3 , 𝑥4 )
= 13
𝑓(𝑥3 , 𝑥4 )
= 81
By NDDF,
𝑦 = 𝑓(𝑥0 ) + (𝑥 − 𝑥0 )𝑓(𝑥0 , 𝑥1 ) + (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )𝑓(𝑥0 , 𝑥1 , 𝑥2 )
+ (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )𝑓(𝑥0 , 𝑥1 , 𝑥2 , 𝑥3 )
+ (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 )𝑓(𝑥0 , 𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 )
𝑦 = 0 + (0.5 − 0)(3) + (0.5 − 0)(0.5 − 2)(4) + (0.5 − 0)(0.5 − 2)(0.5 − 3)(1) + (0)
𝒚 = 𝟎. 𝟑𝟕𝟓𝟎
𝑓(𝑥) 2 3 12 147
𝒙𝟎 = 𝟐 𝒇(𝒙𝟎 ) = 𝟒
𝒇(𝒙𝟎 , 𝒙𝟏 ) = 𝟐𝟔
𝒙𝟏 = 𝟒 𝒇(𝒙𝟏 ) = 𝟓𝟔 𝒇(𝒙𝟎 , 𝒙𝟏, 𝒙𝟐 ) = 𝟏𝟓
𝒇(𝒙𝟏 , 𝒙𝟐 ) = 𝟏𝟑𝟏
𝒙𝟐 = 𝟗 𝒇(𝒙𝟐 ) = 𝟕𝟏𝟏 𝒇(𝒙𝟏 , 𝒙𝟐 , 𝒙𝟑 ) = 𝟐𝟑 𝒇(𝒙𝟎 , 𝒙𝟏, 𝒙𝟐 , 𝒙𝟑 ) = 𝟏
𝒇(𝒙𝟐 , 𝒙𝟑 ) = 𝟐𝟔𝟗
𝒙𝟑 = 𝟏𝟎 𝒇(𝒙𝟑 ) = 𝟗𝟖𝟎
By NDDF,
𝑦 = 𝑓(𝑥0 ) + (𝑥 − 𝑥0 )𝑓(𝑥0 , 𝑥1 ) + (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )𝑓(𝑥0 , 𝑥1 , 𝑥2 )
+ (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )𝑓(𝑥0 , 𝑥1 , 𝑥2 , 𝑥3 )
𝑦 = 4 + − 2)(26) + − 2)(𝑥 − 4)(15) + (𝑥 − 2)(𝑥 − 4)(𝑥 − 9)(1)
(𝑥 (𝑥
𝑦 = 4 + 26𝑥 − 52 + 15(𝑥 2 − 2𝑥 − 4𝑥 + 8) + (𝑥 2 − 2𝑥 − 4𝑥 + 8)(𝑥 − 9)
𝑦 = 4 + 26𝑥 − 52 + 15(𝑥 2 − 6𝑥 + 8) + (𝑥 2 − 6𝑥 + 8)(𝑥 − 9)
𝑦 = 4 + 26𝑥 − 52 + 15𝑥 2 − 90𝑥 + 120 + 𝑥 3 − 6𝑥 2 + 8𝑥 − 9𝑥 2 + 54𝑥 − 72
𝑦 = 𝑥 3 − 2𝑥, is the required polynomial.
𝑓(𝑥) = 𝑥 3 − 2𝑥
When 𝑥 = 3 , 𝑓(3) = 21
𝑥=5, 𝑓(5) = 115
𝑥=7, 𝑓(7) = 329
𝑥 = 11 , 𝑓(11) = 1309
Consider,
𝑓(𝑥) = 𝑥 3 − 2𝑥
𝑓(𝑥) = (𝑥 − 1)3 + 3𝑥 2 − 3𝑥 + 1 − 2𝑥 (𝑥 − 1)3 = 𝑥 3 − 3𝑥 2 + 3𝑥 − 1
𝑓(𝑥) = (𝑥 − 1)3 + 3𝑥 2 − 5𝑥 + 1 (𝑥 − 1)2 = 𝑥 2 − 2𝑥 + 1
3 2
𝑓(𝑥) = (𝑥 − 1) + 3[(𝑥 − 1) + 2𝑥 − 1] − 5𝑥 + 1
𝑓(𝑥) = (𝑥 − 1)3 + 3(𝑥 − 1)2 + 6𝑥 − 3 − 5𝑥 + 1
𝑓(𝑥) = (𝑥 − 1)3 + 3(𝑥 − 1)2 + 𝑥 − 2
𝑓(𝑥) = (𝑥 − 1)3 + 3(𝑥 − 1)2 + 𝑥 − 1 − 1
𝒇(𝒙) = (𝒙 − 𝟏)𝟑 + 𝟑(𝒙 − 𝟏)𝟐 + (𝒙 − 𝟏) − 𝟏
When
𝑥 = 1.1 , 𝑓(𝑥) = (1.1 − 1)3 + 3(1.1 − 1)2 + (1.1 − 1) − 1 = −𝟎. 𝟖𝟔𝟗𝟎
𝑥 = 1.5 , 𝑓(𝑥) = (1.5 − 1)3 + 3(1.5 − 1)2 + (1.5 − 1) − 1 = 𝟎. 𝟑𝟕𝟓
𝑓(𝑥3 , 𝑥4 )
= 442
By NDDF,
𝑦 = 𝑓(𝑥0 ) + (𝑥 − 𝑥0 )𝑓(𝑥0 , 𝑥1 ) + (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )𝑓(𝑥0 , 𝑥1 , 𝑥2 ) + (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 −
𝑥2 )𝑓(𝑥0 , 𝑥1 , 𝑥2 , 𝑥3 )
+(𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 )𝑓(𝑥0 , 𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 )
𝑦 = 1245 − 404𝑥 − 1616 + 94𝑥 2 + 470𝑥 + 376 − 14𝑥 2 − 70𝑥 2 − 56𝑥 + 3𝑥 4 + 15𝑥 3 +
12𝑥 2 − 6𝑥 3 − 30𝑥 2 − 24𝑥
6. Construct a polynomial for the data given below using NDDF and hence find
𝑓(8) and 𝑓(15).
𝑥 4 5 7 10 11 13
(𝑥 − 𝑥0 )(𝑥 − 𝑥1 ) … (𝑥 − 𝑥𝑛−1 )
+ 𝑦
(𝑥𝑛 − 𝑥0 )(𝑥𝑛 − 𝑥2 ) … (𝑥𝑛 − 𝑥𝑛−1 ) 𝑛
(𝑦 − 𝑦0 )(𝑦 − 𝑦1 ) … (𝑦 − 𝑦𝑛−1 )
+ 𝑥
(𝑦𝑛 − 𝑦0 )(𝑦𝑛 − 𝑦2 ) … (𝑦𝑛 − 𝑦𝑛−1 ) 𝑛
Problems
1. Apply Lagrange’s interpolation formula to find 𝑦(11) from the following data
𝑥 2 5 8 14
Sol: Given 𝑥0 = 2 𝑥1 = 5 𝑥2 = 8 𝑥3 = 14
𝑦0 = 94.8 𝑦1 = 87.9 𝑦2 = 81.3 𝑦3 = 68.7
To find 𝒚(𝟏𝟏) ⇒ 𝑥 = 11
Wkt
(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 )
𝑦= 𝑦0 + 𝑦
(𝑥0 − 𝑥1 )(𝑥0 − 𝑥2 )(𝑥0 − 𝑥3 ) (𝑥1 − 𝑥0 )(𝑥1 − 𝑥2 )(𝑥1 − 𝑥3 ) 1
(𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )
+ 𝑦2 + 𝑦
(𝑥2 − 𝑥0 )(𝑥2 − 𝑥1 )(𝑥2 − 𝑥3 ) (𝑥3 − 𝑥0 )(𝑥3 − 𝑥1 )(𝑥3 − 𝑥2 ) 3
𝑥 0 1 2 5
𝑦 2 3 12 147
Sol: Given 𝑥0 = 0 𝑥1 = 1 𝑥2 = 2 𝑥3 = 5
𝑦0 = 2 𝑦1 = 3 𝑦2 = 12 𝑦3 = 147
Wkt
(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 )
𝑦= 𝑦0 + 𝑦
(𝑥0 − 𝑥1 )(𝑥0 − 𝑥2 )(𝑥0 − 𝑥3 ) (𝑥1 − 𝑥0 )(𝑥1 − 𝑥2 )(𝑥1 − 𝑥3 ) 1
(𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )
+ 𝑦2 + 𝑦
(𝑥2 − 𝑥0 )(𝑥2 − 𝑥1 )(𝑥2 − 𝑥3 ) (𝑥3 − 𝑥0 )(𝑥3 − 𝑥1 )(𝑥3 − 𝑥2 ) 3
𝑦
−12(𝑥 3 − 8𝑥 2 + 17𝑥 − 10) + 15(3𝑥 3 − 21𝑥 2 + 30𝑥) − 60(2𝑥 3 − 12𝑥 2 + 10𝑥) + (147𝑥 3 − 441𝑥 2 +
=
60
𝑦
−12𝑥 3 + 96𝑥 2 − 204𝑥 + 120 + 45𝑥 3 − 315𝑥 2 + 450𝑥 − 120𝑥 3 + 720𝑥 2 − 600𝑥 + 147𝑥 3 − 441𝑥 2 +
=
60
𝑦 -12 0 6 12
Sol: Given 𝑥0 = 0 𝑥1 = 1 𝑥2 = 3 𝑥3 = 4
𝑦0 = −12 𝑦1 = 0 𝑦2 = 6 𝑦3 = 12
Wkt
(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 )
𝑦= 𝑦0 + 𝑦
(𝑥0 − 𝑥1 )(𝑥0 − 𝑥2 )(𝑥0 − 𝑥3 ) (𝑥1 − 𝑥0 )(𝑥1 − 𝑥2 )(𝑥1 − 𝑥3 ) 1
(𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )
+ 𝑦2 + 𝑦
(𝑥2 − 𝑥0 )(𝑥2 − 𝑥1 )(𝑥2 − 𝑥3 ) (𝑥3 − 𝑥0 )(𝑥3 − 𝑥1 )(𝑥3 − 𝑥2 ) 3
𝑦 = 𝑥 3 − 8𝑥 2 + 19𝑥 − 12 − 𝑥 3 + 5𝑥 2 − 4𝑥 + 𝑥 3 − 4𝑥 2 + 3𝑥
Put 𝑥 = 2
𝑦 = 23 − 7(2)2 + 18(2) − 12
𝒚=𝟒
4. Use Lagrange’s interpolation formula to fit a polynomial for the data 𝑦(1) = 3,
𝑦(3) = 9, 𝑦(4) = 30, 𝑦(6) = 132.
Sol: Given 𝑥0 = 1 𝑥1 = 3 𝑥2 = 4 𝑥3 = 6
𝑦0 = 3 𝑦1 = 9 𝑦2 = 30 𝑦3 = 132
Wkt
(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥2 )(𝑥 − 𝑥3 )
𝑦= 𝑦0 + 𝑦
(𝑥0 − 𝑥1 )(𝑥0 − 𝑥2 )(𝑥0 − 𝑥3 ) (𝑥1 − 𝑥0 )(𝑥1 − 𝑥2 )(𝑥1 − 𝑥3 ) 1
(𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥3 ) (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )(𝑥 − 𝑥2 )
+ 𝑦2 + 𝑦
(𝑥2 − 𝑥0 )(𝑥2 − 𝑥1 )(𝑥2 − 𝑥3 ) (𝑥3 − 𝑥0 )(𝑥3 − 𝑥1 )(𝑥3 − 𝑥2 ) 3
−(𝑥 3 − 13𝑥 2 + 54𝑥 − 72) + 15(𝑥 3 − 11𝑥 2 + 34𝑥 − 24) − 50(𝑥 3 − 10𝑥 2 + 27𝑥 − 18) + 44(𝑥 3 − 8𝑥 2 + 19𝑥 − 12)
𝑦=
10
−𝑥 3 + 13𝑥 2 − 54𝑥 + 72 + 15𝑥 3 − 165𝑥 2 + 510𝑥 − 360 − 50𝑥 3 + 500𝑥 2 − 1350𝑥 + 900 + 44𝑥 3 − 352𝑥 2 + 836𝑥 − 528
𝑦=
10
8𝑥 3 −4𝑥 2 −58𝑥+84
𝑦= 10
Numerical Integration
𝑏
The process of obtaining approximate value of the definite integration 𝐼 = ∫𝑎 𝑦 𝑑𝑥
without actually integrating function but only using the value of ′𝑦′ at some point of 𝑥 is
equally placed over [𝑎, 𝑏].
𝟏𝒓𝒅
Simpson’s 𝟑 rule
Formula:
𝑏
ℎ
∫ 𝑦 𝑑𝑥 = [(𝑦 + 𝑦𝑛 ) + 4(𝑦1 + 𝑦3 + 𝑦5 + ⋯ + 𝑦𝑛−1 ) + 2(𝑦2 + 𝑦4 + 𝑦6 + ⋯ + 𝑦𝑛−2 )]
3 0
𝑎
𝑏−𝑎
Where, ℎ = 𝑛
1𝑟𝑑
Note: To apply 3 rule 𝑛 must be multiple of 2.
𝒙 0 1 2 3 4 5 6
y = 3𝑥 2 0 3 12 27 48 75 108
Wkt,
𝑏 ℎ
∫𝑎 𝑦 𝑑𝑥 = 3 [(𝑦0 + 𝑦6 ) + 4(𝑦1 + 𝑦3 + 𝑦5 ) + 2(𝑦2 + 𝑦4 )]
6 1
∫0 3𝑥 2 𝑑𝑥 = 3 [(0 + 108) + 4(3 + 27 + 75) + 2(12 + 48)]
𝟔
∫𝟎 𝟑𝒙𝟐 𝒅𝒙 = 𝟐𝟏𝟔.
1 𝑑𝑥 1𝑟𝑑
2. Evaluate ∫0 1+𝑥 2 using Simpson’s 3 rule by taking 5 ordinates (4 equal parts) and
hence deduce an approximate value of 𝜋.
1
Sol: Given a = 0 , b = 1 , y = 1+𝑥 2
𝑏−𝑎
Now, ℎ = 𝑛
1−0
ℎ= 4
𝟏
𝒉= , 𝑛=4
𝟒
𝑥 0 𝟏 𝟐 𝟑 1
𝟒 𝟒 𝟒
1 1 0.9412 0.8 0.64 0.5
y=
1 + 𝑥2
Wkt,
𝑏 ℎ
∫𝑎 𝑦 𝑑𝑥 = 3 [(𝑦0 + 𝑦4 ) + 4(𝑦1 + 𝑦3 ) + 2(𝑦2 )]
1
1 1 4
∫0 𝑑𝑥 = [(1 + 0.5) + 4(0.9412 + 0.64) + 2(0.8)]
1+𝑥 2 3
By integration,
1 1
∫0 𝑑𝑥 = [𝑡𝑎𝑛−1 𝑥]10
1+𝑥 2
0.7854 = 𝑡𝑎𝑛−1 1 − 𝑡𝑎𝑛−1 0
𝜋
0.7854 = 4
𝝅 = 𝟑. 𝟏𝟒𝟏𝟔
𝜋⁄ 1𝑟𝑑 𝜋
2
3. Find the approximate value of ∫0 √𝑐𝑜𝑠𝜃 𝑑𝜃 by Simpson’s 3
rule by dividing [0, 2 ]
into 6 equal parts.
𝜋
Sol: Given a = 0 , b = 2 , y = √𝑐𝑜𝑠𝜃
𝑏−𝑎
Now, ℎ = 𝑛
𝜋
−0
2
ℎ= 6
;
𝜋
𝒉 = 12 = 15° ,
𝑛=6
Wkt,
𝑏 ℎ
∫𝑎 𝑦 𝑑𝑥 = 3 [(𝑦0 + 𝑦6 ) + 4(𝑦1 + 𝑦3 + 𝑦5 ) + 2(𝑦2 + 𝑦4 )]
𝜋 𝜋
12
∫0 √𝑐𝑜𝑠𝜃𝑑𝜃 =
2 [(1 + 0) + 4(0.9828 + 0.8409 + 0.5087) + 2(0.9306 + 0.7071)]
3
𝝅
∫𝟎𝟐 √𝒄𝒐𝒔𝜽𝒅𝜽 = 𝟏. 𝟏𝟖𝟕𝟑
0.6 2 1𝑟𝑑
4. Evaluate ∫0 𝑒 −𝑥 𝑑𝑥 using Simpson’s rule by dividing [0,0.6] in 6 subintervals.
3
−𝑥 2
Sol: Given a = 0 , b = 0.6 , y = 𝑒
𝑏−𝑎
Now, ℎ = 𝑛
0.6−0
ℎ= 6
𝒉 = 𝟎. 𝟏 , 𝑛 = 6
Wkt,
𝑏 ℎ
∫𝑎 𝑦 𝑑𝑥 = 3 [(𝑦0 + 𝑦6 ) + 4(𝑦1 + 𝑦3 + 𝑦5 ) + 2(𝑦2 + 𝑦4 )]
0.6 2 0.1
∫0 𝑒 −𝑥 𝑑𝑥 = 3
[(1 + 0.6977) + 4(0.99 + 0.9139 + 0.7788) + 2(0.9608 + 0.8521)]
𝟎.𝟔 𝟐
∫𝟎 𝒆−𝒙 𝒅𝒙 = 𝟎. 𝟓𝟑𝟓𝟏
1 𝑑𝑥 1𝑟𝑑
5. Evaluate ∫0 (1+𝑥)2
using Simpson’s rule by taking 7 ordinates.
3
1
Sol: Given a = 0 , b = 1 , y = (1+𝑥)2
𝑏−𝑎
Now, ℎ = 𝑛
1−0
ℎ= 6
𝟏
𝒉=𝟔 , 𝑛=6
𝒙 0 1 2 3 4 5 1
6 6 6 6 6
𝑦 1 0.7347 0.5625 0.4444 0.3600 0.2975 0.2500
1
=
(1 + 𝑥)2
Wkt,
𝑏 ℎ
∫𝑎 𝑦 𝑑𝑥 = 3 [(𝑦0 + 𝑦6 ) + 4(𝑦1 + 𝑦3 + 𝑦5 ) + 2(𝑦2 + 𝑦4 )]
1
1 1 6
∫0 (1+𝑥)2 𝑑𝑥 = [(1 + 0.25) + 4(0.7347 + 0.4444 + 0.2975) + 2(0.5625 + 0.36)]
3
𝟏 𝟏
∫𝟎 (𝟏+𝒙)𝟐
𝒅𝒙 = 𝟎. 𝟓𝟎𝟎𝟏
1 𝑥 1𝑟𝑑
6. Evaluate ∫0 1+𝑥 2 𝑑𝑥 using Simpson’s rule by taking 6 equal parts and hence find
3
log2.
𝑥
Sol: Given a = 0 , b = 1 , y = 1+𝑥 2
𝑏−𝑎
Now, ℎ = 𝑛
1−0
ℎ= 6
𝟏
𝒉=𝟔 , 𝑛=6
1
1 𝑥 6
∫0 1+𝑥 2 𝑑𝑥 = [(0 + 0.5) + 4(0.1622 + 0.4 + 0.4918) + 2(0.3 + 0.4615)]
3
𝟏 𝒙
∫𝟎 𝒅𝒙 = 𝟎. 𝟑𝟒𝟔𝟔
𝟏+𝒙𝟐
By integration,
1 𝑥 1 1 2𝑥
∫0 𝑑𝑥 = 2 ∫0 𝑑𝑥
1+𝑥 2 1+𝑥 2
1
0.3466 = 2 [𝑙𝑜𝑔(1 + 𝑥 2 )]10
1
0.3466 = 2 [𝑙𝑜𝑔2 − 𝑙𝑜𝑔1]
𝑙𝑜𝑔2 = 2 ∗ 0.3466
𝒍𝒐𝒈𝟐 = 𝟎. 𝟔𝟗𝟑𝟐
𝜋 𝑑𝑥
7. Evaluate ∫0 by taking 6 sub intervals.
2+𝑐𝑜𝑠𝑥
1
Sol: Given a = 0 , b = 𝜋 , y = 2+𝑐𝑜𝑠𝑥
𝑏−𝑎
Now, ℎ = 𝑛
𝜋−0
ℎ= 6
𝜋
𝒉 = 𝟔 = 𝟑𝟎° , 𝑛 = 6
𝑥 𝟎° 𝟑𝟎° 𝟔𝟎° 𝟗𝟎° 𝟏𝟐𝟎° 𝟏𝟓𝟎° 18𝟎°
1 0.3333 0.3489 0.4000 0.5000 0.6667 0.8819 1
2 + 𝑐𝑜𝑠𝑥
Wkt,
𝑏 ℎ
∫𝑎 𝑦 𝑑𝑥 = 3 [(𝑦0 + 𝑦6 ) + 4(𝑦1 + 𝑦3 + 𝑦5 ) + 2(𝑦2 + 𝑦4 )]
𝜋
𝜋 1 𝟔
∫0 2+𝑐𝑜𝑠𝑥 𝑑𝑥 = [(0.3333 + 1) + 4(0.3489 + 0.5 + 0.8819) + 2(0.4 + 0.6667)]
3
8 1
8. Evaluate ∫2 𝑑𝑥 by taking 6 sub intervals.
log10 𝑥
1
Sol: Given a = 2 , b = 8 , y = log
10 𝑥
𝑏−𝑎
Now, ℎ = 𝑛
8−2
ℎ= 6
𝒉 = 𝟏, 𝑛 = 6
𝒙 2 3 4 5 6 7 8
1 3.3219 2.0959 1.6610 1.4307 1.2851 1.1833 1.1073
𝑦=
log10 𝑥
Wkt,
𝑏 ℎ
∫𝑎 𝑦 𝑑𝑥 = 3 [(𝑦0 + 𝑦6 ) + 4(𝑦1 + 𝑦3 + 𝑦5 ) + 2(𝑦2 + 𝑦4 )]
8 1 1
∫2 𝑑𝑥 = 3 [(3.3219 + 1.1073) + 4(2.0959 + 1.4307 + 1.1833) + 2(1.661 +
log10 𝑥
1.2851)]
𝟖 1
∫𝟐 𝒅𝒙 = 𝟗. 𝟕𝟐𝟎𝟑
log10 𝑥
𝟑𝒕𝒉
Simpson’s rule
𝟖
Formula:
𝑏
3ℎ
∫ 𝑦 𝑑𝑥 = [(𝑦0 + 𝑦𝑛 ) + 3(𝑦1 + 𝑦2 + 𝑦4 + ⋯ + 𝑦𝑛−1 ) + 2(𝑦3 + 𝑦6 + 𝑦9 + ⋯ + 𝑦𝑛−3 )]
8
𝑎
𝑏−𝑎
Where, ℎ = 𝑛
3𝑡ℎ
Note: To apply 8 rule 𝑛 must be multiple of 3.
Problems
1 1 3𝑡ℎ
1. Evaluate ∫0 (1+𝑥)
𝑑𝑥 by taking 7 ordinate using Simpson’s 8 rule. Hence deduce
the value of log2.
1
Sol: Given a = 0 , b = 1 , y = (1+𝑥)
𝑏−𝑎
Now, ℎ = ,𝑛=6
𝑛
1−0
ℎ= 6
𝟏
𝒉=𝟔
1
1 1 3∗
𝟔
∫0 (1+𝑥) 𝑑𝑥 = [(1 + 0.5) + 3(0.8571 + 0.75 + 0.6 + 0.5455) + 2(0.6667)]
8
𝟏 𝟏
∫𝟎 (𝟏+𝒙)
𝒅𝒙 = 𝟎. 𝟔𝟗𝟑𝟐
By integration,
1 1
∫0 𝑑𝑥 = [𝑙𝑜𝑔(1 + 𝑥)]10
1+𝑥
0.6932 = [𝑙𝑜𝑔2 − 𝑙𝑜𝑔1]
𝒍𝒐𝒈𝟐 = 𝟎. 𝟔𝟗𝟑𝟐
3𝑡ℎ 4 1⁄
2. Use Simpson’s 8 rule to evaluate ∫1 𝑒 𝑥 𝑑𝑥 by taking 3 equal parts.
1
Sol: Given a = 1 , b = 4 , y = 𝑒 ⁄𝑥
𝑏−𝑎
Now, ℎ = ,𝑛=3
𝑛
4−1
ℎ= 3
𝒉=𝟏
𝒙 1 2 3 4
Wkt,
𝑏 3ℎ
∫𝑎 𝑦 𝑑𝑥 = [(𝑦0 + 𝑦3 ) + 3(𝑦1 + 𝑦2 )]
8
4 1⁄ 3∗1
∫1 𝑒 𝑥 𝑑𝑥 = [(2.7183 + 1.2840 ) + 3(1.6487 + 1.3956 )]
8
𝟒 𝟏⁄
∫𝟏 𝒆 𝒙 𝒅𝒙 = 𝟒. 𝟗𝟐𝟓𝟕
5.2 3𝑡ℎ
3. Evaluate ∫4 log 𝑒 𝑥 𝑑𝑥 using Simpson’s 8 rule by taking 6 equal parts.
Sol: Given a = 4 , b = 5.2 , y = log 𝑒 𝑥
𝑏−𝑎
Now, ℎ = ,𝑛=6
𝑛
Wkt,
𝑏 3ℎ
∫𝑎 𝑦 𝑑𝑥 = [(𝑦0 + 𝑦6 ) + 3(𝑦1 + 𝑦2 + 𝑦4 + 𝑦5 ) + 2(𝑦3 )]
8
5.2 3∗(0.2)
∫4 log 𝑒 𝑥 𝑑𝑥 = [(1.3863 + 1.6487) + 3(1.4351 + 1.4816 + 1.5686 + 1.6094) +
8
2(1.5261)]
𝟓.𝟐
∫𝟒 𝒍𝒐𝒈𝒆 𝒙 𝒅𝒙 = 𝟏. 𝟖𝟐𝟕𝟖
0.3 3⁄ 3𝑡ℎ
4. Evaluate ∫0 (1 − 8𝑥 2 ) 2 𝑑𝑥 using Simpson’s 8 rule by taking 7 ordinates.
3⁄
Sol: Given a = 0 , b = 0.3 , y = (1 − 8𝑥 2 ) 2
𝑏−𝑎
Now, ℎ = ,𝑛=6
𝑛
0.3−0
ℎ= 6
𝒉 = 𝟎. 𝟎𝟓
0.3 3⁄ 3∗(0.05)
∫0 (1 − 8𝑥 2 ) 2 𝑑𝑥 = 8
[(1 + 0.1482) + 3(0.9702 + 0.8824 + 0.5607 + 0.3536) +
2(0.7425)]
𝟎.𝟑 𝟑⁄
∫𝟎 (𝟏 − 𝟖𝒙𝟐 ) 𝟐 𝒅𝒙 = 𝟎. 𝟐𝟎𝟓𝟎
1 𝑥2 3𝑡ℎ
5. Evaluate ∫0 𝑑𝑥 using Simpson’s 8 rule by taking 7 ordinates and hence find
1+𝑥 3
log2.
𝑥2
Sol: Given a = 0 , b = 1 , y = 1+𝑥 3
𝒙 0 1 2 3 4 5 1
6 6 6 6 6
𝑥2 0 0.0276 0.1071 0.2222 0.3429 0.4399 0.5
y=
1 + 𝑥3
Wkt,
𝑏 3ℎ
∫𝑎 𝑦 𝑑𝑥 = [(𝑦0 + 𝑦6 ) + 3(𝑦1 + 𝑦2 + 𝑦4 + 𝑦5 ) + 2(𝑦3 )]
8
1 1
𝑥2 3∗𝟔
∫ 𝑑𝑥 = [(0 + 0.5) + 3(0.0267 + 0.1071 + 0.3429 + 0.4399) + 2(0.2222)]
1 + 𝑥3 8
0
𝟏 𝒙𝟐
∫𝟎 𝒅𝒙 = 𝟎. 𝟐𝟑𝟏𝟏
𝟏+𝒙𝟑
By integration,
1 𝑥2 1 1 3𝑥 2
∫0 𝑑𝑥 = 3 ∫0 𝑑𝑥
1+𝑥 3 1+𝑥 3
1
0.2311 = [𝑙𝑜𝑔(1 + 𝑥 3 )]10
3
1
0.2311 = 3 [𝑙𝑜𝑔2 − 𝑙𝑜𝑔1]
𝑙𝑜𝑔2 = 3 ∗ 0.2311
⇒ 𝒍𝒐𝒈𝟐 = 𝟎. 𝟔𝟗𝟑𝟑
6 𝑑𝑥 3𝑡ℎ
6. Evaluate ∫0 using Simpson’s rule by taking 7 ordinates.
1+𝑥 2 8
1
Sol: Given a = 0 , b = 6 , y = 1+𝑥 2
𝑏−𝑎
Now, ℎ = ,𝑛=6
𝑛
6−0
ℎ= 6
𝒉=𝟏
𝒙 0 1 2 3 4 5 6
6 1 3∗1
∫0 𝑑𝑥 = [(1 + 0.5) + 3(0.5 + 0.2 + 0.0588 + 0.0385) + 2(0.1)]
1+𝑥 2 8
𝟔 𝟏
∫𝟎 𝒅𝒙 = 𝟏. 𝟑𝟓𝟕𝟏
𝟏+𝒙𝟐
1 𝑥 3𝑡ℎ
7. Evaluate ∫0 𝑑𝑥 using Simpson’s 8 rule by taking 3 equal parts and hence find
1+𝑥 2
𝑙𝑜𝑔√2.
𝑥
Sol: Given a = 0 , b = 1 , y = 1+𝑥 2
𝑏−𝑎
Now, ℎ = ,𝑛=3
𝑛
1−0
ℎ= 3
𝟏
𝒉=𝟑
𝑥 0 𝟏 𝟐 1
𝟑 𝟑
𝑥 0 0.3 0.4615 0.5
y=
1 + 𝑥2
Wkt,
𝑏 3ℎ
∫𝑎 𝑦 𝑑𝑥 = [(𝑦0 + 𝑦3 ) + 3(𝑦1 + 𝑦2 )]
8
1
1 𝑥 3∗
3
∫0 𝑑𝑥 = [(0 + 0.5) + 3(0.3 + 0.4615)]
1+𝑥 2 8
𝟏 𝒙
∫𝟎 𝒅𝒙 = 𝟎. 𝟑𝟒𝟖𝟏
𝟏+𝒙𝟐
By integration,
1 𝑥 1 1 2𝑥
∫0 1+𝑥 2 𝑑𝑥 = 2 ∫0 1+𝑥 2 𝑑𝑥
1
0.3481 = 2 [𝑙𝑜𝑔(1 + 𝑥 2 )]10
1
0.3481 = 2 [𝑙𝑜𝑔2 − 𝑙𝑜𝑔1]
1
2
𝑙𝑜𝑔2 = 0.3481
Wkt,
𝑏 3ℎ
∫𝑎 𝑦 𝑑𝑥 = [(𝑦0 + 𝑦3 ) + 3(𝑦1 + 𝑦2 )]
8
𝜋 𝜋
3∗
𝑠𝑖𝑛𝑥 6
[(1 + 2.7183) + 3(1.6487 + 2.3774)]
∫0 𝑒
2 𝑑𝑥 = 8
𝝅
∫𝟎𝟐 𝒆𝒔𝒊𝒏𝒙 𝒅𝒙 = 𝟑. 𝟏𝟎𝟎𝟏
Analytical methods, when available, generally enable to find the value of y for all
values of x. Numerical methods, on the other hand, lead to the values of y
corresponding only to some finite set of values of x. That is the solution is obtained as a table
of values, rather than as continuous function. Moreover, analytical solution, if it can be found,
is exact, whereas a numerical solution inevitably involves an error which should be small but
may, if it is not controlled, swamp the true solution. Therefore we must be concerned with
two aspects of numerical solutions of ODEs: both the method itself and its accuracy.
The most general form of an ODE of first order and first degree is given by
𝑑𝑦
= 𝑓(𝑥, 𝑦)𝑤ℎ𝑒𝑟𝑒 𝑦(𝑥0 ) = 𝑦0
𝑑𝑥
Let x by an independent variable and y be dependent variable.
𝑑𝑦
Let us consider the differential equation 𝑑𝑥 = 𝑓(𝑥, 𝑦)𝑤ℎ𝑒𝑟𝑒 𝑦(𝑥0 ) = 𝑦0 ----(1)
If particular values are given to the constants, then the resulting solution is called a
particular solution.
To obtain a particular solution from the general solution (1), we must be given
initial conditions so that the constants can be determined. If all the initial conditions
are specified at the same value of x then the problem is termed as initial value
problem. If the conditions are specified at more than one value of x, then the problem
is termed as boundary value problem.
Though there are many analytical methods for finding the solution of the
equation of the form (1), there exist large number of ODE’s whose solution cannot be
obtained by the known analytical methods. In such cases, we use numerical methods
to get an approximate solution of a given differential equation under the prescribed
conditions
𝑑𝑦
Consider the first order differential equation = 𝑓(𝑥, 𝑦)
𝑑𝑥
Let y(x0), y(x1), y(x2), y(x3)....y(xm) be the solution values at the points x0, x1, x2, x3,-- xm
We wish to find the approximate values y0 , y1, ........, ym to these solution values.
Let the initial condition be y(x0 ) = y0 . Let the exact solution y(x) of the given
differential equation be represented by a continuous curve. Divide the interval
(Xo,Xm))on which the solution is derived into a finite number of equispaced
subintervals.
Exact solution
For each xi, the approximate values of the dependent variable y(x) are calculated using
a suitable recursive formula. These values are y0, y1, ......, ym and these are shown by
points. Computation of these approximate values is known as Numerical solution of the
Differential equation.
𝑑𝑦
= 𝑥 + 𝑦 , 𝑦(0) = 0
𝑑𝑥
Solution:
𝑦1 = 𝑥 + 𝑦 𝑦1 (0) = 1
Differentiate with respect to x we get
𝑦2 = 1 + 𝑦1 𝑦2 (0) = 2
𝑦3 = 𝑦2 𝑦3 (0) = 2
ℎ ℎ2 ℎ3 ℎ4
𝑦 = 𝑓(𝑥1 ) = 𝑦0 + 1! 𝑦01 + 𝑦 2+ 𝑦 3+ 𝑦0 4 + ⋯.---------- (2)
2! 0 3! 0 4!
𝑦1 = 0.1103
∴ y1 =y(1.1) = 0.1103
ℎ ℎ2 ℎ3 ℎ4
𝑦2 = 𝑓(𝑥2 ) = 𝑦1 + 1! 𝑦11 + 𝑦 2+ 𝑦 3+ 𝑦1 4 + ⋯.-
2! 1 3! 1 4!
Example-2:
Using the Taylor’s series method , find an approximate solution correct to four decimals at
𝑑𝑦
x=0.1 for the IVP = 𝑥 − 𝑦 2 , 𝑦(0) = 1
𝑑𝑥
Solution:
𝑦1 = 𝑥 − 𝑦 2 𝑦1 (0) = 0 − 12 = −1
Differentiating w.r.t ‘x’ we get
𝑦2 = 1 − 2𝑦𝑦1 𝑦2 (0) = 1 − 2(1)(−1) = 3
𝑦3 = −(2𝑦𝑦2 + 2𝑦12 ) 𝑦3 (0) = −(2(1)(3) + 2(−1)2 ) = −8
𝑦4 = −2(𝑦𝑦3 + 3𝑦1 𝑦2 ) 𝑦4 (0) = −2(1(−8) + 3(−1)(3)) = 34
𝑦 (0.1)=0.91379
Example-3:
Using the Taylor’s series method , find an approximate solution correct to four decimals at
𝑑𝑦
x=0.1 for the IVP 𝑑𝑥 = 𝑥 2 𝑦 − 1, 𝑦(0) = 1
Solution:
𝑦1 = 𝑥 2 𝑦 − 1 𝑦1 (0) = 0 − 1 = −1
Differentiating w.r.to.x we get
𝑦2 = 2𝑥𝑦 + 𝑥 2 𝑦1 𝑦2 (0) = 2 ∗ 0 ∗ 1 + 0 = 0
𝑦3 = 2𝑥𝑦1 + 2𝑦 + 2𝑥𝑦1 + 𝑥 2 𝑦2
add the same term we get
𝑦3 = 4𝑥𝑦1 + 2𝑦 + 𝑥 2 𝑦2 𝑦3 (0) = 4 ∗ 0 ∗ −1 + 2 ∗ 1 + 0 = 2
𝑦4 = 4𝑥𝑦2 + 4𝑦1 + 2𝑦1 + 𝑥 2 𝑦3 + 2𝑥𝑦2
𝑦4 = 6𝑥𝑦2 + 6𝑦1 + 𝑥 2 𝑦3 𝑦4 (0) = 0 + 6(−1) + 0 = −6
(𝑥 − 𝑥0 ) 1 (𝑥 − 𝑥0 )2 2 (𝑥 − 𝑥0 )3 3
𝑓(𝑥) = 𝑦0 + 𝑦0 + 𝑦0 + 𝑦0 + ⋯.
1! 2! 3!
Where x=0.1 and 𝑥0 = 0 we get
0.1 0.12 0.13 0.14
𝑦1 = 𝑓(0.1) = 1 + (−1) + (0) + (2) + (−6) + ⋯
1! 2! 3! 4!
𝑦(0.1)=0.9003
Example-4:
Using the Taylor’s series method , find an approximate solution correct to four decimals at
𝑑𝑦
x=0.1 for the IVP 𝑑𝑥 = 2𝑦 + 3𝑒 𝑥 , 𝑦(0) = 0
Solution:
𝑦1 = 2𝑦 + 3𝑒 𝑥 𝑦1 (0) = 0 + 3𝑒 0 = 3
Differentiating w.r.t x we get
𝑦2 = 2𝑦1 + 3𝑒 𝑥 𝑦2 (0) = 2 ∗ 3 + 3𝑒 0 = 9
(𝑥 − 𝑥0 ) 1 (𝑥 − 𝑥0 )2 2 (𝑥 − 𝑥0 )3 3
𝑓(𝑥) = 𝑦0 + 𝑦0 + 𝑦0 + 𝑦0 + ⋯.
1! 2! 3!
Where x=0.1 and 𝑥0 = 0 we get
0.1 0.12 0.13 0.14
𝑦1 = 𝑓(0.1) = 0 + (3) + (9) + (21) + (45) + ⋯
1! 2! 3! 4!
𝑦(0.1)=0.3487
Example-5:
𝑑𝑦
Using the Taylor’s series method , solve 𝑑𝑥 = 𝑥 2 + 𝑦 in the range 0 ≤ 𝑥 ≤ 0.2 by taking step
size h=0.1 given that y=10 at x=0 initially considering terms upto the fourth degree.
Sol: in this problem ,since step size is specified as 0.1 , the problem has to be done in two
stage .
Stage 1: By data 𝑦1 = 𝑥 2 + 𝑦 , 𝑦(0) = 10
𝑦1 = 𝑥 2 + 𝑦 𝑦1 (0) = 0 + 10 = 10
Differentiating w.r.to.x we get
𝑦2 = 2𝑥 + 𝑦1 𝑦2 (0) = 2(0) + 10 = 10
𝑦3 = 2 + 𝑦2 𝑦3 (0) = 2 + 10 = 12
𝑦4 = 𝑦3 𝑦4 (0) = 12
(𝑥−𝑥0 ) (𝑥−𝑥0 )2 (𝑥−𝑥0 )3
We have 𝑓(𝑥) = 𝑦0 + 𝑦01 + 𝑦0 2 + 𝑦0 3 + ⋯.
1! 2! 3!
(2) ℎ (1)
Third approximation 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )] and so on
Example :1
𝑑𝑦 1
Using the modified Euler’s method, solve the IVP 𝑑𝑥 = 𝑥+𝑦 , 𝑦(0) = 1 at points x=0.5
and x=1 in steps of length h=0.5. Carry out two modifications at each step.
Solution:
𝑑𝑦 1
= 𝑓(𝑥, 𝑦) = 𝑥+𝑦 𝑥0 = 0 , 𝑦0 = 1 𝑡𝑎𝑘𝑖𝑛𝑔 ℎ = 0.5
𝑑𝑥
(𝐸) 1 0.5
𝑦1 = 𝑦0 + ℎ𝑓(𝑥0 , 𝑦0 ) = 𝑦0 + ℎ 𝑥 = 1 + 0+1 = 1.5
0 +𝑦0
ℎ 1 1 0.5 1 1
= 𝑦0 + [ + 𝐸 ]= 1+ [ + ] = 1.375
2 𝑥0 + 𝑦0 𝑥0 + 𝑦1 2 0 + 1 0.5 + 1.5
(2) ℎ (1)
Second modification 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )]
ℎ 1 1 0.5 1 1
= 𝑦0 + [ + 1 ]=1+ [ + ] = 1.3833
2 𝑥0 + 𝑦0 𝑥0 + 𝑦1 2 0 + 1 0.5 + 1.375
(1) ℎ (𝐸)
First modification 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )]
ℎ 1 1 0.5 1 1
= 𝑦0 + [ + 𝐸 ] = 1.3833 + [ + ]=
2 𝑥0 + 𝑦0 𝑥0 + 𝑦1 2 0.5 + 1.3833 1 + 1.6488
= 1.6104
(2) ℎ (1)
second modification 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )]
ℎ 1 1 0.5 1 1
= 𝑦0 + [ + 1 ] = 1.3833 + [ + ]
2 𝑥0 + 𝑦0 𝑥0 + 𝑦1 2 0.5 + 1.3833 1 + 1.6104
= 1.6118
ℎ 0.1
= 𝑦0 + [𝑥0 + 𝑦02 + 𝑥0 + ((𝑦1𝐸 )2 )] = 1 + [0 + 1 + (0.1 + 1.12 )] = 1.1155
2 2
(2) ℎ (1)
second modification 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )]
Solution:
𝑑𝑦 𝑦
= 𝑓(𝑥, 𝑦) = 1 + 𝑥 𝑥0 = 1 , 𝑦0 = 2 𝑡𝑎𝑘𝑖𝑛𝑔 ℎ = 0.2
𝑑𝑥
(𝐸) 𝑦 2
𝑦1 = 𝑦0 + ℎ𝑓(𝑥0 , 𝑦0 ) = 𝑦0 + ℎ [1 + 𝑥0 ] = 2 + 0.2(1 + 1) = 2.6
0
(1) ℎ (𝐸)
First modification 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )]
(𝐸)
ℎ 𝑦0 𝑦 0.2 2 2.6
= 𝑦0 + [1 + + 1 + 1 ] = 2 + [1 + + (1 + )] = 2.6167
2 𝑥0 𝑥0 2 1 1.2
(2) ℎ (1)
second modification 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )]
(1)
ℎ 𝑦0 𝑦 0.2 2 2.6167
= 𝑦0 + [1 + + 1 + 1 ] = 2 + [1 + + (1 + )] = 2.6181
2 𝑥0 𝑥0 2 1 1.2
(3) ℎ (2)
Third modification 𝑦1 = 𝑦0 + 2 [𝑓(𝑥0 , 𝑦0 ) + 𝑓(𝑥1 , 𝑦1 )]
(2)
ℎ 𝑦0 𝑦 0.2 2 2.6181
= 𝑦0 + [1 + + 1 + 1 ] = 2 + [1 + + (1 + )] = 2.61812
2 𝑥0 𝑥0 2 1 1.2
Example:4
dy
Using Modified Euler’s method, find y(0.1) given x 2 y & y 1 when x = 0 by taking
dx
h = 0.05. Perform two iterations in each step.
Solution:
f ( x, y) x 2 y, x0 0, y0 1& h 0.05, Hence f ( x0 , y0 ) 0 1 1
y1(0) y0 hf ( x0 , y0 ) 1 0.05 1 1.05 . Now f ( x1 , y1(0) ) 0.052 1.05 1.0525
𝑦 −𝑥 1−0
𝑘1 = ℎ𝑓(𝑥0 , 𝑦0 ) = ℎ (𝑦0 +𝑥0 ) =(0.2) (1+0) = 0.2
0 0
𝑘 ℎ
ℎ 𝑘1 𝑦0 + 21 − ( 𝑥0 + 2)
𝑘2 = ℎ𝑓 (𝑥0 + , 𝑦0 + ) = ℎ ( )
2 2 𝑘1 ℎ
𝑦0 + 2 + ( 𝑥0 + 2)
1.1−0.1
= 0.2 (1.1+0.1) = 0.16667
𝑘 ℎ
ℎ 𝑘2 𝑦0 + 2 −( 𝑥0 + )
2 2
𝑘3 = ℎ𝑓 (𝑥0 + 2 , 𝑦0 + )=ℎ ( 𝑘 ℎ )
2 𝑦0 + 2 +( 𝑥0 + )
2 2
1+0.083335−0.1 0.196667
= 0.2 (1.1+0.11+0.083335+0.1) = 1.183335 = 0.166197
𝑦 +𝑘 −( 𝑥 +ℎ)
𝑘4 = ℎ𝑓(𝑥0 + ℎ, 𝑦0 + 𝑘3 ) = ℎ (𝑦0 +𝑘3 +( 𝑥0 +ℎ))
0 3 0
0.2+2(0.16667)+2(0.166197)+0.14144
=1+ 6
𝑦1 =1.16786
Example :2
𝑑𝑦
Using RK method of fourth order , to find y(0.2), given that 𝑑𝑥 = 𝑥 2 − 𝑦 𝑎𝑛𝑑 𝑦(0) =
1 𝑡𝑎𝑘𝑒 ℎ = 0.1
Solution
𝑑𝑦
= 𝑓(𝑥, 𝑦) = 𝑥 2 − 𝑦 , 𝑥 0 = 0, 𝑦0 = 1 𝑎𝑛𝑑 ℎ = 0.1 then 𝑥1 = 𝑥0 + ℎ = 0.1
𝑑𝑥
0.1 2 −0.1
= 0.1 (0 + ) − (1 + ) = 0.1( (0.05)2 − 0.95) = −0.09475
2 2
ℎ 𝑘2 ℎ 2 𝑘2
𝑘3 = ℎ𝑓 (𝑥0 + , 𝑦0 + ) = ℎ ((𝑥0 + ) − (𝑦0 + ))
2 2 2 2
= 0.90516
Example 3: Use fourth Runge –Kutta method to find at x 0.1 given that
dy
3e x +2y, y(0) and h=0.1
dx
>> By data, f(x,y)=3 e x +2y, x 0 =0, y 0 =0,h=0.1
k 3 hf x 0 (0.1) f (0.05,0.1727)
h k2
, y0
2 2
=(0.1) 3e 0.1 2(0.3499) 0.4015
𝑘1 +2𝑘2 +2𝑘3 +𝑘4
𝑦1 = 𝑦0 + 6
0.3+2(0.3454)+2(0.3499)+0.4015
=1+ 6
= 0.3487
Example 4:
Use fourth order Runge-kutta method to compute y(1.1) given that
1
xy 3 , y1 1
dy
dx
Solution
1
>>By data f ( x, y) xy 3 x 0 1 , y 0 1 and we need to compute y(1.1) implies
x0 h 1.1 h 0.1
We shall compute k1 , k 2 , k 3 , k 4
1
k1 hf ( x0, y 0 ) (0.1) f (1,1) (0.1) (1)(1) 3 0.1
h
k 2 hf x0 , y0 k1 (0.1) f (1.05,1.05)
2 2
1
= (0.1) [(1.05)(1.05) 3]
0.1067
k
k 3 hf x 0 (0.1) f (1.05,1.05335)
h
, y0 2
2 2
1
(0.1)[(1.05)91.05335) ] 0.1068 3
k 4 hf ( x0 h, y 0 k 3) (0.1) f (1.1,1.1068)
1
= (0.1) [ (1.1)(1.1068) 3 ] =0.1138
1
y(x 0 + h )=y 0 + [0.1+2(0.1067)+2(0.1068)+0.1138]
6
y(1.1)=1.1068
= 2.9145
Example 6:
Using Runge Kutta method of fourth order solve (𝒚𝟐 −𝒙𝟐 )𝒅𝒙 = (𝒚𝟐 +𝒙𝟐 )𝒅𝒚
𝒇𝒐𝒓 𝒙 = 𝟎. 𝟐 𝒂𝒏𝒅 𝟎. 𝟒 𝒈𝒊𝒗𝒆𝒏 𝒕𝒉𝒂𝒕 𝒚 = 𝟏 𝒂𝒕 𝒙 = 𝟎 𝒊𝒏𝒊𝒕𝒊𝒂𝒍𝒍𝒚 ,
𝒃𝒚 𝒂𝒑𝒑𝒍𝒚𝒊𝒏𝒈 𝑹𝒖𝒏𝒈𝒆 − 𝑲𝒖𝒕𝒕𝒂 𝒎𝒆𝒕𝒉𝒐𝒅 𝒐𝒇 𝒐𝒓𝒅𝒆𝒓 𝟒.
Solution:
(𝒚𝟐 −𝒙𝟐 )
We have 𝑓(𝑥, 𝑦) = (𝒚𝟐 +𝒙𝟐 ) , 𝑥 0 = 0, 𝑦0 = 1 𝑎𝑛𝑑 ℎ = 0.2
Stage -1:
(𝒚𝟐 −𝒙𝟐 )
𝑓(𝑥, 𝑦) = (𝒚𝟐 +𝒙𝟐 )
Stage-2:
𝑑𝑦 (𝒚𝟐 −𝒙𝟐 )
= 𝑓(𝑥, 𝑦) = (𝒚𝟐 +𝒙𝟐 ) , 𝑥 0 = 0.2, 𝑦0 = 1.196 𝑎𝑛𝑑 ℎ = 0.2 then 𝑥1 = 𝑥0 + ℎ = 0.4
𝑑𝑥
Milne’s Method:
The method in which the construction of yn involves the use of not only yn-1but also
predecessors are called multi step methods. In multi-step methods two formulas are used
in conjunction with each other- one for predicting the value of yn and the other for
correcting the predicted value of yn.
𝑑𝑦
Consider the IVP = 𝑓(𝑥, 𝑦) − − − (1)
𝑑𝑥
𝐼𝑓 𝑤𝑒 𝑤𝑖𝑠ℎ 𝑡𝑜 ℎ𝑎𝑣𝑒 𝑚𝑜𝑟𝑒 𝑎𝑐𝑐𝑢𝑟𝑎𝑡𝑒 𝑎𝑝𝑝𝑟𝑜𝑥𝑖𝑚𝑎𝑡𝑖𝑜𝑛 𝑓𝑜𝑟 𝑦 , 𝑤𝑒 𝑒𝑚𝑝𝑙𝑜𝑦 𝑡ℎ𝑒 𝑝𝑟𝑜𝑐𝑒𝑠𝑠 𝑟𝑒𝑝𝑒𝑎𝑡𝑒𝑑𝑙𝑦
Example :1
Use Milne’s predictor –corrector method to find the value of y at x=0.8, given
𝑑𝑦
= 𝑥 − 𝑦 2 Where y(0)=0 , y(0.2)=0.02 , y(0.4)=0.0795 , y(0.6)=0.1762. Apply
𝑑𝑥
corrector formula twice.
Solution:
𝐻𝑒𝑟𝑒 𝑓(𝑥, 𝑦) = 𝑥 − 𝑦 2 , ℎ = 0.2
X Y 𝑓(𝑥, 𝑦) = 𝑥 − 𝑦 2
(𝑝) 4ℎ 4 ∗ 0.2
𝑦4 = 𝑦0 + (2𝑓1 − 𝑓2 + 2𝑓3 ) = 0 + (2(0.1996) − 0.3937 + 2(0.5689))
3 3
= 0.3048
(𝑝) (𝑝) (𝑝) 2
𝑓4 = 𝑓(𝑥4 , 𝑦4 ) = 𝑥4 − 𝑦4 = 0.8 − (0.30488)2 = 0.7070
Now , the Milne’s corrector formula gives a corrected value of y4 as
X Y 2 − 𝑦2
𝑓(𝑥, 𝑦) = [ ]
5𝑥
x0=4 y0=1 𝑓 2−1.00972
0=[ ]=0.04669
5(4.2)
X1=4.1 y1=1.0049 𝑓 2−1.00972
1=[ ]=0.04669
5(4.2)
2
X2=4.2 y2=1.0097 2 − 1.0097
[ ] = 0.04669
5(4.2)
X3=4.3 y3=1.0143 2 − 1.00972
[ ] = 0.04517
5(4.2)
X4=4.4 Y4=1.0187 2 − 1.00972
[ ] = 0.04374
5(4.2)
Now , Milne’s Predictor formula yields the predicted value of y4 as
(𝑝) 4ℎ
𝑦4 = 𝑦0 + (2𝑓1 − 𝑓2 + 2𝑓3 )
3
4 ∗ 0.1
= 1.0049 + (2(0.04669) − 0.04517 + 2(0.04374)) = 1.02299
3
Example :3
Use Milne’s predictor –corrector method Given the differential equation, given
𝑑𝑦
= 𝑥 2 (1 + 𝑦) x at 1.4 . Carry out two corrections for the solution, given that y(1)=1,
𝑑𝑥
y(1.1)=1.233 , y(1.2)=1.548 , y(1.3)=1.979.
Solution:
𝐻𝑒𝑟𝑒 𝑓(𝑥, 𝑦) = 𝑥 2 (1 + 𝑦) , ℎ = 0.1
X Y 𝑓(𝑥, 𝑦) = 𝑥 2 (1 + 𝑦)
x0=1 y0=1 𝑓0=12 (1+1) =2
X1=1.1 y1=1.233 𝑓1 = 2.702
X2=1.2 y2=1.548 𝑓2 = 3.669
X3=1.3 y3=1.979 𝑓3 = 5.035
(𝑝) 4ℎ
𝑦4 = 𝑦0 + 3 (2𝑓1 − 𝑓2 + 2𝑓3 )
4(0.1)
=1+ (2 ∗ 2.702 − 3.669 + 2 ∗ 5.035) = 2.572 ------------(1)
3
(𝑝) (𝑝) (𝑝)
𝑓4 = 𝑓(𝑥4 , 𝑦4 ) = 𝑥42 (1 + 𝑦4 ) = 1.42 (1 + 2.572) = 5.0008
(𝑐) ℎ (𝑝)
𝑦4 = 𝑦2 + (𝑓2 + 4𝑓3 + 𝑓4 ) − − − − − −(2)
3
0.1
= 1.548 + (3.669 + 4 ∗ 5.035 + 5.0008) = 2.5089
3
Example :4
𝑑𝑦 𝑦
Use Milne’s predictor –corrector method Given the differential equation 𝑑𝑥 = 𝑥 2 + 2
find y(1.4) given that y(1)=2, y(1.1)=2.2156 , y(1.2)=2.4649 , y(1.3)=2.7514.
Solution:
𝑦
𝐻𝑒𝑟𝑒 𝑓(𝑥, 𝑦) = 𝑥 2 + 2 , ℎ = 0.1
X Y 𝑦
𝑓(𝑥, 𝑦) = 𝑥 2 +
2
x0=1 y0=2 𝑓0= 2
X1=1.1 y1=2.2156 𝑓1 = 2.3178
X2=1.2 y2=2.4649 𝑓2 = 2.6724
X3=1.3 y3=2.7514 𝑓3 = 3.0657
(𝑝) 4ℎ
𝑦4 = 𝑦0 + (2𝑓1 − 𝑓2 + 2𝑓3 )
3
(𝑝) 4(0.1)
𝑦4 =1+ (2 ∗ 2.3178 − 2.6724 + 2 ∗ 3.0657) = 3.0793 ------------(1)
3
(𝑝)
(𝑝) (𝑝) 𝑦 3.0793
𝑓4 = 𝑓(𝑥4 , 𝑦4 ) = 𝑥42 + 4 = 1.42 + = 3.49965
2 2
(𝑐) ℎ (𝑝)
𝑦4 = 𝑦2 + 3 (𝑓2 + 4𝑓3 + 𝑓4 ) − − − − − −(2)
0.1
= 2.4649 + (2.6724 + 4 ∗ 3.0657 + 3.49965) = 3.0794
3
(𝑝)
To get a correction of this solution 𝑦4 = 3.0794
(𝑝)
(𝑝) (𝑝) 𝑦 3.0794
𝑓4 = 𝑓(𝑥4 , 𝑦4 ) = 𝑥42 + 4 = 1.42 + = 3.4997
2 2
(𝑐) 0.1
𝑦4 = 2.4649 + (2.6724 + 4 ∗ 3.0657 + 3.4997) = 3.0794
3
(𝑝) 4ℎ
𝑦4 = 𝑦0 + (2𝑓1 − 𝑓2 + 2𝑓3 )
3
(𝑝) 4(0.1)
𝑦4 =1+ (2 ∗ 0.2003 − 0.4028 + 2 ∗ 0.6097) = 2.1623 ------------(1)
3
(𝑝) (𝑝) (𝑝)
𝑓4 = 𝑓(𝑥4 , 𝑦4 ) = 2𝑒 𝑥4 − 𝑦4 = 2𝑒 0.4 − 2.1623 = 0.8213
(𝑐) ℎ (𝑝)
𝑦4 = 𝑦2 + (𝑓2 + 4𝑓3 + 𝑓4 ) − − − − − −(2)
3
0.1
= 2.040 + (0.4028 + 4 ∗ 0.6097 + 0.8213) = 2.1621
3
(𝑝)
To get a correction of this solution 𝑦4 = 2.1621
(𝑝) (𝑝) (𝑝)
𝑓4 = 𝑓(𝑥4 , 𝑦4 ) = 2𝑒 𝑥4 − 𝑦4 = 2𝑒 0.4 − 2.1621 = 0.8215
(𝑐) 0.1
𝑦4 = = 2.040 + (0.4028 + 4 ∗ 0.6097 + 0.8215) = 2.1621
3
Exercises
1) Evaluate y (0.1) correct to 6 places of decimals by Taylor’s series method if y (x ) satisfies
x 2 x3 x 4 x 5 x 6
y ' xy 1, y (0) 1. [Ans: y( x) 1 x & y(0.1) =
2 3 8 15 48
1.1053]
2) Solve y ' y 2 x, y (0) 1 using Taylor’s series method & compute y (0.1) & y (0.2)
3 4 17 31 5
[Ans: y ( x) 1 x x 2 x3 x 4 x and y(0.1) = 1.1165, y(0.2) = 1.2734]
2 3 12 20
3) Use Taylor’s series method to find y at the point x 0.1 & x 0.2, given that
dy
x 2 y 2 , y (0) 1
dx
dy
7) Using Runge – Kutta method of order 4, compute y (0.2) & y (0.4) from 10 x2 y2,
dx
y (0) 1, taking h = 0.1 [Ans: 1.0207, 1.0438]
8) Use Runge – Kutta fourth order method to find y when x = 1.2 in steps of 0.1 given that
dy
x 2 y 2 & y (1) 1.5 [Ans: 2.5005]
dx
2x
9) Using Runge-Kutta method of order 4, compute y(0.2) for the equation, y ' y , y(0)
y
= 1.0 (Take h = 0.2) [Ans: 1.18323]
dy y x
10) Using Runge – Kutta method of order 4, find y(0.2) for the equation ,
dx y x
y ( 0 ) 1. Take h = 0.2. [Ans: 1.1678 ]
dy
11) If 2e x y , y(0) = 2, y(0.1) = 2.010, y(0.2) = 2.04 and y(0.3) = 2.09 find y(0.4)
dx
correct to four decimal places. By using Milne’s predictor-corrector method. (Use corrector
formula twice). [Ans: 2.1621 & 2.2546]
dy
12) Given 2 (1 x 2 ) y 2 & y (0) 1, y (0.1) 1.06, y (0.2) 1.12, y (0.3) 1.21. Evaluate
dx
y (0.4) by Milne’s predictor – corrector method.[Ans: 1.2797]