Fiveable

Calculus II Unit 3 Review

QR code for Calculus II practice questions

3.4 Partial Fractions

3.4 Partial Fractions

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
Calculus II
Unit & Topic Study Guides

Partial Fraction Decomposition

Partial fraction decomposition lets you break a complicated rational function into a sum of simpler fractions that you already know how to integrate. It's one of the most practical techniques in this course because many integrals you'll encounter have rational functions, and without this method, they'd be extremely difficult to handle.

The core idea: factor the denominator, set up a template of simpler fractions (one for each factor), then solve for the unknown constants.

When to Use Partial Fractions

Before decomposing, check two things:

  1. The integrand must be a proper rational function, meaning the degree of the numerator P(x)P(x) is strictly less than the degree of the denominator Q(x)Q(x).
  2. If it's improper (numerator degree ≥ denominator degree), perform polynomial long division first, then apply partial fractions to the remainder.

General Setup

For a proper rational function P(x)Q(x)\frac{P(x)}{Q(x)}, you factor Q(x)Q(x) completely, then write one partial fraction term for each factor. The form of each term depends on the type of factor (linear, repeated linear, or irreducible quadratic).

Once you've written the decomposition template, find the unknown constants by:

  1. Multiplying both sides by Q(x)Q(x) to clear denominators.
  2. Solving the resulting equation, either by substituting strategic values of xx or by equating coefficients of like powers of xx.
Partial fractions for integration, OpenAlgebra.com: Free Algebra Study Guide & Video Tutorials: Solving Rational Equations

Simple (Distinct) Linear Factors

When the denominator factors into distinct linear terms like (xa1)(xa2)(xan)(x - a_1)(x - a_2)\cdots(x - a_n), the decomposition looks like:

P(x)(xa1)(xa2)(xan)=A1xa1+A2xa2++Anxan\frac{P(x)}{(x-a_1)(x-a_2)\cdots(x-a_n)} = \frac{A_1}{x-a_1} + \frac{A_2}{x-a_2} + \cdots + \frac{A_n}{x-a_n}

Each constant AiA_i can be found quickly using the cover-up method: multiply both sides by (xai)(x - a_i) and then plug in x=aix = a_i. This zeroes out every other term, leaving just AiA_i.

Worked example: Integrate 2x+1x2x2dx\displaystyle\int \frac{2x+1}{x^2 - x - 2}\,dx.

  1. Factor the denominator: x2x2=(x2)(x+1)x^2 - x - 2 = (x-2)(x+1).

  2. Set up the decomposition: 2x+1(x2)(x+1)=Ax2+Bx+1\frac{2x+1}{(x-2)(x+1)} = \frac{A}{x-2} + \frac{B}{x+1}.

  3. Multiply both sides by (x2)(x+1)(x-2)(x+1): 2x+1=A(x+1)+B(x2)2x + 1 = A(x+1) + B(x-2).

  4. Substitute x=2x = 2: 5=3A5 = 3A, so A=53A = \frac{5}{3}.

  5. Substitute x=1x = -1: 1=3B-1 = -3B, so B=13B = \frac{1}{3}.

  6. Integrate: 5/3x2dx+1/3x+1dx=53lnx2+13lnx+1+C\int \frac{5/3}{x-2}\,dx + \int \frac{1/3}{x+1}\,dx = \frac{5}{3}\ln|x-2| + \frac{1}{3}\ln|x+1| + C.

Repeated Linear Factors

When a linear factor (xa)(x - a) appears with multiplicity nn, you need n separate terms with increasing powers in the denominator:

A1xa+A2(xa)2++An(xa)n\frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \cdots + \frac{A_n}{(x-a)^n}

To find the constants:

  1. Multiply both sides by (xa)n(x-a)^n.
  2. Plug in x=ax = a to find AnA_n directly.
  3. Find the remaining constants by either equating coefficients or taking successive derivatives of both sides and evaluating at x=ax = a.

Worked example: Decompose x+2(x1)3\frac{x+2}{(x-1)^3}.

  1. Template: Ax1+B(x1)2+C(x1)3\frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{(x-1)^3}.

  2. Multiply through by (x1)3(x-1)^3: x+2=A(x1)2+B(x1)+Cx + 2 = A(x-1)^2 + B(x-1) + C.

  3. Set x=1x = 1: 3=C3 = C.

  4. Expand the right side and equate coefficients to find AA and BB. Expanding: A(x22x+1)+B(x1)+3=Ax2+(2A+B)x+(AB+3)A(x^2 - 2x + 1) + B(x - 1) + 3 = Ax^2 + (-2A+B)x + (A - B + 3).

  5. Comparing to 0x2+1x+20\cdot x^2 + 1\cdot x + 2: A=0A = 0, 2(0)+B=1-2(0) + B = 1 so B=1B = 1, and you can verify the constant term: 01+3=20 - 1 + 3 = 2. ✓

The resulting integrals involve lnxa\ln|x-a| for the first term and power rule (rewritten as (xa)k(x-a)^{-k}) for the higher-power terms.

Partial fractions for integration, List of integrals of rational functions - Wikipedia, the free encyclopedia

Irreducible Quadratic Factors

A quadratic factor ax2+bx+cax^2 + bx + c is irreducible when its discriminant b24ac<0b^2 - 4ac < 0, meaning it has no real roots and can't be factored over the reals. For each such factor, the numerator of the partial fraction must be linear (not just a constant):

Ax+Bax2+bx+c\frac{Ax + B}{ax^2 + bx + c}

If the irreducible quadratic is repeated with multiplicity nn, you need nn terms:

A1x+B1ax2+bx+c+A2x+B2(ax2+bx+c)2++Anx+Bn(ax2+bx+c)n\frac{A_1x + B_1}{ax^2+bx+c} + \frac{A_2x + B_2}{(ax^2+bx+c)^2} + \cdots + \frac{A_nx + B_n}{(ax^2+bx+c)^n}

Find AA and BB by multiplying out and equating coefficients of like powers of xx.

Integrating these terms typically requires splitting the fraction:

  • A portion that looks like Axax2+bx+c\frac{Ax}{ax^2+bx+c} can often be handled with a uu-substitution (since the derivative of the denominator is in the numerator, or close to it).
  • A remaining constant portion like Bax2+bx+c\frac{B}{ax^2+bx+c} requires completing the square and produces an arctangent: 1aarctan(x+de)\frac{1}{a}\arctan\left(\frac{x+d}{e}\right).

Common mistake: Writing Ax2+4\frac{A}{x^2+4} instead of Ax+Bx2+4\frac{Ax+B}{x^2+4}. Irreducible quadratic factors always get a linear numerator. Missing this will give you an inconsistent system when you try to solve for the constants.

Watch out for "fake" quadratics: The example 2x+1x2+4x+3\frac{2x+1}{x^2+4x+3} does not have an irreducible quadratic denominator. Since x2+4x+3=(x+1)(x+3)x^2+4x+3 = (x+1)(x+3), this is actually a distinct linear factors case. Always try to factor first.

Putting It All Together: The Full Process

Here's the complete workflow for any partial fractions problem:

  1. Check degrees. If the numerator's degree ≥ the denominator's degree, do polynomial long division first.
  2. Factor the denominator completely into linear and irreducible quadratic factors.
  3. Write the decomposition template using the rules above (one term per distinct linear factor, nn terms per repeated linear factor of multiplicity nn, linear numerator for each quadratic factor).
  4. Clear the denominators by multiplying both sides by the full denominator.
  5. Solve for the constants using strategic substitution (plug in roots of the denominator) and/or equating coefficients.
  6. Integrate each term separately. Linear denominators give ln\ln; higher-power denominators give power-rule results; irreducible quadratics give ln\ln and/or arctan\arctan terms.