Let be the distinct real roots of . The Gauss-Hermite quadrature rule is
where is the weighted integral of the th Lagrange interpolation polynomial. Equivalently,
The orthogonality of makes the rule exact for every polynomial of degree at most