Paper 1, Section I, C

Numerical Analysis
Part IB, 2013

Determine the nodes x1,x2x_{1}, x_{2} of the two-point Gaussian quadrature

01f(x)w(x)dxa1f(x1)+a2f(x2),w(x)=x\int_{0}^{1} f(x) w(x) d x \approx a_{1} f\left(x_{1}\right)+a_{2} f\left(x_{2}\right), \quad w(x)=x

and express the coefficients a1,a2a_{1}, a_{2} in terms of x1,x2x_{1}, x_{2}. [You don't need to find numerical values of the coefficients.]