Let A1,A2,…,An be real numbers and suppose that x1,x2,…,xn∈[−1,1] are distinct. Suppose that the formula
∫−11p(x)dx=j=1∑nAjp(xj)
is valid for every polynomial p of degree ⩽2n−1. Prove the following:
(i) Aj>0 for each j=1,2,…,n.
(ii) ∑j=1nAj=2.
(iii) x1,x2,…,xn are the roots of the Legendre polynomial of degree n.
[You may assume standard orthogonality properties of the Legendre polynomials.]