请输入您要查询的字词:

 

单词 LagrangeInterpolationFormula
释义

Lagrange interpolation formula


Let (x1,y1),(x2,y2),,(xn,yn) be n points in the plane (xixj for ij). Then there exists a unique polynomialPlanetmathPlanetmath p(x) of degree at most n-1 such that yi=p(xi) for i=1,,n.

Such polynomial can be found using Lagrange’s interpolation formula:

p(x)=f(x)(x-x1)f(x1)y1+f(x)(x-x2)f(x2)y2++f(x)(x-xn)f(xn)yn

where f(x)=(x-x1)(x-x2)(x-xn).

To see this, notice that the above formula is the same as

p(x)=y1(x-x2)(x-x3)(x-xn)(x1-x2)(x1-x3)(x1-xn)+y2(x-x1)(x-x3)(x-xn)(x2-x1)(x2-x3)(x2-xn)
++yn(x-x1)(x-x2)(x-xn-1)(xn-x1)(xn-x2)(xn-xn-1)

and that for all xi, every numerator except one vanishes, and this numerator will be identical to the denominator, making the overall quotient equal to 1. Therefore, each p(xi) equals yi.

随便看

 

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

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 9:28:48