请输入您要查询的字词:

 

单词 ProofOfSimpsonsRule
释义

proof of Simpson’s rule


We want to derive Simpson’s rule for

abf(x)𝑑x.

We will use Newton and Cotes formulas for n=2. In this case, x0=a, x2=b and x1=(a+b)/2. We use Lagrange’s interpolation formula to get a polynomialPlanetmathPlanetmath p(x) such that p(xj)=f(xj) for j=0,1,2.

The corresponding interpolating polynomial is

p(x)=f(x1)(x-x2)(x-x3)(x1-x2)(x1-x3)+f(x2)(x-x1)(x-x3)(x2-x1)(x2-x3)+f(x3)(x-x1)(x-x2)(x3-x1)(x3-x2).

and thus

abf(x)𝑑xabf(x1)(x-x2)(x-x3)(x1-x2)(x1-x3)+f(x2)(x-x1)(x-x3)(x2-x1)(x2-x3)+f(x3)(x-x1)(x-x2)(x3-x1)(x3-x2)dx.

Since integration is linear, we are concerned only with integrating each term in the sum. Now, taking xj=a+hj where j=0,1,2 and h=|b-a|/2, we can rewrite the quotients on the last integral as

abp(x)𝑑x=hf(x0)02(t-1)(t-2)(0-1)(0-2)𝑑t+hf(x1)02(t-0)(t-2)(1-0)(1-2)𝑑t+hf(x2)02(t-0)(t-1)(2-0)(2-1)𝑑t.

and if we calculate the integrals on the last expression we get

abp(x)𝑑x=hf(x0)13+hf(x1)43+hf(x2)13,

which is Simpson’s rule:

abf(x)𝑑xh3(f(x0)+4f(x1)+f(x2)).
随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/5 0:21:16