Q.Integrate the following function: ∫x2+2x+2dx equals (A) xtan−1(x+1)+C (B) tan−1(x+1)+C (C) (x+1)tan−1x+C (D) tan−1x+C
🔒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 — Integration By Completing Square
Integration by Completing the Square
You can integrate x2+11 or x2−a21 on sight. But a quadratic denominator such as x2+4x+5 fits neither standard form directly. The fix is to rewrite the quadratic as a perfect square plus (or minus) a constant, turning it into a form you already know.
The move
For x2+bx+c, add and subtract (2b)2:
x2+bx+c=(x+2b)2+(c−4b2).
After substituting u=x+2b the integral collapses to ∫u2+k2du or ∫u2−k2du.
Case A — leads to inverse tangent
∫x2+4x+5dx.
Complete the square: x2+4x+5=(x+2)2+1. With u=x+2,
∫u2+1du=tan−1u+C=tan−1(x+2)+C.
∫u2+a2du=a1tan−1au+C is the workhorse when the constant left over is positive.
Case B — leads to a logarithm
∫x2−6x+5dx.
Here x2−6x+5=(x−3)2−4. With u=x−3 the denominator u2−4 factors, so use partial fractions:
∫u2−4du=41logu+2u−2+C=41logx−1x−5+C. …
Concept: Integration by completing the square.
Step 1: Complete the square in the denominator:
x2+2x+2=(x2+2x+1)+1=(x+1)2+1.
Step 2: The integral becomes
∫(x+1)2+1dx. …
The integral ∫x2+2x+2dx is solved by completing the square in the denominator to get (x+1)2+1, which matches the standard form ∫u2+a2du=a1tan−1(au)+C. The result is tan−1(x+1)+C, which corresponds to option (B).
When you see a quadratic denominator that doesn't factor nicely into linear terms, the standard play is to complete the square. Why? Because the integral ∫x2+a2dx is a known form — it gives an inverse tangent. The trick is to force the denominator into that shape: a perfect square plus a constant.
Here, x2+2x+2 is almost (x+1)2, but not quite. Let's see why that matters.
- Complete the square Take x2+2x. Half of 2 is 1, so (x+1)2=x2+2x+1. Our denominator has +2 instead of +1, so:
x2+2x+2=(x2+2x+1)+1=(x+1)2+1.
The integral becomes:
∫(x+1)2+1dx.
- Substitute to match the standard form Let u=x+1, so du=dx. Then:
∫u2+1du.
This is exactly ∫u2+a2du with a=1.
∫u2+a2du=a1tan−1(au)+C
- Apply the formula With a=1, we get:
∫u2+1du=tan−1(u)+C.
- Back-substitute Replace u with x+1: tan−1(x+1)+C. …
Method: Integral of quadratic1 with no real roots (arctan form)
Use this for ∫ax2+bx+cdx when the quadratic does not factor over the reals (discriminant b2−4ac<0). Completing the square turns it into the standard arctangent integral.
Steps
Step 1: Complete the square in the denominator.
Write ax2+bx+c=a[(x+h)2+k2] where h=2ab and k2>0 because the discriminant is negative.
Step 2: Substitute u=x+h (so du=dx) to reach the standard shape ∫u2+k2du.
Step 3: Apply the standard formula. …
Common Mistakes
Mistake 1: Ignoring the shift and answering tan−1x (distractor D).
Why it's wrong: the denominator is (x+1)2+1, centred at x=−1, not at 0; the antiderivative is tan−1(x+1). Correct approach: complete the square, substitute u=x+1, and keep the shift in the final answer.
Mistake 2: Introducing a stray factor of x (distractor A) or of (x+1) (distractor C).
Why it's wrong: ∫u2+1du=tan−1u has no polynomial multiplier out front; options like xtan−1(x+1) or (x+1)tan−1x come from mis-remembering the formula. Correct approach: use ∫u2+a2du=a1tan−1au exactly, with a=1 here. …
Showing the 12 most recent of 35 on this concept.
- AP EAPCET 2024Set eng-2024-05-22-FN1 markMCQQ.∫1+x+x22dx= (A) 34tan−1(32x−1)+c (B) 34tan−1(32x+1)+c (C) 32tan−1(32x−1)+c (D) 32tan−1(32x+1)+c
›Reveal solutionSolution
Complete the square in the denominator and apply the standard ∫x2+a2dx=a1tan−1(x/a) form. Answer: option (B).
Concept and Intuition
Any irreducible quadratic ax2+bx+c in a denominator under a simple rational integrand can be handled by completing the square to reduce it to the standard u2+a2 form, whose antiderivative is a scaled arctangent.
Step-by-Step Solution
- Complete the square: 1+x+x2=(x+21)2+43=(x+21)2+(23)2.
- So the integral is 2∫(x+21)2+(23)2dx.
- Using ∫u2+a2du=a1tan−1(u/a) with u=x+21, a=23:
2⋅3/21tan−1(3/2x+1/2)=34tan−1(32x+1)+c.
Common Mistakes …
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.If ∫x4+1x2+1dx=f(x)+c, then f(x)= ________ (A) 21Tan−1(2xx2+1) (B) 21Tan−1(2xx2−1) (C) 21Tan−1(2x1−x2) (D) 21Tan−1(2x1+x4)
›Reveal solutionSolution
The classic "divide by x2, substitute u=x−1/x" trick converts this rational integral into an arctangent. Answer: 21tan−1(2xx2−1).
Concept and Intuition
Integrals of the form ∫x4+1x2±1dx are classically solved by dividing through by x2 and recognizing x2+x21=(x∓x1)2±2, which lets u=x∓x1 turn it into ∫u2±2du.
Step-by-Step Solution
- Divide numerator and denominator by x2: x4+1x2+1=x2+1/x21+1/x2.
- Let u=x−x1⇒du=(1+x21)dx.
- Note u2=x2−2+x21⇒x2+x21=u2+2.
- So the integral becomes ∫u2+2du=21tan−1(2u)+c. …
- AP EAPCET 2025Set eng-2025-05-26-AN1 markMCQQ.∫1+x+x21dx= (A) 32log(2x−1−32x+1+3)+c (B) 31log(2x+1+32x+1−3)+c (C) 32tan−1(32x+1)+c (D) 52tan−1(52x+1)+c
›Reveal solutionSolution
Completing the square turns the quadratic denominator into a sum of squares, a standard ∫u2+a2dx form.
Concept and Intuition
Any ∫ax2+bx+cdx with no real roots in the denominator reduces, by completing the square, to the standard arctan integral ∫u2+a2du=a1tan−1au+c.
Step-by-Step Solution
- 1+x+x2=(x+21)2+1−41=(x+21)2+43.
- So the integral is ∫(x+21)2+(23)2dx.
- Using ∫u2+a2du=a1tan−1au+c with u=x+21, a=23: =3/21tan−1(3/2x+1/2)+c=32tan−1(32x+1)+c. …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.∫(tanx+cotx)dx= (A) 2Tan−1(tanxtanx−1)+c (B) Tan−1(2tanxtanx−2)+c (C) 2Tan−1(2tanxtanx−1)+c (D) 2Tan−1(2tanxtanx+1)+c
›Reveal solutionSolution
The integral ∫(tanx+cotx)dx is a classic "sum of square-root trig" integral that reduces to an arctangent form; verified here by direct differentiation, giving option (C).
Concept and Intuition
tanx+cotx combines to tanxtanx+1, and integrals of this shape are standard results that produce an inverse-tangent (or occasionally inverse-sine) antiderivative involving 2tanx. Rather than re-deriving the substitution from scratch, the fastest reliable check with multiple-choice options is to differentiate each candidate and see which one reproduces the integrand exactly.
Step-by-Step Solution
- Rewrite the integrand: tanx+cotx=tanx+tanx1=tanxtanx+1.
- Test option (C): let u=2tanxtanx−1, and check dxd[2Tan−1(u)]=2⋅1+u2u′.
- Compute 1+u2=1+2tanx(tanx−1)2=2tanx2tanx+(tanx−1)2=2tanxtan2x+1=2tanxsec2x.
- Compute u′ (quotient rule on u=(tanx−1)(2tanx)−1/2):
u′=sec2x(2tanx)−3/2[(2tanx)−(tanx−1)]=sec2x(2tanx)−3/2(tanx+1).
- Combine: 1+u2u′=sec2x(2tanx)−3/2(tanx+1)⋅sec2x2tanx=(2tanx)3/22tanx(tanx+1)=2tanxtanx+1⋅11 (after simplifying (2tanx)3/2/(2tanx)=2tanx), giving 2tanxtanx+1. …
- AP EAPCET 2025Set eng-2025-05-26-FN1 markMCQQ.If ∫x2+x+2x2−x+2dx=x−log(f(x))+72tan−1(g(x))+c, then f(−1)+7g(−1)= (A) 1 (B) 0 (C) −1 (D) 2
›Reveal solutionSolution
Splitting the numerator to isolate the derivative of the denominator identifies f(x)=x2+x+2 and g(x)=72x+1, giving f(−1)+7g(−1)=1.
Concept and Intuition
For a rational function whose numerator and denominator are both quadratics with the same leading coefficient, subtracting the denominator from the numerator strips off the constant term, leaving a simpler linear-over-quadratic integral that splits into a logarithm part (from the derivative of the denominator) and an arctan part (from completing the square).
Step-by-Step Solution
- Note x2+x+2−2x=x2−x+2, so x2+x+2x2−x+2=1−x2+x+22x.
- ∫1dx=x.
- For ∫x2+x+22xdx, write 2x=(2x+1)−1:
- ∫x2+x+22x+1dx=log(x2+x+2) (numerator is exactly the derivative of the denominator).
- ∫x2+x+2−1dx=−∫(x+21)2+47dx=−72tan−1(72x+1).
- So ∫x2+x+22xdx=log(x2+x+2)−72tan−1(72x+1). …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.∫2x+4x−2dx= (A) x−2−21Tan−1(2x−2)+c (B) x−2−2Tan−1(2x−2)+c (C) x−2+2Tan−1(2x−2)+c (D) x−2+21Tan−1(2x−2)+c
›Reveal solutionSolution
A rationalizing substitution x−2=t2 converts the integral into a simple ∫(1−t2+44)dt, giving x−2−2Tan−1(2x−2)+c.
Concept and Intuition
Whenever an integral has a single square root of a linear expression (here x−2), the substitution x−2=t2 (so t=x−2) removes the square root entirely and typically converts the integral into a rational function of t, which is then handled by the standard ∫t2+a2dt arctan formula.
Step-by-Step Solution
- Simplify the denominator first: 2x+4=2(x+2), so the integral is 21∫x+2x−2dx.
- Substitute x−2=t2⇒x=t2+2, dx=2tdt, and x+2=t2+4.
- The integral becomes
21∫t2+4t⋅2tdt=∫t2+4t2dt.
- Split the rational function: t2+4t2=1−t2+44.
- Integrate termwise: ∫(1−t2+44)dt=t−4⋅21Tan−1(2t)+c=t−2Tan−1(2t)+c.
- Substitute back t=x−2: …
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.∫x2+x+1x+1dx= (A) 21x2+x+1+21cosh−1(3x+2)+c (B) 21x2+x+1+32tan−1(32x+1)+c (C) x2+x+1+32log∣x2+x+1∣+c (D) x2+x+1+21sinh−1(32x+1)+c
›Reveal solutionSolution
Splitting the numerator into a multiple of the derivative of the radicand plus a constant is the standard technique for ∫ax2+bx+cpx+qdx; here it gives x2+x+1+21sinh−1(32x+1)+c.
Concept and Intuition
For ∫quadraticlineardx, write the linear numerator as A⋅(derivative of quadratic)+B. The A-part becomes a simple power-rule integral (since it's exactly u−1/2du), and the B-part reduces to the standard ∫x2+a2dx=sinh−1(x/a)+c form after completing the square.
Step-by-Step Solution
- Write x+1=21(2x+1)+21.
- First part: 21∫x2+x+12x+1dx. Let u=x2+x+1, du=(2x+1)dx: this is 21∫u−1/2du=21⋅2u1/2=x2+x+1.
- Second part: 21∫x2+x+1dx=21∫(x+1/2)2+3/4dx.
- This is of the form 21∫u2+a2du with u=x+1/2, a=3/2, giving 21sinh−1(au)=21sinh−1(32x+1). …
- AP EAPCET 2023Set eng-2023-05-17-AN1 markMCQQ.∫(2ax+x2)3/2dx= (A) a21(2ax+x2x+a)+C (B) a21(2ax+x2x−a)+C (C) a2−1(2ax+x2x−a)+C (D) a2−1(2ax+x2x+a)+C
›Reveal solutionSolution
Completing the square converts the integral into the standard form ∫du/(u2−a2)3/2, which has a known closed form; back-substituting gives option (D).
Concept and Intuition
Many integrals of the form ∫dx/(quadratic)3/2 become standard once the quadratic is completed to a perfect-square-minus-constant form; the resulting substitution u=x+a reduces it to a memorized/derivable antiderivative.
Step-by-Step Solution
- 2ax+x2=x2+2ax+a2−a2=(x+a)2−a2. Let u=x+a, du=dx.
- The integral becomes ∫(u2−a2)3/2du.
- Standard result (verifiable by differentiation): ∫(u2−a2)3/2du=a2u2−a2−u+C. Check: dud[a2u2−a2−u]=(u2−a2)3/21 ✓. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.∫9x2−12x+1(3x−2)tan(9x2−12x+1)dx= (A) 31sec29x2−12x+1+c (B) 31sec2x+c (C) 21logsec9x2−12x+1+c (D) 31logsec9x2−12x+1+c
›Reveal solutionSolution
A double substitution — first u=9x2−12x+1, then w=u — turns the integral into a plain ∫tanwdw, giving 31log∣sec9x2−12x+1∣+c.
Concept and Intuition
When (3x−2) (half the derivative of 9x2−12x+1) sits outside a function of 9x2−12x+1, a chained substitution — first for the quadratic, then for its square root — collapses the whole expression to a single-variable standard integral.
Step-by-Step Solution
- Let u=9x2−12x+1. Then du=(18x−12)dx=6(3x−2)dx, so (3x−2)dx=6du.
- Integral becomes ∫utanu⋅6du=61∫utanudu.
- Let w=u, so dw=2udu, i.e. udu=2dw.
- Integral becomes 61∫tanw⋅2dw=31∫tanwdw=31(−log∣cosw∣)+c=31log∣secw∣+c. …
- AP EAPCET 2021Set eng-2021-08-23-FN1 markMCQQ.If ∫cos4x+sin4xdx=21tan−1[g(x)]+c, then g(x) equals ______ (A) 2tanx−cotx (B) 2tanx+cotx (C) 2sinx−cosx (D) 2sinx+cosx
›Reveal solutionSolution
A standard trick for ∫dx/(cos4x+sin4x): convert to tangent, then use the z=u−1/u substitution that turns a symmetric quartic denominator into a simple quadratic.
Concept and Intuition
Expressions like u4+1 in a denominator, paired with a numerator 1+u2, are tailor-made for the substitution z=u−1/u (or z=u+1/u), because u2+1/u2=(u∓1/u)2±2 collapses the quartic structure into a quadratic in z.
Step-by-Step Solution
- Divide numerator and denominator by cos4x: cos4x+sin4xdx=1+tan4xsec4xdx.
- Write sec4x=(1+tan2x)sec2x, so the integral is ∫1+tan4x(1+tan2x)sec2xdx.
- Let u=tanx, du=sec2xdx: integral becomes ∫1+u4(1+u2)du.
- Divide numerator and denominator by u2: ∫u2+1/u2(1+1/u2)du.
- Let z=u−u1, so dz=(1+u21)du, and u2+u21=z2+2. …
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.∫(1+x)x−x2dx= (A) −21−x1+x+c (B) −1+x1−x+c (C) −21+x1−x+c (D) 21−x1+x+c
›Reveal solutionSolution
Two successive substitutions (t=x, then w=(1−t)/(1+t)) collapse the integral to ∫−2dw; the answer is −21+x1−x+c.
Concept and Intuition
The presence of x inside (1+x) and inside x−x2=x1−x both suggest first substituting t=x. What remains — a rational-times-square-root expression in t symmetric under t→−t in a (1±t) sense — is the classic cue for the substitution w2=1+t1−t, which rationalizes everything at once.
Step-by-Step Solution
- Note x−x2=x(1−x), so x−x2=x1−x, and the integral is
∫(1+x)x1−xdx.
- Let t=x, so x=t2, dx=2tdt:
∫(1+t)t1−t22tdt=∫(1+t)(1−t)(1+t)2dt=∫(1+t)3/2(1−t)1/22dt.
- Let w=1+t1−t, so t=1+w21−w2 and dt=(1+w2)2−4wdw. One finds
1+t=1+w22,1−t=1+w22w2,
so
(1+t)3/2(1−t)1/2=(1+w2)24w.
- Substituting, …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.∫sin2xsinx−cosxdx= (A) −log∣sinx−cosx+sin2x∣+c (B) −log∣sinx+cosx−sin2x∣+c (C) −log∣sinx+cosx+sin2x∣+c (D) −log∣sinx−cosx−sin2x∣+c
›Reveal solutionSolution
The key substitution is t=sinx+cosx, which turns sin2x into t2−1 and the numerator into −dt, reducing the integral to a standard ∫t2−1dt form.
Concept and Intuition
Expressions like sinx±cosx paired with sin2x are a classic signal to substitute t=sinx±cosx, because (sinx+cosx)2=1+sin2x and (sinx−cosx)2=1−sin2x — this converts everything to a single variable.
Step-by-Step Solution
- Let t=sinx+cosx. Then dt=(cosx−sinx)dx=−(sinx−cosx)dx.
- Also t2=sin2x+cos2x+2sinxcosx=1+sin2x, so sin2x=t2−1, i.e. sin2x=t2−1.
- Rewrite the integral:
∫sin2xsinx−cosxdx=∫t2−1−dt=−logt+t2−1+c.
- Substitute back t=sinx+cosx and t2−1=sin2x: …
🎓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.