Partial Fractions — Breaking Complicated Fractions Apart

Learn partial fractions with clear explanations, worked examples, and practice problems.

CBSE JEE-MAIN NEET 10 min read

Why We Need Partial Fractions

Integrating 1x21\dfrac{1}{x^2-1} directly is hard. But once we know it equals 12(1x11x+1)\dfrac{1}{2}\left(\dfrac{1}{x-1} - \dfrac{1}{x+1}\right), integration becomes trivial — each term is a standard logarithm.

Partial fractions is the technique of decomposing a complicated rational function (ratio of polynomials) into a sum of simpler ones. It’s essential for integration, Laplace transforms, and solving linear recurrences.

This technique is part of CBSE Class 12 Maths (Chapter 7 — Integrals) and appears in every JEE exam.


When Can We Use Partial Fractions?

Partial fractions apply to proper rational functions — where the degree of the numerator is less than the degree of the denominator.

If the degree of the numerator ≥ degree of denominator, first perform polynomial long division to get a mixed form (quotient + proper fraction remainder), then decompose the remainder.

Example: x3+2x21\dfrac{x^3 + 2}{x^2 - 1} — numerator degree (3) ≥ denominator degree (2), so divide first:

x3+2x21=x+x+2x21\frac{x^3 + 2}{x^2 - 1} = x + \frac{x+2}{x^2-1}

Then apply partial fractions to x+2x21\dfrac{x+2}{x^2-1}.


The Forms of Partial Fractions

The form of the decomposition depends on the factors in the denominator.

Case 1 — Distinct Linear Factors

For each distinct linear factor (ax+b)(ax + b) in the denominator, include one term Aax+b\dfrac{A}{ax+b}.

Example:

P(x)(x1)(x+2)(x3)=Ax1+Bx+2+Cx3\frac{P(x)}{(x-1)(x+2)(x-3)} = \frac{A}{x-1} + \frac{B}{x+2} + \frac{C}{x-3}

Case 2 — Repeated Linear Factors

For a repeated linear factor (ax+b)n(ax+b)^n, include nn terms:

P(x)(ax+b)n=A1ax+b+A2(ax+b)2++An(ax+b)n\frac{P(x)}{(ax+b)^n} = \frac{A_1}{ax+b} + \frac{A_2}{(ax+b)^2} + \cdots + \frac{A_n}{(ax+b)^n}

Example:

P(x)(x1)2(x+2)=Ax1+B(x1)2+Cx+2\frac{P(x)}{(x-1)^2(x+2)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+2}

Case 3 — Irreducible Quadratic Factor

For an irreducible quadratic factor ax2+bx+cax^2 + bx + c (cannot be factored into real linear factors — discriminant <0< 0), include a linear numerator Ax+Bax2+bx+c\dfrac{Ax + B}{ax^2+bx+c}.

Example:

P(x)(x1)(x2+4)=Ax1+Bx+Cx2+4\frac{P(x)}{(x-1)(x^2+4)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+4}

Case 4 — Repeated Irreducible Quadratic

For (ax2+bx+c)n(ax^2+bx+c)^n, include nn terms with linear numerators.

Factor typePartial fraction term
(xa)(x-a)Axa\dfrac{A}{x-a}
(xa)n(x-a)^nA1xa+A2(xa)2++An(xa)n\dfrac{A_1}{x-a} + \dfrac{A_2}{(x-a)^2} + \cdots + \dfrac{A_n}{(x-a)^n}
(ax2+bx+c)(ax^2+bx+c) irreducibleAx+Bax2+bx+c\dfrac{Ax+B}{ax^2+bx+c}
(ax2+bx+c)n(ax^2+bx+c)^nA1x+B1ax2+bx+c++Anx+Bn(ax2+bx+c)n\dfrac{A_1x+B_1}{ax^2+bx+c} + \cdots + \dfrac{A_nx+B_n}{(ax^2+bx+c)^n}

Finding the Constants — Three Methods

Method 1 — Substitution (Fastest)

After multiplying both sides by the denominator, substitute the roots of each linear factor.

Example: Find A, B, C for 2x+1(x1)(x+2)(x3)=Ax1+Bx+2+Cx3\dfrac{2x+1}{(x-1)(x+2)(x-3)} = \dfrac{A}{x-1} + \dfrac{B}{x+2} + \dfrac{C}{x-3}

Multiply both sides by (x1)(x+2)(x3)(x-1)(x+2)(x-3):

2x+1=A(x+2)(x3)+B(x1)(x3)+C(x1)(x+2)2x+1 = A(x+2)(x-3) + B(x-1)(x-3) + C(x-1)(x+2)
  • Put x=1x=1: 3=A(3)(2)=6AA=1/23 = A(3)(-2) = -6A \Rightarrow A = -1/2
  • Put x=2x=-2: 3=B(3)(5)=15BB=1/5-3 = B(-3)(-5) = 15B \Rightarrow B = -1/5
  • Put x=3x=3: 7=C(2)(5)=10CC=7/107 = C(2)(5) = 10C \Rightarrow C = 7/10

Method 2 — Comparing Coefficients

After multiplying, expand the RHS and equate coefficients of each power of xx from both sides. This gives a system of equations.

This method works even for irreducible quadratic factors (substituting x=±ix = \pm i doesn’t give real values easily).

Method 3 — Cover-Up Rule (Quickest for Simple Cases)

For the term Axa\dfrac{A}{x-a} in P(x)(xa)Q(x)\dfrac{P(x)}{(x-a)Q(x)}:

A=P(x)Q(x)x=aA = \left.\frac{P(x)}{Q(x)}\right|_{x=a}

“Cover up” the (xa)(x-a) factor in the denominator and substitute x=ax = a.

Example: 1(x1)(x+2)\dfrac{1}{(x-1)(x+2)}

  • A=1(x+2)x=1=13A = \frac{1}{(x+2)}\big|_{x=1} = \frac{1}{3}
  • B=1(x1)x=2=13=13B = \frac{1}{(x-1)}\big|_{x=-2} = \frac{1}{-3} = -\frac{1}{3}

So 1(x1)(x+2)=1/3x11/3x+2=13(1x11x+1+1)\dfrac{1}{(x-1)(x+2)} = \dfrac{1/3}{x-1} - \dfrac{1/3}{x+2} = \dfrac{1}{3}\left(\dfrac{1}{x-1} - \dfrac{1}{x+1+1}\right)


Solved Examples

Example 1 — CBSE Level: Two Distinct Factors

Decompose 3x+5(x1)(x+3)\dfrac{3x+5}{(x-1)(x+3)}.

Solution:

3x+5(x1)(x+3)=Ax1+Bx+3\frac{3x+5}{(x-1)(x+3)} = \frac{A}{x-1} + \frac{B}{x+3} 3x+5=A(x+3)+B(x1)3x+5 = A(x+3) + B(x-1)

x=1x=1: 8=4AA=28 = 4A \Rightarrow A = 2

x=3x=-3: 4=4BB=1-4 = -4B \Rightarrow B = 1

3x+5(x1)(x+3)=2x1+1x+3\frac{3x+5}{(x-1)(x+3)} = \frac{2}{x-1} + \frac{1}{x+3}

Example 2 — JEE Level: Repeated Factor

Decompose x(x1)2(x+2)\dfrac{x}{(x-1)^2(x+2)}.

Solution:

x(x1)2(x+2)=Ax1+B(x1)2+Cx+2\frac{x}{(x-1)^2(x+2)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+2}

Multiply through:

x=A(x1)(x+2)+B(x+2)+C(x1)2x = A(x-1)(x+2) + B(x+2) + C(x-1)^2

x=1x=1: 1=B(3)B=1/31 = B(3) \Rightarrow B = 1/3

x=2x=-2: 2=C(3)2=9CC=2/9-2 = C(-3)^2 = 9C \Rightarrow C = -2/9

x=0x=0: 0=A(1)(2)+B(2)+C(1)=2A+2/32/90 = A(-1)(2) + B(2) + C(1) = -2A + 2/3 - 2/9

2A=2/3+2/9=6/9+2/9=4/9-2A = -2/3 + 2/9 = -6/9 + 2/9 = -4/9

A=2/9A = 2/9

x(x1)2(x+2)=2/9x1+1/3(x1)2+2/9x+2\frac{x}{(x-1)^2(x+2)} = \frac{2/9}{x-1} + \frac{1/3}{(x-1)^2} + \frac{-2/9}{x+2}

Example 3 — Integration Using Partial Fractions

Evaluate dxx25x+6\displaystyle\int \frac{dx}{x^2-5x+6}.

Solution:

x25x+6=(x2)(x3)x^2-5x+6 = (x-2)(x-3)

1(x2)(x3)=Ax2+Bx3\dfrac{1}{(x-2)(x-3)} = \dfrac{A}{x-2} + \dfrac{B}{x-3}

x=2x=2: 1=A(1)A=11 = A(-1) \Rightarrow A = -1

x=3x=3: 1=B(1)B=11 = B(1) \Rightarrow B = 1

dxx25x+6=(1x2+1x3)dx\int \frac{dx}{x^2-5x+6} = \int\left(\frac{-1}{x-2} + \frac{1}{x-3}\right)dx =lnx2+lnx3+C=lnx3x2+C= -\ln|x-2| + \ln|x-3| + C = \ln\left|\frac{x-3}{x-2}\right| + C

Example 4 — Irreducible Quadratic

Decompose x+1(x1)(x2+1)\dfrac{x+1}{(x-1)(x^2+1)}.

Solution:

x+1(x1)(x2+1)=Ax1+Bx+Cx2+1\frac{x+1}{(x-1)(x^2+1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}

Multiply through:

x+1=A(x2+1)+(Bx+C)(x1)x+1 = A(x^2+1) + (Bx+C)(x-1)

x=1x=1: 2=A(2)A=12 = A(2) \Rightarrow A = 1

Compare coefficient of x2x^2: 0=A+B=1+BB=10 = A + B = 1 + B \Rightarrow B = -1

Constant term: 1=AC=1CC=01 = A - C = 1 - C \Rightarrow C = 0

x+1(x1)(x2+1)=1x1+xx2+1=1x1xx2+1\frac{x+1}{(x-1)(x^2+1)} = \frac{1}{x-1} + \frac{-x}{x^2+1} = \frac{1}{x-1} - \frac{x}{x^2+1}

Common Mistakes to Avoid

Mistake 1: Applying partial fractions to an improper fraction directly. Always check the degrees first. If degree(numerator) ≥ degree(denominator), do long division first.

Mistake 2: Writing Ax21\dfrac{A}{x^2-1} instead of Ax1+Bx+1\dfrac{A}{x-1} + \dfrac{B}{x+1} — treating x21x^2-1 as a single factor. Always factor the denominator completely before setting up partial fractions.

Mistake 3: For a repeated factor (xa)2(x-a)^2, writing only one term A(xa)2\dfrac{A}{(x-a)^2}. You need BOTH Axa\dfrac{A}{x-a} AND B(xa)2\dfrac{B}{(x-a)^2}. The number of terms equals the power of the factor.

Mistake 4: Using a constant numerator Ax2+4\dfrac{A}{x^2+4} for an irreducible quadratic. The numerator must be linear: Ax+Bx2+4\dfrac{Ax+B}{x^2+4}. This is because the numerator can have degree up to (degree of denominator factor - 1).

Mistake 5: Not verifying the result. Always multiply back: Ax1+Bx+2\dfrac{A}{x-1} + \dfrac{B}{x+2} should equal the original fraction after combining over a common denominator. A 30-second check prevents losing marks.


Practice Questions

Q1. Decompose 1x(x1)\dfrac{1}{x(x-1)} into partial fractions.

1x(x1)=Ax+Bx1\frac{1}{x(x-1)} = \frac{A}{x} + \frac{B}{x-1}. x=0x=0: 1=A(1)A=11 = A(-1) \Rightarrow A = -1. x=1x=1: 1=B(1)B=11 = B(1) \Rightarrow B = 1. Answer: 1x+1x1=1x11x\frac{-1}{x} + \frac{1}{x-1} = \frac{1}{x-1} - \frac{1}{x}.

Q2. Find: 2x+3(x+1)(x+2)dx\displaystyle\int \frac{2x+3}{(x+1)(x+2)} dx

2x+3(x+1)(x+2)=Ax+1+Bx+2\frac{2x+3}{(x+1)(x+2)} = \frac{A}{x+1} + \frac{B}{x+2}. x=1x=-1: 1=A(1)A=11 = A(1) \Rightarrow A=1. x=2x=-2: 1=B(1)B=1-1 = B(-1) \Rightarrow B=1. Integral =lnx+1+lnx+2+C=ln(x+1)(x+2)+C= \ln|x+1| + \ln|x+2| + C = \ln|(x+1)(x+2)| + C.

Q3. Decompose 3x1(x+2)2\dfrac{3x-1}{(x+2)^2}.

3x1(x+2)2=Ax+2+B(x+2)2\frac{3x-1}{(x+2)^2} = \frac{A}{x+2} + \frac{B}{(x+2)^2}. 3x1=A(x+2)+B3x-1 = A(x+2) + B. x=2x=-2: 7=B-7 = B. Coefficient of xx: 3=A3 = A. Answer: 3x+27(x+2)2\frac{3}{x+2} - \frac{7}{(x+2)^2}.

Q4. Evaluate 01x(x+1)(x+2)dx\displaystyle\int_0^1 \frac{x}{(x+1)(x+2)} dx (JEE level).

x(x+1)(x+2)=Ax+1+Bx+2\frac{x}{(x+1)(x+2)} = \frac{A}{x+1} + \frac{B}{x+2}. x=1x=-1: 1=A(1)A=1-1 = A(1) \Rightarrow A=-1. x=2x=-2: 2=B(1)B=2-2 = B(-1) \Rightarrow B=2. Integral =01(1x+1+2x+2)dx=[lnx+1+2lnx+2]01=(ln2+2ln3)(0+2ln2)=2ln33ln2=ln(9/8)= \int_0^1 \left(\frac{-1}{x+1} + \frac{2}{x+2}\right)dx = [-\ln|x+1| + 2\ln|x+2|]_0^1 = (-\ln 2 + 2\ln 3) - (0 + 2\ln 2) = 2\ln 3 - 3\ln 2 = \ln(9/8).


FAQs

How do I know if a quadratic is irreducible? Calculate the discriminant b24acb^2 - 4ac. If it’s negative, the quadratic has no real roots and is irreducible over the reals. Example: x2+4x^2 + 4 has b24ac=016=16<0b^2-4ac = 0 - 16 = -16 < 0 → irreducible. x21x^2-1 has b24ac=04(1)=4>0b^2-4ac = 0-4(-1) = 4 > 0 → factors as (x1)(x+1)(x-1)(x+1).

When is partial fractions used in real problems? Almost always in integration — whenever you see a rational function that needs to be integrated. Also in Laplace transforms (engineering and higher maths), difference equations, and sometimes in solving certain differential equations.

What if the numerator and denominator share a common factor? Cancel the common factor first (reduce the fraction), then apply partial fractions to the reduced form. Example: x21(x1)(x+3)=(x1)(x+1)(x1)(x+3)=x+1x+3\dfrac{x^2-1}{(x-1)(x+3)} = \dfrac{(x-1)(x+1)}{(x-1)(x+3)} = \dfrac{x+1}{x+3} (after cancellation, for x1x \neq 1) — no partial fractions needed.

Can partial fractions be used with complex numbers? Yes. Over the complex numbers, every polynomial factors into linear factors. But for real calculus applications, we keep irreducible quadratic factors as-is (to stay in real arithmetic).


Integration Using Partial Fractions — More Examples

Type: px+q(xa)(xb)dx\int \frac{px + q}{(x-a)(x-b)} dx

Evaluate 3x+1(x2)(x+1)dx\int \frac{3x+1}{(x-2)(x+1)} dx.

Decompose: 3x+1(x2)(x+1)=Ax2+Bx+1\frac{3x+1}{(x-2)(x+1)} = \frac{A}{x-2} + \frac{B}{x+1}

x=2x = 2: 7=3A    A=7/37 = 3A \implies A = 7/3. x=1x = -1: 2=3B    B=2/3-2 = -3B \implies B = 2/3.

7/3x2+2/3x+1dx=73lnx2+23lnx+1+C\int \frac{7/3}{x-2} + \frac{2/3}{x+1}\,dx = \frac{7}{3}\ln|x-2| + \frac{2}{3}\ln|x+1| + C

Type: Repeated quadratic factor (JEE Advanced)

For 1(x2+1)2\frac{1}{(x^2+1)^2}, we use the substitution x=tanθx = \tan\theta rather than partial fractions (since x2+1x^2 + 1 is irreducible and repeated). This gives:

dx(x2+1)2=12(xx2+1+tan1x)+C\int \frac{dx}{(x^2+1)^2} = \frac{1}{2}\left(\frac{x}{x^2+1} + \tan^{-1}x\right) + C

This is a standard result worth memorising for JEE.

Connection to Laplace transforms

In engineering mathematics, partial fractions are essential for finding inverse Laplace transforms. The function F(s)=1s(s+2)F(s) = \frac{1}{s(s+2)} in the Laplace domain corresponds to 1/2s1/2s+2\frac{1/2}{s} - \frac{1/2}{s+2}, giving f(t)=12(1e2t)f(t) = \frac{1}{2}(1 - e^{-2t}) in the time domain. The technique is identical.

Additional Practice Questions

Q5. Evaluate x(x+1)(x+2)(x+3)dx\int \frac{x}{(x+1)(x+2)(x+3)}\,dx.

By cover-up: A=1(1+2)(1+3)=12A = \frac{-1}{(-1+2)(-1+3)} = \frac{-1}{2}, B=2(2+1)(2+3)=2B = \frac{-2}{(-2+1)(-2+3)} = 2, C=3(3+1)(3+2)=32C = \frac{-3}{(-3+1)(-3+2)} = \frac{-3}{2}.

(1/2x+1+2x+2+3/2x+3)dx=12lnx+1+2lnx+232lnx+3+C\int\left(\frac{-1/2}{x+1} + \frac{2}{x+2} + \frac{-3/2}{x+3}\right)dx = -\frac{1}{2}\ln|x+1| + 2\ln|x+2| - \frac{3}{2}\ln|x+3| + C.

Q6. Decompose x2(x1)(x2+x+1)\frac{x^2}{(x-1)(x^2+x+1)}.

Note: x31=(x1)(x2+x+1)x^3 - 1 = (x-1)(x^2+x+1), so x2x31=Ax1+Bx+Cx2+x+1\frac{x^2}{x^3-1} = \frac{A}{x-1} + \frac{Bx+C}{x^2+x+1}.

x=1x=1: 1=3A    A=1/31 = 3A \implies A = 1/3. Compare x2x^2 coefficients: 1=A+B    B=2/31 = A + B \implies B = 2/3. Constants: 0=A+C    C=1/30 = -A + C \implies C = 1/3.

Answer: 1/3x1+(2x+1)/3x2+x+1\frac{1/3}{x-1} + \frac{(2x+1)/3}{x^2+x+1}.

Exam Weightage

ExamTypical weightKey topics
CBSE Class 124–5 marksIntegration using partial fractions (Chapter 7)
JEE Main1 questionDecomposition + integration of rational functions
JEE Advanced1 questionComplex denominators, repeated factors

Quick decision tree for partial fractions

  1. Is degree(numerator) \geq degree(denominator)? If yes, do long division first.
  2. Factor the denominator completely.
  3. For each distinct linear factor (xa)(x-a): write Axa\frac{A}{x-a}.
  4. For each repeated factor (xa)n(x-a)^n: write nn terms with increasing powers.
  5. For each irreducible quadratic: write Ax+Bquadratic\frac{Ax+B}{\text{quadratic}}.
  6. Find constants by substitution (fastest) or comparing coefficients.
  7. Verify by recombining.

The cover-up (Heaviside) method is the fastest for distinct linear factors. For the term Axa\frac{A}{x-a} in P(x)(xa)Q(x)\frac{P(x)}{(x-a)Q(x)}, simply evaluate P(a)Q(a)\frac{P(a)}{Q(a)} — cover up the (xa)(x-a) factor and substitute x=ax = a into the rest. This takes 5 seconds per constant.

Connection to other topics

Partial fractions connect to:

  • Integration: the primary application in Class 12
  • Laplace transforms: used in engineering to find inverse transforms
  • Series expansion: each partial fraction can be expanded in a power series
  • Difference equations: discrete analogues appear in computer science
  • Number theory: the Chinese Remainder Theorem has a similar decomposition philosophy

Is there a faster way to find constants for many factors? The Heaviside cover-up method (putting xx equal to each root) is the fastest for distinct linear factors. For repeated or quadratic factors, compare coefficients or substitute multiple values and solve the resulting system.

Practice Questions