Proof (no quadrature rule exact on P_{2n+2} for numerical integration)

For the nodes $x_0, \ldots, x_n$, take the polynomial $p(x) = \prod_{i=0}^{n} (x-x_i)^2\in \mathcal{P}_{2n+2}$. Then $0 = \sum_{i=0}^{n} a_i p(x_i) \neq \int_{a}^{b} p(x) \d x > 0$.