Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Partial fraction decomposition

Splitting a rational function into a sum of simpler fractions, each easy to integrate on its own.

Partial fraction decomposition rewrites a rational function \frac{P(x)}{Q(x)} (with Q factored) as a SUM of simpler fractions — one term per distinct linear factor \frac{A}{x-p}, one term per power of a repeated linear factor \frac{A}{x-p}+\frac{B}{(x-p)^2}+\cdots, and one term per irreducible quadratic factor \frac{Ax+B}{x^2+c} — each of which integrates directly to a log or an inverse-trig function.

Examples

  • \dfrac{1}{(x-1)(x+2)}=\dfrac{A}{x-1}+\dfrac{B}{x+2}, solved for A,B by clearing denominators and matching coefficients (or the cover-up method).

Read the full section →
Graph settings

Calculator