Let pn∈Pn be the nth monic orthogonal polynomial with respect to the inner product
⟨f,g⟩=∫abw(x)f(x)g(x)dx
on C[a,b], where w is a positive weight function.
Prove that, for n⩾1,pn has n distinct zeros in the interval (a,b).
Let c1,c2,…,cn∈[a,b] be n distinct points. Show that the quadrature formula
∫abw(x)f(x)dx≈i=1∑nbif(ci)
is exact for all f∈Pn−1 if the weights bi are chosen to be
bi=∫abw(x)j=1j=i∏nci−cjx−cjdx
Show further that the quadrature formula is exact for all f∈P2n−1 if the nodes ci are chosen to be the zeros of pn (Gaussian quadrature). [Hint: Write f as qpn+r, where q,r∈Pn−1.]
Use the Peano kernel theorem to write an integral expression for the approximation error of Gaussian quadrature for sufficiently differentiable functions. (You should give a formal expression for the Peano kernel but are not required to evaluate it.)