CHAPTER 5 NUMERICAL INTEGRATION METHODS OVER N- DIMENSIONAL REGIONS USING GENERALIZED GAUSSIAN QUADRATURE

Similar documents
Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 36

SHAPE AND STRUCTURE. Shape and Structure. An explanation of Mathematical terminology

Lesson 9. Three-Dimensional Geometry

Revision Problems for Examination 2 in Algebra 1

When implementing FEM for solving two-dimensional partial differential equations, integrals of the form

= f (a, b) + (hf x + kf y ) (a,b) +

Integration. Volume Estimation

Numerical Integration

PROGRAM OF WORK( ) SUBJECT: MATHEMATICS

SOLID SHAPES M.K. HOME TUITION. Mathematics Revision Guides. Level: GCSE Foundation Tier

MATHEMATICS. Y4 Understanding shape Visualise, describe and classify 3-D and 2-D shapes. Equipment

acute angle An angle with a measure less than that of a right angle. Houghton Mifflin Co. 2 Grade 5 Unit 6

SOLIDS.

Nodal Integration Technique in Meshless Method

Cubature Rules for High-dimensional Adaptive Integration

CITY AND GUILDS 9210 UNIT 135 MECHANICS OF SOLIDS Level 6 TUTORIAL 15 - FINITE ELEMENT ANALYSIS - PART 1

From the SelectedWorks of Harish Chandra Rajpoot H.C. Rajpoot. Harish Chandra Rajpoot Rajpoot, HCR. Summer April 6, 2015

MONTE CARLO EVALUATION OF DEFINITE INTEGRALS

Spherical Microphone Arrays

CHAPTER 1. Introduction

Visualising Solid Shapes

Answer Key: Three-Dimensional Cross Sections

Boundary Elements 247

Appendix E Calculating Normal Vectors

Finite Element Method. Chapter 7. Practical considerations in FEM modeling

Calculus III. Math 233 Spring In-term exam April 11th. Suggested solutions

1 Appendix to notes 2, on Hyperbolic geometry:

Appropriate Gaussian quadrature formulae for triangles

Hexahedral Structured Grid Generation

Simulation of rotation and scaling algorithm for numerically modelled structures

Prentice Hall Mathematics: Pre-Algebra 2004 Correlated to: The Pennsylvania Math Assessment Anchors and Eligible Content (Grade 11)

Rochester City School District Kindergarten Mathematics Performance Based Assessment RUBRIC. 12 Tasks for a total of 80 points

MODELING MIXED BOUNDARY PROBLEMS WITH THE COMPLEX VARIABLE BOUNDARY ELEMENT METHOD (CVBEM) USING MATLAB AND MATHEMATICA

Integration of Singular Enrichment Functions in the Generalized/Extended Finite Element Method for Three-Dimensional Problems

Lacunary Interpolation Using Quartic B-Spline

ASSESSMENT OF COMPLEX VARIABLE BASIS FUNCTIONS IN THE APPROXIMATION OF IDEAL FLUID FLOW PROBLEMS

Aspects of Geometry. Finite models of the projective plane and coordinates

Voluntary State Curriculum Algebra II

Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, Politecnico di Milano, February 3, 2017, Lesson 1

Foundations of Analytical and Numerical Field Computation

The figures below are all prisms. The bases of these prisms are shaded, and the height (altitude) of each prism marked by a dashed line:

Integration. Edexcel GCE. Core Mathematics C4

1 Exercise: Heat equation in 2-D with FE

Section 6.2: Properties of Graphs of Quadratic Functions. Vertex:

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

Further Volume and Surface Area

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry Solutions

Simple Mesh Examples to Illustrate Specific Finite Element Mesh Requirements

Solving Linear Equations: Prentice Hall Lesson # 1-4; 3-1,2,3; 3-6; 5-1 thru 4; 6-1, 2. Graphing Linear Equations: PH Lesson 1-4

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry

Finite Element Methods for the Poisson Equation and its Applications

EDEXCEL NATIONAL CERTIFICATE UNIT 4 MATHEMATICS FOR TECHNICIANS OUTCOME 1

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24

Cambridge IGCSE mapping

From the SelectedWorks of Harish Chandra Rajpoot H.C. Rajpoot. Harish Chandra Rajpoot, HCR. Spring May 6, 2017

Reducing Points In a Handwritten Curve (Improvement in a Note-taking Tool)

Key Concept Euler s Formula

P1 REVISION EXERCISE: 1

7. The Gauss-Bonnet theorem

Reteaching. Solids. These three-dimensional figures are space figures, or solids. A cylinder has two congruent circular bases.

Math 226A Homework 4 Due Monday, December 11th

DIGITAL TERRAIN MODELS

D01FCF NAG Fortran Library Routine Document

Differentiation and Integration

PRACTICAL GEOMETRY SYMMETRY AND VISUALISING SOLID SHAPES

Investigations in Number, Data, and Space for the Common Core 2012

Mathematical Analysis of Tetrahedron (solid angle subtended by any tetrahedron at its vertex)

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur

Section T Similar and congruent shapes

D A S O D A. Identifying and Classifying 3-D Objects. Examples

3D Nearest-Nodes Finite Element Method for Solid Continuum Analysis

MATH 261 EXAM III PRACTICE PROBLEMS

CME Project, Algebra Correlated to: The Pennsylvania Math Assessment Anchors and Eligible Content (Grade 11)

Sect Volume. 3 ft. 2 ft. 5 ft

SE/TE: SE/TE: 80, N / A SE/TE: 3, 282 SE/TE: 3 4

Precalculus, Quarter 2, Unit 2.1. Trigonometry Graphs. Overview

Revision Checklist for IGCSE Mathematics A guide for Students

青藜苑教育 Volume of cylinder = r h 965 = r = 6 r 965 = r 9.98 = r = r So the radius of the cylinde

Finite Element Modeling Techniques (2) دانشگاه صنعتي اصفهان- دانشكده مكانيك

Aptitude Volume and Surface Area. Theory

Generalized Gaussian Quadrature Rules in Enriched Finite Element Methods

ON THE MAXIMAL VOLUME OF THREE-DIMENSIONAL HYPERBOLIC COMPLETE ORTHOSCHEMES

B.Stat / B.Math. Entrance Examination 2017

11 cm. A rectangular container is 12 cm long, 11 cm wide and 10 cm high. The container is filled with water to a depth of 8 cm.

Moore Catholic High School Math Department

Let a line l and a point P not lying on it be given. By using properties of a transversal and parallel lines, a line which passes through the point P

A triangle that has three acute angles Example:

Mathematics (JUN11MPC201) General Certificate of Education Advanced Subsidiary Examination June Unit Pure Core TOTAL

Solve 3-D problems using Pythagoras theorem and trigonometric ratios (A*) Solve more complex 2-D problems using Pythagoras theorem & trigonometry (A)

An Introduction to Geometrical Probability

QUIZ 4 (CHAPTER 17) SOLUTIONS MATH 252 FALL 2008 KUNIYUKI SCORED OUT OF 125 POINTS MULTIPLIED BY % POSSIBLE

Geometric Algorithms in Three Dimensions Tutorial. FSP Seminar, Strobl,

Tuesday 22 January 2008 Afternoon Time: 1 hour 30 minutes

Geometry Vocabulary. acute angle-an angle measuring less than 90 degrees

Grade 7 Mathematics Performance Level Descriptors

GEOMETRIC TOOLS FOR COMPUTER GRAPHICS

BIBLIOGRAPHY. Abramowicz, M., Stegun, I. A. (1964): Editors, Handbook of Mathematical Functions, Dover Publications.

FOUNDATION HIGHER. F Autumn 1, Yr 9 Autumn 2, Yr 9 Spring 1, Yr 9 Spring 2, Yr 9 Summer 1, Yr 9 Summer 2, Yr 9

Caught in a Net. SETTING THE STAGE Examine and define faces of solids. LESSON OVERVIEW. Examine and define edges of solids.

Revised Sheet Metal Simulation, J.E. Akin, Rice University

Transcription:

CHAPTER 5 NUMERICAL INTEGRATION METHODS OVER N- DIMENSIONAL REGIONS USING GENERALIZED GAUSSIAN QUADRATURE 5.1 Introduction Multidimensional integration appears in many mathematical models and can seldom be calculated analytically. The numerical approximation of such integrals is a challenging work in numerical analysis, as many such integrals appear in the fields of finite element method (to calculate the stiffness matrix), in computer graphics (to solve integral equations), in financial mathematics (to determine the value of sophisticated financial derivatives, such as exotic options and to determine the value at risk) and in many other fields. The cubature formulae for integration of higher dimensional integrals are typically derived by solving very complicated systems of non-linear equations. The integration rule proposed in this chapter does not require solving non-linear systems of equations, as a product formula is derived using the one-dimensional quadrature points given in Ma et.al (1996). It is true that, by using a product formula, the number of function evaluations increases geometrically with the increase in dimension. But this does not become a drawback as the present high speed computers can handle this in very few seconds, even up to ten dimensions. Moreover, the accuracy of the results are too good here that the issue with the function evaluations can be overlooked. In this chapter, initially, an attempt is made to extend the approach in twodimension (Chapter 3) and three-dimension (Chapter 4) to derive a general numerical integration formula to evaluate multiple integrals of the form: Few results obtained in Chapter 5 is published in an international journal [3] (see page 204) and some more results have been communicated to an international journal (see page 205). 126

( ) (5.1) Few examples of integrals of four, five and six dimensions are chosen in order to show the working of the derived formula, in section 5.2. Later in section 5.3 and 5.4, the numerical integration formula over an n-dimensional cube and n- dimensional simplex is provided as special cases of the formula derived in section 5.2. In section 5.5, a numerical integration method for integration over n- dimensional balls using a different transformation technique is derived and in section 5.6, the derivation of integration over irregular domains in two-dimension (section 3.5) and three-dimension (4.6) is also extended to n-dimensions. 5.2 Derivation of the numerical integration method to evaluate multiple integrals Let To derive a numerical integration method to evaluate the integral in Eq. (5.1), the domain of integration, is transformed into a zero-one n-cube, using the transformation, [ ( ) ( )] ( ) ( ) ( )] ( )... ( ) ( )] ( ) where 127

Here, is a function of, is a function of is a function of and so on. The Jacobian of the transformation is After transformation of the integral region to a zero-one n-cube and then applying the generalized Gaussian quadrature formulae for each integral, the numerical integration rule for the integral in Eq. (5.1) is derived, in the following way: ( ) ( ) where ( ) (5.2) where, [ ( ) ( )] ( ) [ ] [ ] [ ] + 128

[ ] + (5.2a) [ ][ ] [ ] (5.2b) Here, are the node points in (0, 1) and are their corresponding weights in one dimension. The generalized Gaussian quadrature nodes and weights for product of polynomials and logarithmic function given in Ma et.al.(1996) are used for evaluating the results. The equations in (5.2a) gives the nodes ( ) for integrating any function over the integration domain and Eq. (5.2b) is used to obtain the corresponding weights for these nodal points. After procuring for, one can obtain the integral of any function ( ) numerically using Eq. (5.2) over the domain. Five examples of integrals of four, five and six dimensions are chosen in order to show the functioning of the method. The integration rule for each of these integrals is given below and their numerical results are tabulated in Table 5.1. Example 1: Exact value of Integration rule for : where, 129

Example 2: Exact value of Integration rule for : where, Example 3: Exact value of Integration rule for : where, 130

Example 4: Exact value of Integration rule for : where, Example 5: Exact value of Integration rule for : where, 131

Table 5. 1: Integral values of the integrals in examples given in section 5.2 Integral Computed value for N=5 Abs. Error 3.75000000000008 7.99E-14 0.08333333333333 0 0.01388888888888 2.58E-15 1.12301428599048 5.62E-11 0.52777777777773 4.47E-14 5.3 Numerical integration formula over an n-dimensional cube An n-dimensional cube is given by where n represents the dimension of the cube. A zero-one n-cube is the unit cube in the first orthant, A two-dimensional cube, is a rectangle and a three-dimensional cube, is a cuboid. The integration formula to evaluate the integral over an n-dimensional cube can be obtained from Eq. (5.2), by substituting the integration limits, in Eq. (5.2). 132

( ) ( ) (5.3) where (5.3a) Eq. (5.3a) gives the weights and nodes ( any function over the n-dimensional cube value of any function ( ) over. ) for integrating and Eq. (5.3) estimates the integral The nodes and weights ( ) for a four-dimensional zeroone cube, obtained using Eq. (5.3a), for N=5, are listed in Appendix A. A comparative study is made on the integration results of some functions obtained using the proposed method with that of the results given in Dooren and Ridder (1976) (Table 5.2). The variety of functions which are considered, for comparison of errors and the number of function evaluations (NUM), in Table 5.2 are: 133

Simple Integrands: ( ) Oscillating Integrands: Integrand with a peak: ( ) ] Integrand with end-point singularities 134

Table 5. 2: Comparison of integration results by the proposed method with the results in Dooren and Ridder (1976) over n-dimensional cubes Integral Results in Dooren and Ridder (1976) Results using the proposed method Abs. Error NUM Abs. Error NUM 0.13 E-4 495 0.49E-08 125 0.84 E-4 1843 0.32E-04 625 0.50 E-5 7967 0.49E-08 15625 0.25 E-5 1003 0.41E-07 100 0.17 E-6 1261 0.83E-07 10000 0.24 E-5 29747 0.19E-11 100000 0.79 E-5 901 0.16E-07 1600 0.89 E-4 9945 0.39E-04 8000 It can be observed from Table 5.2 that the proposed method is ideal for integrating all type of functions. Using the current method better accuracy is acquired with lesser number of function evaluations for integration of and. In the remaining integral evaluations even though the function evaluations are more, the accuracy has improved. Some functions given in Sag and Szekeras (1964) are also tested over different dimensional cubes. The results of integration (computed value, absolute error and the number of function evaluations required to get the value) of two functions and, for and over an n-dimensional cube are presented in Tables 5.3 and 5.4, respectively. The integrals evaluated in Table 5.3 and Table 5.4 and its exact value are as follows: 135

and Table 5. 3 : Numerical results to evaluate: n Computed value Abs. Error No. of computations 2 1.00000000000000 0 25 3 1.00000000000001 0.99E-16 125 4 1.00000000000001 0.99E-16 625 5 1.00000000000001 0.99E-16 3125 6 0.999999999999444 0.55E-14 15625 Table 5. 4: Numerical results to evaluate: n Computed value Abs. Error No.of computations 2 2.66666666666669 0.23E-15 25 3 8.00000000000007 0.69E-15 125 4 21.3333333333319 0.14E-13 625 5 53.3333333333560 0.22E-12 3125 6 127.999999999874 0.12E-11 15625 136

5.4 Numerical integration formula over an n-dimensional simplex An n-simplex in the positive orthant, R n+, with the origin as one of the corners is given by { } Here n represents the dimension of the simplex,. A two-simplex is the triangle, whereas a three-simplex is a tetrahedron. Consider the integral of a function ( ) over the n-simplex, ( ) (5.4) By substituting the integration limits of the integral in Eq. (5.4) in Eq. (5.2), the integration formula to evaluate the integral in Eq. (5.4) numerically can be attained, which will be, where, (5.5) (5.5a) 137

Applying the generalized Gaussian quadrature points and their corresponding weights (given in Ma et. al. (1996)), in Eqs. (5.5a), the weights and the nodal points for the simplex can be achieved. With these weights and nodes, one will be able to evaluate the integral value of a function over the simplex using Eq. (5.5). The nodes and weights ( ) for a four-dimensional simplex, { } obtained using Eq. (5.5a), taking N=5, are listed in Appendix B. Table 5.5, 5.6 and 5.7 gives the results of integration of three functions (i) (ii) (iii) over the simplex (with ) for different dimensions Table 5. 5: Numerical value of : for different n n Exact integral value Computed value Abs. Error 2 0.5 0.500000000000001 9.9E-16 3 0.166666666666667 0.166666666666640 2.7E-14 4 0.0416666666666667 0.041666666666652 1.5E-14 5 0.00833333333333333 0.008333333333330 2.8E-15 6 0.00138888888888889 0.001388924172021 3.52E-08 138

Table 5. 6: Numerical value of the integral: for different n n Exact integral value Computed value Abs. Error 2 0.4 0.399999999999480 5.2E-13 3 0.142857142857143 0.142857142857151 8.0E-15 4 0.0370370370370370 0.0370370370370237 1.3E-14 5 0.00757575757575758 0.00757575757575657 1.0E-15 6 0.00128205128205128 0.00128210079066106 4.95E-08 Table 5. 7: Numerical value of the integral: ( ) for different n n Exact integral value Computed value Abs. Error 2 0.666666666666666 0.666666667673585 1.0E-09 3 0.2 0.200000000004725 4.7E-12 4 0.0476190476190476 0.047619047619046 1.4E-15 5 0.00925925925925926 0.0092592592592911 3.1E-14 6 0.00151515151515152 0.0015151676690702 1.61E-08 5.5 Numerical integration formula over an n-dimensional ball An n-dimensional ball with origin as the centre and radius a, is given by { } where n represents the dimension of the ball. 139

A two-dimensional ball, is a circular disc and a threedimensional ball, represents a sphere, In section 3.4, an optimal numerical integration formula for integration over a circular disc (2-ball) is derived and in section 4.5, such a formula for integration over a sphere (3-ball) is presented. Here those derivations are extended to develop an integration rule to integrate a function over an n-dimensional ball, i.e., to derive an integration formula to evaluate, (5.6) In order to derive the integration rule, initially is transformed to an n- dimensional cube, using the transformation, The Jacobian of this transformation is Hence, the integral in Eq. (5.6) would be 140

( ) A linear transformation is next applied, to transform to a zero-one n-cube, The Jacobian of this transformation is. Now, the integral will be ( ) Taking quadrature points along the directions respectively, the integral will be obtained as, ( ) where (5.7) where,... 141

(5.7a) The set of equations in (5.7a) gives the weights and nodes required for integration of any function over an n-dimensional ball using Eq. (5.7). Appendix C lists the nodes and weights, ( for integration over a unit four-dimensional ball centred at the origin, ) required { } Table 5.8 gives the numerical results of integration of the constant test function given in Sag and Szekeras (1964), over an n-dimensional ball, for and 6. Table 5. 8: Results of integration of f(x) = 2 -n over n-dimensional ball Dimension(n) Exact solution Results using proposed method Computed Value Abs. Error 2 0.785398163397448 0.785398163397452 4.1E-15 3 0.523598775598299 0.523598775598319 1.9E-14 4 0.308425137534042 0.308425137533993 4.9E-14 5 0.164493406684823 0.164493416750893 1.0E-08 6 0.080745512188281 0.080026617550037 7.18E-04 142

5.6 Numerical integration formula over an irregular n- dimensional domain In this section, a numerical integration formula is derived over an n-dimensional irregular domain. Let D be an n-dimensional closed region with boundary in polar coordinates, To evaluate, (5.8) the domain D is transformed to an n-dimensional cube using the transformation, The Jacobian of this transformation is, After the transformation, the integral in Eq. (5.8) will be ( ) (5.9) The domain of integration of the integral in Eq. (5.9) is transformed to a zero-one n-cube 143

using the transformation, The Jacobian of this transformation is and the integral (5.9) will now be, ( ) Taking quadrature points along the directions respectively, the integral would be, ( ) where (5.10) where, ] [ ] [ ] 144

[ ] [ ] ] (5.10a) The set of equations in Eq. (5.10a) provides the nodal points (in ) and their corresponding weights required for integration (using Eq. (5.10)) of any function over. It can be noted that by taking, the domain would be an n-dimensional ball,. Hence by substituting in Eq. (5.10), the integration formula over an n-ball can be obtained as in Eq. (5.7). 5.7 Conclusions This chapter familiarizes a numerical method for constructing a nearly-optimal quadrature rule for integrating n-dimensional multiple integrals in general. The integration rule to evaluate integrals over an n-dimensional cube and an n- dimensional simplex is given as a special case of the general formula. Numerical results along with comparison from references are provided in the tables given in the chapter. An effective integration formula is derived over n-dimensional balls using a combination of polar and linear transformations. Another integration formula is presented to evaluate integrals over an n-dimensional irregular domain. Tabulated values in each section in the paper show that the integration rule proposed here gives a good accuracy. Any programming language or any mathematical software can be used to obtain the nodes and weights for the domain, using the derived formulae and these nodes and weights could be used to get the integral value of any function over that domain. 145