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