PYQ Vault

CBSE Class 12 Maths · Integrals

Integration by Partial Fractions

A proper rational function whose denominator factorises is split into a sum of simpler fractions, one for each factor, and each of those integrates to a log, a power or an inverse tangent.

Why this matters

63 questions, twenty-seven of them from board papers: three in 2022, five in 2023, seven in 2024, ten in 2025 and two in 2026. This is the board's favourite three-mark integral. It sets distinct linear factors (2022, 2025), a repeated linear factor (2023, 2024 twice, 2025 twice) and a linear factor with a quadratic one (2023 twice, 2024, 2025 three times). Ten of the board items have only x squared in them, such as x squared over (x² + 4)(x² + 9), asked in 2023 and again in 2024. Several start with a substitution in the root of x, log x, sin x or cos x and end in partial fractions (2023 to 2026). The textbook adds Examples 11 to 16, Exercise 7.5 and Miscellaneous questions.

Concept 1 of 4: Distinct linear factors

If the denominator is a product of different linear factors, the fraction is a sum of constants over those factors. Multiply up, then put each root of the denominator in turn: every term but one vanishes, and each constant drops out in one line.

Definition

  • Proper first: if the degree of the numerator is not less than that of the denominator, divide to get a polynomial plus a proper fraction.
  • px+q(x−a)(x−b)=Ax−a+Bx−b\dfrac{px + q}{(x - a)(x - b)} = \dfrac{A}{x - a} + \dfrac{B}{x - b}, a≠ba \ne b.
  • px2+qx+r(x−a)(x−b)(x−c)=Ax−a+Bx−b+Cx−c\dfrac{px^2 + qx + r}{(x - a)(x - b)(x - c)} = \dfrac{A}{x - a} + \dfrac{B}{x - b} + \dfrac{C}{x - c}.
  • Find each constant by putting x=ax = a, x=bx = b, x=cx = c in the multiplied-up identity.
  • ∫Ax−a dx=Alog⁡∣x−a∣\int \dfrac{A}{x - a}\,dx = A\log|x - a|.
  • In exe^x, log⁡x\log x, sin⁡x\sin x or cos⁡x\cos x, substitute tt first, then split the fraction in tt.

Distinct linear factors

px+q(x−a)(x−b)=Ax−a+Bx−b\dfrac{px + q}{(x - a)(x - b)} = \dfrac{A}{x - a} + \dfrac{B}{x - b}

Worked example

Find ∫x+7(x−1)(x+3) dx\int \dfrac{x + 7}{(x - 1)(x + 3)}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/1/3 · 27 (a)Moderate

Example 1 · Integrals · Integration by Partial Fractions

Find : ∫2x−1(x−1)(x+2)(x−3) dx\int \frac{2x - 1}{(x - 1)(x + 2)(x - 3)}\,dx

Splitting an improper fraction

x2(x−1)(x−2)\dfrac{x^2}{(x - 1)(x - 2)} has numerator and denominator of the same degree. Divide first; splitting it straight away as Ax−1+Bx−2\dfrac{A}{x - 1} + \dfrac{B}{x - 2} can never be right.

Dropping the coefficient of x in a log

∫dx2x+3=12log⁡∣2x+3∣\int \dfrac{dx}{2x + 3} = \dfrac{1}{2}\log|2x + 3|. When a factor is ax+bax + b with a≠1a \ne 1, divide by aa.

Concept 2 of 4: A repeated linear factor

A squared factor (x−a)2(x - a)^2 needs two fractions, one over (x−a)(x - a) and one over (x−a)2(x - a)^2. Putting x=ax = a finds the second constant and putting the other root finds the third; one constant is left, and comparing the coefficients of x2x^2 gives it.

Definition

  • px+q(x−a)2=Ax−a+B(x−a)2\dfrac{px + q}{(x - a)^2} = \dfrac{A}{x - a} + \dfrac{B}{(x - a)^2}.
  • px2+qx+r(x−a)2(x−b)=Ax−a+B(x−a)2+Cx−b\dfrac{px^2 + qx + r}{(x - a)^2(x - b)} = \dfrac{A}{x - a} + \dfrac{B}{(x - a)^2} + \dfrac{C}{x - b}.
  • Multiply up: px2+qx+r=A(x−a)(x−b)+B(x−b)+C(x−a)2px^2 + qx + r = A(x - a)(x - b) + B(x - b) + C(x - a)^2.
  • x=ax = a gives BB; x=bx = b gives CC; the coefficient of x2x^2 gives A+C=pA + C = p.
  • ∫B(x−a)2 dx=−Bx−a\int \dfrac{B}{(x - a)^2}\,dx = -\dfrac{B}{x - a}: a power, not a log.

Repeated linear factor

px2+qx+r(x−a)2(x−b)=Ax−a+B(x−a)2+Cx−b\dfrac{px^2 + qx + r}{(x - a)^2(x - b)} = \dfrac{A}{x - a} + \dfrac{B}{(x - a)^2} + \dfrac{C}{x - b}

Worked example

Find ∫x+4x2(x+2) dx\int \dfrac{x + 4}{x^2(x + 2)}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/5/1 · 28 (b)Moderate

Example 2 · Integrals · Integration by Partial Fractions

Find : ∫2x+1(x+1)2 (x−1) dx\displaystyle\int \dfrac{2x + 1}{(x + 1)^2\,(x - 1)}\, \mathrm{d}x

Only one fraction for a squared factor

(x−a)2(x - a)^2 needs both Ax−a\dfrac{A}{x - a} and B(x−a)2\dfrac{B}{(x - a)^2}. Writing just B(x−a)2\dfrac{B}{(x - a)^2} leaves too few constants, and the identity cannot hold.

A log for the squared term

∫dx(x−a)2=−1x−a\int \dfrac{dx}{(x - a)^2} = -\dfrac{1}{x - a}, not log⁡(x−a)2\log(x - a)^2. Only a first power below gives a log.

Concept 3 of 4: A linear factor with a quadratic factor

A quadratic that cannot be factorised, such as x2+4x^2 + 4, gets a linear numerator Bx+CBx + C over it. Its integral splits again: the BxBx part is a log, and the constant part is an inverse tangent.

Definition

  • px2+qx+r(x−a)(x2+bx+c)=Ax−a+Bx+Cx2+bx+c\dfrac{px^2 + qx + r}{(x - a)(x^2 + bx + c)} = \dfrac{A}{x - a} + \dfrac{Bx + C}{x^2 + bx + c}, where x2+bx+cx^2 + bx + c has no real factors.
  • Put x=ax = a to get AA; compare the coefficients of x2x^2 and the constant terms for BB and CC.
  • ∫Bxx2+k2 dx=B2log⁡(x2+k2)\int \dfrac{Bx}{x^2 + k^2}\,dx = \dfrac{B}{2}\log(x^2 + k^2) and ∫Cx2+k2 dx=Cktan⁡−1xk\int \dfrac{C}{x^2 + k^2}\,dx = \dfrac{C}{k}\tan^{-1}\dfrac{x}{k}.
  • x2+k2x^2 + k^2 is always positive, so its log needs no modulus.

Quadratic factor

px2+qx+r(x−a)(x2+bx+c)=Ax−a+Bx+Cx2+bx+c\dfrac{px^2 + qx + r}{(x - a)(x^2 + bx + c)} = \dfrac{A}{x - a} + \dfrac{Bx + C}{x^2 + bx + c}

Worked example

Find ∫x+1x(x2+1) dx\int \dfrac{x + 1}{x(x^2 + 1)}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/7/2 · 32 (a)Hard

Example 3 · Integrals · Integration by Partial Fractions

Find : ∫x(x−1)(x2+4) dx\displaystyle\int \dfrac{x}{(x - 1)(x^2 + 4)}\, dx

A constant over the quadratic

Over x2+4x^2 + 4 the numerator is Bx+CBx + C, not just BB. With a constant alone the identity has too few unknowns and the comparison of coefficients fails.

Integrating x over x² + k² as tan⁻¹

∫xx2+4 dx=12log⁡(x2+4)\int \dfrac{x}{x^2 + 4}\,dx = \dfrac{1}{2}\log(x^2 + 4). Only the constant part Cx2+4\dfrac{C}{x^2 + 4} gives an inverse tangent.

Concept 4 of 4: Fractions in x squared only

When xx appears only as x2x^2, as in x2(x2+2)(x2+7)\dfrac{x^2}{(x^2 + 2)(x^2 + 7)}, write tt for x2x^2 just to find the constants, then put x2x^2 back and integrate the two inverse tangents. If there is an extra xx on top, as in 2x(x2+1)(x2+3)\dfrac{2x}{(x^2 + 1)(x^2 + 3)}, t=x2t = x^2 is a real substitution with dt=2x dxdt = 2x\,dx.

Definition

  • Only x2x^2 appears: put x2=tx^2 = t in the fraction only, split t(t+a)(t+b)\dfrac{t}{(t + a)(t + b)} into linear fractions in tt, and put t=x2t = x^2 back before integrating.
  • Each piece is then kx2+a\dfrac{k}{x^2 + a}, which gives katan⁡−1xa\dfrac{k}{\sqrt{a}}\tan^{-1}\dfrac{x}{\sqrt{a}}.
  • An extra x on top: x dx=dt2x\,dx = \dfrac{dt}{2}, so the integral becomes a rational function of tt, and the answer is in logs.
  • For 1x(xn+1)\dfrac{1}{x(x^n + 1)}, multiply top and bottom by xn−1x^{n-1} and put xn=tx^n = t.

Splitting in t = x squared

x2(x2+a)(x2+b)=1b−a[bx2+b−ax2+a]\dfrac{x^2}{(x^2 + a)(x^2 + b)} = \dfrac{1}{b - a}\left[\dfrac{b}{x^2 + b} - \dfrac{a}{x^2 + a}\right]

Worked example

Find ∫x2+2(x2+1)(x2+3) dx\int \dfrac{x^2 + 2}{(x^2 + 1)(x^2 + 3)}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2023 · 65/1/3 · Q28Moderate

Example 4 · Integrals · Integration by Partial Fractions

Find : ∫x2(x2+4)(x2+9) dx\int \frac{x^2}{(x^2 + 4)(x^2 + 9)} \, dx

Integrating in t when there is no dt

In x2(x2+a)(x2+b)\dfrac{x^2}{(x^2 + a)(x^2 + b)} there is no x dxx\,dx to make dtdt. Use tt only to find the constants, put x2x^2 back, then integrate in xx.

Writing tan⁡−1x\tan^{-1} x for every piece

∫dxx2+16=14tan⁡−1x4\int \dfrac{dx}{x^2 + 16} = \dfrac{1}{4}\tan^{-1}\dfrac{x}{4}. Each piece has its own aa, and the factor 1a\dfrac{1}{a} goes in front.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • Distinct linear factors

    Distinct linear factors

    px+q(x−a)(x−b)=Ax−a+Bx−b\dfrac{px + q}{(x - a)(x - b)} = \dfrac{A}{x - a} + \dfrac{B}{x - b}
  • A repeated linear factor

    Repeated linear factor

    px2+qx+r(x−a)2(x−b)=Ax−a+B(x−a)2+Cx−b\dfrac{px^2 + qx + r}{(x - a)^2(x - b)} = \dfrac{A}{x - a} + \dfrac{B}{(x - a)^2} + \dfrac{C}{x - b}
  • A linear factor with a quadratic factor

    Quadratic factor

    px2+qx+r(x−a)(x2+bx+c)=Ax−a+Bx+Cx2+bx+c\dfrac{px^2 + qx + r}{(x - a)(x^2 + bx + c)} = \dfrac{A}{x - a} + \dfrac{Bx + C}{x^2 + bx + c}
  • Fractions in x squared only

    Splitting in t = x squared

    x2(x2+a)(x2+b)=1b−a[bx2+b−ax2+a]\dfrac{x^2}{(x^2 + a)(x^2 + b)} = \dfrac{1}{b - a}\left[\dfrac{b}{x^2 + b} - \dfrac{a}{x^2 + a}\right]

Watch out for (8)

Test yourself on Integrals

20 past CBSE Class 12 questions from this chapter, timed at 30 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Take the Integrals chapter test