Uploaded by mahin

M-II digital notes 2018-19

advertisement
MALLA REDDY COLLEGE OF
ENGINEERING & TECHNOLOGY
(An Autonomous Institution – UGC, Govt.of India)
Recognizes under 2(f) and 12(B) of UGC ACT 1956
(Affiliated to JNTUH, Hyderabad, Approved by AICTE –Accredited by NBA & NAAC-“A” Grade-ISO 9001:2015 Certified)
MATHEMATICS-II
B.Tech – I Year – II Semester
DEPARTMENT OF HUMANITIES AND SCIENCES
INDEX
UNIT-I: Solutions of Algebraic and Transcendental Equations,
Interpolation
1- 41
UNIT-II: Numerical Methods
42-103
UNIT-III: Beta and Gamma Functions
104-122
UNIT-IV: Double and Triple Integrals
123-141
UNIT-V : Vector Calculus
142-191
(R18A0022)Mathematics-II
Objectives:
1. The aim of numerical methods is to provide systematic methods for solving problems in a
numerical form using the given initial data and also used to find the roots of an equation.
2. To learn the concepts curve fitting, numerical integration and numerical solutions of first
order ordinary differential equations.
3. Evaluation of improper integrals using Beta and Gamma functions.
4. Evaluation of multiple integrals.
5. In many engineering fields the physical quantities involved are vector valued functions.
Hence the vector calculus aims at basic properties of vector valued functions and their
applications to line, surface and volume integrals.
UNIT – I: Solutions of algebraic and transcendental equations, Interpolation
Solution of algebraic and transcendental equations: Introduction, Bisection Method, Method
of false position, Newton Raphson method and their graphical interpretations.
Interpolation: Introduction, errors in polynomial interpolation, Finite differences - Forward
differences, backward differences, central differences. Newton’s formulae for interpolation,
Gauss’s central difference formulae. Interpolation with unevenly spaced points - Lagrange’s
Interpolation.
UNIT – II: Numerical Methods
Numerical integration: Generalized quadrature - Trapezoidal rule, Simpson’s 1/3rd and
Simpson’s 3/8th rules.
Numerical solution of ordinary differential equations: Solution by Taylor’s series method,
Euler’s method, Euler’s modified method, Runge-Kutta fourth order method.
Curve fitting: Fitting a straight line, second degree curve, exponential curve, power curve by
method of least squares.
Unit III: Beta and Gamma functions
Introduction of improper integrals- Beta and Gamma functions - Relation between them, their
properties, Evaluation of improper integrals using Beta and Gamma functions.
Unit IV: Double and Triple Integrals
Double and triple integrals (Cartesian and polar), change of order of integration in double
integrals, Change of variables (Cartesian to polar).
Unit V: Vector Calculus
Introduction, Scalar point function and vector point function, Directional derivative, Gradient,
Divergence, Curl and their related properties, Laplacian operator, Line integral - Work done,
Surface integrals, Volume integral. Vector integral theoerem-Green’s Theorem, Stoke’s theorem
and Gauss’s Divergence Theorems (Statement & their Verification).
TEXT BOOKS:
i) Higher Engineering Mathematics by B V Ramana ., Tata McGraw Hill.
ii) Higher Engineering Mathematics by B.S. Grewal, Khanna Publishers.
iii) Mathematical Methods by S.R.K Iyenger, R.K.Jain, Narosa Publishers.
REFERENCE BOOKS:
i) Advanced Engineering Mathematics by Kreyszig, John Wiley & Sons.
ii) Advanced Engineering Mathematics by Michael Greenberg –Pearson publishers.
iii) Introductory Methods of Numerical Analysis by S.S. Sastry, PHI
Course Outcomes: After learning the contents of this paper the student will be able to
1. Find the roots of algebraic, non algebraic equations and predict the value at an
intermediate point from a given discrete data.
2. Find the most appropriate relation of the data variables using curve fitting and this
method of data analysis helps engineers to understand the system for better interpretation
and decision making.
3. Find a numerical solution for a given differential equation.
4. Evaluate multiple integrals and to have a basic understanding of Beta and Gamma
functions.
5. Evaluate the line, surface, volume integrals and converting them from one to another
using vector integral theorems.
MATHEMATICS-II
INTERPOLATION
UNIT-I
SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS,
INTERPOLATION
INTRODUCTION
Using mathematical modeling, most of the problems in engineering and physical and
economical sciences can be formulated in terms of system of linear or non linear
equations, ordinary or partial differential equations or Integral equations. In majority
of the cases, the solutions to these problems in analytical form are non-existent or
difficult or not amenable for direct interpretation. In all such problems, numerical
analysis provides approximate solutions are practical and amenable for analysis.
Numerical analysis does not strive for exactness. Instaed, it yields approximations
with specified degree of accuracy. The early disadvantages of the several numbers of
computations involved has been removed through high speed computation using
computers, giving results which are accurate, reliable and fast. Numerical approch is
not only a science but also an ‘art’ because the choice of ‘appropriate’ procedure
which ‘best’ suits to a given problem yields ‘good’ solutions.
Solution of algebraic and transcendental equations
Introduction:
Polynomial function: A function f ๏€จ x ๏€ฉ is said to be a polynomial function of nth degree, if
f ๏€จ x ๏€ฉ is a polynomial in x. i.e. ๐‘“(๐‘ฅ) = ๐‘Ž0 ๐‘ฅ ๐‘› + ๐‘Ž1 ๐‘ฅ ๐‘›−1 + โ‹ฏ … … … . . +๐‘Ž๐‘›−1 ๐‘ฅ + ๐‘Ž๐‘›
where a0 ๏‚น 0 , the co-efficients a0 , a1...........an are real constants and n is a non-negative
integer.
Algebraic function: A function which is a sum (or) difference (or) product of two
polynomials is called an algebraic function. Otherwise, the function is called a transcendental
(or) non-algebraic function.
Eg:
๐‘“ (๐‘ฅ ) = ๐‘ฅ 3 − 4๐‘ฅ 2 + 5๐‘ฅ − 2 is a algebraic equation
Eg:
๐‘“ (๐‘ฅ ) = ๐‘ฅ๐‘๐‘œ๐‘ ๐‘ฅ − ๐‘’ ๐‘ฅ = 0 is a Transcndental equation
Root of an equation: A number
๏ก is called a root of an equation f ๏€จ x ๏€ฉ ๏€ฝ 0 if
f ๏€จ๏ก ๏€ฉ ๏€ฝ 0 . We also say that ๏ก is a zero of the function.
Graphical view of a root of an equation:
y
o
root
x
The roots of an equation are the points where the graph y ๏€ฝ f ๏€จ x ๏€ฉ cuts the x-axis.
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
1
MATHEMATICS-II
INTERPOLATION
Methods to find the roots of an equation f (x) = 0:
1. Direct methods:
We know the solution of the polynomial equations such as linear equation
๐‘Ž๐‘ฅ + ๐‘ =0, and quadratic equation ax 2 ๏€ซ bx ๏€ซ c ๏€ฝ 0 , using direct methods or analytical methods.
Analytical methods for the solution of cubic and biquadratic equations are also available.But we are
unable to find roots of higher order (above fourth order) algebraic equations and also transcendental
euations.So,we go for Numerical methods i.e Iterative methods.
2. Iterative methods: The following are some iteravative methods to find an approximate
root of an equation
(1) Bisection Method
(2) Regula- Falsi Method
(3) Newton Raphson method
Intermediate value theorem: If f is a real-valued continuous function on the interval
[a, b], and u is a number between f(a) and f(b), then there is a c ∈ [a, b] such that f(c) = u.
Bisection method or Half-interval method:
Bisection method is a simple iteration method to find an approximate root of an equation.
Suppose that given equation of the form is ๐‘“(๐‘ฅ ) = 0.
In this method first we choose two points ๐‘ฅ0, ๐‘ฅ1 such that ๐‘“(๐‘ฅ0 ) and ๐‘“ (๐‘ฅ1 ) will have opposite
signs (i.e ๐‘“ (๐‘ฅ0 ). ๐‘“ (๐‘ฅ1 ) < 0) then the root lies in interval (๐‘ฅ0 , ๐‘ฅ1 ). Now we bisect this interval
at ๐‘ฅ2 ,if ๐‘“(๐‘ฅ2 ) = 0 then ๐‘ฅ2 is a root of an eqution otherwise the root lies in (๐‘ฅ0 , ๐‘ฅ2 ) or(๐‘ฅ2 , ๐‘ฅ1 )
accordingly ๐‘“(๐‘ฅ0 ). ๐‘“ (๐‘ฅ2 ) < 0 and ๐‘“(๐‘ฅ2 ). ๐‘“(๐‘ฅ1 ) < 0.
Assume that ๐‘“ (๐‘ฅ0 ). ๐‘“(๐‘ฅ2 ) < 0 then the root lies in interval (๐‘ฅ0 , ๐‘ฅ2 ) , now we bisect this
interval at ๐‘ฅ3 , ,if ๐‘“(๐‘ฅ3 ) = 0 then ๐‘ฅ3 is a root of an eqution otherwise the root lies in (๐‘ฅ0 , ๐‘ฅ3 )
or(๐‘ฅ3 , ๐‘ฅ2 ) accordingly ๐‘“ (๐‘ฅ0 ). ๐‘“ (๐‘ฅ3 ) < 0 and ๐‘“(๐‘ฅ3 ). ๐‘“ (๐‘ฅ2 ) < 0.
We continue this procedure till the root is found to the desired accuracy.
PROBLEMS
1. Using bisection method, find the negative root of x3 ๏€ญ 4 x ๏€ซ 9 ๏€ฝ 0
SOL:
Givenf(x)= x3 ๏€ญ 4 x ๏€ซ 9
f(-1)=-1+4+9=12>0
f(-2)=-8+8+9=9>0
f(-3)=-27+12+9=-6<0
Since f(-2)>0 and f(-3)<0 therefore root lies in interval (-2,-3)= (๐‘ฅ0 , ๐‘ฅ1 )
Bisect this interval to get next approximation ๐‘ฅ2
i.e ๐‘ฅ2 =
−๐Ÿ−๐Ÿ‘
๐Ÿ
= -2.5 ,
๐‘“ (−2.5) > 0
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
2
MATHEMATICS-II
INTERPOLATION
Since f(-2)>0 f(-2.5)>0 f(-3)<0 therefore root lies in (-2.5,-3)
Bisect this interval to get next approximation ๐‘ฅ3
−2.5−3
i.e ๐‘ฅ3 =
=-2.75 , ๐‘“ (−2.75) < 0
2
Since f(-2.5)>0 f(-2.75)<0 f(-3)<0 therefore root lies in (-2.5,-2.75)
Bisect this interval to get next approximation ๐‘ฅ4
−2.5−2.75
๐‘–. ๐‘’ ๐‘ฅ4 =
2
=--2.625, ๐‘“ (−2.625) < 0
Since f(-2.5)>0 f(-2.625)>0 f(-2.75)<0 therefore root lies in (-2.625,-2.75)
Bisect this interval to get next approximation ๐‘ฅ5
−2.625−2.75
i.e ๐‘ฅ5 =
2
=--2.6875 ,
๐‘“ (−2.6875) < 0
Since f(-2.625)>0 f(-2.6875)>0 f(-2.75)<0 therefore root lies in (-2.6875,-2.75)
Bisect this interval to get next approximation ๐‘ฅ6
−2.6875−2.75
i.e ๐‘ฅ6 =
2
=--2.7187,
๐‘“(−2.7187) < 0
We continue this procedure till the root is found to the desired accuracy. (stop the procedure
when two successive approximations are same up to four decamal places)
2). Find a root of the equation x3 ๏€ญ x ๏€ญ 1 ๏€ฝ 0 using the bisection method in 5 – stages
Sol.
Given ๐‘“ (๐‘ฅ ) = ๐‘ฅ 3 − ๐‘ฅ − 1
๐‘“ (1) = −1 < 0
๐‘“ (2) = 5 > 0
∴One root lies between 1 and 2
Now see f(1) is near to 0 than f(2). So root is near to 1
so again find f(1.1),f(1.2)……
Till one is + ve and another – ve.
Clearly f(1.1)<0,f(1.2)<0
f(1.3)=-0.103<0
f(1.4)=0.344>0
Since f(1.3)<0 and f(1.4)>0 therefore root lies in interval (1.3,1.4)= (๐‘ฅ0 , ๐‘ฅ1 )
Bisect this interval to get next approximation ๐‘ฅ2
1
i.e. x2 ๏€ฝ 2 ๏€จ1.3 ๏€ซ 1.4 ๏€ฉ ๏€ฝ 1.35
โ„Ž๐‘’๐‘Ÿ๐‘’ ๐‘“ (2) = 5 > 0
Since f(1.3)<0 f(1.35) > 0 f(1.4)>0 therefore root lies in (1.3,1.35)
Bisect this interval to get next approximation ๐‘ฅ3
1.3+1.35
i.e ๐‘ฅ3 =
2
=1.325 , ๐‘“(1.325) = 0.0012 > 0
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
3
MATHEMATICS-II
INTERPOLATION
Since f(1.3)<0 f(1.325)>0 f(1.35)>0 therefore root lies in (1.3,1.325)
Continuing like above upto two iterations nearly same upto three decimals,we get
Therefore, Approximate root is 1.32.
3) Find a root of an equation 3x= ๐’†๐’™ using bisection method.
Sol
Let f ๏€จ x ๏€ฉ ๏€ฝ 3x ๏€ญ e x
f ๏€จ1๏€ฉ ๏€ฝ 0.281718 ๏€พ 0
f ๏€จ 2๏€ฉ ๏€ฝ ๏€ญ1.389056 ๏€ผ 0
Since f(1)>0 and f(2)<0 therefore root lies in interval (1,2)= (๐‘ฅ0 , ๐‘ฅ1 )
Bisect this interval to get next approximation ๐‘ฅ2
x ๏€ซx
i.e x2 ๏€ฝ 0 1 ๏€ฝ 1.5 ๐‘“ (1.5) > 0
2
Since f(1)>0 f(1.5)>0 f(2)<0 therefore root lies in (1.5,2)
Bisect this interval to get next approximation ๐‘ฅ3
1.5+2
i.e ๐‘ฅ3 =
2
=1.75 ๐‘“ (๐‘ฅ3 ) = ๐‘“(1.75) < 0
Since f(1.5)>0 f(1.75)<0 f(2)<0 therefore root lies in (1.5,1.75)
Bisect this interval to get next approximation ๐‘ฅ4
1.5+1.75
๐‘–. ๐‘’ ๐‘ฅ4 =
2
=1.625, ๐‘“ (1.625) = 1.666 > 0
Continuing like above up to 12 iterations we get
๐‘ฅ11 = 1.512323
๐‘Ž๐‘›๐‘‘
๐‘ฅ12 = 1.512208
Therfore we got two successive iterations same up to three decimal places
Therefore, Approximate root is 1.512.
4. Find a root of an equation x ๐ฅ๐จ๐  ๐Ÿ๐ŸŽ ๐’™= 1.2 using bisection method which lies between 2
and 3
Sol:
Given ๐‘“(๐‘ฅ) = ๐‘ฅ ๐‘™๐‘œ๐‘”10 ๐‘ฅ − 1.2
f(1)=-1.2<0
f(2)=-0.59<0
f(3)=0.23>0
Since f(2)>0 and f(3)<0 therefore root lies in interval (2,3)= (๐‘ฅ0 , ๐‘ฅ1 )
Bisect this interval to get next approximation ๐‘ฅ2
2+3
i.e ๐‘ฅ2 =
2
=2.5
๐ป๐‘’๐‘Ÿ๐‘’ ๐‘“ (2.5) < 0
Since f(2)<0 f(2.5)<0 f(3)>0 therefore root lies in (2.5,3)
Bisect this interval to get next approximation ๐‘ฅ3
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
4
MATHEMATICS-II
INTERPOLATION
2.5+3
i.e๐‘ฅ3 =
=2.75 ๐ป๐‘’๐‘Ÿ๐‘’ ๐‘“(๐‘ฅ3) = ๐‘“(2.75) > 0
2
Continuing like above ,we get ๐‘ฅ9 = 2.7453 ๐‘ฅ10 =2.7406
Therefore, Approximate root is 2.741.
5.Find a root of an equation x = cosx using bisection method.
SOL:
๐บ๐‘–๐‘ฃ๐‘’๐‘› ๐‘“๐‘ฅ) = ๐‘ฅ – ๐‘๐‘œ๐‘ (๐‘ฅ)
๐‘“ (0) = 0 − ๐‘๐‘œ๐‘ 0 = −1 < 0
๐‘“(1) = 1 − ๐‘๐‘œ๐‘ 1 = 0.4597 > 0
๐‘กโ„Ž๐‘’๐‘› ๐‘œ๐‘›๐‘’ ๐‘Ÿ๐‘œ๐‘œ๐‘ก ๐‘š๐‘ข๐‘ ๐‘ก ๐‘๐‘’ ๐‘™๐‘–๐‘’๐‘  ๐‘๐‘’๐‘ก๐‘ค๐‘’๐‘’๐‘› ๐‘–๐‘› (0 , 1)
Here ๐‘“ (1)๐‘ฃ๐‘Ž๐‘™๐‘ข๐‘’ ๐‘–๐‘  ๐‘›๐‘’๐‘Ž๐‘Ÿ ๐‘ก๐‘œ ๐‘ง๐‘’๐‘Ÿ๐‘œ ๐‘ ๐‘œ
๐‘“(0.9) = 0.2784 > 0
๐‘“(0.8) = 0.1033 > 0
๐‘“(0.7) = −0.0648 < 0
Since f(0.7)<0 and f(8)>0 therefore root lies in interval (0.7,0.8)= (๐‘ฅ0 , ๐‘ฅ1 )
Bisect this interval to get next approximation ๐‘ฅ2
๐‘ฅ +๐‘ฅ
i.e , ๐‘ฅ2 = 0 2 1 =
0.7+0.8
2
= 0.75
๐‘“(0.75) = 0.0183 > 0
Since f(0.7)<0 f(0.75)>0 f(0.8)>0 therefore root lies in (0.7,0.75)
Bisect this interval to get next approximation ๐‘ฅ3
๐‘ฅ2 + ๐‘ฅ0 0.7 + 0.75
=
= 0.725
๐‘“(0.725) = −0.0235 < 0
2
2
Since f(0.7)<0 ๐‘“(0.725) < 0 f(0.75)>0 therefore root lies in (0.725,0.75)
Bisect this interval to get next approximation๐‘ฅ4
๐‘–. ๐‘’ ๐‘ฅ3 =
๐‘ฅ2 + ๐‘ฅ3 0.725 + 0.75
=
= 0.7375
๐‘“(0.7375) = −0.0027 < 0
2
2
Since ๐‘“(0.725) < 0 ๐‘“ (0.7375) < 0 f(0.75)>0 therefore root lies in (0.7375,0.75)
Bisect this interval to get next approximation ๐‘ฅ5
๐‘–. ๐‘’ ๐‘ฅ4 =
๐‘ฅ2 + ๐‘ฅ4 0.7375 + 0.75
=
= 0.7425
๐‘“(0.7425) = 0.0057 > 0
2
2
We continue this procedure till the root is found to the desired accuracy. (stop the procedure
when two successive approximations are same up to four decamal places)
๐‘‡โ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘ž๐‘ข๐‘–๐‘Ÿ๐‘’๐‘‘ ๐‘Ž๐‘๐‘๐‘Ÿ๐‘œ๐‘ฅ๐‘–๐‘š๐‘Ž๐‘ก๐‘’ ๐‘Ÿ๐‘œ๐‘œ๐‘ก = 0.7392.
6. Find a root of an equation ๐Ÿ‘๐’™ = ๐’„๐’๐’”๐’™ + ๐Ÿ using bisection method.
SOL:Given ๐‘“(๐‘ฅ) = 3 ๐‘ฅ − ๐‘๐‘œ๐‘  ๐‘ฅ – 1
๐‘“(0) = −2 < 0
๐‘“(1) = 1.4597 > 0
๐‘“(0.5) = −0.3776 < 0
Since f(0.5)<0 and f(1)>0 therefore root lies in interval (0.5,1)= (๐‘ฅ0 , ๐‘ฅ1 )
Bisect this interval to get next approximation ๐‘ฅ2
๐‘–. ๐‘’ ๐‘ฅ5 =
๐‘ฅ + ๐‘ฅ1
i.e ๐‘ฅ2 = 0
2
=
0.5+1
2
= 0.75
๐‘“(0.75) = 0.5183 > 0
Since f(0.5)<0 f(0.75)>0 f(1)>0 therefore root lies in (0.5,0.75)
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
5
MATHEMATICS-II
INTERPOLATION
Bisect this interval to get next approximation ๐‘ฅ3
๐‘ฅ +๐‘ฅ
๐‘–. ๐‘’ ๐‘ฅ3 = 2 2 0 =
0.5+0.75
2
= 0.625
๐‘“(0.625) = 0.06403 > 0
Since f(0.5)<0 ๐‘“(0.625) > 0 f(0.75)>0
therefore root lies in (0.5,0.625)
๐‘ฅ +๐‘ฅ
Bisect this interval to get next approximation๐‘ฅ4 ๐‘–. ๐‘’ ๐‘ฅ4 = 0 2 3 =
0.5+0.625
2
=
0.5625
๐‘“(0.5625) = −0.1584 < 0
Since f(0.5)<0 ๐‘“(0.5625) < 0 ๐‘“ (0.625) > 0 therefore root lies in (0.5625,0.625)
๐‘ฅ +๐‘ฅ
Bisect this interval to get next approximation ๐‘ฅ5 ๐‘–. ๐‘’ ๐‘ฅ5 = 3 2 4 =
0.5625+0.625
2
=
0.59375
๐‘“(0.59375) = −0.0475 < 0
We continue this procedure till the root is found to the desired accuracy.
(stop the procedure when two successive approximations are same up to four decamal places)
Therefore, Approximate root is 0.61.
7.Find the real root of the equation x3-5x+1=0 by bisection method.
Sol: given that f(x)= x3-5x+1
f(0)=1 >0 ,
f(1)= -3 <0
Hence the root lies between 0 and 1
Let the initial approximation be x0 =
0 ๏€ซ1
=0.5
2
f(0.5)= -1.375 < 0
since f(0) > 0 and f(0.5)<0
therefore the root lies between 0 and 0.5
0 ๏€ซ 0 .5
The second approximation x1=
=0.25
2
f(0.25)= -0.234 < 0
since f(0) > 0 f(0.25) < 0 f(0.5)<0
therefore the root lies between 0 and 0.25
the third approximation x2=
0 ๏€ซ 0.25
=0.125
2
Now f(0.125)=0.3749 > 0
f(0) > 0 f(0.125)>0 f(0.25) < 0
therefore the root lies between 0 and 0.125
continue this procedure till the desired occurucy is obtained.
False Position Method ( Regula – Falsi Method)
Using False position method we find the approximate root of the given equation f ๏€จ x ๏€ฉ ๏€ฝ 0 in
in this method first we choose two initial approximate values x0 and x1 such that ๐‘“(๐‘ฅ0 ) and
๐‘“(๐‘ฅ1 ) will have opposite signs i.e f ๏€จ x0 ๏€ฉ . f ๏€จ x1 ๏€ฉ <0. Therefore the root lies in interaval
(๐‘ฅ0 , ๐‘ฅ0 )
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
6
MATHEMATICS-II
INTERPOLATION
Here two cases occur (i) f ๏€จ x0 ๏€ฉ <0, f ๏€จ x1 ๏€ฉ >0 (ii) f ๏€จ x0 ๏€ฉ >0, f ๏€จ x1 ๏€ฉ <0
FIGURE OF CASE (I)
y
B
(x1,f(x1))
f(x1)>0
xC2
==
o
x
x3
f(x0)<0
root
A ((x0,f(x0))
(x
0,f
(x
Let A ๏€ฝ ๏€จ x0 , f ๏€จ x0 ๏€ฉ ๏€ฉ and B ๏€ฝ ๏€จ x1 , f ๏€จ x1 ๏€ฉ ๏€ฉ be the
points on the curve y ๏€ฝ f ๏€จ x ๏€ฉ Then the
0)
๐‘ฆ−๐‘“(๐‘ฅ0)
๐‘“(๐‘ฅ )−๐‘“(๐‘ฅ
) 0 ) − − − − − − (1)
equation to the chord AB is
= 1
๐‘ฅ−๐‘ฅ0
๐‘ฅ1 −๐‘ฅ0 (x
0,f
At the point C where the line AB crosses the x(x
– axis, where ๐‘“(๐‘ฅ) = 0 ๐‘–๐‘’, ๐‘ฆ = 0
substitute ๐‘ฆ = 0 in equation (1), then we get 0)
)
x1 ๏€ญ x0
(x
x ๏€ฝ x0 ๏€ญ
f ๏€จ x0 ๏€ฉ ๏‚ฎ ๏€จ 2 ๏€ฉ
f ๏€จ x1 ๏€ฉ ๏€ญ f ๏€จ x0 ๏€ฉ
0,f
(x of the root, when the interval in which it
๐‘ฅ is given by (2) serves as an approximated value
)
lies is small. If the new value of ๐‘ฅ is taken as x02 then (2) becomes
)
๏€จ x1 ๏€ญ x0 ๏€ฉ f x
๏€จ 0๏€ฉ
f ๏€จ x1 ๏€ฉ ๏€ญ f ๏€จ x0 ๏€ฉ
x f ๏€จ x1 ๏€ฉ ๏€ญ x1 f ๏€จ x0 ๏€ฉ
๏€ฝ 0
๏‚ฎ-------------(3)
๏€จ 3๏€ฉ
f ๏€จ x1 ๏€ฉ ๏€ญ f ๏€จ x0 ๏€ฉ
x2 ๏€ฝ x0 ๏€ญ
Now we decide whether the root lies between
x0 and x2 ๏€จ or ๏€ฉ x2 and x1
In the above graph clearly f(x2)<0
Therefore root lies between x1 and x2
We name that interval as ๏€จ x1 , x2 ๏€ฉ
The next approximation is given by x3 ๏€ฝ
x1 f ๏€จ x2 ๏€ฉ ๏€ญ x2 f ๏€จ x1 ๏€ฉ
f ๏€จ x2 ๏€ฉ ๏€ญ f ๏€จ x1 ๏€ฉ
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
7
MATHEMATICS-II
INTERPOLATION
This will in general, be nearest to the exact root. We continue this procedure till the root
is found to the desired accuracy.
The iteration process based on (3) is known as the method of false position
The successive intervals where the root lies, in the above procedure are named as
๏€จ x0 , x1 ๏€ฉ , ๏€จ x1, x2 ๏€ฉ , ๏€จ x2 , x3 ๏€ฉ etc
Where ๐‘ฅ๐‘– < ๐‘ฅ๐‘–+1 and๐‘“ (๐‘ฅ0 ), ๐‘“ (๐‘ฅ๐‘–+1 ) are of opposite signs.
x f ๏€จ xi ๏€ฉ ๏€ญ xi f ๏€จ xi ๏€ญ1 ๏€ฉ
Also xi ๏€ซ1 ๏€ฝ i ๏€ญ1
f ๏€จ xi ๏€ฉ ๏€ญ f ๏€จ xi ๏€ญ1 ๏€ฉ
CASE(II) f ๏€จ x0 ๏€ฉ >0, f ๏€จ x1 ๏€ฉ <0
Repeate same procedure as case(i).
PROBLEMS:
1. Find an approximate root of the equation ๐’‡(๐’™) = ๐’๐’๐’ˆ๐’™ − ๐’„๐’๐’”๐’™ by using Regula-Falsi
method.
Sol : Given equation is ๐‘“ (๐‘ฅ ) = ๐‘™๐‘œ๐‘”๐‘ฅ − ๐‘๐‘œ๐‘ ๐‘ฅ
๐‘“ (1) = ๐‘™๐‘œ๐‘”1 − ๐‘๐‘œ๐‘ 1 = −0.5403 < 0
๐‘“ (2) = ๐‘™๐‘œ๐‘”2 − ๐‘๐‘œ๐‘ 2 = 1.1093 > 0
Since ๐‘“(1) < 0 and ๐‘“(2) > 0 Therefore the root lies in interval (1,2) = (๐‘ฅ0 , ๐‘ฅ1 )
Since ๐‘“(๐‘ฅ0 ) = −0.5403 < 0 and ๐‘“(๐‘ฅ1 ) = 1.1093 > 0
The next approximation to the root is given by
๐‘ฅ0 ๐‘“(๐‘ฅ1 ) − ๐‘ฅ1 ๐‘“(๐‘ฅ0 )
๐‘ฅ2 =
= 1.3275
๐‘“ (๐‘ฅ1 ) − ๐‘“ (๐‘ฅ0 )
๐‘“ (๐‘ฅ2 ) = ๐‘“(1.3275) = 0.04239 > 0
Since ๐‘“(๐‘ฅ0 ) = −0.5403 < 0 , ๐‘“ (๐‘ฅ2 ) = 0.04239 > 0, ๐‘“ (๐‘ฅ1 ) = 1.1093 > 0
Therefore the root lies in interval (๐‘ฅ0 , ๐‘ฅ2 ) = (1,1.3275)
The next approximation is
๐‘ฅ0 ๐‘“ (๐‘ฅ2 ) − ๐‘ฅ2 ๐‘“ (๐‘ฅ0 )
๐‘ฅ3 =
= 1.3035
๐‘“ (๐‘ฅ2 ) − ๐‘“ (๐‘ฅ0 )
Continue the procedure until the successive approximations are same up to four decimal
places
2. Find an approximate root of the equation ๐’‡(๐’™) = ๐’†๐’™ ๐’”๐’Š๐’๐’™ − ๐Ÿ = ๐ŸŽ by using RegulaFalsi method.
Sol: Given equation is ๐’‡(๐’™) = ๐’†๐’™ ๐’”๐’Š๐’๐’™ − ๐Ÿ = ๐ŸŽ
๐‘“ (0) = −1 < 0
๐‘“ (1) = 1.2873 > 0
Since ๐‘“(0) < 0 and ๐‘“(1) > 0
Therefore the root lies in interval (0,1) = (๐‘ฅ0 , ๐‘ฅ1 )
๐‘“ (๐‘ฅ0 ) = −1 < 0 and ๐‘“(๐‘ฅ1 ) = 1.2873 > 0
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
8
MATHEMATICS-II
INTERPOLATION
The next approximation to the root is given by
๐‘ฅ0 ๐‘“(๐‘ฅ1 ) − ๐‘ฅ1 ๐‘“(๐‘ฅ0 )
๐‘ฅ2 =
= 0.4372
๐‘“ (๐‘ฅ1 ) − ๐‘“ (๐‘ฅ0 )
๐‘“ (๐‘ฅ2 ) = ๐‘“(0.4372) = −0.3444 < 0
๐‘“(๐‘ฅ1 ) = 1.2873 > 0 and ๐‘“ (๐‘ฅ2 ) = −0.3444 < 0
Therefore the root lies in interval (0.4372,1) = (๐‘ฅ1 , ๐‘ฅ2 )
The next approximation is
๐‘ฅ1 ๐‘“(๐‘ฅ2 ) − ๐‘ฅ2 ๐‘“(๐‘ฅ1 )
๐‘ฅ3 =
= 0.556
๐‘“ (๐‘ฅ2 ) − ๐‘“(๐‘ฅ1 )
Continue the procedure until the successive approximations are same up to four decimal
places
3. Find an approximate root of the equation ๐’‡(๐’™) = ๐Ÿ๐’™ − ๐ฅ๐จ๐  ๐Ÿ๐ŸŽ ๐’™ − ๐Ÿ• = ๐ŸŽ by using
Regula-Falsi method.
Sol: Given equation is ๐’‡(๐’™) = ๐Ÿ๐’™ − ๐’๐’๐’ˆ๐’™๐Ÿ๐ŸŽ − ๐Ÿ• = ๐ŸŽ
๐‘“ (1) = −5 < 0
๐‘“(2) = −3.3010 < 0
๐‘“(3) = −1.4771 < 0
๐‘“(4) = 0.3979 > 0
Since ๐‘“(3) < 0 and ๐‘“(4) > 0
Therefore the root lies in interval (3,4) = (๐‘ฅ0 , ๐‘ฅ1 )
๐‘“ (๐‘ฅ0 ) = −1.4771 < 0 and ๐‘“ (๐‘ฅ1 ) = 0.3979 > 0
The next approximation to the root is given by
๐‘ฅ0 ๐‘“(๐‘ฅ1 ) − ๐‘ฅ1 ๐‘“(๐‘ฅ0 )
๐‘ฅ2 =
= 3.7878
๐‘“ (๐‘ฅ1 ) − ๐‘“ (๐‘ฅ0 )
๐‘“ (๐‘ฅ2 ) = −0.0028 < 0
๐‘“(๐‘ฅ1 ) = 0.3979 > 0 and ๐‘“ (๐‘ฅ2 ) = −0.0228 < 0
Therefore the root lies in interval (3.7878,4) = (๐‘ฅ2 , ๐‘ฅ1 )
The next approximation is
๐‘ฅ2 ๐‘“(๐‘ฅ1 ) − ๐‘ฅ1 ๐‘“(๐‘ฅ2 )
๐‘ฅ3 =
= 3.7893
๐‘“ (๐‘ฅ1 ) − ๐‘“ (๐‘ฅ2 )
Continue the procedure until the successive approximations are same up to four decimal
places
4. Find a root of an equation 3x= ๐’†๐’™ using False position method.
Sol.
Then
Let f ๏€จ x ๏€ฉ ๏€ฝ 3x ๏€ญ e x
f ๏€จ 0 ๏€ฉ ๏€ฝ ๏€ญ1, f ๏€จ 0.1๏€ฉ ๏€ฝ ๏€ญ0.8,...
f ๏€จ 0.6 ๏€ฉ ๏€ฝ ๏€ญ0.0221192 ๏€ผ 0, f (0.7) ๏€ฝ 0.086247 ๏€พ 0
Since f ๏€จ 0.6๏€ฉ . f ๏€จ 0.7 ๏€ฉ ๏€ผ 0 and these values are near to zero
Therefore the root lies in the interval (0.6,0.7)= (๐‘ฅ0 , ๐‘ฅ1 )
By False position method
The next approximation to the root is given by
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
9
MATHEMATICS-II
๐‘ฅ2 =
=
INTERPOLATION
๐‘ฅ0 ๐‘“(๐‘ฅ1 ) − ๐‘ฅ1 ๐‘“(๐‘ฅ0 )
= 3.7878
๐‘“ (๐‘ฅ1 ) − ๐‘“ (๐‘ฅ0 )
0.6๐‘“(0.7)−0.7๐‘“(0.6)
๐‘“(0.7)−๐‘“(0.6)
=0.620451
(
)
(
)
Since ๐‘“ ๐‘ฅ0 <0
๐‘“ ๐‘ฅ2 = f(0.620451)=0.001587>0 ๐‘“ (๐‘ฅ1 )>0
Therefore the root lies in the interval (0.6, 0.620451)= (๐‘ฅ0 , ๐‘ฅ2 )
The next approximation to the root is given by
๐‘ฅ3 =
๐‘ฅ 0 ๐‘“ (๐‘ฅ 2 ) − ๐‘ฅ 2 ๐‘“ (๐‘ฅ 0 )
๐‘“ (๐‘ฅ 2 ) − ๐‘“ ( ๐‘ฅ 0 )
0.6๐‘“(0.620451)−0.620451๐‘“(0.6)
=
๐‘“(0.620451)−๐‘“(0.6)
=0.619083
f (0.619083)=0.000025>0
∴ ๐‘‡โ„Ž๐‘’ ๐ด๐‘๐‘๐‘Ÿ๐‘œ๐‘ฅ๐‘–๐‘š๐‘Ž๐‘ก๐‘’ ๐‘Ÿ๐‘œ๐‘œ๐‘ก ๐‘–๐‘  0.6190
5. Find the root of ๐ฑ๐ฅ๐จ๐  ๐Ÿ๐ŸŽ ๐’™ − ๐Ÿ. ๐Ÿ = ๐ŸŽ using Regula falsi method.
Sol:
f(๐’™) = ๐ฑ๐ฅ๐จ๐  ๐Ÿ๐ŸŽ ๐’™ − ๐Ÿ. ๐Ÿ
Here
f(2)=-0.59<0,
f(3)=0.23>0
Since f(2)<0 and f(3) >0 the root lies in the interval (2,3) = (๐‘ฅ0 , ๐‘ฅ1 )
The next approximation to the root is given by
๐‘ฅ0 ๐‘“(๐‘ฅ1 ) − ๐‘ฅ1 ๐‘“(๐‘ฅ0 )
๐‘ฅ2 =
๐‘“ (๐‘ฅ1 ) − ๐‘“(๐‘ฅ0 )
2๐‘“(3)−3๐‘“(2)
=
๐‘“(3)−๐‘“(2)
=2.7195
Since ๐‘“(๐‘ฅ0 )<0
๐‘“ (๐‘ฅ2 ) = f(2.7195)=-0.0184<0 ๐‘“ (๐‘ฅ1 )>0
Therefore the root lies in the interval(2.7195,3)= (๐‘ฅ2 , ๐‘ฅ1 )
The next approximation to the root is given by
๐‘ฅ2 ๐‘“(๐‘ฅ1 ) − ๐‘ฅ1 ๐‘“(๐‘ฅ2 )
๐‘ฅ3 =
๐‘“ (๐‘ฅ1 ) − ๐‘“(๐‘ฅ2 )
=
2.7195 ๐‘“(3)−3๐‘“(2.7195)
๐‘“(3)−๐‘“(2.7195)
=2.7403
f(2.7403)=-0.000302<0
Clearly f(2.7403) is nearly equal to zero up to 3 decimal places
∴ ๐‘‡โ„Ž๐‘’ ๐ด๐‘๐‘๐‘Ÿ๐‘œ๐‘ฅ๐‘–๐‘š๐‘Ž๐‘ก๐‘’ ๐‘…๐‘œ๐‘œ๐‘ก ๐‘–๐‘  2.740
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
10
MATHEMATICS-II
INTERPOLATION
6. By using Regula - Falsi method, find an approximate root of the equation
x 4 ๏€ญ x ๏€ญ 10 ๏€ฝ 0 that lies between 1.8 and 2. Carry out three approximations
Sol.
Let us take f ๏€จ x ๏€ฉ ๏€ฝ x4 ๏€ญ x ๏€ญ 10 and x0 ๏€ฝ 1.8, x1 ๏€ฝ 2
Then f ๏€จ x0 ๏€ฉ ๏€ฝ f ๏€จ1.8๏€ฉ ๏€ฝ ๏€ญ1.3 ๏€ผ 0 and f ๏€จ x1 ๏€ฉ ๏€ฝ f ๏€จ 2๏€ฉ ๏€ฝ 4 ๏€พ 0
Since f ๏€จ x0 ๏€ฉ and f ๏€จ x1 ๏€ฉ are of opposite signs, the equation f ๏€จ x ๏€ฉ ๏€ฝ 0 has a root between
x0 and x1
The first order approximation of this root is
x1 ๏€ญ x0
x2 ๏€ฝ x0 ๏€ญ
f ๏€จ x0 ๏€ฉ
f ๏€จ x1 ๏€ฉ ๏€ญ f ๏€จ x0 ๏€ฉ
๏€ฝ 1.8 ๏€ญ
2 ๏€ญ 1.8
๏‚ด ๏€จ ๏€ญ1.3๏€ฉ
4 ๏€ซ 1.3
๏€ฝ1.849
We find that f ๏€จ x2 ๏€ฉ ๏€ฝ ๏€ญ0.161 so that f ๏€จ x2 ๏€ฉ and f ๏€จ x1 ๏€ฉ are of opposite signs. Hence the
root lies between x2 and x1 and the second order approximation of the root is
๏ƒฉ
๏ƒน
x1 ๏€ญ x2
x3 ๏€ฝ x2 ๏€ญ ๏ƒช
๏ƒบ . f ๏€จ x2 ๏€ฉ
๏ƒซ f ๏€จ x1 ๏€ฉ ๏€ญ f ๏€จ x2 ๏€ฉ ๏ƒป
๏ƒฉ 2 ๏€ญ 1.849 ๏ƒน
๏€ฝ 1.8490 ๏€ญ ๏ƒช
๏‚ด ๏€จ ๏€ญ0.159 ๏€ฉ
๏ƒซ 0.159 ๏ƒบ๏ƒป
๏€ฝ 1.8548
We find that f ๏€จ x3 ๏€ฉ ๏€ฝ f ๏€จ1.8548๏€ฉ
๏€ฝ ๏€ญ0.019
So that f ๏€จ x3 ๏€ฉ and f ๏€จ x2 ๏€ฉ are of the same sign. Hence, the root does not lie between
x2 and x3 .But f ๏€จ x3 ๏€ฉ and f ๏€จ x1 ๏€ฉ are of opposite signs. So the root lies between
x3 and x1 and the third order approximate value of the root is
[
๐‘ฅ1 −๐‘ฅ3
๐‘ฅ4 = ๐‘ฅ 3 −
] ๐‘“ (๐‘ฅ )
3
๐‘“(๐‘ฅ1 )−๐‘“(๐‘ฅ3)
2−1.8548
= 1.8548 − 4+0.019 × (−0.019)
Therefore, approximate root is 1.8557
NEWTON RAPHSON METHOD:
The Newton- Raphson method is a powerful and eligant method to find the root of an
equation. This method is generally used to improve the results obtained by the previous
methods.
Let x0 be an approximate root of f ๏€จ x ๏€ฉ ๏€ฝ 0 and let x1 ๏€ฝ x0 ๏€ซ h be the correct root
which implies that f ๏€จ x1 ๏€ฉ ๏€ฝ 0 . We use Taylor’s theorem and expand f ๏€จ x1 ๏€ฉ ๏€ฝ f ๏€จ x0 ๏€ซ h ๏€ฉ ๏€ฝ 0
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
11
MATHEMATICS-II
INTERPOLATION
๏ƒž f ๏€จ x0 ๏€ฉ ๏€ซ hf 1 ๏€จ x0 ๏€ฉ ๏€ฝ 0
๏ƒžh๏€ฝ๏€ญ
f ๏€จ x0 ๏€ฉ
f 1 ๏€จ x0 ๏€ฉ
Substituting this in x1 ,we get
x1
๏€ฝ x0 ๏€ญ
f ๏€จ x0 ๏€ฉ
f 1 ๏€จ x0 ๏€ฉ
๏œ x1 is a better approximation than x0
Successive approximations are given by
๐‘“(๐‘ฅ )
๐‘ฅ2 , ๐‘ฅ3 … … … . . ๐‘ฅ๐‘›+1 where ๐‘ฅ๐‘–+1 = ๐‘ฅ๐‘– − ๐‘“1 (๐‘ฅ๐‘– )
๐‘–
GEOMETRICAL INTERPRETATION
๐‘œ๐‘๐‘
๐‘“(๐‘ฅ0)
From below diagram tan๐œƒ=๐‘Ž๐‘‘๐‘— =๐‘ฅ๐‘œ−๐‘ฅ1………………(1)
But slope =tan๐œƒ = ๐‘“ ๐ผ (x0) ……………(2)
From (1) and (2) we have
f ๏€จx ๏€ฉ
x1 ๏€ฝ x0 ๏€ญ 1 0
f ๏€จ x0 ๏€ฉ
PROBLEMS
1.
Sol.
Using Newton – Raphson method
a) Find square root of a number
b) Find reciprocal of a number
a) Square root:
Let f ๏€จ x ๏€ฉ ๏€ฝ x2 ๏€ญ N ๏€ฝ 0 , where N is the number whose square root is to be found. The
solution to f ๏€จ x ๏€ฉ is then x ๏€ฝ N
Here f ' ๏€จ x ๏€ฉ ๏€ฝ 2 x
By Newton-Raphson technique
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
12
MATHEMATICS-II
INTERPOLATION
f ๏€จ xi ๏€ฉ
xi 2 ๏€ญ N
xi ๏€ซ1 ๏€ฝ xi ๏€ญ 1
๏€ฝ xi ๏€ญ
f ๏€จ xi ๏€ฉ
2 xi
๏ƒž xi ๏€ซ1 ๏€ฝ
1๏ƒฉ
N๏ƒน
๏ƒช xi ๏€ซ ๏ƒบ
2๏ƒซ
xi ๏ƒป
Using the above iteration formula the square root of any number N can be found to
anydesired accuracy. For example, we will find the square root of N ๏€ฝ 24 .
Let the initial approximation be x0 ๏€ฝ 4.8
1
24
1 23.04+24
๐‘ฅ1 = 2 (4.8 + 4.8) = 2 (
4.8
47.04
) = 9.6 = 4.9
1๏ƒฆ
24 ๏ƒถ 1 ๏ƒฆ 24.01 ๏€ซ 24 ๏ƒถ 48.01
x2 ๏€ฝ ๏ƒง 4.9 ๏€ซ
๏€ฝ 4.898
๏ƒท๏€ฝ ๏ƒง
๏ƒท๏€ฝ
2๏ƒจ
4.9 ๏ƒธ 2 ๏ƒจ
4.9
9.8
๏ƒธ
1๏ƒฆ
24 ๏ƒถ 1 ๏ƒฆ 23.9904 ๏€ซ 24 ๏ƒถ 47.9904
x3 ๏€ฝ ๏ƒง 4.898 ๏€ซ
๏€ฝ 4.898
๏ƒท๏€ฝ ๏ƒง
๏ƒท๏€ฝ
2๏ƒจ
4.898 ๏ƒธ 2 ๏ƒจ
4.898
9.796
๏ƒธ
Since x2 ๏€ฝ x3 , there fore the solution to f ๏€จ x ๏€ฉ ๏€ฝ x2 ๏€ญ 24 ๏€ฝ 0 is 4.898 . That means,
the square root of 24 is 4.898
b) Reciprocal:
๏œ The reciprocal of Let f ๏€จ x ๏€ฉ ๏€ฝ
1
๏€ญ N ๏€ฝ 0 where N is the number whose reciprocal is to be
x
found
The solution to f ๏€จ x ๏€ฉ is then = ๐‘ .
1
Also, f 1 ๏€จ x ๏€ฉ ๏€ฝ
๏€ญ1
x2
To find the solution for f ๏€จ x ๏€ฉ ๏€ฝ 0 , apply Newton – Raphson method
1
๐‘ฅ๐‘–
( −๐‘)
๐‘ฅ๐‘–+1 = ๐‘ฅ๐‘– − −1⁄๐‘ฅ 2 = ๐‘ฅ๐‘– (2 − ๐‘ฅ๐‘– ๐‘)
๐‘–
For example, the calculation of reciprocal of 22 is as follows
Assume the initial approximation be x0 ๏€ฝ 0.045
๏œ x1 ๏€ฝ 0.045 ๏€จ 2 ๏€ญ 0.045 ๏‚ด 22 ๏€ฉ
๏€ฝ 0.045 ๏€จ 2 ๏€ญ 0.99 ๏€ฉ
๏€ฝ 0.0454 ๏€จ1.01๏€ฉ ๏€ฝ 0.0454
x2 ๏€ฝ 0.0454 ๏€จ 2 ๏€ญ 0.0454 ๏‚ด 22 ๏€ฉ
๏€ฝ 0.0454 ๏€จ 2 ๏€ญ 0.9988 ๏€ฉ
๏€ฝ 0.0454 ๏€จ1.0012 ๏€ฉ ๏€ฝ 0.04545
x3 ๏€ฝ 0.04545 ๏€จ 2 ๏€ญ 0.04545 ๏‚ด 22 ๏€ฉ
๏€ฝ 0.04545 ๏€จ1.0001๏€ฉ ๏€ฝ 0.04545
๐‘ฅ4 = 0.04545(2 − 0.04545 × 22)
= 0.04545(2 − 0.99998)
= 0.04545(1.00002)
= 0.0454509
∴Reciprocal of 22 is 0.04545
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
13
MATHEMATICS-II
2.
Sol.
INTERPOLATION
Find by Newton’s method, the real root of the equation ๐’™๐’†๐’™ = ๐’„๐’๐’”๐’™ correct to
three decimal places.
Let ๐’„๐’๐’”๐’™ − ๐’™๐’†๐’™ = ๐’‡(๐’™)
Then f ๏€จ 0๏€ฉ ๏€ฝ 1 ๏€พ 0 , f ๏€จ 0.5๏€ฉ ๏€ฝ 0.053 ๏€พ 0 f (0.6) ๏€ฝ ๏€ญ0.267 ๏€ผ 0
So root of f ๏€จ x ๏€ฉ lies between 0.5 and 0.6
Here f(0.5) value is near to zero.
f(1) is near to zero. So we take x0 ๏€ฝ 0.5 and f 1 ๏€จ x ๏€ฉ ๏€ฝ ๏€ญ sin x ๏€ญ (x๏€ซ 1)ex
๏œ By Newton Raphson method,we have
๐‘“(๐‘ฅ )
for i=0,1,2….
๐‘ฅ๐‘–+1 = ๐‘ฅ๐‘– − ๐‘“1 (๐‘ฅ๐‘– )
๐‘–
First approximation is given by
x1 ๏€ฝ x0 ๏€ญ
f ๏€จ x0 ๏€ฉ
f 1 ๏€จ x0 ๏€ฉ
0.53222
๏€ฝ 0.68026
๏€ญ2.952507
The second approximation is given by
f ๏€จx ๏€ฉ
x2 ๏€ฝ x1 ๏€ญ 1 1
f ๏€จ x1 ๏€ฉ
๏€ฝ 0.5 ๏€ญ
๏€ฝ 0.68026 ๏€ญ
0.56569
๏€ญ3.946485
๏€ฝ 0.536920
๏œ Continue like above we have x3= 0.51809 x4= 0.517757
Approximate Root = 0.517
3. Find a root of an equation ๐’†๐’™ sinx = 1 using Newton Raphson method
Sol : f(x)= ๐’†๐’™ sinx -1
f(0)=-1<0
f(0.1)=-0.8<0 ….
f(0.5)=-0.209561<0
f(0.6)=0.028846>0
Since f(0.5)<0 and f(0.6)>0 the root lies in the interval(0.5,0.6)
but f(0.6) value is near to zero.
So choose x0 =0.6
and
๐‘“ ๐ผ (x)=(cosx +sinx)๐‘’ ๐‘ฅ
By applying Newton Raphson method,we have
๐‘“(๐‘ฅ )
๐‘ฅ๐‘–+1 = ๐‘ฅ๐‘– − ๐‘“1 (๐‘ฅ๐‘– )
๐‘–
First approximation x1 ๏€ฝ x0 ๏€ญ
for i=0,1,2…..
f ๏€จ x0 ๏€ฉ
f 1 ๏€จ x0 ๏€ฉ
๏€ฝ 0.6 ๏€ญ
0.028846
๏€ฝ 0.58861
2.532705
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
14
MATHEMATICS-II
INTERPOLATION
The second approximation x2 ๏€ฝ x1 ๏€ญ
f ๏€จ x1 ๏€ฉ
f 1 ๏€จ x1 ๏€ฉ
๏€ฝ 0.588611 ๏€ญ
0.000196
2.498513
๏€ฝ 0.588533
∴ ๐ด๐‘๐‘๐‘Ÿ๐‘œ๐‘ฅ๐‘–๐‘š๐‘Ž๐‘ก๐‘’ ๐‘…๐‘œ๐‘œ๐‘ก ๐‘–๐‘  0.588
4.Find a root of an equation x+๐ฅ๐จ๐  ๐Ÿ๐ŸŽ ๐’™ = 2 using Newton raphson method.
SOL:
Given ๐’‡(๐’™) = ๐’™ + ๐’๐’๐’ˆ๐Ÿ๐ŸŽ ๐’™ − ๐Ÿ
Here
f(1)=-1<0
f(2)=0.301>0
Since f(1)<0 and f(2)>0 the root lies in the interval (1,2)
Here f(2)is near to zero
So f(1.9)=0.1788>0; f(1.8)=0.0553>0
Since f(1.8) is near to zero
Choose ๐‘ฅ0 = 1.8 then
log10 ๐‘’
๐‘“ ๐ผ (๐‘ฅ ) = 1 +
๐‘ฅ
By Newton Raphson method, we have
๐‘“(๐‘ฅ )
๐‘ฅ๐‘–+1 = ๐‘ฅ๐‘– − ๐‘“1 (๐‘ฅ๐‘– )
๐‘–
๐‘ฅ1 = ๐‘ฅ0 −
๐‘“๐ผ (๐‘ฅ0 )
๐‘“(๐‘ฅ0 )
for i=0,1,2…..
0.0555
=1.8 – 1.2412 =1.7552
Now f(1.7552)=-0.00013 and ๐‘“ ๐ผ (1.7552) = 1.2473
๐‘ฅ2 = ๐‘ฅ1 −
๐‘“๐ผ (๐‘ฅ1 )
๐‘“(๐‘ฅ1 )
=1.7555
Now f(1.7555) =-0.00000012
Hence Approximate root is 1.7555(coorect to 4 decimal places)
5. Using Newton – Raphson method
a) Derive formula for cube root of a number
b) Find cube root of 15.
SOL: Let f(x) = ๐‘ฅ3 = ๐‘ ๐‘คโ„Ž๐‘’๐‘Ÿ๐‘’ ๐‘ ๐‘–๐‘  ๐‘กโ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘Ž๐‘™ ๐‘›๐‘ข๐‘š๐‘๐‘’๐‘Ÿ ๐‘คโ„Ž๐‘œ๐‘ ๐‘’ ๐‘Ÿ๐‘œ๐‘œ๐‘ก ๐‘ก๐‘œ ๐‘๐‘’ ๐‘“๐‘œ๐‘ข๐‘›๐‘‘.
Solution to f(x) is then ๐‘ฅ3 = ๐‘ ๐‘“′ (๐‘ฅ) = 3๐‘ฅ2
๐‘“(๐‘‹๐‘–)
Newton Raphson formula to find ๐‘‹๐‘–+1 = ๐‘‹๐‘– − ′
๐‘“ (๐‘‹๐‘–)
= ๐‘‹๐‘– −
๐‘‹ 3 −๐‘
3๐‘‹ 2
Here f(2) = -7 < 0 and f(2.5) = 0.625 > 0
so one root lies between (2,2.5)
take initial approx value is ๐‘ฅ0 = 2
๐‘“(๐‘‹๐‘–)
using Newton Raphson formula ๐‘‹๐‘–+1 = ๐‘‹๐‘– − ′
๐‘“ (๐‘‹๐‘–)
3
๐‘‹1 = 2 −
(2) − 15
3(2)2
DEPARTMENT OF HUMANITIES & SCIENCES
= 2.58333
MRCET (EAMCET CODE: MLRD)
15
MATHEMATICS-II
INTERPOLATION
3
๐‘‹2 = 2.58333 −
(2.58333) − 15
= 2.47144
2
3(2.58333)
(2.47144)3 − 15
๐‘‹3 = 2.47144 −
= 2.46622
3(2.47144)2
(2.46622)3 − 15
๐‘‹4 = 2.46622 −
= 2.46621
3(2.46622)2
∴ ๐‘ฅ8 ≅ ๐‘ฅ9 = 2.466221(upto 4 decimal places) is the required approximate root.
6.Find a real root of the equation3 x = cos x + 1 Using Newton Raphson method.
f(x) = 3 x- cos x – 1
f(0) = -2 < 0
f(1) = 1.4597 > 0
๏œ The root lies between 0 and 1.
Let x0 ๏€ฝ 1
using Newton Raphson formula,we have
๐‘“(๐‘ฅ )
for i=0,1,2…..
๐‘ฅ๐‘–+1 = ๐‘ฅ๐‘– − ๐‘“1 (๐‘ฅ๐‘– )
๐‘–
f ' (x) ๏€ฝ 3 ๏€ซ sin x
f ' (1) ๏€ฝ 3 ๏€ซ sin1 ๏€ฝ 3.8414
First approximate root ๐‘ฅ1 = ๐‘ฅ0 −
๐‘“๐ผ (๐‘ฅ0 )
๐‘“(๐‘ฅ0 )
=1-
0.4597
3.8414
=0.8804
f (0.8804) ๏€ฝ 2.6412 ๏€ญ 0.6368 ๏€ญ 1 ๏€ฝ 1.0044
And f ' (0.8804) ๏€ฝ 3.7709
Second approximation is x2 ๏€ฝ x1 ๏€ญ
1.0044
f ( x1 )
= 1=0.8804-0.2663=0.6141
'
3.7709
f ( x1 )
f (0.6141) ๏€ฝ 1.8423 ๏€ญ 0.8172 ๏€ญ 1 ๏€ฝ 0.0251
and
f ' (0.0251) ๏€ฝ 3.5762
Third approximation is x3 ๏€ฝ x2 ๏€ญ
0.0251
f ( x2 )
=0.6141=0.6141-0.007=0.6071
'
3.5762
f ( x2 )
๏œ f (0.6071) ๏€ฝ 1.8213 ๏€ญ 0.8213 ๏€ญ 1 ๏€ฝ 0
Hence Required Root is 0.6071
7. Find the root between 0 and 1 of the equation x3-6x+4 = 0 correct to five decimal
places.
Sol: Let f(x) = x3-6x+4
f(0) = 4 >0 and f(1) = -1 <0
Therefore the root lies between 0 and 1.
Let the root is nearer to 1.
So, x0=1
fฮ„(x) = 3x2-6, fฮ„(1) = -3
The first approximation to the required root is
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
16
MATHEMATICS-II
x1 = x0 -
INTERPOLATION
f ( x 0) 2
= = 0.66666
f ๏‚ข( x 0) 3
Second approximation is given by
f ( x1)
x2 = x1 = 0.73015
f ๏‚ข( x1)
Third approximation is given by
f ( x 2)
x3 = x2 = 0.73204
f ๏‚ข( x 2)
Fourth approximation is given by
f ( x 3)
x4 = x3 = 0.73205
f ๏‚ข( x 3)
The root is 0.73205 correct to five decimal places
ORDER OF CONVERGENCE
The deviation from the approximate root with actual root is called ERROR.
Error at nth, (n+1)th iterations are
๐‘’๐‘› = ๐‘ฅ๐‘› - ๐›ผ ;
๐‘’๐‘›+1 = ๐‘ฅ๐‘› +1 - ๐›ผ
๐’‘
If ๐’†๐’+๐Ÿ ≤ ๐’Œ ๐’†๐’ then the method is said to be of order ‘p’.
NOTE:
1. The method converges very fast if ‘k’ is very very small and ‘p’ is large.
2. Regula falsi and iteration methods converge Linearly.
1. Show Bisection method converges LINEARLY.
Sol: Choose initial approximations a, b such that f(a).f(b)<0
And let first approximation be ๐‘ฅ1
๐‘Ž+๐‘
๐‘−๐‘Ž
Distance between a and ๐‘ฅ1 =๐‘ฅ1 -a = 2 -a= 2
Distance between b and ๐‘ฅ1 =๐‘ − ๐‘ฅ1 =๐‘ −
๐‘Ž+๐‘ ๐‘−๐‘Ž
2
= 2
Here say root ๐›ผ lies between a and ๐‘ฅ1 or b and ๐‘ฅ1
|๐‘ฅ1 -๐›ผ|≤
๐‘−๐‘Ž
2
After n iterations, we get
|๐‘ฅ๐‘› -๐›ผ|≤
๐‘−๐‘Ž
2๐‘›
1 ๐‘−๐‘Ž
|๐‘ฅ๐‘›+1 -๐›ผ|≤
2 2๐‘›
1 1
๐‘’๐‘›+1 ≤ ๐‘’๐‘›
∴ ๐ต๐‘–๐‘ ๐‘’๐‘๐‘ก๐‘–๐‘œ๐‘› ๐‘š๐‘’๐‘กโ„Ž๐‘œ๐‘‘ ๐‘๐‘œ๐‘›๐‘ฃ๐‘’๐‘Ÿ๐‘”๐‘’๐‘  ๐‘™๐‘–๐‘›๐‘’๐‘Ž๐‘Ÿ๐‘™๐‘ฆ
2
2. Show Newton Raphson method converges Quadratically
Sol: Let ๐‘ฅ๐‘Ÿ be the actual root and ๐‘ฅ๐‘– , ๐‘ฅ๐‘–+1are ith,(i+1)th iterations in NRM.Then
xi ๏€ซ1 ๏€ฝ xi ๏€ญ
f ๏€จ xi ๏€ฉ
f 1 ๏€จ xi ๏€ฉ
xi ๏€ซ1 f 1 ๏€จ xi ๏€ฉ = xi f 1 ๏€จ xi ๏€ฉ -f(xi)
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
17
MATHEMATICS-II
INTERPOLATION
f(xi)= f 1 ๏€จ xi ๏€ฉ ( xi - xi ๏€ซ1 )…………….(1)
Taylor’s theorem around x=xr
Is given by f(xr)=f(xi+h
(๐‘ฅ๐‘Ÿ−๐‘ฅ๐‘–) 2
= f(xi)+ (๐‘ฅ๐‘Ÿ − ๐‘ฅ๐‘– ) f 1 ๏€จ xi ๏€ฉ +
2
๐‘“ ๐ผ๐ผ ๏€จ xi ๏€ฉ + โ‹ฏ ….(2)
Neglecting higher order terms and sub (1) in (2) ,we get
(๐‘ฅ๐‘Ÿ−๐‘ฅ๐‘–)2
0= f 1 ๏€จ xi ๏€ฉ (๐‘ฅ๐‘Ÿ - xi ๏€ซ1 )+(๐‘ฅ๐‘Ÿ − ๐‘ฅ๐‘– ) f 1 ๏€จ xi ๏€ฉ +
2
๐‘“ ๐ผ๐ผ ๏€จ xi ๏€ฉ
Solving
๐‘“๐ผ๐ผ ๏€จ xi ๏€ฉ
๐‘“๐ผ๐ผ ๏€จ xi ๏€ฉ
๐‘’๐‘–+1 =-1/2 ( ๐‘“๐ผ(๐‘‹ ) )๐‘’๐‘– 2 Where p=2 and k==-1/2 ( ๐‘“๐ผ(๐‘‹ ) )
๐‘–
DEPARTMENT OF HUMANITIES & SCIENCES
๐‘–
MRCET (EAMCET CODE: MLRD)
18
MATHEMATICS-II
INTERPOLATION
INTERPOLATION
Introduction:
If we consider the statement y ๏€ฝ f ๏€จ x ๏€ฉ ; x0 ๏‚ฃ x ๏‚ฃ xn we understand that we can find the
value of ๐‘ฆ, corresponding to every value of ๐‘ฅ in the range x0 ๏‚ฃ x ๏‚ฃ xn . If the function f ๏€จ x ๏€ฉ
is single valued and continuous and is known explicitly then the values of f ๏€จ x ๏€ฉ for certain
values of ๐‘ฅ like x0 , x1 ,.........xn can be calculated. The problem now is if we are given the set
of tabular values
๐‘ฅโˆถ
๐‘ฅ0
๐‘ฅ1
๐‘ฅ2
……………
๐‘ฅ๐‘›
๐‘ฆโˆถ
๐‘ฆ0
๐‘ฆ1
๐‘ฆ2
…………….
๐‘ฆ๐‘›
Satisfying the relation y ๏€ฝ f ๏€จ x ๏€ฉ and the explicit definition of f ๏€จ x ๏€ฉ is not known, it
is possible to find a simple function say ๐œ™ (๐‘ฅ ) such that f ๏€จ x ๏€ฉ and ๏ฆ ๏€จ x ๏€ฉ agree at the set of
tabulated points. This process to finding ๏ฆ ๏€จ x ๏€ฉ is called interpolation. If ๏ฆ ๏€จ x ๏€ฉ
is a
polynomial then the process is called polynomial interpolation and ๏ฆ ๏€จ x ๏€ฉ is called
interpolating polynomial. In our study we are concerned with polynomial interpolation
OR
Let x0 , x1 ๏€ญ ๏€ญ ๏€ญ ๏€ญ xn be the values ๐‘ฅ and y0 , y1 , y2 , ๏€ญ ๏€ญ ๏€ญ, yn be the values of ๐‘ฆ and ๐‘ฆ =
๐‘“(๐‘ฅ) be a unknown function .The process to find the value of the unknown function ๐‘ฆ =
๐‘“(๐‘ฅ) when the given value of ๐‘ฅ and the value of ๐‘ฅ lies within the limits x0 to xn is called
interpolation
Extrapolation:
Let x0 , x1 ๏€ญ ๏€ญ ๏€ญ ๏€ญ xn be the values x and y0 , y1 , y2 , ๏€ญ ๏€ญ ๏€ญ, yn be the values of y and y=f(x) be
a unknown function .The process to find the value of the unknown function y=f(x) when the
given value of x and the value of x lies outside the range of x0 to xn is called Extrapolation
Note: If the differences of x values are equal in the given data then it is called equal spaced
points otherwise it is called unequal spaced points
Note:
i)
Suppose a given value of x is nearer to starting value of x then we use Newton’s
forward interpolation formula.
ii)
Suppose a given value of x is nearer to ending value of x then we use Newton’s
backward interpolation formula.
iii)
Suppose a given value of x is nearer to middle value of x then we use Gauss
interpolation formula.
iv)
Suppose the given data has unequal spaced points then we use Lagrange’s
interpolation formula
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
19
MATHEMATICS-II
INTERPOLATION
Finite Differences:
Finite differences play a fundamental role in the study of differential calculus, which is an
essential part of numerical applied mathematics, the following are the finite differences.
1. Forward Differences 2. Backward Differences 3. Central Differences
1.Forward Differences: The Forward Difference operator is denoted by ๏„ , The forward
differences are usually arranged in tabular columns as shown in the following table called a
Forward difference table
Values
Values of First differences
of x
y
(โˆ†)
Second
Third differences
Fourth differences
differences
(โˆ†3 )
(โˆ†4 )
(โˆ†2 )
xo
y0
๏„y0 ๏€ฝ y1 ๏€ญ y0
x1
๏„ 2 y0 ๏€ฝ ๏„y1 ๏€ญ y0
y1
๏„y1 ๏€ฝ y2 ๏€ญ y1
๏„y2 ๏€ฝ y3 ๏€ญ y2
x3
y4
๏„3 y1 ๏€ฝ ๏„ 2 y2 ๏€ญ ๏„ 2 y1
๏„ 2 y2 ๏€ฝ ๏„y3 ๏€ญ ๏„y2
y3
๐‘ฅ4
๏„ 4 y0 ๏€ฝ ๏„ 3 y1 ๏€ญ ๏„ 3 y0
๏„ 2 y1 ๏€ฝ ๏„y2 ๏€ญ ๏„y1
y2
x2
๏„ 3 y0 ๏€ฝ ๏„ 2 y1 ๏€ญ ๏„ 2 y0
โˆ†๐‘ฆ3 = ๐‘ฆ4 − ๐‘ฆ3
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
20
MATHEMATICS-II
INTERPOLATION
2. Backward Differences: The Backward Difference operator is denoted by ๏ƒ‘ and the
backward difference table is
x
y
x0
y0
x1
y1
๏ƒ‘y
๏ƒ‘y1
๏ƒ‘y2
x2
y2
๏ƒ‘y3
x3
y3
x4
y4
๏„2y
๏ƒ‘2y2
๏ƒ‘2y3
๏„3y
๏ƒ‘3y3
๏ƒ‘ y4
๏„4y
๏ƒ‘4y4
3
๏ƒ‘ y4
2
๏ƒ‘y4
3.Central Difference Table: The central difference operator is denoted by ๐›ฟ and the
central Difference table is
x
x0
Y
y0
x1
y1
๐›ฟy
δ2y
δ3y
δ4y
δy1/2
δ2y1
δy3/2
x2
δ3y3/2
δ y2
y2
δy5/2
x3
y3
x4
y4
δ4y4
2
δ3y5/2
δ y3
2
δy7/2
Symbolic Relations and Separation of symbols :
We will define more operators and symbols in addition to ๏„ , ๏ƒ‘ and ๏ค already
defined and establish difference formulae by Symbolic methods
Definition:- The averaging operator ๏ญ is defined by the equation ๏ญ yr ๏€ฝ
1
๏› yr ๏€ซ1/2 ๏€ซ yr ๏€ญ1/2 ๏
2
Definition:- The shift operator E is defined by the equation Eyr ๏€ฝ yr ๏€ซ1 . This shows that the
effect of E is to shift the functional value yr to the next higher value yr ๏€ซ1 . A second
operation with E gives E 2 yr ๏€ฝ E ๏€จ Eyr ๏€ฉ ๏€ฝ E ๏€จ yr ๏€ซ1 ๏€ฉ ๏€ฝ yr ๏€ซ2
Generalizing E n y r ๏€ฝ yr ๏€ซ n
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
21
MATHEMATICS-II
INTERPOLATION
Definition:Inverse operator E ๏€ญ1 is defined as E ๏€ญ1 yr ๏€ฝ yr ๏€ญ1
In general E ๏€ญ n yn ๏€ฝ yr ๏€ญ n
Definition :๐‘‘
The operator D is defined as ๐ท๐‘ฆ(๐‘ฅ ) = ๐‘‘๐‘ฅ [๐‘ฆ(๐‘ฅ )]
Relationship Between operators:
i) Relation between ๏„ and E
We have โˆ†๐‘ฆ0 = ๐‘ฆ1 − ๐‘ฆ0
Proof:
= ๐ธ๐‘ฆ0 − ๐‘ฆ0 = (๐ธ − 1)๐‘ฆ0
โŸน โˆ†≅ ๐ธ − 1(๐‘œ๐‘Ÿ)๐ธ = 1 + โˆ†
ii) ๏ƒ‘ ๏‚บ 1 ๏€ญ E ๏€ญ1
Pf: We have ∇๐‘ฆ1 = ๐‘ฆ1 − ๐‘ฆ0
∇๐‘ฆ1 = ๐‘ฆ1 − ๐ธ −1 ๐‘ฆ1
∇๐‘ฆ1 = (1 − ๐ธ −1 )๐‘ฆ1
๏ƒ‘ ๏‚บ 1 ๏€ญ E ๏€ญ1
iii) ๏ค ๏‚บ E1/2 ๏€ญ E ๏€ญ1/2
Pf : We have ๐›ฟ๐‘ฆ1 = ๐‘ฆ1 − ๐‘ฆ0
2
1
1
= ๐ธ 2 ๐‘ฆ1 − ๐ธ −2 ๐‘ฆ1
2
2
1
2
1
−
2
๐›ฟ๐‘ฆ1 = (๐ธ − ๐ธ )๐‘ฆ1
2
2
๏ค ๏‚บ E1/2 ๏€ญ E ๏€ญ1/2
iv) ๏ญ ๏€ฝ
1 1/2
E ๏€ซ E ๏€ญ1/2 ๏€ฉ
๏€จ
2
1
Pf: we have ๐œ‡๐‘ฆ๐‘Ÿ = 2 (๐‘ฆ๐‘Ÿ+1 + ๐‘ฆ๐‘Ÿ−1 )
2
2
1
1
2
1
1
1
๐œ‡๐‘ฆ๐‘Ÿ = 2 (๐ธ ๐‘ฆ๐‘Ÿ + ๐ธ −2 ๐‘ฆ๐‘Ÿ )
1
๐œ‡๐‘ฆ๐‘Ÿ = 2 (๐ธ 2 + ๐ธ −2 )๐‘ฆ๐‘Ÿ
1
1
1
๐œ‡ = 2 (๐ธ 2 + ๐ธ −2 )
1
v) ๏ญ 2 ๏‚บ 1 ๏€ซ ๏ค 2
4
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
22
MATHEMATICS-II
1
1
INTERPOLATION
2
1
Pf: L.H.S = ๐œ‡2 = [2 (๐ธ 2 + ๐ธ −2 )]
1
= 4 (๐ธ + ๐ธ −1 + 2)
1
1
2
1
= 4 [(๐ธ 2 − ๐ธ −2 ) + 4 ]
1
= 4 (๐›ฟ 2 + 4)=R.H.S
1
1
vi). Prove that โˆ†= 2 ๐›ฟ 2 + ๐›ฟ√1 + 4 ๐›ฟ 2
1
1
Pf: Let R.H.S= 2 ๐›ฟ 2 + ๐›ฟ√1 + 4 ๐›ฟ 2
1
1
= 2 ๐›ฟ[๐›ฟ + 2√1 + 4 ๐›ฟ 2 ]
1
= ๐›ฟ[๐›ฟ + √4 + ๐›ฟ 2 ]
2
1
1
1
1
1
1
1
1
1
1
1
= 2 ๐›ฟ[(๐ธ 2 − ๐ธ −2 ) + √4 + (๐ธ 2 − ๐ธ −2 )2
1
1
= 2 ๐›ฟ[(๐ธ 2 − ๐ธ −2 ) + √(๐ธ 2 + ๐ธ −2 )2
1
1
= 2 ๐›ฟ [(๐ธ 2 − ๐ธ −2 ) + (๐ธ 2 + ๐ธ −2 )
1
1
= 2 ๐›ฟ. 2. ๐ธ 2
1
= ๐›ฟ. ๐ธ 2
1
1
1
= (๐ธ 2 − ๐ธ −2 ). ๐ธ 2
= ๐ธ − 1 = โˆ† =R.H.S.
vii) Relation between the Operators D and E
Using Taylor’s series we have, y ๏€จ x ๏€ซ h ๏€ฉ ๏€ฝ y ๏€จ x ๏€ฉ ๏€ซ hy1 ๏€จ x ๏€ฉ ๏€ซ
h2 11
h3
y ๏€จ x ๏€ฉ ๏€ซ y111 ๏€จ x ๏€ฉ ๏€ซ ๏€ญ ๏€ญ ๏€ญ ๏€ญ
2!
3!
This can be written in symbolic form
๏ƒฉ
๏ƒน
h 2 D 2 h3 D 3
Eyx ๏€ฝ ๏ƒช1 ๏€ซ hD ๏€ซ
๏€ซ
๏€ซ ๏€ญ ๏€ญ ๏€ญ ๏€ญ ๏ƒบ yX ๏€ฝ ehD . yx
2!
3!
๏ƒซ
๏ƒป
๐ธ = ๐‘’ โ„Ž๐‘‘
If f ๏€จ x ๏€ฉ is a polynomial of degree ๐‘› and the values of ๐‘ฅ are equally spaced then
๏ถ
๏„ n f ๏€จ x ๏€ฉ is a constant
Note:
1.
As ๏„ n f ๏€จ x ๏€ฉ is a constant, it follows that ๏„n๏€ซ1 f ๏€จ x ๏€ฉ ๏€ฝ 0, ๏„n๏€ซ2 f ๏€จ x ๏€ฉ ๏€ฝ 0,........
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
23
MATHEMATICS-II
2.
INTERPOLATION
The converse of above result is also true. That is, if ๏„ n f ๏€จ x ๏€ฉ is tabulated at equal
spaced intervals and is a constant, then the function f ๏€จ x ๏€ฉ is a polynomial of
degree n
3.
โˆ†2 f(x) = โˆ†(โˆ†(f(x))
Problems :
1.Evaluate
๏€จ i ๏€ฉ ๏„ cos x
๏€จ ii ๏€ฉ ๏„ 2 sin ๏€จ px ๏€ซ q ๏€ฉ
๏€จ iii ๏€ฉ ๏„ n eax๏€ซb
(iv). If the interval of difference is unity then prove that
โˆ†[๐‘ฅ(๐‘ฅ + 1)(๐‘ฅ + 2)(๐‘ฅ + 3) = 4(๐‘ฅ + 1(๐‘ฅ + 2)(๐‘ฅ + 3))
Sol:
Let h be the interval of differencing
๏€จ i ๏€ฉ ๏„ cos x ๏€ฝ cos ๏€จ x ๏€ซ h ๏€ฉ ๏€ญ cos x
h๏ƒถ
h
๏ƒฆ
๏€ฝ ๏€ญ2sin ๏ƒง x ๏€ซ ๏ƒท sin
2๏ƒธ
2
๏ƒจ
๏€จ ii ๏€ฉ ๏„ sin ๏€จ px ๏€ซ q ๏€ฉ ๏€ฝ sin ๏ƒฉ๏ƒซ p ๏€จ x ๏€ซ h ๏€ฉ ๏€ซ q ๏ƒน๏ƒป ๏€ญ sin ๏€จ px ๏€ซ q ๏€ฉ
ph ๏ƒถ
ph
๏ƒฆ
๏€ฝ 2 cos ๏ƒง px ๏€ซ q ๏€ซ
๏ƒท sin
2 ๏ƒธ
2
๏ƒจ
ph ๏ƒฆ ๏ฐ
ph ๏ƒถ
๏€ฝ 2sin
sin ๏ƒง ๏€ซ px ๏€ซ q ๏€ซ
๏ƒท
2
2 ๏ƒธ
๏ƒจ2
ph
1
โˆ†2 sin(px + q) = 2sin 2 โˆ† [sin [px + q + 2 (π + ph)]]
2
ph ๏ƒน
1
๏ƒฉ
๏ƒฉ
๏ƒน
๏€ฝ ๏ƒช 2sin
sin ๏ƒช px ๏€ซ q ๏€ซ ๏€จ๏ฐ ๏€ซ ph ๏€ฉ ๏ƒบ
๏ƒบ
2 ๏ƒป
2
๏ƒซ
๏ƒซ
๏ƒป
(๐‘–๐‘–๐‘– ) โˆ†๐‘’ ๐‘Ž๐‘ฅ+๐‘ = ๐‘’ ๐‘Ž(๐‘ฅ+โ„Ž)+๐‘ − ๐‘’ ๐‘Ž๐‘ฅ+๐‘
= ๐‘’ (๐‘Ž๐‘ฅ+๐‘) (๐‘’ ๐‘Žโ„Ž−1 )
โˆ†2 ๐‘’ ๐‘Ž๐‘ฅ+๐‘ = โˆ†[โˆ†(๐‘’ ๐‘Ž๐‘ฅ+๐‘ )] = โˆ†[(๐‘’ ๐‘Žโ„Ž − 1)(๐‘’ ๐‘Ž๐‘ฅ+๐‘ )]
= (๐‘’ ๐‘Žโ„Ž − 1)2 โˆ†(๐‘’ ๐‘Ž๐‘ฅ+๐‘ )
= (๐‘’ ๐‘Žโ„Ž − 1)2 ๐‘’ ๐‘Ž๐‘ฅ+๐‘
Proceeding on, we get ๏„ n ๏€จ eax ๏€ซb ๏€ฉ ๏€ฝ ๏€จ eah ๏€ญ 1๏€ฉ eax ๏€ซb
n
iv) Let ๐‘“ (๐‘ฅ ) = ๐‘ฅ(๐‘ฅ + 1)(๐‘ฅ + 2)(๐‘ฅ + 3)
given โ„Ž = 1
we know that โˆ†๐‘“(๐‘ฅ ) = ๐‘“ (๐‘ฅ + โ„Ž) − ๐‘“ (๐‘ฅ )
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
24
MATHEMATICS-II
INTERPOLATION
โˆ†[๐‘ฅ(๐‘ฅ + 1)(๐‘ฅ + 2)(๐‘ฅ + 3)] = (๐‘ฅ + 1)(๐‘ฅ + 2)(๐‘ฅ + 3)(๐‘ฅ + 4))
−๐‘ฅ(๐‘ฅ + 1)(๐‘ฅ + 2)(๐‘ฅ + 3)
= (๐‘ฅ + 1)(๐‘ฅ + 2)(๐‘ฅ + 3)[๐‘ฅ + 4 − ๐‘ฅ]
= ๐Ÿ’(๐‘ฅ + 1)(๐‘ฅ + 2)(๐‘ฅ + 3)
2.Find the missing term in the following data
๐’™
0
1
2
3
4
๐’š
1
3
9
-
81
Why this value is not equal to 33 . Explain
Solution:
Consider ๏„ 4 y0 ๏€ฝ 0
โŸน ๐‘ฆ4 − 4๐‘ฆ3 + 6๐‘ฆ2 − 4๐‘ฆ1 + ๐‘ฆ0 = 0
Substitute given values, we get
81 ๏€ญ 4 y3 ๏€ซ 54 ๏€ญ 12 ๏€ซ 1 ๏€ฝ 0 ๏ƒž y3 ๏€ฝ 31
From the given data we can conclude that the given function is y ๏€ฝ 3x . To find y3 ,
we have to assume that y is a polynomial function, which is not so. Thus we are not
getting y ๏€ฝ 33 ๏€ฝ 27
Equally Spaced : If the differences of x values are equal in the given data then it is called
equal spaced points otherwise it is called unequal spaced points
Newton’s Forward Interpolation Formula:
Given the set of (๐‘› + 1) values
(๐‘ฅ0 , ๐‘ฆ0 ), (๐‘ฅ1 , ๐‘ฆ1 ), − − −๐‘ฅ๐‘› , ๐‘ฆ๐‘› ) of ๐‘ฅ and ๐‘ฆ. It is required to find a polynomial of nth degree
yn(x) such that y and yn(x) agree at the tabular points with x’s equidistant (i.e.) xi = x0+ih (i
= 0, 1, 2…..n) then the Newton’s forward interpolation formula is given by
๐‘ฆ = ๐‘“ (๐‘ฅ ) = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ0 +
+
where ๐‘ =
๐‘(๐‘−1)
2!
โˆ†2๐‘ฆ0 +
๐‘(๐‘−1)(๐‘−2)−−−− (๐‘−(๐‘›−1))
๐‘›!
๐‘(๐‘−1)(๐‘−2)
3!
โˆ†3 ๐‘ฆ0 + − −
โˆ†๐‘› ๐‘ฆ0
๐‘ฅ−๐‘ฅ0
โ„Ž
Note : this formula is used when value of ๐’™ is located near beginning of tabular values
Problems :
1.Find the melting point of the alloy containing 54% of lead, using appropriate
interpolation formula
Percentage of lead(p) 50
60
70
80
Temperature ๏€จ Q๏‚ฐc ๏€ฉ
225
248
274
205
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
25
MATHEMATICS-II
Solution:
INTERPOLATION
The difference table is
x
y
50
205
๏„
๏„2
๏„3
20
60
225
3
23
70
0
248
3
26
80
274
Let temperature = f ๏€จ x ๏€ฉ
๐‘=
We have ๐‘ฅ = 54, ๐‘ฅ0 = 50, โ„Ž = 10
๐‘ฅ−๐‘ฅ0
โ„Ž
= 0.4
By Newton’s forward interpolation formula
๐‘“ (๐‘ฅ ) = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ0 +
๐‘(๐‘−1)
2!
๐‘“ (54) = 205 + 0.4(20) +
โˆ†2๐‘ฆ0 +
๐‘(๐‘−1)(๐‘−2)
3!
โˆ†3๐‘ฆ0 + − − − −
(0.4)(0.4 − 1)(0.4 − 2)
0.4(0.4 − 1)
(3) +
(0)
2!
3!
=205+8-0.36 =212.64. Melting point = 212.64
2. The population of a town in the decimal census was given below. Estimate the
population for the 1895
Year x
Populationin
thousands
1891
1901
1911
1921
1931
46
66
81
93
101
Solution: The forward difference table is
x
y
1891
46
๏„
๏„2
๏„3
๏„4
20
1901
-5
66
2
15
1911
81
-3
12
1921
93
-3
-1
-4
8
1931
101
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
26
MATHEMATICS-II
46 + (0.4)(20) +
INTERPOLATION
(0.4)(0.4 − 1)
(0.4 − 1)0.4(0.4 − 2)
(2)
− (−5) +
6
6
given โ„Ž = 10, ๐‘ฅ0 = 1891, ๐‘ฅ = 1985 then p ๏€ฝ 2 / 5 ๏€ฝ 0.4
By Newton’s forward interpolation formula
๐‘“ (๐‘ฅ ) = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ0 +
๐‘(๐‘+1)(๐‘+2)
๐‘(๐‘+1)
2!
โˆ†3๐‘ฆ0 + − − −−∴ ๐‘“(1895) = +
3!
โˆ†2๐‘ฆ0 +
(0.4)(0.4−1)(0.4−2)(0.4−3)
24
(−3)
=54.45 thousands
3. Find y (1.6) using Newton’s Forward difference formula from the table
x
1
1.4
1.8
2.2
y
3.49
4.82
5.96
6.5
Solution: The difference table is
X
y
๏„y
๏„y
๏„y
1
1.4
1.8
2.2
3.49
4.82
5.96
6.5
1.33
1.14
0.54
-0.81
-0.60
-1.41
2
3
Let ๐‘ฅ = 1.6 , x0=1, h=1.4 -1=0.4, ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
3
=2
Using Newton’s forward difference formula, we have
๐‘ (๐‘ + 1) 2
๐‘(๐‘ + 1)(๐‘ + 2) 3
๐‘“ (๐‘ฅ ) = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ0 +
โˆ† ๐‘ฆ0 +
โˆ† ๐‘ฆ0 + − − − −
2!
3!
35
22
3 57
2 22
๐‘“ (1.6) = 3.49 + 3/2(1.33) + 2 (-0.81)+ 6 (-1.41)
= 4.9656
4.Find the cubic polynomial which takes the following values
X
0
1
2
3
Y=f(x)
1
2
1
10
Hence evaluate f(4).
Sol: The forward difference table is given by
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
27
MATHEMATICS-II
X
y
0
1
1
2
INTERPOLATION
๏„2 y
๏„y
๏„3 y
1
-2
-1
2
1
12
10
9
3
10
x๏€ญ0
=x ; h=1
h
Using newton’s forward interpolation formula, we get
x( x ๏€ญ 1)( x ๏€ญ 2) 3
x ( x ๏€ญ 1) 2
x
๏„ y0 +
๏„ y0
Y = y0 + ๏„y 0 +
1
1 .2
1.2.3
x( x ๏€ญ 1)( x ๏€ญ 2)
x ( x ๏€ญ 1)
= 1+x(1)+
(-2)+
(12)
2
6
= 2x3-7x2+6x+1
Which is the required polynomial.
To compute f(4), we take xn=3 , x=4
x ๏€ญ xn
So that p=
=1
h
Using Newton’s backward interpolation formula , we get
p ( p ๏€ซ 1) 2
p( p ๏€ซ 1)( p ๏€ซ 2) 3
๏ƒ‘ y3
๏ƒ‘ y3 +
Y4 = y3+p ๏ƒ‘y 3 +
1.2
1.2.3
= 10+9+10+12
= 41
Which is the same value as that obtained by substituting x=4 in the cubic polynomial 2x37x2+6x+1.
P=
Newton’s Backward Interpolation Formula: Given the set of (๐‘› + 1) values
(๐‘ฅ0 , ๐‘ฆ0 ), (๐‘ฅ1 , ๐‘ฆ1 ), − − −๐‘ฅ๐‘› , ๐‘ฆ๐‘› ) of ๐‘ฅ and ๐‘ฆ. It is required to find a polynomial of nth degree
yn(x) such that y and yn(x) agree at the tabular points with ๐‘ฅ’s equidistant (i.e.) xi = x0+ih (i
= 0, 1, 2…..n) then the Newton’s backward interpolation formula is given by
๐‘ฆ๐‘› (๐‘ฅ) = ๐‘ฆ๐‘› + ๐‘∇๐‘ฆ๐‘› +
๐‘(๐‘+1)
Where p ๏€ฝ
2!
∇2 ๐‘ฆ๐‘› + − − − +
๐‘(๐‘+1)−−−− [๐‘+(๐‘›−1)]
๐‘›!
∇๐‘› ๐‘ฆ0
x ๏€ญ xn
h
Note : This formula is used when value of x is located near end of tabular values
Problems :
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
28
MATHEMATICS-II
INTERPOLATION
1. The population of a town in the decimal census was given below. Estimate the
population for the 1925
Year x
Population
in
thousands
1891
1901
1911
1921
1931
46
66
81
93
101
Solution : The backward difference table is
x
y
1891
46
∇
∇2
∇3
∇4
20
1901
66
-5
15
1911
81
2
-3
-3
12
1921
93
-1
-4
8
1931
101
given โ„Ž = 10, ๐‘ฅ๐‘› = 1931, ๐‘ฅ = 1925 then ๐‘ =
๐‘ฅ−๐‘ฅ๐‘›
โ„Ž
=
1925−1931
10
= −0.6
By Newton’s backward interpolation formula
๐‘( ๐‘ + 1 ) 2
๐‘(๐‘ + 1) … . [๐‘ + (๐‘› − 1)] ๐‘›
∇ ๐‘ฆ๐‘› + − +
∇ ๐‘ฆ0
2!
๐‘›!
(−0.6)(0.4)
∴ ๐‘“(1925) = 101 + (−0.6)(8) +
(−4)
2
(−0.6)(0.4)(1.4)
(−0.6)(0.4)(1.4)(2.4)
(−1) +
(−3)
+
6
24
= 96.21
๐‘ฆ๐‘› (๐‘ฅ) = ๐‘ฆ๐‘› + ๐‘∇๐‘ฆ๐‘› +
2.Find y ๏€จ 42 ๏€ฉ from the following data. Using Newton’s interpolation formula
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
29
MATHEMATICS-II
INTERPOLATION
๐’™
20
25
30
35
40
45
๐’š
354
332
291
260
231
204
Solution: since x=42 is located near end of the tabular values therefore we use NBIF
the backward difference table is
x
y
20
354
โˆ†2
โˆ†
โˆ†3
โˆ†4
โˆ†5
-22
25
332
-19
-41
30
29
291
10
-37
-31
35
-8
260
2
8
-29
40
45
0
231
2
-27
45
204
Given ๐‘ฅ = 42 and ๐‘ฅ๐‘› = 45 , โ„Ž = 5 , then ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
= −0.6
We know that NBIF
๐‘ฆ๐‘› (๐‘ฅ ) = ๐‘ฆ๐‘› + ๐‘∇๐‘ฆ๐‘› +
๐‘(๐‘+1)
2!
๐‘(๐‘+1)(๐‘+2)(๐‘+3)
4!
∇2๐‘ฆ๐‘› +
5!
(−0.6)(−0.6+1)
2
(−0.6)(−0.6+1)(−0.6+2)(−0.6+3)(−0.6+4)
120
3!
∇3๐‘ฆ๐‘› +
๐‘(๐‘+1)(๐‘+2)(๐‘+3)(๐‘+4)
∇4๐‘ฆ๐‘› +
๐‘ฆ(42) = 204 + (−0.6)(−27) +
๐‘(๐‘+1)(๐‘+2)
∇5๐‘ฆ๐‘›
(−0.6)(−0.6+1)(−0.6+2)(−0.6+3)
(2)+0+
24
(8) +
(45)
=234.44
Central Difference Interpolation: The middle part of the forward difference table is
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
30
MATHEMATICS-II
x
y
x๏€ญ 4
y๏€ญ4
x๏€ญ 3
x๏€ญ 2
x๏€ญ1
x0
x1
x2
x3
INTERPOLATION
๏„y
๏„2 y
๏„y๏€ญ4
๏„ 2 y ๏€ญ4
๏„y๏€ญ3
๏„3 y
๏„4 y
๏„5 y
๏„ 2 y ๏€ญ3
๏„ 3 y ๏€ญ4
๏„ 4 y ๏€ญ4
๏„ 5 y ๏€ญ4
๏„y๏€ญ2
๏„ 2 y ๏€ญ2
๏„ 3 y ๏€ญ3
๏„ 4 y ๏€ญ3
๏„ 5 y ๏€ญ3
๏„ y ๏€ญ1
๏„ 2 y ๏€ญ1
๏„ 3 y ๏€ญ2
๏„ 4 y ๏€ญ2
๏„ 5 y ๏€ญ2
๏„y0
๏„ 2 y0
๏„ 3 y ๏€ญ1
๏„ 4 y ๏€ญ1
๏„ 5 y ๏€ญ1
๏„y1
๏„ 2 y1
๏„ 3 y0
๏„ 4 y0
๏„y 2
๏„ 2 y2
๏„ 3 y1
y๏€ญ3
y๏€ญ2
y ๏€ญ1
y0
y1
y2
y3
๏„y3
x4
y4
1.Gauss’s forward Interpolation Formula: Given the set of (๐‘› + 1) values
(๐‘ฅ0 , ๐‘ฆ0 ), (๐‘ฅ1 , ๐‘ฆ1 ), − − −๐‘ฅ๐‘› , ๐‘ฆ๐‘› ) of ๐‘ฅ and ๐‘ฆ. It is required to find a polynomial of nth degree
yn(x) such that y and yn(x) agree at the tabular points with ๐‘ฅ’s equidistant (i.e.) xi = x0+ih (i
= 0, 1, 2…..n) then the Gauus Forward interpolation formula is given by
๐’š๐’ (๐’™) = ๐’š๐ŸŽ + ๐’‘โˆ†๐’š๐ŸŽ +
Where ๐‘ =
๐’‘(๐’‘−๐Ÿ)
๐Ÿ!
โˆ†๐Ÿ ๐’š−๐Ÿ +
๐’‘(๐’‘−๐Ÿ)(๐’‘+๐Ÿ)
๐Ÿ‘!
โˆ†๐Ÿ‘ ๐’š−๐Ÿ +
๐’‘(๐’‘−๐Ÿ)(๐’‘+๐Ÿ)(๐’‘−๐Ÿ)
๐Ÿ’!
โˆ†๐Ÿ’ ๐’š−๐Ÿ + − − −
๐‘ฅ−๐‘ฅ0
โ„Ž
Note:- We observe from the difference table that
๏„y0 ๏€ฝ ๏ค y1/2 , ๏„ 2 y๏€ญ1 ๏€ฝ ๏ค 2 y0 , ๏„3 y๏€ญ1 ๏€ฝ ๏ค 3 y1/2 , ๏„ 4 y๏€ญ2 ๏€ฝ ๏ค 4 y0 and so on. Accordingly the
formula (4) can be rewritten in the notation of central differences as given below
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
31
MATHEMATICS-II
INTERPOLATION
p ๏€จ p ๏€ญ 1๏€ฉ 2
๏€จ p ๏€ซ 1๏€ฉ p ๏€จ p ๏€ญ 1๏€ฉ ๏ค 3 y
๏ค y0 ๏€ซ
1/2
2!
3!
๏€จ p ๏€ซ 1๏€ฉ๏€จ p ๏€ญ 1๏€ฉ p ๏€จ p ๏€ญ 2 ๏€ฉ ๏ค 4 y ๏€ซ ๏€ญ ๏€ญ ๏€ญ๏€ญ] ๏‚ฎ 5
๏€ซ
๏€จ ๏€ฉ
0
4!
y p ๏€ฝ [ y0 ๏€ซ p๏ค y1/2 ๏€ซ
2.Gauss’s Backward Interpolation formula: Given the set of (๐‘› + 1) values
(๐‘ฅ0 , ๐‘ฆ0 ), (๐‘ฅ1 , ๐‘ฆ1 ), − − −๐‘ฅ๐‘› , ๐‘ฆ๐‘› ) of ๐‘ฅ and ๐‘ฆ. It is required to find a polynomial of nth degree
yn(x) such that y and yn(x) agree at the tabular points with ๐‘ฅ’s equidistant (i.e.) ๐‘ฅi = ๐‘ฅ0 +๐‘–โ„Ž
(i = 0, 1, 2…..n) then the Gauus Backward interpolation formula is given by
๐‘ (๐‘ + 1) 2
๐‘(๐‘ + 1)(๐‘ − 1) 3
๐‘ฆ = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ−1 +
โˆ† ๐‘ฆ−1 +
โˆ† ๐‘ฆ−2
2!
3!
๐‘(๐‘ + 1)(๐‘ − 1)(๐‘ + 2) 4
+
โˆ† ๐‘ฆ−2 + …
4!
Note: Gauss forward and Backward formulae used when ๐’™ is located middle of the
tabular values
Problems :
1.Use Gauss Forward interpolation formula to find ๐’‡(๐Ÿ‘. ๐Ÿ‘) from the following table
๐’™
๐’š = ๐’‡(๐’™)
1
2
3
4
5
15.30
15.10
15.00
14.50
14.00
Solution: the difference table is
x
1 x-2
y
โˆ†๐‘ฆ
โˆ†2 ๐‘ฆ
โˆ†3 ๐‘ฆ
โˆ†4 ๐‘ฆ
15.3 y-2
-0.2
2 x-1
15.1 y-1
0.1
-0.1
3 x0
-0.5
-0.4 โˆ†2 ๐‘ฆ−1
15.0 y0
0.4โˆ†3 ๐‘ฆ−1
-0.5 โˆ†y0
4 x1
14.5 y1
0.9โˆ†4 ๐‘ฆ−2
0.0
-0.5
5 x2
14.0 y2
Given x=3.3 , x0=3 ,h=1 hence ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
= 0.3
We know that Gauss forward interpolation formula is
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
32
MATHEMATICS-II
INTERPOLATION
p ๏€จ p ๏€ญ 1๏€ฉ 2
๏€จ p ๏€ซ 1๏€ฉ p ๏€จ p ๏€ญ 1๏€ฉ ๏„3 y
๏„ y๏€ญ1 ๏€ซ
๏€ญ1
2!
3!
๏€จ p ๏€ซ 1๏€ฉ๏€จ p ๏€ญ 1๏€ฉ p ๏€จ p ๏€ญ 2 ๏€ฉ ๏„ 4 y ๏€ซ ๏€ญ ๏€ญ ๏€ญ๏€ญ] ๏‚ฎ 4
๏€ซ
๏€จ ๏€ฉ
๏€จ ๏€ญ2 ๏€ฉ
4!
y p ๏€ฝ [ y0 ๏€ซ p ๏€จ ๏„y0 ๏€ฉ ๏€ซ
(0.3)(0.3−1)
=15+(0.3)(0.5)+
(−0.4) +
2
(0.3)(0.09−1)
6
(0.4)+
(0.3)(0.09−1)(0.3−2)
24
(0.9)
=14.9
2. Find f (2.5) using following Table
x
1
2
3
4
y
1
8
27
64
Solution: The difference table is
x
1
y
1
2
8
3
27
4
64
๏„y
๏„2y
๏„3y
7
12
19
6
18
37
h=1
P๏€ฝ
X ๏€ญ X 0 2.5 ๏€ญ 2
๏€ฝ
๏€ฝ 0.5
h
1
Using Gauss Forward interpolation formula,
๏€ฝ 8 ๏€ซ (0.5)19 ๏€ซ
(0.5)(๏€ญ0.5)
(0.5 ๏€ญ 1)(0.5)(1.5 ๏€ซ 1)
(12) ๏€ซ
(6)
2
6
= 15.625
3. Use Gauss forward interpolation formulae to find f(3.3) from the following
x
y
Solution:
1
15.30
2
15.10
3
15.00
4
14.50
x
y
๏„y
๏„2y
๏„3y
๏„4y
1
2
3
4
5
15.30
15.10
15.00
14.50
14.00
-0.20
-0.10
-0.50
-0.50
0.10
-0.40
0.00
-0.50
0.40
0.90
DEPARTMENT OF HUMANITIES & SCIENCES
5
14.00
MRCET (EAMCET CODE: MLRD)
33
MATHEMATICS-II
P๏€ฝ
INTERPOLATION
3.3 ๏€ญ 3
๏€ฝ 0.3
1
๏€จ ๏€ญ0.7 ๏€ฉ (1.3)
(0.3)(๏€ญ0.4)(๏€ญ0.7)
๏€ซ (0.3)(0.4)
2
6
๏€จ 0.3๏€ฉ๏€จ ๏€ญ0.7 ๏€ฉ๏€จ1.3๏€ฉ๏€จ ๏€ญ1.3๏€ฉ (๏€ญ0.9) ๏€ฝ 14.8604925 ๏€ฝ 14.9
๏€ซ
24
๏€ฝ 15 ๏€ซ (0.3)(๏€ญ0.5) ๏€ซ
4. Find f(2.36) from the following table
x: 1.6
1.8
y: 4.95
6.05
2.0
7.39
2.2
9.03
2.4
11.02
2.6
13.46
โˆ†3
โˆ†4
Solution:
x
y
1.6
4.95
1.8
6.05
2.0
1.1
1.34
7.39
2.2 ๐‘ฅ0
โˆ†2
โˆ†
1.64
9.03 ๐‘ฆ0
2.4
11.02
2.6
13.46
1.99
โˆ†5
0.24
0.06
0.3
-0.01
0.06
0.05
0.35
0.1
0.05
0.45
2.44
here we have ๐‘ฅ = 2.36 , ๐‘ฅ0 = 2.2 , โ„Ž = 0.2 , ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
= 0.8
p ๏€จ p ๏€ญ 1๏€ฉ 2
๏€จ p ๏€ซ 1๏€ฉ p ๏€จ p ๏€ญ 1๏€ฉ ๏„3 y
๏„ y๏€ญ1 ๏€ซ
๏€ญ1
2!
3!
๏€จ p ๏€ซ 1๏€ฉ๏€จ p ๏€ญ 1๏€ฉ p ๏€จ p ๏€ญ 2 ๏€ฉ ๏„ 4 y ๏€ซ ๏€ญ ๏€ญ ๏€ญ๏€ญ] ๏‚ฎ 4
๏€ซ
๏€จ ๏€ฉ
๏€จ ๏€ญ2 ๏€ฉ
4!
y p ๏€ฝ [ y0 ๏€ซ p ๏€จ ๏„y0 ๏€ฉ ๏€ซ
Substituting all above values in the formula then
๐‘“ (2.36) = 9.03 + (0.8)(1.99) +
(0.8)(0.8−1)
2
(0.35)+
(0.8+1)(0.8)(0.8−1)
6
(0.1)+
(0.8+1)(0.8)(0.8−1)(0.8−2)
24
(0.05)
=10.02
5. Find f(22) from the following table using Gauss forward formula
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
34
MATHEMATICS-II
INTERPOLATION
๐’™
20
25
30
35
40
45
๐’š
354
332
291
260
231
204
โˆ†3
โˆ†4
โˆ†5
Solution : the middle part of the difference table is
x
y
20๐‘ฅ0
354๐‘ฆ0
โˆ†2
โˆ†
-22
25
-19
332
-41
30
29
10
291
-37
-31
35
-8
2
260
8
-29
40
45
0
2
231
-27
45
204
Given ๐‘ฅ = 22 and ๐‘ฅ0 = 20 , โ„Ž = 5 , then ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
= 0.4
The Gauss forward formula is
๐‘ฆ = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ0
= 354 + (0.4)(−22)
= 345.2
6. Find by Gauss’s Backward interpolating formula the value of y at x=1936, using the
following table.
x
1901
1911
1921
1931
1941
1951
y
12
15
20
27
39
52
Solution: The difference table is
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
35
MATHEMATICS-II
x
1901 x-3
โˆ†2 ๐‘ฆ
โˆ†๐‘ฆ
y
INTERPOLATION
โˆ†3 ๐‘ฆ
โˆ†4 ๐‘ฆ
โˆ†5 ๐‘ฆ
12 y-3
3
1911 x-2
15 y-2
2
5
1921 x-1
0
20 y-1
2
3
3โˆ†3 ๐‘ฆ−2
7 โˆ†๐‘ฆ−1
1931 x0
5 โˆ†2 ๐‘ฆ−1
27 y0
12
1941 x1
-10โˆ†5 ๐‘ฆ−3
7โˆ†4 ๐‘ฆ−2
-4
39 y1
1
13
1951 x2
52 y2
Given x=1936 and let x0 =1931 and h=10 then ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
= 0.5
By Gauss backward interpolation formula we have
(๐‘ + 1)๐‘ 2
( ๐‘ + 1 ) ๐‘( ๐‘ − 1 ) 3
โˆ† ๐‘ฆ−1 +
โˆ† ๐‘ฆ−2
2!
3!
(๐‘ + 1)๐‘(๐‘ − 1)(๐‘ − 2) 4
+
โˆ† ๐‘ฆ−2 + − − −
4!
๐‘ฆ = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ−1 +
=27+(0.5)(7)+
0.5)(0.5+1)
2
(5) +
(0.5)(1.5)(−0.5)
6
(0.5)(1.5)(−0.5)(−1.5)(2.5)
120
(3) +
(0.5)(1.5)(−0.5)(−1.5)
24
(−7) +
(−10)
=32.345
7. Using Gauss back ward difference formula, find y(8) from the following table
๐’™
0
5
10
15
20
25
๐’š
7
11
14
18
24
32
โˆ†2 ๐‘ฆ
โˆ†3 ๐‘ฆ
โˆ†4 ๐‘ฆ
โˆ†5 ๐‘ฆ
Solution: The difference table is
x
y
โˆ†๐‘ฆ
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
36
MATHEMATICS-II
0 x-2
INTERPOLATION
7 y-2
4
5 x-1
11 y-1
-1
3
10 x0
2
14 y0
1
-1
4
15 x1
1
18 y1
2
-1
6
20 x2
0
0
24y2
2
8
25 x3
32 y3
Given x=8 and let x0 =10 and h=5 then ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
= −0.4
By Gauss backward interpolation formula we have
(๐‘ + 1)๐‘ 2
( ๐‘ + 1 ) ๐‘( ๐‘ − 1 ) 3
โˆ† ๐‘ฆ−1 +
โˆ† ๐‘ฆ−2
2!
3!
(๐‘ + 1)๐‘(๐‘ − 1)(๐‘ − 2) 4
+
โˆ† ๐‘ฆ−2 + −
4!
๐‘ฆ = ๐‘ฆ0 + ๐‘โˆ†๐‘ฆ−1 +
(−0.4)(−0.4+1)
14+(0.4)(3)+
2
(1 ) +
(−0.4)(−0.4+1)(−0.4−1)(−0.4−2)
24
(−0.4)(−0.4+1)(−0.4−1)
6
(2) +
(−1)=12.704
Lagrange’s Interpolation Formula: Let ๐‘“(๐‘ฅ) be continuous and differentiable (n+1)
times in the interval (a, b). Given the (n+1) points as(x0, ๐‘ฆ0), (๐‘ฅ1, ๐‘ฆ1), (x2, y2)…..
(xn,yn) where values of x not necessarily be equally spaced then the interpolating polynomial
of degree ‘n’ say ๐‘“(๐‘ฅ) is given by
๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ ....... ๏€จ x ๏€ญ xn ๏€ฉ f x ๏€ซ ๏€จ x ๏€ญ x0 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ ..... ๏€จ x ๏€ญ xn ๏€ฉ ( )
f ๏€จ x๏€ฉ ๏€ฝ
๐‘“ ๐‘ฅ1
๏€จ ๏€ฉ
๏€จ x0 ๏€ญ x1 ๏€ฉ๏€จ x0 ๏€ญ x2 ๏€ฉ ......... ๏€จ x0 ๏€ญ xn ๏€ฉ 0 ๏€จ x1 ๏€ญ x0 ๏€ฉ๏€จ x1 ๏€ญ x2 ๏€ฉ .... ๏€จ x1 ๏€ญ xn ๏€ฉ
(๐‘ฅ−๐‘ฅ )(๐‘ฅ−๐‘ฅ )(๐‘ฅ−๐‘ฅ )……..(๐‘ฅ−๐‘ฅ )
(๐‘ฅ−๐‘ฅ )(๐‘ฅ−๐‘ฅ )……..(๐‘ฅ−๐‘ฅ
0
1
2
๐‘›
๐‘›−1
+ (๐‘ฅ −๐‘ฅ
๐‘“ (๐‘ฅ2 ) + … … . + (๐‘ฅ −๐‘ฅ 0)(๐‘ฅ −๐‘ฅ1 )………(๐‘ฅ −๐‘ฅ
)(๐‘ฅ −๐‘ฅ )………(๐‘ฅ −๐‘ฅ )
2
0
2
1
2
๐‘›
๐‘›
0
๐‘›
1
๐‘›
)
๐‘›−1)
๐‘“ (๐‘ฅ ๐‘› )
Note: This formula is used when values of ๐’™ are unequally spaced and equally spaced
PROBLEMS
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
37
MATHEMATICS-II
INTERPOLATION
1. Using Lagrange formula, calculate f ๏€จ 3๏€ฉ from the following table
x
f ๏€จ x๏€ฉ
Solution:
0
1
2
4
5
6
1
14
15
5
6
19
Given ๐‘ฅ0 = 0, ๐‘ฅ1 = 1, ๐‘ฅ2 = 2, ๐‘ฅ3 = 4, ๐‘ฅ4 = 5, ๐‘ฅ5 = 6
f ๏€จ x0 ๏€ฉ ๏€ฝ 1, f ๏€จ x1 ๏€ฉ ๏€ฝ 14, f ๏€จ x2 ๏€ฉ ๏€ฝ 15, f ๏€จ x3 ๏€ฉ ๏€ฝ 5, f ๏€จ x4 ๏€ฉ ๏€ฝ 6, f ๏€จ x5 ๏€ฉ ๏€ฝ 19
From Lagrange’s interpolation formula
๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ๏€จ x ๏€ญ x4 ๏€ฉ๏€จ x ๏€ญ x5 ๏€ฉ f x
๏€จ ๏€ฉ
๏€จ x0 ๏€ญ x1 ๏€ฉ๏€จ x0 ๏€ญ x2 ๏€ฉ๏€จ x0 ๏€ญ x3 ๏€ฉ๏€จ x0 ๏€ญ x4 ๏€ฉ๏€จ x0 ๏€ญ x5 ๏€ฉ 0
๏€จ x ๏€ญ x0 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ๏€จ x ๏€ญ x4 ๏€ฉ๏€จ x ๏€ญ x5 ๏€ฉ f x
๏€ซ
๏€จ ๏€ฉ
๏€จ x1 ๏€ญ x0 ๏€ฉ๏€จ x1 ๏€ญ x2 ๏€ฉ๏€จ x1 ๏€ญ x3 ๏€ฉ๏€จ x1 ๏€ญ x4 ๏€ฉ๏€จ x1 ๏€ญ x5 ๏€ฉ 1
๏€จ x ๏€ญ x0 ๏€ฉ๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ๏€จ x ๏€ญ x4 ๏€ฉ๏€จ x ๏€ญ x5 ๏€ฉ f x
๏€ซ
๏€จ ๏€ฉ
๏€จ x2 ๏€ญ x0 ๏€ฉ๏€จ x2 ๏€ญ x1 ๏€ฉ๏€จ x2 ๏€ญ x3 ๏€ฉ๏€จ x2 ๏€ญ x4 ๏€ฉ๏€จ x2 ๏€ญ x5 ๏€ฉ 2
f ๏€จ x๏€ฉ ๏€ฝ
๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ
๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ๏€ญ
๏€จ x ๏€ญ x0 ๏€ฉ๏€จ x ๏€ญ x1 ๏€ฉ ๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ๏€จ x ๏€ญ x4 ๏€ฉ f x
๏€จ ๏€ฉ
๏€จ x5 ๏€ญ x0 ๏€ฉ๏€จ x5 ๏€ญ x1 ๏€ฉ๏€จ x5 ๏€ญ x2 ๏€ฉ๏€จ x5 ๏€ญ x3 ๏€ฉ๏€จ x5 ๏€ญ x4 ๏€ฉ 5
Here x ๏€ฝ 3 then
f ๏€จ 3๏€ฉ ๏€ฝ
๏€จ 3 ๏€ญ 1๏€ฉ๏€จ 3 ๏€ญ 2 ๏€ฉ๏€จ 3 ๏€ญ 4 ๏€ฉ๏€จ 3 ๏€ญ 5 ๏€ฉ๏€จ3 ๏€ญ 6 ๏€ฉ ๏‚ด1 ๏€ซ
๏€จ 0 ๏€ญ 1๏€ฉ๏€จ 0 ๏€ญ 2 ๏€ฉ๏€จ 0 ๏€ญ 4 ๏€ฉ๏€จ 0 ๏€ญ 5 ๏€ฉ๏€จ 0 ๏€ญ 6 ๏€ฉ
๏€จ 3 ๏€ญ 0 ๏€ฉ๏€จ 3 ๏€ญ 2 ๏€ฉ๏€จ 3 ๏€ญ 4 ๏€ฉ๏€จ 3 ๏€ญ 5 ๏€ฉ๏€จ 3 ๏€ญ 6 ๏€ฉ ๏‚ด14 ๏€ซ
๏€จ1 ๏€ญ 0 ๏€ฉ๏€จ1 ๏€ญ 2 ๏€ฉ๏€จ1 ๏€ญ 4 ๏€ฉ๏€จ1 ๏€ญ 5 ๏€ฉ๏€จ1 ๏€ญ 6 ๏€ฉ
๏€จ 3 ๏€ญ 0 ๏€ฉ๏€จ 3 ๏€ญ 1๏€ฉ๏€จ 3 ๏€ญ 4 ๏€ฉ๏€จ 3 ๏€ญ 5 ๏€ฉ๏€จ 3 ๏€ญ 6 ๏€ฉ ๏‚ด15 ๏€ซ
๏€จ 2 ๏€ญ 0 ๏€ฉ๏€จ 2 ๏€ญ 1๏€ฉ๏€จ 2 ๏€ญ 4 ๏€ฉ๏€จ 2 ๏€ญ 5 ๏€ฉ๏€จ 2 ๏€ญ 6 ๏€ฉ
๏€จ 3 ๏€ญ 0 ๏€ฉ๏€จ 3 ๏€ญ 1๏€ฉ๏€จ 3 ๏€ญ 2 ๏€ฉ๏€จ 3 ๏€ญ 5 ๏€ฉ๏€จ 3 ๏€ญ 6 ๏€ฉ ๏‚ด 5 ๏€ซ
๏€จ 4 ๏€ญ 0 ๏€ฉ๏€จ 4 ๏€ญ 1๏€ฉ๏€จ 4 ๏€ญ 2 ๏€ฉ๏€จ 4 ๏€ญ 5 ๏€ฉ๏€จ 4 ๏€ญ 6 ๏€ฉ
๏€จ 3 ๏€ญ 0 ๏€ฉ๏€จ 3 ๏€ญ 1๏€ฉ๏€จ 3 ๏€ญ 2 ๏€ฉ๏€จ 3 ๏€ญ 4 ๏€ฉ๏€จ 3 ๏€ญ 6 ๏€ฉ ๏‚ด 6 ๏€ซ
๏€จ 5 ๏€ญ 0 ๏€ฉ๏€จ 5 ๏€ญ 1๏€ฉ๏€จ 5 ๏€ญ 2 ๏€ฉ๏€จ 5 ๏€ญ 4 ๏€ฉ๏€จ 5 ๏€ญ 6 ๏€ฉ
๏€จ 3 ๏€ญ 0 ๏€ฉ๏€จ 3 ๏€ญ 1๏€ฉ๏€จ 3 ๏€ญ 2 ๏€ฉ๏€จ 3 ๏€ญ 4 ๏€ฉ๏€จ 3 ๏€ญ 5 ๏€ฉ ๏‚ด19
๏€จ 6 ๏€ญ 0 ๏€ฉ๏€จ 6 ๏€ญ 1๏€ฉ๏€จ 6 ๏€ญ 2 ๏€ฉ๏€จ 6 ๏€ญ 4 ๏€ฉ๏€จ 6 ๏€ญ 5 ๏€ฉ
๏€ฝ
12 18
36
36
18
12
๏€ญ ๏‚ด14 ๏€ซ ๏‚ด15 ๏€ซ ๏‚ด 5 ๏€ญ ๏‚ด 6 ๏€ซ ๏‚ด 19
240 60
48
48
60
40
๏€ฝ 0.05 ๏€ญ 4.2 ๏€ซ11.25 ๏€ซ 3.75 ๏€ญ1.8 ๏€ซ 0.95 ๏€ฝ 10
f ๏€จ x3 ๏€ฉ ๏€ฝ 10
2. Find f ๏€จ 3.5๏€ฉ using Lagrange method of 2nd and 3 order degree polynomials.
rd
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
38
MATHEMATICS-II
INTERPOLATION
๐’™
1
2
3
4
๐’‡ ( ๐’™)
1
2
9
28
By Lagrange’s interpolation formula For n ๏€ฝ 4 ,we have
Sol:
๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ f x ๏€ซ
๏€จ ๏€ฉ
๏€จ x0 ๏€ญ x1 ๏€ฉ๏€จ x0 ๏€ญ x2 ๏€ฉ๏€จ x0 ๏€ญ x3 ๏€ฉ 0
๏€จ x ๏€ญ x0 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ f x ๏€ซ
๏€จ ๏€ฉ
๏€จ x1 ๏€ญ x0 ๏€ฉ๏€จ x1 ๏€ญ x2 ๏€ฉ๏€จ x1 ๏€ญ x3 ๏€ฉ 1
๏€จ x ๏€ญ x0 ๏€ฉ๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ f x ๏€ซ
๏€จ ๏€ฉ
๏€จ x2 ๏€ญ x0 ๏€ฉ๏€จ x2 ๏€ญ x1 ๏€ฉ๏€จ x2 ๏€ญ x3 ๏€ฉ 2
๏€จ x ๏€ญ x0 ๏€ฉ๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ f x ๏€ซ
๏€จ ๏€ฉ
๏€จ x3 ๏€ญ x0 ๏€ฉ๏€จ x3 ๏€ญ x1 ๏€ฉ๏€จ x3 ๏€ญ x2 ๏€ฉ 3
๏€จ 3.5 ๏€ญ 2 ๏€ฉ๏€จ 3.5 ๏€ญ 3๏€ฉ๏€จ 3.5 ๏€ญ 4 ๏€ฉ 1 ๏€ซ ๏€จ 3.5 ๏€ญ 1๏€ฉ๏€จ 3.5 ๏€ญ 3๏€ฉ๏€จ 3.5 ๏€ญ 4 ๏€ฉ 2 ๏€ซ
๏œ f ๏€จ 3.5 ๏€ฉ ๏€ฝ
๏€จ ๏€ฉ
๏€จ๏€ฉ
๏€จ 2 ๏€ญ 1๏€ฉ๏€จ 2 ๏€ญ 3๏€ฉ๏€จ 2 ๏€ญ 4 ๏€ฉ
๏€จ1 ๏€ญ 2 ๏€ฉ๏€จ1 ๏€ญ 3๏€ฉ๏€จ1 ๏€ญ 4 ๏€ฉ
f ๏€จ x๏€ฉ ๏€ฝ
(3.5 − 1)(3.5 − 2)(3.5 − 4)
(3.5 − 1)(3.5 − 2)(3.5 − 3)
(9) +
(28)
(3 − 1)(3 − 2)(3 − 4)
(4 − 1)(4 − 2)(4 − 3)
=0.0625+(-0.625)+8.4375+8.75
=16.625
(๐‘ฅ − 2)(๐‘ฅ − 3)(๐‘ฅ − 4)
(๐‘ฅ − 1)(๐‘ฅ − 3)(๐‘ฅ − 4)
(1) +
(2)
๐‘๐‘œ๐‘ค ๐‘“(๐‘ฅ ) =
−6
2
(๐‘ฅ−1)(๐‘ฅ−2)(๐‘ฅ−4)
(๐‘ฅ−1)(๐‘ฅ−2)(๐‘ฅ−3)
(9) +
(28)
++
(−2)
6
2
(๐‘ฅ − 5๐‘ฅ + 6)(๐‘ฅ − 4)
(๐‘ฅ 2 − 3๐‘ฅ + 2)(๐‘ฅ − 4)
(9)
+ (๐‘ฅ 2 − 4๐‘ฅ + 3)(๐‘ฅ − 4) +
−6
−2
(๐‘ฅ 2 − 3๐‘ฅ + 2)(๐‘ฅ − 3)
(28)
+
6
๐‘ฅ 3 − 9๐‘ฅ 2 + 26๐‘ฅ − 24
๐‘ฅ 3 − 7๐‘ฅ 2 + 14๐‘ฅ − 8
(9)
=
+ ๐‘ฅ 3 − 8๐‘ฅ 2 + 19๐‘ฅ − 12 +
−6
−2
๐‘ฅ 3 − 6๐‘ฅ 2 + 11๐‘ฅ − 6
(28)
+
6
๏ƒฉ๏ƒซ ๏€ญ x3 ๏€ซ 9 x 2 ๏€ญ 26 x ๏€ซ 24 ๏€ซ 6 x3 ๏€ญ 48 x 2 ๏€ซ 114 x ๏€ญ 72 ๏€ญ 27 x3 ๏€ซ 189 x 2 ๏€ญ 378 x ๏€ซ 216 ๏€ซ 308 x ๏€ซ 28 x3 ๏€ญ 168 x 2 ๏€ญ 168 ๏ƒน๏ƒป
=
๏€ฝ
6
๏€ฝ
6 x ๏€ญ 18 x ๏€ซ 18 x
๏ƒž f ๏€จ x ๏€ฉ ๏€ฝ x 3 ๏€ญ 3x 2 ๏€ซ 3x
6
3
2
๏œ f ๏€จ 3.5๏€ฉ ๏€ฝ ๏€จ 3.5 ๏€ฉ ๏€ญ 3 ๏€จ 3.5 ๏€ฉ ๏€ซ 3 ๏€จ 3.5 ๏€ฉ ๏€ฝ 16.625
3
2
3. Find f (4) use Lagrange’s interpolation formulae.
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
39
MATHEMATICS-II
x
0
Y=f(x) -4
2
2
3
14
INTERPOLATION
6
158
Soluiotn:
๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ๏€จ x ๏€ญ x4 ๏€ฉ y ๏€ซ ๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ๏€จ x ๏€ญ x4 ๏€ฉ
f ๏€จ x๏€ฉ ๏€ฝ
๏€จ x1 ๏€ญ x2 ๏€ฉ๏€จ x1 ๏€ญ x3 ๏€ฉ๏€จ x1 ๏€ญ x4 ๏€ฉ 1 ๏€จ x2 ๏€ญ x1 ๏€ฉ๏€จ x2 ๏€ญ x3 ๏€ฉ๏€จ x2 ๏€ญ x4 ๏€ฉ
Y2 ๏€ซ
๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x4 ๏€ฉ y ๏€ซ ๏€จ x ๏€ญ x1 ๏€ฉ๏€จ x ๏€ญ x2 ๏€ฉ๏€จ x ๏€ญ x3 ๏€ฉ Y
๏€จ x3 ๏€ญ x1 ๏€ฉ๏€จ x3 ๏€ญ x2 ๏€ฉ๏€จ x3 ๏€ญ x4 ๏€ฉ 3 ๏€จ x4 ๏€ญ x1 ๏€ฉ๏€จ x4 ๏€ญ x2 ๏€ฉ๏€จ x4 ๏€ญ x3 ๏€ฉ 4
Where x ๏€ฝ 4, x1 ๏€ฝ 0, x2 ๏€ฝ 2, x3 ๏€ฝ 3, x4 ๏€ฝ 6
๏€จ 4 ๏€ญ 2 ๏€ฉ๏€จ 4 ๏€ญ 3๏€ฉ๏€จ 4 ๏€ญ 6 ๏€ฉ ๏‚ด ๏€ญ4 ๏€ซ
๏€ฝ
๏€จ ๏€ฉ
๏€จ ๏€ญ2 ๏€ฉ๏€จ ๏€ญ3๏€ฉ๏€จ ๏€ญ6 ๏€ฉ
๏€จ 4 ๏€ฉ๏€จ1๏€ฉ๏€จ ๏€ญ2 ๏€ฉ ๏‚ด 2 ๏€ซ 4 ๏‚ด 2 ๏‚ด ๏€จ ๏€ญ2 ๏€ฉ ๏‚ด14
๏€จ ๏€ฉ
2 ๏€จ ๏€ญ1๏€ฉ๏€จ ๏€ญ4 ๏€ฉ
3 ๏‚ด 1๏‚ด 3 ๏€จ ๏€ญ3๏€ฉ
4 ๏€จ 2 ๏€ฉ๏€จ1๏€ฉ
๏€ฝ
๏‚ด 158
6 ๏€จ 4 ๏€ฉ๏€จ 3๏€ฉ
๏€ญ4
224 158 ๏€ญ4 ๏€ญ 18 ๏€ซ 224 ๏€ซ 158
๏€ซ
๏€ฝ
๏€จ ๏€ญ2 ๏€ฉ ๏€ซ
9
9
9
9
๏€ฝ 40
๏€ฝ
4. The following are the measurements T made on curverecorded by the oscilograph
representing a change of current I due to a change in condn s of anelectric current
T 1.2 2
2.5
3
I 1.36 0.58 0.34 0.2
Solution:
Since data is unequispaced, we use Lagrange’s interpolation
y๏€ฝ
๏€ซ
( x ๏€ญ x1 )( x ๏€ญ x2 )(x ๏€ญ x3 )
( x ๏€ญ x0 )( x ๏€ญ x2 )(x ๏€ญ x3 )
y0 ๏€ซ
y1
( x0 ๏€ญ x1 )( x0 ๏€ญ x2 )(x 0 ๏€ญ x 3 )
( x1 ๏€ญ x0 )( x1 ๏€ญ x2 )(x1 ๏€ญ x3 )
( x ๏€ญ x0 )( x ๏€ญ x1 )(x ๏€ญ x3 )
( x ๏€ญ x0 )( x ๏€ญ x1 )(x ๏€ญ x2 )
y2 ๏€ซ
y3
( x2 ๏€ญ x0 )( x2 ๏€ญ x1 )(x 2 ๏€ญ x3 )
( x3 ๏€ญ x0 )( x3 ๏€ญ x1 )(x 3 ๏€ญ x2 )
(1.6 ๏€ญ 1.2)(1.6 ๏€ญ 2)(1.6 ๏€ญ 3)
(1.6 ๏€ญ 1.2)(1.6 ๏€ญ 2.5)(1.6 ๏€ญ 3)
(1.36) ๏€ซ
(0.58)
(1.6 ๏€ญ 1.2)(1.6 ๏€ญ 2)(1.6 ๏€ญ 3)
(2 ๏€ญ 1.2)(2 ๏€ญ 2.5)(1.6 ๏€ญ 3)
(1.6 ๏€ญ 1.2)(1.6 ๏€ญ 2)(1.6 ๏€ญ 3)
(1.6 ๏€ญ 1.2)(1.6 ๏€ญ 2)(1.6 ๏€ญ 2.5)
๏€ซ
(0.34) ๏€ซ
(0.2)
(1.6 ๏€ญ 1.2)(1.6 ๏€ญ 2)(1.6 ๏€ญ 3)
(1.6 ๏€ญ 1.2)(1.6 ๏€ญ 2)(1.6 ๏€ญ 2.5)
y ๏€ฝ
=0.8947 ∴ ๐ผ = 0.8947
5. Find the parabola passing through points (0,1), (1,3) and(3,55) using Lagrange’s
Interpolation Formula.
x
y
0
1
1
3
3
55
Solution: Given Lagrange’s interpolation formula is
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
40
MATHEMATICS-II
y๏€ฝ
๏€ซ
INTERPOLATION
( x ๏€ญ x0 )( x ๏€ญ x2 )
( x ๏€ญ x1 )( x ๏€ญ x2 )
y0 ๏€ซ
y1
( x0 ๏€ญ x1 )( x0 ๏€ญ x2 )
( x1 ๏€ญ x0 )( x1 ๏€ญ x2 )
( x ๏€ญ x0 )( x ๏€ญ x1 )
y2
( x2 ๏€ญ x0 )( x2 ๏€ญ x1 )
( x ๏€ญ 1)( x ๏€ญ 3) ( x ๏€ญ 0)( x ๏€ญ 3)
๏€ซ
(3)
(0 ๏€ญ 1)(0 ๏€ญ 3) (1 ๏€ญ 0)(1 ๏€ญ 3)
( x ๏€ญ 0)( x ๏€ญ 1)
๏€ซ
(55)
(3 ๏€ญ 0)(3 ๏€ญ 1)
y๏€ฝ
1
=6 [48๐‘ฅ 2 − 36๐‘ฅ + 6]
=8๐‘ฅ 2 − 6๐‘ฅ + 1
6. A Curve passes through the points (0,18),(1,10),(3,-18) and (6,90). Find the slope of
the curve at ๐’™ = ๐Ÿ.
x 0
1
y 18 10
Solution: Given data is
3
-18
6
90
Since data is unequispaced, we use Lagrange’s interpolation
( x ๏€ญ x1 )( x ๏€ญ x2 )(x ๏€ญ x3 )
( x ๏€ญ x0 )( x ๏€ญ x2 )(x ๏€ญ x3 )
y๏€ฝ
y0 ๏€ซ
y1
( x0 ๏€ญ x1 )( x0 ๏€ญ x2 )(x 0 ๏€ญ x 3 )
( x1 ๏€ญ x0 )( x1 ๏€ญ x2 )(x1 ๏€ญ x3 )
๏€ซ
( x ๏€ญ x0 )( x ๏€ญ x1 )(x ๏€ญ x3 )
( x ๏€ญ x0 )( x ๏€ญ x1 )(x ๏€ญ x2 )
y2 ๏€ซ
y3
( x2 ๏€ญ x0 )( x2 ๏€ญ x1 )(x 2 ๏€ญ x3 )
( x3 ๏€ญ x0 )( x3 ๏€ญ x1 )(x 3 ๏€ญ x2 )
( x ๏€ญ 1)( x ๏€ญ 3)( x ๏€ญ 6)
( x ๏€ญ 0)( x ๏€ญ 3)( x ๏€ญ 6)
18 ๏€ซ
10
(0 ๏€ญ 1)(0 ๏€ญ 3)(0 ๏€ญ 6)
(1 ๏€ญ 0)(1 ๏€ญ 3)(1 ๏€ญ 6)
( x)( x ๏€ญ 1)( x ๏€ญ 6)
( x)( x ๏€ญ 1)( x ๏€ญ 3)
๏€ซ
(๏€ญ18) ๏€ซ
90
(3 ๏€ญ 0)(3 ๏€ญ 1)(3 ๏€ญ 6)
(6)(6 ๏€ญ 1)(6 ๏€ญ 3)
( x ๏€ญ 1)( x ๏€ญ 3)( x ๏€ญ 6)
( x ๏€ญ 0)( x ๏€ญ 3)( x ๏€ญ 6)
y๏€ฝ
18 ๏€ซ
10
(0 ๏€ญ 1)(0 ๏€ญ 3)(0 ๏€ญ 6)
(1 ๏€ญ 0)(1 ๏€ญ 3)(1 ๏€ญ 6)
y๏€ฝ
๏€ซ
( x)( x ๏€ญ 1)( x ๏€ญ 6)
( x)( x ๏€ญ 1)( x ๏€ญ 3)
(๏€ญ18) ๏€ซ
90
(3 ๏€ญ 0)(3 ๏€ญ 1)(3 ๏€ญ 6)
(6)(6 ๏€ญ 1)(6 ๏€ญ 3)
=2x3-10x2+18
๐‘‘๐‘ฆ
∴
= 6๐‘ฅ 2 − 20๐‘ฅ
๐‘‘๐‘ฅ
∴ ๐‘†๐‘™๐‘œ๐‘๐‘’ ๐‘œ๐‘“ ๐‘๐‘ข๐‘Ÿ๐‘ฃ๐‘’ ๐‘Ž๐‘ก ๐‘ฅ = 2 ๐‘–๐‘  6(2)2 − 20(2) = −16
DEPARTMENT OF HUMANITIES & SCIENCES
MRCET (EAMCET CODE: MLRD)
41
MATHEMATICS - II
NUMERICAL METHODS
UNIT-II
NUMERICAL METHODS
Numerical Integration
Introduction :
The process of evaluating a definite integral from a set of tabulated values of the integrand
๐‘“(๐‘ฅ), which is not known explicitly is called Numerical Integration.
Newton –Cote’s Quadrature Formula:
๐‘
We want to find Definite integral form ∫๐‘Ž ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ, where ๐‘“(๐‘ฅ ) is unknown explicitly,then
We replace ๐‘“(๐‘ฅ) with interpolating polynomial.
Here we replace with Newton Forward Interpolation formula
Divide the interval (๐‘Ž, ๐‘) into n sub intervals of width h so that
๐‘Ž = ๐‘ฅ0 < ๐‘ฅ1 = ๐‘ฅ0 + โ„Ž … … … … < ๐‘ฅ๐‘› = ๐‘ฅ๐‘› + โ„Ž = ๐‘ Then
p ( p ๏€ญ 1) 2
p( p ๏€ญ 1)( p ๏€ญ 2)......( p ๏€ญ (n ๏€ญ 1)) n
๏„ y0 ๏€ซ ........... ๏€ซ
๏„ y0
2!
n!
yn ( x) ๏€ฝ y0 ๏€ซ p๏„y0 ๏€ซ
Where ๐‘ =
๐‘ฅ−๐‘ฅ0
โ„Ž
๐‘
โ„Ž๐‘‘๐‘ = ๐‘‘๐‘ฅ ๐‘Ž ๐‘ก ๐‘ฅ = ๐‘ฅ0 ⇒ ๐‘ = 0 ๐‘Ž๐‘›๐‘‘ ๐‘ฅ = ๐‘ฅ๐‘› ⇒ ๐‘ = ๐‘›
๐‘ฅ
๐‘ฅ
0
0
∴ ∫๐‘Ž ๐‘“(๐‘ฅ )๐‘‘๐‘ฅ = ∫๐‘ฅ ๐‘› yn ( x) dx=โ„Ž ∫๐‘ฅ ๐‘› ( y0 ๏€ซ p๏„y0 ๏€ซ p( p ๏€ญ 1) ๏„ 2 y0 ๏€ซ .......... )๐‘‘๐‘
2!
๐‘›
= โ„Ž ∫0 ( y ๏€ซ p๏„y ๏€ซ p( p ๏€ญ 1) ๏„ y ๏€ซ .......... )๐‘‘๐‘
2
0
0
2!
0
=๐‘›โ„Ž [ y0 ๏€ซ n ๏„y0 ๏€ซ n (2 n ๏€ญ 3)๏„ 2 y0 ๏€ซ n (n ๏€ญ 2)2 ๏„ 3 y0 ๏€ซ .... ]
2
12
24
This is Newton Cotes Quadrature Formula.
๐’ƒ
Derive Trapezoidal Rule for numerical integration of ∫๐’‚ ๐’‡(๐’™) ๐’…๐’™
I.TRAPEZOIDAL RULE:
Sub n=1 in Newton Cotes Quadrature formula and taking the curve ๐‘ฆ = ๐‘“(๐‘ฅ) passing
through (๐‘ฅ0 , ๐‘ฆ0 )๐‘Ž๐‘›๐‘‘ (๐‘ฅ1 , ๐‘ฆ1 ) as a straight line so that differences of order higher than first
become zero( i.e., โˆ†2 , โˆ†3 ๐‘’๐‘ก๐‘ ๐‘๐‘’๐‘๐‘œ๐‘š๐‘’ ๐‘ง๐‘’๐‘Ÿ๐‘œ) (n=number of intervals)
๐‘ฅ
โ„Ž
∫๐‘ฅ 1 ๐‘“ (๐‘ฅ )๐‘‘๐‘ฅ = โ„Ž[ y ๏€ซ 1 ๏„y ]=2 [๐‘ฆ0 + ๐‘ฆ1 ]……………….……….(i)
0
0
2
0
Similarly we get
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
42
MATHEMATICS - II
๐‘ฅ
NUMERICAL METHODS
โ„Ž
2
∫๐‘ฅ ๐‘“ (๐‘ฅ )๐‘‘๐‘ฅ = 2 [๐‘ฆ1 + ๐‘ฆ2 ]
…………………………………..(ii)
1
----------------------------------------------------Adding above we get
๐‘ฅ
โ„Ž
∫๐‘ฅ ๐‘› ๐‘ฆ๐‘‘๐‘ฅ = 2 [(๐‘ฆ0 + ๐‘ฆ๐‘› ) + 2(๐‘ฆ1 + ๐‘ฆ2 + − − − − + ๐‘ฆ๐‘›−1)]
0
๐‘ฅ๐‘›
∫ ๐‘ฆ๐‘‘๐‘ฅ =
๐‘ฅ0
โ„Ž
[(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐ผ๐‘ ๐‘ก & ๐‘™๐‘Ž๐‘ ๐‘ก ๐‘œ๐‘Ÿ๐‘–๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) + 2(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘š๐‘Ž๐‘–๐‘›๐‘–๐‘›๐‘” ๐‘œ๐‘Ÿ๐‘‘. )]
2
Geometrical interpretation of Trapezoidal Rule:
Here trapezoidal rule denotes sum of areas of above trapeziums.
๐’ƒ
Derive Simpson’s 1/3 Rule for numerical integration of ∫๐’‚ ๐’‡(๐’™)dx
II. Simpson’s 1/3 Rule (n=2)
sub n=2 in Newton Cotes Quadrature Formula and taking the curve ๐‘ฆ = ๐‘“(๐‘ฅ) passing
through (๐‘ฅ0 , ๐‘ฆ0 ), (๐‘ฅ1 , ๐‘ฆ1 ) ๐‘Ž๐‘›๐‘‘ (๐‘ฅ2 , ๐‘ฆ2 ) as a parabola so that differences of order higher than
second become zero( i.e., โˆ†3 , โˆ†4 ๐‘’๐‘ก๐‘ ๐‘๐‘’๐‘๐‘œ๐‘š๐‘’ ๐‘ง๐‘’๐‘Ÿ๐‘œ)
๐‘ฅ
1
6
∫๐‘ฅ 2 ๐‘“ (๐‘ฅ )๐‘‘๐‘ฅ = 2h[y0 ๏€ซ ๏„ y0 ๏€ซ ๏„ 2 y0 ]
0
We know E = 1+โˆ†
โˆ†
then
๐‘ฅ2
โ„Ž
∫๐‘ฅ0 ๐‘“ (๐‘ฅ )๐‘‘๐‘ฅ = 3 [๐‘ฆ0 + 4๐‘ฆ1 + ๐‘ฆ2 ]
Similarly
∫๐‘ฅ2 ๐‘“(๐‘ฅ) ๐‘‘๐‘ฅ= 2h[y2 ๏€ซ 4 y3 ๏€ซ y4 ]
๐‘ฅ4
---------๐‘ฅ
โ„Ž
and so on ∫๐‘ฅ ๐‘› ๐‘“ (๐‘ฅ )๐‘‘๐‘ฅ = 3 [๐‘ฆ๐‘›−2 + 4๐‘ฆ๐‘›−1 + ๐‘ฆ๐‘› ]
๐‘›−2
Adding
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
43
MATHEMATICS - II
๐‘ฅ๐‘›
NUMERICAL METHODS
โ„Ž
∫๐‘ฅ0 ๐‘ฆ๐‘‘๐‘ฅ = 3 [(๐‘ฆ0 + ๐‘ฆ๐‘› ) + 4(๐‘ฆ1 + ๐‘ฆ2 + . . + ๐‘ฆ๐‘›−1 ) + 2(๐‘ฆ2 + ๐‘ฆ4 + . . + ๐‘ฆ๐‘›−2 )]
๐‘ฅ๐‘›
∫ ๐‘ฆ๐‘‘๐‘ฅ =
๐‘ฅ0
โ„Ž
[(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘“๐‘–๐‘Ÿ๐‘ ๐‘ก ๐‘Ž๐‘›๐‘‘ ๐‘™๐‘Ž๐‘ ๐‘ก ๐‘œ๐‘Ÿ๐‘–๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) + 4(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘œ๐‘‘๐‘‘ ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )
3
+ 2(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘š๐‘Ž๐‘–๐‘›๐‘–๐‘›๐‘” ๐‘’๐‘ฃ๐‘’๐‘› ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )]
This is known as Simpson’s 1⁄3 Rule (or) Simply Simpson’s Rule. .
III. Simpson’s 3 / 8 Rule
๐‘ฅ๐‘›
3โ„Ž
∫๐‘ฅ0 ๐‘ฆ๐‘‘๐‘ฅ = 8 [(๐‘ฆ0 + ๐‘ฆ๐‘› ) + 3(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ5 +. . + ๐‘ฆ๐‘›−1 ) + 2(๐‘ฆ3 + ๐‘ฆ6 + . . + ๐‘ฆ๐‘›−3 )]
Note: 1. Trapezoidal Rule is applicable for any number of subintervals
2. Simpson’s 1⁄3 rule is applicable when the number of subintervals must be even
3. Simpson’s 3⁄8 rule is applicable when the number of subintervals must be multiple of 3
Compare Trapezoidal Rule and Simpson’s 1/3 rule
In trapezoidal rule we take n=1(no of subintervals) between every two points we are taking a
straight line(LINEAR) where as in simpsons rule n=2 means we are taking a parabola so
error is less compare to trapezoidalrule.
PROBLEMS
๐… ๐’”๐’Š๐’๐’™
1. Evaluate ∫๐ŸŽ
SOL: ๐’‰ =
Here
๐’ƒ−๐’‚
๐’
dx by using trapezoidal and simpson’s 1/3 rules taking n=6
๐’™
๐…
=
๐Ÿ”
๐’”๐’Š๐’ ๐ŸŽ
=1 since ๐ฅ๐ข๐ฆ
๐ŸŽ
๐’™→๐ŸŽ
๐’”๐’Š๐’๐’™
๐’™
=1
๐œ‹
6
2๐œ‹
6
3๐œ‹
6
4๐œ‹
6
5๐œ‹
6
๐œ‹
x
0
sinx
0
0.5
0.866
1
0.866
0.5
0
Sinx/x
1
0.9549
0.8270
0.6366
0.4135
0.1910
0
i) Trapezoidal rule :
1 1
โ„Ž
∫0 1+๐‘ฅdx = 2 [ (sum of first and last ordinates) + 2( sum of the remaining ordinates) ]
๐œ‹
= 12 [ (1+0) +2(0.827+0.4135+0.9549+0.6366+0.1910) ] = 1.8446
ii) Simpson’s 1/3 rule:
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
44
MATHEMATICS - II
1 1
NUMERICAL METHODS
โ„Ž
∫0 1+๐‘ฅdx= 3 [(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐ผ๐‘ ๐‘ก & ๐‘™๐‘Ž๐‘ ๐‘ก ๐‘œ๐‘Ÿ๐‘–๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) + 4(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘œ๐‘‘๐‘‘ ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) +
2(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘š๐‘Ž๐‘–๐‘›๐‘–๐‘›๐‘” ๐‘’๐‘ฃ๐‘’๐‘› ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )]
=
๐œ‹
[(1+0)+2(0.827+0.4135)+4(0.9549+0.6366+0.1910)] = 1.852
18
๐Ÿ ๐Ÿ
2. Evaluate ∫๐ŸŽ ๐Ÿ+๐’™dx by using trapezoidal , simpson’s 1/3, Simpson’s 3/8 rules.
SOL: We want to use above 3 rules so take n=6
๐‘−๐‘Ž
h=
๐‘›
=
1−0 1
=
6
6
i) Trapezoidal rule :
1 1
โ„Ž
∫0 1+๐‘ฅdx = 2 [ (sum of first and last ordinates) + 2( sum of the remaining ordinates) ]
1
=2 [ (1+0.5) +2( 0.8571+0.5454+0.75+0.6+0.6666) ] = 0.69485
ii) Simpson’s 1/3 rule:
1 1
โ„Ž
∫0 1+๐‘ฅdx= 3 [(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘“๐‘–๐‘Ÿ๐‘ ๐‘ก ๐‘Ž๐‘›๐‘‘ ๐‘™๐‘Ž๐‘ ๐‘ก ๐‘œ๐‘Ÿ๐‘–๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) + 4(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘œ๐‘‘๐‘‘ ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) +
2(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘š๐‘Ž๐‘–๐‘›๐‘–๐‘›๐‘” ๐‘’๐‘ฃ๐‘’๐‘› ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )]
1
= 18 [(1+0.5)+2(0.75+0.6)+4(0.8571+0.6666+0.5454)] = 0.6931
iii) Simpson’s 1/3 rule:
1 1
3โ„Ž
∫0 1+๐‘ฅdx = 8 [(๐‘ฆ0 + ๐‘ฆ๐‘› ) + 3(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ5 +. . + ๐‘ฆ๐‘›−1 ) + 2(๐‘ฆ3 + ๐‘ฆ6 + . . + ๐‘ฆ๐‘›−3 )]
1
= 16[(1+0.5)+2(0.6666)+3(0.8571+0.75+0.6+0.5454)] = 0.6932
๐Ÿ“.๐Ÿ
3. Evaluate ∫๐Ÿ’ ๐’๐’๐’ˆ๐’™ dx by using trapezoidal , simpson’s 1/3,Simpsons 3/8 rules from
x
4
4.2
4.4
4.6
4.8
5
5.2
logx 1.3863 1.4351 1.4816 1.5261 1.5686 1.6094 1.6487
๐’š๐ŸŽ
SOL:
๐’š๐Ÿ
๐’š๐Ÿ
๐’š๐Ÿ‘
๐’š๐Ÿ’
๐’š๐Ÿ“
๐’š๐Ÿ”
Here h=4.2-4=0.2
i) Trapezoidal rule :
5.2
โ„Ž
∫4 ๐‘™๐‘œ๐‘”๐‘ฅ dx = 2 [ (sum of first and last ordinates) + 2( sum of the remaining ordinates) ]
x
1
y=1+๐‘ฅ
0
1/6
2/6
3/6
4/6
5/6
6/6
1
0.8571
0.75
0.6666
0.6
0.5454
0.5
๐‘ฆ1
๐‘ฆ2
๐‘ฆ3
๐‘ฆ0
DEPARTMENT OF HUMANITIES & SCIENCES
๐‘ฆ4
๐‘ฆ5
©MRCET (EAMCET CODE: MLRD)
๐‘ฆ6
45
MATHEMATICS - II
NUMERICAL METHODS
0.2
= 2 [(1.3863+1.6487)+2(1.4351+1.4816+1.5261+1.5686+1.6094)] = 1.8277
ii) Simpson’s 1/3 rule:
1 1
โ„Ž
∫0 1+๐‘ฅdx= 3 [(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘“๐‘–๐‘Ÿ๐‘ ๐‘ก ๐‘Ž๐‘›๐‘‘ ๐‘™๐‘Ž๐‘ ๐‘ก ๐‘œ๐‘Ÿ๐‘–๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) + 4(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘œ๐‘‘๐‘‘ ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ ) +
2(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘š๐‘Ž๐‘–๐‘›๐‘–๐‘›๐‘” ๐‘’๐‘ฃ๐‘’๐‘› ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )]
0.2
= 3 [(1.3863+1.6487)+2(1.4816+1.5686)+4(1.4351+1.5261+1.6094)] =1.8279
iii) Simpson’s 3/8 rule:
1 1
3โ„Ž
∫0 1+๐‘ฅdx= 8 [(๐‘ฆ0 + ๐‘ฆ๐‘› ) + 3(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ5 +. . + ๐‘ฆ๐‘›−1 ) + 2(๐‘ฆ3 + ๐‘ฆ6 +. . + ๐‘ฆ๐‘›−3 )]
0.6
= 18 [(1.3863+1.6487)+2(1.5261)+3(1.4351+1.4816+1.5686+1.6094)] = 1.8278
4. The velocity v (m/sec) of a particle at distance S(m) from a point on its path given by
following table
S
0
10 20 30 40 50 60
v
47 58 64 65 61 52 38
Estimate the time taken to travel 60 meters by Simpsons 1/3 and 3/8 rules.
๐‘‘๐‘ฃ
SOL: Let ๐‘ฃ =
Then ๐‘‘๐‘ก =
๐‘‘๐‘ก
๐‘‘๐‘ 
be the velocity of particle at any time ‘t’
Integrating on both sides with limits 0 to 60
๐‘ฃ
60 1
Then ๐‘ก = ∫0
๐‘ฃ
S
0
10
20
30
40
50
60
v
47
58
64
65
61
52
38
ds
1/v 0.0212 0.0172 0.0156 0.0153 0.0163 0.0192 0.0263
๐Ÿ
I) Simpson’s ๐Ÿ‘rule:
60 1
∫0 ๐‘ฃ ds=
(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘“๐‘–๐‘Ÿ๐‘ ๐‘ก ๐‘Ž๐‘›๐‘‘ ๐‘™๐‘Ž๐‘ ๐‘ก ๐‘œ๐‘Ÿ๐‘–๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )
+4(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘œ๐‘‘๐‘‘ ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )
[
]
3
+2(๐‘ ๐‘ข๐‘š ๐‘œ๐‘“ ๐‘กโ„Ž๐‘’ ๐‘Ÿ๐‘’๐‘š๐‘Ž๐‘–๐‘›๐‘–๐‘›๐‘” ๐‘’๐‘ฃ๐‘’๐‘› ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’๐‘ )
โ„Ž
10
= 3 [(0.0212+0.0263)+2(0.0156+0.0163)+4(0.0172+0.0153+0.0192)]= 1.0603 sec
๐Ÿ‘
ii) Simpson’s rule:
๐Ÿ–
60 1
๐‘ก = ∫0
ds=
๐‘ฃ
3โ„Ž
8
[(๐‘ฆ0 + ๐‘ฆ๐‘› ) + 3(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ5 +. + ๐‘ฆ๐‘›−1 ) + +2(๐‘ฆ3 + ๐‘ฆ6 + . + ๐‘ฆ๐‘›−3 )]
30
= 8 [(0.0212+0.0263)+2(0.0153)+3(0.0172+0.0163+0.0192)]= 0.8857 sec
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
46
MATHEMATICS - II
๐…/๐Ÿ
5.Evaluate ∫๐ŸŽ
NUMERICAL METHODS
๐’†๐’”๐’Š๐’๐’™ dx correct to four decimals places by Simpsons 3/8rule
๐œ‹
SOL: Here h=12
x
0
๐…
๐Ÿ๐Ÿ
๐Ÿ๐…
๐Ÿ๐Ÿ
๐Ÿ‘๐…
๐Ÿ๐Ÿ
๐Ÿ’๐…
๐Ÿ๐Ÿ
๐Ÿ“๐…
๐Ÿ๐Ÿ
๐…
๐Ÿ
y
1
1.2954
1.6487
2.0281
2.3774
2.6272
2.718
๐Ÿ‘
Simpson’s ๐Ÿ– rule:
3โ„Ž
60 1
๐‘ก = ∫0
ds= 8 [(๐‘ฆ0 + ๐‘ฆ๐‘› ) + 3(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ5 +. + ๐‘ฆ๐‘›−1 ) + +2(๐‘ฆ3 + ๐‘ฆ6 + . + ๐‘ฆ๐‘›−3 )]
๐‘ฃ
3๐œ‹
= 96 [(1+2.718)+2(2.0281)+3(1.2954+1.6487+2.3774+2.6272)=3.1015
1
1
dx using Simpson’s 3/8 rule
1 ๏€ซ x2
0
6. Evaluate ๏ƒฒ
๐Ÿ
Divide the interval into 6 sub intervals & tabulate the values of ๐’‡(๐’™๐’Š ) = ๐Ÿ+๐’™๐Ÿ as
Ans.
follows
๐‘ฅ๐‘–
0
๐‘“ (๐‘ฅ ๐‘– ) 1
1/6
2/6
3/6
4/6
5/6
6/6
0.9729 0.90
0.80
0.69231 0.59016 0.5
Here h ๏€ฝ 1/ 6
Using Simpson’s rule
1
1
3โ„Ž
๐ผ = ∫0 1+๐‘ฅ 2 ๐‘‘๐‘ฅ = 8 [(๐‘ฆ0 + ๐‘ฆ6 ) + 3(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ5 ) + 2๐‘ฆ3 ]
=
3
[(1.0 + 0.50) + 3(0.9729 + 0.90 + 0.69231 + 0.59016) + 2(0.80)]
8.6
1
(12.5662) = 0.785395 ≅ 0.7854
=
16
1
1
dx , taking 5 sub internals & by using Trapezoidal rule.
1 ๏€ซ x2
0
7. Find the value of ๏ƒฒ
1
, n ๏€ฝ 5, a ๏€ฝ 0, b ๏€ฝ 1
1 ๏€ซ x2
b ๏€ญ a 1๏€ญ 0
๏œh ๏€ฝ
๏€ฝ
๏€ฝ 0.2
n
5
f ๏€จ x๏€ฉ ๏€ฝ
Sol:
Construct a table of values of ๐‘ฅ๐‘– &๐‘ฆ๐‘– = ๐‘“(๐‘ฅ๐‘– ) as follows
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
47
MATHEMATICS - II
NUMERICAL METHODS
๐‘ฅ๐‘–
0.0
0.2
๐‘ฆ๐‘–
1.00
0.961538 0.832069 0.735294 0.609755 0.50
0.4
0.6
0.8
1.0
Using Trapezoidal rule we get
1
1
0.2
dx ๏€ฝ
๏ƒฉ๏€จ1.0 ๏€ซ 0.50 ๏€ฉ ๏€ซ 2 ๏€จ 0.961538 ๏€ซ 0.832069 ๏€ซ 0.735294 ๏€ซ 0.609759 ๏€ฉ ๏ƒน๏ƒป
2
1๏€ซ x
2 ๏ƒซ
0
I ๏€ฝ๏ƒฒ
๏€ฝ 0.783734
8. Find the area bounded by the curve f ๏€จ x ๏€ฉ ๏€ฝ y and x-axis from x ๏€ฝ 7.47 to x ๏€ฝ 7.52
๐‘ฅ๐‘–
7.47
7.48
7.49
7.50
7.51
7.52
๐‘ฆ๐‘–
1.93
1.95
1.98
2.01
2.03
2.06
Sol: - Here h = 0.01
Area formed by the curve y ๏€ฝ f ๏€จ x ๏€ฉ and x – axis from x ๏€ฝ 7.47 to x ๏€ฝ 7.52 is
7.52
Area ๏€ฝ ๏ƒฒ f ๏€จ x ๏€ฉ dx
7.47
Applying Trapezoidal rule we get
7.52
Area ๏€ฝ ๏ƒฒ f ๏€จ x ๏€ฉ dx ๏€ฝ
7.47
h
๏ƒฉ๏€จ y0 ๏€ซ y5 ๏€ฉ ๏€ซ 2 ๏€จ y1 ๏€ซ y2 ๏€ซ y3 ๏€ซ y4 ๏€ฉ ๏ƒน๏ƒป
2๏ƒซ
0.01
๏ƒฉ๏€จ1.93 ๏€ซ 2.06 ๏€ฉ ๏€ซ 2 ๏€จ1.95 ๏€ซ 1.98 ๏€ซ 2.01 ๏€ซ 2.03๏€ฉ ๏ƒน๏ƒป
2 ๏ƒซ
๏€ฝ 0.0996
๏€ฝ
1
9.Find ๏ƒฒ x 3 dx with 5 sub intervals by Trapezoidal rule
0
Sol: -
Here a ๏€ฝ 0, b ๏€ฝ 1, n ๏€ฝ 5& y ๏€ฝ f ๏€จ x ๏€ฉ ๏€ฝ x3
๏œh ๏€ฝ
b ๏€ญ a 1๏€ญ 0
๏€ฝ
๏€ฝ 0.2
n
5
The values of x & y are tabulated below
x
0.2
0.4
0.6
0.8
1
y
0.008
0.064
0.216
0.512
1
By Trapezoidal rule
1
โ„Ž
∫0 ๐‘ฅ 3 ๐‘‘๐‘ฅ = 2 [(๐‘ฆ0 + ๐‘ฆ4 ) + 2(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ3 )]
0.2
= 2 [(0.008 + 1) + 2(0.064 + 0.216 + 0.512)]
๏€ฝ 0.2592 ≅ 0.26
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
48
MATHEMATICS - II
NUMERICAL METHODS
๏ฐ
๏ƒฒ t sin tdt using Trapezoidal rule
10. Evaluate
0
Sol:- Divide the interval ๏€จ 0, ๏ฐ ๏€ฉ in to 6 parts each of width h ๏€ฝ
๏ฐ
6
The values of f ๏€จ t ๏€ฉ ๏€ฝ t sin t are given below
t
f ๏€จt ๏€ฉ ๏€ฝ y
0
๏ฐ /6
2๏ฐ / 6
3๏ฐ / 6
4๏ฐ / 6
5๏ฐ / 6
๏ฐ
0
0.2618
0.9069
1.5708
1.8138
1.309
0
y0
y1
y2
y3
y4
y5
y6
By Trapezoidal rule
๏ฐ
h
๏ƒฒ t sin tdt ๏€ฝ 2 ๏ƒฉ๏ƒซ๏€จ y ๏€ซ y ๏€ฉ ๏€ซ 2 ๏€จ y ๏€ซ y ๏€ซ y ๏€ซ y ๏€ซ y ๏€ฉ๏ƒน๏ƒป
0
6
1
2
3
4
5
0
๏€ฝ
๏€ฝ
๏ฐ
๏ƒฉ๏€จ 0 ๏€ซ 0 ๏€ฉ ๏€ซ 2 ๏€จ 0.2618 ๏€ซ 0.9069 ๏€ซ 1.5708 ๏€ซ 1.8138 ๏€ซ 1.309 ๏€ฉ ๏ƒน๏ƒป
12 ๏ƒซ
๏ฐ
12
๏€จ11.7246 ๏€ฉ
๏€ฝ 3.0695 ≅ 3.07
11. Find the value of
2
๏ƒฒ x by Simpson’s 1/3 rule. Hence obtain approx. value of ๐’๐’๐’ˆ๐’†๐Ÿ
dx
1
Sol:- Divide the interval (1,2) in to 8(even) parts each of width h ๏€ฝ 0.125
x
y๏€ฝ
1
x
1
1.125
1.25
1
0.8888 0.8
y0
y1
y2
1.375
1.5
1.625
1.75
1.875
2
0.7272 0.6666 0.6153 0.5714 0.5333 0.5
y3
y4
y5
y7
y6
y8
By Simpson’s 1/3 rule
2 ๐‘‘๐‘ฅ
โ„Ž
∫1 ๐‘ฅ = 3 [(๐‘ฆ0 + ๐‘ฆ8 ) + 4(๐‘ฆ1 + ๐‘ฆ3 + ๐‘ฆ5 + ๐‘ฆ7 ) + 2(๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ6 )]
๏€ฝ
0.125
๏ƒฉ๏€จ1 ๏€ซ 0.5 ๏€ฉ ๏€ซ 4 ๏€จ 0.8888 ๏€ซ 0.7272 ๏€ซ 0.6153 ๏€ซ 0.5333๏€ฉ ๏€ซ 2 ๏€จ 0.8 ๏€ซ 0.6666 ๏€ซ 0.5714 ๏€ฉ ๏ƒน๏ƒป
3 ๏ƒซ
๏€ฝ
0.125
๏›1.5 ๏€ซ 11.0584 ๏€ซ 4.076๏
3
๏€ฝ
0.125
๏›16.6344๏
3
๏€ฝ 0.6931
By actual integration,
2
dx
๏ƒฒ x ๏€ฝ ๏›log x๏ ๏€ฝ log 2 ๏€ญ log1 ๏€ฝ log 2
2
1
1
Hence log 2 ๏€ฝ 0.6931 , correct to four decimal places
12. A rocket is launched from the ground. Its acceleration is registered during the first
80 seconds and is given in the table below. Using Simpson’s 1/3 rule, find the velocity of
the rocket at t = 80 seconds
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
49
MATHEMATICS - II
NUMERICAL METHODS
t (sec)
0
10
20
30
40
50
f ๏€จ cm / sec 2 ๏€ฉ
30
31.63 33.34 35.47 37.75 40.33 43.25 46.69 50.67
Sol:- We know that the rate of velocity is acceleration I.e., f ๏€ฝ
60
70
80
๏‚ถv
๏‚ถt
๏œ Velocity of the rocket at t ๏€ฝ 80sec is given
80
๐‘ฃ = ∫0 ๐‘“๐‘‘๐‘ก
=
10
[(30 + 50.67) + 4(31.63 + 35.47 + 40.33 + 46.69)2(33.34 + 37.75 + 43.25)]
3
10
10
= 3 [80.67 + 616.48 + 228.68] = 3 (925.83) =3086.1
13. A river is soft wide. The depth ‘d’ in feet at a distance x ft from one bank is given by
the table
x
0
10 20 30 40 50 60 70 80
y
0
4
7
9
12 15 14 8
3
Find approximately the area of cross-section
Sol:- Here h ๏€ฝ 10, y0 ๏€ฝ 0, y1 ๏€ฝ 4, y2 ๏€ฝ 7, y3 ๏€ฝ 9, y4 ๏€ฝ 12, y5 ๏€ฝ 15, y6 ๏€ฝ 14, y7 ๏€ฝ 8 & y8 ๏€ฝ 3
Area of cross section =
80
๏ƒฒ ydx
0
Area = h ๏ƒฉ๏ƒซ๏€จ y0 ๏€ซ y8 ๏€ฉ ๏€ซ 4 ๏€จ y1 ๏€ซ y3 ๏€ซ y5 ๏€ซ y7 ๏€ฉ ๏€ซ 2 ๏€จ y2 ๏€ซ y4 ๏€ซ y6 ๏€ฉ ๏ƒน๏ƒป
3
10
๏ƒฉ๏€จ 0 ๏€ซ 3๏€ฉ ๏€ซ 4 ๏€จ 4 ๏€ซ 9 ๏€ซ 15 ๏€ซ 8 ๏€ฉ ๏€ซ 2 ๏€จ 7 ๏€ซ 12 ๏€ซ 14 ๏€ฉ ๏ƒน๏ƒป
3 ๏ƒซ
10
๏€ฝ
๏›3 ๏€ซ 144 ๏€ซ 66๏
3
๏€ฝ
๏€ฝ 710sq. ft
๏ฐ
14. Evaluate
๏ƒฒ sin x dx by dividing the interval ๏€จ 0, ๏ฐ ๏€ฉ in to 8 sub intervals & using
0
Simpson’s 1/3 rule
Sol: - Given a ๏€ฝ 0, b ๏€ฝ ๏ฐ , n ๏€ฝ 8& f ๏€จ x ๏€ฉ ๏€ฝ sin x
๏œh ๏€ฝ
b๏€ญa ๏ฐ ๏€ญ0
๏€ฝ
๏€ฝ๏ฐ /8
n
8
Tabulate the values of sin x as follows
๐‘ฅ๐‘–
0
๏ฐ /8
๏ฐ /4
3๏ฐ / 8
๐œ‹ ⁄2
5๏ฐ / 8
6๏ฐ / 8
7๏ฐ / 8
๏ฐ
sin ๐‘ฅ๐‘–
0
0.38
0.71
0.92
1
0.92
0.710
0.38
0
Simpson’s 1/3 rule for n = 8 is
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
50
MATHEMATICS - II
b
I ๏€ฝ ๏ƒฒ f ๏€จ x ๏€ฉ dx ๏€ฝ
a
๏€ฝ
NUMERICAL METHODS
h
๏ƒฉ๏€จ y0 ๏€ซ y8 ๏€ฉ ๏€ซ 4 ๏€จ y1 ๏€ซ y3 ๏€ซ y5 ๏€ซ y7 ๏€ฉ ๏€ซ 2 ๏€จ y2 ๏€ซ y4 ๏€ซ y6 ๏€ฉ ๏ƒน๏ƒป
3๏ƒซ
๏ฐ
๏ƒฉ๏€จ 0 ๏€ซ 0 ๏€ฉ ๏€ซ 4 ๏€จ 0.38 ๏€ซ 0.92 ๏€ซ 0.92 ๏€ซ 0.38 ๏€ฉ ๏€ซ 2 ๏€จ 0.71 ๏€ซ 1.0 ๏€ซ 0.71๏€ฉ ๏ƒน๏ƒป
8.3 ๏ƒซ
๏€ฝ 1.99
15. Find the area bounded by the curve y ๏€ฝ e
๏€ญ x2
2
, x axis between x ๏€ฝ 0& x ๏€ฝ 3 by using
Simpson’s 3/8 rule
Sol:- Divide the interval ๏€จ 0,3๏€ฉ in to 6 sub intervals
๏œh ๏€ฝ
3๏€ญ0
๏€ฝ 0.5
6
2.0
2.5
7.389
22.760 90.017
The values of yi ๏€ฝ e๏€ญ x /2 are tabulated as follows
2
๐‘ฅ๐‘–
0.0 0.5
1.0
๐‘ฆ(๐‘ฅ๐‘– ) 1.0 1.33
1.5
1.649 3.080
3.0
By Simpson’s 3/8 rule we get
1
2
๐ผ = ∫ ๐‘’ −๐‘ฅ ⁄2 ๐‘‘๐‘ฅ =
0
=
3(0.5)
8
3โ„Ž
[(๐‘ฆ0 + ๐‘ฆ6 ) + 3(๐‘ฆ1 + ๐‘ฆ2 + ๐‘ฆ4 + ๐‘ฆ5 ) + 2๐‘ฆ3 ]
8
[(1.00 + 90.017) + 3(1.33 + 1.649 + 7.389 + 22.760) + 2(3.080)]
= 36.8551
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
51
MATHEMATICS - II
NUMERICAL METHODS
Numerical solutions of ordinary differential equations
The important methods of solving ordinary differential equations of first order numerically
are as follows
1) Taylor’s series method
2) Euler’s method
3) Modified Euler’s method of successive approximations
4) Runge- Kutta method
To describe various numerical methods for the solution of ordinary differential equations, we
consider the general 1 st order differential equation.
๐‘‘๐‘ฆ
๐‘‘๐‘ฅ
= f(x,y)-------(1) with the initial condition y(x0)=y0
The methods will yield the solution in one of the two forms:
i) A series for y in terms of powers of x, from which the values of y can be obtained by direct
substitution.
ii) A set of tabulated values of y corresponding to different values of x
The methods of Taylor belong to class (i)
The methods of Euler, Runge - Kutta method, belong to class (ii)
TAYLOR’S SERIES METHOD
dy
๏€ฝ f ( x, y ) ๏ƒ (1)
dx
To find the numerical solution of the differential equation
With the initial condition y( x0 ) ๏€ฝ y0 ๏ƒ  (2)
y ( x) Can be expanded about the point x0 in a Taylor’s series in powers of ( x ๏€ญ x0 ) as
๐‘ฆ(๐‘ฅ ) = ๐‘ฆ(๐‘ฅ0 ) +
(๐‘ฅ−๐‘ฅ0)
1!
๐‘ฆ ′ (๐‘ฅ 0 ) +
(๐‘ฅ−๐‘ฅ0)2
2!
๐‘ฆ ′′ (๐‘ฅ0 )+. +
(๐‘ฅ−๐‘ฅ0 )๐‘›
๐‘›!
๐‘ฆ ๐‘› (๐‘ฅ0 )+.. → (3)
In equation (3), y ( x0 ) is known from initial condition equation. The remaining coefficients
y๏‚ข( x0 ), y๏‚ข๏‚ข( x0 ),......... y n ( x0 ) etc are obtained by successively differentiating equation (1) and
evaluating at x0 . Substituting these values in equation, y ( x) at any point can be calculated
from equation. Provided h ๏€ฝ x ๏€ญ x0 is small.
When x0 ๏€ฝ 0 , then Taylor’s series equation can be written as
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
52
MATHEMATICS - II
NUMERICAL METHODS
y ( x) ๏€ฝ y (0) ๏€ซ x. y๏‚ข(0) ๏€ซ
x2
xn n
y๏‚ข๏‚ข(0) ๏€ซ ...... ๏€ซ
y (0) ๏€ซ ........ ๏ƒ (4)
2!
n!
Note: We know that the Taylor’s expansion of y(x) about the point x0 in a power of
(x – x0) is.
y(x) = y(x0) +
y(x) = y0 +
( x ๏€ญ x0 )2 ′′
( x ๏€ญ x0 )3 ′′′
( x ๏€ญ x0 ) ′
๐‘ฆ (๐‘ฅ0 ) +
๐‘ฆ (๐‘ฅ0 ) +
๐‘ฆ (๐‘ฅ0 ) + … ๏ƒ (1) Or
1!
3!
2!
( x ๏€ญ x0 ) ′ ( x ๏€ญ x0 )2 ′′ ( x ๏€ญ x0 )3 ′′′
๐‘ฆ +
๐‘ฆ +
๐‘ฆ + …..
1!
3!
2!
If we let x – x0 = h. (i.e. x = x0 + h = x1) we can write the Taylor’s series as
h ′ h 2 ′′ h3 ′′′ h 4 ′′′′
๐‘ฆ +
๐‘ฆ +
๐‘ฆ +
๐‘ฆ + ….
1!
3!
2!
4!
y(x) = y(x1) = y0 +
i.e. y1 = y0 +
h 2 ′′ h3 ′′′ ๐’‰๐Ÿ’ (๐Ÿ’)
h ′
๐’š๐ŸŽ +
๐’š๐ŸŽ +
๐’š๐ŸŽ + ๐Ÿ’! ๐’š๐ŸŽ + …..
1!
3!
2!
๏ƒ (2)
Similarly expanding y(x) in a Taylor’s series about x = x1. We will get.
๐’‰๐Ÿ
๐’‰
๐’‰๐Ÿ‘
๐’‰๐Ÿ’
(๐Ÿ’)
y2 = y1 + ๐Ÿ! ๐’š′๐Ÿ + ๐Ÿ! ๐’š′′๐Ÿ + ๐Ÿ‘! ๐’š′′′
๐Ÿ + ๐Ÿ’! ๐’š๐Ÿ
๏ƒ (3)
+ …….
Similarly expanding y(x) in a Taylor’s series about x = x2 We will get.
๐’‰๐Ÿ
๐’‰
๐’‰๐Ÿ‘
๐’‰๐Ÿ’
(๐Ÿ’)
y3 = y2 + ๐Ÿ! ๐’š′๐Ÿ + ๐Ÿ! ๐’š′′๐Ÿ + ๐Ÿ‘! ๐’š′′′
๐Ÿ + ๐Ÿ’! ๐’š๐Ÿ + …...
๏ƒ (4)
In general, Taylor’s expansion of y(x) at a point x= x n is
๐’‰
๐’‰๐Ÿ
๐’‰๐Ÿ‘
๐’‰๐Ÿ’
(′๐’—)
yn+1 = yn + ๐Ÿ! ๐’š′๐’ + ๐Ÿ! ๐’š′′๐’ + ๐Ÿ‘! ๐’š′′′
๐’ + ๐Ÿ’! ๐’š๐’
+ …. …………...
(I)
Merits and Demerits of Taylor series method:
In this method taking h very small and taking upto order h4 terms we get less error but finding
derivatives may be complicate in some of the problems
PROBLEMS:
1. Solve
dy
๏€ฝ xy ๏€ซ 1 and y(0) = 1 using Taylor’s series method and compute y(0.1).
dx
SOL:. Given that
Here
dy
- 1 = xy and y(0) = 1
dx
dy
= 1 + xy and y0 = 1, x0 = 0.
dx
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
53
MATHEMATICS - II
NUMERICAL METHODS
Differentiating repeatedly w.r.t ‘x’ and evaluating at x0 = 0
๐‘ฆ ′ (x) = 1 + xy,
๐‘ฆ ′ (0) = 1+0(1) = 1 .
๐‘ฆ ′′ (x) =๐‘ฅ. ๐‘ฆ ′ + ๐‘ฆ,
๐‘ฆ ′′ (0) = 0+1=1
๐‘ฆ ′ ′′ (x) = ๐‘ฅ. ๐‘ฆ ′′ + ๐‘ฆ ′ + ๐‘ฆ ′
๐‘ฆ ′ ′′ (0) = 0.(1) + 2(1) =2
The Taylor series for f(x) about x0 = 0 is
y(x) = y(0) + x. ๐‘ฆ ′ (0) +
x2 ′
x3 ′
๐‘ฆ ′ (0) +
๐‘ฆ ′′ (0)
3!
2!
(Neglecting higher order terms)
Substituting the values of y(0) , ๐‘ฆ ′ (0) , ๐‘ฆ ′ ′ (0) , ….
y(x) = 1 + x +
x2
x3
+
(2)
6
2
y(x) = 1 + x +
x2
x3
+
3
2
๏ƒ (1)
Now put x = 0.1 in equ (1),
y(0.1) = 1 + 0.1 +
(0.1) 2
(0.1)3
+
.
2
3
= 1 + 0.1 +0.005 + 0.000333 = 1.105
2. Solve the equation dy ๏€ฝ x ๏€ญ y 2 with the conditions y(0) = 1 and ๐ฒ ′ (0) =1. Find y(0.2)
dx
and y(0.4) using Taylor’s series method.
SOL: Given that y๏‚ข ๏€ฝ x ๏€ญ y 2 , y(0) ๏€ฝ 1 Here y0 ๏€ฝ 1 , x0 ๏€ฝ 0
Differentiating repeatedly w.r.t ‘x’ and evaluating at x=0
The Taylor’s series for f(x) about x0 = 0 is
y(x) = y(0) +
x 2 ′′
x3 ′
x ′
๐‘ฆ (0) +
๐‘ฆ (0) +
๐‘ฆ ′′ (0) (Neglecting higher order terms)
1!
2!
3!
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
54
MATHEMATICS - II
NUMERICAL METHODS
Substituting the value of y (0), ๐‘ฆ ′ (0), ๐‘ฆ ′′ (0),…..
y(x) = 1 – x +
3 2 8 3
x - x
2
6
y(x) = 1 – x +
3 2 4 3
x - x
2
3
๏ƒ (1)
Now put x = 0.1 in (1)
y(0.1) = 1 – 0.1 +
3
4
(0.1)2 + (0.1)3 = 0.9138
2
3
Similarly put x = 0.2 in (1)
3
4
y(0.2) = 1 – 0.2 + (0.2)2 (0.2)3 = 0.8516.
2
3
3. Tabulate y(0.1), y(0.2) and y(0.3) using Taylor’s series method given that ๐ฒ ′ = y2 + x
and y(0) = 1.
Sol: Given ๐‘ฆ ′ = y2 + x ……….(1),
y(0) = 1
……………………(2)
Here x0 = 0, y0 = 1. Take h = 0.1 then x1 = x0 + h = 0.1, x2 = 0.2, x3 = 0.3
Differentiating (1) w.r.t ‘x’, we get
๐‘ฆ ′′ = 2y ๏ƒ— ๐‘ฆ ′ + 1
๏ƒ (3)
๐‘ฆ ′′′ = 2[y ๏ƒ— ๐‘ฆ ′ + (๐‘ฆ ′ )2]
๏ƒ (4)
๐‘ฆ (๐‘–๐‘ฃ) = 2[y ๏ƒ— ๐‘ฆ ′′′ + ๐‘ฆ ′ ๐‘ฆ ′′ + 2๐‘ฆ ′ ๐‘ฆ ′′ ] = 2[y ๏ƒ— ๐‘ฆ ′′′ + 3 ๐‘ฆ ′ ๐‘ฆ ′′ ]
๏ƒ (5)
Put x0 = 0, y0 = 1 in (1), (3), (4) and (5), we get
๐’š′๐ŸŽ = (1)2 + 0 = 1
๐’š′′๐ŸŽ = 2(1) (1) + 1 = 3,
2
๐’š′′′
๐ŸŽ = 2((1) (3) + (1) ) = 8
(๐’Š๐’—)
๐’š๐ŸŽ
= 2[(1)(8) + 3(1)(3)] = 34
Take h = 0.1.
Step1: By Taylor’s series expansion, we have
๐ก
๐ก๐Ÿ
๐ก๐Ÿ‘
๐ก๐Ÿ’
(๐ข๐ฏ)
y(๐ฑ ๐Ÿ ) = y1 = y0 + ๐Ÿ! ๐ฒ๐ŸŽ′ + ๐Ÿ! ๐ฒ๐ŸŽ′′ + ๐Ÿ‘! ๐ฒ๐ŸŽ′′′ + ๐Ÿ’! ๐ฒ๐ŸŽ
+ …. ๏ƒ (6)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
55
MATHEMATICS - II
NUMERICAL METHODS
on substituting the values of yo, ๐‘ฆ ′ , ๐‘ฆ ′ ′ etc in (6),we get
y(0.1) = y1 = 1 + (0.1)(1) +
(0.1) 2
(0.1) 4
(0.1)3
(3) +
(8) +
(34) + ….
24
2
6
= 1 + 0.1 + 0.015 + 0.001333 + 0.000416 ⇒ y1 = 1.116749
Step2: Let us find y(0.2),we start with (x1,y1) as the starting values
Here ๐‘ฅ1 = ๐‘ฅ0 + h = 0 + 0.1 = 0.1 and y1 = 1.116749
Putting these values in (1),(3),(4) and (5), we get
๐‘ฆ1′ = y12 +x1 = (1.116749)2 + 0.1 = 1.3471283
๐‘ฆ1′′ = 2y1๐‘ฆ1′ + 1 = 2(10116749) (1.3471283) + 1 = 4.0088
๐‘ฆ1′′′ = 2(y1๐‘ฆ1′′ + (๐‘ฆ1′ )2) = 2((1.116749) (4.0088) + (1.3471283)2] = 12.5831
(4)
๐‘ฆ1 =2y1๐‘ฆ1′′′ +6๐‘ฆ1′ ๐‘ฆ1′′ =2(1.116749) (12.5831) + 6(1.3471283) (4.0088) = 60.50653
By Taylor’s expansion
๐’‰
๐’‰๐Ÿ
๐’‰๐Ÿ‘
๐’‰๐Ÿ’
(๐’Š๐’—)
y(x2) = ๐’š๐Ÿ = y1 +๐Ÿ! ๐’š′๐Ÿ + ๐Ÿ! ๐’š′′๐Ÿ + ๐Ÿ‘! ๐’š′′′
๐Ÿ + ๐Ÿ’! ๐’š๐Ÿ + ….
y(0.2)=๐‘ฆ2 =1.116749 + (0.1)(1.3471283)+
4
3
(0.1) 2
(4.0088)+ (0.1) (12.5831)+ (0.1)
2
24
6
(60.50653)
y2 = 1.116749 + 0.13471283 + 0.020044 + 0.002097 + 0.000252 = 1.27385
y(0.2) = 1.27385
Step3: Let us find y(0.3),we start with (x2,y2) as the starting value.
Here ๐‘ฅ2 = ๐‘ฅ1 + h = 0.1 + 0.1 =0.2 and y2 = 1.27385
Putting these values of x2 and y2 in eq (1), (3), (4) and (5), we get
๐’š′๐Ÿ = y22 + x2 = (1.27385)2 + 0.2 = 1.82269
๐’š′′๐Ÿ = 2y2๐’š′๐Ÿ + 1 = 2(1.27385) (1.82269) + 1 = 5.64366
′′
′ 2
2
๐’š′′′
๐Ÿ = 2[y2 ๐’š๐Ÿ + (๐’š๐Ÿ ) ] = 2[(1.27385) (5.64366) + (1.82269) ]
= 14.37835 + 6.64439 = 21.02274
(๐Ÿ’)
′ ′′
๐’š๐Ÿ = 2y2 + ๐’š′′′
๐Ÿ + 6๐’š๐Ÿ ๐’š๐Ÿ = 2(1.27385) (21.00274) + 6(1.82269) (5.64366)
= 53.559635 + 61.719856 = 115.27949
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
56
MATHEMATICS - II
NUMERICAL METHODS
By Taylor’s expansion,
๐’‰๐Ÿ
๐’‰
๐’‰๐Ÿ‘
๐’‰๐Ÿ’
(๐’Š๐’—)
y(x3) = y3 = y2 +๐Ÿ! ๐’š′๐Ÿ + ๐Ÿ! ๐’š′′๐Ÿ + ๐Ÿ‘! ๐’š′′′
๐Ÿ + ๐Ÿ’! ๐’š๐Ÿ
y(0.3)=y3=1.27385+(0.1)(1.82269)+
+ …..
(0.1) 2
(0.1) 4
(0.1)3
(5.64366)+
(21.02274)+
(115.27949)
24
2
6
= 1.27385 + 0.182269 + 0.02821 + 0.0035037 + 0.00048033 = 1.48831
y(0.3) = 1.48831
4. Solve ๐ฒ ′ = x2 – y, y(0) = 1 using Taylor’s series method and evaluate y(0.1),y(0.2),y(0.3)
and y(0.4) (correct to 4 decimal places)
Sol: Given ๐‘ฆ ′ = x2 – y
๏ƒ (1) and y(0) = 1
๏ƒ (2)
Here x0 = 0, y0 = 1
Differentiating (1) w.r.t ‘x’, we get
๐‘ฆ ′′ = 2x –๐‘ฆ ′
๏ƒ 
๐‘ฆ ′′′ = 2- ๐‘ฆ ′ ′
๏ƒ  (4)
y(iv) = - ๐‘ฆ ′ ′′
๏ƒ  (5)
(3)
put x0 = 0, y0 = 1 in (1),(3),(4) and (5), we get
๐‘ฆ0′ = x02 - y0 = 0-1 = -1,
๐‘ฆ0′′ = 2x0 - ๐‘ฆ0′ = 2(0) – (-1) = 1
๐‘ฆ0′′′ = 2-๐‘ฆ0′′ = 2-1 = 1,
(๐‘–๐‘ฃ)
๐‘ฆ0
= -๐‘ฆ0′′′ = -1
Take h = 0.1
Step1: by Taylor’s series expansion
๐ก
๐ก๐Ÿ
๐ก๐Ÿ‘
๐ก๐Ÿ’
(๐ข๐ฏ)
y(x1) = y1= y0 + ๐Ÿ! ๐ฒ๐ŸŽ′ + ๐Ÿ! ๐ฒ๐ŸŽ′′ + ๐Ÿ‘! ๐ฒ๐ŸŽ′′′ + + ๐Ÿ’! ๐ฒ๐ŸŽ
+ ….
๏ƒ (6)
On substituting the values of y0, ๐‘ฆ0′ , ๐‘ฆ0′′ etc in (6), we get
y(0.1) = y1 = 1+ (0.1) (-1) +
(0.1) 2
(0.1)3
(0.1) 4
(1) +
(1) +
(-1)+….
2
24
6
= 1-0.1 + 0.005 + 0.01666 – 0.0000416+….
= 0.905125 ~ 0.9051 (4 decimal place).
Step2: Let us find y(0.2) we start with (x1,y1) as the starting values
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
57
MATHEMATICS - II
NUMERICAL METHODS
Here x = x0 + h = 0 + 0.1 = 0.1 and y1 = 0.905125,
Putting these values of x1 and y1 in (1), (3), (4) and (5), we get
๐‘ฆ1′ = x12 - y1 = (0.1)2 – 0.905125 = -0.895125
๐‘ฆ1′′ = 2x1 - ๐‘ฆ1′ = 2(0.1) – (-0.895125) = 1.095125,
๐‘ฆ1′′′ = 2 - ๐‘ฆ1′′ = 2 – 1.095125 = 0.904875,
(๐‘–๐‘ฃ)
๐‘ฆ1
= -๐‘ฆ1′′′ = -0.904875,
By Taylor’s series expansion,
๐ก
๐ก๐Ÿ
๐ก๐Ÿ‘
๐ก๐Ÿ’
(๐ข๐ฏ)
y(x2) = ๐‘ฆ2 = y1 + ๐Ÿ! ๐ฒ๐Ÿ′ + ๐Ÿ! ๐ฒ๐Ÿ′′ + ๐Ÿ‘! ๐ฒ๐Ÿ′′′ + + ๐Ÿ’! ๐ฒ๐Ÿ
y(0.2)=๐‘ฆ2 =0.905125+(0.1)(-0.895125)+
+ ….
(0.1) 2
(0.1) 4
(0.1)3
(1.09125)+
(0.904875)+
(24
2
6
0.904875)+….
y(0.2) =๐‘ฆ2 = 0.905125 – 0.0895125 + 0.00547562 + 0.000150812 – 0.00000377
= 0.8212351 ~ 0.8212 (4 decimal places)
Step3: Let us find y(0.3), we start with (x2,y2) as the starting value
Here x2 = x1 + h = 0.1+ 0.1 = 0.2 and ๐‘ฆ2 = 0.8212351
Putting these values of x2 and y2 in (1),(3),(4), and (5) we get
๐’š′๐Ÿ = x22 - ๐‘ฆ2 = (0.2)2 – 0.8212351= 0.04 – 0.8212351 = - 0.7812351
๐’š′′๐Ÿ = 2x2 - ๐’š′๐Ÿ = 2(0.2) + (0.7812351) = 1.1812351,
′′
๐’š′′′
๐Ÿ = 2 - ๐’š๐Ÿ = 2 – 1. 1812351 = 0.818765,
(๐Ÿ’)
๐’š๐Ÿ = - ๐’š′′′
๐Ÿ = -0.818765,
By Taylor’s series expansion,
๐ก
๐ก๐Ÿ
๐ก๐Ÿ‘
๐ก๐Ÿ’
(๐ข๐ฏ)
y(x3) = y3 = y2 + ๐Ÿ! ๐ฒ๐Ÿ′ + ๐Ÿ! ๐ฒ๐Ÿ′′ + ๐Ÿ‘! ๐ฒ๐Ÿ′′′ + + ๐Ÿ’! ๐ฒ๐Ÿ
y(0.3)= y3 =0. 8212351+(0.1)(-0.7812351)+
+ ….
(0.1) 2
(0.1) 4
(0.1)3
(1.1812351)+
(0.818765)+
(24
2
6
0.818765)+….
y(0.3) = y3 = 0. 8212351– 0.07812351+ 0.005906 + 0.000136 – 0.0000034
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
58
MATHEMATICS - II
NUMERICAL METHODS
= 0.749150 ~ 0.7492 (4 decimal places)
Step4: Let us find y(0.4), we start with (x3,y3) as the starting value
Here x3 = x2 + h = 0.2+ 0.1 = 0.3 and y3 = 0.749150
Putting these values of x3 and y3 in (1),(3),(4), and (5) we get
๐’š′๐Ÿ‘ = x32 - y3 = (0.3)2 – 0.749150= -0.65915,
๐’š′′๐Ÿ‘ = 2x3 - ๐’š′๐Ÿ‘ = 2(0.3) + (0.65915) = 1.25915,
′′
๐’š′′′
๐Ÿ‘ = 2 - ๐’š๐Ÿ‘ = 2 – 1. 25915 = 0.74085,
(๐’Š๐’—)
๐’š๐Ÿ‘ = - ๐’š′′′
๐Ÿ‘ = -0.74085,
By Taylor’s series expansion,
๐ก
๐ก๐Ÿ
๐ก๐Ÿ‘
๐ก๐Ÿ’
(๐ข๐ฏ)
y(๐‘ฅ4 ) = ๐‘ฆ4 =y3 + ๐Ÿ! ๐ฒ๐Ÿ‘′ + ๐Ÿ! ๐ฒ๐Ÿ‘′′ + ๐Ÿ‘! ๐ฒ๐Ÿ‘′′′ + + ๐Ÿ’! ๐ฒ๐Ÿ‘
y(0.4)= ๐‘ฆ4 =0.749150+(0.1)(-0.65915)+
+ ….
(0.1) 2
(0.1)3
(1.25915)+
(0.74085)+
2
6
(0.1) 4
(0.74085)+….
24
y(0.4) = ๐‘ฆ4 = 0.749150 – 0.065915+ 0.0062926+ 0.000123475 – 0.0000030
= 0.6896514 ~ 0.6897 (4 decimal places)
5. Using Taylor’s expansion evaluate the integral of y๏‚ข ๏€ญ 2 y ๏€ฝ 3e x , y(0) ๏€ฝ 0 , at
a) ๐‘ฅ = 0.1, 0.2, 0.3 b) Compare the numerical solution obtained with exact solution.
Sol: Given equation can be written as 2 y ๏€ซ 3e x ๏€ฝ y๏‚ข, y(0) ๏€ฝ 0
Differentiating repeatedly w.r.t to‘x’ and evaluating at x ๏€ฝ 0
y๏‚ข( x) ๏€ฝ 2 y ๏€ซ 3e x , y๏‚ข(0) ๏€ฝ 2 y (0) ๏€ซ 3e0 ๏€ฝ 2(0) ๏€ซ 3(1) ๏€ฝ 3
y๏‚ข๏‚ข( x) ๏€ฝ 2 y๏‚ข ๏€ซ 3e x , y๏‚ข๏‚ข(0) ๏€ฝ 2 y๏‚ข(0) ๏€ซ 3e0 ๏€ฝ 2(3) ๏€ซ 3 ๏€ฝ 9
y๏‚ข๏‚ข๏‚ข( x) ๏€ฝ 2. y๏‚ข๏‚ข( x) ๏€ซ 3e x , y๏‚ข๏‚ข๏‚ข(0) ๏€ฝ 2 y๏‚ข๏‚ข(0) ๏€ซ 3e0 ๏€ฝ 2(9) ๏€ซ 3 ๏€ฝ 21
y iv ( x) ๏€ฝ 2. y๏‚ข๏‚ข๏‚ข( x) ๏€ซ 3e x , y iv (0) ๏€ฝ 2(21) ๏€ซ 3e0 ๏€ฝ 45
y v ( x) ๏€ฝ 2. y iv ๏€ซ 3e x , y v (0) ๏€ฝ 2(45) ๏€ซ 3e0 ๏€ฝ 90 ๏€ซ 3 ๏€ฝ 93
In general, y ( n๏€ซ1) ( x) ๏€ฝ 2. y ( n ) ( x) ๏€ซ 3e x or y ( n๏€ซ1) (0) ๏€ฝ 2. y ( n ) (0) ๏€ซ 3e0
The Taylor’s series expansion of y ( x) about x0 ๏€ฝ 0 is
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
59
MATHEMATICS - II
NUMERICAL METHODS
๐‘ฅ 2 ′′
๐‘ฅ 3 ′′′
๐‘ฅ 4 ๐‘–๐‘ฃ
๐‘ฅ5 ๐‘ฃ
๐‘ฆ(๐‘ฅ ) = ๐‘ฆ(0) + ๐‘ฅ๐‘ฆ 0) + ๐‘ฆ (0) + ๐‘ฆ (0) + ๐‘ฆ (0) + ๐‘ฆ (0) + โ‹ฏ
2!
3!
4!
5!
′(
Substituting the values of y (0), y๏‚ข(0), y๏‚ข๏‚ข(0), y๏‚ข๏‚ข๏‚ข(0),..........
y ( x) ๏€ฝ 0 ๏€ซ 3 x ๏€ซ
y ( x) ๏€ฝ 3x ๏€ซ
9 2 21 3 45 4 93 5
x ๏€ซ x ๏€ซ
x ๏€ซ
x ๏€ซ ........
2
6
24
120
9 2 7 3 15 4 31 5
x ๏€ซ x ๏€ซ x ๏€ซ
x ๏€ซ ........ ๏ƒ  (1)
2
2
8
40
Now put x ๏€ฝ 0.1 in equation
9
7
15
31
y (0.1) ๏€ฝ 3(0.1) ๏€ซ (0.1) 2 ๏€ซ (0.1)3 ๏€ซ (0.1) 4 ๏€ซ (0.1)5 ๏€ฝ 0.34869
2
2
8
40
Now put x ๏€ฝ 0.2 in equation
9
7
15
31
y (0.2) ๏€ฝ 3(0.2) ๏€ซ (0.2) 2 ๏€ซ (0.2)3 ๏€ซ (0.2) 4 ๏€ซ (0.2)5 ๏€ฝ 0.811244
2
2
8
40
Now put ๐‘ฅ = 0.3 ๐‘–๐‘› ๐‘’๐‘ž๐‘ข๐‘Ž๐‘ก๐‘–๐‘œ๐‘›(1)
9
7
15
31
y (0.3) ๏€ฝ 3(0.3) ๏€ซ (0.3) 2 ๏€ซ (0.3)3 ๏€ซ (0.3) 4 ๏€ซ (0.3)5 ๏€ฝ 1.41657075
2
2
8
40
Analytical Solution:
The exact solution of the equation
dy
๏€ฝ 2 y ๏€ซ 3e x with y (0) ๏€ฝ 0 can be found as follows
dx
dy
๏€ญ 2 y ๏€ฝ 3e x This is a linear in y.
dx
Here P ๏€ฝ ๏€ญ2, Q ๏€ฝ 3e x
I.F =๐‘’ ∫ ๐‘(๐‘ฅ)๐‘‘๐‘ฅ = ๐‘’ ∫ −2๐‘ฅ๐‘‘๐‘ฅ =๐‘’ −2๐‘ฅ
General solution is y.e ๏€ญ2 x ๏€ฝ ๏ƒฒ 3e x .e ๏€ญ2 x dx ๏€ซ c ๏€ฝ ๏€ญ3e ๏€ญ x ๏€ซ c
๏œ y ๏€ฝ ๏€ญ3e x ๏€ซ ce2 x Where x ๏€ฝ 0, y ๏€ฝ 0 0 ๏€ฝ ๏€ญ3 ๏€ซ c ๏ƒž c ๏€ฝ 3
The particular solution is y ๏€ฝ 3e2 x ๏€ญ 3e x or y( x) ๏€ฝ 3e2 x ๏€ญ 3e x
Put x ๏€ฝ 0.1 in the above particular solution,
y ๏€ฝ 3.e0.2 ๏€ญ 3e0.1 ๏€ฝ 0.34869
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
60
MATHEMATICS - II
NUMERICAL METHODS
Similarly put x ๏€ฝ 0.2
y ๏€ฝ 3e0.4 ๏€ญ 3e0.2 ๏€ฝ 0.811265
put x ๏€ฝ 0.3
y ๏€ฝ 3e0.6 ๏€ญ 3e0.3 ๏€ฝ 1.416577
6. Using Taylor’s series method, solve the equation
dy
๏€ฝ x 2 ๏€ซ y 2 for x ๏€ฝ 0.4 given that
dx
y = 0 when x = 0
Sol: Given equation is
dy
๏€ฝ x 2 ๏€ซ y 2 and y ๏€ฝ 0 when x ๏€ฝ 0 i.e. y (0) ๏€ฝ 0
dx
Here y0 ๏€ฝ 0 , x0 ๏€ฝ 0
Differentiating repeatedly w.r.t ‘x’ and evaluating at x ๏€ฝ 0
๐‘ฆ ′ (๐‘ฅ ) = ๐‘ฅ 2 + ๐‘ฆ 2 , ๐‘ฆ ′ (0) = 0 + ๐‘ฆ 2 (0) = 0 + 0 = 0
๐‘ฆ ′′ (๐‘ฅ ) = 2๐‘ฅ + ๐‘ฆ ′ . 2๐‘ฆ, ๐‘ฆ ′′ (0) = 2(0) + ๐‘ฆ ′ (0)2. ๐‘ฆ = 0
๐‘ฆ ′′′ (๐‘ฅ ) = 2 + 2๐‘ฆ๐‘ฆ ′′ + 2๐‘ฆ ′ . ๐‘ฆ ′ , ๐‘ฆ ′′′ (0) = 2 + 2. ๐‘ฆ(0). ๐‘ฆ ′ (0) + 2. ๐‘ฆ ′ (0)2 = 2
๐‘ฆ (4) (๐‘ฅ) = 2. ๐‘ฆ๐‘ฆ ′′′ + 2. ๐‘ฆ ′′ , ๐‘ฆ ′ + 4. ๐‘ฆ ′′ . ๐‘ฆ ′ , ๐‘ฆ ′ (0) = 0
The Taylor’s series for f(x) about x0 ๏€ฝ 0 is
y( x) ๏€ฝ y(0) ๏€ซ xy๏‚ข(0) ๏€ซ
x2
x3
x4
y๏‚ข๏‚ข(0) ๏€ซ y๏‚ข๏‚ข๏‚ข(0) ๏€ซ y๏‚ข๏‚ข๏‚ข๏‚ข(0) ๏€ซ ...
2!
3!
4!
Substituting the values of y (0), y๏‚ข(0), y๏‚ข๏‚ข(0),.....
y ( x) ๏€ฝ 0 ๏€ซ x(0) ๏€ซ 0 ๏€ซ
2 x3
x3
๏€ซ 0 ๏€ซ ........ ๏€ฝ ๏€ซ (Higher order terms are neglected)
3!
3
(0.4)3 0.064
๏œ y(0.4) ๏€ฝ
๏€ฝ
๏€ฝ 0.02133
3
3
7. Find y (0.1),y (0.2), z(0.1), z(0.2) given
dy
dz
๏€ฝ x ๏€ซ y, ๏€ฝ x ๏€ญ y 2
dx
dx
and y (0) ๏€ฝ 2, z (0) ๏€ฝ 1 by
Using Taylor’s series method
SOL: Given y ′ = x + z , take x0 = 0 , y0 = 2 ,h=0.1
We have to find y1 = y(0.1) and y2 = y(0.2)
Now y ′ = x+z,
y ′′ = 1+ z ′ ,
y ′ ′′ = z ′ ………………….(I)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
61
MATHEMATICS - II
NUMERICAL METHODS
Given z ′ = x-y2
take ๐‘ฅ0 = 0 , ๐‘ง0 = 1 ,h = 0.1
we have to find z1 = z(0.1) and z2 = z(0.2)
now z ′ =x-y2,
y ′′′ = -2 [y. y ′ ′ + (y ′ )2 ] ………………………………(II)
z ′ =1-2y. y ′ ,
By Taylor’s series for y and z ,we have
1
1
โ„Ž2
โ„Ž3
โ„Ž2
โ„Ž3
y(x) = y0 + h๐‘ฆ0′ + 2! ๐‘ฆ0′′ + 3! ๐‘ฆ0′′′ (neglecting higher order terms)….(1)
z(x) = z0 + h๐‘ง0′ .+ 2! ๐‘ง0′′ + 3! ๐‘ง0′′′ (neglecting higher order terms)……………….(2)
From (I) and (II), we get
๐‘ฆ0 = 2
๐‘ง0 = 1
๐‘ฆ0 ′ = ๐‘ฅ0 + ๐‘ง0 = 0+1=1
๐‘ง0 ′ = ๐‘ฅ0 - ๐‘ฆ0 2 = - 4
๐‘ฆ0′′ =1+๐‘ง0′ =1+ x0-y02 =1+0-4= -3 ; ๐‘ง0 ′′ =1-2y0. ๐‘ฆ0 ′ = 1-2(2)1= -3
๐‘ฆ0 ′′′ =๐‘ง0 ′′ =-3
; ๐‘ง0
′′ ′
= -2[y0. ๐‘ฆ0 ′′ +( ๐‘ฆ0 ′ )2 ] = 10
Substituting these values in (1) and(2)
y1=y(0.1)= 2+(0.1)1+
0.01
2
z1=z(0.1)= 1+(0.1)(-4)+
(-3) +
0.01
2
0.001
(-3)+
6
(-3)=2.0845.
0.001
6
(10)=0.5867.
Similarly
By Taylor’s series for y2,z2 are
โ„Ž2
โ„Ž3
โ„Ž2
โ„Ž3
y2=y1 + h. ๐‘ฆ1′ + 2! ๐‘ฆ1′′ + 3! ๐‘ฆ1′′′ ………………..(3)
z2 =z1 + h. ๐‘ง1′ + 2! ๐‘ง1′′ + 3! ๐‘ง1′′′ …………………..(4)
Now we have
y1=2.01845;
z1 = 1;
๐‘ฆ1′ =x1+z1=0.1+0.5867=0.6867
๐‘ง1′ = x1-y12= -4.2451
๐‘ฆ1′′ =1+๐‘ง1′ =1+ x1-y12 = -3.2451 ;
๐‘ง1 ′′ =1-2y1.y1 ′ = -1.8628
๐‘ฆ1′′′ =๐‘ง1 ′′ = -1.8628
;
๐‘ง1 ′′′ = -2 [y1. ๐‘ฆ๐‘ฆ1′′ + (๐‘ฆ1 )2 ] = 12.5856
Substituting in (3) and (4).We get
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
62
MATHEMATICS - II
NUMERICAL METHODS
y2=y(0.2)= 2.0845+(0.1)(0.6867)+
0.01
2
(-3.2451) +
0.01
z2=z(0.2)= 0.5867+(0.1)(-4.2451)+ 2 (-1.8628)+
0.001
6
0.001
6
(-1.8628)=2.1367.
(12.5856)=0.15497.
EULER’S METHOD:
It is the simplest one-step method and it is less accurate. Hence it has a limited application.
Consider the differential equation
dy
= f(x,y) ๏ƒ (1)
dx
With y(x0) = y0
๏ƒ (2)
Consider the first two terms of the Taylor’s expansion of y(x) at x = x0
y(x) = y(x0) + (x – x0) ๐‘ฆ ′ (x0)
๏ƒ (3)
from equation (1) ๐‘ฆ ′ (x0) = f(x0,y(x0)) = f(๐‘ฅ0 , ๐‘ฆ0 )
Substituting in equation (3)
๏œ y(x) = y(x0) + (x – x0) f(๐‘ฅ0 , ๐‘ฆ0 )At x = x1, y(x1) = y(x0) + (x1 – x0) f(๐‘ฅ0 , ๐‘ฆ0 )
๏œ ๐‘ฆ1 =๐‘ฆ0 + h f(๐‘ฅ0 , ๐‘ฆ0 )
where h = x1 – x0
Similarly at x = x2 , ๐‘ฆ2 =๐‘ฆ1 + h f(๐‘ฅ1 , ๐‘ฆ1 )
Proceeding as above, yn+1 = yn + h f(xn,yn)
This is known as Euler’s Method
From the fig,
Tan๐›ผ=
๐‘œ๐‘๐‘
๐‘Ž๐‘‘๐‘—
=
๐‘œ๐‘๐‘
โ„Ž
Implies opp = h Tan๐›ผ
๐‘‘๐‘ฆ
But Tan๐›ผ=slope at (๐‘ฅ0 , ๐‘ฆ0 ) = ๐‘‘๐‘ฅ ๐‘Ž๐‘ก(๐‘ฅ0 , ๐‘ฆ0 )= f(๐‘ฅ0 , ๐‘ฆ0 )
∴opp=h f(๐‘ฅ0 , ๐‘ฆ0 )
Hence y1=y0+opp implies ๐‘ฆ1 =๐‘ฆ0 + h f(๐‘ฅ0 , ๐‘ฆ0 )
[NEGLECTING ERROR]
We remove that error by using EULER’S MODIFIED METHOD.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
63
MATHEMATICS - II
NUMERICAL METHODS
PROBLEMS:
1. Using Euler’s method, solve for y at x = 2 from
dy
= 3x2 + 1,y(1) = 2,taking step size
dx
(i) h = 0.5 and (ii) h=0.25
Sol:
Here f(x,y) = 3x2 + 1, x0 = 1,y0 = 2
Euler’s algorithm is yn+1 = yn + h f(xn,yn), n = 0,1,2,3,…..
(i) h = 0.5
๏ƒ (1)
๏œ x1 = x0 + h = 1+0.5 = 1.5
Taking n = 0 in (1) , we have
x2 = x1 + h = 1.5 + 0.5 = 2
y1 = y0 + h f(x0,y0)
i.e. y1 = y(1.5) = 2 + (0.5) f(1,2) = 2 + (0.5) (3 + 1) = 2 + (0.5)(4) =4
Here x1 = x0 + h = 1 + 0.5 = 1.5
๏œ y(1.5) = 4 = y1
Taking n = 1 in (1),we have
y2 = y1 + h f(x1,y1)
i.e. y(x2) = y2 = 4 + (0.5) f(1.5,4) = 4 + (0.5)[3(1.5)2 + 1] = 7.875
Here x2 = x4 + h = 1.5 + 0.5 = 2
๏œ y(2) = 7.875
(ii) h = 0.25
๏œ x1 = 1.25, x2 = 1.50, x3 = 1.75, x4 = 2
Taking n = 0 in (1), we have
y1 = y0 + h f(x0,y0)
i.e. y(x1) = y1 = 2 + (0.25) f(1,2) = 2 + (0.25) (3 + 1) = 3
y(x2) = y2 = y1 + h f(x1,y1)
i.e. y(x2) = y2 = 3 + (0.25) f(1.25,3) = 3 + (0.25)[3(1.25) 2 + 1] = 5.42188
Here x2 = x1 + h = 1.25 + 0.25 = 1.5
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
64
MATHEMATICS - II
๏‚ถf ๏‚ถf ๏‚ถz ๏‚ถf ๏‚ถf
๏€ซ . ๏€ฝ 0 ๏ƒž ๏€ซ .q ๏€ฝ 0
๏‚ถy ๏‚ถz ๏‚ถy ๏‚ถy ๏‚ถz
NUMERICAL METHODS
y(1.5) = 5.42188
Taking n = 2 in (1), we have
i.e. y(x3) = y3 =๐‘ฆ2 + h f(x2,y2)
= 5.42188 + (0.25) f(1.5,5.42188)
= 5.42188 + (0.25) [3(1.5)2 + 1]= 7.35938
Here x3 = x2 + h = 1.5 + 0.25 = 1.75
๏œ y(1.75) =7. 35938
Taking n = 4 in (1),we have
y(x4) = y4 = y3 + h f(x3,y3)
i.e. y(x4) = y4 = 7.35938 + (0.25) f(1.75,7.35938)
= 7.35938 + (0.25)[3(1.75)2 + 1] = 9.90626
Note that the difference in values of y(2) in both cases (i.e. when h = 0.5 and when h =
0.25).The accuracy is improved significantly when h is reduced to 0.25 (Exact solution of the
equation is y = x3 + x and with this y(2) = y2 = 10.
2. Solve by Euler’s method, ๐ฒ ′ (x0) = x + y, y(0) = 1 and find y(0.3) taking step size h =
0.1. compare the result obtained by this method with the result obtained by analytical
solution
Sol: Here f(x,y) = x+y, x0 = 0,y0 = 1
Euler’s algorithm is yn+1 = yn + h f(xn,yn), n = 0,1,2,3,…..
Given h = 0.5
๏œ x1 = x0 + h = 0+0.1= 0.1
Taking n = 0 in (1) , we have
x2 = x1 + h = 0.1+ 0.1 = 0.2
๏ƒ (1)
y1 = y0 + h f(x0,y0)
i.e. y1 = y(0.1) = 1 + (0.1) f(0,1) = 1.1
๏œ y(0.1) = 1.1
Here x2 = x1 + h = 0.1+ 0.1 = 0.2
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
65
MATHEMATICS - II
NUMERICAL METHODS
y2 = y1 + h f(x1,y1)
Taking n = 1 in (1),we have
i.e. y(x2) = y2 = 1.1 + (0.1) f(0.1.1.1) =1.22
Similarly we get
y3 = y(0.3) = 1.362
Analytical solution:
The exact solution of dy ๏€ฝ x ๏€ซ y , y(0)=1 can be found as follows.
dx
The equation can be written as dy ๏€ญ y ๏€ฝ x
dx
This is a linear equation in y [i.e, dy ๏€ซ p. y ๏€ฝ Q ]
dx
then p = -1, Q = x. I .F ๏€ฝ e ๏ƒฒ
pdx
๏€ฝ e๏ƒฒ
( ๏€ญ1) dx
๏€ฝ e๏€ญ x
General solution is y . I.F= ๏ƒฒ QXI .Fdx ๏€ซ c
y.e-x= ๏ƒฒ x.e๏€ญ x dx ๏€ซ c
y.e-x= - e-x(x+1)+c. or y=-(x+1)+ce+x
when x = 0, y = 1 i.e, 1= - (0+1) + c or c = 2
Hence the particular solution of the equation is
y = - (x+1) + 2ex = 2ex - x -1.
Particular solution is y = 2ex – (x + 1)
Hence y(0.1) = 1.11034, y(0.2) = 1.3428, y(0.3) = 1.5997
We shall tabulate the result as follows
X
0
0.1
0.2
0.3
Euler y
1
1.1
1.22
1.362
Exact y
1
1.11034
1.3428
1.5997
The value of y deviate from the exact value as x increases. This indicate that the method is
not accurate
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
66
MATHEMATICS - II
NUMERICAL METHODS
3. Given y ' ๏€ฝ x 2 ๏€ญ y, y(0) ๏€ฝ 1 find correct to four decimal places the value of y (0,1),
by using Euler’s method.
Sol: We have ๐‘“ (๐‘ฅ, ๐‘ฆ) = ๐‘ฅ 2 − ๐‘ฆ
๐‘ฅ0 = 0; ๐‘ฆ0 =1 and h=0.1
By Euler’s algorithm
๏ƒ (1)
yn+1 = yn + h f(xn,yn)
๏œ From (1), for n = 0, we have
y1 = y0 + h f(x0,y0) = 1+(0.1)๐‘“(0,1) = 1+0.1(0-1) = 0.9
∴ ๐’š๐Ÿ =0.9
๏€จ
๏€ฉ
4. Use Euler’s method of find y(0.1),y(0.2) given y , ๏€ฝ x3 ๏€ซ xy 2 e ๏€ญ x , y ๏€จ 0 ๏€ฉ ๏€ฝ 1
๏€จ
๏€ฉ
Sol: Given y , ๏€ฝ x3 ๏€ซ xy 2 e ๏€ญ x , y ๏€จ 0 ๏€ฉ ๏€ฝ 1
Consider h = 0.1
Here f(x,y) = (x3+xy2)๐‘’ −๐‘ฅ , x0 = 0, y0 = 1,x1=x0+h=0.1,x2=x1+h=0.2
๏ƒ (1)
Euler’s algorithm is yn+1 = yn + h f(xn,yn)
๏œ From (1), for n = 0, we have
y1 = y0 + h f(x0,y0) = y0+h(๐‘ฅ0 3+๐‘ฅ0 ๐‘ฆ0 2)๐‘’ −๐‘ฅ0 = 1+(0.1)(0) =1
∴ ๐‘ฆ(0.1) = 1
Again x2=x1+h=0.2
๏œ From (1), for n = 1, we have
y2 = y1 + h f(x1,y1) = y1+ h(๐‘ฅ1 3+๐‘ฅ1 ๐‘ฆ1 2)๐‘’ −๐‘ฅ1
= 1 + (0.1)[(0.1)3 + (0.1)(1)2] = 1.0091
∴ ๐‘ฆ(0.2) = 1.0091
5. Given that
dy
= xy ,y(0) = 1 determine y(0.1),using Euler’s method.
dx
Sol: The given differentiating equation is
dy
= xy, y(0) = 1
dx
a=0, b=0.1
Here f(x,y) = xy , x0 = 0 and y0 = 1
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
67
MATHEMATICS - II
NUMERICAL METHODS
Since h is not given much better accuracy is obtained by breaking up the interval (0,0.1) in to
five steps.
i.e. h =
b๏€ญa
0.1
=
= 0.02
5
5
๏ƒ (1)
Euler’s algorithm is yn+1 = yn + h f(xn,yn)
๏œ From (1) for n = 0, we have
y1 = y0 + h f(x0,y0) = 1 + (0.02) f(0,1) = 1 + (0.02) (0) =1
Next we have x1 = x0 + h = 0 + 0.02 = 0.02
๏œ From (1), for n = 1, we have
y2 = y1 + h f(x1,y1) = 1 + (0.02) f(0.02,1) = 1 + (0.02) (0.02) = 1.0004
Next we have x2 = x1 + h = 0.02 + 0.02 =0.04
๏œ From (1), for n = 2,we have
y3 = y2 + h f(x2,y2) = 1.004 + (0.02) (0.04) (1.000) = 1.0012
Next we have x3 = x2 + h = 0.04 + 0.02 =0.06
๏œ From (1), for n = 3,we have
y4 = y3 + h f(x3,y3) = 1.0012 + (0.02) (0.06) (1.00012)= 1.0024.
Next we have x4 = x3 + h = 0.06 + 0.02 =0.08
๏œ From (1), for n = 4,we have
y5 = y4 + h f(x4,y4) = 1.0024 + (0.02) (0.08) (1.00024)= 1.0040.
Next we have x5 = x4 + h = 0.08 + 0.02 =0.1
When x = x5, y≅y5
๏œ y = 1.0040 when x = 0.1
6. Given that
Sol: Given
dy
= 3x2 + y, y(0) = 4.Find y(0.25) and y(0.5) using Euler’s method
dx
dy
= 3x2 + y and y(1) = 2.
dx
Here f(x,y) = 3x2 + y , x0 = (1), y0 = 4
Consider h = 0.25
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
68
MATHEMATICS - II
NUMERICAL METHODS
Euler’s algorithm is yn+1 = yn + h f(xn,yn)
๏ƒ (1)
๏œ From (1), for n = 0, we have
y1 = y0 + h f(x0,y0) = 2 + (0.25)[0 + 4] = 2 + 1 = 3
Next we have x1 = x0 + h = 0 + 0.25 = 0.25
When x = x1, y1 ~ y
๏œ y = 3 when x = 0.25
๏œ From (1), for n = 1, we have
y2 = y1 + h f(x1,y1) = 3 + (0.25)[3.(0.25)2 + 3] = 3.7968
Next we have x2 = x1 + h = 0.25 + 0.25 = 0.5
When x = x2, y ~ y2 ๏œ y = 3.7968 when x = 0.5.
MODIFIED EULER’S METHOD
From fig
Avg slope = parallel line slope
(0)
f(x0,y0)+f(x1,๐‘ฆ1 )
=
2
Hence
(0)
๐‘ฆ1 = y0+ hf(x0 , y0)
(0)
f(x0,y0)+f(x1,๐‘ฆ1 )
(1)
๐‘ฆ1 =y0+
2
--------------------------(๐‘›)
f(x0 ,y0 )+f(x1 ,๐‘ฆ1 )
(๐‘›+1)
๐‘ฆ1
=y0+
2
Continue till any two consecutive iterations nearly same upto three or four decimal places .
To find ๐‘ฆ2 , ๐‘ฆ3 …..
(๐‘–)
The formula is given by ๐‘ฆ๐‘˜+1 = ๐‘ฆ๐‘˜ +
(๐‘–−1)
โ„Ž⁄2 [๐‘“(๐‘ฅ๐‘˜ , ๐‘ฆ๐‘˜ ) + ๐‘“(๐‘ฅ๐‘˜+1 , ๐‘ฆ๐‘˜+1 )] , ๐‘– = 1,2 … . ๐‘Ž๐‘›๐‘‘ ๐‘˜ = 0,1 … …
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
69
MATHEMATICS - II
NUMERICAL METHODS
Working rule for Modified Euler’s method
(๐‘–)
(๐‘–−1)
๐‘ฆ๐‘˜+1 = ๐‘ฆ๐‘˜ + โ„Ž⁄2 [๐‘“ (๐‘ฅ๐‘˜ , ๐‘ฆ๐‘˜ ) + ๐‘“ (๐‘ฅ๐‘˜+1, ๐‘ฆ๐‘˜+1 )] , ๐‘– = 1,2 … . ๐‘Ž๐‘›๐‘‘ ๐‘˜ = 0,1 … …
ii) When i ๏€ฝ 1 y 0 k ๏€ซ1 can be calculated from Euler’s method
iii) K=0, 1……… gives number of iteration. i ๏€ฝ 1, 2...
gives number of times, a particular iteration k is repeated
Suppose consider dy/dx=f(x, y) -------- (1) with y(x0) =y0----------- (2)
To find y (๐‘ฅ1 ) = y1 at x = x1 = x0+h
Now take k=0 in modified Euler’s method
๏€จ
๏€ฉ
……We get y1๏€จ1๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จi ๏€ญ1๏€ฉ ๏ƒน ……………………… (3)
๏ƒซ
๏ƒป
Taking i=1, 2, 3...k+1 in eqn (3), we get
(0)
๐‘ฆ0
= ๐‘ฆ0 + โ„Ž[๐‘“(๐‘ฅ0 , ๐‘ฆ0 )] (By Euler’s method)
y1๏€จ1๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f
๏ƒซ
๏€จ x , y ๏€จ ๏€ฉ ๏€ฉ๏ƒน๏ƒป
0
1
1
๏€จ
๏€ฉ
y1๏€จ 2๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
------------------------
๏€จ
๏€ฉ
y1๏€จ k ๏€ซ1๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ k ๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
If two successive values of y1๏€จ k ๏€ฉ , y1๏€จ k ๏€ซ1๏€ฉ are sufficiently close to one another, we will take the
common value ………..as ๐‘ฆ1 = ๐‘ฆ(๐‘ฅ2 ) = ๐‘ฆ(๐‘ฅ1 + โ„Ž)
๐‘‘๐‘ฆ
Now we have ๐‘‘๐‘ฅ = ๐‘“ (๐‘ฅ, ๐‘ฆ)๐‘ค๐‘–๐‘กโ„Ž ๐‘ฆ = ๐‘ฆ1 ๐‘Ž๐‘ก ๐‘ฅ = ๐‘ฅ1 ๐‘ก๐‘œ ๐‘”๐‘’๐‘ก ๐‘ฆ2 = ๐‘ฆ(๐‘ฅ2 ) = ๐‘ฆ(๐‘ฅ1 + โ„Ž)
๐‘‘๐‘ฆ
Now we have ๐‘‘๐‘ฅ =f(x,y) with y=y , at x=x To get ๐‘ฆ2 =y(๐‘ฅ2 )=y(๐‘ฅ1 + โ„Ž)
We use the above procedure again
PROBLEMS
1. Using modified Euler’s method find the approximate value of x when x ๏€ฝ 0.3
given that dy / dx ๏€ฝ x ๏€ซ y and y ๏€จ 0๏€ฉ ๏€ฝ 1
sol: Given dy / dx ๏€ฝ x ๏€ซ y and y ๏€จ 0๏€ฉ ๏€ฝ 1
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
70
MATHEMATICS - II
NUMERICAL METHODS
Here f ๏€จ x, y ๏€ฉ ๏€ฝ x ๏€ซ y, x0 ๏€ฝ 0, and y0 ๏€ฝ 1
Take h = 0.1 which is sufficiently small
Here x0 ๏€ฝ 0, x1 ๏€ฝ x0 ๏€ซ h ๏€ฝ 0.1, x2 ๏€ฝ x1 ๏€ซ h ๏€ฝ 0.2, x3 ๏€ฝ x2 ๏€ซ h ๏€ฝ 0.3
The formula for modified Euler’s method is given by
๏€จ
๏€ฉ
yk ๏€ซ1๏€จi ๏€ฉ ๏€ฝ yk ๏€ซ h / 2 ๏ƒฉ f ๏€จ xk ๏€ซ yk ๏€ฉ ๏€ซ f xk ๏€ซ1 , yk ๏€ซ1๏€จi ๏€ญ1๏€ฉ ๏ƒน ๏‚ฎ ๏€จ1๏€ฉ
๏ƒซ
๏ƒป
Step1: To find y1= y(x1) = y (0.1)
Taking k = 0 in eqn(1)
(๐‘–)
โ„Ž
(๐‘–−1)
๐‘ฆ1 = ๐‘ฆ0 + 2 [๐‘“(๐‘ฅ0 + ๐‘ฆ0 ) + ๐‘“(๐‘ฅ1 , ๐‘ฆ1
(1)
when i = 1 in eqn (2) ๐‘ฆ1
)]
→ (2)
โ„Ž
(0)
= ๐‘ฆ0 + 2 [๐‘“(๐‘ฅ0 + ๐‘ฆ0 ) + ๐‘“(๐‘ฅ1 , ๐‘ฆ1 )]
(0)
First apply Euler’s method to calculate ๐‘ฆ1
= y1
๏œ y1๏€จ 0๏€ฉ ๏€ฝ y0 ๏€ซ h f ๏€จ x0 , y0 ๏€ฉ
= 1+(0.1)f(0,1)=1+(0.1)(0+1)
= 1+(0.1) = 1.10
Now [๐‘ฅ0 = 0, ๐‘ฆ0 = 1, ๐‘ฅ1 = 0.1, ๐‘ฆ1 (0) = 1.10]
๏œ y1๏€จ1๏€ฉ ๏€ฝ y0 ๏€ซ 0.1 / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f ๏€จ x1 , y1๏€จ 0๏€ฉ ๏€ฉ๏ƒน
๏ƒซ
๏ƒป
= 1+0.1/2[f(0,1) + f(0.1,1.10)
= 1+0.1/2[(0+1)+(0.1+1.10)]= 1.11
When i=2 in eqn (2)
๏€จ
๏€ฉ
y1๏€จ 2๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1+0.1/2[f(0.1)+f(0.1,1.11)]
= 1 + 0.1/2[(0+1)+(0.1+1.11)]= 1.1105
๏€จ
๏€ฉ
y1๏€จ3๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1+0.1/2[f(0,1)+f(0.1 , 1.1105)]
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
71
MATHEMATICS - II
NUMERICAL METHODS
= 1+0.1/2[(0+1)+(0.1+1.1105)] = 1.1105
Since y1๏€จ 2๏€ฉ ๏€ฝ y1๏€จ3๏€ฉ
๏œ y1 = 1.1105
Step:2
To find y2 = y(x2) = y(0.2)
Taking k = 1 in eqn (1) , we get
๏€จ
๏€ฉ
y2๏€จi ๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 , y2๏€จi ๏€ญ1๏€ฉ ๏ƒน ๏‚ฎ ๏€จ 3๏€ฉ where
๏ƒซ
๏ƒป
i = 1,2,3,4,…..
For i = 1
y2๏€จ1๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f
๏ƒซ
๏€จ x , y ๏€จ ๏€ฉ ๏€ฉ๏ƒน๏ƒป
0
2
2
y2๏€จ 0๏€ฉ is to be calculate from Euler’s method
y2๏€จ 0๏€ฉ ๏€ฝ y1 ๏€ซ h f ๏€จ x1 , y1 ๏€ฉ
= 1.1105 + (0.1) f(0.1 , 1.1105)
= 1.1105+(0.1)[0.1+1.1105]= 1.2316
(1)
๏œ ๐‘ฆ2
= 1.1105 ๏€ซ 0.1/ 2 ๏ƒฉ๏ƒซ f ๏€จ 0.1,1.1105 ๏€ฉ ๏€ซ f ๏€จ 0.2,1.2316 ๏€ฉ ๏ƒน๏ƒป
= 1.1105 +0.1/2[0.1+1.1105+0.2+1.2316]= 1.2426
๏€จ
๏€ฉ
y2๏€จ 2๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 y2๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1.1105 + 0.1/2[f(0.1 , 1.1105) , f(0.2 . 1.2426)]
= 1.1105 + 0.1/2[1.2105 + 1.4426]
= 1.1105 + 0.1(1.3266)= 1.2432
๏€จ
๏€ฉ
y2๏€จ3๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 y2๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1.1105+0.1/2[f(0.1,1.1105)+f(0.2 , 1.2432)]
= 1.1105+0.1/2[1.2105+1.4432)]
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
72
MATHEMATICS - II
NUMERICAL METHODS
= 1.1105 + 0.1(1.3268) = 1.2432
Since y2๏€จ3๏€ฉ ๏€ฝ y2๏€จ3๏€ฉ
Hence y2 = 1.2432
Step:3 To find y3 = y(x3) = y y(0.3)
Taking k =2 in eqn (1) we get
๏€จ
๏€ฉ
y3๏€จ1๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จi ๏€ญ1๏€ฉ ๏ƒน ๏‚ฎ ๏€จ 4 ๏€ฉ
๏ƒซ
๏ƒป
๏€จ
For i = 1 , y3 ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3
๏€จ1๏€ฉ
๏ƒซ
๏€ฉ๏ƒป
๏€จ 0๏€ฉ ๏ƒน
y3๏€จ 0๏€ฉ is to be evaluated from Euler’s method .
y3๏€จ 0๏€ฉ ๏€ฝ y2 ๏€ซ h f ๏€จ x2 , y2 ๏€ฉ
= 1.2432 +(0.1) f(0.2 , 1.2432)
= 1.2432+(0.1)(1.4432) = 1.3875
๏œ y3๏€จ1๏€ฉ = 1.2432+ [f(0.2 , 1.2432)+f(0.3, 1.3875)]
2
0.1
= 1.2432 + 0.1/2[1.4432+1.6875]
= 1.2432+0.1(1.5654) = 1.3997
๏€จ
๏€ฉ
y3๏€จ 2๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1.2432+0.1/2[1.4432+(0.3+1.3997)]
= 1.2432+ (0.1) (1.575) = 1.4003
๏€จ
๏€ฉ
y3๏€จ3๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1.2432+0.1/2[f(0.2 , 1.2432)+f(0.3 , 1.4003)]
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
73
MATHEMATICS - II
NUMERICAL METHODS
= 1.2432 + 0.1(1.5718) = 1.4004
๏€จ
๏€ฉ
y3๏€จ 4๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จ3๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1.2432 + 0.1/2[1.4432+1.7004]
= 1.2432+(0.1)(1.5718) = 1.4004
Since y3๏€จ3๏€ฉ ๏€ฝ y3๏€จ 4๏€ฉ
Hence y3 ๏€ฝ 1.4004
๏œ The value of y at x = 0.3 is 1.4004
๐’…๐’š
2. Using Modified Euler’s method find y(0.2 ) y(0.4 )with h=0.2,given that ๐’…๐’™=x + siny,
y(0)=1
SOL: ๐‘“(๐‘ฅ, ๐‘ฆ) = ๐‘ฅ + ๐‘ ๐‘–๐‘›๐‘ฆ
๐‘ฅ0 = 0; ๐‘ฆ0 =1 and h=0.2
Here x0 ๏€ฝ 0, x1 ๏€ฝ x0 ๏€ซ h ๏€ฝ 0.1, x2 ๏€ฝ x1 ๏€ซ h ๏€ฝ 0.2, x3 ๏€ฝ x2 ๏€ซ h ๏€ฝ 0.3
x1=x0+h=0.2;
x2=x1+h=0.4
The formula for modified Euler’s method is given by
๏€จ
๏€ฉ
yk ๏€ซ1๏€จi ๏€ฉ ๏€ฝ yk ๏€ซ h / 2 ๏ƒฉ f ๏€จ xk ๏€ซ yk ๏€ฉ ๏€ซ f xk ๏€ซ1 , yk ๏€ซ1๏€จi ๏€ญ1๏€ฉ ๏ƒน ๏‚ฎ ๏€จ1๏€ฉ
๏ƒซ
๏ƒป
Step1: To find y1= y(x1) = y (0.2)
Euler’s modified method is given by
(1)
๐‘ฆ1
(0)
= ๐‘ฆ0 + โ„Ž⁄2 [๐‘“(๐‘ฅ0 , ๐‘ฆ0 ) + ๐‘“(๐‘ฅ1 , ๐‘ฆ1 )] (k=0 ,
(0)
First apply Euler’s method to calculate ๐‘ฆ1
i=1)
= y1
๏œ y1๏€จ 0๏€ฉ ๏€ฝ y0 ๏€ซ h f ๏€จ x0 , y0 ๏€ฉ
= 1+(0.2)f(0,1)=1+(0.2)(0+sin1)
= 1.163
(0)
Now [๐‘ฅ0 = 0, ๐‘ฆ0 = 1, ๐‘ฅ1 = 0.2, ๐‘ฆ1
๏œ
(1)
๐‘ฆ1
= 1.163]
= 1+0.2/2[f(0,1) + f(0.2,1.163)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
74
MATHEMATICS - II
NUMERICAL METHODS
= 1+0.1/2[1+1.163]
= 1.1916
When i=2 in eqn (2)
๏€จ
๏€ฉ
y1๏€จ 2๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1+0.2/2[f(0.1)+f(0.2,1.1916)]
=1.2038
๏€จ
๏€ฉ
y1๏€จ3๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1+0.2/2[f(0,1)+f(0.2 , 1.2038)]
=1.2045
Since y1๏€จ 2๏€ฉ ๏€ฝ y1๏€จ3๏€ฉ
๏œ y1 = 1.204
Step:2
To find y2 = y(x2) = y(0.4)
Taking k = 1 in eqn (1) , we get
๏€จ
๏€ฉ
y2๏€จi ๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 , y2๏€จi ๏€ญ1๏€ฉ ๏ƒน ๏‚ฎ ๏€จ 3๏€ฉ where
๏ƒซ
๏ƒป
๏€จ
i = 1,2,3,4,…..
๏€ฉ
For i = 1, y2๏€จ1๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 , y2๏€จ 0๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
y2๏€จ 0๏€ฉ is to be calculate from Euler’s method
y2๏€จ 0๏€ฉ ๏€ฝ y1 ๏€ซ h f ๏€จ x1 , y1 ๏€ฉ
= 1.204 + (0.2) f(0.2 , 1.204)
= 1.4313
(1)
๐‘ฆ2
= 1.204 +0.1[1.1337+1.4313]
= 1.4611
๏€จ
๏€ฉ
y2๏€จ 2๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 y2๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
75
MATHEMATICS - II
NUMERICAL METHODS
= 1.204 + 0.1/2[f(0.2 , 1.204) , f(0.4 . 1.416)
= 1.462
๏€จ
๏€ฉ
y2๏€จ3๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 y2๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1.204+0.1/2[f(0.2,1.204)+f(0.4 , 1.462)] = 1.464
Since y2๏€จ3๏€ฉ ๏€ฝ y2๏€จ3๏€ฉ
Hence y2 = 1.46
3. Using modified Euler’s method find the approximate value of x when x ๏€ฝ 0.3
๐’…๐’š
given that ๐’…๐’™ = ๐’™ − ๐’š ๐’‚๐’๐’… ๐’š(๐ŸŽ) = ๐Ÿ
dy
Sol: Given dx = x − y and y(0) = 1
Here f(x,y) = x - y, x0 = 0and y0 = 1
Take h = 0.1
Here x0 ๏€ฝ 0, x1 ๏€ฝ x0 ๏€ซ h ๏€ฝ 0.1, x2 ๏€ฝ x1 ๏€ซ h ๏€ฝ 0.2, x3 ๏€ฝ x2 ๏€ซ h ๏€ฝ 0.3
Step1: To find y1= y(x1) = y (0.1)
(0)
First apply Euler’s method to calculate ๐‘ฆ1
= y1
y1๏€จ 0๏€ฉ ๏€ฝ y0 ๏€ซ h f ๏€จ x0 , y0 ๏€ฉ
= 1+(0.1)(0-1)
= 1-(0.1)
= 0.9
(0)
Now [๐‘ฅ0 = 0, ๐‘ฆ0 = 1, ๐‘ฅ1 = 0.1, ๐‘ฆ1
(1)
๐‘ฆ1
= 0.9]
(0)
= ๐‘ฆ0 + โ„Ž⁄2 [๐‘“(๐‘ฅ0 , ๐‘ฆ0 ) + ๐‘“(๐‘ฅ1 , ๐‘ฆ1 )]
= 1+0.1/2[-1 - 0.8]
= 1-0.09
= 0.91
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
76
MATHEMATICS - II
NUMERICAL METHODS
๏€จ
๏€ฉ
y1๏€จ 2๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1+0.1/2[-1 + (0.1-0.91)]
= 1+0.1/2[-1.81]
= 1-0.0905
= 0.9095
๏€จ
๏€ฉ
y1๏€จ3๏€ฉ ๏€ฝ y0 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x0 , y0 ๏€ฉ ๏€ซ f x1 , y1๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 1+0.1/2[-1+(0.1-0.9095)]
= 1+0.1/2[-1.8095]
= 1-0.090475
= 0.909525
Since y1๏€จ 2๏€ฉ ๏€ฝ y1๏€จ3๏€ฉ
๏œ y1 = 0.9095
Step:2
To find y2 = y(x2) = y(0.2)
y2๏€จ 0๏€ฉ is to be calculate from Euler’s method
y2๏€จ 0๏€ฉ ๏€ฝ y1 ๏€ซ h f ๏€จ x1 , y1 ๏€ฉ
= 0.9095+(0.1)(-0.8095)
= 0.82855
๏€จ
๏€ฉ
y2๏€จ1๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 , y2๏€จ 0๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 0.9095+0.1/2[-0.8095-0.62855]
= 0.9095-0.0719
= 0.8376
๏€จ
๏€ฉ
y2๏€จ 2๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 y2๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
77
MATHEMATICS - II
NUMERICAL METHODS
= 0.9095+0.1/2[-0.8095-0.6376]
= 0.9095-0.075355
= 0.837145
๏€จ
๏€ฉ
y2๏€จ3๏€ฉ ๏€ฝ y1 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x1 , y1 ๏€ฉ ๏€ซ f x2 y2๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 0.9095+0.1/2[-10446645]
= 0.9095-0.07233
= 0.83716
Since y2๏€จ3๏€ฉ ๏€ฝ y2๏€จ3๏€ฉ
Hence y2 = 0.8371
Step:3 To find y3 = y(x3) = y(0.3)
y3๏€จ 0๏€ฉ is to be evaluated from Euler’s method
y3๏€จ 0๏€ฉ ๏€ฝ y2 ๏€ซ h f ๏€จ x2 , y2 ๏€ฉ
= 0.8371+0.1(-0.6371) = 0.7734
๏€จ
๏€ฉ
y3๏€จ1๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จ 0๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 0.8371+ 0.1/2[-0.6371-0.4734]
= 0.8371-0.0555 = 0.7816
๏€จ
๏€ฉ
y3๏€จ 2๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จ1๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 0.8371+ 0.1/2[-1.1187]
= 0.8371-0.056 = 0.7811
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
78
MATHEMATICS - II
NUMERICAL METHODS
๏€จ
๏€ฉ
y3๏€จ3๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จ 2๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 0.8371+ 0.1/2[-1.1182]
= 0.8371-0.05591 = 0.7812
๏€จ
๏€ฉ
y3๏€จ 4๏€ฉ ๏€ฝ y2 ๏€ซ h / 2 ๏ƒฉ f ๏€จ x2 , y2 ๏€ฉ ๏€ซ f x3 , y3๏€จ3๏€ฉ ๏ƒน
๏ƒซ
๏ƒป
= 0.8371-0.0559 = 0.7812
Since y3๏€จ3๏€ฉ ๏€ฝ y3๏€จ 4๏€ฉ
Hence y3 = 0.7812
๏œ The value of y at x = 0.3 is 0.7812
Runge-Kutta Methods
I.First order R-K Method
EULER’S METHOD is the R-K method of the first order.
II. Second order R-K Method
1
yi+1 = yi+ (K1+K2),
2
Where K1 = h (xi, yi)
K2 = h (xi+h, yi+k1)
For i= 0,1,2------NOTE:EULER’S MODIFIED METHOD IS R-K METHOD OF SECOND ORDER
III. Third order R-K Formula
1
yi+1 = yi+ 6 (K1+4K2+ K3),
Where K1 = h (xi, yi)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
79
MATHEMATICS - II
NUMERICAL METHODS
K2 = h (xi+h/2, y0+k1/2)
K3 = h (xi+h, yi+2k2-k1) For i= 0,1,2------
IV. Fourth order R-K Formula
1
yi+1 = yi+ 6 (K1+2K2+ 2K3 +K4),
Where K1 = h (xi, yi)
K2 = h (xi+h/2, yi+k1/2)
K3 = h (xi+h/2, yi+k2/2)
K4 = h (xi+h, yi+k3)
For i= 0,1,2------
๏ƒ˜ Advantages of Runge kutta method Over Taylor series method .
In RK METHOD no need to find derivatives where as we find derivatives in taylors
method. Sometimes it may be complicate to find derivative of some function, sowe go for RK
Method at that time.
PROBLEMS:
1. solve
dy
๏€ฝ xy using R-K method for x=0.2,0.4 given y(0) =1, y`(0)-0 taking h = 0.2
dx
SOL: Given
dy
๏€ฝ xy ; y(0) = 1 .
dx
Here f(x, y) = xy , x0 = 0, y0=1 and h = 0.2
๏œ x1 = x0+h = 0+0.2 = 0.2. , x2 = x1+h =0.2+0.2 = 0.4
By 4th order R-K method, we have
1
y1 = y0+ (k1+2k2+2k3+k4)
6
Where k1=h f(x0,y0)=(0.2)f(0,1)= 0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
80
MATHEMATICS - II
โ„Ž
๐‘˜
2
2
โ„Ž
๐‘˜
2
2
NUMERICAL METHODS
k2= h f (x0+ , y0+ 1 ) = (0.2)[๐‘“(0.1, 1)] = (0.2)(0.1) = 0.02
k3= h f((x0+ ,y0+ 2 )=(0.2)f (0.1,1.01) = 0.202
k4= h f(x0+h,y0+k3)=(0.2)f(0.2,1.202)=0.04808
1
Hence y1=1+ 6 (0+0.04808+2(0.02+0.202)=1.08201
Step2: To find y(0.4)= y2
Here x1 = 0.2, y1=1.08201 and h = 0.2
Again by 4th order R-K method, we have
๏œ y2 = y1+ 1 (k1+2k2+2k3+k4)
6
Where k1=h f(x1,y1)=(0.2)[f(0.2,1.08201)] =0.04328
โ„Ž
๐‘˜
2
2
k2= hf (x1+ , y1+ 1 )=0.2(f(0.3,1.10364)=0.0662
โ„Ž
๐‘˜
2
2
k3=hf(x1+ , y1+ 2 )=(0.2)[f(0.3,1.1151)] =0.0669
k4 =h f(x1+h,y1+k3)=(0.2)[f(0.4,1.1489)]=0.0919
1
y2=1.082+ 6 (0.04328+0.0919+2(0.0662+0.0669)=1.14889
2. Solve the following using R-K fourth method y ' ๏€ฝ y ๏€ญ x, y(0) ๏€ฝ 2, h ๏€ฝ 0.2 Find y(0.2).
SOL: Given
dy
๏€ฝ y ๏€ญ x ; y(0) =2
dx
Here f(x, y) = y-x
, x0 = 0, y0=2 and h = 0.2
๏œ x1 = x0+h = 0+0.2 = 0.2.
By 4th order R-K method, we have
1
y1 = y0 +6 (k1+2k2+2k3+k4)
Where k1=h f(x0,y0)=(0.2)f(0,2)= 0.2(0.2-0)=0.4
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
81
MATHEMATICS - II
โ„Ž
NUMERICAL METHODS
๐‘˜
k2= h f (x0+2 , y0+ 21 )
= (0.2)[๐‘“(0.1, 2.2)] = (0.2)(2.2 − 0.1) = 0.42
โ„Ž
๐‘˜
k3= h f((x0+ 2 ,y0+ 22 )
=(0.2)f (0.1,2.21)=0.2(2.21-0.1)= 0.422
k4= h f(x0+h,y0+k3)
=(0.2)f(0.2,2.422)=0.4444
1
Hence y1=2+ 6 [0.4+0.4444+2(0.42+0.422)]
∴ ๐‘ฆ(0.2)=2.4214
3. Using Runge-Kutta method of second order, find y ๏€จ 2.5๏€ฉ from dy = x ๏€ซ y , y(2)=2 ,
dx
x
taking h = 0.25 .
x๏€ซ y
, y(2) = 2 .
x
Sol: Given
dy
=
dx
Here f(x, y) =
x๏€ซ y
, x0 = 2 , y0=2 and h = 0.25
x
๏œ x1 = x0+h = 2+0.25 = 2.25 , x2 = x1+h =2.25+0.25 = 2.5
By R-K method of second order,
๐‘ฆ๐‘–+1 = ๐‘ฆ๐‘– + 1⁄2 (๐‘˜1 + ๐‘˜2 ), ๐‘˜1 = โ„Ž๐‘“ (๐‘ฅ๐‘– , ๐‘ฆ๐‘– ), ๐‘˜2 = โ„Ž๐‘“(๐‘ฅ๐‘– + โ„Ž, ๐‘ฆ๐‘– + ๐‘˜1 ), ๐‘– = 0,1 … โŸถ (1)
Step -1:- To find y(x1)i.e y(2.25) by second order R - K method taking i=0 in eqn(i)
We have y1 ๏€ฝ y0 ๏€ซ
1
๏€จ k1 ๏€ซ k2 ๏€ฉ
2
Where k1= hf (x0,y0 ), k2= hf (x0+h,y0+k1)
f (x0,y0 )=f(2,2)=2+2/2=2
k1=hf (x0,y0 )=0.25(2)=0.5
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
82
MATHEMATICS - II
NUMERICAL METHODS
k2= hf (x0+h,y0+k1)=(0.25)f(2.25,2.5)
=(0.25)(2.25+2.5/2.25)=0.528
๏œ y1=y(2.25)=2+1/2(0.5+0.528)=2.514
Step2:
To find y(x2) i.e., y(2.5)
i=1 in (1)
x1=2.25,y1=2.514,and h=0.25
y2=y1+1/2(k1+k2)
where k1=h f((x1,y1 )=(0.25)f(2.25,2.514)
=(0.25)[2.25+2.514/2.25]=0.5293
๐‘˜2 = โ„Ž๐‘“ (๐‘ฅ1 + โ„Ž, ๐‘ฆ1 + ๐‘˜1 )
=(0.25)[2.5+2.514+0.5293/2.5]=0.55433
y2 ๏€ฝ y (2.5)=2.514+1/2(0.5293+0.55433)=3.0558
๏œ y =3.0558 when x = 2.5
4. Obtain the values of y at x=0.1,0.2 using R-K method of
(i)second order (ii)third order (iii)fourth order for the differential equation ๐’š′ + y = 0,
y(0)=1
๐‘‘๐‘ฆ
Sol: Given ๐‘‘๐‘ฅ = -y, y(0)=1
f(x,y) = -y, x0 = 0, y0 = 1
Here f (x,y) = -y, x0 = 0, y0 = 1 take h = 0.1
๏œ x1 = x0+h = 0.1, x2 = x1+h = 0.2
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
83
MATHEMATICS - II
NUMERICAL METHODS
Second order:
step1: To find y(x1) i.e y(0.1) or y1
by second-order R-K method,we have
1
y1 = y0 + 2 (k1+k2)
where k1=hf(x0,y0)=(0.1) f(0,1) = (0.1)(-1)= - 0.1
k2= hf (x0+h, y0+k1)= (0.1) f (0.1, 1-0.1) = (0.1)(-0.9) = -0.09
1
y1=y(0.1)=1+ 2 (-0.1-0.09)=1-0.095=0.905
๏œ y =0.905 when x=0.1
Step2:
To find y2 i.e y(x2) i.e y(0.2)
Here x1 = 0.1, y1 = 0.905 and h=0.1
By second-order R-K method, we have
1
y2 = y(x2)= y1+ 2 (k1+k2)
Where k1 ๏€ฝ h f ๏€จ x1 , y1 ๏€ฉ =(0.1)f(0.1,0.905)=(0.1)(-0.905)=-0.0905
k2 ๏€ฝ h f ๏€จ x1 ๏€ซ h, y1 ๏€ซ k1 ๏€ฉ ๏€ฝ ๏€จ 0.1๏€ฉ f ๏€จ 0.2, 0.905 ๏€ญ 0.0905 ๏€ฉ
๏€ฝ ๏€จ 0.1๏€ฉ f ๏€จ 0.2, 0.8145 ๏€ฉ ๏€ฝ ๏€จ 0.1๏€ฉ๏€จ ๏€ญ0.8145 ๏€ฉ
๏€ฝ ๏€ญ0.08145
1
y2 = y(0.2)=0.905+ 2 (-0.0905-0.08145)
= 0.905- 0.085975 = 0819025
(ii) Third order
Step1: To find y1 i.e y(x1)= y(0.1)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
84
MATHEMATICS - II
NUMERICAL METHODS
By Third order Runge - Kutta method
1
๐‘ฆ1= ๐‘ฆ0 + 6 (๐‘˜1 + 4๐‘˜2 + ๐‘˜3 )
where k1 = h f(x0, y0) = (0.1) f (0,1) = (0.1) (-1) = -0.1
k2 ๏€ฝ h f ๏€จ x0 ๏€ซ h / 2, y0 ๏€ซ k1 / 2 ๏€ฉ ๏€ฝ ๏€จ 0.1๏€ฉ f ๏€จ 0.1/ 2,1 ๏€ญ 0.1/ 2 ๏€ฉ ๏€ฝ ๏€จ 0.1๏€ฉ f ๏€จ 0.05, 0.95 ๏€ฉ
๏€ฝ ๏€จ 0.1๏€ฉ๏€จ ๏€ญ0.95 ๏€ฉ ๏€ฝ ๏€ญ0.095
and k3 = h f((x0+h,y0+2k2-k1)
=(0.1)[f (0.1,1 + 2(−0.095) + 0.1)] = -0.905
1
Hence y1 = 1+ 6 (-0.1+4(-0.095)-0.09) = 1+1/6 (-0.57) = 0.905
y1=0.905 i.e y(0.1)= 0.905
Step2: To find y2,i.e y(x2)= y(0.2)
Here x1=0.1,y1=0.905 and h = 0.1
Again by 3rd order R-K method
y2 = y1 +
1
6
(k1+4k2+k3)
Where k1=h f(x1, y1) = (0.1)f (0.1,0.905)= -0.0905
k2 = h f (x1+h/2,y1+k1/2)=(0.1)f(0.1+0.05,0.905 - 0.04525)= (0.1) f (0.15, 0.85975)
= (0.1) (-0.85975)= -0.085975
k3 = h f((x1+h,y1+2k2-k1)=(0.1)f(0.2,0.905+2(0.085975)+0.0905= -0.082355
1
y2 = 0.905+ 6 (-0.0905+4(-0.085975)-0.082355)=0.818874
๏œ y = 0.905 when x = 0.1 and y =0.818874 when x =0.2
iii) Fourth order:
step1: x0=0,y0=1,h=0.1 To find y1 i.e y(x1)=y(0.1)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
85
MATHEMATICS - II
NUMERICAL METHODS
By 4th order R-K method, we have
1
y1 = y0 + 6 (k1+2k2+2k3+k4)
Where k1=h f(x0,y0)=(0.1)f(0,1)= -0.1
๐‘˜
k2= h f (x0+h/2, y0+ 21 ) = (0.1)[๐‘“(0.05, 0.95)] = (0.1)(−0.95) = −0.095
k3= h f((x0+h/2,y0+k2/2)=(0.1)f (0.1/2,1-0.095/2)=(0.1)(-0.9525)= -0.09525
k4= h f(x0+h,y0+k3) = (0.1) [f(0.05,1 − 0.09525)] =(0.1)f(0.05,0.90475) = -0.090475
1
Hence y1=1+ 6 (-0.1+2(-0.095)+2(0.09525)-0.090475)
1
=1+ 6 (-0.570975)=1-0.0951625 = 0.9048375
Step2: To find y2 , i.e., y ๏€จ x2 ๏€ฉ ๏€ฝ y ๏€จ 0.2๏€ฉ , y1 ๏€ฝ 0.9048375, i.e., y ๏€จ 0.1๏€ฉ ๏€ฝ 0.9048375
Here x1 = 0.1, y1=0.9048375 and h = 0.1
Again by 4th order R-K method, we have
y2 = y1 +1/6(k1+2k2+2k3+k4)
Where k1=h f(x1,y1)=(0.1)[f(0.1,0.9048375)] =-0.09048375
k2= hf (x1+h/2,y1+k1/2)=(0.1)[f(0.1 + 0.1/2,0.9048375 − 0.09048375 /2)] =-0.08595956
k3=hf(x1+h/2, y1+k2/2)=(0.1)[f(0.15,0. 8618577)] = -0.08618577
k4 =h f(x1+h,y1+k3)=(0.1)[f(0.2,0.8186517)]= -0.08186517
1
Hence y2 = 0.9048375+ 6 (-0.09048375-2(0.08595956)-2(0.08618577)- 0.08186517
=0.9048375-0.0861065 = 0.818731
y = 0.9048375 when x =0.1 and y =0.818731 where ๐‘ฅ = 0.2
5. Apply the 4th order R-K method to find an approximate value of y when x=0.2 in
steps of 0.1, given that ๐’š′ = x2+y2, y (1) = 1.5
Sol. Given ๐‘ฆ ′ = x2+y2,and y(1) = 1.5
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
86
MATHEMATICS - II
NUMERICAL METHODS
Here f(x,y)= x2+y2, y0 =1.5 and x0=1,h=0.1
So that x1=1.1 and x2=1.2
Step1: To find y1 i.e., y(x1)
by 4th order R-K method we have
y1 = y0+
1
6
(k1+2k2+2k3+k4)
k1 = hf(x0,y0)=(0.1)f(1,1.5)=(0.1) [12+(1.5)2]=0.325
k2 = hf (x0+h/2,y0 +k1/2)=(0.1)[f(1 + 0.05,1.5 +
0.325
2
)] =0.3866
k3 = hf((x0+h/2,y0+k2/2)=(0.1)f(1.05,1.5+0. 3866/2)=(0.1)[(1.05)2+(1.6933)2]=0.39698
k4 = hf(x0+h,y0+k3)=(0.1)f(1.05,1.89698)=0.48085
Hence
1
y1 ๏€ฝ 1.5 ๏€ซ ๏ƒฉ๏ƒซ0.325 ๏€ซ 2 ๏€จ 0.3866 ๏€ฉ ๏€ซ 2 ๏€จ 0.39698 ๏€ฉ ๏€ซ 0.48085๏ƒน๏ƒป
6
๏€ฝ 1.8955
Step2: To find y2, i.e., y ๏€จ x2 ๏€ฉ ๏€ฝ y ๏€จ1.2๏€ฉ
Here x1=0.1,y1=1.8955 and h=0.1
by 4th order R-K method we have
1
y2 = y1 + 6 (k1+2k2+2k3+k4)
k1= hf(x1,y1)=(0.1)f(1.10,1.8955)=(0.1) [(1.10)2+(1.8955)2]=0.48029
0.1
0.4796
k2 = hf (x1+h/2,y1 +k1/2)=(0.1)f(1.1+ 2 ,1.8937+
2
0.58834
k3 = hf((x1+h/2,y1+k2/2)=(0.1)f(1.15,1.8937+
2
) =0.58834
) =(0.1)[(1.15)2+(2.189675)2]=0.611715
k4 = hf(x1+h,y1+k3)=(0.1)f(1.2,1.8937+0.610728)=0.77261
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
87
MATHEMATICS - II
NUMERICAL METHODS
Hence y2=1.8955+1/6(0.48029+2(0.58834)+2(0.611715)+0.7726) =2.5043
๏œ y =2.5043 where x=0.2
6. Use R-K method, to approximate y when x=0.2 given that ๐’š′ = x+y, y(0)=1
Sol: Here f(x,y) = x + y , y0 =1, x0 = 0
Since h is not given for better approximation of y
Take h=0.1
๏œ x1= 0.1, x2= 0.2
Step1 To find y1 i.e y(x1) = y(0.1)
By R-K method,we have
1
y1= y0+ 6 (k1+2k2+2k3+k4)
Where k1= hf(x0,y0) = (0.1)f(0,1) = (0.1) (1) = 0.1
k2= hf (x0+h/2,y0+k1/2) = (0.1)[f(0.05,1.05)] = 0.11
k3= hf((x0+h/2,y0+k2/2) = (0.1)[f(0.05,1 + 0. 11/2)] = (0.1)[(0.05) +(1.055) ]= 0.1105
k4= h f (x0+h,y0+k3) = (0.1)[f(0.1,1.1105)] = (0.1)[0.1+1.1105] = 0.12105
1
Hence ๏œ ๐‘ฆ1 = ๐‘ฆ(0.1) = 1 + 6 (0.1 + 0.22 + 0.2210 + 0.12105)
y = 1.11034
Step2: To find y2 i.e y(x2) = y(0.2)
Here x1=0.1, y1=1.11034 and h=0.1
Again By R-K method,we have
y2=y1+1/6(k1+2k2+2k3+k4)
k1= h f(x1,y1) = (0.1)[f(0.1,1.11034)] = (0.1) [1.21034] = 0.121034
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
88
MATHEMATICS - II
NUMERICAL METHODS
k2= h f (x1+h/2, y1+k1/2) = (0.1)[f(0.1 + 0.1/2,1.11034 + 0.121034/2)] = 0.1320857
k3=h f((x1+h/2,y1+k2/2) = (0.1)[f(0.15,1.11034 + 0.1320857/2)] = 0.1326382
k4=h f(x1+h,y1+k3) = (0.1)[f(0.2,1.11034 + 0.1326382)] =(0.1)(0.2+1.2429783)=0.1442978
1
Hence y2=1.11034+ 6 (0.121034+0.2641714+0.2652764+0.1442978)
=1.11034+0.1324631 =1.242803
y =1.242803 when x=0.2
7. Compute y(0.1) and y(0.2) by R-K method of 4th order for the D.E. ๐’š′ = xy+y2, y(0)=1
Sol. Given ๐’š′ = xy+y2 and y(0)=1
Here f(x,y)= xy+y2, y0 =1 and x0=0, h=0.1
So that x1=0.1 and x2=0.2
Step1: To find y1 = y(x1) = y(0.1)
by 4th order R-K method we have
1
y1=y0+ 6 (k1+2k2+2k3+k4)
k1=hf(x0,y0)=(0.1)f(0,1)=(0.1) [0+1]=0.1
k2= hf (x0+h/2,y0+k1/2)=(0.1)[f(0.05, 1.05)] =0.1155
k3=hf((x0+h/2,y0+k2/2)=(0.1)f(0.05, 1.05775)=0.11217
k4=hf(x0+h,y0+k3)=(0.1)f(0.1, 1.11217)=0.1248
1
Hence y1 = y(0.1) = y0 + 6 [k1+2k2+2k3+k4]
1
= 1+ 6 [0.1+0.0231+0.22434+0.1248]
= 1.1133
Step2: To find y2 = y(x2) = y(0.2)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
89
MATHEMATICS - II
NUMERICAL METHODS
Here x1=0.1,y1=1.1133 and h=0.1
by 4th order R-K method we have
1
y2 = y1 + 6 (k1+2k2+2k3+k4)
k1=hf(x1,y1)=(0.1)f(0.1, 1.1133)=0.1351
k2= hf (x1+h/2,y1+k1/2)=(0.1)f(0.15, 1.18085) =0.1571
k3=hf((x1+h/2,y1+k2/2)=(0.1)f(0.15, 1.19185) =0.1599
k4=hf(x1+h,y1+k3)=(0.1)f(0.2, 1.2732) =1.1876
1
Hence y2 = y(0.2) = y1 + 6 [k1+2k2+2k3+k4]
= 1.1133+1/6(0.1351+0.3142+0.3198+0.1876)
= 1.2728
8. Find y(0.1) and y(0.2) by R-K method of 4th order for the D.E. ๐’š′ = x2 – y and y(0)=1
Sol. Given ๐’š′ = x2 – y and y(0)=1
Here f(x,y)= x2 – y, y0 =1 and x0=0, h=0.1
So that x1=0.1 and x2=0.2
Step1: To find y1 = y(x1) = y(0.1)
by 4th order R-K method we have
1
y1=y0+ 6 (k1+2k2+2k3+k4)
k1=hf(x0,y0)=(0.1)f(0,1)=(0.1) [0-1]=-0.1
k2= hf (x0+h/2,y0+k1/2)=(0.1)[f(0.05, 0.95)] =-0.09475
k3=hf((x0+h/2,y0+k2/2)=(0.1)f(0.05, 0.952625)=-0.095
k4=hf(x0+h,y0+k3)=(0.1)f(0.1, 0.905)=-0.0895
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
90
MATHEMATICS - II
NUMERICAL METHODS
1
Hence y1 = y(0.1) = y0 + 6 [k1+2k2+2k3+k4]
= 1+
1
6
[-0.1-0.1895-0.19-0.0895] = 0.9052
Step2: To find y2 = y(x2) = y(0.2)
Here x1=0.1,y1=0.9052 and h=0.1
by 4th order R-K method we have
1
y2 = y1 + 6 (k1+2k2+2k3+k4)
k1=hf(x1,y1)=(0.1)f(0.1, 0.9052)=-0.08952
k2= hf (x1+h/2,y1+k1/2)=(0.1)f(0.15, 0.86044) =-0.08379
k3=hf((x1+h/2,y1+k2/2)=(0.1)f(0.15, 0.8633) =-0.0841
k4=hf(x1+h,y1+k3)=(0.1)f(0.2, 0.8211) =-0.07811
1
Hence y2 = y(0.2) = y1 + 6 [k1+2k2+2k3+k4]
1
= 0.9052+ 6 (-0.08952-0.16758-0.1682-0.07811) = 0.8213
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
91
MATHEMATICS - II
NUMERICAL METHODS
CURVE FITTING
Method of Least Squares:
Suppose that a data is given in two variables ๐‘ฅ & ๐‘ฆ the problem of finding an
analytical expression of the form y ๏€ฝ f ๏€จ x ๏€ฉ which fits the given data is called curve fitting.
Let ๏€จ x1 , y1 ๏€ฉ , ๏€จ x2 , y2 ๏€ฉ ........ ๏€จ xn , yn ๏€ฉ be the observed set of values in an experiment and
y ๏€ฝ f ๏€จ x ๏€ฉ be the given relation x & y, Let E1 , E2 ,......Ex are the error of approximations then
we have
E1 ๏€ฝ y1 ๏€ญ f ๏€จ x1 ๏€ฉ
E2 ๏€ฝ y2 ๏€ญ f ๏€จ x2 ๏€ฉ
E3 ๏€ฝ y3 ๏€ญ f ๏€จ x3 ๏€ฉ
En ๏€ฝ yn ๏€ญ f ๏€จ xn ๏€ฉ Where f ๏€จ x1 ๏€ฉ , f ๏€จ x2 ๏€ฉ ........... f ๏€จ xn ๏€ฉ are called the expected values of
๐‘ฆ corresponding to x ๏€ฝ x1 , x ๏€ฝ x2 ........x ๏€ฝ xn
y1 , y2 ...... yn
are
called
the
observed
values
of
๐‘ฆ
corresponding
to
x ๏€ฝ x1 , x ๏€ฝ x2 ........x ๏€ฝ xn the differences E1 , E2 .....En between expected values of ๐‘ฆ and
observed values of ๐‘ฆ are called the errors, of all curves approximating a given set of points,
the curve for which E ๏€ฝ E12 ๏€ซ E2 2 ๏€ซ ....En 2 is a minimum is called the best fitting curve (or)
the least square curve, This is called the method of least squares (or) principles of least
squares
I. FITTING OF A STRAIGHT LINE:Let the straight line be y ๏€ฝ a ๏€ซ bx ๏‚ฎ ๏€จ1๏€ฉ
Let the straight line (1) passes through the data points
๏€จ x1, y1 ๏€ฉ , ๏€จ x2 , y2 ๏€ฉ......๏€จ xn , yn ๏€ฉ i.e., ๏€จ xi , yi ๏€ฉ , i ๏€ฝ 1,2....n
So we have ๐‘ฆ๐‘– = ๐‘Ž + ๐‘๐‘ฅ๐‘– → (2)
The error between the observed values and expected values of ๐‘ฆ = ๐‘ฆ๐‘– is defined as
๐ธ๐‘– = ๐‘ฆ๐‘– − (๐‘Ž + ๐‘๐‘ฅ๐‘– ), ๐‘– = 1,2 … … . . ๐‘› → (3)
The sum of squares of these errors is
๐ธ = ∑๐‘›๐‘–=1 ๐ธ12 = ∑๐‘›๐‘–=1[๐‘ฆ๐‘– − (๐‘Ž + ๐‘๐‘ฅ๐‘– )]2 Now for E to be minimum
๏‚ถE
๏‚ถE
๏€ฝ 0;
๏€ฝ0
๏‚ถa
๏‚ถb
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
92
MATHEMATICS - II
NUMERICAL METHODS
These equations will give normal equations
๐‘›
๐‘›
∑ ๐‘ฆ๐‘– = ๐‘›๐‘Ž + ๐‘ ∑ ๐‘ฅ๐‘–
๐‘–=1
๐‘›
๐‘–=1
๐‘›
๐‘›
∑ ๐‘ฅ๐‘– ๐‘ฆ๐‘– = ๐‘Ž ∑ ๐‘ฅ๐‘– + ๐‘ ∑ ๐‘ฅ๐‘–2
๐‘–=1
๐‘–=1
๐‘–=1
The normal equations can also be written as
๏ƒฅ y ๏€ฝ na ๏€ซ b๏ƒฅ x
๏ƒฅ xy ๏€ฝ a๏ƒฅ x ๏€ซ b๏ƒฅ x
2
Solving these equation for a, b substituting in (1) we get required line of best fit to the given
data.
II. NON LINEAR CURVE FITTING
1. PARABOLA:Let the equation of the parabola is ๐‘ฆ = ๐‘Ž + ๐‘๐‘ฅ + ๐‘๐‘ฅ 2 โ”€โ”€โ”€(1)
The parabola (1) passes through the data points
(๐‘ฅ1 , ๐‘ฆ1 ), (๐‘ฅ2 , ๐‘ฆ2 ) … … … . . (๐‘ฅ๐‘› , ๐‘ฆ๐‘› ), ๐‘–. ๐‘’. , (๐‘ฅ1 , ๐‘ฆ1 ); ๐‘– = 1,2 … … . . ๐‘›
We have ๐‘ฆ๐‘– = ๐‘Ž + ๐‘๐‘ฅ๐‘– + ๐‘๐‘ฅ๐‘–2 โŸถ (2)
The error ๐ธ๐‘– between the observed an expected value of y ๏€ฝ yi is defined as
๐ธ๐‘– = ๐‘ฆ๐‘– − (๐‘Ž + ๐‘๐‘ฅ๐‘– + ๐‘๐‘ฅ๐‘–2 ), ๐‘– = 1,2,3 … … . . ๐‘› → (3)
The sum of the squares of these errors is
๐‘›
๐‘›
๐ธ = ∑ ๐ธ12 = ∑(๐‘ฆ๐‘– − ๐‘Ž − ๐‘๐‘ฅ๐‘– − ๐‘๐‘ฅ๐‘–2 )2 → (4)
๐‘–=1
๐‘–=1
for E to be minimum, we have
๏‚ถE
๏‚ถE
๏‚ถE
๏€ฝ 0,
๏€ฝ 0,
๏€ฝ0
๏‚ถa
๏‚ถb
๏‚ถc
The normal equations can also be written as
Σ๐‘ฆ = ๐‘›๐‘Ž + ๐‘Σx + ๐‘Σx 2
Σx๐‘ฆ = ๐‘ŽΣx + ๐‘Σx 2 + ๐‘Σx 3
Σx 2 ๐‘ฆ = ๐‘ŽΣx 2 + ๐‘Σx 3 + ๐‘Σx 4
Solving these equations for a, b, c and satisfying (1) we get required parabola of best fit
2. POWER CURVE:The power curve is given by y ๏€ฝ axb ๏‚ฎ ๏€จ1๏€ฉ
Taking logarithms on both sides log10 y = log10 a + b log10 x
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
93
MATHEMATICS - II
NUMERICAL METHODS
(or) Y = A+ bX → (2) ๐‘คโ„Ž๐‘’๐‘Ÿ๐‘’ ๐‘Œ = ๐‘™๐‘œ๐‘”10 ๐‘ฆ, ๐ด = ๐‘™๐‘œ๐‘”10 ๐‘Ž ๐‘Ž๐‘›๐‘‘ ๐‘‹ = ๐‘™๐‘œ๐‘”10 ๐‘ฅ
Equation (2) is a linear equation in X & Y
๏œ The normal equations are given by
ΣY = ๐‘›๐ด + ๐‘ΣX
ΣXY = ๐ดΣX + ๐‘Σx 2
From these equations, the values A and b can be calculated then a = antilog (A) substitute a &
b in (1) to get the required curve of best fit.
3. EXPONENTIAL CURVE:- ๏€จ1๏€ฉ y ๏€ฝ aebx ๏€จ 2๏€ฉ y ๏€ฝ ab x
1. y ๏€ฝ aebx ๏‚ฎ ๏€จ1๏€ฉ
Taking logarithms on both sides ๐‘™๐‘œ๐‘”10 ๐‘ฆ = ๐‘™๐‘œ๐‘”10 + ๐‘๐‘ฅ๐‘™๐‘œ๐‘”10 ๐‘’
(๐‘œ๐‘Ÿ)๐‘Œ = ๐ด + ๐ต๐‘‹ → (2) Where ๐‘Œ = ๐‘™๐‘œ๐‘”10 ๐‘ฆ, ๐ด = ๐‘™๐‘œ๐‘”10 ๐‘Ž, ๐ต = ๐‘๐‘™๐‘œ๐‘”10 ๐‘’ & ๐‘‹ = ๐‘ฅ
Equation (2) is a linear equation in X and Y
So the normal equation are given by
ΣY = ๐‘›๐ด + ๐ตΣX
ΣXY = ๐ดΣX + ๐ตΣX 2
Solving the equation for A & B, we can find
a ๏€ฝ anti log A & b ๏€ฝ
B
log10 e
Substituting the values of a and b so obtained in (1) we get
The curve of best fit to the given data.
2. y ๏€ฝ ab x ๏‚ฎ ๏€จ1๏€ฉ
Taking log on both sides ๐‘™๐‘œ๐‘”10 ๐‘ฆ = ๐‘™๐‘œ๐‘”10 ๐‘Ž + ๐‘ฅ๐‘™๐‘œ๐‘”10 ๐‘
(๐‘œ๐‘Ÿ) ๐‘Œ = ๐ด + ๐ต๐‘‹ → (2)
Where ๐‘Œ = ๐‘™๐‘œ๐‘”10 ๐‘ฆ, ๐ด = ๐‘™๐‘œ๐‘”10 ๐‘Ž, ๐ต = ๐‘๐‘™๐‘œ๐‘”10 ๐‘ & ๐‘ฅ = ๐‘‹
The normal equation (2) are given by
ΣY = ๐‘›๐ด + ๐ตΣX
ΣXY = ๐ดΣX + ๐ตΣX 2
Solving these equations for A and B we can find a ๏€ฝ anti log A, b ๏€ฝ anti log B
Substituting a and b in (1)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
94
MATHEMATICS - II
NUMERICAL METHODS
Problems:
1. By the method of least squares, find the straight line that best fits the following data
๐’™
1
2
3
4
5
๐’š
14
27
40
55
68
Solution: The values of Σx, Σy, Σx 2 ๐‘Ž๐‘›๐‘‘ Σxy are calculated as follows
๐‘ฅ๐‘–
๐‘ฆ๐‘–
๐‘ฅ๐‘–2
๐‘ฅ๐‘– ๐‘ฆ๐‘–
1
14
1
14
2
27
4
54
3
40
9
120
4
55
16
220
5
68
25
340
Σ๐‘ฅ๐‘– = 15; Σ๐‘ฆ๐‘– = 204; Σxi2 = 55 ๐‘Ž๐‘›๐‘‘ Σ๐‘ฅ๐‘– Σ๐‘ฆ๐‘– = 748
The normal equations are
Σ๐‘ฆ = ๐‘›๐‘Ž + ๐‘Σx โŸถ (1) Σx๐‘ฆ = ๐‘ŽΣx + ๐‘Σx 2 โŸถ (2)
Solving we get a ๏€ฝ 0, b ๏€ฝ 13.6
Substituting these values a & b we get
y ๏€ฝ 0 ๏€ซ 13.6 x ๏ƒž y ๏€ฝ 13.6 x
2. Fit a straight line y=a+bx from data
x
0
1
2
3
4
y
1
1.8
3.3
4.5
6.3
Solution: Let the required straight line be y=a+bx…(1)
x
y
x2
xy
0
1
0
0
1
1.8
1
1.8
2
3.3
4
6.6
3
4.5
9
13.5
4
6.3
16
25.2
∑ x = 10
∑ y = 16.9
∑ x 2 = 30
DEPARTMENT OF HUMANITIES & SCIENCES
∑xy = 47.1
Normal equations are
๏ƒฅ y ๏€ฝ na ๏€ซ b๏ƒฅ x
๏ƒฅ xy ๏€ฝ a๏ƒฅ x ๏€ซ b๏ƒฅ x
2
Substitute in above we get
©MRCET (EAMCET CODE: MLRD)
95
MATHEMATICS - II
NUMERICAL METHODS
5a+10b=16.9
10a+30b=47.1
Solving we get a=0.72; b=1.33.
∴ The straight line is y = 0.72 + 1.33x
3. Fit a straight line y = a + bx from data
x
0
5
10
15
20
y
7
-11
16
20
26
Solution: Let the required straight line be y = a + bx…(1)
x
y
x2
xy
0
7
0
0
5
-11
25
-55
10
16
100
160
15
20
225
300
20
26
400
520
∑x = 50
∑ y ==58
∑ x 2 =750
∑ xy =925
Normal equations are
๏ƒฅ y ๏€ฝ na ๏€ซ b๏ƒฅ x
๏ƒฅ xy ๏€ฝ a๏ƒฅ x ๏€ซ b๏ƒฅ x
2
Substitute in above we get
5a+50b=58
50a+750b=925
Solving we get a=-2; b=1.36.
∴ The straight line is y = −2 + 1.36x
4. Fit a straight line y=a+bx from data
x
0
5
10
15
20
25
y
12
15
17
22
24
30
Solution: Let the required straight line be y=a+bx…(1)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
96
MATHEMATICS - II
NUMERICAL METHODS
x
y
x2
xy
0
12
0
0
5
15
25
75
10
17
100
170
15
22
225
330
20
24
400
480
25
30
625
750
∑x = 75
∑ y=120
∑ x 2 =1375 ∑ xy =1805
Normal equations are
๏ƒฅ y ๏€ฝ na ๏€ซ b๏ƒฅ x
๏ƒฅ xy ๏€ฝ a๏ƒฅ x ๏€ซ b๏ƒฅ x
2
Substitute in above we get
6a+75b=58
75a+1375b=1805
Solving we get a=11.2862; b=0.6971.
∴ ๐‘‡โ„Ž๐‘’ ๐‘ ๐‘ก๐‘Ÿ๐‘Ž๐‘–๐‘”โ„Ž๐‘ก ๐‘™๐‘–๐‘›๐‘’ ๐‘–๐‘  ๐‘ฆ = 11.2862 + 0.6971๐‘ฅ
5. Fit a straight line and a parabola to the following data and find out which one is most
appropriate. Give your reason for the conclusion
x
1
2
3
4
5
y
4
3
6
7
11
Solution: Let the required straight line be y=a+bx…(1)
x
y
x2
x3
x4
xy
x2 y
1
4
1
1
1
4
4
2
3
4
8
16
6
12
3
6
9
27
81
18
54
4
7
16
64
256
28
112
5
11
25
125
625
55
275
∑ ๐‘ฅ 4 =979
∑ ๐‘ฅ๐‘ฆ =111 ∑ ๐‘ฅ 2 y=457
∑x=15 ∑ ๐‘ฆ=31 ∑ ๐‘ฅ 2 =55 ∑ ๐‘ฅ 3 =225
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
97
MATHEMATICS - II
NUMERICAL METHODS
Normal equations for fitting a straight line are
๏ƒฅ y ๏€ฝ na ๏€ซ b๏ƒฅ x
๏ƒฅ xy ๏€ฝ a๏ƒฅ x ๏€ซ b๏ƒฅ x
2
Substitute in above we get
5a+15b=31
15a+55b=111
Solving we get a=0.8 ; b=1.8.
∴ The straight line is y = 0.8 + 1.8x
Let the required parabola be y=a+bx+cx2…(2)
Normal equations for fitting a parabola are
Σ๐‘ฆ = ๐‘›๐‘Ž + ๐‘Σx + ๐‘Σx 2
Σx๐‘ฆ = ๐‘ŽΣx + ๐‘Σx 2 + ๐‘Σx 3
Σx 2 ๐‘ฆ = ๐‘ŽΣx 2 + ๐‘Σx 3 + ๐‘Σx 4
Substituting values, we get
5a+15b+55c
=31
15a+55b+225c = 111
55a+225b+979c =457
Solving we get a=4.7998;b=-1.6284;c=0.5714
∴The parabola fit is 4.7998x2-1.6284x+0.5714
Conclusion: Clearly parabola fit is best fit because error is near to ZERO than linear fit.
y
Error of linear fit
Error parabola fit
E=y-f(x)
E=y-g(x)
4
1.4
0.2572
3
-1.4
-0.8286
6
-0.2
0.9428
7
-1
-0.4286
11
1.2
0.0572
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
98
MATHEMATICS - II
NUMERICAL METHODS
6. Fit a second degree parabola to the following data
x
0
1
2
3
4
y
1
5
10
22
38
Solution: Equation of parabola y ๏€ฝ a ๏€ซ bx ๏€ซ cx2 ๏‚ฎ ๏€จ1๏€ฉ
Σ๐‘ฆ = ๐‘›๐‘Ž + ๐‘Σx + ๐‘Σx 2
Normal equations
Σx๐‘ฆ = ๐‘ŽΣx + ๐‘Σx 2 + ๐‘Σx 3
Σx 2 ๐‘ฆ = ๐‘ŽΣx 2 + ๐‘Σx 3 + ๐‘Σx 4 โŸถ (2)
xy
y
x
x2 y
x2
x4
x3
0
1
0
0
0
0
0
1
5
5
1
5
1
1
2
10
20
4
40
8
16
3
22
66
9
198
27
81
4
38
152
16
608
64
256
∑x = 10
∑y = 76
∑x 2 y = 851
Σx 3 = 100
Σx 4 = 354
∑xy=243 ∑๐‘ฅ 2 = 30
Normal equations
76 ๏€ฝ 5a ๏€ซ 10b ๏€ซ 30c
243 ๏€ฝ 10a ๏€ซ 30b ๏€ซ 100c
851 ๏€ฝ 30a ๏€ซ 100b ๏€ซ 354c
Solving a ๏€ฝ 1.42, b ๏€ฝ 0.26, c ๏€ฝ 2.221
Substitute in (1) ๏ƒž y ๏€ฝ 1.42 ๏€ซ 0.26 x ๏€ซ 2.221x 2
7. Fit a second degree parabola to the following data:
x
0
1
2
3
4
f(x)
1
1.8
1.3
2.5
6.3
Solution:
Let the equation of the parabola be Y= a + b x + c ๐‘ฅ 2 -----(1)
The normal equations are given by Σ๐‘ฆ = ๐‘›๐‘Ž + ๐‘Σx + ๐‘Σx 2
Σx๐‘ฆ = ๐‘ŽΣx + ๐‘Σx 2 + ๐‘Σx 3 -----(2)
Σx 2 ๐‘ฆ = ๐‘ŽΣx 2 + ๐‘Σx 3 + ๐‘Σx 4
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
99
MATHEMATICS - II
NUMERICAL METHODS
x
y
๐‘ฅ2
๐‘ฅ3
๐‘ฅ4
xy
๐‘ฅ 2๐‘ฆ
0
1.0
0
0
0
0
0
1
1.8
1
1
1
1.8
1.8
2
1.3
4
8
16
2.6
5.2
3
2.5
9
27
81
7.5
22.5
4
6.3
16
64
256
25.2
100.8
∑ x =10
∑ y =12.9
∑ ๐‘ฅ 2 =30
∑๐‘ฅ 3 = 100
∑ ๐‘ฅ 4 =354
∑๐‘ฅ๐‘ฆ =37.1
∑๐‘ฅ 2 ๐‘ฆ =130.3
Since there are 5 pairs of values so n=5 substituting the above values in (2) we get
12.9 = 5a +10b +30c
37.1 = 10a+30b+100c
130.3 = 30a+100b+354c
Solving the above equations we get a = 14.2, b = -1.07, c = 0.55
Substituting the above values in (1) y = 14.2-1.07x + 0.55๐‘ฅ 2
Which is the required equation of the parabola.
8. Fit a parabola ๐’š = ๐’‚ + ๐’ƒ๐’™ + ๐’„๐’™๐Ÿ to the data given below
x:
1
2
3
4
5
y:
10
12
8
10
14
Solution: Let the equation of the parabola be Y= a + b x + c ๐‘ฅ 2 -----(1)
The normal equations are given by Σ๐‘ฆ = ๐‘›๐‘Ž + ๐‘Σx + ๐‘Σx 2
Σx๐‘ฆ = ๐‘ŽΣx + ๐‘Σx 2 + ๐‘Σx 3 -----(2)
Σx 2 ๐‘ฆ = ๐‘ŽΣx 2 + ๐‘Σx 3 + ๐‘Σx 4
x
y
๐‘ฅ2
๐‘ฅ3
๐‘ฅ4
xy
๐‘ฅ 2๐‘ฆ
1
10
1
1
1
10
10
2
12
4
8
16
24
48
3
8
9
27
81
24
72
4
10
16
64
256
40
160
5
14
25
125
625
70
350
∑x=15
∑y = 54
∑๐‘ฅ 2 =55
∑๐‘ฅ 3 =225
∑๐‘ฅ 4 =979
∑xy=168
∑๐‘ฅ 2 ๐‘ฆ =640
Since there are 5 pairs of values so n=5 substituting the above values in (2) we get
54 = 5a +15b +55c
168 = 15a+55b+225c
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
100
MATHEMATICS - II
NUMERICAL METHODS
640 = 55a+225b+979c
Solving the above equations we get a =14, b =-3.6857 , c = 0.7142
substituting the above values in (1) y = 14-3.6857x + 0.7142๐‘ฅ 2
which is the required equation of the parabola.
9. Fit a parabola of the form ๐’š = ๐’‚๐’™๐Ÿ + ๐’ƒ๐’™ + ๐’„
x:
1
2
3
4
5
6
7
y:
2.3
5.2
9.7
16.5
29.4
35.5
54.4
Solution: Let the equation of the parabola be ๐‘ฆ = ๐‘Ž๐‘ฅ 2 + ๐‘๐‘ฅ + ๐‘ -----(1)
The normal equations are given by
Σ๐‘ฆ = ๐‘›๐‘Ž + ๐‘Σx + ๐‘Σx 2
Σx๐‘ฆ = ๐‘ŽΣx + ๐‘Σx 2 + ๐‘Σx 3 -----(2)
Σx 2 ๐‘ฆ = ๐‘ŽΣx 2 + ๐‘Σx 3 + ๐‘Σx 4
Table for calculations:
x
y
๐‘ฅ2
๐‘ฅ3
๐‘ฅ4
xy
๐‘ฅ 2๐‘ฆ
1
2.3
1
1
1
2.3
2.3
2
5.2
4
8
16
10.4
20.8
3
9.7
9
27
81
29.1
87.3
4
16.5
16
64
256
66
264
5
29.4
25
125
625
147
735
6
35.5
36
216
1296
213
1278
7
54.4
49
343
2401
380.8
2665.6
28
153
140
784
4676
848.6
5053
Since there are 5 pairs of values so n=5 substituting the above values in (2) we get
153 = 7a +28b +140c
848.6 = 28a+140b+784c
5053 = 140a+784b+4676c
Solving the above equations we get a =2.3705, b =-1.0924, c = 1.1928
substituting the above values in (1) y = 1.1928 ๐‘ฅ 2 -1.0924 x+2.3705
which is the required equation of the parabola.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
101
MATHEMATICS - II
NUMERICAL METHODS
10. Fit a curve y ๏€ฝ axb to the following data
x
1
2
3
4
5
6
y
2.98
4.26
5.21
6.10
6.80
7.50
Sol:- Let the equation of the curve be y ๏€ฝ axb ๏‚ฎ ๏€จ1๏€ฉ
Taking log on both sides log ๐‘ฆ = log ๐‘Ž + ๐‘ log ๐‘ฅ
(or) ๐‘Œ = ๐ด + ๐‘๐‘‹
โŸถ (2) Where ๐‘Œ = log ๐‘ฆ, ๐ด = log ๐‘Ž, ๐‘‹ = log ๐‘ฅ
ΣY = ๐‘›๐ด + ๐‘ΣX
The Normal Equations are
ΣXY = ๐ดΣX + ๐‘ΣX 2 โŸถ (3)
x
X ๏€ฝ log x
y
1
0
2.98
0.4742
0
0
2
0.3010
4.26
0.6294
0.1894
0.0906
3
0.4771
5.21
0.7168
0.3420
0.2276
4
0.6021
6.10
0.7853
0.4728
0.3625
5
0.6990
6.80
0.8325
0.5819
0.4886
ΣY = 4.3133
ΣXY = 2.2671
ΣX = 2.8574
๐‘Œ = ๐‘™๐‘œ๐‘” ๐‘ฆ
๐‘‹2
๐‘‹๐‘Œ
ΣX 2 = 1.7749
4.3313=6A+208574b and 2.2671=2.8574A+1.7749b
Solving A=0.4739, b=0.5143
A=anti log (A) =2.978
∴ ๐‘ฆ = 2.978๐‘ฅ 0.5143
11 . Fit a curve y = abx
x
2
3
4
5
6
y
144
172.8
207.4
248.8
298.5
Solution: Let the curve to be fitted is y = abx
Taking log on both sides log ๐‘ฆ = log ๐‘Ž + ๐‘ฅ log ๐‘ โŸถ (1)
๐‘Œ = ๐ด + ๐‘ฅ๐ต
โŸถ (2)
๐‘Œ = log ๐‘ฆ, ๐ด = log ๐‘Ž, ๐ต = log ๐‘
ΣY = ๐‘›๐ด + ๐ตΣx
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
102
MATHEMATICS - II
NUMERICAL METHODS
ΣxY = ๐ดΣx + ๐‘Σx 2 โŸถ (3)
x
y
Y = log y
xy
144.0
x2
4
2
2.1584
4.3168
3
172.8
9
2.2375
6.7125
4
207.4
16
2.3168
9.2672
Substituting
5
248.8
25
2.3959
11.9795
these values
6
298.5
36
2.4749
14.8494
the normal
equations are
11.5835 = 5A + 20B
47.1254 = 20A+90B
Soving A and B, taking antilogarithms
a=100, b=1.2
Substituting in (1), the equation of the curve is y =100(1.2) x
๏€ฝ 36.744 Square units
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
103
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
UNIT -III
BETA AND GAMMA FUNCTIONS
Gamma Function: [In Mathematics, the Gamma Function (Represented by the capital Greek
Letter Γ) is an extension of the factorial function, with its argument shifted down by 1, to real
and complex number]
∞
Def: The definite integral
is called the Gamma function and is denoted by
Γ ( n ) and read as “Gamma n”.The integral converges only for n>0
∞
Thus, Γ ( n ) =
where n>0
Gamma function is also called Eulerian integral of the second kind.
Note: The integral
∞
does not converge if n≤0
Properties of Gamma Function:
1.
To show that Γ (1) =
Sol.
By the def of Gamma function; we have
∞
Γ ( n) =
dx
∞
∴ Γ (1) =
=
=−
∞
−
∞
=
∞
=
∞
−1
= − 0−1 = 1
∴ Γ (1) = 1
2.
To show that Γ ( n ) = (n − 1)Γ ( n − 1) where n>1.
Sol.
By the def of Gamma function; we have
Γ ( n) =
=
=
∞
∞
(
)
−
( − 1)
% &
"#
+ 0 + ( − 1)
→∞
=( − 1)
∞
!
∞
(Integrate by parts)
∞
∴
% &
"#
= 0 ()*
→∞
> 1!
= ( − 1) Γ ( n − 1)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
104
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∴ Γ ( n ) = ( − 1) Γ ( n − 1)
Note: 1. Γ ( n + 1) = nΓ ( n )
2. If n is a +ve fraction then we can write.
Γ ( n ) = (n − 1)(n − 2).............(n − r )Γ ( n − r ) Where ( − *) > 0
3.
If n is a non-negative integer, then Γ ( n + 1) = n !
Proof: From property II, We have.
Γ ( n + 1) = nΓ ( n ) = n( n − 1)Γ ( n − 1) (by property II again)
= ( − 1)( − 2) Γ ( n − 2 )
(by property II again)
= ( − 1)( − 2)( − 3) Γ ( n − 3)
= ( − 1)( − 2)( − 3) … . .3.2.1 Γ (1)
= ( − 1)( − 2)( − 3) … .3.2.1
โˆต Γ (1) = 1
= n!
∴ Γ ( n + 1) = ! ( = 0,1,2 … … . . )
This shows that the Gamma function can be regarded as a generalization of the
elementary factorial function.
Problems :
( 2)
1. Solve Γ 9
Sol.
( 2 ) = ๏ƒฆ๏ƒง๏ƒจ 92 − 1๏ƒถ๏ƒธ๏ƒท Γ ๏ƒฆ๏ƒจ๏ƒง 92 − 1๏ƒถ๏ƒธ๏ƒท = 7 2 Γ ( 7 2 ) = 72 ๏ƒฆ๏ƒง๏ƒจ 72 − 1๏ƒถ๏ƒธ๏ƒท Γ ๏ƒฆ๏ƒจ๏ƒง 72 − 1๏ƒถ๏ƒธ๏ƒท
Γ 9
= 742 . 542 . Γ 5
( 2 ) = 742 . 542 . 542 − 1! Γ ๏ƒฆ๏ƒง๏ƒจ 52 −1๏ƒถ๏ƒธ๏ƒท
= 742 . 542 . 342 . Γ 3
( 2 ) = 742 . 542 . 342 . 6342 − 17 Γ ๏ƒฆ๏ƒง๏ƒจ 32 −1๏ƒถ๏ƒธ๏ƒท
= 742 . 542 . 342 . 142 . Γ 1
( 2)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
105
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
( 3)
2. Solve Γ 13
( 3 ) = 103 . 73 . 43 . 13 .Γ ( 13 )
Sol: Γ 13
Note: When n is a –ve fraction
We have Γ ( n + 1) = nΓ ( n )
Γ ( n + 1)
Γ (n) =
n
( 2)
3. Compute Γ −1
Sol.
We have Γ ( n ) =
Γ ( n + 1)
n
๏ƒฆ −1๏ƒถ
Put n = ๏ƒง ๏ƒท
๏ƒจ 2 ๏ƒธ
( )
( 2 ) = −12 = −2 π
Γ 1
Γ −1
2
( 2)
4. Compute Γ −5
Sol. We have Γ ( n ) =
( 2) =
Γ −5
Γ ( n + 1)
n
`12
( 2 ) = −2 Γ −3
( 2)
−5
5
Γ −3
2
๏ƒฆ −3 ๏ƒถ
Γ ๏ƒง + 1๏ƒท
2
−2
2
๏ƒธ= 2 Γ −1
= . ๏ƒจ
2
−3
5
5.3
2
1
2 2 Γ − 2 + 1 −23
−23
1
= .
=
Γ
=
π
2
−1
15
15
15
2
(
(
)
)
( )
=
−8
. π
15
Beta Function:
Def: The definite integral
8
(1 − )
is called the Beta function and is denoted by
Thus, β (m, n) =
8
(1 − )
, where : > 0,
9(:, ) and read as “Beta m, n”. The above integral converges ()* : > 0,
>0
>0
Beta function is also called Eulerian integral of the first kind.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
106
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
Properties of Beta Function:
(i).
Symmetry of Beta function; i.e., 9(:, ) = 9( , :)
Proof: By the def, we have
9(:, ) =
(1 − )
8
;<# (1 − ) = = >) #โ„Ž@#
= − =
When x = 1 ๏ƒž y = 0
x = 0 ๏ƒž y =1
m −1
0
∴ β (m, n) = ๏ƒฒ (1 − y )
y n−1 (−dy )
1
m−1
1
=๏ƒฒy
n−1
(1 − y )
dy
0
1
= ๏ƒฒ x n −1 (1 − x)m−1dx
b
b
a
a
Q ๏ƒฒ f (t ) dt = ๏ƒฒ f ( x ) dx
0
= β (n, m)
∴β (m, n) = β (n, m)
1
Aliter : We know that β (m, n) = ๏ƒฒ x m−1 (1 − x ) dx
n−1
0
From properties of definite integrals, we have
a
a
0
0
๏ƒฒ f ( x ) dx = ๏ƒฒ f ( a − x ) dx
1
∴ β (m, n) = ๏ƒฒ (1 − x) m−1 [1 − (1 − x )] dx
n −1
0
1
= ๏ƒฒ (1 − x) m−1 x n−1dx
0
1
= ๏ƒฒ x n−1 (1 − x) m−1dx = β (n, m)
0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
107
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∴β (m, n) = β (n, m)
π /2
(ii). Prove that β (m, n) = 2 ๏ƒฒ sin 2 m −1 θ cos 2 n −1 θ dθ
0
Proof: By the def, we have
1
β (m, n) = ๏ƒฒ x m−1 (1 − x )n−1 dx
0
Put x = sin 2 θ so that dx = 2 sinθ cosθ dθ
๏ƒž dx = sin 2θ dθ
When x = 1 ๏ƒž θ = π
2
and x = 0 ๏ƒž θ = 0
π /2
∴ β (m, n) = ๏ƒฒ (sin 2 θ )m−1 (cos2 θ )n−1 2sin θ cos θ dθ
0
π
2
= 2 ๏ƒฒ sin 2 m−2 θ cos 2 n−2 θ sin θ cos θ dθ
0
π
2
= 2 ๏ƒฒ sin 2 m−1 θ cos2 n−1 θ dθ
0
π
2
∴ β (m, n ) = 2 ๏ƒฒ sin 2 m−1 θ cos 2 n−1 θ dθ
0
π /2
Note: ๏ƒฒ sin 2 m−1 θ cos 2 n−1 θ dθ =
0
1
β (m, n)
2
(iii) Prove that β (m, n) = β (m + 1, n) + β (m, n + 1)
Proof: By the def, we have
1
1
β (m + 1, n) + β (m, n + 1) = ๏ƒฒ x (1 − x) dx + ๏ƒฒ x m −1 (1 − x) n dx
m
n −1
0
1
0
[
= ๏ƒฒ x m (1 − x )
n −1
]
+ x m−1 (1 − x ) dx
n
0
1
= ๏ƒฒ x m−1 (1 − x )
n−1
[x + (1 − x )]dx
0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
108
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
1
= ๏ƒฒ x m−1 (1 − x ) dx = β (m, n )
n−1
0
Hence β (m, n) = β (m + 1, n) + β (m, n + 1)
(iv). If m and n are positive integers, then β ( m, n ) =
(m − 1)!(n − 1)!
(m + n − 1)!
Proof: By the def, we have
1
β (m, n) = ๏ƒฒ x m−1 (1 − x )n−1 dx ……………………. (1)
0
1
๏ƒฉ m−1 (1 − x )n ๏ƒน 1 (1 − x )n
= ๏ƒชx
(m − 1)x m−2 dx
๏ƒบ −๏ƒฒ
n(− 1) ๏ƒป 0 0 n(− 1)
๏ƒซ
(Integration by parts)
1
=
m − 1 m−2
m −1
x (1 − x) n dx =
β (m − 1, n + 1) ……………….. (2)
๏ƒฒ
n 0
n
Now we have to find β (m − 1, n + 1)
To obtain this put m=m-1 and n=n+1 in equation. (1), we have
β (m − 1, n + 1) =
m−2
β (m − 2, n + 2 )
n +1
From Equation. (2)
β (m, n ) =
m −1 m − 2
β (m − 2, n + 2 ) ………………… (3)
.
n n +1
Changing m to m-2 and n to n+2, from (1) we have
β (m − 2, n + 2 ) =
m−3
β (m − 3, n + 3)
n+2
From Equation (3), we have
β (m, n ) =
m −1 m − 2 m − 3
.
.
β (m − 3, n + 3) ………………… (4)
n
n +1 n + 2
Proceeding like this, we get
β (m, n ) =
=
(m − 1)(m − 2)(m − 3)......[m − (m − 1)] β [m − (m − 1), n + (m − 1)]
n(n + 1)(n + 2).....(n + m − 2)
(m − 1)(m − 2)(m − 3).....1 β (1, n + m − 1) ………………… (5)
n(n + 1)(n + 2).....(n + m − 2)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
109
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
1
n+ m−2
But β (1, n + m − 1) = ๏ƒฒ x (1 − x )
0
0
1
n + m− 2
dx = ๏ƒฒ (1 − x )
dx
0
1
๏ƒฉ (1 − x )n+m−1 ๏ƒน
−1
=๏ƒช
(0 − 1) = 1
๏ƒบ =
n + m −1
๏ƒซ (n + m − 1)(− 1) ๏ƒป 0 n + m − 1
From equation (5), we have
β (m, n ) =
(m − 1)(m − 2)(m − 3).......1
(m − 1)!
=
n(n + 1)(n + 2)....(n + m − 2)(n + m − 1) n(n + 1)(n + 2).......(n + m − 2)(n + m − 1)
Multiplying the numerator and denominator by (n-1)!, we have
β (m, n ) =
(m − 1)!(n − 1)!
(m − 1)!(n − 1)!
=
(n + m − 1)(n + m − 2)....(n + 2)(n + 1)n(n − 1)! (n + m − 1)!
(m − 1)!(n − 1)!
(n + m − 1)!
∴ β (m, n ) =
Note 1: Putting m=1 in β (m, n ) =
β (1, n ) =
(m − 1)!(n − 1)! , we have
(n + m − 1)!
(n − 1)! = 1
n!
n
2: By putting n=1, we get β (m,1) =
1
m
Other forms of Beta Function:
1.
Show that
∞
∞
∞
∞
x m −1
x n −1
y n −1
y q −1
dx
=
dx
(
or
)
dy
(
or
)
β
(
p
,
q
)
=
๏ƒฒ0 (1 + x)m+n
๏ƒฒ0 (1 + y )m+n
๏ƒฒ0 (1 + y) p+q dy
(1 + x) m + n
0
β ( m, n ) = ๏ƒฒ
Proof: By the def, we have
1
β (m, n) = ๏ƒฒ x m −1 (1 + x) n −1 dx …………………..(1)
0
Put x =
1
− dy
so that dx =
1+ y
(1 + y )2
when x = 0 ๏ƒž y → ∞ and x = 1 ๏ƒž y = 0
From equation (1), we have
๏ƒฆ 1 ๏ƒถ
๏ƒท
β (m, n ) = ๏ƒฒ ๏ƒง๏ƒง
∞ 1+ y ๏ƒท
๏ƒจ
๏ƒธ
0
m −1
n−1
๏ƒฆ
1 ๏ƒถ
− dy
๏ƒง๏ƒง1 −
๏ƒท๏ƒท .
2
๏ƒจ 1 + y ๏ƒธ (1 + y )
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
110
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∞
1
y n −1
dy
.
.
m −1
n −1
(1 + y )
(1 + y )
(1 + y ) 2
0
=๏ƒฒ
∞
∞
y n −1
y n −1
=๏ƒฒ
dy
=
๏ƒฒ0 (1 + y)m+n dy
(1 + y ) m −1+ n +1+ 2
0
∞
x n −1
∴ β (m, n) = ๏ƒฒ
dx …………………..(2)
(1 + x)m + n
0
Again since Beta function is symmetrical in m and n, we also have
∞
x m −1
dx ………………….. (3)
(1 + x ) m + n
0
β ( m, n ) = ๏ƒฒ
∞
∞
x n −1
x m −1
dx
=
๏ƒฒ0 (1 + x)m+n dx
(1 + x)m + n
0
Hence β (m, n) = ๏ƒฒ
1
2.
x m −1 + x n −1
dx
(1 + x) m + n
0
To show β (m, n) = ๏ƒฒ
Proof: We have
∞
1
x m−1
x m−1
x m−1
dx
dx
=
+
๏ƒฒ0 (1 + x)m+n ๏ƒฒ1 (1 + x)m+n dx …………………..(1)
0 (1 + x )m+n
β (m, n) = ๏ƒฒ
∞
x m−1
dx
Now consider ๏ƒฒ
1 (1 + x )m+ n
∞
Put x =
1
1
so that dx = − 2 dy,
y
y
When x = 1 ๏ƒž y = 1 and x →∞ ๏ƒž y = 0
m −1
๏ƒฆ1๏ƒถ
∞
0 ๏ƒง
m −1
y ๏ƒธ๏ƒท
๏ƒฆ 1 ๏ƒถ
x
๏ƒจ
∴๏ƒฒ
dx = ๏ƒฒ
−
dy
m+n
1 m + n ๏ƒง๏ƒจ y 2 ๏ƒธ๏ƒท
(1 + x)
1
1 (1 +
)
y
1
1
1
1
1
y m+n
1
y m −1
.
dx
=
dy
m+n
2
m −1
m+n
๏ƒฒ
(1 + y )
y
y (1 + y )
y2
0
0
y m+n
=๏ƒฒ
1
1
y m+n−m+1−2
y n−1
x n−1
=๏ƒฒ
dy = ๏ƒฒ
dy = ๏ƒฒ
dx
0 (1 + y )m+ n
0 (1 + y )m+ n
0 (1 + x )m+n
Hence Equation (1) becomes
1
1
x m −1
x n −1
β (m, n) = ๏ƒฒ
dx
+
dx
m+n
m+n
๏ƒฒ
(1
+
x
)
(1
+
x
)
0
0
1
1
x m −1 + x n −1
dx
(1 + x)m + n
0
∴ β (m, n) = ๏ƒฒ
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
111
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∞
3.
x m −1
dx
(ax + b)m + n
0
To show β (m, n) = a b ๏ƒฒ
m n
∞
∞
x m −1
Proof: We have, a b ๏ƒฒ
dx = a m b n ๏ƒฒ
m+ n
(ax + b)
0
0
x m −1
m n
b
m+ n
๏ƒฆa
๏ƒถ
๏ƒง x + 1๏ƒท
๏ƒจb
๏ƒธ
m+ n
dx
ax
b
by
= y.Then dx = .dy and x =
b
a
a
When x = 0 ๏ƒž y = 0 and x → ∞ ๏ƒž y → ∞
Put
m −1
๏ƒฆ by ๏ƒถ
∞
m −1
m n ∞ ๏ƒง
๏ƒท
x
a b
b
๏ƒจ a ๏ƒธ
∴ a mb n ๏ƒฒ
dx
=
dy
m+n
m+n ๏ƒฒ
m+n
(ax + b)
b
(1 + y)
a
0
0
∞
m n−m−n
=a b
b m −1 y m −1 b
๏ƒฒ0 a m−1 (1 + y)m+n a dy
∞
= a mb − m
∞
bm
y m −1
dy
a m ๏ƒฒ0 (1 + y) m + n
∞
y m−1
x m−1
dy
=
๏ƒฒ0 (1 + y)m+n ๏ƒฒ0 (1 + x)m+n dx = β (m, n)
1
4.
x m−1 (1 − x)n −1
β (m, n)
dx = n
To show ๏ƒฒ
m+ n
(x + a)
a (1 + a)m
0
Proof: By the def, we have
1
β (m, n) = ๏ƒฒ x m−1 (1 − x) n−1 dx ……………………(1)
0
Put x =
(1 + a )y
y+a
๏ƒฉ ( y + a)1 − y(1 + 0) ๏ƒน
a(1 + a)
dx = (1 + a) ๏ƒช
dy =
dy
๏ƒบ
2
( y + a)
( y + a) 2
๏ƒซ
๏ƒป
When x = 0 ๏ƒž y = 0 and x = 1 ๏ƒž y = 1
Now equation (1) becomes
n −1
m−1
(
1 + a ) y m−1 ๏ƒฆ (1 + a ) y ๏ƒถ a (1 + a )
๏ƒท
β (m, n ) = ๏ƒฒ
.๏ƒง1 −
dy
0
( y + a )m−1 ๏ƒง๏ƒจ y + a ๏ƒท๏ƒธ ( y + a )2
n −1
m−1 m −1
1 (1 + a )
y ๏ƒฆ y + a − y − ay ๏ƒถ a(1 + a )
๏ƒท๏ƒท
=๏ƒฒ
.๏ƒง
dy
2
0
y+a
( y + a )m−1 ๏ƒง๏ƒจ
๏ƒธ (y + a)
m m−1
1 a(1 + a ) y
n−1
=๏ƒฒ
.(a − ay ) dy
m
−
1
+
n
−
1
+
2
0 ( y + a)
m m−1
1 a(1 + a ) y
n−1
=๏ƒฒ
.a n−1 (1 − y ) dy
m
+
n
0
( y + a)
1
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
112
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
m−1
(1 − x ) dx
y m−1 (1 − y )
m 1x
n
dy
=
a
(
1
+
a
)
m
+
n
๏ƒฒ
0 ( y + a)
0 ( x + a )m+ n
n−1
m 1
= a n (1 + a ) ๏ƒฒ
n−1
x m−1 (1 − x )
β (m, n)
dx = n
m
+
n
m
0 (x + a )
a (1 + a )
n−1
1
∴๏ƒฒ
a
To show ๏ƒฒ ( x − b) m−1 (a − x) n −1 dx = (a − b) m+ n −1 β (m, n), m > 0, n > 0.
5.
b
Proof: We have
1
β (m, n) = ๏ƒฒ x m−1 (1 − x) n−1
0
y −b
dy
so that dx =
a −b
a −b
When x = 0 ๏ƒž y = b and x = 1 ๏ƒž y = a
Put x =
a
๏ƒฆ y −b ๏ƒถ
∴ β (m, n) = ๏ƒฒ ๏ƒง
๏ƒท
a −b ๏ƒธ
b๏ƒจ
m −1
๏ƒฉ ๏ƒฆ y − b ๏ƒถ๏ƒน
๏ƒช1 − ๏ƒง a − b ๏ƒท ๏ƒบ
๏ƒธ๏ƒป
๏ƒซ ๏ƒจ
n −1
dy
a −b
a
( y − b)m−1 (a − b − y + b) n −1 dy
=๏ƒฒ
.
(a − b) m−1
(a − b)n −1
a −b
b
a
a
( y − b) m−1 (a − y) n −1
( x − b) m−1 (a − x) n −1
=๏ƒฒ
dy
=
๏ƒฒb (a − b)m+n−1 dx
(a − b) m−1+ n−1+1
b
a
(x − b) m−1 (a − x)n −1
dx = (a − b) m+ n−1 β (m, n)
m + n −1
( a − b)
b
∴๏ƒฒ
PROBLEMS
π
1.
1 ๏ƒฆ m +1 n +1๏ƒถ
,
๏ƒท
2 ๏ƒจ 2
2 ๏ƒธ
m
n
S.T ๏ƒฒ 2 sin θ cos θdθ = β ๏ƒง
0
π
π
Sol: ๏ƒฒ sin θ cos θdθ = ๏ƒฒ 2 sin m−1 θ cos n−1 θ (sin θ cosθ )dθ
m
2
0
n
0
π
(
= ๏ƒฒ 2 sin θ
0
2
m−1
2
n−1
2
) (cos θ ) (sinθ cosθ )dθ
2
Put sin 2 θ = x so that sin θ cos θ dθ =
dx
2
π
2
∴ ๏ƒฒ sin m θ cos n θ dθ =
0
n −1
1 m2−1
2
x
(1
−
x
)
dx
2 ๏ƒฒ0
1
1
=
๏ƒฆ m +1 ๏ƒถ
๏ƒฆ n +1 ๏ƒถ
๏ƒง
๏ƒท −1
1 ๏ƒง๏ƒจ 2 ๏ƒธ๏ƒท−1
1 ๏ƒฆ m +1 n +1 ๏ƒถ
(1 − x)๏ƒจ 2 ๏ƒธ dx = β ๏ƒง
,
x
๏ƒท
๏ƒฒ
20
2 ๏ƒจ 2
2 ๏ƒธ
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
113
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
π
1
β (m, n ) …………………… (1)
0
2
p +1
q +1
Put p = 2m − 1, q = 2n − 1 so that m =
and n =
2
2
Aliter: We have ๏ƒฒ 2 sin 2 m−1 θ cos2 n−1 θdθ =
π
1 ๏ƒฆ p +1 q +1๏ƒถ
β๏ƒง
,
๏ƒท
2 ๏ƒจ 2
2 ๏ƒธ
Then (1) becomes ๏ƒฒ 2 sin θ cos θdθ =
p
q
0
π
1 ๏ƒฆ m +1 n +1๏ƒถ
or ๏ƒฒ 2 sinm θ cosn θdθ = β ๏ƒง
,
๏ƒท
0
2 ๏ƒจ 2
2 ๏ƒธ
1
x
2. Solve ๏ƒฒ
1 − x2
0
dx
dy 1 −21
= y dy
Put x = y so that dx =
2x 2
When x = 0 ๏ƒž y = 0, and x = 1 ๏ƒž y = 1
2
Sol:
1
1
∴๏ƒฒ
1 − x2
0
y 2 1 −21
y dy
1− y 2
1
x
dx = ๏ƒฒ
0
−1
1
−1
1 0
1 1−1
1 ๏ƒฆ 1๏ƒถ
2
2
y
(1
−
y
)
dy
=
y
(1
−
y
)
dy = β ๏ƒง1, ๏ƒท
๏ƒฒ
๏ƒฒ
20
20
2 ๏ƒจ 2๏ƒธ
1
=
3
3.
dx
Solve ๏ƒฒ
9 − x2
0
Sol:
1
3 −1
Put x2 = 9 y so that dx= . y 2 dy
2
3
∴๏ƒฒ
0
3
dx
(
= ๏ƒฒ 9 − x2
9 − x2
0
−1
2
1
−1
2
) dx = ๏ƒฒ (9 − 9 y ) . 23 y dy
0
−1
1
=
−1
2
−1
3
1
2
2 dy
y
(
1
−
y
)
2 ๏ƒฒ0
3
1
1
−1
1 12 −1
1 ๏ƒฆ1 1๏ƒถ
= ๏ƒฒ y (1 − y) 2 dy = β ๏ƒง , ๏ƒท
20
2 ๏ƒจ2 2๏ƒธ
4.
S.T ๏ƒฒ x m (1 − x n ) dx =
1
p
0
1 ๏ƒฆ m +1
๏ƒถ
β๏ƒง
, p + 1๏ƒท
n ๏ƒจ n
๏ƒธ
1
Sol:
−1
1
Put x = y so that dx = y n dy
n
n
1
(
∴๏ƒฒ x 1− x
m
1−n
1
) dx = ๏ƒฒ y
n p
0
m/ n
0
1
1
= ๏ƒฒy
n0
1
5.
S.T ๏ƒฒ (1 + x )
m −1
(1 − x )
n −1
(1 − y ) 1 y n dy
n
m+1−n
n
p
1
m+1
−1
(1 − y ) dy = 1 ๏ƒฒ y n (1 − y )( p+1)−1 dy = 1 β ๏ƒฆ๏ƒง m + 1 , p + 1๏ƒถ๏ƒท
n0
n ๏ƒจ n
๏ƒธ
p
dx = 2m + n −1 β (m, n)
−1
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
114
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
n −1
1
We have β (m, n ) = ๏ƒฒ x m−1 (1 − x ) dx
Sol:
0
Put x =
1+ y
1
so that dx = dy
2
2
n−1
m−1
(
1 + y) ๏ƒฆ 1+ y ๏ƒถ 1
∴ β (m, n) = ๏ƒฒ
๏ƒง1 −
๏ƒท . dy
m−1
1
1
=๏ƒฒ
๏ƒจ
2
−1
2 ๏ƒธ
(1 + y )m−1 (1 − y )n−1 dy =
2
−1
m + n −1
2
2
m −1
1
1
๏ƒฒ (1 + x ) (1 − x ) dx
n −1
m + n −1
−1
1
∴ ๏ƒฒ (1 + x )
m−1
(1 − x )n−1dx = 2m+n−1 β (m, n)
−1
1
P.T ๏ƒฒ
6.
0
1 ๏ƒฆ2 1๏ƒถ
= β๏ƒง , ๏ƒท
1 − x5 5 ๏ƒจ 5 2 ๏ƒธ
xdx
1
−4
1
Put x 5 = y ๏ƒž x = y 5 so that dx =
Sol:
1 5 −1
1
y dy = . y 5 dy
5
5
When x = 0 ๏ƒž y = 0, and x = 1 ๏ƒž y = 1
1
1
∴๏ƒฒ
0
−4
1 − x5
=๏ƒฒ
0
=
1
x 2 dx
0
1 − x5
Evaluate ๏ƒฒ
7.
−3
1
2
1
−1
1 5 −1
1 ๏ƒฆ 2 1๏ƒถ
2
y
(1
−
y
)
dy = β ๏ƒง , ๏ƒท
๏ƒฒ
50
5 ๏ƒจ 5 5๏ƒธ
in terms of Beta function
−4
1
Put x 5 = y ๏ƒž x = y 5 so that dx =
Sol:
1
−1
1
y5 1 5
. y dy = ๏ƒฒ y 5 (1 − y) 2 dy
50
1− y 5
1
xdx
1 5
y dy
5
When x = 0 ๏ƒž y = 0, and x = 1 ๏ƒž y = 1
1
∴๏ƒฒ
0
2
x dx
1 − x5
2
5
1
y
0
(1 − y )
=๏ƒฒ
−4
−2
1
−1
1
1 5
y dy = ๏ƒฒ y 5 (1 − y) 2 dy
1
50
5
2
1
=
b
1
−1
1 53 −1
1 ๏ƒฆ3 1๏ƒถ
2
y
(1
−
y)
dy = β ๏ƒง , ๏ƒท
๏ƒฒ
50
5 ๏ƒจ5 2๏ƒธ
S.T ๏ƒฒ ( x − a ) (b − x ) dx = (b − a )
8.
m
m+ n+1
n
a
Sol:
b
β (m + 1, n + 1)
y−a๏ƒน
๏ƒฉ
Put x = a + (b − a ) y (or ) ๏ƒช x =
so that dx = (b − a)dy
b − a ๏ƒบ๏ƒป
๏ƒซ
When x = a ๏ƒž y = 0, and x = b ๏ƒž y = 1
1
∴ ๏ƒฒ ( x − a) m (b− x) n dx = ๏ƒฒ [ (b − a) y ] [b − a − (b − a) y ] (b− a)dy
m
a
n
0
1
= ๏ƒฒ (b− a)m y m (b− a)n (1 − y)n (b − a)dy
0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
115
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
1
= (b− a)m+ n +1 ๏ƒฒ y m (1 − y )n dy
0
1
= (b− a)m+ n+1 ๏ƒฒ y ( m+1) −1 (1 − y)( n +1)−1 dy
0
= (b − a )
m + n +1
β (m + 1, n + 1)
∞
x m−1
dx = a − n β (m, n)
m+ n
(
x
a
)
+
0
9. S.T ๏ƒฒ
∞
x m −1
dx
(1 + x)m + n
0
Sol: We have β (m, n) = ๏ƒฒ
Put x =
y
dy
so that dx =
a
a
∞
∞
y m −1
dy
1 y m −1.a m + n
= m๏ƒฒ
dy
m+n
y
a
a
a
y
(
)
+
m
−
1
m
+
n
0 a
0
(1 + )
a
∴ β ( m, n ) = ๏ƒฒ
∞
y m −1
dy
m+n
(
y
+
a
)
0
= an ๏ƒฒ
∞
1
x n −1
∴ n β (m, n) = ๏ƒฒ
dx
m+n
(x
)
a
+
a
0
∞
x m−1
dx = a − n β (m, n)
Hence ๏ƒฒ
m+ n
( x + a)
0
Relation between A and B function
Prove that β (m, n) =
Γ ( m) Γ (n)
, m>0, n>0
Γ (m + n)
Proof: By the def of Γ − function
∞
Γ ( m ) = ๏ƒฒ e− x x m−1dx
0
Put x = t ๏ƒž dx = 2t dt
When x = 0 ๏ƒž t = 0 and x = ∞ ๏ƒž t = ∞
2
∞
∞
∴Γ( m) = ๏ƒฒ e (t ) 2tdt = ๏ƒฒ e−t t 2m−2+1 2dt
−t 2
2
2 m−1
0
0
∞
Γ ( m ) = 2๏ƒฒ e−t t 2 m−1dt
2
0
∞
∴Γ ( m ) = 2๏ƒฒ e− x x 2 m−1dx
2
0
Similarly,
∞
Γ ( n ) = 2๏ƒฒ e− y y 2 n−1dy
2
0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
116
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∞
∴Γ ( m ) Γ ( n ) = 4๏ƒฒ e
∞
− x2
x
dx.๏ƒฒ e− y y 2n−1dy
2
2 m −1
0
0
∞∞
= 4๏ƒฒ ๏ƒฒ e− ( x + y ) x 2m−1 y 2 n−1dxdy
2
2
0 0
Transforming to polar coordinates
x = r cosθ , y = r sin θ and dxdy = rdrdθ
r is varies from 0 to ∞ and θ is varies from 0 to π
2
π
∞ 2
Γ ( m ) Γ ( n ) = 4 ๏ƒฒ ๏ƒฒ e − r r 2 m −1 cos 2 m −1 θ r 2 n −1 sin 2 n −1 θ rdrdθ
2
0 0
π
∞ 2
= 4 ๏ƒฒ ๏ƒฒ e − r r 2( m + n ) −1 cos 2 m −1 θ sin 2 n −1 θ drdθ
2
0 0
π
∞
2
= 2 ๏ƒฒ e − r r 2( m + n ) −1dr.2 ๏ƒฒ cos 2 m −1 θ sin 2 n −1 θ dθ
2
0
0
= Γ ( m + n ) .β (m, n)
∴ β (m, n) =
Γ (m) Γ (n)
Γ (m + n)
Problems :
๏ƒฆ1๏ƒถ
1. S.T Γ ๏ƒง ๏ƒท = π
๏ƒจ2๏ƒธ
Sol:
We know that β (m, n) =
Γ ( m) Γ (n)
Γ ( m + n ) , m>0, n>0
๏ƒฆ1๏ƒถ ๏ƒฆ1๏ƒถ
Γ๏ƒง ๏ƒทΓ๏ƒง ๏ƒท
2
1
2 ๏ƒธ ๏ƒจ 2 ๏ƒธ ๏ƒฉ ๏ƒฆ 1 ๏ƒถ๏ƒน
๏ƒฆ1 1๏ƒถ
๏ƒจ
Taking m=n= , we have β ๏ƒง , ๏ƒท =
= ๏ƒช Γ ๏ƒง ๏ƒท ๏ƒบ .......(1) ๏ƒฉ๏ƒซQ Γ (1) = 1๏ƒน๏ƒป
2
๏ƒฆ1 1๏ƒถ
๏ƒจ2 2๏ƒธ
๏ƒซ ๏ƒจ 2 ๏ƒธ๏ƒป
Γ๏ƒง + ๏ƒท
2
2
๏ƒจ
๏ƒธ
1
1
1
1
−1
−1
−1
−1
๏ƒฆ1 1๏ƒถ
But β ๏ƒง , ๏ƒท = ๏ƒฒ x 2 (1 − x) 2 dx = ๏ƒฒ x 2 (1 − x) 2 dx
๏ƒจ2 2๏ƒธ 0
0
Put x = sin 2 θ so that dx=2sin θ cos θ dθ
When x = 0 ๏ƒž θ = 0, and x = 1 ๏ƒž θ =
π
π
2
π
π
2
2
1
1
๏ƒฆ1 1๏ƒถ
∴β๏ƒง , ๏ƒท= ๏ƒฒ
.2 sin θ cos θ dθ = 2 ๏ƒฒ dθ = 2[θ ]02
๏ƒจ 2 2 ๏ƒธ 0 sin θ cos θ
0
๏ƒฉπ
๏ƒน
= 2 ๏ƒช − 0๏ƒบ = π
๏ƒซ2
๏ƒป
2
๏ƒฉ ๏ƒฆ 1 ๏ƒถ๏ƒน
๏ƒฆ1๏ƒถ
From Equation (1) ๏ƒชΓ ๏ƒง ๏ƒท ๏ƒบ = π ๏ƒž Γ ๏ƒง ๏ƒท = π
๏ƒจ2๏ƒธ
๏ƒซ ๏ƒจ 2 ๏ƒธ๏ƒป
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
117
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∞
−x
2. To show that ๏ƒฒ e dx =
2
0
π
2
∞
Sol:
๏ƒฒ
We have Γ ( n ) = e
− x2
x n−1dx
0
∞
−1
1
๏ƒฆ1๏ƒถ
Taking n = , we have Γ ๏ƒง ๏ƒท = ๏ƒฒ e − x x 2 dx
2
๏ƒจ2๏ƒธ 0
Put x = t 2 so that dx = 2tdt
When x = 0 ๏ƒž t = 0 and x = ∞ ๏ƒž t = ∞
∞
∞
−1
2
2
๏ƒฆ1๏ƒถ
∴Γ ๏ƒง ๏ƒท = ๏ƒฒ e − t (t 2 ) 2 2tdt = 2 ๏ƒฒ e − t dt
๏ƒจ2๏ƒธ 0
0
∞
2
๏ƒฆ1๏ƒถ
(or )2 ๏ƒฒ e − x dx = Γ ๏ƒง ๏ƒท
๏ƒจ2๏ƒธ
0
∞
๏ƒž ๏ƒฒ e− x dx =
2
0
0
−x
Note: 1. ๏ƒฒ e dx =
2
−∞
∞
๏ƒฆ
๏ƒถ
๏ƒฆ1๏ƒถ
๏ƒงQ Γ ๏ƒง ๏ƒท = π ๏ƒท
๏ƒจ 2๏ƒธ
๏ƒจ
๏ƒธ
π
2
π
2
−x
๏ƒฒ e dx = π
2
2.
−∞
3. Γ ( n ) is defined when n>0
4. Γ ( n ) is defined when ‘n’ is a negative fraction.
5. But Γ ( n ) is not defined when n=0 and ‘n’ is a negative integer
3. P.T. Γ ( n ) Γ ( n − 1) =
π
sin nπ
∞
x n−1
dx
m+ n
(1
+
x
)
0
Proof: We know that β (m, n) = ๏ƒฒ
Also we have β (m, n) =
Γ ( m ) .Γ ( n )
Γ (m + n)
Γ ( m ) .Γ ( n )
x n −1
dx =
m+ n
(1 + x)
Γ ( m + n)
0
∞
∴๏ƒฒ
Taking m+n=1 so that m=1-n, we get
Γ (1 − n ) Γ ( m )
x n −1
dx
=
๏ƒฒ0 1 + x
Γ (1)
∞
Q Γ (1) = 1
∞
x n −1
dx...........(1)
1
+
x
0
(or) Γ ( n ) Γ (1 − n ) = ๏ƒฒ
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
118
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∞
x2m
π
(2m + 1)π
dx = cos ec
We have , ๏ƒฒ
Where m>0, n>0 and n>m
2n
1+ x
2n
2n
0
2m + 1
= s, we have
Put x 2 n = t and
2n
∞
2m
1
t 2 n .t 2 n
π
dt
=
๏ƒฒ0 (2n)(1 + t )t 2n cos ec sπ
2m
∞
1
−1
1 t 2 n .t 2 n
π
(or ) ๏ƒฒ
dt =
cos ec sπ
2n 0
1+ t
2n
∞
(or ) ๏ƒฒ
t
2 m +1
−1
2n
1+ t
0
dt = π cos ec sπ
∞
t s −1
π
dt =
1+ t
sin sπ
0
(or ) ๏ƒฒ
∞
x s −1
π
(or ) ๏ƒฒ
dx =
1+ x
sin sπ
0
∞
x n −1
π
(or ) ๏ƒฒ
dx =
.........(2)
1+ x
sin nπ
0
From equation (1) and (2) we have Γ ( n ) Γ (1 − n ) =
1
(
4. S.T. Γ ( n ) = ๏ƒฒ log 1
0
π
sin nπ
n −1
x
) dx, n > 0
∞
Sol:
We have Γ ( n ) = ๏ƒฒ e− x xn −1dx ………………….(1)
0
Putting x = log
1
= − log y
y
(or) y = e− x so that dy = −e− x dx
−1
dx =
dy
y
Equation (1) becomes
0
(
Γ ( n ) = −๏ƒฒ log 1
1
1
(
∴Γ ( n ) = ๏ƒฒ log 1
0
y
)
n−1
1
n−1
1
. y. dy = ๏ƒฒ log 1
dy
y
y
0
(
)
n −1
dx
x)
1
2
(
)
1
5. Evaluate i. ๏ƒฒ x4 (1 − x ) dx ii. ๏ƒฒ x 8 − x3 3 dx
2
0
0
1
1
0
0
Sol. (i). ๏ƒฒ x 4 (1 − x ) 2 dx = ๏ƒฒ x5−1 (1 − x )
3−1
dx = β ( 5,3)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
119
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
=
Γ ( 5 ) Γ ( 3)
Γ ( 5 + 3)
=
Γ ( 5) .Γ ( 3)
Γ ( 8)
=
4!2!
4!2
1
=
=
7! 7 × 6 × 5 × 4! 105
−2
1
2
(ii). Let x3 = 8 y ๏ƒž x = 2 y 3 ๏ƒž dx = . y 3 dy
3
When x = 0 ๏ƒž y = 0 and x = 2 ๏ƒž y = 1
2
(
∴๏ƒฒ x 8 − x
1
3 3
)
0
1
1
3
−2
1
3
2
dx = ๏ƒฒ 2 y ( 8 − 8 y ) . y 3 dy
3
0
−1
−1
1
1
4 −1
8 3
8 2 −1
= ๏ƒฒ y (1 − y) 3 dy = ๏ƒฒ y 3 (1 − y ) 3 dy
30
30
8 ๏ƒฆ2 4๏ƒถ
π ๏ƒน
๏ƒฉ
= β๏ƒง , ๏ƒท
Q
Γ
n
Γ
1
−
n
=
(
)
(
)
๏ƒช
3 ๏ƒจ3 3๏ƒธ
sin nπ ๏ƒบ๏ƒป
๏ƒซ
8
π
16π
=
=
9 sin π
9 3
3
( )
π
7
2
2
6. Evaluate ๏ƒฒ sin θ cos θ dθ
5
0
π
2
Sol.
We have ๏ƒฒ sin
2 m−1
1
2
θ cos2n−1 θ dθ = β ( m, n ) ........(1)
0
Put 2m − 1 = 5 ๏ƒž m = 3 and 2n − 1 =
∴ Equation (1) becomes
π
7
2
5
๏ƒฒ sin θ cos 2 θ dθ =
0
7
9
๏ƒžn=
2
4
( )
( )
9
1 ๏ƒฆ 9 ๏ƒถ 1 Γ ( 3 ) .Γ 4
β ๏ƒง 3, ๏ƒท = .
2 ๏ƒจ 4 ๏ƒธ 2 Γ 3+ 9
4
( )
( )
( )
( )
( )
( )
9
9
1 Γ ( 3) Γ 4 1 2!.Γ 4
= .
= .
2 Γ 21
2 Γ 21
4
4
Γ 9
64
4
=
=
17 13 9 9
1989
. . Γ
4
4 4 4
∞
−4 x
๏ƒฒ 3 dx
2
7. Evaluate (i).
0
Sol.
Since 3 = e log 3
2
2
∴3−4 x = e−4 x log3
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
120
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
∞
∞
๏ƒฒ3
−4 x 2
dx = ๏ƒฒ e−4 x log3dx
0
2
0
Put 2x log3 = y so that dx =
∞
∴๏ƒฒ 3
−4 x2
∞
dx = ๏ƒฒ e
0
∞
− y2
0
=
dy
2 log3
2
dy
1
=
.๏ƒฒ e− y dy
2 log 3 2 log 3 0
1
π
π
π
=
=
.
16log 3
2 log 3 2
4 log 3
1๏ƒถ
๏ƒฆ
8. When n is a +ve integer. P.T. 2n Γ ๏ƒง n + ๏ƒท = 1.3.5.... ( 2n − 1) π
2๏ƒธ
๏ƒจ
Sol. We know that Γ ( n + 1) = nΓ ( n ) ……………………. (1)
1๏ƒถ
1 ๏ƒถ ๏ƒฆ
1๏ƒถ ๏ƒฆ
1๏ƒถ
๏ƒฆ
๏ƒฆ
∴Γ ๏ƒง n + ๏ƒท = Γ ๏ƒง n − + 1๏ƒท = ๏ƒง n − ๏ƒท Γ ๏ƒง n − ๏ƒท
2๏ƒธ
2 ๏ƒธ ๏ƒจ
2๏ƒธ ๏ƒจ
2๏ƒธ
๏ƒจ
๏ƒจ
1๏ƒถ ๏ƒฆ
3 ๏ƒถ ๏ƒฆ
1 ๏ƒถ๏ƒฆ
3๏ƒถ ๏ƒฆ
3๏ƒถ
๏ƒฆ
= ๏ƒง n − ๏ƒท Γ ๏ƒง n − + 1๏ƒท = ๏ƒง n − ๏ƒท ๏ƒง n − ๏ƒท .Γ ๏ƒง n − ๏ƒท
2๏ƒธ ๏ƒจ
2 ๏ƒธ ๏ƒจ
2 ๏ƒธ๏ƒจ
2๏ƒธ ๏ƒจ
2๏ƒธ
๏ƒจ
1 ๏ƒถ๏ƒฆ
3๏ƒถ ๏ƒฆ
5๏ƒถ ๏ƒฆ
5๏ƒถ
๏ƒฆ
= ๏ƒง n − ๏ƒท๏ƒง n − ๏ƒท . ๏ƒง n − ๏ƒท .Γ ๏ƒง n − ๏ƒท
2 ๏ƒธ๏ƒจ
2๏ƒธ ๏ƒจ
2๏ƒธ ๏ƒจ
2๏ƒธ
๏ƒจ
2 n − 1 2n − 3 2n − 5 ๏ƒฆ 2 n − 5 ๏ƒถ
=
.
.
.Γ ๏ƒง
๏ƒท
2
2
2
๏ƒจ 2 ๏ƒธ
2n − 1 2n − 3 2n − 5
3 1 ๏ƒฆ1๏ƒถ
=
.
.
....... . .Γ ๏ƒง ๏ƒท
2
2
2
2 2 ๏ƒจ2๏ƒธ
(2n − 1)(2n − 3)(2n − 5).....3.1 . π
=
2n
1๏ƒถ
๏ƒฆ
∴ 2n Γ ๏ƒง n + ๏ƒท = ( 2n − 1)( 2n − 3)( 2n − 5) .....1 π
2๏ƒธ
๏ƒจ
1๏ƒถ
๏ƒฆ
9. P.T. 2 2 n −1 Γ ( n ) .Γ ๏ƒง n + ๏ƒท = Γ ( 2 n ) π
2๏ƒธ
๏ƒจ
1
Sol.
By def, we have β ( m, n ) = ๏ƒฒ x m−1 (1 − x )
n −1
dx
0
1
(or ) ๏ƒฒ x n−1 (1 − x)m−1 dx = β ( n, m ) =
0
Γ ( n ) .Γ ( m )
Γ ( n + m)
...........(1)
Put x = sin2 θ so that dx = 2 sinθ cosθ dθ
π
2
From equation (1) ๏ƒฒ sin 2 n − 2 cos 2 m − 2 ( 2sin θ cos θ ) dθ =
0
DEPARTMENT OF HUMANITIES & SCIENCES
Γ ( n ) .Γ ( m )
Γ ( n + m)
©MRCET (EAMCET CODE: MLRD)
121
BETA AND GAMMA FUNCTIONS
MATHEMATICS -II
π
Γ ( n ) .Γ ( m )
2
(or ) ๏ƒฒ sin 2 n −1 θ cos 2 m −1 θ dθ =
2Γ ( n + m )
0
………………………….. (2)
Putting m = 1 in equation(2), we get
2
๏ƒฆ1๏ƒถ
Γ ( n ) .Γ ๏ƒง ๏ƒท
Γ ( n ) ………………………….. (3)
π
๏ƒจ2๏ƒธ
2 n −1
๏ƒฒ0 sin θ dθ = ๏ƒฆ 1 ๏ƒถ = 2 . ๏ƒฆ 1 ๏ƒถ
Γ๏ƒงn + ๏ƒท
2Γ ๏ƒง n + ๏ƒท
2๏ƒธ
2๏ƒธ
๏ƒจ
๏ƒจ
π
2
Now putting m=n in equation (2), we get
π
2
๏ƒฒ sin
2 n −1
θ cos
2 n −1
(Γ ( n))
θ dθ =
2
2Γ ( 2n )
0
2
( Γ ( n )) = 1
(or )
2Γ ( 2 n )
2
π
π
2
2sin θ cos θ )
2 n −1 ๏ƒฒ (
2 n −1
θ dθ =
0
π
1
2
22 n −1 ๏ƒฒ0
sin 2 n−1 2θ dθ
π
1 2 2 n−1
1
2 n −1
= 2 n−1 . ๏ƒฒ sin ฯ• dฯ• ( put 2θ = ฯ• ) = 2 n 2 ๏ƒฒ sin ฯ• dφ
2
2
2 0
0
1
2
2
(Γ ( n)) = 1 . π . Γ ( n )
=
2Γ ( 2n )
22 n −1
2
1๏ƒถ
๏ƒฆ
Γ๏ƒงn + ๏ƒท
2๏ƒธ
๏ƒจ
1๏ƒถ
๏ƒฆ
๏ƒž 22 n −1 Γ ( n ) Γ ๏ƒง n + ๏ƒท = π .Γ ( 2n )
2๏ƒธ
๏ƒจ
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
122
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
UNIT-IV
DOUBLE AND TRIPLE INTEGRALS
DOUBLE AND TRIPLE INTEGRALS
DOUBLE AND TRIPLE INTEGRALS DOUBLE AND TRIPLE INTEGRALS
Double Integral:
I.
When ๐‘ฆ1, ๐‘ฆ2 are functions of ๐‘ฅ and x1 and x2 are constants. ๐‘“(๐‘ฅ, ๐‘ฆ)is first integrated
with respect to ๐‘ฆ keeping ‘๐‘ฅ’ fixed between limits ๐‘ฆ1, ๐‘ฆ2 and then the resulting expression is
integrated with respect to ‘๐‘ฅ’ within the limits ๐‘ฅ1, ๐‘ฅ2 i.e.,
x ๏€ฝ x2
๏ƒฒ๏ƒฒ f ๏€จ x, y ๏€ฉdx dy ๏€ฝ ๏ƒฒ
x ๏€ฝ x1
R
y ๏€ฝ๏ฆ2 ( x )
๏ƒฒ
๏ฆ
f ( x, y )dydx
y๏€ฝ 1 ( x)
II.
When ๐‘ฅ1, ๐‘ฅ 2 are functions of y and ๐‘ฆ1 , ๐‘ฆ2 are constants, ๐‘“(๐‘ฅ, ๐‘ฆ) is first integrated with
respect to ‘๐‘ฅ’ keeping ‘๐‘ฆ’ fixed, within the limits ๐‘ฅ1, ๐‘ฅ 2 and then resulting expression is
integrated with respect to ๐‘ฆ between the limits ๐‘ฆ1 , ๐‘ฆ2 i.e.,
y ๏€ฝ y2
x ๏€ฝ๏ฆ2 ๏€จ y ๏€ฉ
y ๏€ฝ y1
x ๏€ฝ๏ฆ1 ๏€จ y ๏€ฉ
๏ƒฒ๏ƒฒ f ๏€จ x, y ๏€ฉdx dy ๏€ฝ ๏ƒฒ
R
III.
๏ƒฒ
f ๏€จ x, y ๏€ฉdx dy
When ๐‘ฅ1, ๐‘ฅ 2 , ๐‘ฆ1, ๐‘ฆ2 are all constants. Then
y2
x2
x2
y2
y1
x1
x1
y1
๏ƒฒ๏ƒฒ f ๏€จ x, y ๏€ฉdx dy ๏€ฝ ๏ƒฒ
R
๏ƒฒ f ๏€จ x, y ๏€ฉdx dy ๏€ฝ ๏ƒฒ
๏ƒฒ f ๏€จ x, y ๏€ฉdy dx
It can be used in any order
PROBLEMS:
2 3
1.
Evaluate ๏ƒฒ ๏ƒฒ xy 2 dx dy
1 1
2
2
๏ƒฉ3 2 ๏ƒน
๏ƒฉ 2 x2 ๏ƒน
y2
๏€ฝ
y
.
dy
๏€ฝ
xy
dx
dy
๏ƒบ
๏ƒฒ1 ๏ƒช๏ƒซ 2 ๏ƒบ๏ƒป
๏ƒฒ1 2 dy ๏›9 ๏€ญ 1๏
๏ƒฒ1 ๏ƒช๏ƒซ๏ƒฒ1
๏ƒป
1
3
2
Sol.
2
2
8
๏€ฝ ๏ƒฒ y 2 dy ๏€ฝ 4.๏ƒฒ y 2 dy
21
1
2
4.7 28
๏ƒฉ 3 ๏ƒน 4
๏€ฝ 4. ๏ƒช y ๏ƒบ ๏€ฝ ๏›8 ๏€ญ 1๏ ๏€ฝ
๏€ฝ
3
3
3
๏ƒซ
๏ƒป1 3
2 x
2.
Evaluate ๏ƒฒ ๏ƒฒ y dy dx
0 0
2 ๏ƒฉ x
๏ƒน
y
dy
dx
๏€ฝ
y
dy
๏ƒช
๏ƒฒx๏€ฝ0 y๏ƒฒ๏€ฝ0
๏ƒฒx๏€ฝ0 ๏ƒช y๏ƒฒ๏€ฝ0 ๏ƒบ๏ƒบ dx
๏ƒซ
๏ƒป
2
Sol.
x
x
2
2
2
๏ƒฉ y2 ๏ƒน
1
1
1 ๏ƒฉ x3 ๏ƒน
1
8 4
๏€ฝ ๏ƒฒ ๏ƒช ๏ƒบ dx ๏€ฝ ๏ƒฒ ๏€จ x 2 ๏€ญ 0 ๏€ฉ dx ๏€ฝ ๏ƒฒ x 2 dx ๏€ฝ ๏ƒช ๏ƒบ ๏€ฝ ๏€จ 8 ๏€ญ 0 ๏€ฉ ๏€ฝ ๏€ฝ
2 ๏ƒป0
2
2 x ๏€ฝ0
2 ๏ƒซ 3 ๏ƒป0 6
6 3
x ๏€ฝ0 ๏ƒซ
x ๏€ฝ0
2
5 x2
3.
Evaluate ๏ƒฒ ๏ƒฒ x ๏€จ x 2 ๏€ซ y 2 ๏€ฉdx dy
0 0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
123
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
x2
x2
๏ƒฉ 3
xy 3 ๏ƒน
2
2
x
x
๏€ซ
y
dy
dx
๏€ฝ
x
y
๏€ซ
dx
๏€ฉ
๏ƒฒ ๏ƒฒ ๏€จ
๏ƒฒ๏ƒช
3 ๏ƒบ๏ƒป y ๏€ฝ0
x ๏€ฝ0 y ๏€ฝ0
x ๏€ฝ0 ๏ƒซ
5
Sol.
5
5
5
๏ƒฉ
๏ƒฆ 5 x7 ๏ƒถ
๏ƒฉ x 6 1 x8 ๏ƒน
x ( x 2 )3 ๏ƒน
๏€ฝ ๏ƒฒ ๏ƒช x 3 .x 2 ๏€ซ
dx
๏€ฝ
x
๏€ซ
dx
๏€ฝ
๏ƒฒ ๏ƒง 3 ๏ƒธ๏ƒท ๏ƒซ๏ƒช 6 ๏€ซ 3 . 8 ๏ƒป๏ƒบ
3 ๏ƒบ๏ƒป
x ๏€ฝ0 ๏ƒซ
x ๏€ฝ0 ๏ƒจ
0
5
6
5
58
๏€ซ
6 24
๏€ฝ
1 1๏€ซ x2
4.
dydx
๏ƒฒ0 1 ๏€ซ x2 ๏€ซ y 2
๏ƒฒ
Evaluate
0
1 1๏€ซ x 2
Sol:
๏ƒฒ ๏ƒฒ
0
0
1 ๏ƒฉ 1๏€ซ x 2
๏ƒน
dydx
1
๏€ฝ ๏ƒช
dy ๏ƒบ dx
1 ๏€ซ x 2 ๏€ซ y 2 x๏ƒฒ๏€ฝ0 ๏ƒช y๏ƒฒ๏€ฝ0 ๏€จ1 ๏€ซ x 2 ๏€ฉ ๏€ซ y 2 ๏ƒบ
๏ƒซ
๏ƒป
๏ƒฉ 1๏€ซ x2
๏ƒช
๏€ฝ ๏ƒฒ๏ƒช ๏ƒฒ
x ๏€ฝ0 ๏ƒช y ๏€ฝ0
๏ƒซ
๏ƒน
๏ƒบ
dy ๏ƒบ dx
2
1 ๏€ซ x2 ๏€ซ y 2 ๏ƒบ
๏ƒป
1
๏€จ
1๏€ซ x 2
1
๏€ฝ ๏ƒฒ
x ๏€ฝ0
1
2
1
๏€ญ1
2
๏ฐ
๏ƒฉTan ๏€ญ11 ๏€ญ Tan ๏€ญ1 0 ๏ƒน๏ƒป dx or
(sinh ๏€ญ1x)10 ๏€ฝ (sinh ๏€ญ1 1)
2 ๏ƒซ
4
4
1๏€ซ x
x ๏€ฝ0
๏ฐ 1
1
4 x๏ƒฒ๏€ฝ0 1 ๏€ซ x 2
๏ฐ
1
๏ƒฒ x ๏€ซ a dx ๏€ฝ a tan ( x a)]
๏ฐ
1
๏€ฝ ๏ƒฒ
๏€ฝ
๏€ฉ
๏ƒฉ
y ๏ƒน
Tan ๏€ญ1
dx [
๏ƒช
๏ƒบ
1 ๏€ซ x2 ๏ƒซ
1 ๏€ซ x 2 ๏ƒป y ๏€ฝ0
1
๏€ฝ
1
dx ๏€ฝ
๏ฐ๏ƒฉ
1
log( x ๏€ซ x 2 ๏€ซ 1) ๏ƒน
๏ƒป x ๏€ฝ0
4๏ƒซ
log(1 ๏€ซ 2)
4
๏‚ฅ๏‚ฅ
๏€ญ( x ๏€ซ y )
dxdy
๏ƒฒ๏ƒฒe
2
5. Evaluate
2
0 0
๏‚ฅ๏‚ฅ
Sol:
๏ƒฒ๏ƒฒe
๏€ญ ( x2 ๏€ซ y 2 )
0 0
๏‚ฅ
dxdy ๏€ฝ ๏ƒฒ e
๏€ญ y2
0
๏‚ฅ
๏€ฝ ๏ƒฒe
๏ฐ
๏€ญ y2
2
0
๏€ฝ
๏ƒฉ ๏‚ฅ ๏€ญ x2 ๏ƒน
๏ƒช ๏ƒฒ e dx ๏ƒบ dy
๏ƒซ0
๏ƒป
๏ฐ ๏‚ฅ ๏€ญy
๏‚ฅ
๏€ญx
๏ƒฒ e dx ๏€ฝ
2
dy
0
๏ฐ
๏ฐ
๏ฐ
2
๏ฐ
e dy ๏€ฝ
.
๏€ฝ
2 ๏ƒฒ
2 2
4
2
0
๏ฐ
๏‚ฅ๏‚ฅ
2
Alter:
2
๏‚ฅ
๏€ญ( x ๏€ซ y )
dxdy ๏€ฝ ๏ƒฒ ๏ƒฒ e ๏€ญ r rdrd๏ฑ
๏ƒฒ๏ƒฒe
0 0
2
2
( x2 ๏€ซ y 2 ๏€ฝ r 2 )
๏ฑ ๏€ฝ0 r ๏€ฝ0
(Changing to polar coordinates taking x ๏€ฝ r cos ๏ฑ , y ๏€ฝ r sin ๏ฑ )
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
124
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
๏ฐ
๏‚ฅ
๏ฐ
๏€จ
๏€ฉ
2
๏ƒฉ e๏€ญ r ๏ƒน
๏ƒฉ 0 ๏€ญ 1๏ƒน
๏€ฝ๏ƒฒ๏ƒช
d
๏ฑ
๏€ฝ
๏ƒบ
๏ƒฒ
๏ƒช๏ƒซ ๏€ญ2 ๏ƒบ๏ƒป d๏ฑ
๏€ญ
2
๏ƒบ๏ƒป 0
0 ๏ƒช
0
๏ƒซ
๏€ฝ
2
2
๏ฐ
1
๏ฐ
1
๏€จ๏ฑ ๏€ฉ0 2 ๏€ฝ ๏ฐ 2 ๏€ญ 0 ๏€ฝ
2
2
4
6. Evaluate ๏ƒฒ ๏ƒฒ xy ( x ๏€ซ y )dxdy over the region R bounded by ๐’š = ๐’™2 and ๐’š = ๐’™
Sol:
๐‘ฆ = x 2 is a parabola through (0, 0) symmetric about y-axis ๐‘ฆ = ๐‘ฅ is a straight line
through (0, 0) with slope1.
Let us find their points of intersection solving ๐‘ฆ = x 2 , ๐‘ฆ = ๐‘ฅ we get
x 2 = ๐‘ฅ ๏ƒž ๐‘ฅ = 0,1 ๐ป๐‘’๐‘›๐‘๐‘’ ๐‘ฆ = 0, 1
๏œ The points of intersection of the curves are (0, 0), (1, 1)
Consider ๏ƒฒ๏ƒฒ xy( x ๏€ซ y)dxdy
R
For the evaluation of the integral, we first integrate with respect to ๐‘ฆ from ๐‘ฆ =
๐‘ฅ2 ๐‘ก๐‘œ ๐‘ฆ = ๐‘ฅ and then with respect to ๐‘ฅ from x=0 to x=1
๏ƒฉ x xy ๏€จ x ๏€ซ y ๏€ฉ dy ๏ƒน dx ๏€ฝ 1 ๏ƒฉ x ๏€จ x 2 y ๏€ซ xy 2 ๏€ฉ dy ๏ƒนdx
๏ƒฒx๏€ฝ0 ๏ƒช๏ƒซ ๏ƒฒy๏€ฝ x2
๏ƒฒx๏€ฝ0 ๏ƒช๏ƒซ ๏ƒฒy๏€ฝ x2
๏ƒบ๏ƒป
๏ƒบ๏ƒป
1
x
๏ƒฆ 2 y 2 xy 3 ๏ƒถ
๏€ฝ ๏ƒฒ ๏ƒงx
๏€ซ
๏ƒท dx
x ๏€ฝ0
2
3 ๏ƒธ y ๏€ฝ x2
๏ƒจ
1
๏ƒฆ x4 x4 x6 x7 ๏ƒถ
๏€ฝ ๏ƒฒ ๏ƒง ๏€ซ ๏€ญ ๏€ญ ๏ƒทdx
x ๏€ฝ0
๏ƒจ 2 3 2 3๏ƒธ
1
1
๏ƒฆ 5 x 5 x 7 x8 ๏ƒถ
๏ƒฆ 5x4 x6 x7 ๏ƒถ
๏€ฝ๏ƒฒ ๏ƒง
๏€ญ ๏€ญ ๏ƒทdx ๏€ฝ ๏ƒง . ๏€ญ ๏€ญ ๏ƒท
x ๏€ฝ0
2 3๏ƒธ
๏ƒจ 6 5 14 24 ๏ƒธ0
๏ƒจ 6
1
๏€ฝ
1 1 1 28 ๏€ญ 12 ๏€ญ 7 28 ๏€ญ 19
9
3
๏€ญ ๏€ญ
๏€ฝ
๏€ฝ
๏€ฝ
๏€ฝ
6 14 24
168
168
168 56
7. Evaluate ๏ƒฒ ๏ƒฒ xydxdy where R is the region bounded by x-axis and ๐’™ = ๐Ÿ๐’‚ and the curve
R
๐’™2= ๐Ÿ’๐’‚๐’š.
Sol: The line ๐‘ฅ = 2๐‘Ž and the parabola ๐‘ฅ2= 4๐‘Ž๐‘ฆ intersect at ๐ต(2๐‘Ž, ๐‘Ž)
∴The given integral = ๏ƒฒ ๏ƒฒ xy dx dy
R
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
125
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
Let us fix ‘๐‘ฆ’, for a fixed ‘๐‘ฆ’, ๐‘ฅ varies from 2 ay ๐‘ก๐‘œ 2๐‘Ž. Then ๐‘ฆ varies from
0 ๐‘ก๐‘œ ๐‘Ž
Hence the given integral can also be written as
x๏€ฝ2a
a
๏ƒฒ ๏ƒฒ
y ๏€ฝ 0 x ๏€ฝ 2 ay
๏ƒฉ x ๏€ฝ2 a xdx ๏ƒน ydy
y ๏€ฝ0 ๏ƒช
๏ƒบ๏ƒป
๏ƒซ ๏ƒฒx ๏€ฝ2 ay
xy dx dy ๏€ฝ ๏ƒฒ
a
2a
๏ƒฉ x2 ๏ƒน
๏€ฝ๏ƒฒ ๏ƒช ๏ƒบ
ydy
y ๏€ฝ0
๏ƒซ 2 ๏ƒป x ๏€ฝ 2 ay
a
๏€ฝ๏ƒฒ
a
๏ƒฉ๏ƒซ 2a 2 ๏€ญ 2ay ๏ƒน๏ƒป y dy
y ๏€ฝ0
a
๏ƒฉ 2a 2 y 2 2ay 3 ๏ƒน
๏€ฝ๏ƒช
๏€ญ
3 ๏ƒบ๏ƒป 0
๏ƒซ 2
๏€ฝ a4 ๏€ญ
๏ฐ
1
2a 4 3a 4 ๏€ญ 2a 4 a 4
๏€ฝ
๏€ฝ
3
3
3
2
8. Evaluate ๏ƒฒ ๏ƒฒ r sin ๏ฑ d๏ฑ dr
0
0
Sol.
1
๏ฐ
๏ƒฉ ๏ฐ2
๏ƒน
r
๏ƒฒr ๏€ฝ0 ๏ƒช๏ƒซ ๏ƒฒ๏ฑ ๏€ฝ0 sin ๏ฑ d๏ฑ ๏ƒบ๏ƒปdr ๏€ฝ ๏ƒฒr ๏€ฝ0 r ๏€จ ๏€ญ cos๏ฑ ๏€ฉ๏ฑ ๏€ฝ20 dr
1
๏€จ
๏€ฉ
๏€ฝ ๏ƒฒ ๏€ญr cos ๏ฐ ๏€ญ cos 0 dr
2
r ๏€ฝ0
1
1
๏ƒฆ r2 ๏ƒถ 1
1
๏€ฝ ๏ƒฒ ๏€ญ r ๏€จ 0 ๏€ญ 1๏€ฉ dr ๏€ฝ ๏ƒฒ rdr ๏€ฝ ๏ƒง ๏ƒท ๏€ฝ ๏€ญ 0 ๏€ฝ
r ๏€ฝ0
0
2
๏ƒจ 2 ๏ƒธ0 2
1
1
9. Evaluate ๏ƒฒ๏ƒฒ ๏€จ x 2 ๏€ซ y 2 ๏€ฉdx dy in the positive quadrant for which x ๏€ซ y ๏‚ฃ 1
๏ƒฒ๏ƒฒ ๏€จ x ๏€ซ y ๏€ฉdx dy ๏€ฝ ๏ƒฒ dx๏ƒฒ
2
Sol.
2
1
y ๏€ฝ1๏€ญ x
x ๏€ฝ0
y ๏€ฝ0
๏€จ x ๏€ซ y ๏€ฉ dy
2
2
R
1๏€ญ x
๏ƒฆ
y3 ๏ƒถ
๏€ฝ ๏ƒฒ ๏ƒง x 2 y ๏€ซ ๏ƒท dx
x ๏€ฝ0
3 ๏ƒธ0
๏ƒจ
1
1
3๏ƒถ
๏ƒฆ 2
x ๏€ญ x3 ๏€ซ ๏€จ1 ๏€ญ x ๏€ฉ ๏ƒท dx
๏ƒง
x ๏€ฝ0
3
๏ƒจ
๏ƒธ
๏€ฝ๏ƒฒ
1
1
`
๏ƒฉ x3 x 4 1
1 1
1 1
4๏ƒน
๏€ฝ ๏ƒช ๏€ญ ๏€ญ ๏€จ1 ๏€ญ x ๏€ฉ ๏ƒบ ๏€ฝ ๏€ญ ๏€ญ 0 ๏€ซ ๏€ฝ
12 6
๏ƒซ 3 4 12
๏ƒป0 3 4
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
126
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
8. Evaluate ๏ƒฒ๏ƒฒ ๏€จ x 2 ๏€ซ y 2 ๏€ฉdx dy over the area bounded by the ellipse
Sol.
x2 y 2
๏€ซ ๏€ฝ1
a 2 b2
x2 y 2
๏€ซ ๏€ฝ1
a 2 b2
Given ellipse is
y2
x2 1 2 2
b2 2 2
2
i.e., 2 ๏€ฝ 1 ๏€ญ 2 ๏€ฝ 2 ๏€จ a ๏€ญ x ๏€ฉ (or ) y ๏€ฝ 2 ๏€จ a ๏€ญ x ๏€ฉ
b
a
a
a
๏œy ๏€ฝ๏‚ฑ
b 2
a ๏€ญ x2
a
Hence the region of integration R can be expressed as
๏€ญ a ๏‚ฃ x ๏‚ฃ a,
๏€ญb 2
b 2
a ๏€ญ x2 ๏‚ฃ y ๏‚ฃ
a ๏€ญ x2
a
a
๏œ ๏ƒฒ๏ƒฒ ๏€จ x ๏€ซ y ๏€ฉ dx dy ๏€ฝ ๏ƒฒ
2
2
a
x ๏€ฝ๏€ญ a
R
๏€ฝ 2๏ƒฒ
a
x ๏€ฝ๏€ญ a
a2 ๏€ญ x2
a
y ๏€ฝ๏€ญb a2 ๏€ญ x2
a
๏ƒฒ
b
๏ƒฒ
b
a
y ๏€ฝ0
a2 ๏€ญ x2
๏€จ x ๏€ซ y ๏€ฉ dx dy
2
2
b
3
a
๏€จ x ๏€ซ y ๏€ฉ dx dy ๏€ฝ 2๏ƒฒ๏€ญa ๏ƒฆ๏ƒง๏ƒจ x2 y ๏€ซ y 3 ๏ƒถ๏ƒท๏ƒธ
0
2
a
2
a2 ๏€ญ x2
3 ๏ƒน
a ๏ƒฉ
b3
๏€ฝ 2๏ƒฒ ๏ƒช x 2 . b a 2 ๏€ญ x 2 ๏€ซ 3 ๏€จ a 2 ๏€ญ x 2 ๏€ฉ 2 ๏ƒบ dx
a
๏€ญa
3a
๏ƒซ
๏ƒป
3 ๏ƒน
a๏ƒฉ
b3
๏€ฝ 4๏ƒฒ ๏ƒช b x 2 a 2 ๏€ญ x 2 ๏€ซ 3 ๏€จ a 2 ๏€ญ x 2 ๏€ฉ 2 ๏ƒบ dx
a
0
3a
๏ƒซ
๏ƒป
Changing Cartesian to polar co-ordinates
put
x ๏€ฝ a sin ๏ฑ ๏ƒž dx ๏€ฝ a cos ๏ฑ d๏ฑ
x
x
๏€ฝ sin ๏ฑ ๏ƒž ๏ฑ ๏€ฝ sin ๏€ญ1
a
a
If x ๏‚ฎ 0, Then ๏ฑ ๏‚ฎ 0 and if x ๏‚ฎ a, Then ๏ฑ ๏‚ฎ
๏ฐ
2
๏ฐ ๏ƒฉ
๏ƒน
b3
๏€ฝ 4๏ƒฒ 2 ๏ƒช b .a 2 sin 2 ๏ฑ .a cos ๏ฑ ๏€ซ 3 .a3 cos3 ๏ฑ ๏ƒบ a cos ๏ฑ d๏ฑ
a
0
3a
๏ƒซ
๏ƒป
๏ฐ ๏ƒฉ
๏ƒน
๏ƒฉ
ab3
1 1 ๏ฐ ab3 3 1 ๏ฐ ๏ƒน
๏€ฝ 4๏ƒฒ 2 ๏ƒช a3b sin 2 ๏ฑ cos2 ๏ฑ ๏€ซ
cos4 ๏ฑ ๏ƒบ d๏ฑ ๏€ฝ 4 ๏ƒช a3b.
. ๏€ซ
. . .
0
3
42 2
3 4 2 2 ๏ƒบ๏ƒป
๏ƒซ
๏ƒป
๏ƒซ
๏ƒฉ
๏ƒช
๏ƒช
๏ƒช
๏ƒซ
1 ๏ฐ๏ƒน
. ๏ƒบ
n ๏€ญ1
n๏€ญ3
m
n
2
๏ƒฒ0 sin ๏ฑ cos ๏ฑ d๏ฑ ๏€ฝ m ๏€ซ n . m ๏€ซ n ๏€ญ 2 ......... m2 ๏ƒบ
๏ƒบ
๏ƒป
๏ฐ
2
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
127
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
4๏ฐ 3
a b ๏€ซ ab3 ๏€ฉ
๏€จ
16
๏€ฝ
๏ฐ ab
๏€จa ๏€ซ b ๏€ฉ
4
๏€ฝ
2
2
Double integrals in polar co-ordinates:
๏ฐ
a sin ๏ฑ
rdrd๏ฑ
0
0
a2 ๏€ญ r 2
Evaluate ๏ƒฒ 4 ๏ƒฒ
1.
๏ฐ
a sin ๏ฑ
0
0
Sol. ๏ƒฒ 4 ๏ƒฒ
๏ฐ ๏ƒฌ a sin ๏ฑ
๏ฐ ๏ƒฌ a sin ๏ฑ
๏ƒผ
๏ƒผ
r
๏€ญ2r
๏€ฝ ๏ƒฒ 4 ๏ƒญ๏ƒฒ
dr ๏ƒฝd๏ฑ ๏€ฝ ๏€ญ1 ๏ƒฒ 4 ๏ƒญ๏ƒฒ
dr ๏ƒฝ d๏ฑ
2
2
2
2
2
2
2
0
0
0
0
a ๏€ญr
a ๏€ญr
a ๏€ญr
๏ƒฎ
๏ƒพ
๏ƒฎ
๏ƒพ
rdrd๏ฑ
๏€ฝ
๏€ญ1 ๏ฐ 4
2
2 ๏ƒฒ0
๏€ฝ ๏€จ ๏€ญa ๏€ฉ ๏ƒฒ
๏ฐ
๏€จ a ๏€ญr ๏€ฉ
2
2
a sin ๏ฑ
๏ฐ
d๏ฑ ๏€ฝ ๏€จ ๏€ญ1๏€ฉ ๏ƒฒ 4 2 ๏ƒฉ a 2 ๏€ญ a 2 sin 2 ๏ฑ ๏€ญ a 2 ๏€ญ 0 ๏ƒน d๏ฑ
0
๏ƒซ
๏ƒป
0
๏ฐ
๏€จ cos๏ฑ ๏€ญ 1๏€ฉ d๏ฑ ๏€ฝ ๏€จ ๏€ญa ๏€ฉ๏€จ sin ๏ฑ ๏€ญ ๏ฑ ๏€ฉ0
0
4
4
๏€ฝ ๏€จ ๏€ญa ๏€ฉ ๏ƒฉ ๏ƒฉsin ๏ฐ ๏€ญ ๏ฐ ๏ƒน ๏€ญ ๏€จ 0 ๏€ญ 0 ๏€ฉ ๏ƒน
4
4๏ƒป
๏ƒซ๏ƒซ
๏ƒป
๏€ฝ ๏€จ ๏€ญa ๏€ฉ ๏ƒฉ๏ƒช 1 ๏€ญ ๏ฐ ๏ƒน๏ƒบ ๏€ฝ 2 ๏ƒฉ๏ƒช๏ฐ ๏€ญ 1 ๏ƒน๏ƒบ
4๏ƒป
2
2๏ƒป
๏ƒซ
๏ƒซ 4
2. Evaluate โˆฌ ๐’“๐Ÿ‘ ๐’…๐’“๐’…๐œฝ over the area included between the circles ๐’“ = ๐Ÿ ๐’”๐’Š๐’ ๐œฝ and ๐’“ =
๐Ÿ’ ๐’”๐’Š๐’ ๐œฝ
Sol:
The region of integration R is shown shaded .Here
๐‘Ÿ varies from ๐‘ƒ(๐‘Ÿ = 2 ๐‘ ๐‘–๐‘› ๐œƒ) ๐‘ก๐‘œ ๐‘„(๐‘Ÿ = 4 ๐‘ ๐‘–๐‘› ๐œƒ) and to cover
the whole region varies ๐œƒ from 0 to π
๐œ‹
4 sin ๐œƒ
∴ โˆฌ ๐‘Ÿ 3 ๐‘‘๐‘Ÿ๐‘‘๐œƒ = ∫ ∫
0
๐‘Ÿ 3 ๐‘‘๐‘Ÿ๐‘‘๐œƒ
๐‘Ÿ=2 sin ๐œƒ
๐œ‹
4 sin ๐œƒ
= ∫0 {∫๐‘Ÿ=2 sin ๐œƒ ๐‘Ÿ 3 ๐‘‘๐‘Ÿ} ๐‘‘๐œƒ
๐‘Ÿ4
๐œ‹
= ∫0 ( 4 )
1
4 sin ๐œƒ
2 sin ๐œƒ
๐‘‘๐œƒ
๐œ‹
= 4 ∫0 (256๐‘ ๐‘–๐‘›4 ๐œƒ − 16๐‘ ๐‘–๐‘›4 ๐œƒ ) ๐‘‘๐œƒ
๐œ‹
= 60∫0 ๐‘ ๐‘–๐‘›4 ๐œƒ ๐‘‘๐œƒ
2๐‘Ž
๐‘Ž
[โˆต ∫ ๐‘“ (๐‘ฅ )๐‘‘๐‘ฅ = 2 ∫ ๐‘“ (๐‘ฅ)๐‘‘๐‘ฅ , ๐‘–๐‘“ ๐‘“ (2๐‘Ž − ๐‘ฅ ) = ๐‘“(๐‘ฅ)]
0
0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
128
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
๐œ‹/2
3×1
๐œ‹
45๐œ‹
4a
2 ax
๐‘ ๐‘–๐‘›4 ๐œƒ ๐‘‘๐œƒ = 120×4×2 . 2 = 2
= 60× 2 ∫0
Change of order of Integration:
1. Change the order of Integration and evaluate
Sol.
๏ƒฒ ๏ƒฒ
x ๏€ฝ0 y ๏€ฝ x
2
dy dx
4a
x2
In the given integral for a fixed ๐‘ฅ, ๐‘ฆ varies from
to 2 ax and then ๐‘ฅ varies from
4a
0 ๐‘ก๐‘œ 4๐‘Ž.
x2
๐‘Ž๐‘›๐‘‘ y ๏€ฝ 2 ax
4a
๐ฟ๐‘’๐‘ก ๐‘ข๐‘  ๐‘‘๐‘Ÿ๐‘Ž๐‘ค ๐‘กโ„Ž๐‘’ ๐‘๐‘ข๐‘Ÿ๐‘ฃ๐‘’๐‘  y ๏€ฝ
The region of integration is the shaded region in diagram.
The given integral is ๏€ฝ
4a
๏ƒฒ ๏ƒฒ
2 ax
x ๏€ฝ0 y ๏€ฝ x
dy dx
2
4a
Changing the order of integration, we must fix ๐‘ฆ first, for a fixed ๐‘ฆ, ๐‘ฅ varies from y 2
4a
๐‘ก๐‘œ 4ay
and then ๐‘ฆ varies from 0 ๐‘ก๐‘œ 4๐‘Ž.Hence the integral is equal to
4a
๏ƒฒ ๏ƒฒ
2 ay
y ๏€ฝ0 x ๏€ฝ y
2
4a
dx dy ๏€ฝ ๏ƒฒ
๏€ฝ๏ƒฒ
๏ƒฉ 2 ay
๏ƒน
dx
2
y
๏ƒบ๏ƒปdy
y ๏€ฝ 0 ๏ƒช ๏ƒฒx ๏€ฝ
4a
๏ƒซ
4a
4a
y ๏€ฝ0
๏› x๏
2 ay
x๏€ฝ y
2
4a
dy ๏€ฝ ๏ƒฒ
๏ƒฉ
y 2 ๏ƒนd y
2
ay
๏€ญ
4a ๏ƒบ๏ƒป
y ๏€ฝ0 ๏ƒช
๏ƒซ
4a
4a
3
๏ƒฉ
y 2 1 y3 ๏ƒน
๏ƒช
๏€ฝ 2 a.
๏€ญ . ๏ƒบ
3
4a 3 ๏ƒบ
๏ƒช
๏ƒซ
2
๏ƒป0
4
32
16
1
16
๏€ฝ . a .4a 4a ๏€ญ
.64a 3 ๏€ฝ a 2 ๏€ญ a 2 ๏€ฝ a 2
3
3
3
12a
3
a
2
2
2. Change the order of integration and evaluate ๏€ฝ ๏ƒฒ ๏ƒฒx ๏€จ x ๏€ซ y ๏€ฉ dx dy
a
0
Sol. In the given integral for a fixed ๐‘ฅ, ๐‘ฆ varies from
DEPARTMENT OF HUMANITIES & SCIENCES
x
๐‘ก๐‘œ
a
x
a
x
๐‘Žnd then ๐‘ฅ varies from 0 ๐‘ก๐‘œ ๐‘Ž
a
©MRCET (EAMCET CODE: MLRD)
129
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
๐ป๐‘’๐‘›๐‘๐‘’ ๐‘ค๐‘’ ๐‘ โ„Ž๐‘Ž๐‘™๐‘™ ๐‘‘๐‘Ÿ๐‘Ž๐‘ค ๐‘กโ„Ž๐‘’ ๐‘๐‘ข๐‘Ÿ๐‘ฃ๐‘’๐‘  y ๏€ฝ
x
x
๐‘Ž๐‘›๐‘‘ y ๏€ฝ
a
a
๐‘–. ๐‘’. ๐‘Ž๐‘ฆ = ๐‘ฅ ๐‘Ž๐‘›๐‘‘ ๐‘Ž๐‘ฆ2= ๐‘ฅ
We get ay ๏€ฝ ay 2
๏ƒž ay ๏€ญ ay 2 ๏€ฝ 0 ๏ƒž ay ๏€จ1 ๏€ญ y ๏€ฉ ๏€ฝ 0 ๏ƒž y ๏€ฝ 0, y ๏€ฝ 1
If y=0, x=0 if y=1, x=a
The shaded region is the region of integration. The given integral is
a
๏ƒฒ ๏ƒฒ
y๏€ฝ x
x ๏€ฝ0 y ๏€ฝ x
a
a
๏€จ x ๏€ซ y ๏€ฉdx dy
2
2
Changing the order of integration, we must fix y first. For a fixed ๐‘ฆ, ๐‘ฅ varies from ay2
to ay and then ๐‘ฆ varies from 0 to 1.
Hence the given integral, after change of the order of integration becomes
1
๏ƒฒ ๏ƒฒ
ay
y ๏€ฝ 0 x ๏€ฝ ay 2
๏€จ x ๏€ซ y ๏€ฉdx dy ๏€ฝ ๏ƒฒy ๏€ฝ0 ๏ƒฉ๏ƒช๏ƒซ ๏ƒฒx๏€ฝay ๏€จ x2 ๏€ซ y 2 ๏€ฉ dx ๏ƒน๏ƒบ๏ƒป dy
1
2
ay
2
2
ay
๏ƒฆ x3
๏ƒถ
๏€ฝ ๏ƒฒ ๏ƒง ๏€ซ xy 2 ๏ƒท
dy
y ๏€ฝ0
3
2
๏ƒจ
๏ƒธ x ๏€ฝay
1
๏ƒฆ a3 y 3
๏ƒถ
a3 y 6
3
๏€ซ
ay
๏€ญ
๏€ญ ay 4 ๏ƒท dy
๏ƒง
y ๏€ฝ0
3
๏ƒจ 3
๏ƒธ
๏€ฝ๏ƒฒ
1
1
๏ƒฆ a3 y 4 ay 4 a3 y 7 ay 5 ๏ƒถ
๏€ฝ๏ƒง
๏€ซ
๏€ญ
๏€ญ
๏ƒท
4
21
5 ๏ƒธ y ๏€ฝ0
๏ƒจ 12
a3 a a3 a a3 a
๏€ฝ ๏€ซ ๏€ญ ๏€ญ ๏€ฝ ๏€ซ
12 4 21 5 28 20
1 2๏€ญ x
3. Change the order of integration in ๏ƒฒ ๏ƒฒ xydxdy and hence evaluate the double integral.
0 x2
Sol.
In the given integral for a fixed ๐‘ฅ, ๐‘ฆ varies from ๐‘ฅ2 ๐‘ก๐‘œ 2 − ๐‘ฅ and then ๐‘ฅ varies from 0
to 1. Hence we shall draw the curves ๐‘ฆ = ๐‘ฅ2 ๐‘Ž๐‘›๐‘‘ ๐‘ฆ = 2 − ๐‘ฅ.
The line ๐‘ฆ = 2 − ๐‘ฅ passes through (0, 2), (2, 0)
Solving ๐‘ฆ = ๐‘ฅ2, ๐‘ฆ = 2 − ๐‘ฅ
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
130
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
Then we get, x 2 ๏€ฝ 2 ๏€ญ x ๏ƒž x 2 ๏€ซ x ๏€ญ 2 ๏€ฝ 0 ๏ƒž x 2 ๏€ซ 2 x ๏€ญ x ๏€ญ 2 ๏€ฝ 0
๏ƒž x ๏€จ x ๏€ซ 2๏€ฉ ๏€ญ 1๏€จ x ๏€ซ 2๏€ฉ ๏€ฝ 0 ๏ƒž ๏€จ x ๏€ญ 1๏€ฉ๏€จ x ๏€ซ 2๏€ฉ ๏€ฝ 0 ๏ƒž x ๏€ฝ 1, ๏€ญ2
If x ๏€ฝ 1, y ๏€ฝ 1
If x ๏€ฝ ๏€ญ2, y ๏€ฝ 4
Hence the points of intersection of the curves are (-2, 4) (1, 1)
The Shaded region in the diagram is the region of intersection.
Changing the order of integration, we must fix ๐‘ฆ, for the region within OACO for a
fixed ๐‘ฆ, ๐‘ฅ varies from 0 ๐‘ก๐‘œ
y
Then ๐‘ฆ varies from 0 to 1
For the region within CABC, for a fixed ๐‘ฆ, ๐‘ฅ varies from 0 ๐‘ก๐‘œ 2 − ๐‘ฆ, then ๐‘ฆ varies
from
1 to 2
1
2๏€ญ x
0
x
Hence ๏ƒฒ ๏ƒฒ 2 xy dy dx ๏€ฝ ๏ƒฒ๏ƒฒ xy dx dy ๏€ซ ๏ƒฒ๏ƒฒ xy dx dy
OACO
๏€ฝ๏ƒฒ
1
y ๏€ฝ0
CABC
๏ƒฉ y xdx ๏ƒน y dy ๏€ซ 2 ๏ƒฉ 2๏€ญ y x dx ๏ƒน y dy
๏ƒฒy๏€ฝ1 ๏ƒช๏ƒซ๏ƒฒx๏€ฝ0 ๏ƒบ๏ƒป
๏ƒช๏ƒซ ๏ƒฒx ๏€ฝ0
๏ƒบ๏ƒป
2๏€ญ y
y
2
2 ๏ƒฆ x ๏ƒถ
๏ƒฆ x2 ๏ƒถ
๏€ฝ ๏ƒฒ ๏ƒง ๏ƒท y dy ๏€ซ ๏ƒฒ ๏ƒง ๏ƒท y dy
y ๏€ฝ0
y ๏€ฝ1
๏ƒจ 2 ๏ƒธ x ๏€ฝ0
๏ƒจ 2 ๏ƒธ x ๏€ฝ0
1
2 ๏€จ2 ๏€ญ y๏€ฉ
y
๏€ฝ๏ƒฒ
. y dy ๏€ซ ๏ƒฒ
y dy
y ๏€ฝ0 2
y ๏€ฝ1
2
2
1
๏€ฝ
1 1 2
1 2
y dy ๏€ซ .๏ƒฒ ๏€จ 4 y ๏€ญ 4 y 2 ๏€ซ y 3 ๏€ฉ dy
๏ƒฒ
2 y ๏€ฝ0
2 y ๏€ฝ1
1
2
1 ๏ƒฆ y3 ๏ƒถ 1 ๏ƒฉ 4 y 2 4 y3 y 4 ๏ƒน
๏€ฝ .๏ƒง ๏ƒท ๏€ซ . ๏ƒช
๏€ญ
๏€ซ ๏ƒบ
2 ๏ƒจ 3 ๏ƒธ0 2 ๏ƒซ 2
3
4 ๏ƒป1
1 1 1
๏€ฝ . ๏€ซ ๏ƒฉ 2.4 ๏€ญ 2.1 ๏€ญ 4 ๏€จ 8 ๏€ญ 1๏€ฉ ๏€ซ 1 ๏€จ16 ๏€ญ 1๏€ฉ ๏ƒน
3
4
๏ƒป
2 3 2๏ƒซ
1 1 ๏ƒฉ 28 15 ๏ƒน 1 1 ๏ƒฉ 72 ๏€ญ 112 ๏€ซ 45 ๏ƒน
๏€ฝ ๏€ซ ๏ƒช6 ๏€ญ ๏€ซ ๏ƒบ ๏€ฝ ๏€ซ ๏ƒช
๏ƒบ๏ƒป
6 2๏ƒซ
3 4 ๏ƒป 6 2๏ƒซ
12
๏€ฝ
1 1 ๏ƒฉ 5 ๏ƒน 4๏€ซ5 9 3
๏€ซ
๏€ฝ
๏€ฝ
๏€ฝ
6 2 ๏ƒช๏ƒซ12 ๏ƒบ๏ƒป
24
24 8
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
131
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
1
4. Change of the order of integration
๏ƒฒ๏ƒฒ
1๏€ญ x2
0 0
y 2 dx dy
Sol: Now limits are ๐‘ฆ = 0 ๐‘ก๐‘œ 1๐‘Ž๐‘›๐‘‘ x ๏€ฝ 0 to 1 ๏€ญ y 2
put y ๏€ฝ sin ๏ฑ
1 ๏€ญ y 2 ๏€ฝ cos ๏ฑ
dy ๏€ฝ cos ๏ฑ d๏ฑ
1
๏€ฝ ๏ƒฒ y 2 1 ๏€ญ y 2 dy
0
๏ฐ
๏ฐ
๏ฐ
0
0
0
๏€ฝ ๏ƒฒ 2 sin 2 ๏ฑ cos 2 ๏ฑ d๏ฑ ๏€ฝ ๏ƒฒ 2 sin 2 ๏ฑ d๏ฑ ๏€ญ ๏ƒฒ 2 sin 4 ๏ฑ d๏ฑ
๏€ฝ
๏€จ ๏€ฉ
๏€จ ๏€ฉ
1 ๏ฐ
3 1
๏€ญ . ๏ฐ ๏€ฝ๏ฐ
2
16
2
4 2 2
Change of variables:
The variables ๐‘ฅ, ๐‘ฆ in ๏ƒฒ๏ƒฒ f ๏€จ x, y ๏€ฉdx dy are changed to ๐‘ข, ๐‘ฃ with the help of the relations
R
x ๏€ฝ f1 ๏€จ u, v ๏€ฉ , y ๏€ฝ f 2 ๏€จu, v ๏€ฉ then the double integral is transferred into
๏‚ถ ๏€จ x, y ๏€ฉ
๏ƒฒ๏ƒฒ f ๏ƒฉ๏ƒซ f ๏€จ u, v ๏€ฉ , f ๏€จ u, v ๏€ฉ๏ƒน๏ƒป ๏‚ถ ๏€จ u, v ๏€ฉ du dv
1
2
R1
Where R1 is the region in the ๐‘ข ๐‘ฃ plane, corresponding to the region R in the ๐‘ฅ๐‘ฆ −plane.
Changing from Cartesian to polar co-ordinates:
x ๏€ฝ r cos ๏ฑ , y ๏€ฝ r sin ๏ฑ
๏‚ถx
๏ƒฆ ๏€จ x, y ๏€ฉ ๏ƒถ ๏‚ถr
๏‚ถ ๏ƒง๏ƒง
๏ƒท๏ƒท ๏€ฝ
๏ƒจ ๏€จ r ,๏ฑ ๏€ฉ ๏ƒธ ๏‚ถy
๏‚ถr
๏‚ถx
cos ๏ฑ
๏‚ถ๏ฑ
๏€ฝ
๏‚ถy
sin ๏ฑ
๏‚ถ๏ฑ
๏€ญr sin ๏ฑ
r cos ๏ฑ
๏€ฝ r ๏€จ cos 2 ๏ฑ ๏€ซ sin 2 ๏ฑ ๏€ฉ ๏€ฝ r
๏œ ๏ƒฒ๏ƒฒ f ๏€จ x, y ๏€ฉdx dy ๏€ฝ ๏ƒฒ๏ƒฒ f ๏€จ r cos ๏ฑ , r sin ๏ฑ ๏€ฉr dr d๏ฑ
R
R1
Note: In polar form ๐‘‘๐‘ฅ ๐‘‘๐‘ฆ is replaced by r dr d๏ฑ
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
132
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
PROBLEMS:
๏‚ฅ
๏‚ฅ
0
0
1. Evaluate the integral by changing to polar co-ordinates ๏ƒฒ ๏ƒฒ e
Sol.
๏€จ
๏€ญ x2 ๏€ซ y 2
๏€ฉ
dx dy
The limits of ๐‘ฅ and ๐‘ฆ are both from 0 to ๏‚ฅ .
๏œ The region is in the first quadrant where ๐‘Ÿ varies from 0 to ๏‚ฅ and ๏ฑ varies from
0 to ๏ฐ
2
Substituting x ๏€ฝ r cos ๏ฑ , y ๏€ฝ r sin ๏ฑ and dx dy ๏€ฝ r dr d๏ฑ
๏‚ฅ
๏‚ฅ
0
0
Hence ๏ƒฒ ๏ƒฒ e
๏€จ
๏€ญ x2 ๏€ซ y 2
๏€ฉ dx dy ๏€ฝ ๏ฐ 2
๏ƒฒ๏ฑ ๏ƒฒ
๏‚ฅ
๏€ฝ0 r ๏€ฝ0
e ๏€ญ r r dr d๏ฑ
2
Put r 2 ๏€ฝ t
๏ƒž 2rdr ๏€ฝ dt
๏ƒž r dr ๏€ฝ dt
2
Where r ๏€ฝ 0 ๏ƒž t ๏€ฝ 0 and r ๏€ฝ ๏‚ฅ ๏ƒž t ๏€ฝ ๏‚ฅ
๏‚ฅ
๏‚ฅ
0
0
๏œ๏ƒฒ ๏ƒฒ e
๏€จ
๏€ญ x2 ๏€ซ y 2
๏€ฉ
๏ฐ
๏‚ฅ
1 ๏€ญt
e dt d๏ฑ
๏ฑ ๏€ฝ0 t ๏€ฝ0 2
dx dy ๏€ฝ ๏ƒฒ 2 ๏ƒฒ
๏ฐ
๏€ฝ๏ƒฒ 2
0
๏€ฝ
๏€ญ1 ๏€ญ t ๏‚ฅ
๏€จ e ๏€ฉ 0 d๏ฑ
2
๏ฐ
๏€ญ1 ๏ฐ 2
1
1
๏€จ 0 ๏€ญ 1๏€ฉ d๏ฑ ๏ƒž ๏€จ๏ฑ ๏€ฉ0 2 ๏€ฝ ๏ฐ 2 ๏€ฝ ๏ฐ 4
๏ƒฒ
0
2
2
2
a
2. Evaluate the integral by changing to polar co-ordinates
Sol.
The limits for ๐‘ฅ are x=0 to
๏ƒฒ๏ƒฒ
0
0
a2 ๏€ญ y 2
๏€จ x ๏€ซ y ๏€ฉdx dy
2
2
x ๏€ฝ a2 ๏€ญ y2
๏ƒž x2 ๏€ซ y 2 ๏€ฝ a2
๏œ The given region is the first quadrant of the circle.
By changing to polar co-ordinates
x ๏€ฝ r cos ๏ฑ , y ๏€ฝ r sin ๏ฑ , dx dy ๏€ฝ r dr d๏ฑ
Here ‘r’ varies from 0 to a and '๏ฑ ' varies from 0 to ๏ฐ
a
๏œ๏ƒฒ ๏ƒฒ
0
0
a2 ๏€ญ y 2
๏ฐ
2
๏€จ x ๏€ซ y ๏€ฉ dx dy ๏€ฝ ๏ƒฒ ๏ƒฒ r rdrd๏ฑ
2
2
2
a
2
๏ฑ ๏€ฝ0 r ๏€ฝ0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
133
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
๏€ฝ๏ƒฒ
๏ฐ
a
2
0
๏€ฝ๏ฐ
๏ฐ
๏ƒฆ r4 ๏ƒถ
a4
2
๏ƒง ๏ƒท d๏ฑ ๏€ฝ ๏€จ๏ฑ ๏€ฉ0
4
4
๏ƒจ ๏ƒธ0
8
a4
x2 ๏€ญ y 2
5๏ƒถ
2 ๏ƒฆ๏ฐ
dx
dy
๏€ฝ
8
a
๏€ญ
3. Show that ๏ƒฒ0 ๏ƒฒy 2
๏ƒง
๏ƒท
2
2
4a x ๏€ซ y
๏ƒจ 2 3๏ƒธ
4a
Sol.
y
The region of integration is given by x ๏€ฝ y
2
4a
, x ๏€ฝ y and ๐‘ฆ = 0, ๐‘ฆ = 4๐‘Ž.
i.e., The region is bounded by the parabola ๐‘ฆ2= 4๐‘Ž๐‘ฅ and the straight line ๐‘ฅ = ๐‘ฆ.
Let x ๏€ฝ r cos ๏ฑ , y ๏€ฝ r sin ๏ฑ .Then dx dy ๏€ฝ rdrd๏ฑ
The limits for r are ๐‘Ÿ = 0 at O and for P on the parabola
r 2 sin 2 ๏ฑ ๏€ฝ 4a ๏€จ r cos ๏ฑ ๏€ฉ ๏ƒž r ๏€ฝ
4a cos ๏ฑ
sin 2 ๏ฑ
For the line y=x, slope m=1 i.e., Tan๏ฑ ๏€ฝ 1,๏ฑ ๏€ฝ ๏ฐ
The limits for ๏ฑ : ๏ฐ
4
๏‚ฎ๏ฐ
4
2
Also x 2 ๏€ญ y 2 ๏€ฝ r 2 ๏€จ cos 2 ๏ฑ ๏€ญ sin 2 ๏ฑ ๏€ฉ and x 2 ๏€ซ y 2 ๏€ฝ r 2
๏ฐ
4 a cos๏ฑ
x2 ๏€ญ y 2
2
sin 2 ๏ฑ
๏œ ๏ƒฒ ๏ƒฒy2
dx
dy
๏€ฝ
cos2 ๏ฑ ๏€ญ sin 2 ๏ฑ ๏€ฉrdrd๏ฑ
๏€จ
2
2
๏ƒฒ
๏ƒฒ
๏ฐ
0
๏ฑ
๏€ฝ
r
๏€ฝ
0
4a x ๏€ซ y
4
4a
y
4 a cos๏ฑ
๏ƒฆ r2 ๏ƒถ
๏€ฝ ๏ƒฒ 2๏ฐ ๏€จ cos 2 ๏ฑ ๏€ญ sin 2 ๏ฑ ๏€ฉ ๏ƒง ๏ƒท
๏ฑ๏€ฝ 4
๏ƒจ 2 ๏ƒธ0
๏ฐ
๏ฐ
๏€ฝ 8a 2 ๏ƒฒ๏ฐ 2 ๏€จ cos 2 ๏ฑ ๏€ญ sin 2 ๏ฑ ๏€ฉ
4
sin 2 ๏ฑ
d๏ฑ
cos 2 ๏ฑ
d๏ฑ
sin 4 ๏ฑ
๏ฐ
๏ƒฉ 3๏ฐ ๏€ญ 8 ๏ฐ ๏ƒน
๏ƒฆ๏ฐ 5๏ƒถ
๏€ซ ๏€ญ 1๏ƒบ ๏€ฝ 8a 2 ๏ƒง ๏€ญ ๏ƒท
๏€ฝ 8a 2 ๏ƒฒ๏ฐ 2 ๏€จ cos4 ๏ฑ ๏€ญ cot 2 ๏ฑ ๏€ฉ d๏ฑ ๏€ฝ 8a 2 ๏ƒช
4 ๏ƒป
4
๏ƒซ 12
๏ƒจ 2 3๏ƒธ
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
134
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
Triple integrals
If ๐‘ฅ1, ๐‘ฅ2 are constants. ๐‘ฆ1, ๐‘ฆ2 are functions of ๐‘ฅ and ๐‘ง1, ๐‘ง2 are functions of ๐‘ฅ and ๐‘ฆ, then ๐‘“(๐‘ฅ, ๐‘ฆ, ๐‘ง)
is first integrated with respect to ‘๐‘ง’ between the limits z1 and z2 keeping ๐‘ฅ and ๐‘ฆ fixed. The
resulting expression is integrated with respect to ‘๐‘ฆ’ between the limits ๐‘ฆ1 ๐‘Ž๐‘›๐‘‘ ๐‘ฆ2 keeping ๐‘ฅ
constant. The resulting expression is integrated with respect to ‘๐‘ฅ’ from x1 to x2
i.e. ๏ƒฒ๏ƒฒ๏ƒฒ f ๏€จ x, y, z ๏€ฉdx dy dz ๏€ฝ
v
b
y ๏€ฝ g2 ๏€จ x ๏€ฉ
z ๏€ฝ f2 ๏€จ x, y ๏€ฉ
x๏€ฝa
y ๏€ฝ g1 x
z ๏€ฝ f1 x , y
๏ƒฒ ๏ƒฒ ๏€จ ๏€ฉ ๏ƒฒ ๏€จ ๏€ฉ f ๏€จ x, y, z ๏€ฉ dz dy dx
PROBLEMS:
1๏€ญ x2
1
1. Evaluate
1
Sol.
๏ƒฒ๏ƒฒ
๏ƒฒ
0 0
๏ƒฒ ๏ƒฒ
1๏€ญ x2 ๏€ญ y 2
0
1๏€ญ x 2
๏ƒฒ
x ๏€ฝ0 y ๏€ฝ0
1๏€ญ x 2 ๏€ญ y 2
z ๏€ฝ0
๏€ฝ๏ƒฒ
1
๏€ฝ๏ƒฒ
1
x ๏€ฝ0
x ๏€ฝ0
dx ๏ƒฒ
dx ๏ƒฒ
xyz dx dy dz
1๏€ญ x 2
y ๏€ฝ0
1๏€ญ x 2
y ๏€ฝ0
xyz dx dy dz
dy ๏ƒฒ
1๏€ญ x 2 ๏€ญ y 2
z ๏€ฝ0
xyz dz
1๏€ญ x 2 ๏€ญ y 2
๏ƒฆ z2 ๏ƒถ
xy ๏ƒง ๏ƒท
๏ƒจ 2 ๏ƒธ z ๏€ฝ0
dy
๏€ฝ
1๏€ญ x2
1 1
dx
xy ๏€จ1 ๏€ญ x 2 ๏€ญ y 2 ๏€ฉ dy
๏ƒฒ
๏ƒฒ
x
๏€ฝ
0
y
๏€ฝ
0
2
๏€ฝ
1๏€ญ x2
1 1
dx
x ๏ƒฉ๏ƒซ๏€จ1 ๏€ญ x 2 ๏€ฉ y ๏€ญ y 3 ๏ƒน๏ƒป dy
๏ƒฒ
๏ƒฒ
x
๏€ฝ
0
y
๏€ฝ
0
2
1 1 ๏ƒฉ
y2 y4 ๏ƒน
๏€ฝ ๏ƒฒ x ๏ƒช๏€จ1 ๏€ญ x 2 ๏€ฉ ๏€ญ ๏ƒบ
2 x ๏€ฝ0 ๏ƒซ
2
4 ๏ƒป0
1๏€ญ x 2
1 1 ๏ƒฉ y 2 x2 y 2 y 4 ๏ƒน
๏€ฝ .๏ƒฒ x ๏ƒช ๏€ญ
๏€ญ ๏ƒบ
2 x ๏€ฝ0 ๏ƒซ 2
2
4 ๏ƒป0
1๏€ญ x 2
dx
dx
2
1 1
๏€ฝ .๏ƒฒ x ๏ƒฉ๏ƒช 2 ๏€จ1 ๏€ญ x 2 ๏€ฉ ๏€ญ 2 x 2 ๏€จ1 ๏€ญ x 2 ๏€ฉ ๏€ญ ๏€จ1 ๏€ญ x 2 ๏€ฉ ๏ƒน๏ƒบ dx
๏ƒป
8 x ๏€ฝ0 ๏ƒซ
1
1 1
1 ๏ƒฉ x2 2 x4 x6 ๏ƒน
๏€ฝ ๏ƒฒ ๏€จ x ๏€ญ 2 x3 ๏€ซ x 5 ๏€ฉ dx ๏€ฝ ๏ƒช ๏€ญ
๏€ซ ๏ƒบ
8 x ๏€ฝ0
8๏ƒซ 2
4
6 ๏ƒป0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
135
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
1๏ƒฆ 1 1 1๏ƒถ 1
๏€ฝ ๏ƒง ๏€ญ ๏€ซ ๏ƒท๏€ฝ
8 ๏ƒจ 2 2 6 ๏ƒธ 48
z
x๏€ซ z
๏€ญ1 0
x๏€ญ z
๏ƒฒ ๏ƒฒ ๏ƒฒ ๏€จ x ๏€ซ y ๏€ซ z ๏€ฉdx dy dz
1
2. Evaluate
1 z x๏€ซ z
๏ƒฒ ๏ƒฒ ๏ƒฒ ๏€จ x ๏€ซ y ๏€ซ y ๏€ฉ dx dydz
Sol:
๏€ญ1 0 x ๏€ญ z
x๏€ซ z
2
๏ƒฉ๏ƒฆ
๏ƒถ ๏ƒน
y
๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒช๏ƒง xy ๏€ซ
๏€ซ zy ๏ƒท ๏ƒบdx dz
2
๏€ญ1 0
๏ƒธ x ๏€ญ z ๏ƒบ๏ƒป
๏ƒช๏ƒซ๏ƒจ
1
z
๏ƒฉx๏€ซ z๏ƒน ๏ƒฉx๏€ญ z๏ƒน
๏€ฝ ๏ƒฒ ๏ƒฒ x๏€จ x ๏€ซ z๏€ฉ ๏€ญ x๏€จx ๏€ญ z๏€ฉ ๏€ซ ๏ƒช
๏€ญ
๏€ซ z ( x ๏€ซ z ) ๏€ญ z ( x ๏€ญ z )dx dz
๏€ญ1 0
๏ƒซ 2 ๏ƒบ๏ƒป ๏ƒช๏ƒซ 2 ๏ƒบ๏ƒป
1
2
z
2
1
z๏ƒฉ
1
๏ƒน
๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒช 2 z ( x ๏€ซ z ) ๏€ซ 4 xz ๏ƒบdx dz
๏€ญ1 0
2
๏ƒซ
๏ƒป
z
๏ƒฉ x2
x2 ๏ƒน
๏€ฝ 2๏ƒฒ ๏ƒช z. ๏€ซ z 2 x ๏€ซ z. ๏ƒบ dz
๏€ญ1
2 ๏ƒป0
๏ƒซ 2
1
1
๏ƒฉ z3
๏ƒฆ z4 ๏ƒถ
z3 ๏ƒน
๏€ฝ 2.๏ƒฒ ๏ƒช ๏€ซ z 3 ๏€ซ ๏ƒบdz ๏€ฝ 4. ๏ƒง ๏ƒท ๏€ฝ 0
๏€ญ1 2
2๏ƒป
๏ƒซ
๏ƒจ 4 ๏ƒธ ๏€ญ1
1
3. Evaluate∫ ∫๐‘ฝ ∫(๐’™๐’š + ๐’š๐’› + ๐’›๐’™)๐’…๐’™๐’…๐’š๐’…๐’›, where V is the region of space bounded by
planes ๐’™ = ๐ŸŽ, ๐’™ = ๐Ÿ, ๐’š = ๐ŸŽ, ๐’š = ๐Ÿ ๐’‚๐’๐’… ๐’› = ๐ŸŽ, ๐’› = ๐Ÿ‘.
Sol:
3
2
1
∫ ∫๐‘‰ ∫(๐‘ฅ๐‘ฆ + ๐‘ฆ๐‘ง + ๐‘ง๐‘ฅ )๐‘‘๐‘ฅ๐‘‘๐‘ฆ๐‘‘๐‘ง = ∫๐‘ง=0 ∫๐‘ฆ=0 ∫๐‘ฅ=0(๐‘ฅ๐‘ฆ + ๐‘ฆ๐‘ง + ๐‘ง๐‘ฅ )๐‘‘๐‘ฅ๐‘‘๐‘ฆ๐‘‘๐‘ง
๐‘ฅ2
3
2
3
2 ๐‘ฆ
3
๐‘ฆ2
๐‘ฅ2
= ∫๐‘ง=0 ∫๐‘ฆ=0( 2 ๐‘ฆ + ๐‘ฅ๐‘ฆ๐‘ง + 2 ๐‘ง)10 ๐‘‘๐‘ฆ๐‘‘๐‘ง
๐‘ง
= ∫๐‘ง=0 ∫0 ( 2 + ๐‘ฆ๐‘ง + 2) ๐‘‘๐‘ฆ๐‘‘๐‘ง
๐‘ฆ2
๐‘ง๐‘ฆ
2
=∫๐‘ง=0 ( 4 + 2 ๐‘ง + 2 ) ๐‘‘๐‘ง
0
3
= ∫๐‘ง=0(1 + 2๐‘ง + ๐‘ง)๐‘‘๐‘ง
3
= ∫๐‘ง=0(1 + 3๐‘ง)๐‘‘๐‘ง
3๐‘ง 2
3
27
33
= (๐‘ง + 2 ) = 3+ 2 = 2
0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
136
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
Applications of Multiple integrals:
Finding the area of a region using double integration:
The area of the region R bounded by given curves is given by
or
=
In polar form the area of the region R is
1. Find the area of the circle
Sol: Area of the plane region =
For the region R
X-various from − ๐‘Ž ๐‘ก๐‘œ ๐‘Ž
Y-various from -
to
=4
=4
=4
2. Find the area of the circle ๐’“ = ๐’‚
=4
=
Sol: Area of the circle =
=
=
=
=
3. Find the area of the cardiod ๐’“ = ๐’‚(๐Ÿ + ๐’„๐’๐’”๐œฝ)
Sol: Area=2
=2
=
=
(
)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
137
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
=
=
Finding the volume of a region using Triple integration:
Volume of the solid =
=
1. Find the volume of the Sphere
Sol: The sphere
is cut into 8 equal parts by three co-ordinates
Planes .Hence the volume of the sphere is equal to 8 times the volume of the solid bounded
๐‘๐‘ฆ ๐‘ฅ = 0, ๐‘ฆ = 0, ๐‘ง = 0 and
.
Z- varies from 0 to
Y- varies from 0 to
X-varies from 0 ๐‘ก๐‘œ ๐‘Ž
Required volume v=8
=8
=8
=8
=8
=8.
=8.
=4.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
138
MATHEMATICS -II
DOUBLE AND TRIPLE INTEGRALS
Change of variable in Triple integrals:
Let ๐‘ฅ = ๐›ท1(๐‘ข, ๐‘ฃ, ๐‘ค), ๐‘ฆ = ๐›ท2(๐‘ข, ๐‘ฃ, ๐‘ค), ๐‘ง = ๐›ท3(๐‘ข, ๐‘ฃ, ๐‘ค) be the relation between old variables
(๐‘ฅ, ๐‘ฆ, ๐‘ง) with the new variables (๐‘ข, ๐‘ฃ, ๐‘ค) of the new coordinates system .
Then
1. Change of variables from Cartesian to spherical co-ordinate system:
The relation between Cartesian co-ordinates
๐‘ฅ, ๐‘ฆ, ๐‘ง and spherical co-ordinates, ๐‘Ÿ, ๐œƒ, ั„ are
given by
When J=
Then
=
Cartesion to cylindrical co-ordinate system:
๐‘ฅ, ๐‘ฆ, ๐‘ง → ๐‘Ÿ, ั„ , ๐‘ง(๐‘œ๐‘Ÿ)๐œŒ, ั„, ๐‘ง
๐‘ฅ = ๐‘๐‘๐‘œ๐‘ ั„ , ๐‘ฆ = ๐‘ ๐‘–๐‘›ั„ , ๐‘ง = ๐‘ง
J=
=ρ.
1. Using spherical polar coordinates then the volume of the sphere
Sol: By changing into polar coordinates
Required volume =
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
139
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
=
=
=
4๐œ‹๐‘Ž 3
3
2. Evaluate
taken over the volume enclosed by the sphere
, by transforming into spherical polar coordinates
Sol:
=
=
=
3. Using cylindrical co-ordinates
taken over the volume bounded by
the xy -plane and the parabolid
.
Sol:
=
=
=
=
4 Evaluate
by changing to spherical polar coordinates.
Sol: Given region of integration is the volume of the sphere
octant
in the first
For which
=
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
140
DOUBLE AND TRIPLE INTEGRALS
MATHEMATICS -II
=
=
=
=
5. Using cylindrical co-ordinates, find the volume of the cylindrical with base radius
๐’‚ and height ๐’‰.
Sol:
J= r
Required volume=
=
=
=
6.Using cylindrical coordinates evaluate
taken over the region
Sol:
, J=r
Given integration=
=
DEPARTMENT OF HUMANITIES & SCIENCES
=
=
©MRCET (EAMCET CODE: MLRD)
141
VECTOR CALCULUS
MATHEMATICS -II
UNIT – V
VECTOR CALCULUS
INTRODUCTION
Scalar: A quantity which is completely specify by its magnitude only.
Ex: Time, Temperature.
Vector: A quantity which is completely specify by its magnitude and direction.
Ex: Force ,Velocity.
Position Vector: Let A and B are two vectors then the position vector of AB is
AB ๏€ฝ OB ๏€ญ OA .
If ๐‘Žฬ… = ๐‘Ž1 ๐‘– + ๐‘Ž2 ๐‘— + ๐‘Ž3 ๐‘˜ then |๐‘Žฬ…|=√๐‘Ž1 2 + ๐‘Ž2 2 + ๐‘Ž32
๐‘Žฬ…
If ๐‘Žฬ… is any vector then its unit vector is given by |๐‘Žฬ…|
Dot Product
๐‘Žฬ…. ๐‘ฬ…=|๐‘Žฬ…||๐‘ฬ…| cos๐œƒ where ๐œƒ is angle between two vectors
We know ๐‘–. ๐‘– = ๐‘—. ๐‘— = ๐‘˜. ๐‘˜ = 1 and ๐‘–. ๐‘— = ๐‘—. ๐‘˜ = ๐‘˜. ๐‘– = 0
if ฬ…๐‘Ž = ๐‘Ž1 ๐‘– + ๐‘Ž2 ๐‘— + ๐‘Ž3 ๐‘˜ , ๐‘ฬ… = ๐‘1 ๐‘– + ๐‘2 ๐‘— + ๐‘ ๐‘˜ then ๐‘Žฬ…. ๐‘ฬ… = ๐‘Ž1๐‘1+a2๐‘2+๐‘Ž3๐‘3
Cross Product
โž sin๐œƒ
๐‘Žฬ… ๐‘ฅ ๐‘ฬ… =|๐‘Žฬ…||๐‘ฬ…| ๐‘›
๐‘–
=|๐‘Ž1
๐‘1
๐‘—
๐‘Ž2
๐‘2
๐‘˜
๐‘Ž3 | since ๐‘– ๐‘ฅ ๐‘– = ๐‘— ๐‘ฅ ๐‘— = ๐‘˜ ๐‘ฅ ๐‘˜ = 0
๐‘3
i x j =k; j x k = i; k x i = j; j x i = - k; i x k =- j; k x j = i
Scalar and Vector Point Functions
Consider a region in three dimensional space. To each point P(x,y,z), suppose we associate a
unique real number (called scalar) say ๏ฆ. This ๏ฆ(x,y,z) is called a scalar point function. Scalar
point function defined on the region. Similarly if to each point P(x,y,z) we associate a unique
vector f (x,y,z), f is called vector point functions.
Examples:
For example take a heated solid. At each point P(x,y,z)of the solid, there will be temperature
T(x,y,z). This T is a scalar point function.
Suppose a particle (or a very small insect) is tracing a path in space. When it occupies a
position P(x,y,z) in space, it will be having some speed, say, v. This speed v is a scalar point
function.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
142
VECTOR CALCULUS
MATHEMATICS -II
Consider a particle moving in space. At each point P on its path, the particle will be having a
velocity v which is vector point function. Similarly, the acceleration of the particle is also a
vector point function.
Tangent vector to a curve in space
Consider an interval [a,b].
Let ๐‘ฅ = ๐‘ฅ(๐‘ก), ๐‘ฆ = ๐‘ฆ(๐‘ก), ๐‘ง = ๐‘ง(๐‘ก)be continuous and derivable for ๐‘Ž๏‚ฃ ๐‘ก ๏‚ฃ๐‘.
Then the set of all points (๐‘ฅ(๐‘ก), ๐‘ฆ(๐‘ก), ๐‘ง(๐‘ก)) is called a curve in a space.
Let A = (๐‘ฅ(๐‘Ž), ๐‘ฆ(๐‘Ž), ๐‘ง(๐‘Ž)) and B = (๐‘ฅ(๐‘), ๐‘ฆ(๐‘), ๐‘ง(๐‘)). These A,B are called the end points
of the curve. If A =B, the curve in said to be a closed curve.
Let P and Q be two neighbouring points on the curve.
Let
๏คr
PQ
is along the vector PQ. As Q→P, PQ and hence
tends to be along the tangent
๏คt
๏คt
Then
to the curve at P.
Hence
๏คr d r
dr
=
will be a tangent vector to the curve at P. (This
may not be a unit
๏คt ๏‚ฎ 0 ๏ค t
dt
dt
lt
vector)
Suppose arc length AP = s. If we take the parameter as the arc length parameter, we can
dr
observe that
is unit tangent vector at P to the curve.
ds
Vector Differential Operator
Def. The vector differential operator ๏ƒ‘(read as del) is defined as
๏ƒ‘ ๏‚บi
๏‚ถ
๏‚ถ
๏‚ถ
๏€ซ j ๏€ซk .
๏‚ถx
๏‚ถy
๏‚ถz
This operator possesses properties analogous to those of ordinary vectors as well as
differentiation operator.
We will define now some quantities known as “gradient”, “divergence” and “curl”
involving this operator ๏ƒ‘. We must note that this operator has no meaning by itself unless it
operates on some function suitably
Gradient of a Scalar Point Function
Let ๏ฆ(x,y,z) be a scalar point function of position defined in some region of space. Then the
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ซj
๏€ซk
vector function i
is known as the gradient of ๏ฆ or ๏ƒ‘๏ฆ
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒ‘๏ฆ= ( i
๏‚ถ
๏‚ถ
๏‚ถ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ซ j ๏€ซ k )๏ฆ = i
๏€ซj
๏€ซk
๏‚ถx
๏‚ถy
๏‚ถz
๏‚ถx
๏‚ถy
๏‚ถz
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
143
VECTOR CALCULUS
MATHEMATICS -II
Directional Derivative
Let ๏ฆ(๐‘ฅ, ๐‘ฆ, ๐‘ง) be a scalar function defined throughout some region of space. Let this function
have a value ๏ฆ at a point P whose position vector referred to the origin O is OP = r . Let
๏ฆ+Δ๏ฆ be the value of the function at neighbouring point Q. If
Δ r . Let Δr be the
gives a measure of the rate at which ๏ฆ change when we move from P to Q.
length of Δ .
The limiting value of
is called the derivative of ๏ฆ in the direction of PQ or
simply directional derivative of ๏ฆ at P and is denoted by d๏ฆ/dr.
The physical interpretation of ๏ƒ‘๏ฆ
The gradient of a scalar function ๏ฆ(x,y,z) at a point ๐‘ƒ(๐‘ฅ, ๐‘ฆ, ๐‘ง) ๐‘–s a vector along the normal to
the level surface ๏ฆ(๐‘ฅ, ๐‘ฆ, ๐‘ง) = ๐‘ at P and is in increasing direction. Its magnitude is equal to
the greatest rate of increase of ๏ฆ .
Greatest value of directional derivative of ๏† at a point P = |grad ๏ฆ| at that point.
NOTE:
๏€ญ
๏€ญ
๏€ญ
๏€ญ
๏€ญ
๏€ญ
๏€ญ
1.Let r = x i ๏€ซ y j ๏€ซ z k . Then d r ๏€ฝ dx i ๏€ซ dy j ๏€ซ dz k if ๏ฆ is any scalar point function, then
d๏ฆ ๏€ฝ
๏€จ
๏€ฉ
๏ƒฆ ๏‚ถ๏†
๏‚ถ๏†
๏‚ถ๏† ๏ƒถ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏ƒท. idx ๏€ซ jdy ๏€ซ kdz ๏€ฝ ๏ƒ‘๏†.d r
๏€ซj
๏€ซk
dx ๏€ซ
dy ๏€ซ
dz ๏€ฝ ๏ƒง๏ƒง i
๏‚ถy
๏‚ถz ๏ƒท๏ƒธ
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒจ ๏‚ถx
2. grad๏† at any point is a vector normal to the surface ๏†( x, y, z ) ๏€ฝ c through that point w
P( x, y, z ) where c is a constant.
3. The directional derivative of a scalar point function ๏ฆ at a point ๐‘ƒ(๐‘ฅ, ๐‘ฆ, ๐‘ง) in the direction
of a unit vector e is equal to e . grad ๏ฆ= e . ๏ƒ‘๏ฆ.
4.If ๐œƒ is angle between two surfaces ∅1 , ∅2 then
∇∅ .∇∅
Cos ๐œƒ = |∇∅1 ||∇∅2 |
1
1
๏ƒ‘๏ฆ.
5.Unit Normal vector of a surface ∅ is |∇∅|
PROBLEMS
1. Show that ๏ƒ‘[f(r)] =
๐’‡′ (๐’“)
๐’“
๐’“ where r = xi ๏€ซ yj ๏€ซ zk .
Sol:- Since r = xi ๏€ซ yj ๏€ซ zk , we have ๐‘Ÿ2= ๐‘ฅ2+๐‘ฆ2+๐‘ง2
Differentiating w.r.t. ‘๐‘ฅ’ partially, we get
2r
๏‚ถr
๏‚ถr x
๏‚ถr y ๏‚ถr z
๏€ฝ 2x ๏ƒž
๏€ฝ .Similarly
๏€ฝ ,
๏€ฝ
๏‚ถx
๏‚ถx r
๏‚ถy r ๏‚ถz r
๏ƒฆ ๏‚ถ
๏‚ถ
๏‚ถ๏ƒถ
๏‚ถr
x
๏€ซ j ๏€ซ k ๏ƒท๏ƒท f (r ) ๏€ฝ ๏ƒฅ i f 1 (r ) ๏€ฝ ๏ƒฅ i f 1 (r )
๏ƒ‘[๐‘“(๐‘Ÿ)] = ๏ƒง๏ƒง i
๏‚ถy
๏‚ถz ๏ƒธ
๏‚ถx
r
๏ƒจ ๏‚ถx
=
f 1 (r )
f 1 (r )
i
x
๏€ฝ
.r
๏ƒฅ
r
r
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
144
VECTOR CALCULUS
MATHEMATICS -II
1
r , ๏ƒ‘(๐‘Ÿn) = ๐‘›๐‘Ÿn−2 r .
r2
Note : From the above result, ๏ƒ‘(๐‘™๐‘œ๐‘” ๐‘Ÿ) =
2.Find the directional derivative of f = ๐’™๐’š + ๐’š๐’› + ๐’›๐’™ in the direction of vector
i ๏€ซ 2 j ๏€ซ 2k at the point (1,2,0).
Sol:- Given ๐‘“ = ๐‘ฅ๐‘ฆ + ๐‘ฆ๐‘ง + ๐‘ง๐‘ฅ.
Grad f = i
๏‚ถf
๏‚ถf
๏‚ถf
๏€ซ j
๏€ซz
๏€ฝ ( y ๏€ซ z )i ๏€ซ ( z ๏€ซ x) j ๏€ซ ( x ๏€ซ y )k
๏‚ถx
๏‚ถy
๏‚ถz
If e is the unit vector in the direction of the vector i ๏€ซ 2 j ๏€ซ 2k , then
i ๏€ซ 2 j ๏€ซ 2k
1
๏€ฝ (i ๏€ซ 2 j ๏€ซ 2k )
12 ๏€ซ 2 2 ๏€ซ 2 2 3
e๏€ฝ
Directional derivative of f along the given direction =
1
๏€ฝ i ๏€ซ 2 j ๏€ซ 2k . ๏€จ y ๏€ซ z ๏€ฉi ๏€ซ ๏€จz ๏€ซ x ๏€ฉ j ๏€ซ x ๏€ซ y k at (1,2,0)
3
๏€ฉ๏›
๏€จ
๏€ฉ๏
๏€จ
3. Find the directional derivative of the function ๐’™๐’š2+๐’š๐’›2+๐’›๐’™2 along the tangent to the
curve ๐’™ = ๐’•, ๐’š = ๐’•2, ๐’› = ๐’•3 at the point (1,1,1).
Sol: - Here ๐‘“ = ๐‘ฅ๐‘ฆ2+๐‘ฆ๐‘ง2+๐‘ง๐‘ฅ 2
๏ƒ‘f = i
๏‚ถf
๏‚ถf
๏‚ถf
๏€ซj
๏€ซk
= y 2 ๏€ซ 2 xz i ๏€ซ z 2 ๏€ซ 2 xy j ๏€ซ x 2 ๏€ซ 2 yz k
๏‚ถx
๏‚ถy
๏‚ถz
๏€จ
๏€ฉ ๏€จ
๏€ฉ ๏€จ
๏€ฉ
At (1,1,1) , ๏ƒ‘f = 3i ๏€ซ 3 j ๏€ซ 3 k
Let r be the position vector of any point on the curve ๐‘ฅ = ๐‘ก , ๐‘ฆ = ๐‘ก2, ๐‘ง = ๐‘ก3. then
r = xi ๏€ซ y j ๏€ซ z k ๏€ฝ ti ๏€ซ t 2 j ๏€ซ t 3 k
๏‚ถr
๏€ฝ i ๏€ซ 2tj ๏€ซ 3t 2 k ๏€ฝ ( i ๏€ซ 2 j ๏€ซ 3k ) at (1,1,1)
๏‚ถt
We know that
๏‚ถr
is the vector along the tangent to the curve.
๏‚ถt
Unit vector along the tangent = e e ๏€ฝ
i ๏€ซ 2 j ๏€ซ 3k
1 ๏€ซ 2 2 ๏€ซ 32
DEPARTMENT OF HUMANITIES & SCIENCES
๏€ฝ
i ๏€ซ 2 j ๏€ซ 3k
14
©MRCET (EAMCET CODE: MLRD)
145
VECTOR CALCULUS
MATHEMATICS -II
Directional derivative along the tangent = ๏ƒ‘f .e =
3
14
(1 ๏€ซ 2 ๏€ซ 3) ๏€ฝ
1
14
( i ๏€ซ 2 j ๏€ซ 3k ) .3 ( i ๏€ซ j ๏€ซ k )
18
14
4. Find the directional derivative of the function f = ๐’™2−๐’š2+๐Ÿ๐’›2 at the point P =(1,2,3) in
the direction of the line PQ where Q = (5,0,4).
Sol:- The position vectors of P and Q with respect to the origin are OP = i ๏€ซ 2 j ๏€ซ 3k and
OQ = 5 i ๏€ซ 4k ; PQ = OQ – OP = 4 i ๏€ญ 2 j ๏€ซ k
Let e be the unit vector in the direction of PQ . Then e ๏€ฝ
grad f = i
4i ๏€ญ 2 j ๏€ซ k
21
๏‚ถf
๏‚ถf
๏‚ถf
๏€ซj
๏€ซk
๏€ฝ 2 x i ๏€ญ 2 yj ๏€ซ 4 zk
๏‚ถx
๏‚ถy
๏‚ถz
The directional derivative of f at P (1,2,3) in the direction of PQ = e .๏ƒ‘f
=
1
21
(4 i ๏€ญ 2 j ๏€ซ k ) . (2 x i ๏€ญ 2 yj ๏€ซ 4 zk )
1
21
(8 x ๏€ซ 4 y ๏€ซ 4 z ) at (1, 2,3) ๏€ฝ
1
21
(28)
5. Find the greatest value of the directional derivative of the function f = x2yz3 at (2,1,-1).
Sol: we have
grad f = i
๏‚ถf
๏‚ถf
๏‚ถf
๏€ซj
๏€ซk
๏€ฝ 2 xyz3 i ๏€ซ x 2 z 3 j ๏€ซ 3x 2 yz 2 k = ๏€ญ 4i ๏€ญ 4 j ๏€ซ 12k at (2,1,-1).
๏‚ถx
๏‚ถy
๏‚ถz
Greatest value of the directional derivative of f = ๏ƒ‘f ๏€ฝ 16 ๏€ซ 16 ๏€ซ 144 = 4 11.
6.Find the directional derivative of ๐’™๐’š๐’›2+๐’™๐’› at (1, 1 ,1) in a direction of the normal to
the surface ๐Ÿ‘๐’™๐’š๐Ÿ + ๐’š = ๐’› at (0,1,1).
Sol:- Let f(x, y, z) ๏‚บ 3๐‘ฅ๐‘ฆ2+๐‘ฆ − ๐‘ง = 0
Let us find the unit normal e to this surface at (0,1,1). Then
๏‚ถf
๏‚ถf
๏‚ถf
๏€ฝ 3y 2 ,
๏€ฝ 6 xy ๏€ซ 1,
๏€ฝ ๏€ญ1.
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒ‘f = 3๐‘ฆ2i+(6๐‘ฅ๐‘ฆ+1)j-k
(๏ƒ‘f)(0,1,1) = 3i+j-k = n
e=
n 3i ๏€ซ j ๏€ญ k 3i ๏€ซ j ๏€ญ k
๏€ฝ
๏€ฝ
n
9 ๏€ซ1๏€ซ1
11
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
146
VECTOR CALCULUS
MATHEMATICS -II
Let ๐‘”(๐‘ฅ, ๐‘ฆ, ๐‘ง) = ๐‘ฅ๐‘ฆ๐‘ง2 +๐‘ฅ๐‘ง, then
๏‚ถg
๏‚ถg
๏‚ถg
๏€ฝ yz 2 ๏€ซ z ,
๏€ฝ xz 2 ,
๏€ฝ 2 xy ๏€ซ x
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒ‘๐‘” = (๐‘ฆ๐‘ง2+๐‘ง)๐‘– + ๐‘ฅ๐‘ง2๐‘— + (2๐‘ฅ๐‘ฆ๐‘ง + ๐‘ฅ)๐‘˜
And [๏ƒ‘g] (1,1,1) = 2i+j+3k
Directional derivative of the given function in the direction of e at (1,1,1) = ๏ƒ‘g. e
๏ƒฆ 3i ๏€ซ j ๏€ญ k ๏ƒถ 6 ๏€ซ 1 ๏€ญ 3 4
๏ƒท๏ƒท ๏€ฝ
๏€ฝ
=(2i+j+3k). ๏ƒง๏ƒง
11 ๏ƒธ
11
11
๏ƒจ
7.Evaluate the angle between the normal to the surface ๐’™๐’š = ๐’›2 at the points (4,1,2) and
(3,3,-3).
Sol:- Given surface is ๐‘“(๐‘ฅ, ๐‘ฆ, ๐‘ง) = ๐‘ฅ๐‘ฆ − ๐‘ง2
Let n1 and n 2 be the normal to this surface at (4,1,2) and (3,3,-3) respectively.
Differentiating partially, we get
๏‚ถf
๏‚ถf
๏‚ถf
๏€ฝ y,
๏€ฝ x,
๏€ฝ ๏€ญ2 z.
๏‚ถx
๏‚ถy
๏‚ถz
grad f = yi ๏€ซ xj ๏€ญ 2 zk
n1 = (grad f) at (4,1,2) = i ๏€ซ 4 j ๏€ญ 4k
cos ๏ฑ =
n1 .n2
n1 n2
๏€ฝ
๏€จi ๏€ซ 4 j ๏€ญ 4k ๏€ฉ . ๏€จ3i ๏€ซ 3 j ๏€ซ 6k ๏€ฉ
1 ๏€ซ 16 ๏€ซ 16
(3 ๏€ซ 12 ๏€ญ 24)
33 54
9 ๏€ซ 9 ๏€ซ 36
๏€ฝ
๏€ญ9
33 54
8. Find a unit normal vector to the surface x2+y2+2z2 = 26 at the point (2, 2 ,3).
Sol:- Let the given surface be f(x,y,z) ๏‚บ x2+y2+2z2 – 26=0. Then
๏‚ถf
๏‚ถf
๏‚ถf
๏€ฝ 2 x,
๏€ฝ 2 y,
๏€ฝ 4 z.
๏‚ถx
๏‚ถy
๏‚ถz
grad f = ๏ƒฅ i
๏‚ถf
๏€ฝ 2๐‘ฅ๐‘– + 2๐‘ฆ๐‘— + 4๐‘ง๐‘˜
๏‚ถx
Normal vector at (2,2,3) = [๏ƒ‘f ](2,2,3) = 4 i +4 j +12 k
Unit normal vector =
๏ƒ‘f 4(i ๏€ซ j ๏€ซ 3k ) i ๏€ซ j ๏€ซ 3k
๏€ฝ
=
๏ƒ‘f
4 11
11
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
147
VECTOR CALCULUS
MATHEMATICS -II
9. Find the values of ๐’‚ and ๐’ƒ so that the surfaces ๐’‚๐’™2−๐’ƒ๐’š๐’› = (๐’‚ + ๐Ÿ)๐’™ ๐’‚๐’๐’… ๐Ÿ’๐’™2๐’š +
๐’›3= ๐Ÿ’ may intersect orthogonally at the point (1, -1,2).
(or) Find the constants a and b so that surface ๐’‚๐’™2−๐’ƒ๐’š๐’› = (๐’‚ + ๐Ÿ)๐’™ will orthogonal to
๐Ÿ’๐’™2๐’š + ๐’›3= ๐Ÿ’ at the point (1,-1,2).
Sol:- Let the given surfaces be ๐‘“(๐‘ฅ, ๐‘ฆ, ๐‘ง) = ๐’‚๐’™2−๐’ƒ๐’š๐’› = (๐’‚ + ๐Ÿ)๐’™ -------------(1)
And ๐‘”(๐‘ฅ, ๐‘ฆ, ๐‘ง) = ๐Ÿ’๐’™2๐’š + ๐’›3= ๐Ÿ’ ------------(2)
Given the two surfaces meet at the point (1,-1,2).
Substituting the point in (1), we get
๐‘Ž + 2๐‘ − (๐‘Ž + 2) = 0 ๏ƒž ๐‘ = 1
Now
๏‚ถf
๏‚ถf
๏‚ถf
๏€ฝ 2ax ๏€ญ (a ๏€ซ 2),
๏€ฝ ๏€ญbz and
๏€ฝ ๏€ญby.
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒ‘f = ๏ƒฅ i
๏‚ถf
๏€ฝ [(2๐‘Ž๐‘ฅ − (๐‘Ž + 2)]๐‘– − ๐‘๐‘ง + ๐‘๐‘˜ = (๐‘Ž − 2)๐‘– − 2๐‘๐‘— + ๐‘๐‘˜
๏‚ถx
= (๐‘Ž − 2)๐‘– − 2๐‘— + ๐‘˜ = n1 , normal vector to surface 1.
Also
๏‚ถg
๏‚ถg
๏‚ถg
๏€ฝ 8 xy,
๏€ฝ 4x 2 ,
๏€ฝ 3z 2 .
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒ‘g = ๏ƒฅ i
๏‚ถg
๏€ฝ 8๐‘ฅ๐‘ฆ๐‘– + 4๐‘ฅ2๐‘— + 3๐‘ง2๐‘˜
๏‚ถx
(๏ƒ‘g)(1,-1,2) = −8๐‘– + 4๐‘— + 12๐‘˜ = n 2 , normal vector to surface 2.
Given the surfaces ๐‘“(๐‘ฅ, ๐‘ฆ, ๐‘ง), ๐‘”(๐‘ฅ, ๐‘ฆ, ๐‘ง) are orthogonal at the point (1,-1,2).
๏›๏ƒ‘f ๏๏›. ๏ƒ‘g ๏ ๏€ฝ 0 ๏ƒž ((๐‘Ž − 2)๐‘– − 2๐‘— + ๐‘˜). (−8๐‘– + 4๐‘— + 12๐‘˜) = 0
๏ƒž − 8๐‘Ž + 16 − 8 + 12 ๏ƒž ๐‘Ž = 5/2
๐ป๐‘’๐‘›๐‘๐‘’ ๐‘Ž = 5/2 ๐‘Ž๐‘›๐‘‘ ๐‘ = 1.
Divergence of a vector
Let f be any continuously differentiable vector point function. Then i.
๏‚ถf
๏‚ถf
๏‚ถf
๏€ซ j. ๏€ซ k . is
๏‚ถx
๏‚ถy
๏‚ถz
called the divergence of f and is written as div f .
i.e., div f = i.
๏‚ถf
๏‚ถf
๏‚ถf ๏ƒฆ ๏‚ถ
๏‚ถ
๏‚ถ๏ƒถ
๏€ซ j. ๏€ซ k . = ๏ƒง๏ƒง i ๏€ซ j ๏€ซ k ๏ƒท๏ƒท. f
๏‚ถy
๏‚ถz ๏ƒธ
๏‚ถx
๏‚ถy
๏‚ถz ๏ƒจ ๏‚ถx
Hence we can write div f as
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
148
VECTOR CALCULUS
MATHEMATICS -II
div f = ๏ƒ‘. f
This is a scalar point function.
NOTE: If the vector f = f1i ๏€ซ f 2 j ๏€ซ f 3 k , then div f =
๏‚ถ f1 ๏‚ถf 2 ๏‚ถf 3
๏€ซ
๏€ซ
๏‚ถx ๏‚ถy ๏‚ถz
Solenoidal Vector
A vector point function f is said to be solenoidal if ๐‘‘๐‘–๐‘ฃ f =0.
Physical interpretation of divergence:
Depending upon f in a physical problem, we can interpret div f ( ๏ƒ‘. f ).
Suppose F (๐‘ฅ, ๐‘ฆ, ๐‘ง, ๐‘ก) is the velocity of a fluid at a point(๐‘ฅ, ๐‘ฆ, ๐‘ง) and time ‘๐‘ก’. Though time
has no role in computing divergence, it is considered here because velocity vector depends on
time.
Imagine a small rectangular box within the fluid as shown in the figure. We would like to
measure the rate per unit volume at which the fluid flows out at any given time. The
divergence of F measures the outward flow or expansions of the fluid from their point at
any time. This gives a physical interpretation of the divergence.
PROBLEMS
1. Find ๐’…๐’Š๐’— f when ๐’ˆ๐’“๐’‚๐’…(๐’™3+๐’š3+๐’›3−๐Ÿ‘๐’™๐’š๐’›)
Sol:- Let ๏ฆ = ๐‘ฅ3+๐‘ฆ3+๐‘ง3−3๐‘ฅ๐‘ฆ๐‘ง
Then
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ฝ 3x 2 ๏€ญ 3 yz,
๏€ฝ 3 y 2 ๏€ญ 3zx,
๏€ฝ 3z 2 ๏€ญ 3xy
๏‚ถx
๏‚ถy
๏‚ถz
grad ๏ฆ = i
div f =
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ซj
๏€ซk
= 3 [( x 2 ๏€ญ yz )i ๏€ซ ( y 2 ๏€ญ zx) j ๏€ซ ( z 2 ๏€ญ xy)k ]
๏‚ถx
๏‚ถy
๏‚ถz
๏‚ถ f1 ๏‚ถf 2 ๏‚ถf 3 ๏‚ถ
๏‚ถ
๏‚ถ
๏€ซ
๏€ซ
= [3( x 2 ๏€ญ yz )] ๏€ซ [3( y 2 ๏€ญ zx )] ๏€ซ [3( z 2 ๏€ญ xy)]
๏‚ถx ๏‚ถy ๏‚ถz ๏‚ถx
๏‚ถy
๏‚ถz
= 3(2x)+3(2y)+3(2z) = 6(x+y+z)
2. If f = ( x ๏€ซ 3 y)i ๏€ซ ( y ๏€ญ 2 z ) j ๏€ซ ( x ๏€ซ pz )k is Solenoidal, find P.
Sol:- Let f = ( x ๏€ซ 3 y)i ๏€ซ ( y ๏€ญ 2 z ) j ๏€ซ ( x ๏€ซ pz )k = f1i ๏€ซ f 2 j ๏€ซ f 3 k
We have
div f =
๏‚ถf
๏‚ถf1
๏‚ถf
๏€ฝ 1, 2 ๏€ฝ 1, 3 ๏€ฝ p
๏‚ถx
๏‚ถy
๏‚ถz
๏‚ถ f1 ๏‚ถf 2 ๏‚ถf 3
๏€ซ
๏€ซ
=1+1+๐‘ = 2+๐‘
๏‚ถx ๏‚ถy ๏‚ถz
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
149
VECTOR CALCULUS
MATHEMATICS -II
since f is solenoidal, we have div f = 0 ๏ƒž 2 ๏€ซ p ๏€ฝ 0 ๏ƒž p ๏€ฝ ๏€ญ2
3. Find div f = r n r . Find n if it is solenoidal?
Sol: Given f = r n r . where r ๏€ฝ xi ๏€ซ yj ๏€ซ zk and r ๏€ฝ r
We have ๐‘Ÿ2 = ๐‘ฅ2+๐‘ฆ2+๐‘ง2
Differentiating partially with respect to ๐‘ฅ , we get
2r
๏‚ถr
๏‚ถr x
๏€ฝ 2x ๏ƒž
๏€ฝ ,
๏‚ถx
๏‚ถx r
Similarly
๏‚ถr y
๏‚ถr z
๏€ฝ and
๏€ฝ
๏‚ถy r
๏‚ถz r
f =rn ( xi ๏€ซ yj ๏€ซ zk )
div f =
= nr n๏€ญ1
๏‚ถ n
๏‚ถ
๏‚ถ
(r x) ๏€ซ (r n y ) ๏€ซ (r n z )
๏‚ถx
๏‚ถy
๏‚ถz
๏‚ถr
๏‚ถr
๏‚ถr
x ๏€ซ r n ๏€ซ nr n๏€ญ1 y ๏€ซ r n ๏€ซ nr n๏€ญ1 z ๏€ซ r n
๏‚ถx
๏‚ถy
๏‚ถz
๏€จ ๏€ฉ
๏ƒฉ x2 y2 z 2 ๏ƒน
r2
๏€ซ ๏ƒบ ๏€ซ 3r n ๏€ฝ nr n๏€ญ1
= nr n๏€ญ1 ๏ƒช ๏€ซ
+3๐‘Ÿn = ๐‘›๐‘Ÿn+3๐‘Ÿn= (๐‘› + 3)๐‘Ÿn
r
r ๏ƒป
r
๏ƒซr
Let f = r n r be solenoidal. Then ๐‘‘๐‘–๐‘ฃ f = 0
(๐‘› + 3) ๐‘Ÿn = 0 ๏ƒž ๐‘› = −3
๏ƒฆr ๏ƒถ
4. Evaluate ๏ƒ‘. ๏ƒง 3 ๏ƒท where r ๏€ฝ xi ๏€ซ yj ๏€ซ zk and r ๏€ฝ r .
๏ƒจr ๏ƒธ
Sol:- We have r = ๐‘ฅ๐‘– + ๐‘ฆ๐‘— + ๐‘ง๐‘˜ ๐‘Ž๐‘›๐‘‘ ๐‘Ÿ =
x2 ๏€ซ y2 ๏€ซ z2
๏‚ถr z
๏‚ถr x ๏‚ถr y
๏€ฝ , and
๏€ฝ
๏€ฝ ,
๏‚ถx r ๏‚ถy r
๏‚ถz r
๏œ
r
= r.
r3
๐‘Ÿ-3 = ๐‘Ÿ-3๐‘ฅ๐‘– + ๐‘Ÿ-3๐‘ฆ๐‘— + ๐‘Ÿ-3 ๐‘ง๐‘˜ = ๐‘“ 1๐‘– + ๐‘“ 2๐‘— + ๐‘“3๐‘˜
๏‚ถf
๏ƒฆ r ๏ƒถ ๏‚ถ f ๏‚ถf
Hence ๏ƒ‘. ๏ƒง 3 ๏ƒท = 1 ๏€ซ 2 ๏€ซ 3
๏ƒจ r ๏ƒธ ๏‚ถx ๏‚ถy ๏‚ถz
We have f1= r-3 x ๏ƒž
๏‚ถf1
๏‚ถr
๏€ฝ r ๏€ญ3 .1 ๏€ซ x(๏€ญ3)r ๏€ญ4 .
๏‚ถx
๏‚ถx
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
150
VECTOR CALCULUS
MATHEMATICS -II
๏œ
๏‚ถf1
x
๏€ฝ r ๏€ญ3 ๏€ญ 3xr ๏€ญ4 ๏€ฝ r ๏€ญ3 ๏€ญ 3x 2 r ๏€ญ5
๏‚ถx
y
๏‚ถf1
๏ƒฆr ๏ƒถ
๏€ฝ 3r ๏€ญ3 ๏€ญ 3r ๏€ญ5 ๏ƒฅ x 2 = 3๐‘Ÿ-3 −3๐‘Ÿ-5 ๐‘Ÿ2 = 0
๏ƒ‘. ๏ƒง 3 ๏ƒท = ๏ƒฅ
๏‚ถx
๏ƒจr ๏ƒธ
Curl of a Vector
Let f be any continuously differentiable vector point function. Then the vector function
defined by i ๏‚ด
Curl f = i ๏‚ด
๏‚ถf
๏‚ถf
๏‚ถf
๏€ซ j ๏‚ด ๏€ซ k ๏‚ด is called curl of f and is denoted by curl f or (๏ƒ‘x f ).
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒฆ ๏‚ถf ๏ƒถ
๏‚ถf
๏‚ถf
๏‚ถf
๏€ซ j ๏‚ด ๏€ซ k ๏‚ด ๏€ฝ ๏ƒฅ ๏ƒง๏ƒง i ๏‚ด ๏ƒท๏ƒท
๏‚ถx
๏‚ถy
๏‚ถz
๏ƒจ ๏‚ถx ๏ƒธ
Theorem 1: If f is differentiable vector point function given by = f f1i ๏€ซ f 2 j ๏€ซ f 3 k then
๏ƒฆ ๏‚ถf
๏‚ถf ๏ƒถ ๏ƒฆ ๏‚ถf ๏‚ถf ๏ƒถ ๏ƒฆ ๏‚ถf
๏‚ถf ๏ƒถ
curl f = ๏ƒง๏ƒง 3 ๏€ญ 2 ๏ƒท๏ƒทi ๏€ซ ๏ƒง 1 ๏€ญ 3 ๏ƒท j ๏€ซ ๏ƒง๏ƒง 2 ๏€ญ 1 ๏ƒท๏ƒทk
๏ƒจ ๏‚ถy ๏‚ถz ๏ƒธ ๏ƒจ ๏‚ถz ๏‚ถx ๏ƒธ ๏ƒจ ๏‚ถx ๏‚ถy ๏ƒธ
i
Note :
curl f =
๏‚ถ
๏‚ถx
f1
j
๏‚ถ
๏‚ถy
f2
k
๏‚ถ
๏‚ถz
f3
=๏ƒ‘x f
Note (2) : If f is a constant vector then curl f = o .
Physical Interpretation of curl
If w is the angular velocity of a rigid body rotating about a fixed axis and v is the
velocity of any point ๐‘ƒ(๐‘ฅ, ๐‘ฆ, ๐‘ง) on the body, then w = ½ ๐‘๐‘ข๐‘Ÿ๐‘™ v . Thus the angular velocity
of rotation at any point is equal to half the curl of velocity vector. This justifies the use of the
word “curl of a vector”.
Any motion in which curl of the velocity vector is a null vector i.e ๐‘๐‘ข๐‘Ÿ๐‘™ v = 0 is said to be
Irrotational.
Def: A vector f is said to be Irrotational if ๐‘๐‘ข๐‘Ÿ๐‘™ f = 0 .
If f is Irrotational, there will always exist a scalar function ๏ช(๐‘ฅ, ๐‘ฆ, ๐‘ง) such that f
= ๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ. This ๏ฆ is called scalar potential of f .
It is easy to prove that, if f = ๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ, then curl f = 0.
Hence ๏ƒ‘๐‘ฅ f = 0 ๏ƒ› there exists a scalar function ๏ฆ such that f = ๏ƒ‘๏ฆ.
This idea is useful when we study the “work done by a force later.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
151
VECTOR CALCULUS
MATHEMATICS -II
PROBLEMS
1. Find ๐’„๐’–๐’“๐’ f where f = ๐’ˆ๐’“๐’‚๐’…(๐’™3+๐’š3+๐’›3−๐Ÿ‘๐’™๐’š๐’›)
Sol:- Let ๏ฆ = ๐’™3+๐’š3+๐’›3−๐Ÿ‘๐’™๐’š๐’› Then
๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ = ๏ƒฅ i
๏‚ถ๏ฆ
๏€ฝ 3( x 2 ๏€ญ yz )i ๏€ซ 3( y 2 ๏€ญ zx ) j ๏€ซ 3( z 2 ๏€ญ xy)k
๏‚ถx
i
๐‘๐‘ข๐‘Ÿ๐‘™ ๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ = ๏ƒ‘๐‘ฅ ๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ = 3
j
๏‚ถ
๏‚ถy
๏‚ถ
๏‚ถx
k
๏‚ถ
๏‚ถz
x 2 ๏€ญ yz y 2 ๏€ญ zx z 2 ๏€ญ xy
=
3[i ๏€จ๏€ญ x ๏€ซ x ๏€ฉ ๏€ญ j ๏€จ๏€ญ y ๏€ซ y ๏€ฉ ๏€ซ k ๏€จ๏€ญ z ๏€ซ z ๏€ฉ] ๏€ฝ 0
๏œ ๐‘๐‘ข๐‘Ÿ๐‘™ f = 0 .
Note: We can prove in general that ๐‘๐‘ข๐‘Ÿ๐‘™ (๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ) = 0 . (๐‘–. ๐‘’) ๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ is always irrotational.
2.Show that the vector ( x 2 ๏€ญ yz )i ๏€ซ ( y 2 ๏€ญ zx) j ๏€ซ ( z 2 ๏€ญ xy) k is irrotational and find its
scalar potential.
Sol: let f = ( x 2 ๏€ญ yz )i ๏€ซ ( y 2 ๏€ญ zx) j ๏€ซ ( z 2 ๏€ญ xy) k
i
Then curl f =
๏‚ถ
๏‚ถx
j
๏‚ถ
๏‚ถy
k
๏‚ถ
๏‚ถz
x 2 ๏€ญ yz
y 2 ๏€ญ zx
z 2 ๏€ญ xy
= ๏ƒฅ i ( ๏€ญ x ๏€ซ x) ๏€ฝ 0
๏œ f is Irrotational. Then there exists ๏ฆ such that f =๏ƒ‘๏ฆ.
๏ƒži
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ซj
๏€ซk
= ( x 2 ๏€ญ yz )i ๏€ซ ( y 2 ๏€ญ zx) j ๏€ซ ( z 2 ๏€ญ xy) k
๏‚ถx
๏‚ถy
๏‚ถz
Comparing components, we get
๏‚ถ๏ฆ
x3
2
2
๏€ฝ x ๏€ญ yz ๏ƒž ๏ฆ ๏€ฝ ๏ƒฒ x ๏€ญ yz dx ๏€ฝ
๏€ญ xyz ๏€ซ f1 ( y, z )......(1)
๏‚ถx
3
๏€จ
๏€ฉ
๏‚ถ๏ฆ
y3
2
๏€ฝ y ๏€ญ zx ๏ƒž ๏ฆ ๏€ฝ
๏€ญ xyz ๏€ซ f 2 ( z, x)......( 2)
๏‚ถy
3
๏‚ถ๏ฆ
z3
๏€ฝ z 2 ๏€ญ xy ๏ƒž ๏ฆ ๏€ฝ
๏€ญ xyz ๏€ซ f 3 ( x, y )......(3)
๏‚ถz
3
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
152
VECTOR CALCULUS
MATHEMATICS -II
From (1), (2),(3), ๏ฆ ๏€ฝ
x3 ๏€ซ y3 ๏€ซ z 3
๏€ญ xyz
3
1
๏œ ๏ฆ ๏€ฝ ( x 3 ๏€ซ y 3 ๏€ซ z 3 ) ๏€ญ xyz ๏€ซ cons tan t
3
Which is the required scalar potential.
3. Find constants ๐’‚, ๐’ƒ and ๐’„ if the vector
f = (2 x ๏€ซ 3 y ๏€ซ az )i ๏€ซ (bx ๏€ซ 2 y ๏€ซ 3z ) j ๏€ซ (2 x ๏€ซ cy ๏€ซ 3z ) k is Irrotational.
Sol:- Given f = (2 x ๏€ซ 3 y ๏€ซ az )i ๏€ซ (bx ๏€ซ 2 y ๏€ซ 3z ) j ๏€ซ (2 x ๏€ซ cy ๏€ซ 3z ) k
i
j
๏‚ถ
๏‚ถ
Curl f =
๏‚ถx
๏‚ถy
2 x ๏€ซ 3 y ๏€ซ az bx ๏€ซ 2 y ๏€ซ 3z
k
๏‚ถ
๏‚ถz
2 x ๏€ซ cy ๏€ซ 3z
=
(c ๏€ญ 3)i ๏€ญ (2 ๏€ญ a) j ๏€ซ (b ๏€ญ 3) k
If the vector is Irrotational then curl f = 0
๏œ 2 ๏€ญ a ๏€ฝ 0 ๏ƒž a ๏€ฝ 2, b ๏€ญ 3 ๏€ฝ 0 ๏ƒž b ๏€ฝ 3, c ๏€ญ 3 ๏€ฝ 0 ๏ƒž c ๏€ฝ 3
4.If ๐’‡(๐’“) is differentiable, show that ๐’„๐’–๐’“๐’ { r ๐’‡(๐’“)} = 0 where
r = xi ๏€ซ yj ๏€ซ zk .
Sol: r = r = x 2 ๏€ซ y 2 ๏€ซ z 2
๏œ ๐‘Ÿ2 = ๐‘ฅ 2 + ๐‘ฆ 2 + ๐‘ง2
๏ƒž 2r
๏‚ถr y
๏‚ถr z
๏‚ถr
๏‚ถr x
๏€ฝ , and
๏€ฝ
๏€ฝ 2x ๏ƒž
๏€ฝ , similarly
๏‚ถx
๏‚ถx r
๏‚ถy r
๏‚ถz r
๐‘๐‘ข๐‘Ÿ๐‘™{ r ๐‘“(๐‘Ÿ)} = ๐‘๐‘ข๐‘Ÿ๐‘™{๐‘“(๐‘Ÿ)( xi ๏€ซ yj ๏€ซ zk )} = ๐‘๐‘ข๐‘Ÿ๐‘™ ( x. f (r )i ๏€ซ y. f (r ) j ๏€ซ z. f (r ) k )
i
=
j
๏‚ถ
๏‚ถy
yf (r )
๏‚ถ
๏‚ถx
xf (r )
๏ƒฉ
๏‚ถr
k
๏‚ถ
๏‚ถz
zf (r )
๏‚ถr ๏ƒน
๏ƒฉ๏‚ถ
๏ƒน
๏‚ถ
๏€ฝ ๏ƒฅ i ๏ƒช [ zf (r )] ๏€ญ [ yf (r )]๏ƒบ
๏‚ถz
๏ƒซ ๏‚ถy
๏ƒป
๏ƒฉ
y
z๏ƒน
๏ƒฅ i ๏ƒช zf (r ) ๏‚ถy ๏€ญ yf (r ) ๏‚ถz ๏ƒบ ๏€ฝ ๏ƒฅ i ๏ƒช๏ƒซ zf (r ) r ๏€ญ yf (r ) r ๏ƒบ๏ƒป = 0 .
๏ƒซ
1
1
1
1
๏ƒป
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
153
VECTOR CALCULUS
MATHEMATICS -II
5. Find constants a,b,c so that the vector A =
( x ๏€ซ 2 y ๏€ซ az )i ๏€ซ (bx ๏€ญ 3 y ๏€ญ z ) j ๏€ซ (4 x ๏€ซ cy ๏€ซ 2 z ) k is Irrotational. Also find ๏ฆ such that A =
๏ƒ‘๏ฆ.
Sol: Given vector is A = ( x ๏€ซ 2 y ๏€ซ az )i ๏€ซ (bx ๏€ญ 3 y ๏€ญ z ) j ๏€ซ (4 x ๏€ซ cy ๏€ซ 2 z ) k
Vector A is Irrotational ๏ƒž ๐‘๐‘ข๐‘Ÿ๐‘™ A =
i
๏‚ถ
๏ƒž
๏‚ถx
x ๏€ซ 2 y ๏€ซ az
j
๏‚ถ
๏‚ถy
bx ๏€ญ 3 y ๏€ญ z
k
๏‚ถ
๏‚ถz
4 x ๏€ซ cy ๏€ซ 2 z
0
๏€ฝ0
๏ƒž (c ๏€ซ 1)i ๏€ซ (a ๏€ญ 4) j ๏€ซ (b ๏€ญ 2) k ๏€ฝ 0
๏ƒž (c ๏€ซ 1)i ๏€ซ (a ๏€ญ 4) j ๏€ซ (b ๏€ญ 2) k = 0i ๏€ซ 0 j ๏€ซ 0 k
Comparing both sides,
๐‘ + 1 = 0, ๐‘Ž − 4 = 0, ๐‘ − 2 = 0
๐‘ = −1, ๐‘Ž = 4, ๐‘ = 2
Now A = ( x ๏€ซ 2 y ๏€ซ 4 z )i ๏€ซ (2 x ๏€ญ 3 y ๏€ญ z ) j ๏€ซ (4 x ๏€ญ y ๏€ซ 2 z ) k , on substituting the values of
๐‘Ž, ๐‘, ๐‘
we have A = ๏ƒ‘๏ฆ.
๏ƒž A = ( x ๏€ซ 2 y ๏€ซ 4 z )i ๏€ซ (2 x ๏€ญ 3 y ๏€ญ z ) j ๏€ซ (4 x ๏€ญ y ๏€ซ 2 z ) k = i
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ซj
๏€ซk
๏‚ถx
๏‚ถy
๏‚ถz
Comparing both sides, we have
๏‚ถ๏ฆ
๐‘ฅ2
๏€ฝ ๐‘ฅ + 2๐‘ฆ + 4๐‘ง ๏ƒž ๏ฆ= +2๐‘ฅ๐‘ฆ + 4๐‘ง๐‘ฅ+๐‘“1 (๐‘ฆ, ๐‘ง)
2
๏‚ถx
๏‚ถ๏ฆ
๏€ฝ 2๐‘ฅ − 3๐‘ฆ − ๐‘ง ๏ƒž ๏ฆ= 2๐‘ฅ๐‘ฆ − 3๐‘ฆ2/2 − ๐‘ฆ๐‘ง + ๐‘“2 (๐‘ฅ, ๐‘ง)
๏‚ถy
๏‚ถ๏ฆ
๏€ฝ 4๐‘ฅ − ๐‘ฆ + 2๐‘ง ๏ƒž๏ฆ= 4๐‘ฅ๐‘ง − ๐‘ฆ๐‘ง + ๐‘ง 2+ ๐‘“3 (๐‘ฆ, ๐‘ฅ)
๏‚ถz
Hence ๏ฆ = ๐‘ฅ2/2 − 3๐‘ฆ2/2 + ๐‘ง2+2๐‘ฅ๐‘ฆ + 4๐‘ง๐‘ฅ − ๐‘ฆ๐‘ง + ๐‘
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
154
VECTOR CALCULUS
MATHEMATICS -II
Laplacian Operator
๏ƒ‘.๏ƒ‘๏ฆ= ๏ƒฅ i .
๏‚ถ ๏ƒฆ ๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ ๏ƒถ
๏‚ถ 2๏ฆ ๏ƒฆ ๏‚ถ 2
๏‚ถ2
๏‚ถ2 ๏ƒถ
๏ƒง๏ƒง i
๏ƒท๏ƒท ๏€ฝ ๏ƒฅ 2 ๏€ฝ ๏ƒง๏ƒง 2 ๏€ซ 2 ๏€ซ 2 ๏ƒท๏ƒท๏ฆ ๏€ฝ ๏ƒ‘ 2๏ฆ
๏€ซj
๏€ซk
๏‚ถx ๏ƒจ ๏‚ถx
๏‚ถy
๏‚ถz ๏ƒธ
๏‚ถx
๏‚ถy
๏‚ถz ๏ƒธ
๏ƒจ ๏‚ถx
๏‚ถ2
๏‚ถ2
๏‚ถ2
๏€ซ
๏€ซ
is called Laplacian operator.
๏‚ถx 2 ๏‚ถy 2 ๏‚ถz 2
Thus the operator ๏ƒ‘2 ๏‚บ
Note : (i). ๏ƒ‘2๏ฆ= ๏ƒ‘.(๏ƒ‘๏ฆ) = ๐‘‘๐‘–๐‘ฃ(๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ)
(ii). If ๏ƒ‘2 ๏ฆ=0 then ๏ฆ is said to satisfy Laplacian equation. This ๏ฆ is called a harmonic
function.
PROBLEMS
1. Prove that ๐’…๐’Š๐’—. (๐’ˆ๐’“๐’‚๐’… ๐’“m) = ๐’Ž(๐’Ž + ๐Ÿ)๐’“m−๐Ÿ (๐’๐’“)๏ƒ‘2(๐’“m) = ๐’Ž(๐’Ž๐Ÿ)๐’“m−๐Ÿ (๐’๐’“)
๏ƒ‘2(๐’“n) = ๐’(๐’ + ๐Ÿ)๐’“n−๐Ÿ
Sol: Let r ๏€ฝ xi ๏€ซ yj ๏€ซ zk and r = r then ๐‘Ÿ2 = ๐‘ฅ2+๐‘ฆ2+๐‘ง2.
Differentiating w.r.t. ’๐‘ฅ’ partially, wet get 2๐‘Ÿ
Similarly
๏‚ถr
๏‚ถr x
= 2๐‘ฅ ๏ƒž = .
๏‚ถx
๏‚ถx r
๏‚ถr y
๏‚ถr z
=
and
=
๏‚ถz r
๏‚ถy r
Now ๐‘”๐‘Ÿ๐‘Ž๐‘‘(๐‘Ÿm) = ๏ƒฅ i
๏‚ถ m
๏‚ถr
x
(r ) = ๏ƒฅ i mr m ๏€ญ1
= ๏ƒฅ i mr m ๏€ญ1 = ๏ƒฅ i mr m๏€ญ2 x
๏‚ถx
๏‚ถx
r
๏œ ๐‘‘๐‘–๐‘ฃ (๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๐‘Ÿm) = ๏ƒฅ
๏›
๏‚ถr
๏‚ถ
๏ƒฉ
๏ƒน
x ๏€ซ r m๏€ญ2 ๏ƒบ
[mr m๏€ญ2 x] =m ๏ƒฅ ๏ƒช(m ๏€ญ 2)r m ๏€ญ3
๏‚ถx
๏‚ถx
๏ƒซ
๏ƒป
๏ ๏›
= ๐‘š ๏ƒฅ (m ๏€ญ 2)r m๏€ญ4 x 2 ๏€ซ r m๏€ญ2 ๏€ฝ m (m ๏€ญ 2)r m๏€ญ4 ๏ƒฅ x 2 ๏€ซ๏ƒฅ r m๏€ญ2
๏
= ๐‘š[(๐‘š − 2)๐‘Ÿm−4(๐‘Ÿ2) + 3๐‘Ÿm−2]
= ๐‘š[(๐‘š − 2) ๐‘Ÿm−2 + 3๐‘Ÿm−2]
= ๐‘š[(๐‘š − 2 + 3)๐‘Ÿm−2] = ๐‘š(๐‘š + 1)๐‘Ÿm−2.
๐ป๐‘’๐‘›๐‘๐‘’ ๏ƒ‘2(๐‘Ÿm) = ๐‘š(๐‘š + 1)๐‘Ÿm−2
2. Show that ๏ƒ‘2[f(r)]=
d 2 f 2 df
2
๏€ซ
๏€ฝ f 11 (r ) ๏€ซ f 1 (r ) where r = r .
2
r dr
r
dr
Sol: ๐‘”๐‘Ÿ๐‘Ž๐‘‘ [๐‘“(๐‘Ÿ)] = ๏ƒ‘๐‘“(๐‘Ÿ) = ๏ƒฅ i
๏‚ถ
๏‚ถr
x
[ f (r )] ๏€ฝ๏ƒฅ i f 1 (r )
๏€ฝ ๏ƒฅ i f 1 (r )
๏‚ถx
๏‚ถx
r
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
155
VECTOR CALCULUS
MATHEMATICS -II
๏œ ๐‘‘๐‘–๐‘ฃ [๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๐‘“(๐‘Ÿ)] = ๏ƒ‘2[๐‘“(๐‘Ÿ)] = ๏ƒ‘. ๏ƒ‘๐‘“(๐‘Ÿ)= ๏ƒฅ
= ๏ƒฅ
r
๏‚ถ ๏ƒฉ 1 x๏ƒน
f (r ) ๏ƒบ
๏‚ถx ๏ƒช๏ƒซ
r๏ƒป
๏‚ถ 1
๏‚ถ
[ f (r ) x] ๏€ญ f 1 (r ) x (r )
๏‚ถx
๏‚ถx
2
r
๏‚ถr
๏ƒฆ
๏ƒถ
๏ƒฆ x๏ƒถ
r ๏ƒง f 11 (r ) x ๏€ซ f 1 (r )๏ƒท ๏€ญ f 1 (r ) x๏ƒง ๏ƒท
๏‚ถx
๏ƒจ
๏ƒธ
๏ƒจr๏ƒธ
=๏ƒฅ
2
r
x
๏ƒฆ x๏ƒถ
rf 11 (r ) x ๏€ซ r f 1 (r ) ๏€ญ f 1 (r ) x๏ƒง ๏ƒท
r
๏ƒจr๏ƒธ
= ๏ƒฅ
2
r
x
๏ƒฅ rf (r ) r x ๏€ซ rf (r ) ๏€ญ x
11
๏€ฝ
1
r2
2
.
f 1 ๏€จr ๏€ฉ
r
f 11 ๏€จr ๏€ฉ 2 3 1
1
r ๏€ซ f ๏€จr ๏€ฉ ๏€ญ 3 f 1 ๏€จr ๏€ฉr 2
2
r
r
r
2
๏€ฝ f 11 ๏€จr ๏€ฉ ๏€ซ f 1 ๏€จr ๏€ฉ
r
๏€ฝ
๏€จ ๏€ฉ
3. If ๏ฆ satisfies Laplacian equation, show that ๏ƒ‘๏ฆ is both solenoidal and irrotational.
Sol: Given ๏ƒ‘2๏ฆ = 0 ๏ƒž๐‘‘๐‘–๐‘ฃ(๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ) = 0 ๏ƒž ๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ is solenoidal
We know that ๐‘๐‘ข๐‘Ÿ๐‘™ (๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ) = 0 ๏ƒž๐‘”๐‘Ÿ๐‘Ž๐‘‘ ๏ฆ is always irrotational
4. Prove that curl grad ๏ฆ = 0.
Proof: Let ๏ฆ be any scalar point function. Then
.grad ๏ฆ ๏€ฝ i
i
๏‚ถ
curl ( grad๏ฆ ) ๏€ฝ
๏‚ถx
๏‚ถ๏ฆ
๏‚ถx
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ซj
๏€ซk
๏‚ถx
๏‚ถy
๏‚ถz
j
๏‚ถ
๏‚ถy
๏‚ถ๏ฆ
๏‚ถy
k
๏‚ถ
๏‚ถz
๏‚ถ๏ฆ
๏‚ถz
๏ƒฆ ๏‚ถ 2๏ฆ ๏‚ถ 2๏ฆ ๏ƒถ ๏ƒฆ ๏‚ถ 2๏ฆ ๏‚ถ 2๏ฆ ๏ƒถ ๏ƒฆ ๏‚ถ 2๏ฆ
๏‚ถ 2๏ฆ ๏ƒถ
i
๏€ญ
๏€ญ
j
๏€ญ
๏€ญ
k
๏€ญ
= ๏ƒง ๏‚ถy๏‚ถz ๏‚ถz๏‚ถy ๏ƒท ๏ƒง ๏‚ถx๏‚ถz ๏‚ถz๏‚ถx ๏ƒท ๏ƒง ๏‚ถx๏‚ถy ๏‚ถy๏‚ถx ๏ƒท ๏€ฝ 0
๏ƒจ
๏ƒธ ๏ƒจ
๏ƒธ ๏ƒจ
๏ƒธ
Note : Since Curl ( grad๏ฆ ) ๏€ฝ 0 , we have grad ๏ฆ is always irrotational.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
156
VECTOR CALCULUS
MATHEMATICS -II
5. Prove that ๐’…๐’Š๐’— curl f ๏€ฝ 0
Pr oof : Let f ๏€ฝ f1i ๏€ซ f 2 j ๏€ซ f 3 k
i
๏‚ถ
๏œ curl f ๏€ฝ๏ƒ‘ ๏‚ด f ๏€ฝ
๏‚ถx
f1
j
๏‚ถ
๏‚ถy
f2
k
๏‚ถ
๏‚ถz
f3
๏ƒฆ ๏‚ถf ๏‚ถf ๏ƒถ
๏ƒฆ ๏‚ถf ๏‚ถf ๏ƒถ
๏ƒฆ ๏‚ถf ๏‚ถf ๏ƒถ
๏€ฝ ๏ƒง 3 ๏€ญ 2 ๏ƒทi ๏€ญ๏ƒง 3 ๏€ญ 1 ๏ƒท j ๏€ซ๏ƒง 2 ๏€ญ 1 ๏ƒทk
๏ƒจ ๏‚ถx ๏‚ถz ๏ƒธ
๏ƒจ ๏‚ถy ๏‚ถz ๏ƒธ
๏ƒจ ๏‚ถx ๏‚ถy ๏ƒธ
๏œ div curl f ๏€ฝ ๏ƒ‘.(๏ƒ‘๏‚ด f ) ๏€ฝ
๏€ฝ
๏‚ถ ๏ƒฆ ๏‚ถf3 ๏‚ถf 2 ๏ƒถ ๏‚ถ ๏ƒฆ ๏‚ถf3 ๏‚ถf1 ๏ƒถ ๏‚ถ ๏ƒฆ ๏‚ถf 2 ๏‚ถf1 ๏ƒถ
๏€ญ
๏€ญ
๏€ซ ๏ƒง
๏€ญ
๏ƒง
๏ƒท๏€ญ
๏ƒท
๏‚ถx ๏ƒจ ๏‚ถy ๏‚ถz ๏ƒธ ๏‚ถy ๏ƒง๏ƒจ ๏‚ถx ๏‚ถz ๏ƒท๏ƒธ ๏‚ถz ๏ƒจ ๏‚ถx ๏‚ถy ๏ƒธ
๏‚ถ 2 f 3 ๏‚ถ 2 f 2 ๏‚ถ 2 f 3 ๏‚ถ 2 f1 ๏‚ถ 2 f 2 ๏‚ถ 2 f1
๏€ญ
๏€ญ
๏€ซ
๏€ซ
๏€ญ
๏€ฝ0
๏‚ถx๏‚ถy ๏‚ถx๏‚ถz ๏‚ถy๏‚ถx ๏‚ถy๏‚ถz ๏‚ถz๏‚ถx ๏‚ถz๏‚ถy
Note : Since div(curl f ) ๏€ฝ 0, we have curl f is always solenoidal.
VECTOR INTEGRATION
Line Integral
๏€ญ
Any integral which is to be evaluated over a Curve C is called Line integral of F .
๏€ญ
๏€ญ
๏€ญ
Note : Work done by F along a curve c is ๏ƒฒ F .d r
c
PROBLEMS
๏€ญ
๏€ญ
๏€ญ
๏€ญ
๏€ญ
1. If F = (x2-27) i -6yz j +8xz2 k , evaluate
d r from the point (0,0,0) to the point
(1,1,1) along the Straight line from (0,0,0) to (1,0,0), (1,0,0) to (1,1,0) and (1,1,0) to
(1,1,1).
๏€ญ
๏€ญ
๏€ญ
๏€ญ
Sol : Given F = (x2-27) i -6yz j +8xz2 k
Now r = x i + y j + z k
๏œ
๏ƒž d r ๏€ฝ dxi + dy j + dz k
๏€ญ
F . d r = (๐‘ฅ2−27)๐‘‘๐‘ฅ – (6๐‘ฆ๐‘ง)๐‘‘๐‘ฆ + 8๐‘ฅ๐‘ง2๐‘‘๐‘ง
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
157
VECTOR CALCULUS
MATHEMATICS -II
(i)
Along the straight line from O = (0,0,0) to A = (1,0,0)
Here ๐‘ฆ = 0 = ๐‘ง ๐‘Ž๐‘›๐‘‘ ๐‘‘๐‘ฆ = ๐‘‘๐‘ง = 0. Also ๐‘ฅ changes from 0 to 1.
๏œ๏ƒฒ
OA
(ii)
๏ƒฉ x3
๏ƒน1 1
๏€ญ 80
F . d r = ๏ƒฒ (x -27)dx = ๏ƒช ๏€ญ 27 x๏ƒบ = ๏€ญ 27 ๏€ฝ
3
๏ƒซ3
๏ƒป0 3
o
๏€ญ
1
2
Along the straight line from A = (1,0,0) to B = (1,1,0)
Here ๐‘ฅ = 1, ๐‘ง = 0 ๏ƒž ๐‘‘๐‘ฅ = 0, ๐‘‘๐‘ง = 0. ๐‘ฆ changes from 0 to 1.
๏€ญ
1
๏œ ๏ƒฒ F . d r = ๏ƒฒ (๏€ญ6 yz )dy ๏€ฝ 0
y ๏€ฝ0
AB
(iii)
Along the straight line from B = (1,1,0) to C = (1,1,1)
๐‘ฅ =1 =๐‘ฆ
๐‘‘๐‘ฅ = ๐‘‘๐‘ฆ = 0 ๐‘Ž๐‘›๐‘‘ ๐‘ง changes from 0 to 1.
๏ƒž
๏œ๏ƒฒ
BC
๏ƒฉ 8z3 ๏ƒน 1 8
F . d r = ๏ƒฒ 8 xz dz ๏€ฝ ๏ƒฒ 8 xz dz ๏€ฝ ๏ƒช ๏ƒบ ๏€ฝ
๏ƒซ 3 ๏ƒป0 3
z ๏€ฝ0
z ๏€ฝ0
๏€ญ
1
1
2
๏€ญ
(i) ๏€ซ (ii ) ๏€ซ (iii ) ๏ƒž ๏ƒฒ F . d r =
C
๏€ญ
๏€ญ
2
88
3
๏€ญ
๏€ญ
2. If F = (๐Ÿ“๐’™๐’š − ๐Ÿ”๐’™2) i (๐Ÿ๐’š − ๐Ÿ’๐’™) j , evaluate ๏ƒฒ F . d r along the curve C in xy+
C
plane ๐’š = ๐’™3from (1,1) to (2,8).
๏€ญ
๏€ญ
๏€ญ
Sol: Given F = (5๐‘ฅ๐‘ฆ − 6๐‘ฅ 2) i + (2๐‘ฆ − 4๐‘ฅ) j ,-------(1)
Along the curve ๐‘ฆ = ๐‘ฅ3, ๐‘‘๐‘ฆ = 3๐‘ฅ2 ๐‘‘๐‘ฅ
๏œ
๏€ญ
๏€ญ
4
๏€ญ
F = (5๐‘ฅ −6๐‘ฅ2) i + (2๐‘ฅ3−4๐‘ฅ) j , [๐‘ƒ๐‘ข๐‘ก๐‘ก๐‘–๐‘›๐‘” ๐‘ฆ = ๐‘ฅ3 ๐‘–๐‘› (1)]
๏€ญ
๐‘‘ r = dxi + dy j = dxi + 3๐‘ฅ2๐‘‘๐‘ฅ j
๏œ
๏€ญ
๏€ญ
๏€ญ
๏ƒฉ ๏€ญ
๏ƒน
F . ๐‘‘ r = [(5๐‘ฅ4−6๐‘ฅ2) i +(2x3-4x) j ]. ๏ƒช dx i ๏€ซ 3x 2 dx j ๏ƒบ
๏ƒซ
๏ƒป
= (5๐‘ฅ4 – 6๐‘ฅ2) ๐‘‘๐‘ฅ + (2๐‘ฅ3 – 4๐‘ฅ)3๐‘ฅ3๐‘‘๐‘ฅ
= (6๐‘ฅ5+5๐‘ฅ4−12๐‘ฅ3 −6๐‘ฅ2)๐‘‘๐‘ฅ
๏€ญ
2
Hence ๏ƒฒ F . d r = ๏ƒฒ (6 x5 ๏€ซ 5 x 4 ๏€ญ 12 x3 ๏€ญ 6 x 2 )dx
y ๏€ฝ x3
1
2
๏ƒฆ x6
x5
x4
x3 ๏ƒถ
= ๏ƒง 6. ๏€ซ 5. ๏€ญ 12. ๏€ญ 6. ๏ƒท ๏€ฝ x6 ๏€ซ x5 ๏€ญ 3x 4 ๏€ญ 2 x3
1
5
4
4๏ƒธ
๏ƒจ 6
๏€จ
DEPARTMENT OF HUMANITIES & SCIENCES
๏€ฉ
©MRCET (EAMCET CODE: MLRD)
158
VECTOR CALCULUS
MATHEMATICS -II
= 16(4+2-3-1) – (1+1-3-2) = 32+3 = 35
๏€ญ
3. Find the work done by the force F = zi + x j + y k , when it moves a particle along the
๏€ญ
๏€ญ
arc of the curve r = ๐’„๐’๐’”๐’• i + ๐’”๐’Š๐’๐’• j − ๐’• k ๐’‡๐’“๐’๐’Ž ๐’• = ๐ŸŽ ๐’•๐’ ๐’• = 2๏ฐ
๏€ญ
๏€ญ
๏€ญ
๏€ญ
Sol : Given force F = ๐‘ง i + ๐‘ฅ j + ๐‘ฆ k and the arc is r = ๐‘๐‘œ๐‘ ๐‘ก i + ๐‘ ๐‘–๐‘› ๐‘ก j − ๐‘ก k
๐‘–. ๐‘’. , ๐‘ฅ = ๐‘๐‘œ๐‘ ๐‘ก, ๐‘ฆ = ๐‘ ๐‘–๐‘› ๐‘ก, ๐‘ง = −๐‘ก
๏€ญ
๏œ ๐‘‘ r = (−๐‘ ๐‘–๐‘› ๐‘ก i + ๐‘๐‘œ๐‘ ๐‘ก j − k )๐‘‘๐‘ก
๏€ญ
๏€ญ
๏€ญ
๏œ F . d r = (-t i +cost j +sin t k ). (-sin t i + cost j - k )dt = (t sin t + cos2 t – sin t)dt
2๏ฐ
2๏ฐ
๏€ญ
Hence work done = ๏ƒฒ F . d r = ๏ƒฒ (t sin t + cos2 t – sin t ) dt
0
0
2๏ฐ
2๏ฐ
2๏ฐ
1 ๏€ซ cos 2t
dt ๏€ญ ๏ƒฒ sin t dt
2
0
0
= ๏›t (๏€ญ cos t )๏0 ๏€ญ ๏ƒฒ (๏€ญ sin t )dt ๏€ซ ๏ƒฒ
2๏ฐ
0
2๏ฐ
= ๏€ญ 2๏ฐ ๏€ญ (cos t )
2๏ฐ
0
1 ๏ƒฆ sin 2t ๏ƒถ
2๏ฐ
๏€ซ ๏ƒงt ๏€ซ
๏ƒท ๏€ซ ๏€จcos t ๏€ฉ0
2๏ƒจ
2 ๏ƒธ0
1
= ๏€ญ 2๏ฐ ๏€ญ (1 ๏€ญ 1) ๏€ซ (2๏ฐ ) ๏€ซ (1 ๏€ญ 1) ๏€ฝ ๏€ญ2๏ฐ ๏€ซ ๏ฐ ๏€ฝ ๏€ญ๏ฐ
2
Surface Integral
Any integral which is to be evaluated over a surface S is called surface integral
๏€ญ ๏€ญ
and it is denoted by ๏ƒฒ F . n ds
S
๏€ญ
Let F = F1 i+F2 j+F3 k, where F1 ,F2 ,F3 are continuous and differentiable functions of
x,y,z.
Then
๏ƒฒ F.ndS = ๏ƒฒ๏ƒฒ F dydz ๏€ซ F dxdz ๏€ซ F dxdy
1
S
2
3
s
Note: 1.Let R be the projection of S on xy plane.then
F .n
๏ƒฒ F.ndS = ๏ƒฒ๏ƒฒ n.k dxdy
S
2. Let R be the projection of S on yz plane.then
F .n
๏ƒฒ F.ndS = ๏ƒฒ๏ƒฒ n.i dydz
S
DEPARTMENT OF HUMANITIES & SCIENCES
R
R
©MRCET (EAMCET CODE: MLRD)
159
VECTOR CALCULUS
MATHEMATICS -II
3. Let R be the projection of S on zx plane.then
F .n
๏ƒฒ F.ndS = ๏ƒฒ๏ƒฒ n. j dxdz
S
R
PROBLEMS
1.Evaluate ๏ƒฒ F.ndS where F = zi + xj ๏€ญ 3y2zk and S is the surface x2 + y2 = 16
included in the first octant between z = 0 and z = 5.
Sol. The surface S is x2 + y2 = 16 included in the first octant between z = 0 and z = 5.
Let
φ = x2 + y2 = 16
Then
๏ƒ‘๏ฆ = i
๏‚ถ๏ฆ ๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ซ j ๏€ซ k ๏€ฝ 2xi ๏€ซ 2y j
๏‚ถx ๏‚ถy
๏‚ถz
unit normal
n๏€ฝ
๏ƒ‘๏ฆ
xi ๏€ซ y j
๏€ฝ
(
๏ƒ‘๏ช
4
x 2 + y 2 = 16)
Let R be the projection of S on yz-planeThen
dydz
๏ƒฒ F.ndS = ๏ƒฒ๏ƒฒ F.n n . i ……………. *
S
Given
R
F = zi + xj ๏€ญ 3y2zk
1
F . n ๏€ฝ (xz ๏€ซ xy)
4
and
n .i๏€ฝ
x
4
In yz-plane, x = 0, y = 4
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
160
VECTOR CALCULUS
MATHEMATICS -II
In first octant, y varies from 0 to 4 and z varies from 0 to 5.
๏ƒฒ F.ndS
S
=
๏ƒฒ
4
5
๏ƒฒ (y ๏€ซ z)dz dy = 90.
z ๏€ฝ0
y ๏€ฝ0
2 : If F = ๐’›๐’Š + ๐’™๐’‹ ๏€ญ ๐Ÿ‘๐’š2๐’›๐’Œ, evaluate
๏ƒฒ F.ndS where S is the surface of the cube
S
bounded by ๐’™ = ๐ŸŽ, ๐’™ = ๐’‚, ๐’š = ๐ŸŽ, ๐’š = ๐’‚, ๐’› = ๐ŸŽ, ๐’› = ๐’‚
Sol. Given that S is the surface of the ๐‘ฅ = 0, ๐‘ฅ = ๐‘Ž, ๐‘ฆ = 0, ๐‘ฆ = ๐‘Ž, ๐‘ง = 0, ๐‘ง = ๐‘Ž,
and
F = ๐‘ง๐‘– + ๐‘ฅ๐‘— − 3๐‘ฆ2๐‘ง๐‘˜
we need to evaluate ๏ƒฒ F.ndS .
S
(I)For OABC
Equation is z = 0 and dS = dxdy
n ๏€ฝ ๏€ญk
๏ƒฒ F.ndS =
S
๏€ญ๏ƒฒ
x ๏€ฝ0
1
a
a
๏€ญ ๏ƒฒ (yz) dxdy = 0
y๏€ฝ 0
(II)For PQRS
Equation is z = a and dS = dxdy
n ๏€ฝk
๏ƒฒ F.ndS =
S2
๏ƒฒ ๏€จ
a
x ๏€ฝ0
a4
๏ƒฒ y(a)dy ๏€ฉ dx ๏€ฝ 2
y ๏€ฝ0
a
(III)For OCQR
Equation is x = 0, and n ๏€ฝ ๏€ญi , dS = dydz
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
161
VECTOR CALCULUS
MATHEMATICS -II
๏ƒฒ
๏ƒฒ F.ndS =
a
a
๏ƒฒ 4xzdydz ๏€ฝ 0
z ๏€ฝ0
y ๏€ฝ0
S3
(IV)For ABPS
Equation is x = a, and n ๏€ฝ ๏€ญi , dS = dydz
๏ƒฒ ๏€จ ๏ƒฒ 4azdz ๏€ฉdy ๏€ฝ 2a
๏ƒฒ F.ndS =
S3
a
a
y ๏€ฝ0
z ๏€ฝ0
4
Equation is y = 0, and n ๏€ฝ ๏€ญ j , dS = dxdz
(V)For OASR
๏ƒฒ F.ndS = ๏ƒฒ
a
a
๏ƒฒ y dzdx ๏€ฝ 0
z ๏€ฝ0
y ๏€ฝ0
S5
(VI)For PBCQ
Equation is y = a, and n ๏€ฝ ๏€ญ j , dS = dxdz
๏ƒฒ F.ndS = ๏€ญ ๏ƒฒ
a
y ๏€ฝ0
S6
2
a
๏ƒฒ y dzdx ๏€ฝ 0
2
z ๏€ฝ0
Adding (i) to (vi)
a4
3a 4
4
we get ๏ƒฒ F.ndS = 0 +
+ 0 + 2a + 0 ๏€ญ a4 =
2
2
S
6
Volume Integrals
๏€ญ
๏€ญ
๏€ญ
๏€ญ
Let V be the volume bounded by a surface r ๏€ฝ f (u,v). Let F ( r ) be a vector point function
define over V. Divide V into m sub-regions of volumes ๏คV1 , ๏คV2 ,....๏คV p ....๏คVm
๏€ญ
m
๏€ญ
Let Pi ( r i ) be a point in ๏ค Vi .Then form the sum Im = ๏ƒฅ F (ri )๏ค Vi . Let ๐‘š ๏‚ฎ ๏‚ฅ in such a way
i ๏€ฝ1
๏€ญ
๏€ญ
that ๏ค Vi shrinks to a point,. The limit of Im if it exists, is called the volume integral of F ( r )
๏€ญ
๏€ญ
๏€ญ
in the region V is denoted by ๏ƒฒ F (r ) dv or ๏ƒฒ F dv.
V
๏€ญ
V
๏€ญ
๏€ญ
๏€ญ
Cartesian Form : Let F ๏€จ r ๏€ฉ ๏€ฝ F1 i ๏€ซ F2 i ๏€ซ F3 k where F1, F2, F3 are functions of x,y,z. We
๏€ญ
๏€ญ
๏€ญ
๏€ญ
know that dv = dx dy dz. The volume integral given by ๏ƒฒ Fdv ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒฒ ( F1 i ๏€ซ F2 i ๏€ซ F3 k ) dx dydz
v
๏€ญ
๏€ญ
๏€ญ
= i ๏ƒฒ ๏ƒฒ ๏ƒฒ F dxdydz + j ๏ƒฒ ๏ƒฒ ๏ƒฒ F2 dxdydz + k ๏ƒฒ ๏ƒฒ ๏ƒฒ F3 dxdydz
1
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
162
VECTOR CALCULUS
MATHEMATICS -II
PROBLEMS
ฬ… = ๐Ÿ๐’™๐’› ๐’Š − ๐’™ ๐’‹ + ๐’š๐Ÿ ๐’Œ evaluate ∫ ๐‘ญฬ… ๐’…๐’— ๐’๐’—๐’†๐’“ ๐‘ฝ where V is the region bounded by
1.If ๐‘ญ
the surfaces ๐’™ = ๐ŸŽ, ๐’™ = ๐Ÿ, ๐’š = ๐ŸŽ, ๐’š = ๐Ÿ”, ๐’› = ๐’™๐Ÿ , ๐’› = ๐Ÿ’.
Given ๐นฬ… = 2๐‘ฅ๐‘ง ๐‘– − ๐‘ฅ ๐‘— + ๐‘ฆ 2 ๐‘˜ .
The volume integral is given by
2
6
4
∫ ๐นฬ… ๐‘‘๐‘ฃ = ∫0 ∫๐‘ฆ=0 ∫๐‘ง=๐‘ฅ 2 (2๐‘ฅ๐‘ง ๐‘– − ๐‘ฅ ๐‘— + ๐‘ฆ 2 ๐‘˜)๐‘‘๐‘ฅ๐‘‘๐‘ฆ๐‘‘๐‘ง
2
6
4
2
6
4
2
2
6
2
6
2
6
2
6
2
6
2
6
6
4
= ๐‘– ∫0 ∫๐‘ฆ=0 ∫๐‘ง=๐‘ฅ 2(2๐‘ฅ๐‘ง )๐‘‘๐‘ฅ๐‘‘๐‘ฆ๐‘‘๐‘ง − ๐‘— ∫0 ∫๐‘ฆ=0 ∫๐‘ง=๐‘ฅ 2(๐‘ฅ )๐‘‘๐‘ฅ๐‘‘๐‘ฆ๐‘‘๐‘ง + ๐‘˜ ∫0 ∫๐‘ฆ=0 ∫๐‘ง=๐‘ฅ 2(๐‘ฆ 2 )๐‘‘๐‘ฅ๐‘‘๐‘ฆ๐‘‘๐‘ง
= ๐‘– ∫0 ∫๐‘ฆ=0 ๐‘ฅ(16 − ๐‘ฅ 4 ) ๐‘‘๐‘ฅ๐‘‘๐‘ฆ − ๐‘— ∫0 ∫๐‘ฆ=0 ๐‘ฅ(4 − ๐‘ฅ 2 ) ๐‘‘๐‘ฅ๐‘‘๐‘ฆ + ๐‘˜ ∫0 ∫๐‘ฆ=0 ๐‘ฆ 2 (๐‘ฅ 2 − 4) ๐‘‘๐‘ฅ๐‘‘๐‘ฆ
= ๐‘– ∫0 ∫๐‘ฆ=0(16๐‘ฅ − ๐‘ฅ 5 ) ๐‘‘๐‘ฅ๐‘‘๐‘ฆ − ๐‘— ∫0 ∫๐‘ฆ=0(4๐‘ฅ − ๐‘ฅ 3 ) ๐‘‘๐‘ฅ๐‘‘๐‘ฆ + ๐‘˜ ∫0 ∫๐‘ฆ=0 ๐‘ฆ 2 (๐‘ฅ 2 − 4) ๐‘‘๐‘ฅ๐‘‘๐‘ฆ
2
2
2
2
2
2
= ๐‘– ∫0 6(16๐‘ฅ − ๐‘ฅ 5 ) ๐‘‘๐‘ฅ − ๐‘— ∫0 6(4๐‘ฅ − ๐‘ฅ 3 ) ๐‘‘๐‘ฅ + ๐‘˜ ∫0 72(๐‘ฅ 2 − 4) ๐‘‘๐‘ฅ
= ๐‘– ∫0 (96๐‘ฅ − 6๐‘ฅ 5 ) ๐‘‘๐‘ฅ − ๐‘— ∫0 (24๐‘ฅ − 6๐‘ฅ 3 ) ๐‘‘๐‘ฅ + ๐‘˜ ∫0 (72๐‘ฅ 2 − 218) ๐‘‘๐‘ฅ
= 128๐‘– − 24๐‘— − 384๐‘˜
Vector Integral Theorems
Introduction
In this chapter we discuss three important vector integral theorems: (i) Gauss
divergence theorem, (ii) Green’s theorem in plane and (iii) Stokes theorem. These theorems
deal with conversion of
(i)
๏€ญ
๏€ญ
๏ƒฒ
F . n ๐‘‘๐‘  into a volume integral where S is a closed surface.
๏ƒฒ
F .d r into a double integral over a region in a plane when C is a closed
S
(ii)
๏€ญ
๏€ญ
C
curve in the plane and.
(iii)
๏ƒฒ
๏€ญ
๏€ญ
(๏ƒ‘ ๏‚ด A) . n ๐‘‘๐‘  into a line integral around the boundary of an open two sided
S
surface.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
163
VECTOR CALCULUS
MATHEMATICS -II
Gauss Divergence Theorem
(Transformation between surface integral and volume integral)
๏€ญ
Let S be a closed surface enclosing a volume V. If F is a continuously differentiable vector
point function, then
๏€ญ
๏€ญ
๏ƒฒ div Fdv ๏€ฝ ๏ƒฒ F . n dS
V
s
๏€ญ
When n is the outward drawn normal vector at any point of S.
PROBLEMS
1. Verify Gauss Divergence theorem for
taken over the
surface of the cube bounded by the planes x = y = z = a and coordinate planes.
Sol: By Gauss Divergence theorem we have
๏ƒฒ F .ndS ๏€ฝ ๏ƒฒ divFdv
S
V
๏ƒฆ ๏‚ถf ๏ƒถ ๏‚ถ f ๏‚ถf
๏‚ถf
Now ๐‘‘๐‘–๐‘ฃ f = ๏ƒฅ i.๏ƒง๏ƒง ๏ƒท๏ƒท ๏€ฝ 1 ๏€ซ 2 ๏€ซ 3
๏ƒจ ๏‚ถx ๏ƒธ ๏‚ถx ๏‚ถy ๏‚ถz
= 3๐‘ฅ2−2๐‘ฅ2+1
Here the cube bounded by the planes x = y = z = a and coordinate planes.
Hence
๐‘ฅ
0 ๐‘ก๐‘œ ๐‘Ž
๐‘ฆ
0 ๐‘ก๐‘œ ๐‘Ž
๐‘ง
0 ๐‘ก๐‘œ ๐‘Ž
a
๏ƒฉ a3
๏ƒน
๏ƒฉ a3
๏ƒน a
๏ƒฆ a3
๏ƒถ a
๏ƒฆ a3
๏ƒถ 2
a5
๏€ซ
a
dydz
๏€ฝ
๏€ซ
a
(
y
)
dz
๏€ฝ
๏€ซ
a
a
dz
๏€ฝ
๏€ซ
a
a
๏€ฝ
๏€ซ a3 ……(1)
๏ƒฒ0 ๏ƒฒ0 ๏ƒช๏ƒซ 3 ๏ƒบ๏ƒป
๏ƒฒ0 ๏ƒช๏ƒซ 3 ๏ƒบ๏ƒป 0 ๏ƒจ๏ƒง 3 ๏ƒธ๏ƒท ๏ƒฒ0 ๏ƒจ๏ƒง 3 ๏ƒธ๏ƒท
3
Verification: We will calculate the value of ๏ƒฒ F .ndS over the six faces of the cube.
a a
๏€จ ๏€ฉ
S
(i)
For S1 = PQAS; unit outward drawn normal
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
164
VECTOR CALCULUS
MATHEMATICS -II
๐‘ฅ = ๐‘Ž; ๐‘‘๐‘  = ๐‘‘๐‘ฆ ๐‘‘๐‘ง; 0 ≤ ๐‘ฆ ≤ ๐‘Ž, 0 ≤ ๐‘ง ≤ ๐‘Ž
๏œ F .n ๏€ฝ x 3 ๏€ญ yz ๏€ฝ a 3 ๏€ญ yz sin cex ๏€ฝ a
a
a
๏œ ๏ƒฒ ๏ƒฒ F .ndS ๏€ฝ ๏ƒฒ ๏ƒฒ (a 3 ๏€ญ yz )dydz
S1
z ๏€ฝ0 y ๏€ฝ0
(ii)
For S2 = OCRB; unit outward drawn normal
๐‘Ž, ๐‘ฆ ≤ ๐‘ง ≤ ๐‘Ž
๐‘ฅ = 0; ๐‘‘๐‘  = ๐‘‘๐‘ฆ ๐‘‘๐‘ง; 0 ≤ ๐‘ฆ ≤
(iii)
For S3 = RBQP; z = a; ๐‘‘๐‘  = ๐‘‘๐‘ฅ๐‘‘๐‘ฆ;
0 ≤ ๐‘ฅ ≤ ๐‘Ž, 0 ≤ ๐‘ฆ ≤ ๐‘Ž
a
a
๏œ ๏ƒฒ ๏ƒฒ F ndS ๏€ฝ ๏ƒฒ ๏ƒฒ adxdy ๏€ฝ a 3 .....(4)
S3
y ๏€ฝ0 x ๏€ฝ0
(iv)
For S4 = OASC; z = 0;
, ๐‘‘๐‘  = ๐‘‘๐‘ฅ๐‘‘๐‘ฆ;
0 ≤ ๐‘ฅ ≤ ๐‘Ž, 0 ≤ ๐‘ฆ ≤ ๐‘Ž
For S5 = PSCR; y = a;
, ๐‘‘๐‘  = ๐‘‘๐‘ง๐‘‘๐‘ฅ;
0 ≤ ๐‘ฅ ≤ ๐‘Ž, 0 ≤ ๐‘ง ≤ ๐‘Ž
(v)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
165
VECTOR CALCULUS
MATHEMATICS -II
a
๏ƒฒ (๏€ญ2ax z) dx
2
a
z ๏€ฝ0
x ๏€ฝ0
(vi)
For S6 = OBQA; y = 0;
, ๐‘‘๐‘  = ๐‘‘๐‘ง๐‘‘๐‘ฅ;
0 ≤ ๐‘ฅ ≤ ๐‘Ž, 0 ≤ ๐‘ฆ ≤ ๐‘Ž
2. Use divergence theorem to evaluate
where
2
2
the surface bounded by the region x +y =4, z=0 and z=3.
and S is
Sol: We have
divF ๏€ฝ ๏ƒ‘.F ๏€ฝ
๏‚ถ
๏‚ถ
๏‚ถ
(4 x) ๏€ซ (๏€ญ2 y 2 ) ๏€ซ (z 2 ) ๏€ฝ 4 ๏€ญ 4 y ๏€ซ 2 z
๏‚ถx
๏‚ถy
๏‚ถz
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
166
VECTOR CALCULUS
MATHEMATICS -II
4๏€ญ x2
๏ƒฉ
๏ƒน
๏€ฝ ๏ƒฒ ๏ƒช 21๏‚ด 2 ๏ƒฒ dy ๏€ญ 12(0) ๏ƒบdx
๏ƒบ๏ƒป
๏€ญ2 ๏ƒช
0
๏ƒซ
2
[Since the integrans in first integral is even and in 2 nd integral it is on add function]
2
2
๏€ฝ 42 ๏ƒฒ 4 ๏€ญ x dx ๏€ฝ 42 ๏‚ด 2๏ƒฒ 4 ๏€ญ x 2 dx
2
๏€ญ2
0
3. Verify divergence theorem for 2x2y i -y2 j +4xz2 k taken over the region of first octant
of the cylinder y2+z2=9 and x=2.
(or) Evaluate ๏ƒฒ ๏ƒฒ F .ndS , where F =2x2y i -y2 j +4xz2 k and S is the closed surface of the
s
region in the first octant bounded by the cylinder y2+z2 = 9 and the planes x= ๐ŸŽ, ๐’™ =
๐Ÿ, ๐’š = ๐ŸŽ, ๐’› = ๐ŸŽ
Sol: Let F =2x2y i -y2 j +4xz2 k
๏œ๏ƒ‘. F ๏€ฝ
๏‚ถ
๏‚ถ
๏‚ถ
(2 x 2 ) ๏€ซ (๏€ญ y 2 ) ๏€ซ (4 xz 2 ) ๏€ฝ 4 xy ๏€ญ 2 y ๏€ซ 8 xz
๏‚ถx
๏‚ถy
๏‚ถz
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
167
VECTOR CALCULUS
MATHEMATICS -II
(x[f(x)]n dx =
{ Since
}
2
๏ƒฉ
x2 ๏ƒน
2
๏ƒช ๏€ญ18( x ๏€ญ x ) ๏€ซ 72 2 ๏ƒบ ๏€ฝ ๏€ญ18(2 ๏€ญ 4) ๏€ซ 36(4) ๏€ฝ 36 ๏€ซ 144 ๏€ฝ 180...(1)
๏ƒซ
๏ƒป0
๏ƒฒ F .ndS = ๏ƒฒ F .ndS + ๏ƒฒ F .ndS +……+ ๏ƒฒ F .ndS
s5
s2
s1
s
Where S1 is the face OAB, S2 is the face CED, S3 is the face OBDE, S4 is the face OACE and
S5 is the curved surface ABDC.
(i)
On S1 : x ๏€ฝ 0, n ๏€ฝ ๏€ญi
๏œ F.n ๏€ฝ 0 Hence ๏ƒฒ F .ndS
s1
(ii)
On S2 : x ๏€ฝ 2, n ๏€ฝ i
3
9๏€ญ z 2
0
0
๏œ ๏ƒฒ F .ndS ๏€ฝ ๏ƒฒ
s2
๏ƒฒ
๏œ F .n ๏€ฝ 8 y
๏ƒฆ y2 ๏ƒถ
8 ydydz ๏€ฝ๏ƒฒ 8 ๏ƒง ๏ƒท
2 ๏ƒธ0
0 ๏ƒจ
3
9๏€ญ z 2
DEPARTMENT OF HUMANITIES & SCIENCES
dz
©MRCET (EAMCET CODE: MLRD)
168
VECTOR CALCULUS
MATHEMATICS -II
On S3 : y ๏€ฝ 0, n ๏€ฝ ๏€ญ j. ๏œ F.n ๏€ฝ 0 Hence ๏ƒฒ F .ndS
(iii)
s3
๏ƒ‘( y 2 ๏€ซ z 2 )
2 y j ๏€ซ 2 zk
y j ๏€ซ zk y j ๏€ซ zk
(v) On S5 : y ๏€ซ z ๏€ฝ 9, n ๏€ฝ
๏€ฝ
๏€ฝ
๏€ฝ
2
2
2
2
3
๏ƒ‘( y ๏€ซ z )
4๏‚ด9
4 y ๏€ซ 4z
2
F .n ๏€ฝ
2
z 1
๏€ญ y 3 ๏€ซ 4 xz 3
9 ๏€ญ y2
and n.k ๏€ฝ ๏€ฝ
3 3
3
Hence
3
Tofind ๏ƒฒ y 3 ( 9 ๏€ญ y 2 ) dy
0
sub
y ๏€ฝ 3sin ๏ฑ
dy ๏€ฝ 3cos ๏ฑ
๏ฐ
3
2
0
0
3
2
3
๏ƒฒ y ( 9 ๏€ญ y ) dy ๏€ฝ ๏ƒฒ sin ๏ฑ d๏ฑ
sub
sin 3 ๏ฑ ๏€ฝ 3sin ๏ฑ ๏€ญ sin 3๏ฑ
We get
๏ฐ
3
2
0
0
3
2
3
๏ƒฒ y ( 9 ๏€ญ y ) dy ๏€ฝ ๏ƒฒ sin ๏ฑ d๏ฑ ๏€ฝ ๏€ญ18
Hence
๏ƒฒ F .nds
S3
= 180 … … (2)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
169
VECTOR CALCULUS
MATHEMATICS -II
Hence the Divergence theorem is verified from the equality of (1) and (2).
4. Verify Gauss divergence theorem for
bounded by ๐’™ = ๐ŸŽ, ๐’™ = ๐’‚, ๐’š = ๐ŸŽ, ๐’š = ๐’‚, ๐’› = ๐ŸŽ, ๐’› = ๐’‚.
taken over the cube
Sol: We have
๏ƒ‘.F ๏€ฝ
๏‚ถ 3
๏‚ถ
๏‚ถ
( x ) ๏€ซ ( y 3 ) ๏€ซ ( z 3 ) ๏€ฝ 3x 2 ๏€ซ 3 y 2 ๏€ซ 3z 2
๏‚ถx
๏‚ถy
๏‚ถz
To evaluate the surface integral divide the closed surface S of the cube into 6 parts.
i.e.,
S1 : The face DEFA
; S4 : The face OBDC
S2 : The face AGCO
; S5 : The face GCDE
S3 : The face AGEF
;S6: The face AFBO
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
170
VECTOR CALCULUS
MATHEMATICS -II
a
a
๏€จ
๏€ฉ
๏œ ๏ƒฒ ๏ƒฒ F .nds ๏€ฝ ๏ƒฒ ๏ƒฒ a3 i ๏€ซ y 3 j ๏€ซ z 3 k .idydz
z ๏€ฝ0 y ๏€ฝ0
s1
๏ƒฒ ๏ƒฒ F.nds ๏€ฝ ๏ƒฒ ๏ƒฒ ๏€จ y j ๏€ซ z k ๏€ฉ .๏€จ ๏€ญi ๏€ฉ dydz ๏€ฝ 0
a
a
3
s2
3
z ๏€ฝ0 y ๏€ฝ0
a
a
๏€จ
๏€ฉ
a
a
a
3
3
3
3
3
4
๏ƒฒ ๏ƒฒ F.nds ๏€ฝ ๏ƒฒ ๏ƒฒ x i ๏€ซ a j ๏€ซ z k . jdxdz ๏€ฝ a ๏ƒฒ ๏ƒฒ dxdz ๏€ฝ a ๏ƒฒ adz ๏€ฝ a ๏€จ z ๏€ฉ0
s3
z ๏€ฝ0 x ๏€ฝ0
๏€ฝa
a
z ๏€ฝ0 x ๏€ฝ0
0
5
๏œThe Gauss divergence theorem is verified.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
171
VECTOR CALCULUS
MATHEMATICS -II
over the surface of the sphere x2+y2+z2 = 1
5. Compute
Sol: By divergence theorem ๏ƒฒ F .ndS =
S
๏œ
๏ƒฆ ๏‚ถ
๏‚ถ
๏‚ถ ๏ƒถ
V๏ฆ ๏€ฝ ๏ƒง i ๏€ซ j ๏€ซ k ๏ƒท x 2 ๏€ซ y 2 ๏€ซ z 2 ๏€ญ 1 ๏€ฝ 2( xi ๏€ซ y j ๏€ซ zk )
๏‚ถy
๏‚ถy ๏ƒธ
๏ƒจ ๏‚ถx
๏€จ
๏€ฉ
๏œ Unit normal vector = n =
2( xi ๏€ซ y j ๏€ซ zk )
2 x ๏€ซy ๏€ซz
2
2
2
๏€ฝ xi ๏€ซ y j ๏€ซ zk Since x 2 ๏€ซ y 2 ๏€ซ z 2 =1
๏œ F .n = F .( xi ๏€ซ y j ๏€ซ zk ) ๏€ฝ (ax 2 ๏€ซ by 2 ๏€ซ cz 2 ) ๏€ฝ (a xi ๏€ซ by j ๏€ซ czk ).( xi ๏€ซ y j ๏€ซ zk )
i.e., F ๏€ฝ axi ๏€ซ by j ๏€ซ czk
๏ƒ‘.F ๏€ฝ a ๏€ซ b ๏€ซ c
Hence by Gauss Divergence theorem,
6. Use divergence theorem to evaluate ๏ƒฒ ๏ƒฒ F .d S where F =x3i+y3j+z3k and S is the surface
s
of the sphere x2+y2+z2 = r2
Sol: We have V .F ๏€ฝ
๏‚ถ 3
๏‚ถ
๏‚ถ
( x ) ๏€ซ (y3 ) ๏€ซ (z3 ) ๏€ฝ 3( x 2 ๏€ซ y 2 ๏€ซ z 2 )
๏‚ถx
๏‚ถy
๏‚ถz
By divergence theorem,
= ๏ƒฒ ๏ƒฒ ๏ƒฒ 3( x 2 ๏€ซ y 2 ๏€ซ z 2 )dxdydz
v
Applying spherical coordinates,
๏ฐ
๏ƒฉ๏ฐ
๏ƒน
๏€ฝ 3 ๏ƒฒ ๏ƒฒ r sin ๏ฑ (2๏ฐ ๏€ญ 0)drd๏ฑ ๏€ฝ 6๏ฐ ๏ƒฒ r ๏ƒช ๏ƒฒ sin ๏ฑ d๏ฑ ๏ƒบ dr
r ๏€ฝ0 ๏ฑ ๏€ฝ0
r ๏€ฝ0
๏ƒซ0
๏ƒป
a
a
4
4
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
172
VECTOR CALCULUS
MATHEMATICS -II
7. Verify divergence theorem for
off by the plane x+y+z=a in the first octant.
over the surface S of the solid cut
Sol. By Gauss theorem, ๏ƒฒ F .ndS ๏€ฝ ๏ƒฒ divFdv
s
v
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏€ฝ 1,
๏€ฝ 1,
๏€ฝ1
๏‚ถx
๏‚ถy
๏‚ถz
๏‚ถ๏ฆ
๏œ grad๏ฆ ๏€ฝ ๏ƒฅ i
๏€ฝi๏€ซ j๏€ซk
๏‚ถx
Let R be the projection of S on xy-plane
Then the equation of the given plane will be x+y=a ๏ƒž y=a-x
Also when y=0, x=a
๏œ ๏ƒฒ F .ndS ๏€ฝ ๏ƒฒ ๏ƒฒ
s
R
F .ndxdy
n.k
=
2 ๏ƒถ
a4
๏ƒฆ 5
๏œ ๏ƒฒ F .ndS ๏€ฝ ๏ƒฒ ๏ƒง ๏€ญ x 3 ๏€ซ 3ax 2 ๏€ญ 2a 2 x ๏€ซ a 3 ๏ƒทdx ๏€ฝ , on simplification…(1)
3
3 ๏ƒธ
4
s
0๏ƒจ
a
Given F ๏€ฝ x 2 i ๏€ซ y 2 j ๏€ซ z 2 k
๏œdiv F ๏€ฝ
๏‚ถ 2
๏‚ถ
๏‚ถ
( x ) ๏€ซ ( y 2 ) ๏€ซ ( z 2 ) ๏€ฝ 2( x ๏€ซ y ๏€ซ z )
๏‚ถx
๏‚ถy
๏‚ถz
a a๏€ญ x a๏€ญx๏€ญ y
Now ๏ƒฒ๏ƒฒ๏ƒฒ divF .dv ๏€ฝ 2 ๏ƒฒ
๏ƒฒ ๏ƒฒ ( x ๏€ซ y ๏€ซ z )dxdydz
x ๏€ฝ0 y ๏€ฝ0 z ๏€ฝ0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
173
VECTOR CALCULUS
MATHEMATICS -II
Hence from (1) and (2), the Gauss Divergence theorem is verified.
8. Use Gauss Divergence theorem to evaluate
S is
2
2 2
the closed surface bounded by the xy-plane and the upper half of the sphere x +y +z =a2
above this plane.
Sol: Divergence theorem states that
Here ๏ƒ‘.F ๏€ฝ
๏‚ถ
๏‚ถ
๏‚ถ
( yz 2 ) ๏€ซ ( zx 2 ) ๏€ซ (2 z 2 ) ๏€ฝ 4 z
๏‚ถx
๏‚ถy
๏‚ถz
๏œ ๏ƒฒ ๏ƒฒ F .ds ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒฒ 4 zdxdydz
s
V
Introducing spherical polar coordinates x ๏€ฝ r sin ๏ฑ cos ๏ฆ , y ๏€ฝ r sin ๏ฑ sin ๏ฆ ,
z ๏€ฝ r cos๏ฑ then dxdydz ๏€ฝ r 2 drd๏ฑ d๏ฆ
a
๏ฐ
2๏ฐ
๏œ ๏ƒฒ ๏ƒฒ F .ds ๏€ฝ 4 ๏ƒฒ ๏ƒฒ ๏ƒฒ (r cos ๏ฑ )(r 2 sin ๏ฑ drd๏ฑ d๏ฆ )
s
r ๏€ฝ0 ๏ฑ ๏€ฝ0 ๏ฆ ๏€ฝ0
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
174
VECTOR CALCULUS
MATHEMATICS -II
๏€จ
๏€ฉ
9. Use Divergence theorem to evaluate ๏ƒฒ ๏ƒฒ xi ๏€ซ y j ๏€ซ z 2 k .nds. Where S is the surface
2
2
2
bounded by the cone x +y =z in the plane z = 4.
S is the surface bounded by the cone x2+y2=z2
Sol: Given
in the plane z = 4. Let
๏ƒ‘.F ๏€ฝ
๏‚ถ
๏‚ถ
๏‚ถ
( x) ๏€ซ ( y) ๏€ซ ( z 2 ) ๏€ฝ 1 ๏€ซ 1 ๏€ซ 2 z ๏€ฝ 2(1 ๏€ซ z )
๏‚ถx
๏‚ถy
๏‚ถz
On the cone, x 2 ๏€ซ y 2 ๏€ฝ z 2 and z=4 ๏ƒž x 2 ๏€ซ y 2 ๏€ฝ 16
4 16 ๏€ญ x 2
๏€ฝ 2๏ƒฒ
๏ƒฒ
0
0
4
[4 ๏€ซ 8]dxdy ๏€ฝ 2 ๏‚ด12๏ƒฒ [ y]0 16๏€ญ x dx
2
0
[ putx ๏€ฝ 4sin ๏ฑ ๏ƒž dx ๏€ฝ 4 cos ๏ฑ d๏ฑ . Also x ๏€ฝ 0 ๏ƒž ๏ฑ ๏€ฝ 0 and x ๏€ฝ 4 ๏ƒž ๏ฑ ๏€ฝ
๏ฐ
๏ฐ
]
2
๏ฐ
2
2
๏œ ๏ƒฒ ๏ƒฒ ๏ƒฒ ๏ƒ‘.Fdv ๏€ฝ 96 ๏‚ด 4 ๏ƒฒ 4 1 ๏€ญ sin ๏ฑ cos ๏ฑ d๏ฑ ๏€ฝ96 ๏‚ด 4 ๏ƒฒ cos 2 ๏ฑ d๏ฑ
2
V
0
DEPARTMENT OF HUMANITIES & SCIENCES
0
©MRCET (EAMCET CODE: MLRD)
175
VECTOR CALCULUS
MATHEMATICS -II
Green’s Theorem in a Plane(Transformation b/w Line Integral and Surface
Integral )
If S is Closed region in xy plane bounded by a simple closed curve C and if M and N are
continuous functions of x and y having continuous derivatives in R, then
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy. Where C is traversed in the anti clock-wise direction
C
R
PROBLEMS
1.Verify Green’s theorem in plane for
region bounded by y=
and y= .
Sol: Let M=3
-
where C is the
and N=4y-6xy. Then
,
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
176
VECTOR CALCULUS
MATHEMATICS -II
We have by Green’s theorem,
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy.
C
R
๏ƒฆ ๏‚ถN ๏‚ถM ๏ƒถ
๏€ญ
Now ๏ƒฒ๏ƒฒ ๏ƒง
๏ƒทdxdy ๏€ฝ ๏ƒฒ๏ƒฒ ๏€จ16 y ๏€ญ 6 y ๏€ฉdxdy
๏‚ถx ๏‚ถy ๏ƒธ
R ๏ƒจ
R
x
๏ƒฆ y2 ๏ƒถ
=10๏ƒฒ๏ƒฒ ydxdy =10 ๏ƒฒ ๏ƒฒ ydydx ๏€ฝ 10 ๏ƒฒ ๏ƒง ๏ƒท dx
2 ๏ƒธ2
x ๏€ฝ0 y ๏€ฝ x2
x ๏€ฝ0 ๏ƒจ
R
x
1
x
1
=5
….(1)
Verification:
We can write the line integral along c
=[line integral along y=
(from O to A) + [line integral along
=x(from A to O)]
= + (say)
Now
=
=
And
๏€ฉ
๏€จ
3
1
5
๏ƒฉ
๏ƒน
l2 ๏€ฝ ๏ƒฒ ๏ƒช๏€จ 3x 2 ๏€ญ 8 x ๏€ฉ dx ๏€ซ 4 x ๏€ญ 6 x 2
dx ๏ƒบ ๏€ฝ ๏ƒฒ ๏€จ 3x 2 ๏€ญ 11x ๏€ซ 2 ๏€ฉ dx ๏€ฝ
2
2 x ๏ƒป 1
1๏ƒซ
0
From(1) and (2), we have
0
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy.
C
R
Hence the verification of the Green’s theorem.
.over triangle enclosed by the ๐’๐’Š๐’๐’†๐’” ๐’š =
2.Evaluate
2x
๐ŸŽ, ๐’™ = , ๐’š = π using Green’s theorem.
Sol : Let M=y=1 and
Then
=-
๏œ By Green’s theorem
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy.
C
R
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
177
VECTOR CALCULUS
MATHEMATICS -II
๏ƒž ๏ƒฒ ( y ๏€ญ sin x)dx ๏€ซ cos xdy ๏€ฝ ๏ƒฒ๏ƒฒ (๏€ญ1 ๏€ญ sin x)dxdy
c
R
===
=
๏ฐ
๏€ญ2
๏ฐ
2
๏ƒฉ x ๏€จ ๏€ญ cos x ๏€ซ x ๏€ฉ ๏ƒน๏ƒป 0 ๏€ญ ๏ƒฒ 1(๏€ญ cos x ๏€ซ x)dx
๏ฐ ๏ƒซ
0
=
=
3.A Vector field is given by F ๏€ฝ (sin y )i ๏€ซ x(1 ๏€ซ cos y ) j
Evaluate the line integral over the circular path
+
, z=0
(i) Directly (ii) By using Green’s theorem
Sol: (i) Using the line integral
= ๏ƒฒ sin ydx ๏€ซ x cos ydy ๏€ซ xdy ๏€ฝ ๏ƒฒ d ( x sin y ) ๏€ซ xdy
c
Given Circle is
dy=a
c
+
. Take x=a
and y=a
so that dx=-a
and
and
=
2 1 ๏ฐ
2
=0+ 4a . . ๏€ฝ ๏ฐ a
2 2
(ii)Using Green’s theorem
Let M=
=
and N=x
and
Then
=
By Green’s theorem,
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
178
VECTOR CALCULUS
MATHEMATICS -II
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy
C
R
๏œ ๏ƒฒ sin ydx ๏€ซ x(1 ๏€ซ cos y )dy ๏€ฝ ๏ƒฒ๏ƒฒ (๏€ญ cos y ๏€ซ 1 ๏€ซ cos y )dxdy ๏€ฝ๏€ฝ ๏ƒฒ๏ƒฒ dxdy
c
R
= ๏ƒฒ ๏ƒฒ dA ๏€ฝ A ๏€ฝ ๏ฐ a 2 ( area of circle = ๏ฐ a 2 )
R
We observe that the values obtained in (i) and (ii) are same to that Green’s theorem is
verified.
4.Show that area bounded by a simple closed curve C is given by
hence find the area of
(i)The ellipse x= a cos ๏ฑ , y ๏€ฝ bsin๏ฑ
and
x2 y 2
(i.e) 2 ๏€ซ 2 ๏€ฝ 1
a b
(ii )The Circle x=
Solution: We have by Green’s theorem
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy
C
R
Here M=-y and N=x so that
๏ƒฒ xdy ๏€ญ ydx ๏€ฝ 2๏ƒฒ dxdy ๏€ฝ 2 A where A is the area of the surface.
c
R
(i)For the ellipse x=
and y=
and
=
=
(ii)Put a=b to get area of the circle A=
5. Verify Green’s theorem for
where C is bounded by y=x and
y=
๏ƒฆ ๏‚ถN ๏‚ถM ๏ƒถ
๏€ญ
Sol: By Green’s theorem, we have ๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒง
๏ƒทdxdy
๏‚ถx ๏‚ถy ๏ƒธ
C
R๏ƒจ
Here M=xy +
and N=
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
179
VECTOR CALCULUS
MATHEMATICS -II
The line y=x and the parabola y=
Now
intersect at O
and A
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ Mdx ๏€ซ Ndy ๏€ซ ๏ƒฒ Mdx ๏€ซ Ndy......(1)
c
c1
…..(1)
c2
Along
the line integral is
1
2
4
2
2
3
4
3
3
4
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ [ x( x ) ๏€ซ x ]dx ๏€ซ x d ( x )๏ƒฒ ( x ๏€ซx ๏€ซ 2x )dx ๏€ฝ ๏ƒฒ (3x ๏€ซ x )dx
c1
c1
c
=
0
…….(2)
=
Along
from
to
the line integral is
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ( x.x ๏€ซ x )dx ๏€ซ x dx
2
c2
2
c2
=
=0-1=-1
….(3)
From (1), (2) and (3), we have
…(4)
Now
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy = ๏ƒฒ ๏ƒฒ (2 x ๏€ญ x ๏€ญ 2 y)dxdy
R
R
=
=
From
….(5)
=
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ Mdx ๏€ซ Ndy = ๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธ dxdy
c
R
Hence the Green’s Theorem is verified.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
180
MATHEMATICS -II
VECTOR CALCULUS
6. Verify Green’s theorem for
bounded by x=0, y=0 and x+y=1.
where c is the region
Solution : By Green’s theorem, we have
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ M dx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy
c
R
Here M=3
๏œ
and N=4y-6xy
๏‚ถN
๏‚ถM
๏€ฝ ๏€ญ6 y
๏€ฝ ๏€ญ16 y and
๏‚ถx
๏‚ถy
Now
๏ƒฒ Mdx ๏€ซ Ndy ๏€ฝ ๏ƒฒ Mdx ๏€ซ Ndy ๏€ซ ๏ƒฒ Mdx ๏€ซ Ndy ๏€ซ ๏ƒฒ Mdx ๏€ซ Ndy...(1)
c
OA
AB
BC
Along OA, y=0
Along AB, x+y=1
and x=1-y and y varies from 0 to 1.
1
2
2
๏ƒฒ Mdx ๏€ซ Ndy = ๏ƒฒ [3( y ๏€ญ 1) ๏€ญ 8 y ](๏€ญdy) ๏€ซ [4 y ๏€ซ 6 y( y ๏€ญ 1)]dy
0
AB
=
=
=
Along BO, x=0
and limits of y are from 1 to 0
.
from (1), we have
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
181
VECTOR CALCULUS
MATHEMATICS -II
1 1๏€ญ x
๏ƒฆ ๏‚ถN ๏‚ถM ๏ƒถ
๏€ญ
Now ๏ƒฒ ๏ƒฒ ๏ƒง
๏ƒทdxdy ๏€ฝ ๏ƒฒ ๏ƒฒ (๏€ญ6 y ๏€ซ 16 y)dxdy
๏‚ถx ๏‚ถy ๏ƒธ
R๏ƒจ
x ๏€ฝ0 y ๏€ฝ0
=10
=5
=From (2) and (3), we have
=
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ M dx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy
c
R
Hence the Green’s Theorem is verified.
7. Apply Green’s theorem to evaluate
the boundary of the area enclosed by the x-axis and upper half of the circle
Sol : Let M=
and N=
Then
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ M dx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy
c
R
๏ƒฒ [(2 x ๏€ญ y )dx ๏€ซ ( x ๏€ซ y )dy] ๏€ฝ ๏ƒฒ ๏ƒฒ (2 x ๏€ซ 2 y)dxdy
2
2
2
2
c
R
=2 ๏ƒฒ ๏ƒฒ ( x ๏€ซ y )dy
R
=2
[Changing to polar coordinates (r, , r varies from 0 to a and varies from 0 to ]
a
๏ฐ
0
0
๏œ ๏ƒฒ [(2 x 2 ๏€ญ y 2 )dx ๏€ซ ( x 2 ๏€ซ y 2 )dy ] ๏€ฝ 2๏ƒฒ r 2 dr ๏ƒฒ (cos ๏ฑ ๏€ซ sin ๏ฑ )d๏ฑ
c
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
182
VECTOR CALCULUS
MATHEMATICS -II
=2.
8. Verify Green’s theorem in the plane for
Where C is square with vertices (0,0), (2,0), (2,2), (0,).
Solution: The Cartesian form of Green’s theorem in the plane is
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ M dx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy
c
R
Here M=
and N=
-3
and
Evaluation of
To Evaluate
, we shall take C in four different segments
viz (i) along OA(y=0) (ii) along AB(x=2) (iii) along BC(y=2) (iv) along CO(x=0).
(i)Along OA(y=0)
…..(1)
(ii)Along AB(x=2)
[
=
….(2)
(iii)Along BC(y=2)
[
2
๏ƒฆ x3
๏ƒถ
๏ƒฆ8
๏ƒถ 40
= ๏ƒง ๏€ญ 4 x 2 ๏ƒท ๏€ฝ ๏€ญ ๏ƒง ๏€ญ 16 ๏ƒท ๏€ฝ ......(3)
๏ƒจ3
๏ƒธ 3
๏ƒจ 3
๏ƒธ0
(iv)Along CO(x=0)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
183
VECTOR CALCULUS
MATHEMATICS -II
[
…..(4)
Adding(1),(2),(3) and (4), we get
๏ƒฒ ๏€จ x ๏€ญ xy ๏€ฉdx ๏€ซ ๏€จ y ๏€ญ 2xy ๏€ฉ dy ๏€ฝ 3 ๏€ญ 3 ๏€ซ 3 ๏€ญ 3 ๏€ฝ 3 ๏€ฝ 8
2
3
8 16 40 8
2
24
…(5)
c
๏ƒฆ ๏‚ถN ๏‚ถM ๏ƒถ
๏€ญ
Evaluation of ๏ƒฒ ๏ƒฒ ๏ƒง
๏ƒทdxdy
๏‚ถ
x
๏‚ถ
y
๏ƒจ
๏ƒธ
R
Here x ranges from 0 to 2 and y ranges from 0 to 2.
2 2
๏ƒฆ ๏‚ถN ๏‚ถM ๏ƒถ
2
๏€ญ
dxdy
=
๏ƒฒ ๏ƒฒR ๏ƒง๏ƒจ ๏‚ถx ๏‚ถy ๏ƒท๏ƒธ
๏ƒฒ0 ๏ƒฒ0 (๏€ญ2 y ๏€ซ 3xy )dxdy
=
2
= ๏ƒฒ (๏€ญ4 y ๏€ซ 6 y 2 )dy ๏€ฝ ๏€จ ๏€ญ2 y 2 ๏€ซ 2 y 3 ๏€ฉ
2
0
0
…(6)
= -8+16=8
From (5) and (6), we have
๏ƒฆ ๏‚ถN
๏‚ถM ๏ƒถ
๏ƒฒ M dx ๏€ซ Ndy ๏€ฝ ๏ƒฒ ๏ƒฒ ๏ƒง๏ƒจ ๏‚ถx ๏€ญ ๏‚ถy ๏ƒท๏ƒธdxdy
c
R
Hence the Green’s theorem is verified.
Stoke’s Theorem (Transformation between Line Integral and Surface Integral)
Let S be a open surface bounded by a closed, non intersecting curve C. If
differentiable vector point function then
=
is any
direction and
PROBLEMS
1. Apply Stokes theorem, to evaluate
๏ƒฒ ( ydx ๏€ซ zdy ๏€ซ xdz) where c is the curve of
c
intersection of the sphere
and x+z=a.
Solution : The intersection of the sphere
circle in the plane x+z=a with AB as diameter.
the plane x+z=a is a
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
184
VECTOR CALCULUS
MATHEMATICS -II
Equation of the plane is x+z=a
๏œOA ๏€ฝ OB ๏€ฝ a i.e., A ๏€ฝ (a, 0, 0) and B=(0,0,a)
๏œ Length of the diameter AB ๏€ฝ a2 ๏€ซ a2 ๏€ซ 0 =a
Radius of the circle, r=
Let
=
Let
be the unit normal to this surface.
Then s=x+z-a, ๏ƒ‘S = i ๏€ซ k
Hence
=-
ds =
=2.Prove by Stokes theorem, ๐‘ช๐’–๐’“๐’ ๐’ˆ๐’“๐’‚๐’…
=
Sol: Let S be the surface enclosed by a simple closed curve C.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
185
VECTOR CALCULUS
MATHEMATICS -II
๏ƒฆ i๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ ๏ƒถ
๏€ซj
๏€ซ k ๏ƒท . idx ๏€ซ jdy ๏€ซ kdz
=๏ƒฒ๏ƒง
๏‚ถx
๏‚ถy
๏‚ถz ๏ƒธ
c ๏ƒจ
๏€จ
๏€ฉ
๏ƒฆ ๏‚ถ๏ฆ
๏‚ถ๏ฆ
๏‚ถ๏ฆ ๏ƒถ
= ๏ƒฒ ๏ƒง dx ๏€ซ
dy ๏€ซ
dz ๏ƒท ๏€ฝ d๏ฆ ๏€ฝ ๏›๏ฆ ๏ p where P is any point
๏‚ถx
๏‚ถy
๏‚ถz ๏ƒธ ๏ƒฒ
c ๏ƒจ
on C.
๏œ
3. Verify Stokes theorem for
Sol: Given that
, Where S is the circular disc
. The boundary of C of S is a circle in xy plane.
We use the parametric co-ordinates x=cos
dx=-sin
and dy =cos
=
=
=
=
=2
=2
Now
We have (k .n)ds ๏€ฝ dxdy and R is the region on xy-plane
.
Put x=r cos
r is varying from 0 to 1 and 0
๏œ
.
.rdr d
L.H.S=R.H.S. Hence the theorem is verified.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
186
VECTOR CALCULUS
MATHEMATICS -II
4.Verify Stokes theorem for
over the upper half surface of
the sphere
bounded by the projection of the xy-plane.
Sol: The boundary C of S is a circle in xy plane i.e
=1, z=0
The parametric equations are x=
๏ƒฒ F .d r ๏€ฝ ๏ƒฒ F dx ๏€ซ F dy ๏€ซ F dz ๏€ฝ ๏ƒฒ (2x ๏€ญ y)dx ๏€ญ yz dy ๏€ญ y zdz
2
1
c
2
2
3
c
c
=
2๏ฐ
2๏ฐ
2๏ฐ
๏€ฝ ๏€ญ ๏ƒฒ (2 cos ๏ฑ ๏€ญ sin ๏ฑ ) sin ๏ฑ d๏ฑ ๏€ฝ ๏ƒฒ sin ๏ฑ d๏ฑ ๏€ญ ๏ƒฒ sin 2๏ฑ d๏ฑ
2
0
0
0
=
=
Again
=
.
=
Where R is the projection of S on xy plane and
Now
=
2 =
Stokes theorem is verified.
5.Evaluate by Stokes theorem
boundary of the triangle with vertices (0,0,0), (1,0,0) and (1,1,0).
where C is the
Solution: Let
Then
By Stokes theorem,
Where S is the surface of the triangle OAB which lies in the xy plane. Since the z Coordinates of ๐‘‚, ๐ด ๐‘Ž๐‘›๐‘‘ ๐ต
Are zero. Therefore
. Equation of OA is y=0 and
that of OB, y=x in the xy plane.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
187
VECTOR CALCULUS
MATHEMATICS -II
=
2
ds=curl
๏œ
the
= OA ๏‚ด AB =
1
1
๏‚ด 1๏‚ด 1 ๏€ฝ
2
2
6: Verify Stoke’s theorem for
bounded by the lines x=
taken round the rectangle
Sol: Let ABCD be the rectangle whose vertices are (a,0), (a,b), (-a,b) and (-a,0).
Equations of AB, BC, CD and DA are x=a, y=b, x=-a and y=0.
We have to prove that
=
=
…..(1)
(i) Along AB, x=a, dx=0
from (1),
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
188
VECTOR CALCULUS
MATHEMATICS -II
(ii)Along BC, y=b, dy=0
๏€ญa
x ๏€ฝ๏€ญ a
๏ƒฉ x3
๏ƒน
from (1), ๏ƒฒ ๏€ฝ ๏ƒฒ ( x ๏€ซ b )dx ๏€ฝ ๏ƒช ๏€ซ b 2 x ๏ƒบ =
๏ƒซ3
๏ƒป x๏€ฝa
BC
x ๏€ฝa
2
2
(iii) Along CD, x=-a, dx=0
0
๏ƒฉ y2 ๏ƒน
from (1), ๏ƒฒ ๏€ฝ ๏ƒฒ 2aydy ๏€ฝ 2 a ๏ƒช ๏ƒบ ๏€ฝ ๏€ญ ab 2
๏ƒซ 2 ๏ƒป y ๏€ฝb
CD y ๏€ฝb
0
(iv)Along DA, y=0, dy=0
a
x๏€ฝa
๏ƒฉ x3 ๏ƒน
2a 3
from (1), ๏ƒฒ ๏€ฝ ๏ƒฒ x dx ๏€ฝ ๏ƒช ๏ƒบ
๏€ฝ
3
๏ƒซ 3 ๏ƒป x ๏€ฝ๏€ญ a
DA x ๏€ฝ๏€ญ a
2
(i)+(ii)+(iii)+(iv) gives
--
….(2)
+
Consider
Vector Perpendicular to the xy-plane is
=
Since the rectangle lies in the xy plane,
and ds =dx dy
=
=
b
a
b
y ๏€ฝ0
๏€ญa
y ๏€ฝ0
= 4 ๏ƒฒ y ๏› x ๏ dy ๏€ฝ ๏€ญ4 ๏ƒฒ 2aydy
...(3).Hence from (2) and (3),
Stoke’s theorem verified.
7.Verify Stoke’s theorem for
of the cube x =0, y=0, z=0, x=2, y=2,z=2 above the xy plane.
Solution: Given
where S is the surface
where S is the surface of the cube.
x=0, y=0, z=0, x=2, y=2, z=2 above the xy plane.
By Stoke’s theorem, we have
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
189
VECTOR CALCULUS
MATHEMATICS -II
=
…..(1)
To find
. (dx
=
Sis the surface of the cube above the xy-plane
Along
……..(2)
Along
……. .(3)
Along
2
2
= ๏ƒฒ 4dy ๏€ฝ ๏› 4 y ๏ ๏€ฝ 8
0
……(4)
0
Along
…..(5)
.
Above the surface When z=2
….(6)
Along
Along
y changes from 0 to 2
2
๏ƒฉ y2 ๏ƒน
2
F
.
d
r
๏€ฝ
(2
y
๏€ซ
4)
dy
๏€ฝ
2
๏ƒช 2 ๏ƒบ ๏€ซ 4 ๏› y ๏0 ๏€ฝ 4 ๏€ซ 8 ๏€ฝ 12
๏ƒฒ0
๏ƒฒ0
๏ƒซ ๏ƒป0
2
Along
2
….(7)
x changes from 2 to 0
….(8)
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
190
VECTOR CALCULUS
MATHEMATICS -II
Along
y changes from 2 to 0.
0
๏ƒฉ y2 ๏ƒน
0
(2
y
๏€ซ
4)
๏€ฝ
2
๏ƒช 2 ๏ƒบ ๏€ซ 4 ๏› y ๏2 ๏€ฝ ๏€ญ12
๏ƒฒ2
๏ƒซ ๏ƒป2
0
…..(9)
(2)+(3)+(4)+(5)+(6)+(7)+(8)+(9) gives
…..(10)
By Stokes theorem, We have
=
ds=-4
Hence Stoke’s theorem is verified.
DEPARTMENT OF HUMANITIES & SCIENCES
©MRCET (EAMCET CODE: MLRD)
191
Download