Numerical Analysis, Numerical Integration.
dividing it by the Legendre Polynomial of degree n+1. By the rules of polynomial long division, we are left with the expression that we see in line one. We now multiply the Legendre Polynomial to both sides of the equation, and take the integral over the general bound [a, b]. Line 2 reduces to line