AP · Calculus BC · Integration by Parts and Partial Fractions

Integration Using Partial Fractions

18 min readUpdated November 30, 2026FreeAP Calculus BC, Further Integration Techniques

Partial fractions split a rational function whose denominator factors into distinct linear factors into a sum of simpler fractions, such as x+5(x−1)(x+2)=2x−1−1x+2\dfrac{x + 5}{(x - 1)(x + 2)} = \dfrac{2}{x - 1} - \dfrac{1}{x + 2}. Each simple fraction integrates to a natural logarithm, so the whole integral becomes a sum of logs. If the numerator's degree is not less than the denominator's, you divide first.

Quick check

  1. Find ∫1x+4 dx\int \dfrac{1}{x + 4}\,dx.Show answerHide answer

    ln⁡∣x+4∣+C\ln{|x + 4|} + C. The derivative of ln⁡∣x+4∣\ln{|x + 4|} is 1x+4\dfrac{1}{x + 4}.

  2. Factor x2−5x+6x^2 - 5x + 6.Show answerHide answer

    (x−2)(x−3)(x - 2)(x - 3). The two numbers multiply to 66 and add to −5-5.

  3. Write 1x−1−1x+1\dfrac{1}{x - 1} - \dfrac{1}{x + 1} as a single fraction.Show answerHide answer

    2x2−1\dfrac{2}{x^2 - 1}. Over the common denominator (x−1)(x+1)(x - 1)(x + 1), the numerator is (x+1)−(x−1)=2(x + 1) - (x - 1) = 2. Partial fractions run this process in reverse.

Know these already? Jump to the practice questions

What you'll be able to do

  • Explain why splitting a rational function into partial fractions makes it possible to integrate.
  • Find the constants in a decomposition by substituting the roots of the denominator.
  • Find integrals of the form ∫px+q(x−a)(x−b) dx\int \dfrac{px + q}{(x - a)(x - b)}\,dx as sums of natural logarithms.
  • Determine when to divide first, and integrate the quotient and the remainder.
  • Evaluate definite integrals by partial fractions and simplify the logs exactly.

Key terms

Partial fractions

A sum of fractions with linear denominators that equals a given rational function, such as 2x−1−1x+2\dfrac{2}{x - 1} - \dfrac{1}{x + 2} for x+5(x−1)(x+2)\dfrac{x + 5}{(x - 1)(x + 2)}.

In plain English
The single fraction broken back into the pieces it could have come from.
Don't write
x+5(x−1)(x+2)=x+5x−1+x+5x+2\dfrac{x + 5}{(x - 1)(x + 2)} = \dfrac{x + 5}{x - 1} + \dfrac{x + 5}{x + 2}; the numerator does not split across the factors.

Proper rational function

A fraction of two polynomials in which the degree of the numerator is less than the degree of the denominator.

In plain English
The top is "smaller" than the bottom, so no division is needed.
Don't write
That x2+3x2−1\dfrac{x^2 + 3}{x^2 - 1} is proper; equal degrees mean you divide first.

Why split a fraction before integrating?

Take ∫x+5(x−1)(x+2) dx\displaystyle\int \frac{x + 5}{(x - 1)(x + 2)}\,dx. The numerator is not a multiple of the derivative of the denominator, 2x+12x + 1, so u-substitution fails. But the fraction equals

2x−1−1x+2\frac{2}{x - 1} - \frac{1}{x + 2}

and each piece has the form Ax−a\frac{A}{x - a}, which integrates straight to a logarithm. So

∫x+5(x−1)(x+2) dx=2ln⁡∣x−1∣−ln⁡∣x+2∣+C\int \frac{x + 5}{(x - 1)(x + 2)}\,dx = 2\ln{|x - 1|} - \ln{|x + 2|} + C

Learn this: when the denominator is a product of two different linear factors and the fraction is proper,

px+q(x−a)(x−b)=Ax−a+Bx−b\frac{px + q}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}

for some constants AA and BB. Three different linear factors work the same way, with one constant for each factor. The constants are fixed numbers; the next section shows how to find them.

Key idea

One linear factor in the denominator gives one fraction with a constant on top, and each of those fractions integrates to a logarithm.

Check yourself

Combine 1x−1x+3\dfrac{1}{x} - \dfrac{1}{x + 3} into a single fraction.
Show answerHide answer

3x(x+3)\dfrac{3}{x(x + 3)}. The numerator is (x+3)−x=3(x + 3) - x = 3, so 3x(x+3)\dfrac{3}{x(x + 3)} splits as 1x−1x+3\dfrac{1}{x} - \dfrac{1}{x + 3}.

How do you find the constants?

Multiply both sides by the whole denominator. That clears every fraction and leaves an identity, true for every xx.

For 5x−4(x−2)(x+1)=Ax−2+Bx+1\dfrac{5x - 4}{(x - 2)(x + 1)} = \dfrac{A}{x - 2} + \dfrac{B}{x + 1}, multiplying through gives

5x−4=A(x+1)+B(x−2)5x - 4 = A(x + 1) + B(x - 2)

Now substitute the root of each factor. Each root makes one bracket zero, so one constant drops out:

  • x=2x = 2: 6=3A6 = 3A, so A=2A = 2.
  • x=−1x = -1: −9=−3B-9 = -3B, so B=3B = 3.

So 5x−4(x−2)(x+1)=2x−2+3x+1\dfrac{5x - 4}{(x - 2)(x + 1)} = \dfrac{2}{x - 2} + \dfrac{3}{x + 1}.

You can also expand the right side and match coefficients: 5x−4=(A+B)x+(A−2B)5x - 4 = (A + B)x + (A - 2B), so A+B=5A + B = 5 and A−2B=−4A - 2B = -4. This gives the same answer, but it takes longer, so keep it as a check.

To test your constants, pick any other value, such as x=0x = 0. The left side gives −4−2=2\frac{-4}{-2} = 2, and the right side gives 2−2+31=2\frac{2}{-2} + \frac{3}{1} = 2.

Check yourself

Find AA and BB so that x+11(x+3)(x−1)=Ax+3+Bx−1\dfrac{x + 11}{(x + 3)(x - 1)} = \dfrac{A}{x + 3} + \dfrac{B}{x - 1}.
Show answerHide answer

A=−2A = -2 and B=3B = 3. From x+11=A(x−1)+B(x+3)x + 11 = A(x - 1) + B(x + 3): x=1x = 1 gives 12=4B12 = 4B, and x=−3x = -3 gives 8=−4A8 = -4A.

How does each piece integrate?

Each piece integrates to a log, divided by the coefficient of xx inside it. Learn this:

∫Aax+b dx=Aaln⁡∣ax+b∣+C\int \frac{A}{ax + b}\,dx = \frac{A}{a}\ln{|ax + b|} + C

The factor 1a\frac{1}{a} comes from the chain rule: differentiating ln⁡∣ax+b∣\ln{|ax + b|} gives aax+b\frac{a}{ax + b}. For example, ∫12x−1 dx=12ln⁡∣2x−1∣+C\int \frac{1}{2x - 1}\,dx = \frac{1}{2}\ln{|2x - 1|} + C.

Keep the absolute value bars. The function 1x−3\frac{1}{x - 3} is defined for x<3x < 3, but ln⁡(x−3)\ln(x - 3) is not, so ln⁡∣x−3∣\ln{|x - 3|} is the antiderivative that works on both sides of x=3x = 3.

For a definite integral, evaluate the logs and then combine them with the log laws, ln⁡a−ln⁡b=ln⁡ab\ln a - \ln b = \ln\frac{a}{b} and kln⁡a=ln⁡akk\ln a = \ln a^k. An exact answer such as ln⁡43\ln\frac{4}{3} is what a no-calculator question expects.

Check yourself

Evaluate ∫011(x+1)(x+2) dx\displaystyle\int_0^1 \frac{1}{(x + 1)(x + 2)}\,dx.
Show answerHide answer

ln⁡43\ln\dfrac{4}{3}. The integrand is 1x+1−1x+2\dfrac{1}{x + 1} - \dfrac{1}{x + 2}, so the value is (ln⁡2−ln⁡3)−(ln⁡1−ln⁡2)=2ln⁡2−ln⁡3(\ln 2 - \ln 3) - (\ln 1 - \ln 2) = 2\ln 2 - \ln 3.

What if the numerator's degree is too high?

The split into Ax−a+Bx−b\frac{A}{x - a} + \frac{B}{x - b} only works for a proper fraction, because the right side is always proper. If the numerator's degree is equal to or greater than the denominator's, divide first (see the AP® Calculus AB note on long division and completing the square). Then split the proper remainder.

For x2+3x2−1\dfrac{x^2 + 3}{x^2 - 1}, the degrees are equal. Write the numerator as (x2−1)+4(x^2 - 1) + 4:

x2+3x2−1=1+4x2−1=1+2x−1−2x+1\frac{x^2 + 3}{x^2 - 1} = 1 + \frac{4}{x^2 - 1} = 1 + \frac{2}{x - 1} - \frac{2}{x + 1}

The quotient 11 integrates to xx, and the two fractions give logs, so

∫x2+3x2−1 dx=x+2ln⁡∣x−1∣−2ln⁡∣x+1∣+C\int \frac{x^2 + 3}{x^2 - 1}\,dx = x + 2\ln{|x - 1|} - 2\ln{|x + 1|} + C

Examiner's eye

Marks are lost when the polynomial part from the division is dropped. Compare the degrees before you set up AA and BB.

Check yourself

Write x2x2−4\dfrac{x^2}{x^2 - 4} as a polynomial plus partial fractions.
Show answerHide answer

1+1x−2−1x+21 + \dfrac{1}{x - 2} - \dfrac{1}{x + 2}. Dividing gives 1+4x2−41 + \dfrac{4}{x^2 - 4}, and 4(x−2)(x+2)\dfrac{4}{(x - 2)(x + 2)} splits with A=1A = 1 and B=−1B = -1.

Which method fits the fraction?

What you seeMethod
The numerator is a multiple of the derivative of the denominator, such as 2x+3x2+3x\dfrac{2x + 3}{x^2 + 3x}u-substitution, giving ln⁡∣x2+3x∣\ln\lvert x^2 + 3x\rvert
A proper fraction whose denominator factors into different linear factorsPartial fractions
Numerator degree equal to or above the denominator'sDivide first, then split the remainder if needed
A denominator such as x2+4x^2 + 4 that does not factorAn arctan form, from AP® Calculus AB
A polynomial times ln⁡x\ln x or exe^xIntegration by parts: see the note on integration by parts

Worked example 1: Two linear factors

Question: Find ∫x+7x2−x−6 dx\displaystyle\int \frac{x + 7}{x^2 - x - 6}\,dx.

What tells you the method

The fraction is proper, the denominator factors into two different linear factors, and the numerator is not a multiple of the denominator's derivative, 2x−12x - 1.

  1. Step 1: Factor and set up.

    x2−x−6=(x−3)(x+2)x^2 - x - 6 = (x - 3)(x + 2), so write x+7(x−3)(x+2)=Ax−3+Bx+2\dfrac{x + 7}{(x - 3)(x + 2)} = \dfrac{A}{x - 3} + \dfrac{B}{x + 2}.

    Why

    One constant for each linear factor.

  2. Step 2: Clear the fractions.

    x+7=A(x+2)+B(x−3)x + 7 = A(x + 2) + B(x - 3).

    Why

    Multiplying by (x−3)(x+2)(x - 3)(x + 2) leaves an identity in xx.

  3. Step 3: Substitute the roots.

    x=3x = 3: 10=5A10 = 5A, so A=2A = 2. x=−2x = -2: 5=−5B5 = -5B, so B=−1B = -1.

    Why

    Each root makes one bracket zero.

  4. Step 4: Integrate each piece.

    ∫(2x−3−1x+2)dx=2ln⁡∣x−3∣−ln⁡∣x+2∣+C\displaystyle\int \left(\frac{2}{x - 3} - \frac{1}{x + 2}\right)dx = 2\ln{|x - 3|} - \ln{|x + 2|} + C.

    Why

    The coefficient of xx in each factor is 11, so no extra factor appears.

Check it

At x=0x = 0 the original fraction is 7−6\frac{7}{-6}, and 2−3−12=−76\frac{2}{-3} - \frac{1}{2} = -\frac{7}{6}, so the split is right.

Answer

2ln⁡∣x−3∣−ln⁡∣x+2∣+C2\ln{|x - 3|} - \ln{|x + 2|} + C

Worked example 2: A factor with 2x2x and limits

Question: Evaluate ∫155x+52x2+3x−2 dx\displaystyle\int_1^5 \frac{5x + 5}{2x^2 + 3x - 2}\,dx. Give the exact value as a single logarithm.

What tells you the method

A proper fraction whose denominator factors, with limits that keep you away from the roots x=12x = \frac{1}{2} and x=−2x = -2.

  1. Step 1: Factor and find the constants.

    2x2+3x−2=(2x−1)(x+2)2x^2 + 3x - 2 = (2x - 1)(x + 2). From 5x+5=A(x+2)+B(2x−1)5x + 5 = A(x + 2) + B(2x - 1): x=12x = \frac{1}{2} gives 152=52A\frac{15}{2} = \frac{5}{2}A, so A=3A = 3; x=−2x = -2 gives −5=−5B-5 = -5B, so B=1B = 1.

    Why

    The root of 2x−12x - 1 is x=12x = \frac{1}{2}, not x=1x = 1.

  2. Step 2: Integrate.

    ∫(32x−1+1x+2)dx=32ln⁡∣2x−1∣+ln⁡∣x+2∣\displaystyle\int \left(\frac{3}{2x - 1} + \frac{1}{x + 2}\right)dx = \frac{3}{2}\ln{|2x - 1|} + \ln{|x + 2|}.

    Why

    The 2x2x inside the first log brings a factor of 12\frac{1}{2}.

  3. Step 3: Apply the limits.

    (32ln⁡9+ln⁡7)−(32ln⁡1+ln⁡3)=3ln⁡3+ln⁡7−ln⁡3=2ln⁡3+ln⁡7\left(\frac{3}{2}\ln 9 + \ln 7\right) - \left(\frac{3}{2}\ln 1 + \ln 3\right) = 3\ln 3 + \ln 7 - \ln 3 = 2\ln 3 + \ln 7.

    Why

    32ln⁡9=32⋅2ln⁡3=3ln⁡3\frac{3}{2}\ln 9 = \frac{3}{2} \cdot 2\ln 3 = 3\ln 3.

  4. Step 4: Combine the logs.

    2ln⁡3+ln⁡7=ln⁡9+ln⁡7=ln⁡632\ln 3 + \ln 7 = \ln 9 + \ln 7 = \ln 63.

    Why

    kln⁡a=ln⁡akk\ln a = \ln a^k and ln⁡a+ln⁡b=ln⁡ab\ln a + \ln b = \ln ab.

Check it

The integrand falls from 103≈3.33\frac{10}{3} \approx 3.33 at x=1x = 1 to 3063≈0.48\frac{30}{63} \approx 0.48 at x=5x = 5, so an average height near 11 over a width of 44 is reasonable; ln⁡63≈4.143\ln 63 \approx 4.143.

Answer

ln⁡63≈4.143\ln 63 \approx 4.143

Worked example 3: Divide first, exam style

Question: The function gg satisfies g′(x)=x2+x+2x2−1g'(x) = \dfrac{x^2 + x + 2}{x^2 - 1} for x>1x > 1, and g(2)=5g(2) = 5. Find the exact value of g(3)g(3), then give it to three decimal places.

What tells you the method

g(3)=g(2)+∫23g′(x) dxg(3) = g(2) + \int_2^3 g'(x)\,dx, and the integrand has equal degrees top and bottom, so you divide before you split.

  1. Step 1: Divide.

    x2+x+2=(x2−1)+(x+3)x^2 + x + 2 = (x^2 - 1) + (x + 3), so g′(x)=1+x+3x2−1g'(x) = 1 + \dfrac{x + 3}{x^2 - 1}.

    Why

    The remainder x+3x + 3 has a lower degree than x2−1x^2 - 1.

  2. Step 2: Split the remainder.

    x+3=A(x+1)+B(x−1)x + 3 = A(x + 1) + B(x - 1). x=1x = 1: 4=2A4 = 2A, so A=2A = 2. x=−1x = -1: 2=−2B2 = -2B, so B=−1B = -1.

    Why

    x2−1=(x−1)(x+1)x^2 - 1 = (x - 1)(x + 1).

  3. Step 3: Integrate from 2 to 3.

    [x+2ln⁡∣x−1∣−ln⁡∣x+1∣]23=(3+2ln⁡2−ln⁡4)−(2+0−ln⁡3)=1+ln⁡3\Big[x + 2\ln{|x - 1|} - \ln{|x + 1|}\Big]_2^3 = (3 + 2\ln 2 - \ln 4) - (2 + 0 - \ln 3) = 1 + \ln 3.

    Why

    2ln⁡2=ln⁡42\ln 2 = \ln 4, so those two terms cancel.

  4. Step 4: Add the starting value.

    g(3)=5+1+ln⁡3=6+ln⁡3g(3) = 5 + 1 + \ln 3 = 6 + \ln 3.

    Why

    The integral of a rate of change is the change in gg.

Check it

On [2,3][2, 3], g′g' falls from 83\frac{8}{3} to 148=1.75\frac{14}{8} = 1.75, so gg rises by between 1.751.75 and 2.672.67; the rise 1+ln⁡3≈2.0991 + \ln 3 \approx 2.099 fits.

Answer

g(3)=6+ln⁡3≈7.099g(3) = 6 + \ln 3 \approx 7.099

Your turn

Question: Find ∫7x−5x2−x−2 dx\displaystyle\int \frac{7x - 5}{x^2 - x - 2}\,dx.

  1. Step 1:

    x2−x−2=(x−2)(x+1)x^2 - x - 2 = (x - 2)(x + 1), so write 7x−5(x−2)(x+1)=Ax−2+Bx+1\dfrac{7x - 5}{(x - 2)(x + 1)} = \dfrac{A}{x - 2} + \dfrac{B}{x + 1}.

  2. Step 2:

    Clearing fractions gives 7x−5=A(x+1)+B(x−2)7x - 5 = A(x + 1) + B(x - 2).

  3. Step 3: Your go: find AA and BB, then integrate.

    Substitute x=2x = 2 and x=−1x = -1.

Show the full solutionHide the solution

x=2x = 2: 9=3A9 = 3A, so A=3A = 3. x=−1x = -1: −12=−3B-12 = -3B, so B=4B = 4.

So the integral is ∫(3x−2+4x+1)dx\displaystyle\int \left(\frac{3}{x - 2} + \frac{4}{x + 1}\right)dx.

Answer: 3ln⁡∣x−2∣+4ln⁡∣x+1∣+C3\ln{|x - 2|} + 4\ln{|x + 1|} + C

Traps

Trap

Writing ∫12x+1 dx=ln⁡∣2x+1∣+C\int \frac{1}{2x + 1}\,dx = \ln{|2x + 1|} + C.

It seems right because ∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\,dx = \ln{|x|} + C. But differentiating ln⁡∣2x+1∣\ln{|2x + 1|} gives 22x+1\frac{2}{2x + 1}, twice the integrand, so the antiderivative is 12ln⁡∣2x+1∣+C\frac{1}{2}\ln{|2x + 1|} + C.

Check yourself

Evaluate ∫1212x+1 dx\displaystyle\int_1^2 \frac{1}{2x + 1}\,dx.
Show answerHide answer

12ln⁡53\dfrac{1}{2}\ln\dfrac{5}{3}. The antiderivative is 12ln⁡∣2x+1∣\frac{1}{2}\ln{|2x + 1|}, and 12(ln⁡5−ln⁡3)=12ln⁡53\frac{1}{2}(\ln 5 - \ln 3) = \frac{1}{2}\ln\frac{5}{3}.

Trap

Splitting x2x2−4\dfrac{x^2}{x^2 - 4} straight into Ax−2+Bx+2\dfrac{A}{x - 2} + \dfrac{B}{x + 2}.

It seems right because the denominator factors. But any sum Ax−2+Bx+2\frac{A}{x - 2} + \frac{B}{x + 2} is a proper fraction, so it can never equal a fraction whose numerator has the same degree as its denominator. Divide first to get 1+4x2−41 + \frac{4}{x^2 - 4}, then split the remainder.

Check yourself

Does 1x−2−1x+2\dfrac{1}{x - 2} - \dfrac{1}{x + 2} equal x2x2−4\dfrac{x^2}{x^2 - 4}?
Show answerHide answer

No. It equals 4x2−4\dfrac{4}{x^2 - 4}. You need the extra 11 from the division: x2x2−4=1+1x−2−1x+2\dfrac{x^2}{x^2 - 4} = 1 + \dfrac{1}{x - 2} - \dfrac{1}{x + 2}.

Trap

Dropping the absolute value and writing ln⁡(x−3)\ln(x - 3) for every xx.

It seems right because the bars look like decoration. But on an interval where x−3<0x - 3 < 0, ln⁡(x−3)\ln(x - 3) is undefined, while ln⁡∣x−3∣\ln{|x - 3|} is still an antiderivative of 1x−3\frac{1}{x - 3}. Keep the bars until you know each bracket is positive.

Check yourself

Evaluate ∫021x−3 dx\displaystyle\int_0^2 \frac{1}{x - 3}\,dx.
Show answerHide answer

−ln⁡3-\ln 3. The value is ln⁡∣−1∣−ln⁡∣−3∣=0−ln⁡3\ln{|-1|} - \ln{|-3|} = 0 - \ln 3; it is negative because the integrand is negative on [0,2][0, 2].

What's examined

Integration using partial fractions is part of Unit 6 (Further Integration Techniques) of the AP® Calculus BC exam. It can appear in multiple choice, where options written as logs can look alike, and in free-response parts that need an antiderivative, an exact definite integral or a function value from its derivative. It is also how the logistic differential equation is solved. Expect to work by hand: show the factorization, the constants and each log, and give exact answers unless a decimal is asked for. Not on your syllabus: repeated linear factors and quadratic factors in the denominator; this note sticks to distinct linear factors.

Practice questions

  1. Recall Which of the following is equal to 1x2+3x\dfrac{1}{x^2 + 3x}?
  • A) 1x+1x+3\dfrac{1}{x} + \dfrac{1}{x + 3}
  • B) 13x−13(x+3)\dfrac{1}{3x} - \dfrac{1}{3(x + 3)}
  • C) 3x−3x+3\dfrac{3}{x} - \dfrac{3}{x + 3}
  • D) 1x−1x+3\dfrac{1}{x} - \dfrac{1}{x + 3}
Show answer

Answer: B, 13x−13(x+3)\dfrac{1}{3x} - \dfrac{1}{3(x + 3)}.

Marking points:

  • 1=A(x+3)+Bx1 = A(x + 3) + Bx: x=0x = 0 gives A=13A = \frac{1}{3}, and x=−3x = -3 gives B=−13B = -\frac{1}{3}.
  • D combines to 3x2+3x\frac{3}{x^2 + 3x}, three times too big; C multiplies by 33 instead of dividing; A has the wrong sign on the second term.
  1. Apply Find ∫1x2−9 dx\displaystyle\int \frac{1}{x^2 - 9}\,dx.
Show answer

Answer: 16ln⁡∣x−3∣−16ln⁡∣x+3∣+C\dfrac{1}{6}\ln{|x - 3|} - \dfrac{1}{6}\ln{|x + 3|} + C

Marking points:

  • 1=A(x+3)+B(x−3)1 = A(x + 3) + B(x - 3): x=3x = 3 gives A=16A = \frac{1}{6}, and x=−3x = -3 gives B=−16B = -\frac{1}{6}.
  • Each piece integrates to a log with coefficient 11 inside, so no extra factor.
  1. Apply What is the value of ∫012(x+1)(x+3) dx\displaystyle\int_0^1 \frac{2}{(x + 1)(x + 3)}\,dx?
  • A) ln⁡12\ln\dfrac{1}{2}
  • B) ln⁡23\ln\dfrac{2}{3}
  • C) ln⁡94\ln\dfrac{9}{4}
  • D) ln⁡32\ln\dfrac{3}{2}
Show answer

Answer: D, ln⁡32\ln\dfrac{3}{2}.

Marking points:

  • 2(x+1)(x+3)=1x+1−1x+3\dfrac{2}{(x + 1)(x + 3)} = \dfrac{1}{x + 1} - \dfrac{1}{x + 3}.
  • (ln⁡2−ln⁡4)−(ln⁡1−ln⁡3)=ln⁡2⋅34=ln⁡32(\ln 2 - \ln 4) - (\ln 1 - \ln 3) = \ln\frac{2 \cdot 3}{4} = \ln\frac{3}{2}.
  • A ignores the lower limit; B swaps the signs of the two constants; C uses constants 22 and −2-2, skipping the division by 22 when solving for them.
  1. Apply Find ∫2x2+3x2+x dx\displaystyle\int \frac{2x^2 + 3}{x^2 + x}\,dx.
Show answer

Answer: 2x+3ln⁡∣x∣−5ln⁡∣x+1∣+C2x + 3\ln{|x|} - 5\ln{|x + 1|} + C

Marking points:

  • Equal degrees, so divide: 2x2+3x2+x=2+−2x+3x(x+1)\dfrac{2x^2 + 3}{x^2 + x} = 2 + \dfrac{-2x + 3}{x(x + 1)}.
  • −2x+3=A(x+1)+Bx-2x + 3 = A(x + 1) + Bx: x=0x = 0 gives A=3A = 3, and x=−1x = -1 gives B=−5B = -5.
  • Integrate: 2x+3ln⁡∣x∣−5ln⁡∣x+1∣+C2x + 3\ln{|x|} - 5\ln{|x + 1|} + C.
  1. Exam-style What is the value of ∫35x+1x2−3x+2 dx\displaystyle\int_3^5 \frac{x + 1}{x^2 - 3x + 2}\,dx?
  • A) ln⁡274\ln\dfrac{27}{4}
  • B) ln⁡2716\ln\dfrac{27}{16}
  • C) ln⁡89\ln\dfrac{8}{9}
  • D) ln⁡108\ln 108
Show answer

Answer: A, ln⁡274\ln\dfrac{27}{4}.

Marking points:

  • x2−3x+2=(x−1)(x−2)x^2 - 3x + 2 = (x - 1)(x - 2), and x+1=A(x−2)+B(x−1)x + 1 = A(x - 2) + B(x - 1) gives A=−2A = -2 and B=3B = 3.
  • [−2ln⁡∣x−1∣+3ln⁡∣x−2∣]35=(−2ln⁡4+3ln⁡3)−(−2ln⁡2)=3ln⁡3−2ln⁡2=ln⁡274\Big[-2\ln{|x - 1|} + 3\ln{|x - 2|}\Big]_3^5 = (-2\ln 4 + 3\ln 3) - (-2\ln 2) = 3\ln 3 - 2\ln 2 = \ln\frac{27}{4}.
  • B ignores the lower limit; C swaps AA and BB; D uses A=2A = 2 instead of −2-2.
  1. Exam-style For 0<y<100 < y < 10, which of the following is ∫1y(10−y) dy\displaystyle\int \frac{1}{y(10 - y)}\,dy?
  • A) 110ln⁡∣y(10−y)∣+C\dfrac{1}{10}\ln{|y(10 - y)|} + C
  • B) ln⁡∣y∣−ln⁡∣10−y∣+C\ln{|y|} - \ln{|10 - y|} + C
  • C) 110ln⁡∣y10−y∣+C\dfrac{1}{10}\ln\left\lvert\dfrac{y}{10 - y}\right\rvert + C
  • D) 110ln⁡∣10−yy∣+C\dfrac{1}{10}\ln\left\lvert\dfrac{10 - y}{y}\right\rvert + C
Show answer

Answer: C, 110ln⁡∣y10−y∣+C\dfrac{1}{10}\ln\left\lvert\dfrac{y}{10 - y}\right\rvert + C.

Marking points:

  • 1=A(10−y)+By1 = A(10 - y) + By: y=0y = 0 gives A=110A = \frac{1}{10}, and y=10y = 10 gives B=110B = \frac{1}{10}.
  • ∫110−y dy=−ln⁡∣10−y∣\int \frac{1}{10 - y}\,dy = -\ln{|10 - y|}, because the derivative of 10−y10 - y is −1-1.
  • So the integral is 110(ln⁡∣y∣−ln⁡∣10−y∣)+C\frac{1}{10}\left(\ln{|y|} - \ln{|10 - y|}\right) + C. A misses the minus sign from 10−y10 - y; B drops the 110\frac{1}{10}; D has the fraction upside down.
  1. Exam-style Let f(x)=6x2+3xf(x) = \dfrac{6}{x^2 + 3x}. (a) Find the exact area of the region bounded by the graph of ff, the xx-axis and the lines x=1x = 1 and x=3x = 3. (b) Find the average value of ff on [1,3][1, 3], exact and to three decimal places.
Show answer

Answer: (a) 2ln⁡22\ln 2, about 1.3861.386. (b) ln⁡2≈0.693\ln 2 \approx 0.693.

Marking points:

  • f(x)>0f(x) > 0 on [1,3][1, 3], so the area is ∫13f(x) dx\int_1^3 f(x)\,dx.
  • 6x(x+3)=2x−2x+3\dfrac{6}{x(x + 3)} = \dfrac{2}{x} - \dfrac{2}{x + 3}.
  • [2ln⁡x−2ln⁡(x+3)]13=(2ln⁡3−2ln⁡6)−(0−2ln⁡4)=2ln⁡2\Big[2\ln x - 2\ln(x + 3)\Big]_1^3 = (2\ln 3 - 2\ln 6) - (0 - 2\ln 4) = 2\ln 2.
  • Average value =13−1∫13f(x) dx=ln⁡2= \frac{1}{3 - 1}\int_1^3 f(x)\,dx = \ln 2.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • A proper fraction over two different linear factors splits as Ax−a+Bx−b\frac{A}{x - a} + \frac{B}{x - b}.
  • Clear the fractions, then substitute each root to make one constant drop out.
  • ∫Aax+b dx=Aaln⁡∣ax+b∣+C\int \frac{A}{ax + b}\,dx = \frac{A}{a}\ln{|ax + b|} + C: keep the 1a\frac{1}{a} and the bars.
  • If the numerator's degree is at least the denominator's, divide first and keep the polynomial part.
  • Combine logs with the log laws to give an exact answer.

Keep learning

Explore AP Calculus BC tutoring →

View the full Calculus BC syllabus →

More in this unit

Further Integration Techniques

All Integration by Parts and Partial Fractions notes

Part of Novark's AP Calculus BC notes