All AP Courses AP Calculus BCAP Calc BC

Unit 6 · Topic 6.12 · about 30 minutes · 7 parts · 11 scored checks, 2 of them multiple choice, plus 2 from earlier lessons

AP Calculus BC 6.12: Integrating Using Linear Partial Fractions

Unit 6: 15 to 20% of the multiple-choice section

What you'll be able to do

  • Find indefinite integrals and evaluate definite integrals of rational functions by first splitting them into partial fractions with linear, nonrepeating factors.

Key vocabulary

TermWhat it meansThe exam trap
Rational functionA function that is a quotient of two polynomials.If the top has the same or a higher degree than the bottom, divide first; split only the remainder.
Linear factorA factor of the denominator of degree 1, such as x−3 or x+2.Find the zero of each factor by setting it equal to 0, and watch its sign before you substitute.
Nonrepeating factorsFactors that each appear once in the factored denominator, with no factor raised to a power.Factor the denominator completely before you write the split, and check that no factor repeats.
Partial fractionsThe simpler fractions, each a constant over one linear factor, whose sum is the original rational function.Recombine the pieces over the common denominator before you integrate; if the top does not come back, a constant is wrong.
Graph of y = 3/((x + 1)(x + 4)) for x from 0 to 5. The curve starts at 0.75 at x = 0 and falls toward 0. The region under it from x = 0 to x = 2 is shaded and has area 0.693.Tap to open the picture full size

Part 1 Think first Which antiderivative?

Commit to a guess first. Checking a guess against the answer is what makes the method stick.

Predict first

Water drains from a rain barrel at a rate of 10(t+1)(t+6) liters per minute, t minutes after the tap is opened. To find how much drains in the first few minutes, you need an antiderivative of 10(t+1)(t+6). Which one is it?

In short. Integrating with linear partial fractions means rewriting a rational function whose denominator factors into different linear factors as a sum of constants over those factors, then integrating each piece to a natural logarithm.

  • Write one term Ax−a for each factor x−a, clear the denominators, and substitute each factor's zero to find the constants.
  • Each piece integrates by ∫Ax−adx=Aln⁡|x−a|+C.
  • For a definite integral, evaluate the antiderivative at both limits, subtract, and combine the logarithms with the logarithm rules.

Part 2 Learn it Split, integrate, evaluate

2a. One constant over each factor

You can already integrate 3x+2: it is 3ln⁡|x+2|+C. A fraction with two linear factors underneath looks harder, but it is often a sum of two easy ones:

2x−1+3x+2=2(x+2)+3(x−1)(x−1)(x+2)=5x+1(x−1)(x+2).

Partial fractions runs that addition backward. Start from the single fraction and write one unknown constant over each factor:

5x+1(x−1)(x+2)=Ax−1+Bx+2.

Multiply both sides by (x−1)(x+2) to clear the denominators:

5x+1=A(x+2)+B(x−1).

This holds for every x, so choose values that make one term vanish. At x=1, the zero of x−1, it says 6=3A, so A=2. At x=−2, the zero of x+2, it says −9=−3B, so B=3.

The method needs two things. The denominator must factor into linear, nonrepeating factors, such as x−1 and x+2, with no factor appearing twice. And the top must have a lower degree than the bottom. If it does not, divide first, as in 6.10 Integrating Functions Using Long Division and Completing the Square, and split the remainder.

Quick check · Calculate

No calculator. The fraction 5x−1(x+1)(x−2) can be written as Ax+1+Bx−2 for constants A and B. What is A?

2b. Each piece is a logarithm

Once the fraction is split, every piece is a constant over a linear factor, and each one integrates by the logarithm rule you used in 6.9 Integrating Using Substitution:

∫Ax−adx=Aln⁡|x−a|+C.

So the fraction from 2a gives

∫5x+1(x−1)(x+2)dx=∫(2x−1+3x+2)dx=2ln⁡|x−1|+3ln⁡|x+2|+C.

Differentiate to check: you get 2x−1+3x+2, which recombines to the integrand.

Two shortcuts look tempting and fail. The first takes the logarithm of the whole denominator. By the chain rule, ln⁡|(x−1)(x+2)| has derivative 2x+1(x−1)(x+2), so it works only when the top happens to be a constant multiple of the derivative of the bottom, and then the problem was a substitution all along. The second treats 1(x−1)(x+2) as if it were 1x−1+1x+2. That sum recombines to 2x+1(x−1)(x+2) as well, not to the original. The constants A and B are what make a split true, so find them every time.

Quick check · Multiple choice

No calculator. Which of the following is ∫4x2−4dx?

2c. Definite integrals: evaluate, then combine the logarithms

For a definite integral, find the antiderivative the same way, then evaluate it at both limits and subtract. The interval has to stay clear of the zeros of the denominator, where the integrand is not defined.

∫245x+1(x−1)(x+2)dx=[2ln⁡|x−1|+3ln⁡|x+2|]24=(2ln⁡3+3ln⁡6)−(2ln⁡1+3ln⁡4)

Tidy the result with the logarithm rules: kln⁡a=ln⁡ak, ln⁡a+ln⁡b=ln⁡ab and ln⁡a−ln⁡b=ln⁡ab. Since ln⁡1=0, the value is ln⁡9+ln⁡216−ln⁡64=ln⁡2438.

Keep the absolute value bars. On an interval where x−a is negative, ln⁡(x−a) is not defined, but ln⁡|x−a| is defined there and its derivative is still 1x−a. For example, on [0,1] an antiderivative of 1x−5 is ln⁡|x−5|, whose values at the two ends are ln⁡5 and ln⁡4.

Quick check · Calculate

No calculator. The value of ∫132x(x+2)dx is ln⁡k. What is k? Give an exact decimal.

Part 3 Watch it done An indefinite integral, start to finish

Read each step, then do the last one yourself.

Find ∫7x+1x2−x−2dx.

  1. Step 1 · Factor the denominator

    x2−x−2=(x−2)(x+1). The two factors are linear and different, and the top has lower degree than the bottom, so the fraction splits.

  2. Step 2 · Write one constant over each factor

    7x+1(x−2)(x+1)=Ax−2+Bx+1

  3. Step 3 · Clear the denominators

    Multiply both sides by (x−2)(x+1): 7x+1=A(x+1)+B(x−2).

  4. Step 4 · Make the B term vanish

    At x=2: 7(2)+1=A(2+1)+B(0), so 15=3A and A=5.

  5. Why this step?

    Why may you substitute x=2 when the original fraction is not defined at x=2?

    The equation 7x+1=A(x+1)+B(x−2) has no fractions. Its two sides are polynomials that agree at every x except 2 and −1, and two polynomials that agree at infinitely many inputs are the same polynomial, so they agree at x=2 as well.

  6. Your step · Calculate

    No calculator. Finish it. Substitute x=−1 into 7x+1=A(x+1)+B(x−2) to find B. Then ∫7x+1x2−x−2dx=5ln⁡|x−2|+Bln⁡|x+1|+C. What is B?

Part 4 Try it New fractions, new intervals

Try it · Match

No calculator. Each fraction splits into partial fractions. Tap a fraction, then the sum it equals.

Try it · Decide and justify

No calculator. A classmate splits 4(x−3)(x+1)=1x−3−1x+1, writes the antiderivative ln⁡(x−3)−ln⁡(x+1), and says ∫014(x−3)(x+1)dx does not exist, because ln⁡(x−3) is not defined for 0≤x≤1. Is the classmate right?

Which reason supports your answer?

Try it · Calculate

No calculator. For some constant a, ∫6x3+x2−2xdx=aln⁡|x|+2ln⁡|x−1|+ln⁡|x+2|+C. What is a?

Part 5 Explain it Show every step on paper

Free response is handwritten on the exam, so work this on paper first. Nothing you type here leaves this page. Then open the model answer and score yourself against each point.

Free response is 50% of the exam score. This one is shaped like Question 4, from free-response Part B (calculator not permitted).

Free-response practice · Question 4 style

No calculator. A chemical reaction produces a gas at a rate of r(t)=8(t+1)(t+5) liters per minute, where t is measured in minutes, for t≥0. At time t=0 the container holds 5 liters of the gas, and no gas leaves the container.

(a) Find the constants A and B so that r(t)=At+1+Bt+5.

(b) Find the total amount of gas, in liters, produced from t=0 to t=5. Show the antiderivative you use.

(c) Write an expression, with no integral sign, for G(t), the amount of gas in liters in the container at time t.

(d) At what time t does the container hold 5+2ln⁡4 liters of gas? Show the work that leads to your answer.

Model answer

(a) 8=A(t+5)+B(t+1). At t=−1: 8=4A, so A=2. At t=−5: 8=−4B, so B=−2.

(b) ∫05r(t)dt=[2ln⁡|t+1|−2ln⁡|t+5|]05=(2ln⁡6−2ln⁡10)−(2ln⁡1−2ln⁡5)=2ln⁡6⋅510=2ln⁡3 liters.

(c) G(t)=5+∫0tr(s)ds=5+2ln⁡(t+1)−2ln⁡(t+5)+2ln⁡5 liters. For t≥0 both t+1 and t+5 are positive, so no absolute value bars are needed.

(d) G(t)=5+2ln⁡4 means 2ln⁡5(t+1)t+5=2ln⁡4, so 5(t+1)=4(t+5). Then 5t+5=4t+20, and t=15 minutes.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself One fraction, split and integrated

Both case questions use the function and the work in the table. Answer them from it.

A student splits f(x)=x+9x2−9 as Ax−3+Bx+3. She clears the denominators to get x+9=A(x+3)+B(x−3), and the table shows the two values she substitutes. Solve each equation for its constant.

Finding the constants for f(x)=x+9x2−9
StepSubstituteEquation
1x=33+9=A(3+3)+B(0)
2x=−3−3+9=A(0)+B(−3−3)

Case question 1 · Multiple choice

No calculator. Which of the following is ∫f(x)dx?

Case question 2 · Calculate

No calculator. The value of ∫46f(x)dx is ln⁡k. What is k?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student finds ∫x+5(x−1)(x+2)dx. Tap the first line with a mistake.

Check yourself · Put it in order

No calculator. Put the steps for evaluating ∫235x2+3x−4dx in order. Tap them in sequence.

Part 7 Keep it Bring back earlier ideas

Every partial fractions problem ends with the logarithm from 6.9, and a top that is too big sends you back to the long division of 6.10.

From 6.10 Integrating Functions Using Long Division and Completing the Square · Calculate

No calculator. The exact value of ∫03x2+5x+7x+2dx can be written as a+ln⁡52. What is a? Give an exact decimal.

From 6.9 Integrating Using Substitution · Calculate

No calculator. Evaluate ∫1e2ln⁡xxdx.

In three lines

  • A fraction whose denominator has linear, nonrepeating factors splits into one constant over each factor.
  • Clear the denominators and substitute each factor's zero to find the constants, then recombine to check them.
  • Each piece integrates to a constant times ln⁡|x−a|; for a definite integral, evaluate, subtract and combine the logarithms.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

Without a calculator, show the split before you integrate: the form Ax−a+Bx−b, the equation with the denominators cleared, and the values of A and B. Keep the absolute value bars in ln⁡|x−a|, end an indefinite integral with +C, and leave a definite answer such as ln⁡127 exact unless the question asks for a decimal.

Questions students ask

Can I find the constants by matching coefficients instead?

Yes. For 5x+1=A(x+2)+B(x−1), expand the right side to (A+B)x+(2A−B) and match it to 5x+1: A+B=5 and 2A−B=1, so A=2 and B=3. Substituting the zeros is usually faster, and both give the same constants.

What if the top has the same degree as the bottom, or higher?

Divide first, as in 6.10, then split the remainder. For example, x2+1x2−1=1+2x2−1, and 2x2−1=1x−1−1x+1.

What if a factor has a number in front of x, like 2x + 1?

The split works the same way, with the zero x=−12. When you integrate, ∫A2x+1dx=A2ln⁡|2x+1|+C, by the substitution u=2x+1 from 6.9.

Why do the logarithms need absolute value bars?

Because ln⁡|x−a| is defined on both sides of a and its derivative is 1x−a on each side. Without the bars, ln⁡(x−a) is not defined wherever x<a, even where the integral is fine.

How can I check my answer without a calculator?

Differentiate it. Each logarithm gives back a constant over its factor, and those pieces should recombine over the common denominator to the original fraction.

Course alignment, for teachers

AP Calculus BC topic 6.12, Unit 6: Integration and Accumulation of Change.

  • Skill 1.E: Apply appropriate mathematical rules or procedures, with and without technology.

This lesson maps the one essential knowledge statement of the topic to the part that teaches each one: 1 is checked by a scored question. The map is in the lesson file.