Q.Evaluate: ∫5−2x+x2dx
🔒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, then the standard integral for x2+a2.
Complete the square inside the radical:
5−2x+x2=x2−2x+1+4=(x−1)2+4.
So the integral is ∫(x−1)2+22dx, which matches the standard form
∫u2+a2du=2uu2+a2+2a2logu+u2+a2+C,
with u=x−1 and a=2. Substituting back (and using (x−1)2+4=x2−2x+5): …
Complete the square to turn 5−2x+x2 into (x−1)2+4, then apply the CBSE standard integral ∫u2+a2du. Final answer: 2x−1x2−2x+5+2logx−1+x2−2x+5+C.
The plan
An integral of the form ∫quadraticdx is handled in two moves: first complete the square so the quadratic becomes (x−h)2+k2, then use the memorised standard integral for u2+a2.
Step 1 — Complete the square
Re-order the quadratic as x2−2x+5 and complete the square:
x2−2x+5=(x2−2x+1)+4=(x−1)2+4.
So
∫5−2x+x2dx=∫(x−1)2+4dx.
Step 2 — Substitute
Put u=x−1, du=dx:
∫u2+22du.
Step 3 — Apply the standard integral
The CBSE standard result is
∫u2+a2du=2uu2+a2+2a2logu+u2+a2+C.
With a=2 (so a2=4, 2a2=2):
∫u2+4du=2uu2+4+2logu+u2+4+C. …
Method: Integrating quadratic by completing the square
Use this for ∫quadraticdx where the quadratic has a positive x2. Complete the square to u2+a2, then apply the standard ∫u2+a2du formula.
Steps
Step 1: Complete the square.
5−2x+x2=(x−1)2+4,
so set u=x−1, a2=4.
Step 2: Recall the standard integral.
∫u2+a2du=2uu2+a2+2a2logu+u2+a2+C.
Step 3: Substitute u=x−1, a2=4. …
Common Mistakes
Mistake 1: Using the wrong standard template.
Why it's wrong: ∫u2+a2du has a log/arcsinh second term, while ∫a2−u2du has an arcsine — mixing them is a common slip. Correct approach: match the sign inside the root (u2+a2 here).
Mistake 2: Forgetting the 2a2 coefficient. …
Showing the 12 most recent of 35 on this concept.
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.∫x2−2x+5xdx= (A) x2−2x+5+Sinh−1(2x−1)+c (B) 21x2−2x+5+Sin−1(2x−1)+c (C) 2x2−2x+5+Cosh−1(2x−1)+c (D) x2−2x+5−Cos−1(2x−1)+c
›Reveal solutionSolution
A rational-times-radical integral of the form ∫ax2+bx+cxdx, split by writing the numerator to match the derivative of the radicand. Answer: x2−2x+5+Sinh−1(2x−1)+c.
Concept and Intuition
The standard technique for ∫x2+bx+cxdx is to complete the square in the radicand and write x as (half the derivative of the radicand) plus a constant — this splits the integral into an easy "u/u2+a2" piece and a standard inverse hyperbolic-sine piece.
Step-by-Step Solution
- Complete the square: x2−2x+5=(x−1)2+4.
- Let u=x−1⇒x=u+1, dx=du. The integral becomes ∫u2+4u+1du.
- Split: ∫u2+4udu+∫u2+4du.
- First piece: ∫u2+4udu=u2+4+C1 (direct substitution w=u2+4).
- Second piece: ∫u2+4du=Sinh−1(2u)+C2 (standard form ∫u2+a2du=Sinh−1(u/a)). …
- 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-22-AN1 markMCQQ.∫x2+x+1dx (A) 4(2x+1)x2+x+1+83Sinh−1(32x+1)+c (B) 4x+1x2+x+1+83Sinh−1(32x+1)+c (C) 4x+1x2+x+1−83Sinh−1(32x+1)+c (D) 4(2x+1)x2+x+1−83Sinh−1(32x+1)+c
›Reveal solutionSolution
Completing the square turns x2+x+1 into the standard u2+a2 form, whose known integral gives option (A).
Concept and Intuition
The standard result ∫u2+a2du=2uu2+a2+2a2Sinh−1(au)+c applies to any quadratic under a square root once it's written as a perfect square plus a constant.
Step-by-Step Solution
- Complete the square: x2+x+1=(x+21)2+43. Let u=x+21, a2=43 (so a=23).
- Apply the formula: ∫u2+a2du=2uu2+a2+2a2Sinh−1(au)+c.
- 2u=2x+21=42x+1, and u2+a2=x2+x+1.
- 2a2=23/4=83, and au=3/2x+21=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 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 2026Set eng-2026-05-18-AN1 markMCQQ.For x>0, if ∫x2+5x+71dx=32F(x)+k and F(−25)=0, then sin(F(x))= (A) 32x−5 (B) 2x2+5x+72x+5 (C) 2x+52x2+5x+7 (D) 32x2+5x+7
›Reveal solutionSolution
Complete the square to integrate the quadratic denominator as a standard arctangent form, identify F(x) from the boundary condition, then convert sin(arctanu) into an algebraic expression.
Concept and Intuition
Any integral of the form ∫x2+px+qdx reduces to the standard ∫u2+a2du=a1arctanau+C once the quadratic is written as a completed square. Here the given answer form 32F(x)+k tells us F must be exactly that arctangent (up to an additive constant fixed by the given boundary value), after which sin(arctanu)=u/1+u2 finishes the job.
Step-by-Step Solution
- Complete the square: x2+5x+7=(x+25)2+(7−425)=(x+25)2+43.
- Standard integral: ∫(x+5/2)2+(3/2)2dx=3/21arctan(3/2x+5/2)+C=32arctan(32x+5)+C.
- Matching the given form 32F(x)+k, take F(x)=arctan(32x+5)+c0. Since F(−5/2)=0: at x=−5/2, 32x+5=0, so arctan(0)+c0=c0=0. Thus F(x)=arctan(32x+5).
- Let u=32x+5, so F(x)=arctanu and sin(F(x))=1+u2u. …
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.If ∫x2+x+13x2+5x+4dx=Ax2+x+1+46xx2+x+1+Bsinh−132x+1+c, then A+2B= (A) 5 (B) 8 (C) 831 (D) 522
›Reveal solutionSolution
Splitting the numerator into a multiple of (x2+x+1) plus an exact-derivative term, then applying the standard ∫u2+a2du formula, gives A=11/4, B=9/8, so A+2B=5.
Concept and Intuition
For ∫quadraticquadraticdx, the standard technique writes the numerator as (a multiple of the inner quadratic) + (a multiple of its derivative) + (a constant), reducing the problem to two building blocks: ∫x2+bx+c2x+bdx=2x2+bx+c, and ∫x2+bx+cdx via completing the square into the sinh−1 form.
Step-by-Step Solution
- Write 3x2+5x+4=3(x2+x+1)+(2x+1) (check: 3x2+3x+3+2x+1=3x2+5x+4 ✓).
- ∫x2+x+12x+1dx=2x2+x+1, since 2x+1 is exactly the derivative of x2+x+1.
- For ∫x2+x+1dx, complete the square: x2+x+1=(x+21)2+43. With u=x+21, a2=43: ∫u2+a2du=2uu2+a2+2a2sinh−1au+C.
- This gives 2x+1/2x2+x+1+3/8sinh−132x+1+C=42x+1x2+x+1+83sinh−132x+1+C.
- Multiply by 3 (from step 1's coefficient): 3∫x2+x+1dx=43(2x+1)x2+x+1+89sinh−132x+1+C. …
- 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 2021Set eng-2021-08-25-AN1 markMCQQ.∫7−6x−x2dx= (A) Sinh−1(4x+3)+c (B) log4x+3+c (C) Sin−1(4x+3)+c (D) 21Sin−1(4x+3)+c
›Reveal solutionSolution
Completing the square under the root reveals the standard form ∫a2−u2dx=sin−1(u/a). Answer: sin−1(4x+3)+c.
Concept and Intuition
A quadratic under a square root, when completed to the square, reveals which standard integral form applies: a2−(x−h)2 gives an arcsine, while (x−h)2+a2 or (x−h)2−a2 give hyperbolic-inverse/log forms.
Step-by-Step Solution
- 7−6x−x2=−(x2+6x−7)=−[(x+3)2−9−7]=−(x+3)2+16=16−(x+3)2.
- So the integral is ∫42−(x+3)2dx.
- Using ∫a2−u2du=sin−1(au)+c with u=x+3, a=4: …
- AP EAPCET 2024Set eng-2024-05-20-AN1 markMCQQ.∫2cosx+32−sinxdx= (A) 52Tan−1(31tan2x)−log2cosx+3+c (B) 54Tan−1(51tan2x)+log2cosx+3+c (C) 53Tan−1(51tan2x)+log2cosx−3+c (D) 51Tan−1(51tan3x)−log2cosx−3+c
›Reveal solutionSolution
Decompose the numerator into a multiple of the denominator's derivative plus a constant; the log part and arctan part combine to option (B).
Concept and Intuition
For integrals of the form ∫a+bcosxp+qsinxdx, write the numerator as λ⋅(derivative of denominator)+μ (a pure constant), so the integral splits into a straightforward logarithmic piece and a standard ∫a+bcosxdx piece (solved via the Weierstrass/half-angle substitution).
Step-by-Step Solution
- Let D(x)=2cosx+3, so D′(x)=−2sinx.
- Write 2−sinx=αD′(x)+λ=−2αsinx+λ. Matching sinx coefficients: −2α=−1⇒α=21. Matching constants: λ=2.
- So ∫2cosx+32−sinxdx=21∫D(x)D′(x)dx+2∫2cosx+3dx=21log∣2cosx+3∣+2I, where I=∫2cosx+3dx.
- Standard result (with a=3, b=2, a>b): I=a2−b22tan−1(a+ba−btan2x)=52tan−1(51tan2x) (since a2−b2=5 and (a−b)/(a+b)=1/5).
- So 2I=54tan−1(51tan2x). …
- AP EAPCET 2023Set eng-2023-05-16-FN1 markMCQQ.∫x32x4−2x2+1x2−1dx= (A) 2x212x4+2x2+1+C (B) 2x212x4−2x2+1+C (C) 2x214x4−2x2+1+C (D) 2x214x4+2x2+1+C
›Reveal solutionSolution
Verify by differentiation: F(x)=2x212x4−2x2+1 differentiates back to the given integrand, so this is the antiderivative.
Concept and Intuition
When an integrand looks like it could come from differentiating a quotient of the form x2quartic, the fastest rigorous route (especially under exam time pressure) is to differentiate the most plausible option and check it reproduces the integrand exactly, rather than deriving the substitution from scratch.
Step-by-Step Solution
- Let u=2x4−2x2+1 and F=2x2u.
- u′=2u8x3−4x=u4x3−2x.
- Quotient rule: F′=4x4u′⋅2x2−u⋅4x=4x4u(4x3−2x)⋅2x2−4xu.
- Multiply numerator and denominator by u: F′=4x4u2x2(4x3−2x)−4xu2=4x4u8x5−4x3−4x(2x4−2x2+1).
- Expand the numerator: 8x5−4x3−8x5+8x3−4x=4x3−4x. …
- 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 …
🎓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.