Math · Calculus II · Worked example
Integrate using partial fractions
Find ∫(5x − 1)/(x² − x − 2) dx.
Factor the denominator
x² − x − 2 = (x − 2)(x + 1): two distinct linear factors, and the fraction is proper.
Set up the decomposition
Write (5x − 1)/((x − 2)(x + 1)) = A/(x − 2) + B/(x + 1). Multiplying by the denominator gives 5x − 1 = A(x + 1) + B(x − 2).
Find A and B
x = 2 gives 9 = 3A, and x = −1 gives −6 = −3B. Covering up each factor and substituting its zero gives the same numbers.
Check the split
Recombining the two fractions returns the original one.
Integrate
Each term integrates to a logarithm: 3 ln|x − 2| + 2 ln|x + 1| + C.
Result
∫(5x − 1)/(x² − x − 2) dx = 3 ln|x − 2| + 2 ln|x + 1| + C.
Your turn
Find ∫(x + 7)/(x² − x − 6) dx.
Show the answer and explanation
2 ln|x − 3| − ln|x + 2| + C.
x² − x − 6 = (x − 3)(x + 2). At x = 3, 10 = 5A, so A = 2; at x = −2, 5 = −5B, so B = −1.
Keep exploring
Derivative & antiderivative checks differentiates 3 ln|x − 2| + 2 ln|x + 1| on x > 2 and confirms that it returns the integrand.
Return to the concept →Sources and scope
Authored study material. Tool results depend on the stated inputs and model assumptions.
Try in the workspace
Open the example inputs, change a value and keep a useful result on your board.
Check the antiderivative Check the split in Math Open worked example on a board Integral of 1/x in Math ReferenceYour existing work stays on this device. Examples open as editable copies.