Partial fractions: decompose before integrating

Turn a proper rational function into simpler fractions whose antiderivatives are logarithmic or inverse-trigonometric.

LaTeX article Updated July 11, 2026

p(x)q(x)= simpler rational terms\frac{p(x)}{q(x)}=\sum\text{ simpler rational terms}

The denominator determines the template

Distinct linear factors receive constants over each factor. Repeated linear factors require every power through the repetition. Irreducible quadratic factors receive linear numerators.

The template is structural; missing a repeated term makes the coefficient system impossible or misleading.

Solve coefficients efficiently

After multiplying through by the common denominator, strategic substitutions can isolate coefficients for distinct linear factors. Coefficient comparison handles the remaining terms systematically.

Check the decomposition by recombining before integrating.

Recognize the final antiderivatives

Linear denominators produce logarithms. Repeated powers use the power rule after substitution. Irreducible quadratics may require completing the square and an arctangent form.

Worked example

Common mistakes

  • Skipping long division when the numerator degree is too large.
  • Forgetting intermediate powers for repeated factors.
  • Using a constant numerator over an irreducible quadratic.

Keep these ideas

  • Proper fraction first, full factorization second.
  • The factor type determines each numerator.
  • Verify the algebra before integrating.
Vocab
Indefinite integral
Math glossaryIndefinite integral
f(x)dx=F(x)+C\int f(x)\,dx=F(x)+C

The family of all antiderivatives of an integrand.

Learn more
Antiderivative
Math glossaryAntiderivative
F(x)=f(x)F'(x)=f(x)

A function whose derivative equals a given function.

Learn more
u-substitution
Math glossaryu-substitution
u=g(x),du=g(x)dxu=g(x),\quad du=g'(x)\,dx

Reverses the chain rule by changing the integration variable.

Learn more
Integration by parts
Math glossaryIntegration by parts
udv=uvvdu\int u\,dv=uv-\int v\,du

Reverses the product rule for integration.

Learn more
Partial fractions
Math glossaryPartial fractions
p(x)q(x)=axr\frac{p(x)}{q(x)}=\sum\frac{a}{x-r}

Decomposes a proper rational function into simpler rational terms.

Learn more
Math glossary