This question already has an answer here:

Evaluate the following integral


(this might involve partial fraction decomposition, $\int{\frac{1}{x^2+x(a+b)+ab}}$ this is what my first step was)


marked as duplicate by Namaste, egreg, Michael Grant, Micah, Ali Caglayan Nov 20 '14 at 0:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


When $a \neq b$, we have $$\dfrac1{(x+a)(x+b)} = \dfrac1{b-a}\left(\dfrac1{x+a} - \dfrac1{x+b} \right)$$ Recall that $$\int \dfrac{dx}{x+c} = \ln (\vert x+ c \vert) + \text{constant}$$


Not the answer you're looking for? Browse other questions tagged or ask your own question.