Q.Find ∫(x−1)(x2+1)x4dx
Concept understanding — Partial Fraction Decomposition
Partial Fraction Decomposition
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.
With distinct linear factors, substitute each factor's root to knock out all but one term — much faster than equating coefficients.
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.
The numerator has higher degree than the denominator, so divide first, then use partial fractions on the proper remainder.
Step 1 — Divide. The denominator is (x−1)(x2+1)=x3−x2+x−1. Dividing x4 by it gives quotient x+1 and remainder 1:
(x−1)(x2+1)x4=x+1+(x−1)(x2+1)1.
Step 2 — Decompose the remainder.
(x−1)(x2+1)1=x−1A+x2+1Bx+C⇒1=A(x2+1)+(Bx+C)(x−1).
Put x=1: 1=2A⇒A=21. Compare x2: 0=A+B⇒B=−21. Constant: 1=A−C⇒C=−21.
Step 3 — Integrate.
∫(x+1+x−11/2−x2+121x+21)dx=2x2+x+21log∣x−1∣−41log(x2+1)−21tan−1x+C.
2x2+x+21log∣x−1∣−41log(x2+1)−21tan−1x+C
Divide first (the numerator's degree exceeds the denominator's), then apply partial fractions. The integral equals 2x2+x+21log∣x−1∣−41log(x2+1)−21tan−1x+C.
Why divide first
Partial fractions only apply to a proper rational function (numerator degree < denominator degree). Here the numerator x4 has degree 4 while the denominator (x−1)(x2+1)=x3−x2+x−1 has degree 3, so we must divide before decomposing.
Step 1 — Polynomial long division
Divide x4 by x3−x2+x−1:
- x4=x(x3−x2+x−1)+(x3−x2+x), giving a first quotient term x.
- x3−x2+x=1(x3−x2+x−1)+1, giving the next term 1 and remainder 1.
So the quotient is x+1 and the remainder is 1:
(x−1)(x2+1)x4=x+1+(x−1)(x2+1)1.
Step 2 — Partial fractions on the remainder
The factor x2+1 is irreducible, so it gets a linear numerator:
(x−1)(x2+1)1=x−1A+x2+1Bx+C.
Clear denominators: 1=A(x2+1)+(Bx+C)(x−1).
- Put x=1: 1=A(2)⇒A=21.
- Coefficient of x2: 0=A+B⇒B=−21.
- Constant term: 1=A−C⇒C=A−1=−21.
(Check the x coefficient: −B+C=21−21=0, as required.) Hence
(x−1)(x2+1)1=21⋅x−11−21⋅x2+1x+1.
Step 3 — Integrate term by term
∫(x+1)dx=2x2+x,∫x−11/2dx=21log∣x−1∣,
−21∫x2+1xdx=−41log(x2+1),−21∫x2+11dx=−21tan−1x.
Adding these gives the result.
∫(x−1)(x2+1)x4dx=2x2+x+21log∣x−1∣−41log(x2+1)−21tan−1x+C
Method: Improper rational function — divide first, then partial fractions
Use this whenever ∫Q(x)P(x)dx has degP≥degQ. Partial fractions only work on a proper fraction, so polynomial division is a mandatory first step.
Steps
Step 1: Check degrees; divide if top-heavy.
Here deg(x4)=4 exceeds deg((x−1)(x2+1))=3, so do polynomial long division to write
Q(x)P(x)=(polynomial quotient)+Q(x)remainder,
where the remainder now has degree <degQ.
Step 2: Set up the partial-fraction form of the proper remainder.
Each distinct linear factor (x−r) contributes x−rA; each irreducible quadratic (x2+1) contributes a linear numerator x2+1Bx+C (not just a constant).
Step 3: Solve for the constants.
Clear denominators and either substitute the real roots (fast for linear factors, e.g. x=1) or equate coefficients of like powers of x to pin down A,B,C.
Step 4: Integrate term by term using standard forms.
∫x−rdx=log∣x−r∣, ∫x2+1xdx=21log(x2+1), and ∫x2+1dx=tan−1x. Add the polynomial's integral and a single +C.
Common Mistakes
Mistake 1: Applying partial fractions without dividing first.
Why it's wrong: (x−1)(x2+1)x4 is improper (deg4≥deg3); decomposing it directly gives an inconsistent system. Correct approach: long-divide to get quotient x+1 and remainder (x−1)(x2+1)1, then decompose the remainder.
Mistake 2: Using a constant numerator over the quadratic factor.
Why it's wrong: an irreducible quadratic x2+1 needs a linear numerator Bx+C, not just x2+1B; a constant loses a degree of freedom and the system won't solve. Correct approach: write x2+1Bx+C.
Mistake 3: Integrating x2+1Bx+C as one log.
Why it's wrong: it must be split — x2+1x gives 21log(x2+1) while x2+11 gives tan−1x; treating the whole thing as a log drops the arctangent term. Correct approach: separate the x-part (log) from the constant part (arctan).
- COMEDK 2025Set 2025-M1 markMCQQ.∫(x+2)(x2+1)dx=plog∣x+2∣+qlogx2+1+rtan−1x+c then p+q+r= (A) 52 (B) 21 (C) 107 (D) 16
›Reveal solutionSolution
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):
1=A(x2+1)+(Bx+C)(x+2).
- Expand and collect like terms
1=Ax2+A+Bx(x+2)+C(x+2)=Ax2+A+Bx2+2Bx+Cx+2C=(A+B)x2+(2B+C)x+(A+2C).
- Equate coefficients Comparing with the left side 1=0x2+0x+1 gives the system
⎩⎨⎧A+B=0,2B+C=0,A+2C=1.
-
Solve the system
From the first equation, B=−A.
Substitute into the second: 2(−A)+C=0⇒C=2A.
Substitute into the third: A+2(2A)=5A=1⇒A=51.
Then B=−51 and C=52.
-
Write the decomposed integrand
(x+2)(x2+1)1=x+21/5+x2+1−51x+52.
- Integrate term by term
∫(x+2)(x2+1)dx=51∫x+2dx−51∫x2+1xdx+52∫x2+1dx.
- First integral: ∫x+2dx=log∣x+2∣.
- Second integral: let u=x2+1, du=2xdx so ∫x2+1xdx=21log∣x2+1∣.
- Third integral: ∫x2+1dx=tan−1x.
Hence
∫=51log∣x+2∣−51⋅21log∣x2+1∣+52tan−1x+C.
- Match with the given form The problem states the integral equals
plog∣x+2∣+qlog∣x2+1∣+rtan−1x+c.
Comparing, we have
p=51,q=−101,r=52.
- Compute p+q+r
p+q+r=51−101+52=102−101+104=105=21.
Watch outA common mistake is forgetting the factor 21 when integrating x2+1x, which would give q=−51 instead of −101 and lead to a wrong sum.
TipNotice that the sum p+q+r is independent of the constant of integration c; we only need the coefficients of the three terms.
✓Final answerThe correct option is (B).
ANSWER: B
- COMEDK 2024Set 2024-M1 markMCQQ.
[!FORMULA] ∫x4−16xdx=
(A) 161logx2−4x2+4+C (B) 41logx2−4x2+4+C (C) 161logx2+4x2−4+C (D) 81logx2+4x2−4+C›Reveal solutionSolution
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.
-
Partial fractions decomposition
We write
u2−161=u−4A+u+4B.
Solving: Multiply through by (u−4)(u+4):
1=A(u+4)+B(u−4).
Setting u=4 gives 1=8A⇒A=81.
Setting u=−4 gives 1=−8B⇒B=−81.
Hence
u2−161=81(u−41−u+41).
- Integrate
21∫u2−16du=21⋅81∫(u−41−u+41)du=161(log∣u−4∣−log∣u+4∣)+C.
Using logarithm properties:
161logu+4u−4+C.
- Back-substitute u=x2
161logx2+4x2−4+C.
Watch outA 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).
TipNotice 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).
✓Final answerThe correct option is (C).
ANSWER: C
- COMEDK 2025Set 2025-A1 markMCQQ.∫(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
TipA 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.
✓Final answerThe correct option is (C).
ANSWER: C
- COMEDK 2025Set 2025-E1 markMCQQ.∫(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).
Solve the integral.
I=∫(1+sinx)(2+sinx)sin2xdx,sin2x=2sinxcosx.
Let u=sinx⇒du=cosxdx:
I=∫(1+u)(2+u)2udu.
Partial fractions:
(1+u)(2+u)2u=1+uA+2+uB,2u=A(2+u)+B(1+u).
- At u=−1: −2=A(1)⇒A=−2.
- At u=−2: −4=B(−1)⇒B=4.
So
I=−2log∣1+u∣+4log∣2+u∣+c=−2log∣1+sinx∣+4log∣2+sinx∣+c.
Comparing with alog∣1+sinx∣−blog∣2+sinx∣+c:
a=−2,−b=4⇒b=−4.
✓Final answera=−2, b=−4 — (C) a=−2, b=−4
- KCET 2024Set A-11 markMCQQ.∫x[6(logx)2+7logx+2]1dx= (A) 21log3logx+22logx+1+C (B) log3logx+22logx+1+C (C) log2logx+13logx+2+C (D) 21log2logx+13logx+2+C
›Reveal solutionSolution
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 answerThe correct option is (B) — log3logx+22logx+1+C.
ANSWER: B
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.