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.
Same / Similar Concept — real previous-year questions on the same or a closely similar concept, not this exact question.
COMEDK 2025Set 2025-A1 markMCQ
Q.∫(x−1)(x−2)2xdx=alogx−2x−1+(x−2)b+c then
(A) a=−1,b=2
(B) a=−1,b=−2
(C) a=1,b=−2
(D) a=1,b=2
›Reveal solutionSolution
We decompose the integrand into partial fractions, integrate term‑by‑term, and match the result to the given form to find a=1 and b=−2. The correct option is (C).
Concept & Intuition
The integral involves a rational function with a repeated linear factor in the denominator. The standard technique is partial fraction decomposition, which rewrites the complicated fraction as a sum of simpler fractions that are easy to integrate. The given answer form already suggests the result will involve a log combination and a single term with (x−2)−1. Our job is to find the constants a and b by performing the decomposition and then comparing coefficients.
Step‑by‑Step Solution
Set up the partial fraction decomposition
Since the denominator is (x−1)(x−2)2, we write:
(x−1)(x−2)2x=x−1A+x−2B+(x−2)2C
where A,B,C are constants to be determined.
Clear denominators
Multiply both sides by (x−1)(x−2)2:
x=A(x−2)2+B(x−1)(x−2)+C(x−1)
Solve for the constants
For C: Substitute x=2 (makes the A and B terms vanish):
2=A(0)2+B(0)+C(2−1)⟹2=C⋅1⟹C=2
For A: Substitute x=1:
1=A(1−2)2+B(0)+C(0)⟹1=A(1)⟹A=1
For B: Substitute any convenient value, say x=0, using A=1,C=2:
0=1(0−2)2+B(0−1)(0−2)+2(0−1)
0=4+B(−1)(−2)−2⟹0=4+2B−2⟹0=2+2B⟹B=−1
So we have:
(x−1)(x−2)2x=x−11−x−21+(x−2)22
Integrate term by term
∫(x−1)(x−2)2xdx=∫x−11dx−∫x−21dx+2∫(x−2)−2dx
Each integral is elementary:
=log∣x−1∣−log∣x−2∣+2⋅−1(x−2)−1+constant
=logx−2x−1−x−22+c
Match with the given form
The problem states the result is:
alogx−2x−1+(x−2)b+c
Comparing, we see:
a=1,b=−2
Tip
A quick check: differentiate your result to see if you get back the original fraction. For a=1,b=−2, the derivative of logx−2x−1−x−22 indeed simplifies to (x−1)(x−2)2x.
The integral simplifies via the substitution u=x2, turning it into a standard partial-fractions form; the result is 161logx2+4x2−4+C, which matches option (C).
The key insight is that the numerator x is almost the derivative of x2, which appears in the denominator. This suggests a substitution that reduces the quartic denominator to a quadratic in a new variable, making partial fractions straightforward.
Substitute u=x2
Let u=x2. Then du=2xdx, so xdx=2du. The integral becomes
∫x4−16xdx=∫u2−161⋅2du=21∫u2−16du.
Factor the denominator
Notice u2−16=(u−4)(u+4). This is a classic setup for partial fractions.
A common mistake is forgetting the factor 21 from the substitution, which would lead to option (B) (missing the factor 81 from partial fractions). Another is reversing the numerator and denominator inside the log, which gives option (A).
Tip
Notice that the derivative of x2 is 2x, so the x in the numerator is exactly half of that — the substitution is almost automatic. This trick works whenever the integrand has the form f(x)2−a2f′(x).
We decompose the integrand into partial fractions, integrate term‑by‑term, match coefficients to the given form, and sum p+q+r to get 107.
Concept & Intuition
The integral is a rational function whose denominator factors into a linear term (x+2) and an irreducible quadratic (x2+1). The standard method is partial fraction decomposition: we write the integrand as a sum of simpler fractions whose integrals are elementary (logarithms and an arctangent). By comparing the result with the given expression, we can read off the constants p,q,r and then compute their sum.
Set up the partial fractions
Since the denominator has a linear factor and an irreducible quadratic, we write
(x+2)(x2+1)1=x+2A+x2+1Bx+C.
The numerator for the quadratic term is linear because the denominator is degree 2.
Clear denominators
Multiply both sides by (x+2)(x2+1):
The x1 factor is exactly d(logx), so substitute t=logx and finish with partial fractions on a quadratic that factorises.
Step 1 — Spot the substitution
I=∫x[6(logx)2+7logx+2]dx
Everything inside the bracket is a function of logx, and the leftover xdx is precisely the differential of logx. That is the signal to put
t=logx⟹dt=xdx
I=∫6t2+7t+2dt
Step 2 — Factorise the quadratic
Split the middle term: 6t2+7t+2=6t2+4t+3t+2=2t(3t+2)+1(3t+2)
6t2+7t+2=(3t+2)(2t+1)
Step 3 — Partial fractions
(3t+2)(2t+1)1=3t+2A+2t+1B⟹1=A(2t+1)+B(3t+2)
Put t=−21: 1=B(−23+2)=2B⇒B=2.
Put t=−32: 1=A(−34+1)=−3A⇒A=−3.
Step 4 — Integrate
Using ∫at+bdt=a1log∣at+b∣:
I=−3⋅31log∣3t+2∣+2⋅21log∣2t+1∣+C
I=log∣2t+1∣−log∣3t+2∣+C=log3t+22t+1+C
Step 5 — Back-substitute t=logx
I=log(3logx+22logx+1)+C
Note there is no factor of 21 — the 21 from ∫2t+1dt is cancelled by the numerator B=2. That kills options (A) and (D).
✓Final answer
The correct option is (B) — log3logx+22logx+1+C.
ANSWER: B
COMEDK 2025Set 2025-E1 markMCQ
Q.∫(1+sinx)(2+sinx)sin2xdx=alog∣1+sinx∣−blog∣2+sinx∣+c then the value of a and b is ----------------
(A) a=−2,b=4
(B) a=2,b=4
(C) a=−2,b=−4
(D) a=2,b=−4
›Reveal solutionSolution
Substitute u=sinx; partial fractions give −2log∣1+sinx∣+4log∣2+sinx∣+c, so matching alog∣1+sinx∣−blog∣2+sinx∣ gives a=−2,b=−4 — option (C).