关于 Legendre 多项式

详见 Legendre 多项式(二):Legendre 多项式

Legendre 多项式由下列表达式定义

Legendre 具备以下性质:

  • 正交性:不同阶 Legendre 多项式在 $[-1,1]$ 上正交.
  • 递推性:可以推导出 $P_0(x)=1,\ P_1(x)=x$,且满足递推关系
  • Legendre 多项式的根为在 $[-1,1]$ 上的实根,且彼此不相等.

Gauss-Legendre 积分

更详细的介绍可以阅读 Wolfram MathWorld 的相关文档 Legendre-GaussQuadrature

由 Legendre 多项式的性质,当 $\rho(x)=1$ 时,且积分区间为 $[-1,1]$ ,Legendre 多项式的根即为 Gauss 点,从而得到 Gauss-Legendre 积分.

其误差余项为

对于 $[a,b]$ 上的积分,只需做线性变换即可得