Chalk−1

Math · Calculus II · Worked example

Integrate using partial fractions

Find ∫(5⁢x−1)⁢/⁢(x2−x−2) d⁢x.

Try one — Chalk checks each line

Factor the denominator

x2−x−2 =(x−2)⁢(x+1), two distinct linear factors. The numerator has degree 1 and the denominator degree 2, so the fraction is proper and no division is needed.

Set up the decomposition

Each linear factor gets one constant over it. Write (5⁢x−1)⁢/⁢((x−2)⁢(x+1)) =A⁢/⁢(x−2)+B⁢/⁢(x+1). Multiplying both sides by the denominator clears the fractions and gives 5⁢x−1 =A⁢(x+1)+B⁢(x−2).

Find A and B

The equation holds for every x, so choose values that remove one constant at a time. x=2 gives 9=3⁢A, so A=3, and x=−1 gives −6=−3⁢B, so B=2. 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, 3⁢(x+1)+2⁢(x−2) =5⁢x−1.

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

Integrate

Each term integrates to a logarithm of its factor, with the absolute value kept because x−2 and x+1 can be negative.

∫5⁢x−1x2−x−2d⁢x=3ln∣⁢x−2⁢∣+2ln∣⁢x+1⁢∣+C
∫5⁢x−1x2−x−2d⁢x=3ln∣⁢x−2⁢∣+2ln∣⁢x+1⁢∣+C

Result

∫(5⁢x−1)⁢/⁢(x2−x−2) d⁢x =3ln∣⁢x−2⁢∣+2ln∣⁢x+1⁢∣ +C, on any interval that avoids x=2 and x=−1.

Your turn

1. One like the example

Find ∫(x+7)⁢/⁢(x2−x−6) d⁢x.

Show the answer and explanation

2ln∣⁢x−3⁢∣−ln∣⁢x+2⁢∣+C.

x2−x−6 =(x−3)⁢(x+2), so x+7 =A⁢(x+2)+B⁢(x−3). At x=3, 10=5⁢A, so A=2. At x=−2, 5=−5⁢B, so B=−1. The pieces 2⁢/⁢(x−3) and −1⁢/⁢(x+2) integrate to logarithms.

∫x+7x2−x−6d⁢x2ln∣⁢x−3⁢∣−ln∣⁢x+2⁢∣+C

2. A variation

Find ∫(x2+2⁢x−1)⁢/⁢(x3−x) d⁢x. The denominator factors into three linear pieces.

Show the answer and explanation

ln∣⁢x⁢∣ +ln∣⁢x−1⁢∣ −ln∣⁢x+1⁢∣ +C.

x3−x=x⁢(x−1)⁢(x+1), so x2+2⁢x−1 =A⁢(x−1)⁢(x+1)+B⁢x⁢(x+1) +C⁢x⁢(x−1). At x=0, −1=−A, so A=1. At x=1, 2=2⁢B, so B=1. At x=−1, −2=2⁢C, so C=−1. The split is 1⁢/⁢x+1⁢/⁢(x−1)−1⁢/⁢(x+1).

x2+2⁢x−1x3−x1x+1x−1−1x+1∫x2+2⁢x−1x3−xd⁢x=ln∣⁢x⁢∣+ln∣⁢x−1⁢∣−ln∣⁢x+1⁢∣+C
x2+2⁢x−1x3−x=1x+1x−1−1x+1∫x2+2⁢x−1x3−xd⁢x=ln∣⁢x⁢∣+ln∣⁢x−1⁢∣−ln∣⁢x+1⁢∣+C

3. Somewhere new

A reaction A+B→products starts with 3 mol⁢/⁢L of A and 5 mol⁢/⁢L of B. The time t to use up 1 mol⁢/⁢L of each satisfies k⁢t=∫01 d⁢x⁢/⁢((3−x)⁢(5−x)), with k the rate constant. Evaluate the integral.

Show the answer and explanation

(1⁢/2)ln(6⁢/5)≈0.0912 L⁢/⁢mol.

1⁢/⁢((3−x)⁢(5−x)) splits as (1⁢/2)⁢/⁢(3−x)−(1⁢/2)⁢/⁢(5−x). Each piece integrates to a logarithm with a minus sign from the −x, which gives 12ln((5−x)⁢/⁢(3−x)). At x=1 that is (1⁢/2)ln2, and at x=0 it is (1⁢/2)ln(5⁢/3). The difference is (1⁢/2)ln(6⁢/5)≈0.0912.

∫011(3−x)⁢(5−x)d⁢x[12ln5−x3−x]0112ln6512ln65≈0.0912

Keep exploring

Check it by differentiating in Math: for x>2, the derivative of 3ln∣⁢x−2⁢∣+2ln∣⁢x+1⁢∣ is the integrand, and the last row reads ✓.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check it by differentiating in Math Check the split in Math Study the 6 key terms 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.