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
2Repeated Linear Factors
3Irreducible Quadratic Factors
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

Every polynomial with real coefficients factors into:

  • Linear factors: (x−a)(x - a)
  • Irreducible quadratic factors: (x2+bx+c)(x^2 + bx + c) where b2−4c<0b^2 - 4c < 0

Key Fact: AP Calculus BC only tests partial fractions with linear factors and non-repeating irreducible quadratics. 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}
Integrate$\frac{1}{2}\ln

∫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 $A\ln

Coming Up: Part 2 handles repeated linear factors like (x−a)2(x-a)^2 or (x−a)3(x-a)^3.

Part 2: Repeated Linear Factors

Partial Fraction Decomposition

Part 2 of 7 — Repeated Linear Factors

When the denominator has a factor like (x−a)n(x-a)^n, you need nn separate terms with increasing powers in the denominator.

Setup for Repeated Factors

P(x)(x−a)n=A1x−a+A2(x−a)2+⋯+An(x−a)n\frac{P(x)}{(x-a)^n} = \frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \cdots + \frac{A_n}{(x-a)^n}

Example: 3x+5(x+1)2\frac{3x+5}{(x+1)^2}

3x+5(x+1)2=Ax+1+B(x+1)2\frac{3x+5}{(x+1)^2} = \frac{A}{x+1} + \frac{B}{(x+1)^2}

Multiply through: 3x+5=A(x+1)+B3x + 5 = A(x+1) + B

MethodStepResult
Plug in x=−1x = -1−3+5=B-3+5 = BB=2B = 2
Compare xx-coefficients3=A3 = AA=3A = 3

3x+5(x+1)2=3x+1+2(x+1)2\frac{3x+5}{(x+1)^2} = \frac{3}{x+1} + \frac{2}{(x+1)^2}

Integration

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

Key Fact: ∫A(x−a)n dx=A(1−n)(x−a)n−1+C\int \frac{A}{(x-a)^n}\,dx = \frac{A}{(1-n)(x-a)^{n-1}} + C for n≥2n \geq 2.

Mixed: Distinct + Repeated Factors

Example: x2(x−1)(x+2)2\frac{x^2}{(x-1)(x+2)^2}

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

x2=A(x+2)2+B(x−1)(x+2)+C(x−1)x^2 = A(x+2)^2 + B(x-1)(x+2) + C(x-1)

SubstitutionEquationResult
x=1x = 11=A(9)1 = A(9)A=19A = \frac{1}{9}
x=−2x = -24=C(−3)4 = C(-3)C=−43C = -\frac{4}{3}
x=0x = 00=4A−2B−C=49−2B+430 = 4A - 2B - C = \frac{4}{9} - 2B + \frac{4}{3}B=89B = \frac{8}{9}

x2(x−1)(x+2)2=1/9x−1+8/9x+2−4/3(x+2)2\boxed{\frac{x^2}{(x-1)(x+2)^2} = \frac{1/9}{x-1} + \frac{8/9}{x+2} - \frac{4/3}{(x+2)^2}}

Repeated Factors Practice

Decomposition Setup

Finding Constants

Key Takeaways — Part 2

ConceptDetails
Repeated factor (x−a)n(x-a)^nNeeds nn terms: A1x−a+⋯+An(x−a)n\frac{A_1}{x-a} + \cdots + \frac{A_n}{(x-a)^n}
Integration∫A(x−a)n dx=A(1−n)(x−a)n−1+C\int \frac{A}{(x-a)^n}\,dx = \frac{A}{(1-n)(x-a)^{n-1}} + C for n≥2n \geq 2
Mixed problemsCombine distinct + repeated factor rules
Finding constantsSubstitution at roots + coefficient comparison

Coming Up: Part 3 covers irreducible quadratic factors — denominators like x2+1x^2 + 1 that can’t be factored further.

Part 3: Integration Practice

Partial Fraction Decomposition

Part 3 of 7 — Irreducible Quadratic Factors

When the denominator contains a quadratic that can’t be factored over the reals (discriminant < 0), the numerator in that partial fraction must be LINEAR, not constant.

Setup Rule

For an irreducible quadratic factor (ax2+bx+c)(ax^2 + bx + c):

P(x)(x−r)(ax2+bx+c)=Ax−r+Bx+Cax2+bx+c\frac{P(x)}{(x - r)(ax^2 + bx + c)} = \frac{A}{x - r} + \frac{Bx + C}{ax^2 + bx + c}

The numerator over the quadratic is Bx+CBx + C (not just a constant BB).

Why Linear Numerator?

A quadratic factor has degree 2, so its partial fraction numerator must have degree at most 1 (one less than the factor’s degree). This ensures enough unknowns for a unique decomposition.

Key Fact: “Irreducible” means b2−4ac<0b^2 - 4ac < 0. Examples: x2+1x^2 + 1, x2+4x^2 + 4, x2+x+1x^2 + x + 1.

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

Step 1: Decompose x+2(x−1)(x2+1)=Ax−1+Bx+Cx2+1\frac{x+2}{(x-1)(x^2+1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}

Step 2: Multiply through: x+2=A(x2+1)+(Bx+C)(x−1)x+2 = A(x^2+1) + (Bx+C)(x-1)

MethodResult
x=1x = 1: 3=2A3 = 2AA=32A = \frac{3}{2}
x=0x = 0: 2=A−C=32−C2 = A - C = \frac{3}{2} - CC=−12C = -\frac{1}{2}
xx-coefficients: 0=A+B−C0 = A + B - C... wait, compare x2x^2: 0=A+B0 = A + BB=−32B = -\frac{3}{2}

Step 3: Integrate each piece

∫3/2x−1 dx=32ln⁡∣x−1∣\int \frac{3/2}{x-1}\,dx = \frac{3}{2}\ln|x-1|

∫−32x−12x2+1 dx=−34ln⁡(x2+1)−12arctan⁡x\int \frac{-\frac{3}{2}x - \frac{1}{2}}{x^2+1}\,dx = -\frac{3}{4}\ln(x^2+1) - \frac{1}{2}\arctan x

32ln⁡∣x−1∣−34ln⁡(x2+1)−12arctan⁡x+C\boxed{\frac{3}{2}\ln|x-1| - \frac{3}{4}\ln(x^2+1) - \frac{1}{2}\arctan x + C}

Integrating Bx+Cx2+a2\frac{Bx + C}{x^2 + a^2}

Split into two integrals:

∫Bx+Cx2+a2 dx=B∫xx2+a2 dx+C∫1x2+a2 dx\int \frac{Bx + C}{x^2 + a^2}\,dx = B \int \frac{x}{x^2+a^2}\,dx + C\int \frac{1}{x^2+a^2}\,dx

IntegralResult
∫xx2+a2 dx\int \frac{x}{x^2+a^2}\,dx12ln⁡(x2+a2)+C\frac{1}{2}\ln(x^2+a^2) + C (u-sub)
∫1x2+a2 dx\int \frac{1}{x^2+a^2}\,dx1aarctan⁡xa+C\frac{1}{a}\arctan\frac{x}{a} + C

AP Tip: Always split the numerator into an xx-part (which gives logarithmic) and a constant part (which gives arctangent).

Irreducible Quadratic Practice

Integration Technique

Coefficient Finding

Key Takeaways — Part 3

ConceptDetails
Irreducible quadraticb2−4ac<0b^2 - 4ac < 0; needs Bx+Cax2+bx+c\frac{Bx+C}{ax^2+bx+c}
Integration splitSeparate BxBx part (log) from CC part (arctan)
Key formulas∫xx2+a2 dx=12ln⁡(x2+a2)\int \frac{x}{x^2+a^2}\,dx = \frac{1}{2}\ln(x^2+a^2)
∫1x2+a2 dx=1aarctan⁡xa\int \frac{1}{x^2+a^2}\,dx = \frac{1}{a}\arctan\frac{x}{a}

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

Part 4: Long Division First

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: Each integration produces either ln⁡∣linear∣\ln|\text{linear}|, constlinear power\frac{\text{const}}{\text{linear power}}, ln⁡(quadratic)\ln(\text{quadratic}), or arctan⁡\arctan.

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
$A\lnx-a
A(1−n)(x−a)n−1\frac{A}{(1-n)(x-a)^{n-1}}A(x−a)n\frac{A}{(x-a)^n}, n≥2n \geq 2
B2ln⁡(x2+a2)\frac{B}{2}\ln(x^2+a^2)Bxx2+a2\frac{Bx}{x^2+a^2}
Caarctan⁡xa\frac{C}{a}\arctan\frac{x}{a}Cx2+a2\frac{C}{x^2+a^2}

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

Part 5: Logistic DE Connection

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
Repeated linear factor (x−a)n(x-a)^n?Add terms through (x−a)n(x-a)^n
Irreducible quadratic ax2+bx+cax^2+bx+c?Use Bx+Cax2+bx+c\frac{Bx+C}{ax^2+bx+c}

Workshop Round 1

Workshop Round 2

Technique Identification

Workshop Challenge

Key Takeaways — Part 6

Common MistakeHow to Avoid
Forgetting long divisionAlways check degrees first
Wrong decomposition formRepeated: need all powers; quadratic: need Bx+CBx+C
Sign errors in cover-upDouble-check by plugging back in
Missing absolute values$\ln

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-a) distinctAx−a\frac{A}{x-a}$A\ln
(x−a)n(x-a)^n repeatedA1x−a+⋯+An(x−a)n\frac{A_1}{x-a} + \cdots + \frac{A_n}{(x-a)^n}log + power terms
x2+a2x^2+a^2 irreducibleBx+Cx2+a2\frac{Bx+C}{x^2+a^2}B2ln⁡(x2+a2)+Caarctan⁡xa\frac{B}{2}\ln(x^2+a^2) + \frac{C}{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. ✔ Repeated linear factors
  3. ✔ Irreducible quadratic factors
  4. ✔ Full integration workflow
  5. ✔ Long division for improper fractions
  6. ✔ Cover-up (Heaviside) method

AP Exam Frequency

PF TopicLikelihood on AP BC
Simple distinct linearVery common (MC + FRQ)
Repeated factorsOccasional
Irreducible quadraticLess common but tested
Improper fraction (division first)Common trap question

Key Fact: Partial fractions is one of the BC-only integration techniques. Combined with IBP and trig substitution, it’s essential for the full AP BC integration toolkit.