Chalk−1

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.

5⁢(2)−12+1=35⁢(−1)−1−1−2=2

Check the split

Recombining the two fractions returns the original one.

5⁢x−1x2−x−23x−2+2x+1

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.

x+7x2−x−62x−3−1x+2

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.

Make it concrete

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 Reference

Your existing work stays on this device. Examples open as editable copies.