Q.Find ∫(x+2)(x2+1)x2+x+1dx
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →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. …
The denominator has a linear factor and an irreducible quadratic, so:
(x+2)(x2+1)x2+x+1=x+2A+x2+1Bx+C.
Clearing denominators: x2+x+1=A(x2+1)+(Bx+C)(x+2)=(A+B)x2+(2B+C)x+(A+2C). Matching coefficients:
A+B=1,2B+C=1,A+2C=1 ⇒ A=53, B=52, C=51.
Integrate: …
Partial fractions give A=53,B=52,C=51, and the integral is 53log∣x+2∣+51log(x2+1)+51tan−1x+C.
Choosing the form
The denominator (x+2)(x2+1) has a linear factor (x+2) — needing a constant numerator — and an irreducible quadratic (x2+1) — needing a linear numerator Bx+C:
(x+2)(x2+1)x2+x+1=x+2A+x2+1Bx+C.
Solving for the constants
Multiply through by (x+2)(x2+1):
x2+x+1=A(x2+1)+(Bx+C)(x+2)=(A+B)x2+(2B+C)x+(A+2C).
Match coefficients:
A+B=1,2B+C=1,A+2C=1.
From the first, A=1−B; substituting into the third gives B=2C; then 2(2C)+C=1⇒C=51, so B=52 and A=53.
Integrating
∫x+23/5dx=53log∣x+2∣. …
Method: Partial Fractions with a Linear Factor and an Irreducible Quadratic
Use this when the denominator has a linear factor times an irreducible quadratic: the quadratic needs a linear numerator, not just a constant.
Steps
Step 1: Set up the correct form.
For (x+2)(x2+1)x2+x+1:
=x+2A+x2+1Bx+C.
An irreducible quadratic x2+1 takes a linear numerator Bx+C.
Step 2: Solve for A,B,C. …
Common Mistakes
Mistake 1: Using a constant numerator over x2+1.
Why it's wrong: an irreducible quadratic factor requires a linear numerator Bx+C; a bare constant loses a degree of freedom. Correct approach: always put Bx+C over an irreducible quadratic.
Mistake 2: Integrating x2+1Bx+C in one step.
Why it's wrong: the two parts integrate differently — x2+1Bx gives a log and x2+1C gives an arctan. Correct approach: split the linear numerator into its two pieces. …
Showing the 12 most recent of 63 on this concept.
- AP EAPCET 2021Set eng-2021-08-24-AN1 markMCQQ.∫(x−2)(x−3)x−1dx= (A) 2log∣x−3∣+log∣x−2∣+c (B) log∣x−3∣−log∣x−2∣+c (C) log∣x−3∣2−log∣x+2∣+c (D) logx−2(x−3)2+c
›Reveal solutionSolution
A rational function with distinct linear factors in the denominator — resolve into partial fractions, integrate each term as a log, then combine using log rules.
Concept and Intuition
Any proper rational function with distinct linear denominator factors can be split into simple fractions x−aA+x−bB, each of which integrates to Alog∣x−a∣. Combining the two logs at the end into a single log of a ratio/power lets you match against answer choices written as one combined logarithm.
Step-by-Step Solution
- Write (x−2)(x−3)x−1=x−2A+x−3B, so x−1=A(x−3)+B(x−2).
- Put x=2: 2−1=A(2−3)⇒1=−A⇒A=−1.
- Put x=3: 3−1=B(3−2)⇒2=B.
- So ∫(x−2)(x−3)x−1dx=−log∣x−2∣+2log∣x−3∣+c. …
- AP EAPCET 2025Set eng-2025-05-23-FN1 markMCQQ.∫x3−1x+1dx= (A) 31log(x2+x+1x+1)+c (B) 31log(x2+x+1(x−1)2)+c (C) 31log(x2+x+1x−1)+c (D) 31log(x2−x+1(x+1)2)+c
›Reveal solutionSolution
This is a rational-function integral solved by partial fractions after factoring x3−1; the result combines into a single log of x2+x+1(x−1)2.
Concept and Intuition
Factor the cubic denominator as difference of cubes, then split into a linear-factor term (giving a plain log) and an irreducible-quadratic term (giving a log plus, here, no arctangent term since the numerator works out to be an exact multiple of the quadratic's derivative).
Step-by-Step Solution
- x3−1=(x−1)(x2+x+1).
- Write (x−1)(x2+x+1)x+1=x−1A+x2+x+1Bx+C.
- x+1=A(x2+x+1)+(Bx+C)(x−1). At x=1: 2=3A⇒A=32.
- Matching x2: A+B=0⇒B=−32. Matching constants: A−C=1⇒C=−31.
- ∫x−12/3dx=32log∣x−1∣.
- ∫x2+x+1−32x−31dx=−31∫x2+x+12x+1dx=−31log(x2+x+1) (numerator is exactly the derivative of the denominator). …
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.If (x+2)2A is one of the partial fractions of (2x+1)(x+2)2x2+3x+5, then A= (A) 2 (B) 1 (C) -2 (D) -1
›Reveal solutionSolution
Using the cover-up (Heaviside) method at the repeated root x=−2 gives A=−1 directly, no full partial-fraction expansion needed.
Concept and Intuition
For a repeated linear factor (x+2)2 in the denominator, the partial fraction decomposition has a term (x+2)2A whose coefficient can be found by the cover-up method: multiply both sides by (x+2)2, which cancels that factor from the denominator entirely, then substitute x=−2 into what remains (the other terms of the decomposition vanish or become finite/zero at this special substitution for the squared-factor coefficient specifically).
Step-by-Step Solution
- Write (2x+1)(x+2)2x2+3x+5=2x+1P+x+2Q+(x+2)2A.
- Multiply both sides by (x+2)2: 2x+1x2+3x+5=P⋅2x+1(x+2)2+Q(x+2)+A.
- Substitute x=−2 (this kills the P and Q terms since they still carry a factor of (x+2)): A=2x+1x2+3x+5x=−2. …
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.If (x2+1)2(x−1)x=x2+1Ax+B+(x2+1)2Cx+D+x−1E, then A+B−C+2D= (A) 21 (B) 1 (C) 23 (D) 2
›Reveal solutionSolution
This tests standard partial-fraction decomposition with a repeated irreducible quadratic factor, using a mix of "plug in a root" and "match coefficients" techniques. The final computed value is A+B−C+2D=1.
Concept and Intuition
When the denominator has an irreducible quadratic factor repeated twice, (x2+1)2, along with a simple linear factor (x−1), the partial fraction form needs a linear numerator (Ax+B, Cx+D) over each power of the quadratic, plus a constant (E) over the linear factor. The cleanest way to solve is: clear denominators, plug in the linear factor's root to isolate E instantly, then expand the rest and match coefficients of each power of x to get the remaining unknowns.
Step-by-Step Solution
- Clear denominators by multiplying both sides by (x2+1)2(x−1):
x=(Ax+B)(x2+1)(x−1)+(Cx+D)(x−1)+E(x2+1)2.
- Find E quickly: set x=1. The first two terms vanish (each has a factor of (x−1)), leaving 1=E(12+1)2=4E, so E=41.
- Expand the rest. First, (x2+1)(x−1)=x3−x2+x−1, so
(Ax+B)(x3−x2+x−1)=Ax4+(−A+B)x3+(A−B)x2+(−A+B)x−B.
Next, (Cx+D)(x−1)=Cx2+(D−C)x−D. And E(x2+1)2=Ex4+2Ex2+E.
4. Collect coefficients by power of x and equate to the right-hand side of the original equation (which is just x, so coefficients are 0,0,0,1,0 for x4,x3,x2,x1,x0 respectively):
- x4: A+E=0⇒A=−E=−41.
- x3: −A+B=0⇒B=A=−41.
- x2: (A−B)+C+2E=0. Since A=B, this gives C=−2E=−21. …
- AP EAPCET 2023Set eng-2023-05-18-FN1 markMCQQ.∫(x2−1)(x2+1)x2dx= (A) 41logx−1x+1−21Tan−1x+c (B) 41logx+1x−1+21Tan−1x+c (C) 41logx+1x−1−21Tan−1x+c (D) 41logx−1x+1+21Tan−1x+c
›Reveal solutionSolution
Splitting x4−1x2 into a sum of x2−11 and x2+11 (halved) gives a standard log + arctan combination.
Concept and Intuition
Rather than doing full partial fractions with four unknowns, it's faster to notice x4−1=(x2−1)(x2+1) and that x2−11+x2+11=x4−1(x2+1)+(x2−1)=x4−12x2. This directly gives x4−1x2 as half that sum — a shortcut avoiding solving for four separate constants.
Step-by-Step Solution
- Write the denominator as x4−1=(x2−1)(x2+1).
- Observe: x2−11+x2+11=x4−12x2, so x4−1x2=21[x2−11+x2+11].
- Use the standard integrals: ∫x2−1dx=21logx+1x−1+c1 and ∫x2+1dx=tan−1x+c2.
- Combine: ∫x4−1x2dx=21[21logx+1x−1+tan−1x]+c=41logx+1x−1+21tan−1x+c.
Common Mistakes …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.If (x−1)2(x2+2)−x2+6x+1=x−1A+(x−1)2B+x2+2Cx−3, then A+B+C= (A) 7 (B) 5 (C) 3 (D) 2
›Reveal solutionSolution
Clearing denominators and matching coefficients (using x=1 to isolate B first) gives A=0, B=2, C=0, so A+B+C=2.
Concept and Intuition
This is a standard partial-fractions decomposition. The repeated linear factor (x−1)2 lets us find B instantly by substituting x=1 directly into the cleared equation (this kills every term except the one multiplying B). The remaining coefficients A,C are then found by matching powers of x.
Step-by-Step Solution
- Clear denominators: −x2+6x+1=A(x−1)(x2+2)+B(x2+2)+(Cx−3)(x−1)2.
- Set x=1: LHS =−1+6+1=6; RHS =0+B(3)+0=3B. So B=2.
- Expand the RHS fully with B=2: A(x3−x2+2x−2)+2x2+4+(Cx−3)(x2−2x+1). (Cx−3)(x2−2x+1)=Cx3−2Cx2+Cx−3x2+6x−3.
- Collect by power of x: x3: A+C x2: −A+2−2C−3=−A−2C−1 x1: 2A+C+6 x0: −2A+4−3=−2A+1
- Match to LHS coefficients (0,−1,6,1 for x3,x2,x,1): x3: A+C=0 …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.If (x−1)2(x2+1)x+1=x−1A+(x−1)2B+x2+1Cx+D, then 3A2+4D2+5C2+B2= (A) 23 (B) 21 (C) 1 (D) 2
›Reveal solutionSolution
Solving the partial-fraction decomposition gives A=−21,B=1,C=21,D=−21; substituting into 3A2+4D2+5C2+B2 gives 2.
Concept and Intuition
A rational function with a repeated linear factor (x−1)2 and an irreducible quadratic factor (x2+1) decomposes as x−1A+(x−1)2B+x2+1Cx+D. Clearing denominators and matching coefficients (or plugging convenient values of x) pins down all four constants.
Step-by-Step Solution
- Multiply both sides by (x−1)2(x2+1):
x+1=A(x−1)(x2+1)+B(x2+1)+(Cx+D)(x−1)2.
- Plug x=1: LHS =2. RHS =0+B(1+1)+0=2B. So B=1.
- Expand each term:
- A(x−1)(x2+1)=A(x3−x2+x−1).
- B(x2+1)=x2+1 (using B=1).
- (Cx+D)(x−1)2=(Cx+D)(x2−2x+1)=Cx3+(−2C+D)x2+(C−2D)x+D.
- Collect coefficients and match with x+1=0⋅x3+0⋅x2+1⋅x+1:
- x3: A+C=0.
- x2: −A+1−2C+D=0.
- x1: A+C−2D=1.
- x0: −A+1+D=1.
- From x3: C=−A. Substitute into x1 equation: A−A−2D=1⇒D=−21.
- From x0: −A+D=0⇒A=D=−21, hence C=−A=21.
- (Verify x2 equation: −(−21)+1−2(21)+(−21)=21+1−1−21=0 ✓.) …
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.If (3x2+x+4)(3x2+x+1)3x2+x+2=3x2+x+4Ax+B+3x2+x+1Cx+D, then (A+B)+(C+D)= (A) 31 (B) 32 (C) 1 (D) 23
›Reveal solutionSolution
Substituting u=3x2+x collapses the problem to an ordinary constant partial fraction in u, forcing A=C=0 and giving (A+B)+(C+D)=1.
Concept and Intuition
When a rational expression's numerator and both denominator factors are built from the same quadratic block 3x2+x shifted by constants, it's really a partial-fraction problem in the single variable u=3x2+x, not in x directly. Recognizing this shortcut avoids a messy 4-unknown system in x.
Step-by-Step Solution
- Let u=3x2+x. The equation becomes (u+4)(u+1)u+2=u+4Ax+B+u+1Cx+D.
- Do ordinary partial fractions in u: (u+4)(u+1)u+2=u+4P+u+1Q.
- Cover-up at u=−4: P=−4+1−4+2=−3−2=32. At u=−1: Q=−1+4−1+2=31.
- So (u+4)(u+1)u+2=u+42/3+u+11/3, which is entirely x-independent in its numerators. …
- AP EAPCET 2022Set eng-2022-07-05-FN1 markMCQQ.x3−12x2+1=x−1A+x2+x+1Bx+C⇒7A+2B+C= (A) 8 (B) 9 (C) 10 (D) 11
›Reveal solutionSolution
Clear denominators in the partial fraction decomposition, use x=1 to find A quickly, then match coefficients for B and C.
Concept and Intuition
Since x3−1=(x−1)(x2+x+1), the partial fraction form given is standard. Plugging in the root of the linear factor (x=1) isolates A immediately; matching remaining coefficients (or plugging in more values) gives B,C.
Step-by-Step Solution
- Multiply both sides by x3−1=(x−1)(x2+x+1): 2x2+1=A(x2+x+1)+(Bx+C)(x−1).
- Set x=1: 2(1)+1=A(1+1+1)+0⇒3=3A⇒A=1.
- Expand the right side: Ax2+Ax+A+Bx2−Bx+Cx−C=(A+B)x2+(A−B+C)x+(A−C).
- Match x2 coefficient: A+B=2⇒B=2−1=1.
- Match constant term: A−C=1⇒C=A−1=0. …
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.If ∫x3+x2x3−1dx=f(x)+log(g(x))+c, f(1)=2 and g(−3)=43, then f(−2)+g(−2)= (A) −29 (B) −21 (C) 49 (D) 41
›Reveal solutionSolution
A rational-function integral splits by partial fractions into a polynomial/rational part f(x) plus a logarithmic part log(g(x)); the two given data points pin down f and g exactly, letting us evaluate f(−2)+g(−2). Answer: −21.
Concept and Intuition
When an improper rational integrand is written x3+x2x3−1, polynomial division peels off the constant part, and partial fractions turn the remaining proper fraction into simple terms of the form xA,x2B,x+1C whose antiderivatives are Alog∣x∣, −B/x, Clog∣x+1∣. Collecting all log terms into a single log(g(x)) and all algebraic terms into f(x) matches the form the question gives; the two numeric conditions are just there to confirm the constants (and resolve the sign inside the absolute value at negative x).
Step-by-Step Solution
- Divide: x3+x2x3−1=1−x3+x2x2+1=1−x2(x+1)x2+1.
- Partial fractions: x2(x+1)x2+1=xA+x2B+x+1C. Clearing denominators: x2+1=Ax(x+1)+B(x+1)+Cx2. Setting x=0: B=1. Setting x=−1: 2=C. Matching x2 coefficients: 1=A+C⇒A=−1.
- So x2(x+1)x2+1=−x1+x21+x+12, and the integrand is 1+x1−x21−x+12.
- Integrate term by term: ∫(1+x1−x21−x+12)dx=x+log∣x∣+x1−2log∣x+1∣+c=(x+x1)+log(x+1)2x+c. …
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.∫(x2−4)(x2+1)2x2−3dx=Atan−1x+Blog(x−2)+Clog(x+2) then 6A+7B−5C= (A) 9 (B) 10 (C) 6 (D) 8
›Reveal solutionSolution
Partial fractions of a rational function whose denominator has both real linear factors and an irreducible quadratic factor; the required integral form pins down the decomposition.
Concept and Intuition
The target antiderivative form Atan−1x+Blog(x−2)+Clog(x+2) tells us exactly what partial-fraction decomposition must have produced it: a term A/(x2+1) (integrates to Atan−1x), and terms B/(x−2), C/(x+2).
Step-by-Step Solution
- Write (x−2)(x+2)(x2+1)2x2−3=x2+1A+x−2B+x+2C.
- Multiply through: 2x2−3=A(x2−4)+B(x+2)(x2+1)+C(x−2)(x2+1).
- Set x=2: 5=A(0)+B(4)(5)+0⇒20B=5⇒B=41.
- Set x=−2: 5=0+0+C(−4)(5)⇒−20C=5⇒C=−41. …
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.If (x2+2)(x4−1)x2=x2−1A+x2+1B+x2+2C, then A+B−C= (A) 0 (B) 34 (C) 43 (D) 2
›Reveal solutionSolution
A partial-fractions problem in disguise (substitute y=x2); solving gives A+B−C=34.
Concept and Intuition
Since x4−1=(x2−1)(x2+1), the whole expression is a rational function purely in y=x2. Substituting y=x2 converts it into an ordinary partial-fractions decomposition with three distinct linear factors (y−1),(y+1),(y+2), solvable by the cover-up (Heaviside) method.
Step-by-Step Solution
- Let y=x2. The equation becomes (y+2)(y−1)(y+1)y=y−1A+y+1B+y+2C.
- Clear denominators: y=A(y+1)(y+2)+B(y−1)(y+2)+C(y−1)(y+1).
- At y=1: 1=A(2)(3)=6A⇒A=61.
- At y=−1: −1=B(−2)(1)=−2B⇒B=21.
- At y=−2: −2=C(−3)(−1)=3C⇒C=−32. …
🎓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.