So I was assigned a question in my Calc II class, and as I got into the problem, I got lost on what I was being asked to find. As I looked at the two integrals, I was able to split both up into partial fractions.
i.e.
$\dfrac{1}{(x-a)(x-b)}$ becomes $\dfrac{A}{x-a} + \dfrac{B}{x-b}$
and
$\dfrac{1}{(x-a)^2}$ becomes $\dfrac{A}{x-a} + \dfrac{B}{(x-a)^2}$
However, once I reached this point and set up the equalities, I wasn't sure how to solve for the constants $A$ and $B$ in both situations. Any help would be greatly appreciated! Thank you so much.
The second case, there is nothing to solve for because its already in the right form. This means $A = 0, B = 1$. For the first case, $\dfrac{1}{(x-a)(x-b)} = \dfrac{1}{a-b}\left(\dfrac{1}{x-a} - \dfrac{1}{x-b}\right)\implies A =\dfrac{1}{a-b}, B = -\dfrac{1}{a-b}$ .