is quadratic such that ...

is a rational function ...

using the method of partial fractions with repeated linear factors ...

since the integral is rational, A and C must equal 0 since their antiderivatives would yield a log function.

equating coefficients ...

hence ... and