Dove's LibraryDove's Library

6.12 - Using Linear Partial Fractions (BC ONLY)

Note: this is a BC Calculus topic. AB students can skip this section.

What is a Rational Function?

A rational function has the form
P(x)Q(x)\frac{P(x)}{Q(x)}
where both P(x)P(x) and Q(x)Q(x) are polynomials.

Proper vs. Improper Rational Functions

A rational function is proper if
degree of P(x)<degree of Q(x)\text{degree of } P(x) < \text{degree of } Q(x)
Proper example: x+3x2+5x+6\dfrac{x + 3}{x^2 + 5x + 6} (degree 1 over degree 2)
Improper example: x3+2x2−1\dfrac{x^3 + 2}{x^2 - 1} (degree 3 over degree 2)
You can only use partial fraction decomposition on proper rational functions.
If the fraction is improper, do long division first (Topic 6.10), then use partial fractions on the proper fraction that’s left over. For the improper example above:
x3+2x2−1=x+x+2x2−1\frac{x^3 + 2}{x^2 - 1} = x + \frac{x + 2}{x^2 - 1}

The Big Idea

Some rational functions are hard to integrate directly, but if you can break them apart into simpler fractions, the integration becomes easy.
Partial fraction decomposition rewrites one complicated fraction as a sum of simpler ones.

General Form

P(x)Q(x)=A1F1(x)+A2F2(x)+A3F3(x)+…\frac{P(x)}{Q(x)} = \frac{A_1}{F_1(x)} + \frac{A_2}{F_2(x)} + \frac{A_3}{F_3(x)} + \ldots
where each Fi(x)F_i(x) is a factor of Q(x)Q(x).

Non-Repeating Linear Factors

In BC Calculus, we focus on non-repeating linear factors, meaning factors of the form (x−a)(x - a) that show up only once.

The Method

If Q(x)Q(x) factors completely into distinct linear factors,
Q(x)=(x−r1)(x−r2)(x−r3)⋯(x−rn)Q(x) = (x - r_1)(x - r_2)(x - r_3)\cdots(x - r_n)
then
P(x)Q(x)=A1x−r1+A2x−r2+A3x−r3+…+Anx−rn\frac{P(x)}{Q(x)} = \frac{A_1}{x - r_1} + \frac{A_2}{x - r_2} + \frac{A_3}{x - r_3} + \ldots + \frac{A_n}{x - r_n}
The goal is to find the constants A1,A2,A3,…,AnA_1, A_2, A_3, \ldots, A_n.

Step-by-Step Process

Step 1: Factor the denominator. Factor Q(x)Q(x) completely into linear factors.
Step 2: Set up the partial fractions. Write the equation with unknown constants in the numerators.
Step 3: Clear the denominators. Multiply both sides by Q(x)Q(x) to get rid of all the fractions.
Step 4: Solve for the constants. Strategically pick values of xx that make certain terms vanish, then solve for each constant.
Step 5: Rewrite the integral. Put the constants back in and integrate term by term.

Example 1: Two Linear Factors

Evaluate ∫3(x−2)(x+5) dx\displaystyle\int \frac{3}{(x - 2)(x + 5)} \, dx.
Step 1: Factor. It’s already factored:
Q(x)=(x−2)(x+5)Q(x) = (x - 2)(x + 5)
Step 2: Set up the partial fractions.
3(x−2)(x+5)=Ax−2+Bx+5\frac{3}{(x - 2)(x + 5)} = \frac{A}{x - 2} + \frac{B}{x + 5}
Step 3: Clear the denominators by multiplying both sides by (x−2)(x+5)(x - 2)(x + 5):
3=A(x+5)+B(x−2)3 = A(x + 5) + B(x - 2)
Step 4: Solve for the constants.
Let x=2x = 2 (which kills off BB):
3=A(2+5)+B(0)3 = A(2 + 5) + B(0)3=7A3 = 7AA=37A = \frac{3}{7}
Let x=−5x = -5 (which kills off AA):
3=A(0)+B(−5−2)3 = A(0) + B(-5 - 2)3=−7B3 = -7BB=−37B = -\frac{3}{7}
Step 5: Rewrite and integrate.
∫3(x−2)(x+5) dx=∫(3/7x−2−3/7x+5)dx\int \frac{3}{(x - 2)(x + 5)} \, dx = \int \left(\frac{3/7}{x - 2} - \frac{3/7}{x + 5}\right) dx=37ln⁡∣x−2∣−37ln⁡∣x+5∣+C=37[ln⁡∣x−2∣−ln⁡∣x+5∣]+C= \frac{3}{7} \ln|x - 2| - \frac{3}{7} \ln|x + 5| + C = \frac{3}{7}\left[\ln|x - 2| - \ln|x + 5|\right] + C
Using log properties:
=37ln⁡∣x−2x+5∣+C= \frac{3}{7} \ln\left|\frac{x - 2}{x + 5}\right| + C

Example 2: Three Linear Factors

Evaluate ∫x2+5x3−4x2+3x dx\displaystyle\int \frac{x^2 + 5}{x^3 - 4x^2 + 3x} \, dx.
Step 1: Factor the denominator.
x3−4x2+3x=x(x2−4x+3)=x(x−1)(x−3)x^3 - 4x^2 + 3x = x(x^2 - 4x + 3) = x(x - 1)(x - 3)
Step 2: Set up the partial fractions.
x2+5x(x−1)(x−3)=Ax+Bx−1+Cx−3\frac{x^2 + 5}{x(x - 1)(x - 3)} = \frac{A}{x} + \frac{B}{x - 1} + \frac{C}{x - 3}
Step 3: Clear the denominators by multiplying by x(x−1)(x−3)x(x - 1)(x - 3):
x2+5=A(x−1)(x−3)+Bx(x−3)+Cx(x−1)x^2 + 5 = A(x - 1)(x - 3) + Bx(x - 3) + Cx(x - 1)
Step 4: Solve for the constants.
Let x=0x = 0:
0+5=A(−1)(−3)+0+00 + 5 = A(-1)(-3) + 0 + 05=3A⇒A=535 = 3A \quad \Rightarrow \quad A = \frac{5}{3}
Let x=1x = 1:
1+5=0+B(1)(−2)+01 + 5 = 0 + B(1)(-2) + 06=−2B⇒B=−36 = -2B \quad \Rightarrow \quad B = -3
Let x=3x = 3:
9+5=0+0+C(3)(2)9 + 5 = 0 + 0 + C(3)(2)14=6C⇒C=7314 = 6C \quad \Rightarrow \quad C = \frac{7}{3}
Step 5: Rewrite and integrate.
∫x2+5x(x−1)(x−3) dx=∫(5/3x−3x−1+7/3x−3)dx\int \frac{x^2 + 5}{x(x - 1)(x - 3)} \, dx = \int \left(\frac{5/3}{x} - \frac{3}{x - 1} + \frac{7/3}{x - 3}\right) dx=53ln⁡∣x∣−3ln⁡∣x−1∣+73ln⁡∣x−3∣+C= \frac{5}{3}\ln|x| - 3\ln|x - 1| + \frac{7}{3}\ln|x - 3| + C

Example 3: Requires Factoring First

Evaluate ∫4x+1x2+x−6 dx\displaystyle\int \frac{4x + 1}{x^2 + x - 6} \, dx.
Step 1: Factor.
x2+x−6=(x+3)(x−2)x^2 + x - 6 = (x + 3)(x - 2)
Step 2: Set up the partial fractions.
4x+1(x+3)(x−2)=Ax+3+Bx−2\frac{4x + 1}{(x + 3)(x - 2)} = \frac{A}{x + 3} + \frac{B}{x - 2}
Step 3: Clear the denominators.
4x+1=A(x−2)+B(x+3)4x + 1 = A(x - 2) + B(x + 3)
Step 4: Solve for the constants.
Let x=−3x = -3:
4(−3)+1=A(−5)+04(-3) + 1 = A(-5) + 0−11=−5A⇒A=115-11 = -5A \quad \Rightarrow \quad A = \frac{11}{5}
Let x=2x = 2:
4(2)+1=0+B(5)4(2) + 1 = 0 + B(5)9=5B⇒B=959 = 5B \quad \Rightarrow \quad B = \frac{9}{5}
Step 5: Integrate.
∫4x+1x2+x−6 dx=∫(11/5x+3+9/5x−2)dx\int \frac{4x + 1}{x^2 + x - 6} \, dx = \int \left(\frac{11/5}{x + 3} + \frac{9/5}{x - 2}\right) dx=115ln⁡∣x+3∣+95ln⁡∣x−2∣+C= \frac{11}{5}\ln|x + 3| + \frac{9}{5}\ln|x - 2| + C

Example 4: A Definite Integral

Evaluate ∫352x2−1 dx\displaystyle\int_3^5 \frac{2}{x^2 - 1} \, dx.
Step 1: Factor.
x2−1=(x−1)(x+1)x^2 - 1 = (x - 1)(x + 1)
Steps 2 to 4: Set up the partial fractions, clear the denominators, and solve.
2(x−1)(x+1)=Ax−1+Bx+1⇒2=A(x+1)+B(x−1)\frac{2}{(x - 1)(x + 1)} = \frac{A}{x - 1} + \frac{B}{x + 1} \quad \Rightarrow \quad 2 = A(x + 1) + B(x - 1)
Let x=1x = 1: 2=2A2 = 2A, so A=1A = 1. Let x=−1x = -1: 2=−2B2 = -2B, so B=−1B = -1.
Step 5: Integrate and evaluate.
∫35(1x−1−1x+1)dx=[ln⁡∣x−1∣−ln⁡∣x+1∣]35\int_3^5 \left(\frac{1}{x - 1} - \frac{1}{x + 1}\right) dx = \Big[\ln|x - 1| - \ln|x + 1|\Big]_3^5=(ln⁡4−ln⁡6)−(ln⁡2−ln⁡4)=ln⁡23−ln⁡12=ln⁡43≈0.288= (\ln 4 - \ln 6) - (\ln 2 - \ln 4) = \ln\frac{2}{3} - \ln\frac{1}{2} = \ln\frac{4}{3} \approx 0.288
Check the interval first. The integrand has vertical asymptotes at x=1x = 1 and x=−1x = -1. Neither is in [3,5][3, 5], so this is an ordinary definite integral. If one of them were inside the interval, it would be an improper integral (Topic 6.13).

Why No U-Substitution?

When integrating terms like ∫1x−3 dx\displaystyle\int \frac{1}{x - 3} \, dx, notice that:
  • The derivative of (x−3)(x - 3) is just 11
  • There’s no coefficient and no chain rule involved, so no substitution is needed
  • The antiderivative is simply ln⁡∣x−3∣+C\ln|x - 3| + C
This applies to all the linear factors in partial fractions.

Logarithm Properties Review

When simplifying answers, remember these:
ln⁡(a)+ln⁡(b)=ln⁡(ab)\ln(a) + \ln(b) = \ln(ab)ln⁡(a)−ln⁡(b)=ln⁡(ab)\ln(a) - \ln(b) = \ln\left(\frac{a}{b}\right)kln⁡(a)=ln⁡(ak)k\ln(a) = \ln(a^k)

Example Simplification

2ln⁡∣x∣−3ln⁡∣x+1∣2\ln|x| - 3\ln|x + 1|
can be rewritten as
ln⁡∣x2∣−ln⁡∣x+1∣3=ln⁡∣x2(x+1)3∣\ln|x^2| - \ln|x + 1|^3 = \ln\left|\frac{x^2}{(x + 1)^3}\right|
Some AP exam problems require this kind of simplification.

Common Mistakes to Avoid

Mistake 1: Forgetting Absolute Values

Always use absolute values inside logarithms:
∫1x−5 dx=ln⁡∣x−5∣+C\int \frac{1}{x - 5} \, dx = \ln|x - 5| + C
not ln⁡(x−5)+C\ln(x - 5) + C.

Mistake 2: Multiplying Fractions Instead of Adding

Partial fractions are added, not multiplied:
1(x−1)(x+2)=Ax−1+Bx+2\frac{1}{(x-1)(x+2)} = \frac{A}{x-1} + \frac{B}{x+2}

Mistake 3: Not Fully Factoring

Always factor completely before setting up the partial fractions.

Strategy Summary

  1. Check if it’s proper: the numerator’s degree has to be less than the denominator’s
  1. Factor completely: break the denominator into all its linear factors
  1. Set up the fractions: one fraction for each factor
  1. Clear the denominators: multiply through by the full denominator
  1. Substitute strategically: pick xx-values that eliminate variables
  1. Integrate term by term: each term becomes a natural log
  1. Simplify if needed using log properties

Key Takeaways

  • Partial fractions break complicated rational functions into simpler pieces for integration
  • Proper rational functions: the numerator’s degree has to be less than the denominator’s
  • Each linear factor becomes its own fraction, Ax−r\frac{A}{x - r}
  • Clear the denominators by multiplying both sides by the factored form of Q(x)Q(x)
  • Substitute strategically. Pick xx-values that make terms vanish so you can solve for the constants
  • The result: each term integrates to ln⁡∣x−r∣\ln|x - r|, with no u-substitution needed
  • Simplify with log properties: ln⁡(a)±ln⁡(b)=ln⁡(ab)\ln(a) \pm \ln(b) = \ln(ab) or ln⁡(ab)\ln\left(\frac{a}{b}\right)
  • BC scope: only non-repeating linear factors

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.