Taking
,
and
in equation (1) and working out
the integral (easy!) will give you three
equations which you can solve to find
and
.
The key to showing that the same formula works
for other polynomials is to show that if it works
for
and
it works for any linear
combination of them and so for any quadratic
polynomial.
Finally you can go on to check out the formula
for
and
.