. Interpolation within a set of
discrete data is presented in Chapter 3. Differentiation within a set of tabular data is
presented in Chapter 4. Integration of a set of tabular data is presented in this chapter.
The discrete data in Figure 6.1 are actually values of the function f(x) = 1/x, which is
used as the example problem in this chapter.
The evaluation of integrals, a process known as integration or quadrature, is
required in many problems in engineering and science.
The function f(x), which is to be integrated, may be a known function or a set of discrete
data. Some known functions have an exact integral, in which case Eq. (6.1) can be
evaluated exactly in closed form. Many known functions, however, do not have an exact
integral, and an approximate numerical procedure is required to evaluate Eq. (6.1). In
many cases, the function f(x) is known only at a set of discrete points, in which case an
approximate numerical procedure is again required to evaluate Eq.(6.1). The evaluation
of integrals by approximate numerical procedures is the subject of this chapter.
Numerical Integration Chapter 6
Nizar Salim 2 lecture 1
Numerical integration (quadrature) formulas can be developed by fitting
approximating functions (e.g., polynomials) to discrete data and integrating the
approximating function:
Several types of problems arise. The function to be integrated may be known only at a
finite set of discrete points. In that case, an approximating polynomial is fit to the discrete
points, or several subsets of the discrete points, and the resulting polynomial, or
polynomials, is integrated.
When a known function is to be integrated, several parameters are under our
control.The total number of discrete points can be chosen arbitrarily. The degree of the
approximating polynomial chosen to represent the discrete data can be chosen. The
locations of the points at which the known function is discretized can also be chosen to
enhance the accuracy of the procedure.
Procedures are presented in this chapter for all of the situations discussed above.
Direct fit polynomials are applied to prespecified unequally spaced data. Integration
formulas based on Newton forward-difference polynomials, which are called Newton-
Cotes formulas
The numerical evaluation of multiple integrals is discussed briefly.
The simple function
Numerical Integration Chapter 6
Nizar Salim 3 lecture 1