Find a course

Module 2: Integration TechniquesLesson 7 of 1215 min

Partial Fractions and Choosing a Strategy

Break rational functions into partial fractions, handle repeated and quadratic factors, and use a checklist to pick the right technique fast.

Step 1 of 14Learn

Splitting a fraction into simpler pieces

In algebra you learned to add fractions: 1/(x − 1) − 1/(x + 1) = 2/(x² − 1). Partial fractions runs that process backward, splitting one hard fraction into several easy ones.

Take ∫ 1/(x² − 1) dx. Factor the denominator: (x − 1)(x + 1). Look for constants A and B with

1/((x − 1)(x + 1)) = A/(x − 1) + B/(x + 1).

Multiply both sides by (x − 1)(x + 1): 1 = A(x + 1) + B(x − 1). This must hold for every x, so choose convenient values.

  • x = 1: 1 = 2A, so A = 1/2.
  • x = −1: 1 = −2B, so B = −1/2.

That shortcut, plugging in the roots of each factor, is often called the cover-up method: to find A, cover the factor (x − 1) in the original fraction and evaluate what's left at x = 1.

Now integrate each piece; each is a logarithm:

∫ 1/(x² − 1) dx = (1/2) ln|x − 1| − (1/2) ln|x + 1| + C = (1/2) ln|(x − 1)/(x + 1)| + C.

Partial fractions appears all over applied math: in logistic growth models, chemical reaction rates, and the Laplace transforms engineers use for circuits and control systems.

Step 2 of 14Diagram

Partial fractions in five moves

Worked on ∫ 1/(x² − 1) dx.

Partial fractions in five movesProcess diagram: Factor the denominator → Set up the pieces → Solve for A and B → Integrate each piece → Combine and add C.Factor thedenominatorSet up the piecesSolve for A and BIntegrate each pieceCombine and add C

Tap a shape with to see more.

Factor the denominator

x² − 1 = (x − 1)(x + 1).

Set up the pieces

1/((x − 1)(x + 1)) = A/(x − 1) + B/(x + 1).

Solve for A and B

Cover-up: A = 1/2 (at x = 1), B = −1/2 (at x = −1).

Integrate each piece

½ ln|x − 1| − ½ ln|x + 1|.

Combine and add C

½ ln|(x − 1)/(x + 1)| + C.

Step 3 of 14Practice · Work it out

Write (3x + 11)/((x − 3)(x + 2)) as A/(x − 3) + B/(x + 2). What is A?

Step 4 of 14Learn

The four cases

How you set up the decomposition depends on the denominator's factors. First, though, check the degrees.

Step 0: improper fractions. If the numerator's degree is at least the denominator's, do polynomial long division first. For example, (x² + 1)/(x − 1) = x + 1 + 2/(x − 1). Only the leftover proper fraction gets decomposed.

Case 1: distinct linear factors. Each factor (x − a) gets one term A/(x − a).

Case 2: repeated linear factors. A factor (x − a)ᵏ gets k terms: A₁/(x − a) + A₂/(x − a)² + … + Aₖ/(x − a)ᵏ. For 1/(x(x − 1)²), write A/x + B/(x − 1) + C/(x − 1)². The higher powers integrate with the power rule rather than to logs: ∫ dx/(x − 1)² = −1/(x − 1) + C.

Case 3: irreducible quadratic factors. A quadratic that won't factor over the reals, like x² + 4, gets a numerator of the form (Bx + C)/(x² + 4). Its integral splits into a log part and an arctangent part: ∫ (Bx + C)/(x² + 4) dx = (B/2) ln(x² + 4) + (C/2) arctan(x/2) + K.

The cover-up method finds the constants over distinct linear factors. For repeated or quadratic factors, expand everything, match coefficients of each power of x, and solve the small linear system. A solid habit is to recombine your fractions at the end, or test one random x-value, to confirm the decomposition.

Step 5 of 14Practice · Diagram

Decomposition forms by denominator

Step 0 for every case: if the numerator's degree is at least the denominator's, divide first.

Which case needs a linear numerator Ax + B over a single factor?

Tap the shape that answers the question, then press Check.

Decomposition forms by denominatorHierarchy diagram: Factors of the denominator, Distinct linear, Repeated linear, Irreducible quadratic, Repeated quadratic.Factors of thedenominatorDistinct linearRepeated linearIrreduciblequadraticRepeatedquadratic
Factors of the denominator
Distinct linear

(x − a)(x − b): A/(x − a) + B/(x − b).

Repeated linear

(x − a)²: A/(x − a) + B/(x − a)². One term per power.

Irreducible quadratic

(x² + 1): (Ax + B)/(x² + 1). Linear numerator over the quadratic.

Repeated quadratic

(x² + 1)²: (Ax + B)/(x² + 1) + (Cx + D)/(x² + 1)².

Step 6 of 14Practice · Match the pairs

Match each rational function with the correct form of its decomposition.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. 1/((x − 2)(x + 5))
  2. 1/(x(x − 1)²)
  3. 1/((x + 1)(x² + 4))
  4. (x³ + 2)/(x² − 4)

Step 7 of 14Learn

A worked definite integral

Let's evaluate ∫ from 2 to 3 of 1/(x² − x) dx from start to finish.

Factor: x² − x = x(x − 1).

Decompose: 1/(x(x − 1)) = A/x + B/(x − 1). Cover-up at x = 0 gives A = 1/(0 − 1) = −1. At x = 1, B = 1/1 = 1. So the integrand is 1/(x − 1) − 1/x.

Integrate: the antiderivative is ln|x − 1| − ln|x|.

Evaluate: at x = 3, ln 2 − ln 3. At x = 2, ln 1 − ln 2 = −ln 2. Subtract: (ln 2 − ln 3) − (−ln 2) = 2 ln 2 − ln 3 = ln(4/3) ≈ 0.288.

Notice the integrand is positive on [2, 3], so a positive answer is a good sign. Quick sanity checks like this catch sign errors: the function is between 1/6 and 1/2 on that interval, so the integral must be between 1/6 and 1/2.

The interval matters. Over [0, 2] this integral would be improper, because the denominator is zero at x = 0 and x = 1 and the logarithms blow up. Before applying FTC, always confirm the denominator is nonzero on the whole interval.

The same machinery solves the logistic equation for population growth, where separating variables produces ∫ dP/(P(K − P)), a partial-fractions integral whose answer gives the familiar S-shaped growth curve.

Step 8 of 14Practice · Work it out

Evaluate ∫ from 0 to 1 of 2/((x + 1)(x + 3)) dx. Round to three decimals.

Step 9 of 14Learn

A strategy for any integral

By now you have five methods. The hard part is choosing, so use a checklist like this one:

  1. Simplify first. Expand products, split fractions, use identities, cancel common factors. Many "hard" integrals become basic.
  2. Is it a basic form? Power, exponential, log, trig, inverse trig.
  3. Look for a function and its derivative. If they're both there (up to a constant), substitute.
  4. Product of unlike types? Integration by parts, with u chosen by LIATE.
  5. Powers of trig functions? Use identities: save a factor for odd powers, power-reduce for even powers.
  6. Square root of a² ± x² or x² − a²? Trig substitution, but first check for a quick u-substitution.
  7. Ratio of polynomials? Divide if improper, factor the denominator, use partial fractions.
  8. Still stuck? Try a different substitution, combine methods, or rewrite and start again.

Sometimes no method works because there is no elementary answer. Integrals such as ∫ e^(−x²) dx, ∫ sin(x²) dx and ∫ (sin x)/x dx have antiderivatives (by FTC Part 1, every continuous function does), but they can't be written with a finite combination of polynomials, roots, exponentials, logs and trig functions. Statisticians define the normal distribution's cumulative function using exactly such an integral. For these, numerical methods (Module 4) or series are the way forward.

Step 10 of 14Diagram

Choosing a technique: the checklist

Choosing a technique: the checklistProcess diagram: Simplify first → Basic rule? → Inner function + its derivative? → Product of unlike types? → Trig powers, roots or rational? → Still stuck?.Simplify firstBasic rule?Inner function + itsderivative?Product of unliketypes?Trig powers, rootsor rational?Still stuck?

Tap a shape with to see more.

Simplify first

Expand, split fractions, use identities, cancel.

Basic rule?

Power, exponential, trig, log forms.

Inner function + its derivative?

Then substitution.

Product of unlike types?

Then integration by parts (LIATE).

Trig powers, roots or rational?

Trig identities, trig substitution or partial fractions.

Still stuck?

Tables, computer algebra or numerical methods.

Step 11 of 14Practice · Sort into groups

Which technique fits each integral best?

Tap an item, then tap its group (or drag it there).

Step 12 of 14Note

Step 13 of 14Practice · Choose one

What should you do first with ∫ (x³ + x)/(x − 1) dx?

Step 14 of 14Practice · True or false

With the right clever substitution, ∫ e^(−x²) dx can be written in terms of elementary functions.