Let x1,x2,…,xn be the roots of the Legendre polynomial of degree n. Let A1, A2,…,An be chosen so that
∫−11p(t)dt=j=1∑nAjp(xj)
for all polynomials p of degree n−1 or less. Assuming any results about Legendre polynomials that you need, prove the following results:
(i) ∫−11p(t)dt=∑j=1nAjp(xj) for all polynomials p of degree 2n−1 or less;
(ii) Aj⩾0 for all 1⩽j⩽n;
(iii) ∑j=1nAj=2.
Now consider Qn(f)=∑j=1nAjf(xj). Show that
Qn(f)→∫−11f(t)dt
as n→∞ for all continuous functions f.