Numerical Integration (Simpson’s Rule)

G. Smyth
{"title":"Numerical Integration (Simpson’s Rule)","authors":"G. Smyth","doi":"10.1201/9781315274867-12","DOIUrl":null,"url":null,"abstract":"Numerical integration is the study of how the numerical value of an integral can be found. Also called quadrature, which refers to nding a square whose area is the same as the area under a curve, it is one of the classical topics of numerical analysis. Of central interest is the process of approximating a deenite integral from values of the in-tegrand when exact mathematical integration is not available. The corresponding problem for multiple dimensional integration is known as multiple integration or cubature. Numerical integration has always been useful in bio-statistics to evaluate distribution functions and other quantities. Emphasis in recent years on Bayesian and empirical Bayesian methods and on mixture models has greatly increased the importance of numerical integration for computing likelihoods and posterior distributions and associated moments and derivatives. Many recent statistical methods are dependent especially on multiple integration , possibly in very high dimensions. This article describes classical quadrature methods and, more brieey, some of the more advanced methods for which software is widely available. The description of the elementary methods in this article borrows from introductory notes by Stewart 31]. An excellent general reference on numerical integration is 5]. More recent material can be found in 8] and 29]. Recent surveys of numerical integration with emphasis on statistical methods and applications are 10] and 9]. Trapezoidal Rule The simplest quadrature rule in wide use in the trapezoidal rule. Like many other methods, it has both a geometric and an analytic derivation. The idea of the geometric derivation is to approximate the area under the curve y = f(x) from x = a to x = b by the area of the trapezoid bounded by the points (a; 0), (b; 0), (a; f(a)) and (b; f(b)). This gives Z b a f(x)dx b ? a 2 ff(a) + f(b)g: The analytic derivation is to interpolate f(x) at a and b by a linear polynomial. The trapezoidal rule cannot be expected to give accurate results over a larger interval. However by summing the results of many applications of the trapezoidal rule over smaller intervals, we can obtain an accurate approximation to the integral over any interval. We begin by dividing a; b] into n equal intervals by the points a = x 0 < x 1 < < x n?1 < x n = b: Speciically, if h = b ? a n is the common length of …","PeriodicalId":268340,"journal":{"name":"Engineering Modelling and Analysis","volume":"94 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Modelling and Analysis","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1201/9781315274867-12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Numerical integration is the study of how the numerical value of an integral can be found. Also called quadrature, which refers to nding a square whose area is the same as the area under a curve, it is one of the classical topics of numerical analysis. Of central interest is the process of approximating a deenite integral from values of the in-tegrand when exact mathematical integration is not available. The corresponding problem for multiple dimensional integration is known as multiple integration or cubature. Numerical integration has always been useful in bio-statistics to evaluate distribution functions and other quantities. Emphasis in recent years on Bayesian and empirical Bayesian methods and on mixture models has greatly increased the importance of numerical integration for computing likelihoods and posterior distributions and associated moments and derivatives. Many recent statistical methods are dependent especially on multiple integration , possibly in very high dimensions. This article describes classical quadrature methods and, more brieey, some of the more advanced methods for which software is widely available. The description of the elementary methods in this article borrows from introductory notes by Stewart 31]. An excellent general reference on numerical integration is 5]. More recent material can be found in 8] and 29]. Recent surveys of numerical integration with emphasis on statistical methods and applications are 10] and 9]. Trapezoidal Rule The simplest quadrature rule in wide use in the trapezoidal rule. Like many other methods, it has both a geometric and an analytic derivation. The idea of the geometric derivation is to approximate the area under the curve y = f(x) from x = a to x = b by the area of the trapezoid bounded by the points (a; 0), (b; 0), (a; f(a)) and (b; f(b)). This gives Z b a f(x)dx b ? a 2 ff(a) + f(b)g: The analytic derivation is to interpolate f(x) at a and b by a linear polynomial. The trapezoidal rule cannot be expected to give accurate results over a larger interval. However by summing the results of many applications of the trapezoidal rule over smaller intervals, we can obtain an accurate approximation to the integral over any interval. We begin by dividing a; b] into n equal intervals by the points a = x 0 < x 1 < < x n?1 < x n = b: Speciically, if h = b ? a n is the common length of …
数值积分(辛普森法则)
数值积分是研究如何找到一个积分的数值。也称为正交,指的是找到一个面积与曲线下面积相同的正方形,它是数值分析的经典主题之一。当精确的数学积分不可用时,最重要的是用积分的值来近似定积分的过程。多维积分的相应问题称为多重积分或培养。在生物统计学中,数值积分一直是计算分布函数和其他量的有用方法。近年来,对贝叶斯和经验贝叶斯方法以及混合模型的重视大大增加了数值积分在计算可能性和后验分布以及相关矩和导数方面的重要性。许多最近的统计方法特别依赖于多重积分,可能在非常高的维度上。本文描述了经典的正交方法,更简单地说,介绍了一些更高级的方法,这些方法的软件广泛可用。本文中对基本方法的描述借鉴了Stewart的引言[31]。数值积分的一个很好的一般参考文献是[5]。更近期的材料可以在[8]和[29]中找到。最近对数值积分的研究侧重于统计方法和应用[10]和[9]。梯形定则是广泛使用的最简单的正交定则。像许多其他方法一样,它既有几何推导,也有解析推导。几何推导的思想是用以点(a;0), (b);0),(一个;F (a))及(b);f (b))。这就得到了zb af (x)dx b ?a 2 ff(a) + f(b)g:解析推导是用一个线性多项式插值f(x)在a和b处。不能指望梯形法则在较大的区间内给出准确的结果。然而,通过将许多在较小区间上应用梯形法则的结果相加,我们可以得到任意区间上积分的精确近似值。我们从除a开始;B]通过点a = x 0 < x 1 < < x n?1 < x n = b:如果h = b ?n是…的公共长度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信