Kim’s Math NotesCourse index

Integrating Using Linear Partial Fractions

When do I split a fraction, and how do I find A and B fast?

Check the top first (divide, then ln), then split a fraction with different linear factors into pieces with a number on top, found by covering up.

ln of the whole bottom

Common mistake ∫3x2+3xdx=ln|x2+3x|: but (x2+3x)′=2x+3, not 3.

Correction Top ≠k⋅(bottom)': split first, 1x−1x+3.

A fraction? Check the top first

First, the degrees. If the top's degree isn't lower than the bottom's, divide first, just like long division. Next, the top itself. If it's a number times the derivative of the bottom, it's already a natural log. That's substitution.

For example, two x plus one, over x squared plus x minus six.

Watch this part of the concept lesson

Read the rest of this scene

Check it. The derivative of the bottom is two x plus one, and that's exactly what we have. So it's natural log of the absolute value of the bottom, plus C. If neither works, factor the bottom and split the fraction. That's today's tool. Our fraction: x minus one, times x plus two, is x squared plus x minus two, and its derivative is two x plus one.

Five x plus one isn't a multiple of two x plus one. So for our fraction, we split. One more case to compare. x squared minus four factors, so split it. But x squared plus four won't factor.

With just a number on top, it's an arctangent, a basic rule. So the order is: divide, then natural log, then split. Check them in that order every time.

Split: one piece per factor

Pretend we don't know the answer. Take five x plus one, over x minus one times x plus two, and write it as A over x minus one, plus B over x plus two. Each factor gets its own piece, with just a number on top. Those numbers, A and B, are what we're after. Now clear the bottom.

Multiply both sides by x minus one, times x plus two.

Watch this part of the concept lesson

Read the rest of this scene

Then five x plus one equals A times x plus two, plus B times x minus one. Plug in x equals one, and the B term is gone. Six equals three A, so A is two. Plug in x equals negative two, and the A term is gone. Negative nine equals negative three B, so B is three.

Why does a root work so well? Multiply both sides by x minus one only, and x equals one becomes safe to plug in on the left side. Five x plus one, over x plus two, equals A, plus B times x minus one, over x plus two. Now plug in x equals one. The B term has x minus one in it, so it's zero, and only A is left.

Five times one plus one, over one plus two: two. Look at the left side of that line. It's just our fraction, with x minus one covered up. That's why this shortcut is called the cover-up method. Same for B, the other factor.

Cover x plus two, and plug in x equals negative two. Negative nine over negative three, that's three. So the integral is two natural log of absolute x minus one, plus three natural log of absolute x plus two, plus C.

Three factors, the same idea

On the AP exam, the bottom always breaks into distinct linear factors, and each one gets its own piece, with a number on top. No repeated factors show up, and nothing like x squared plus one. The bottom can still be a cubic. Take x plus three, over x cubed minus x. Factor it: x, times x minus one, times x plus one.

With three factors, write three pieces. x plus three, over x times x minus one times x plus one, is A over x, plus B over x minus one, plus C over x plus one. Same idea as before. Multiply by x only and plug in zero, which means cover x. Zero plus three, over zero minus one, times zero plus one: A is negative three.

Watch this part of the concept lesson

Read the rest of this scene

Next, cover x minus one and plug in one. One plus three, over one, times one plus one: B is two. Last, cover x plus one and plug in negative one. Negative one plus three, over negative one, times negative one minus one: C is one. So it's negative three natural log of absolute x, plus two natural log of absolute x minus one, plus natural log of absolute x plus one.

The constant is K this time, because C is taken.

A shortcut: one over two factors

When the top is just a number, there's a shortcut many students never see. Pull the number out front, and work with one on top. Call the factors P and Q. One over P Q is one over Q minus P, times one over P, minus one over Q. Let's check that it works.

Combine the pieces, and the top is Q minus P.

Watch this part of the concept lesson

Read the rest of this scene

Divide by Q minus P, and only one is left on top. Remember it in words: the difference of the pieces, divided by the difference of the factors. Keep the order the same: P's piece first, and Q minus P below. Let's use it. Example A: one over x squared minus one. Factor the bottom: x minus one, times x plus one.

The factors differ by two, so it's one half, times one over x minus one, minus one over x plus one. That's one half natural log of absolute x minus one, minus one half natural log of absolute x plus one, plus C. Example B: one over x times x plus four. The factors differ by four, so it's one fourth, times one over x, minus one over x plus four. That's one fourth natural log of absolute x, minus one fourth natural log of absolute x plus four, plus C.

Example 1: factor, split, two logs

Example one. Find the integral of x plus seven, over x squared minus x minus six. The plan: check the top first. The degree is lower, and the top is not a multiple of the bottom's derivative, two x minus one. So we split. Factor the bottom: x minus three, times x plus two.

Write it in pieces.

Watch this part of the concept lesson

Read the rest of this scene

x plus seven, over x minus three times x plus two, is A over x minus three, plus B over x plus two. Cover x minus three, and plug in x equals three: three plus seven, over three plus two. A is two. Cover x plus two, and plug in x equals negative two: negative two plus seven, over negative two minus three. B is negative one.

So we integrate two over x minus three, minus one over x plus two. That gives two natural log of absolute x minus three, minus natural log of absolute x plus two, plus C. Now one for you. Try x plus thirteen, over x squared plus x minus six. Same steps, and check by differentiating.

Example 2: with ends

Example two, A. P. style. Find the integral from one to two of three, over x squared plus three x. There are four choices. The plan: there's no constant term, so x is a factor. Then the shortcut, and the ends at the end.

The factors x and x plus three differ by three. Three times one third is one, so it's one over x, minus one over x plus three. So the integral is natural log of absolute x, minus natural log of absolute x plus three, from one to two. The top end gives natural log of two, minus natural log of five.

Watch this part of the concept lesson

Read the rest of this scene

The bottom gives zero, minus natural log of four. Put the logs together: natural log of two times four, over five. That's natural log of eight fifths. So the answer is B.

Common mistake: the log of the whole bottom

Here's the slip that costs points with fractions. Watch the natural log. Here's how it goes wrong, and it happens fast. Someone sees the integral of three over x squared plus three x, and without checking anything, writes natural log of x squared plus three x. But x squared plus three x has derivative two x plus three.

The fix: natural log of the bottom only when the top is a multiple of the bottom's derivative. Otherwise, split first.

Watch this part of the concept lesson

Example 3: divide, then split

Example three. Find the integral of x squared, over x squared minus four. The plan: check the degrees first. Top and bottom are both degree two, so divide before anything else. Write the top as the bottom plus four: x squared minus four, plus four, over x squared minus four.

That's one, plus four over x squared minus four.

Watch this part of the concept lesson

Read the rest of this scene

The bottom is x minus two, times x plus two. The factors differ by four, so four times one fourth: one over x minus two, minus one over x plus two. So we integrate one, plus one over x minus two, minus one over x plus two. That gives x, plus natural log of absolute x minus two, minus natural log of absolute x plus two, plus C. One more for you: x squared over x squared minus one.

Divide first, then split.

Worked examples

Example 1

Find ∫x+7x2−x−6dx.
Hint

(x−3)(x+2); cover each factor.

Answer and solution

Answer 2ln|x−3|−ln|x+2|+C

  1. x2−x−6=(x−3)(x+2),A=3+73+2=2,B=−2+7−2−3=−1
  2. ∫(2x−3−1x+2)dx=2ln|x−3|−ln|x+2|+C

Example 2

∫123x2+3xdx is
  1. ln2
  2. ln85
  3. ln52
  4. 3ln85
Hint

x(x+3): the shortcut gives 1x−1x+3.

Answer and solution

Answer B. ln85

  1. 3x(x+3)=1x−1x+3
  2. [ln|x|−ln|x+3|]12=(ln2−ln5)−(0−ln4)=ln85
  3. Answer B.

Example 3

Find ∫x2x2−4dx.
Hint

Same degree: divide first.

Answer and solution

Answer x+ln|x−2|−ln|x+2|+C

  1. x2x2−4=(x2−4)+4x2−4=1+1x−2−1x+2
  2. ∫(1+1x−2−1x+2)dx=x+ln|x−2|−ln|x+2|+C

Workbook

Problem 1

Find ∫x+13x2+x−6dx.
Hint

Factor (x−2)(x+3), then cover up.

Answer and solution

Answer 3ln|x−2|−2ln|x+3|+C

  1. x2+x−6=(x−2)(x+3),A=2+132+3=3,B=−3+13−3−2=−2
  2. ∫(3x−2−2x+3)dx=3ln|x−2|−2ln|x+3|+C

Common mistake Covering the wrong factor, so A and B swap.

Watch the worked solution to Problem 1

Problem 2

Find ∫x2x2−1dx.
Hint

Same degree: divide first.

Answer and solution

Answer x+12ln|x−1|−12ln|x+1|+C

  1. x2x2−1=1+1x2−1=1+12(1x−1−1x+1)
  2. ∫=x+12ln|x−1|−12ln|x+1|+C

Common mistake Splitting before dividing.

Watch the worked solution to Problem 2

Problem 3

Which integral should be done by partial fractions?
  1. ∫2xx2−4dx
  2. ∫1x2−4dx
  3. ∫1x2+4dx
  4. ∫x2x2+4dx
Hint

Check the top first: divide? ln? then split.

Answer and solution

Answer B. ∫1x2−4dx

  1. (A) top =(x2−4)′: ln. (C) no real factors: arctan. (D) divide, then arctan.
  2. (B) x2−4=(x−2)(x+2) and the top is not a multiple of 2x: split. Answer B.

Common mistake Splitting every fraction, or using arctan when the bottom factors.

Watch the worked solution to Problem 3

Problem 4

Find ∫4x+2x3−xdx.
Hint

Three factors, three pieces; cover each one.

Answer and solution

Answer −2ln|x|+3ln|x−1|−ln|x+1|+C

  1. x3−x=x(x−1)(x+1)
  2. A=0+2(0−1)(0+1)=−2,B=4+2(1)(2)=3,C=−4+2(−1)(−2)=−1
  3. ∫(−2x+3x−1−1x+1)dx=−2ln|x|+3ln|x−1|−ln|x+1|+K

Common mistake Forgetting the piece for the factor x.

Watch the worked solution to Problem 4

Problem 5

∫231x2−1dx=
  1. 12ln32
  2. 12ln23
  3. ln32
  4. 12ln83
Hint

Shortcut, then put the logs together.

Answer and solution

Answer A. 12ln32

  1. 1(x−1)(x+1)=12(1x−1−1x+1)
  2. 12[ln|x−1x+1|]23=12(ln12−ln13)=12ln32
  3. Answer A.

Common mistake Getting the order of the pieces backward, so the sign flips.

Watch the worked solution to Problem 5

Problem 6

Find ∫1x(3−x)dx.
Hint

∫dx3−x has a minus sign in front.

Answer and solution

Answer 13ln|x|−13ln|3−x|+C

  1. A=13−0=13,B=13:1x(3−x)=13(1x+13−x)
  2. ∫dx3−x=−ln|3−x|→13ln|x|−13ln|3−x|+C

Common mistake Writing +ln|3−x|; the inside has −x.

Watch the worked solution to Problem 6