Hi wolfhound,
sometimes there will be an x-component of the A and B values.
They are not necessarily "constants".
They are "numerators".
They only end up being constants sometimes.
If you add those two resulting fractions together,
you will see that the result is the original fraction you wanted to integrate.
since the sum of the resulting fractions is the original,
you can more conveniently integrate the partial fractions.
The trick is....
if the numerator of the original fraction is a constant,
then you can write it as "constant + (0)x"