Integration points and weights with orthogonal polynomials
If we identify the weights with
2(L−1)0i, where the points
xi are
the zeros of
LN, we have an integration formula of the type
∫1−1P2N−1(x)dx=N−1∑i=0ωiP2N−1(xi)
and if our function
f(x) can be approximated by a polynomial
P of degree
2N−1, we have finally that
∫1−1f(x)dx≈∫1−1P2N−1(x)dx=N−1∑i=0ωiP2N−1(xi).
In summary, the mesh points
xi are defined by the zeros of an orthogonal polynomial of degree
N, that is
LN, while the weights are
given by
2(L−1)0i.