A rational function with a factorable denominator splits into a sum of simple fractions, and each of those integrates to a logarithm, a power or an arctangent.
| Step | On | |
|---|---|---|
| 1 | Compare degrees; divide if the top is not smaller. Partial fractions needs a proper fraction. Otherwise divide and decompose only the remainder. | degree : proper, no division |
| 2 | Factor the denominator completely. Into linear factors and irreducible quadratics. | |
| 3 | Write the template, one term per factor. Linear factor: . Repeated factor : . Irreducible quadratic: . | |
| 4 | Clear the denominators and find the constants. Multiply through by the full denominator, then plug in the roots or compare coefficients. | : , |
| 5 | Integrate each piece. gives (reciprocal antiderivative); powers give powers; a constant over gives an arctangent.Exponential and reciprocal antiderivatives ↗ |