Adding x−12+x+23 over a common denominator gives x2+x−25x+1. Partial fraction decomposition reverses this — it breaks one complicated rational function back into a sum of simple pieces. Those pieces are far easier to integrate: ∫x−12dx=2log∣x−1∣ is immediate, while the combined fraction is not.
When it applies
You need a proper rational function, degP<degQ. If the numerator's degree is equal or higher, first do polynomial long division. The denominator Q(x) must be factored into linear and/or irreducible quadratic factors.
The standard forms
For Q(x)P(x) with Q fully factored, each factor contributes a term:
Distinct linear (ax+b)→ax+bA.
Repeated linear (ax+b)n→ax+bA1+(ax+b)2A2+⋯+(ax+b)nAn.
Irreducible quadratic (ax2+bx+c)→ax2+bx+cAx+B — a linear numerator, not just a constant.
The unknown constants are found from the resulting equations; the decomposition is unique, which is what lets us solve for them systematically.
Worked example
Decompose x2−3x+23x+5. Factor the denominator: (x−1)(x−2). Set
(x−1)(x−2)3x+5=x−1A+x−2B.
Clear denominators: 3x+5=A(x−2)+B(x−1). Substituting the roots, x=1 gives 8=−A so A=−8, and x=2 gives 11=B. Hence
x2−3x+23x+5=x−1−8+x−211.
Tip
With distinct linear factors, substitute each factor's root to knock out all but one term — much faster than equating coefficients.
Watch out
Match the numerator to the factor: a quadratic factor needs Ax+B, and a repeated factor needs a term for every power up to its multiplicity.
In Class 12 the main use is integration — every rational function can be integrated once decomposed this way.
Partial fraction decomposition is its own dedicated section in the NCERT Class 12 Integrals chapter, and it's one of the most frequently tested multi-step problems in CBSE boards and JEE Main integration questions. Students searching 'partial fractions integration class 12 examples' or 'partial fraction decomposition formula for repeated and quadratic factors' will find this break-into-simple-terms method is exactly the standard procedure those exam solutions follow.
Concept: Partial Fraction Decomposition — splitting a rational function into simpler fractions that integrate to logarithms.
We decompose x−x31 into partial fractions by factoring the denominator as x(1−x)(1+x), then integrate term-by-term to get 21log1−x2x2+C.
The integral ∫x−x31dx looks simple, but the denominator is a cubic — and that’s the clue. Whenever you see a polynomial in the denominator that factors nicely, partial fractions are your best friend. The idea is to break a complicated fraction into a sum of simpler ones, each of which integrates to a logarithm (or a simple rational function).
Here, x−x3=x(1−x2)=x(1−x)(1+x). So we have three distinct linear factors. That means we can write:
x(1−x)(1+x)1=xA+1−xB+1+xC
for some constants A,B,C. Once we find them, integration becomes straightforward.
Let’s work through it step by step.
Set up the decomposition.
Multiply both sides by the denominator x(1−x)(1+x) to clear fractions:
1=A(1−x)(1+x)+Bx(1+x)+Cx(1−x)
Notice that (1−x)(1+x)=1−x2, so the first term is A(1−x2). The other two expand as Bx+Bx2 and Cx−Cx2.
Expand and collect like terms.
1=A−Ax2+Bx+Bx2+Cx−Cx2
Group powers of x:
Constant term: A
x term: (B+C)x
x2 term: (−A+B−C)x2
So we have:
1=A+(B+C)x+(−A+B−C)x2
Equate coefficients.
The left side is 1+0⋅x+0⋅x2. Therefore:
⎩⎨⎧A=1B+C=0−A+B−C=0
From A=1, the third equation becomes −1+B−C=0, i.e. B−C=1.
Together with B+C=0, we solve:
Adding: 2B=1⇒B=21
Then C=−21
So A=1, B=21, C=−21.
Tip
A faster method for linear factors: cover up the factor you’re solving for and evaluate at its root.
For A: cover x in the denominator, set x=0 → A=(1−0)(1+0)1=1.
For B: cover 1−x, set x=1 → B=1⋅(1+1)1=21.
For C: cover 1+x, set x=−1 → C=(−1)⋅(1−(−1))1=−21=−21.
This is the Heaviside cover-up method — it saves time in exams.
Rewrite the integral.
∫x−x31dx=∫(x1+1−x1/2−1+x1/2)dx
Integrate term by term.
∫x1dx=log∣x∣+C1
∫1−x1/2dx=21∫1−x1dx=−21log∣1−x∣+C2 (because the derivative of 1−x is −1)
∫−1+x1/2dx=−21log∣1+x∣+C3
Combine constants into a single C:
∫x−x31dx=log∣x∣−21log∣1−x∣−21log∣1+x∣+C
Simplify using logarithm properties.
Factor the −21:
=log∣x∣−21(log∣1−x∣+log∣1+x∣)+C
The sum of logs is the log of the product:
=log∣x∣−21log∣(1−x)(1+x)∣+C
And (1−x)(1+x)=1−x2, so:
=log∣x∣−21log∣1−x2∣+C
Combine into a single logarithm:
=21(2log∣x∣−log∣1−x2∣)+C=21log1−x2x2+C
Watch out
A common mistake is forgetting the absolute values inside the logs. The integrand x−x31 is defined for x=0,±1, and the antiderivative must respect the domain. Always use log∣⋅∣ unless you know the sign of the argument.
✓Final answer
The integral evaluates to 21log1−x2x2+C.
Method: Partial fractions over distinct linear factors
Use this for ∫Q(x)P(x)dx where Q factors completely into different linear pieces and degP<degQ; each piece integrates to a logarithm.
Steps
Step 1: Factor the denominator completely.
Pull out every linear factor. A denominator that looks cubic often hides a common factor — always check for one before decomposing.
Step 2: Write one term per factor with unknown constants.
Step 3: Solve for the constants (cover-up shortcut).
To get the constant over (x−ri), delete that factor and evaluate the rest at x=ri. This is faster and less error-prone than expanding and matching coefficients.
Step 4: Integrate term by term.
Each ∫x−rkdx=klog∣x−r∣. Keep the absolute value, and watch the chain-rule sign when the factor is (1−x) rather than (x−1): ∫1−xdx=−log∣1−x∣.
Common Mistakes
Mistake 1: Not factoring the denominator fully.
Why it's wrong: x−x3=x(1−x)(1+x) has three linear factors; stopping at x(1−x2) (or missing the x) blocks the decomposition. Correct approach: factor completely into x(1−x)(1+x) before setting up partial fractions.
Mistake 2: Sign error integrating 1−x1.
Why it's wrong: because dxd(1−x)=−1, ∫1−xdx=−log∣1−x∣, not +log∣1−x∣. Correct approach: apply the chain-rule sign for factors of the form (1−x).
Mistake 3: Dropping the absolute values.
Why it's wrong: the integrand is undefined at x=0,±1, so the antiderivative must use log∣⋅∣. Correct approach: keep log∣⋅∣ throughout.