Two-node Gaussian quadrature with quadratic weight
ID: two-node-gaussian-quadrature-with-quadratic-weight
The even weight has moments and . Its monic quadratic orthogonal polynomial is , so the two Gaussian quadrature nodes are . Symmetry and constant exactness give weights each. These nodes and weights integrate every polynomial of degree at most three exactly. Degree four fails: the true integral is , whereas the rule gives .
New to topics? Read the docs here!