Integration by partial fractions
Some fractions refuse to integrate directly no matter how hard you stare at them — is not the derivative of anything obvious, and no substitution simplifies it. Integration by partial fractions is the fix: split a rational function into a sum of simpler fractions — one per factor of the denominator — each of which integrates to a standard logarithm or an inverse-tangent form. This is one of the three core techniques in the Integrals chapter of CBSE Class 12 Mathematics, used whenever the integrand is a ratio of polynomials with no clean derivative-of-denominator relationship. The syllabus keeps to three factor patterns: distinct linear factors, repeated linear factors, and irreducible quadratic factors. Master the decomposition templates and two ways to pin down the unknown constants — substitution and coefficient comparison — and the integral itself becomes routine.
Split into a sum of simple fractions matching the factors of , then integrate each piece using the standard log and arctan forms.
The core idea
Proper vs improper. A rational function is proper when the degree of is less than the degree of . If it is improper (degree of degree of ), do polynomial long division first, writing it as a quotient polynomial plus a proper remainder fraction, and apply partial fractions only to that remainder.
Factor and template. Factor completely, then assign one partial-fraction term per factor, with constants to be found:
where: each linear factor contributes a single term ; a repeated linear factor contributes two terms, ; and an irreducible quadratic , one with no real roots, contributes a term with a linear numerator, , never a bare constant.
Finding the constants. Clear denominators by multiplying both sides by , then find either by substituting convenient -values (especially the roots of linear factors, which make every other term vanish) or by comparing coefficients of matching powers of . When an irreducible quadratic is present there is no real root to substitute, so coefficient comparison is the reliable route. Many problems combine both strategies: substitute at the roots of the linear factors first to knock out those constants quickly, then compare whatever coefficients remain to pin down the rest — this mixed approach is exactly what the competitive-stretch example below needs, since it has one linear factor and one irreducible quadratic factor together. Once split, each term integrates by a standard form: , , and a quadratic-denominator term is split further into a "derivative of denominator" piece (a logarithm) plus a piece matching (a standard integral covered separately in this chapter). It helps to recognize this technique as one of three main tools for the Integrals chapter — alongside substitution and integration by parts — and to reach for it specifically when the integrand is a clean ratio of polynomials rather than a product involving trigonometric or exponential factors.
The goal is to show, end to end, how a rational integrand with a factorable denominator of two distinct linear pieces is converted into a sum of two log terms — the most common pattern this technique produces, and the one worth being fastest at, since a correct root-substitution collapses each unknown constant to a one-line calculation.
Step 1. Confirm the fraction is proper (numerator degree less than denominator degree) — here numerator degree denominator degree , so no long division is needed — then write the general template with unknown constants for each distinct linear factor: .
Step 2. Clear denominators by multiplying both sides by , giving the polynomial identity , which must hold for every value of .
Step 3. Exploit the roots. Setting makes the term vanish (its factor becomes zero), instantly giving ; setting isolates the same way. This substitution trick is what makes distinct-linear-factor cases the fastest to solve.
Step 4. Integrate each term using , and add the results, giving a sum of natural-log terms as the final antiderivative. This same four-step skeleton — template, clear, substitute roots, integrate log terms — generalizes directly: with three distinct linear factors you would simply carry three constants and three roots through the identical logic instead of two.
Worked example
Evaluate .
Step 1. The denominator has two distinct linear factors, so write .
Step 2. Clear denominators: .
Step 3. Set : . Set : .
Step 4. Integrate term by term:
Answer: .
Competitive stretch
For a mixed case with a linear and an irreducible quadratic factor, needs the template . Clearing denominators gives . Setting gives ; comparing coefficients gives ; comparing coefficients gives . Splitting into and integrating gives .
Common traps
- Applying partial fractions directly to an improper fraction (numerator degree greater than or equal to denominator degree) without first doing polynomial long division.
- Using the wrong template for a repeated linear factor — needs two terms, , not just .
- Using a constant numerator for an irreducible quadratic factor instead of the correct linear numerator .
- Forgetting to split the numerator of a quadratic-denominator term into a derivative-of-denominator part plus a constant before integrating — it cannot be one clean logarithm unless the numerator already matches the denominator's derivative.
Ask the tutor: unsure which partial-fraction template fits your denominator, or want a walkthrough of solving for the unknown constants on your own problem?
Why does substituting the root of a linear factor work so well to find the constants?
When you clear denominators, you get a polynomial identity like that must hold for every , including and themselves — it is an identity, not just an equation at one point, which is exactly why plugging in any value is legitimate. Plugging in makes the factor multiplying vanish, leaving only the term — so you solve for in one line instead of a system of equations. It only works cleanly at the roots of the linear factors; for an irreducible quadratic there is no real root, so you switch to comparing coefficients instead. As a habit, always plug your final constants back into the cleared equation and check it holds for one extra value of — this catches sign slips before they cost you the whole integral.
How do I know whether to use substitution or coefficient comparison?
Use substitution at every real root of a linear factor first — it is faster and gives constants directly with almost no algebra. If any factor is a repeated linear factor or an irreducible quadratic, you will run out of convenient roots, so compare coefficients of matching powers of on both sides of the cleared equation for whatever constants remain. Most exam problems combine both: substitute at the linear roots, then compare one or two leftover coefficients — exactly the pattern in the competitive-stretch example, where gives instantly and the and coefficients then hand over and .
What if the denominator does not factor nicely over the rationals?
The CBSE syllabus restricts problems to denominators that factor into the three standard patterns covered here — distinct linear factors, repeated linear factors, and irreducible quadratics with integer or simple rational coefficients. If a denominator does not factor this way, the problem is outside the syllabus scope; recheck your factoring rather than assuming a harder case is intended. In practice, exam denominators are deliberately built from small integer roots or a recognizable perfect-square pattern, so a quick trial of small integer values (or a fast quadratic-formula check for real roots) is usually enough to reveal the correct factorization before you commit to a template.