Skip to content
🎯⭐ INTERACTIVE LESSON

Partial Fractions

Learn step-by-step with interactive practice!

Partial Fractions - Complete Interactive Lesson

Part 1: The Concept

Partial Fraction Decomposition

Part 1 of 7 — The Concept & Distinct Linear Factors

Partial fractions is a technique for integrating rational functions (polynomial ÷ polynomial). The idea: break a complex fraction into simpler pieces that are easy to integrate.

PartTopic
1Distinct Linear Factors
2Cover-Up, Definite Integrals, and Log Answers
3Choosing the Right Tool for Rational Integrands
4Integration with Partial Fractions
5Long Division First
6Problem-Solving Workshop
7Comprehensive Review

When to Use Partial Fractions

Use partial fractions when:

  • The integrand is a proper rational function (degree of numerator < degree of denominator)
  • The denominator can be factored
  • u-substitution doesn’t work directly

Prerequisite: Factor the Denominator

On the AP exam, the denominator factors into distinct linear factors such as (x−1)(x+2)(x - 1)(x + 2) or x(x−3)(x+3)x(x - 3)(x + 3). Each factor gets one constant.

Key Fact: AP Calculus BC tests partial fractions only with linear, nonrepeating factors (CED FUN-6.F.1). Repeated factors such as (x−1)2(x-1)^2 and quadratic factors that do not factor, such as x2+1x^2 + 1, are not tested. The decomposition setup is the hardest part — once you have the pieces, integration is straightforward.

Case 1: Distinct Linear Factors

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

Worked Example: ∫1x2−1 dx\int \frac{1}{x^2 - 1}\,dx

StepWork
Factor denominatorx2−1=(x−1)(x+1)x^2-1 = (x-1)(x+1)
Set up decomposition1(x−1)(x+1)=Ax−1+Bx+1\frac{1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}
Multiply through1=A(x+1)+B(x−1)1 = A(x+1) + B(x-1)
Plug in x=1x = 11=2A⇒A=121 = 2A \Rightarrow A = \frac{1}{2}
Plug in x=−1x = -11=−2B⇒B=−121 = -2B \Rightarrow B = -\frac{1}{2}
Integrate12ln⁡∣x−1∣−12ln⁡∣x+1∣+C\frac{1}{2}\ln\lvert x-1\rvert - \frac{1}{2}\ln\lvert x+1\rvert + C

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

Three Distinct Linear Factors

Example: x+7(x+1)(x−1)(x+3)\frac{x+7}{(x+1)(x-1)(x+3)}

Decompose: Ax+1+Bx−1+Cx+3\frac{A}{x+1} + \frac{B}{x-1} + \frac{C}{x+3}

Multiply through: x+7=A(x−1)(x+3)+B(x+1)(x+3)+C(x+1)(x−1)x + 7 = A(x-1)(x+3) + B(x+1)(x+3) + C(x+1)(x-1)

SubstitutionEquationResult
x=1x = 18=B(2)(4)=8B8 = B(2)(4) = 8BB=1B = 1
x=−1x = -16=A(−2)(2)=−4A6 = A(-2)(2) = -4AA=−32A = -\frac{3}{2}
x=−3x = -34=C(−2)(−4)=8C4 = C(-2)(-4) = 8CC=12C = \frac{1}{2}

AP Tip: The “cover-up” method (Heaviside) is fastest: to find AA, cover (x+1)(x+1) in the original fraction and evaluate at x=−1x = -1.

Decomposition Practice

Setting Up Decompositions

Cover-Up Computation

Key Takeaways — Part 1

ConceptDetails
When to useProper rational function with factorable denominator
Distinct linear factorsOne constant per factor: Ax−a+Bx−b\frac{A}{x-a} + \frac{B}{x-b}
Finding constantsPlug in roots (cover-up/Heaviside method)
IntegrationEach Ax−a\frac{A}{x-a} integrates to Aln⁡∣x−a∣+CA\ln\lvert x-a\rvert + C

Coming Up: Part 2 sharpens the cover-up method and evaluates definite integrals with logarithm answers.

Part 2: Cover-Up, Definite Integrals, and Log Answers

Partial Fraction Decomposition

Part 2 of 7 — Cover-Up, Definite Integrals, and Log Answers

Factor Completely First

The cover-up method needs every factor of the denominator to be linear and distinct, so factor all the way:

DenominatorFactored
x2−9x^2 - 9(x−3)(x+3)(x - 3)(x + 3)
x2+x−6x^2 + x - 6(x+3)(x−2)(x + 3)(x - 2)
x3−4xx^3 - 4xx(x−2)(x+2)x(x - 2)(x + 2)

Why Cover-Up Works

Start from P(x)(x−a)(x−b)=Ax−a+Bx−b\frac{P(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b} and multiply both sides by (x−a)(x - a):

P(x)x−b=A+B(x−a)x−b\frac{P(x)}{x-b} = A + \frac{B(x-a)}{x-b}

At x=ax = a the last term is 00, so A=P(a)a−bA = \frac{P(a)}{a - b}: "cover up" (x−a)(x - a) and evaluate what is left at x=ax = a.

Worked Example with Three Factors

2x2+3x(x−1)(x+3)=Ax+Bx−1+Cx+3\frac{2x^2 + 3}{x(x-1)(x+3)} = \frac{A}{x} + \frac{B}{x-1} + \frac{C}{x+3}

CoverEvaluate atResult
xxx=0x = 0A=3(−1)(3)=−1A = \frac{3}{(-1)(3)} = -1
x−1x - 1x=1x = 1B=5(1)(4)=54B = \frac{5}{(1)(4)} = \frac{5}{4}
x+3x + 3x=−3x = -3C=21(−3)(−4)=74C = \frac{21}{(-3)(-4)} = \frac{7}{4}

Quick check: recombining gives an x2x^2 coefficient of A+B+C=−1+54+74=2A + B + C = -1 + \frac{5}{4} + \frac{7}{4} = 2, which matches the numerator 2x2+32x^2 + 3.

Cover-Up Practice

Definite Integrals and Log Answers

Example: ∫235(x−1)(x+4) dx\int_2^3 \frac{5}{(x-1)(x+4)}\,dx

StepWork
Cover-upA=51+4=1A = \frac{5}{1 + 4} = 1, B=5−4−1=−1B = \frac{5}{-4 - 1} = -1
Antiderivativeln⁡∣x−1∣−ln⁡∣x+4∣=ln⁡∣x−1x+4∣\ln\lvert x - 1\rvert - \ln\lvert x + 4\rvert = \ln\left\lvert \frac{x-1}{x+4} \right\rvert
Evaluateln⁡27−ln⁡16\ln\frac{2}{7} - \ln\frac{1}{6}
Combineln⁡2/71/6=ln⁡127\ln\frac{2/7}{1/6} = \ln\frac{12}{7}

Every form above (ln⁡2−ln⁡7+ln⁡6\ln 2 - \ln 7 + \ln 6, ln⁡127\ln\frac{12}{7}, ...) is the same number. AP scoring guidelines state that answers need not be simplified, but combining logs makes it easier to match multiple-choice options.

Key Fact: The interval of integration must not contain a root of the denominator. Here x=1x = 1 and x=−4x = -4 lie outside [2,3][2, 3], so this is an ordinary definite integral. If a root were inside the interval, the integral would be improper.

Log Answers and Intervals

Evaluate the Integral

Key Takeaways — Part 2

ConceptDetails
Factor completelyPull out common factors, then use difference of squares
Cover-upA=P(a)other factors at x=aA = \frac{P(a)}{\text{other factors at } x = a}
CheckRecombined leading coefficient must match the numerator
Definite integralsEvaluate the logs, then combine with log rules
Interval checkNo root of the denominator inside [a,b][a, b]

Coming Up: Part 3 shows when a rational integrand needs partial fractions and when uu-substitution or an arctangent form is the better tool.

Part 3: Choosing the Right Tool

Partial Fraction Decomposition

Part 3 of 7 — Choosing the Right Tool for Rational Integrands

Not every rational function needs partial fractions. Before decomposing, check for a faster route.

What you seeTool
Numerator is a constant multiple of the denominator’s derivativeuu-substitution: ln⁡∣denominator∣\ln\lvert\text{denominator}\rvert
Constant over x2+a2x^2 + a^2Arctangent: 1aarctan⁡xa\frac{1}{a}\arctan\frac{x}{a}
Constant over a perfect square (x−a)2(x - a)^2Power rule: −1x−a-\frac{1}{x - a}
Denominator factors into distinct linear factorsPartial fractions
Degree of numerator ≥\ge degree of denominatorLong division first

Key Fact: On the AP exam, partial fractions is used only when the denominator factors into distinct linear factors (FUN-6.F.1). A quadratic like x2+9x^2 + 9 that does not factor leads to an arctangent or a uu-substitution, not to partial fractions.

Three Integrals, Three Tools

IntegralWhyResult
∫2xx2−9 dx\int \frac{2x}{x^2 - 9}\,dx2x2x is the derivative of x2−9x^2 - 9ln⁡∣x2−9∣+C\ln\lvert x^2 - 9\rvert + C
∫6x2−9 dx\int \frac{6}{x^2 - 9}\,dxConstant numerator; x2−9=(x−3)(x+3)x^2 - 9 = (x-3)(x+3)ln⁡∣x−3∣−ln⁡∣x+3∣+C\ln\lvert x - 3\rvert - \ln\lvert x + 3\rvert + C
∫6x2+9 dx\int \frac{6}{x^2 + 9}\,dxx2+9x^2 + 9 does not factor2arctan⁡x3+C2\arctan\frac{x}{3} + C

For the middle integral, cover-up gives A=63+3=1A = \frac{6}{3 + 3} = 1 and B=6−3−3=−1B = \frac{6}{-3 - 3} = -1.

AP Tip: Spend five seconds checking for f′(x)f(x)\frac{f'(x)}{f(x)} before you start a decomposition. On a no-calculator question it can save several steps.

Pick the Tool

Partial Fractions Inside an Improper Integral

∫2∞2x2−1 dx\int_2^{\infty} \frac{2}{x^2 - 1}\,dx

StepWork
Decompose2(x−1)(x+1)=1x−1−1x+1\frac{2}{(x-1)(x+1)} = \frac{1}{x-1} - \frac{1}{x+1}
Antiderivativeln⁡∣x−1x+1∣\ln\left\lvert \frac{x-1}{x+1} \right\rvert
Set up the limitlim⁡b→∞[ln⁡b−1b+1−ln⁡13]\lim_{b \to \infty} \left[\ln\frac{b-1}{b+1} - \ln\frac{1}{3}\right]
Evaluateln⁡1−ln⁡13=ln⁡3\ln 1 - \ln\frac{1}{3} = \ln 3

The integral converges to ln⁡3\ln 3. Combining the two logarithms first is what makes the limit easy: b−1b+1→1\frac{b-1}{b+1} \to 1, so its logarithm goes to 00.

Integration Technique

Improper Integral

Key Takeaways — Part 3

IntegrandFirst move
f′(x)f(x)\frac{f'(x)}{f(x)}uu-substitution
cx2+a2\frac{c}{x^2 + a^2}Arctangent
c(x−a)2\frac{c}{(x - a)^2}Power rule
Distinct linear factorsPartial fractions
Improper rational functionLong division first

Coming Up: Part 4 puts it all together — full integration with partial fractions from start to finish.

Part 4: Integration with Partial Fractions

Partial Fraction Decomposition

Part 4 of 7 — Integration with Partial Fractions

Now let’s put the decomposition and integration together in complete worked problems from start to finish.

Complete Workflow

StepAction
1Check: is it proper? (deg numerator < deg denominator)
2If improper, do long division first
3Factor the denominator completely
4Write the decomposition template
5Find the constants (AA, BB, CC, ...)
6Integrate each term separately

Key Fact: With distinct linear factors, each piece Ax−a\frac{A}{x-a} integrates to Aln⁡∣x−a∣A\ln|x-a|, so every answer is a sum of logarithms (plus any polynomial from long division).

Complete Example 1: ∫5x−3x2−x−6 dx\int \frac{5x-3}{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: Decompose: 5x−3(x−3)(x+2)=Ax−3+Bx+2\frac{5x-3}{(x-3)(x+2)} = \frac{A}{x-3} + \frac{B}{x+2}

Step 3: Find constants:

  • Cover-up at x=3x = 3: A=5(3)−33+2=125A = \frac{5(3)-3}{3+2} = \frac{12}{5}
  • Cover-up at x=−2x = -2: B=5(−2)−3−2−3=−13−5=135B = \frac{5(-2)-3}{-2-3} = \frac{-13}{-5} = \frac{13}{5}

Step 4: Integrate:

∫5x−3x2−x−6 dx=125ln⁡∣x−3∣+135ln⁡∣x+2∣+C\boxed{\int \frac{5x-3}{x^2-x-6}\,dx = \frac{12}{5}\ln|x-3| + \frac{13}{5}\ln|x+2| + C}

Complete Example 2: ∫1x2−4 dx\int \frac{1}{x^2-4}\,dx

Factor: x2−4=(x−2)(x+2)x^2 - 4 = (x-2)(x+2)

Decompose: 1(x−2)(x+2)=Ax−2+Bx+2\frac{1}{(x-2)(x+2)} = \frac{A}{x-2} + \frac{B}{x+2}

  • A=12−(−2)=14A = \frac{1}{2-(-2)} = \frac{1}{4}
  • B=1−2−2=−14B = \frac{1}{-2-2} = -\frac{1}{4}

∫1x2−4 dx=14ln⁡∣x−2x+2∣+C\boxed{\int \frac{1}{x^2-4}\,dx = \frac{1}{4}\ln\left|\frac{x-2}{x+2}\right| + C}

AP Tip: This result can also be written as 14ln⁡∣x−2∣−14ln⁡∣x+2∣+C\frac{1}{4}\ln|x-2| - \frac{1}{4}\ln|x+2| + C. Both forms are accepted on the exam.

Integration Practice

Strategy Selection

Definite Integral Computation

Key Takeaways — Part 4

Integration ResultFrom
Aln⁡∣x−a∣A\ln\lvert x-a\rvertAx−a\frac{A}{x-a}
Aln⁡∣x−a∣+Bln⁡∣x−b∣A\ln\lvert x-a\rvert + B\ln\lvert x-b\rvertAx−a+Bx−b\frac{A}{x-a} + \frac{B}{x-b}
ln⁡∣x−ax−b∣\ln\left\lvert\frac{x-a}{x-b}\right\rvert1x−a−1x−b\frac{1}{x-a} - \frac{1}{x-b} (combined)
Quotient ++ logsImproper fraction after long division

Coming Up: Part 5 covers what to do when the fraction is improper — long division before decomposition.

Part 5: Long Division First

Partial Fraction Decomposition

Part 5 of 7 — Long Division First (Improper Fractions)

Partial fractions only works on proper rational functions (degree of numerator < degree of denominator). When the fraction is improper, you must do polynomial long division first.

Proper vs. Improper

FractionProper?Action
3x+1x2−4\frac{3x+1}{x^2-4}Yes (deg 1 < deg 2)Decompose directly
x2+1x2−4\frac{x^2+1}{x^2-4}No (deg 2 = deg 2)Long division first
x3x2−4\frac{x^3}{x^2-4}No (deg 3 > deg 2)Long division first

Key Fact: If deg(numerator) ≥\geq deg(denominator), divide first. The result is: quotient + remainderdenominator\frac{\text{remainder}}{\text{denominator}}, where the remainder fraction IS proper.

Worked Example: ∫x3+2x2−1 dx\int \frac{x^3+2}{x^2-1}\,dx

Step 1: Long division

x3+2÷(x2−1)=x+x+2x2−1x^3 + 2 \div (x^2 - 1) = x + \frac{x+2}{x^2-1}

Check: x(x2−1)+(x+2)=x3−x+x+2=x3+2x(x^2-1) + (x+2) = x^3 - x + x + 2 = x^3 + 2 ✔

Step 2: Decompose the remainder: x+2(x−1)(x+1)\frac{x+2}{(x-1)(x+1)}

  • A=1+21+1=32A = \frac{1+2}{1+1} = \frac{3}{2}, B=−1+2−1−1=−12B = \frac{-1+2}{-1-1} = -\frac{1}{2}

Step 3: Integrate

∫(x+3/2x−1−1/2x+1)dx\int \left(x + \frac{3/2}{x-1} - \frac{1/2}{x+1}\right)dx

=x22+32ln⁡∣x−1∣−12ln⁡∣x+1∣+C\boxed{= \frac{x^2}{2} + \frac{3}{2}\ln|x-1| - \frac{1}{2}\ln|x+1| + C}

Improper Fractions Practice

Decision Making

Long Division Practice

Key Takeaways — Part 5

ConceptDetails
When to dividedeg(numerator) ≥\geq deg(denominator)
Result formatquotient ++ remainderdenominator\frac{\text{remainder}}{\text{denominator}}
Then whatApply partial fractions to the proper remainder
Common quotientsOften just a polynomial like x+1x + 1 or x2−3x^2 - 3

AP Tip: The AP exam loves to test whether students remember to check for improper fractions. Always compare degrees before starting!

Coming Up: Part 6 is a mixed practice workshop combining all techniques.

Part 6: Practice Workshop

Partial Fraction Decomposition

Part 6 of 7 — Problem-Solving Workshop

Mixed practice combining all partial fraction techniques. For each problem, decide: Is it proper? What type of factors? Then decompose and integrate.

Decision Guide

QuestionIf Yes...
Is deg(num) ≥\geq deg(den)?Long division first
All distinct linear factors?Ax−a+Bx−b+…\frac{A}{x-a} + \frac{B}{x-b} + \ldots
Numerator a multiple of the denominator’s derivative?uu-substitution instead
Quadratic denominator that does not factor?Arctangent (complete the square if needed)

Workshop Round 1

Workshop Round 2

Technique Identification

Workshop Challenge

Key Takeaways — Part 6

Common MistakeHow to Avoid
Forgetting long divisionAlways check degrees first
Decomposing when uu-sub worksCheck for f′(x)f(x)\frac{f'(x)}{f(x)} first
Sign errors in cover-upDouble-check by plugging back in
Missing absolute valuesln⁡∣x−a∣\ln\lvert x-a\rvert, not ln⁡(x−a)\ln(x-a)

Coming Up: Part 7 is the comprehensive review and assessment covering all partial fraction techniques.

Part 7: Final Assessment

Partial Fraction Decomposition — Review

Part 7 of 7 — Comprehensive Review & Assessment

Complete Reference

Denominator TypeDecomposition FormIntegration Result
(x−a)(x−b)(x-a)(x-b) distinct linearAx−a+Bx−b\frac{A}{x-a} + \frac{B}{x-b}Aln⁡∣x−a∣+Bln⁡∣x−b∣A\ln\lvert x-a\rvert + B\ln\lvert x-b\rvert
Improper fractionQuotient ++ proper remainderPolynomial ++ logs
x2+a2x^2+a^2 (does not factor)No decomposition1aarctan⁡xa\frac{1}{a}\arctan\frac{x}{a}

Assessment — Conceptual

Assessment — Computational

Method Selection Review

Final Computation

Partial Fractions — Complete! ✅

You’ve mastered:

  1. ✔ Distinct linear factor decomposition
  2. ✔ Cover-up checks and definite integrals with log answers
  3. ✔ Choosing between partial fractions, uu-substitution, and arctangent
  4. ✔ Full integration workflow
  5. ✔ Long division for improper fractions
  6. ✔ Cover-up (Heaviside) method

AP Exam Frequency

PF TopicOn the AP BC exam?
Distinct linear factorsYes (FUN-6.F.1)
Improper fraction (division first)Yes: divide, then decompose
Repeated or non-factoring quadratic factorsNo

Key Fact: Partial fractions is a BC-only integration technique (Topic 6.12). Together with integration by parts and improper integrals, it completes the AP BC integration toolkit.