Linear Partial Fractions
Adding fractions combines them over a common denominator. Partial fractions runs that in reverse: a fraction with a factored denominator is split back into simpler fractions, each of which integrates to a logarithm.
The decomposition
To find the constants, multiply both sides by . The result, , is called the basic equation. Both sides are polynomials that agree everywhere except possibly at the two zeros, so they agree there too. Substituting the zero of makes the term 0 and gives , and the other zero gives .
A factor written with last, such as , has derivative . Its integral is .
Before decomposing
Two checks come first. If the numerator is a constant multiple of the derivative of the denominator, a substitution finishes the integral at once. And if the numerator's degree is at least the denominator's, divide first and decompose only the remainder over the divisor.