• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Calculus From Limits to Mastery

Calnzee

Think Calculus. Learn Calculus. Live Calculus

  • Home
  • Articles
  • Trending
  • Terms
    • Privacy
    • Disclaimer
  • Support
  • Subscribe
  • Contact
You are here: Home / Articles / Partial Fractions: Decomposing Rational Functions Before Integration

Partial Fractions: Decomposing Rational Functions Before Integration

August 19, 2026 by Splendid Leave a Comment

Mathematics often becomes easier when a complicated problem is divided into smaller, simpler parts.

A large number can be factored into smaller numbers.

A complex geometric figure can be divided into basic shapes.

A difficult computer program can be separated into individual functions.

Integral calculus follows the same principle.

Many rational functions appear impossible to integrate in their original form. However, if we first rewrite the expression as a collection of simpler fractions, integration becomes straightforward.

This technique is called partial fraction decomposition.

It is one of the most powerful methods in integral calculus.


What is a rational function?

A rational function is a fraction containing two polynomials.

Examples include:

\frac{x+1}{x^2+3x+2} \frac{2x+5}{x^2-4} \frac{x^2+1}{x^3-x}

Many rational functions can be integrated only after they have been rewritten in a different form.


The central idea

Suppose we want to evaluate:

\int\frac{1}{x^2-1},dx

At first glance, the denominator seems difficult.

However, notice that:

x^2-1=(x-1)(x+1)

The denominator can be factored into two linear factors.

Instead of working with one complicated fraction, we rewrite it as the sum of two simpler fractions:

\frac{1}{x^2-1}=\frac{A}{x-1}+\frac{B}{x+1}

The unknown constants A and B must be determined.


Finding the constants

Multiply both sides by latex[/latex]:

1=A(x+1)+B(x-1)

Expand both terms:

1=Ax+A+Bx-B

Collect like terms:

1=(A+B)x+(A-B)

Two equations emerge:

For the coefficient of x:

A+B=0

For the constant term:

A-B=1

Solving these equations gives:

A=\frac12 B=-\frac12

Therefore:

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

The original fraction has been decomposed into simpler pieces.


Integration becomes much easier

Substitute the decomposition into the integral:

\int\frac{1}{x^2-1},dx=\frac12\int\frac{1}{x-1},dx-\frac12\int\frac{1}{x+1},dx

Recall the fundamental logarithmic integral:

\int\frac{1}{x-a},dx=\ln|x-a|+C

Applying the formula gives:

=\frac12\ln|x-1|-\frac12\ln|x+1|+C

The problem that initially appeared difficult has become a simple application of logarithmic integration.


Example 2: Distinct linear factors

Evaluate:

\int\frac{3x+5}{(x+1)(x+2)},dx

First, decompose the fraction:

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

Multiply both sides by the denominator:

3x+5=A(x+2)+B(x+1)

Expand:

3x+5=Ax+2A+Bx+B

Collect terms:

3x+5=(A+B)x+(2A+B)

Equating coefficients:

A+B=3 2A+B=5

Subtracting the equations:

A=2

Therefore:

B=1

The decomposition becomes:

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

Integrating:

\int\frac{3x+5}{(x+1)(x+2)},dx=2\ln|x+1|+\ln|x+2|+C

Repeated factors

Sometimes a denominator contains repeated factors.

For example:

\frac{1}{(x-1)^2}

The decomposition becomes:

\frac{1}{(x-1)^2}=\frac{A}{x-1}+\frac{B}{(x-1)^2}

Notice that every power of the repeated factor must be included.

If the denominator contains:

latex^3[/latex]

The decomposition requires:

\frac{A}{x-1}+\frac{B}{(x-1)^2}+\frac{C}{(x-1)^3}

Irreducible quadratic factors

Some quadratic expressions cannot be factored.

For example:

x^2+1

Since it cannot be written as two real linear factors, the decomposition changes.

Instead of:

\frac{A}{x^2+1}

We use:

\frac{Ax+B}{x^2+1}

The numerator must be a polynomial with a degree one less than the denominator.


A general strategy for solving partial fraction problems

Whenever you encounter a rational function, follow these steps:

Step 1: Verify that the fraction is proper.

The degree of the numerator must be less than the degree of the denominator.

If not, perform polynomial division first.


Step 2: Factor the denominator.

Look for:

  • Linear factors.
  • Repeated factors.
  • Irreducible quadratic factors.

Step 3: Write the appropriate partial fraction decomposition.

Choose the correct form for each factor.


Step 4: Determine the unknown constants.

Multiply both sides by the denominator and compare coefficients.


Step 5: Integrate each fraction separately.

Most terms will reduce to familiar logarithmic or trigonometric integrals.


Real-world applications

Partial fractions are not merely classroom exercises.

They appear throughout science and engineering.

Electrical engineering

Electrical circuits often produce rational transfer functions.

Partial fractions simplify these expressions and help engineers analyze voltages, currents, and circuit responses.


Control systems

Control engineers use partial fractions when studying system stability.

Many solutions require the inverse Laplace transform, which depends heavily on partial fraction decomposition.


Probability and statistics

Probability density functions sometimes contain rational expressions.

Partial fractions simplify calculations involving cumulative distributions and expected values.


Differential equations

Many differential equations produce rational functions after variable separation.

Partial fractions make these equations easier to solve.


Why does this method work?

Partial fractions demonstrate an important mathematical principle:

Complex problems often become manageable when broken into smaller pieces.

Instead of forcing an integration technique onto a difficult expression, we transform the expression itself.

This idea extends beyond calculus.

Scientists decompose signals into frequencies.

Engineers divide systems into components.

Programmers separate software into modules.

Mathematicians separate fractions into simpler fractions.


Conclusion

Partial fraction decomposition is one of the most useful techniques in integral calculus.

It transforms complicated rational expressions into elementary integrals that can be solved with familiar methods.

The strategy is simple:

Factor first. Decompose second. Integrate third.

Or, in a shorter form:

“Divide first. Integrate second.”

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X

Like this:

Like Loading…

Filed Under: Articles, Integral Calculus

DavidsonNext: AP® Calculus: Challenging Concepts from Calculus AB & Calculus BC

DavidsonNext: AP® Calculus: Challenging Concepts from Calculus AB & Calculus BC

Reader Interactions

Leave a ReplyCancel reply

Primary Sidebar

Recent Posts

  • Understanding What t = 0 Means in Parametric Coordinates
  • From Cartesian Coordinates to Parametric and Polar Coordinates
  • Parametric Curves and Polar Coordinates: Moving Beyond Ordinary Coordinates
  • Calculus 1C: Coordinate Systems & Infinite Series — From Curves to Infinity
  • Differential Equations: The Next Great Chapter After Calculus

Archives

  • August 2026
  • June 2026

Categories

  • Articles
  • Coordinate Systems & Infinite Series
  • Differential Calculus
  • Early Transcendentals
  • Integral Calculus
Terms Display
tangent numerical integration inflection points improper integrals parametric coordinates power rule implicit differentiation quotient rule integration mean value theorem limits optimization natural logarithm logarithms profit is concave downward. What does this mean? Even if profits continue to rise smooth functions secant integration in economics polar coordinates integration by substitution
Person climbing a staircase. Learn Data Science from Scratch: online program with 21 courses

Footer

Calculus 1A: Differentiation

Calculus 1A: Differentiation by MITx

Calculus 1B: Integration

Calculus 1B: Integration by MITx

Calculus 1C: Coordinate Systems & Infinite Series

This website may use AI tools to assist in content creation. All articles are reviewed, edited, and fact-checked by our team before publishing. We may receive compensation for featuring sponsored products and services or when you click on links on this website. This compensation may influence the placement, presentation, and ranking of products. However, we do not cover all companies or every available product.

  • Home
  • Articles
  • Trending
  • Terms
  • Support
  • Subscribe
  • Contact
%d