Q.Integrate the following function: x2−2x−5x+3
🔒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. …
Split the numerator into (derivative of denominator) + constant.
dxd(x2−2x−5)=2x−2, and x+3=21(2x−2)+4.
∫x2−2x−5x+3dx=21∫x2−2x−52x−2dx+4∫x2−2x−5dx.
First: 21log∣x2−2x−5∣.
Second: complete the square, x2−2x−5=(x−1)2−6. With ∫u2−a2du=2a1logu+au−a and a=6: …
Write x+3=21(2x−2)+4: the first part integrates to a log of the denominator, the second (after completing the square) to 62logx−1+6x−1−6. Result: 21log∣x2−2x−5∣+62logx−1+6x−1−6+C.
The strategy
For a linear numerator over a quadratic that doesn't factor over the rationals, force the numerator to contain the derivative of the denominator. Whatever is left over is a constant, handled by completing the square.
dxd(x2−2x−5)=2x−2.
Match x+3=A(2x−2)+B: from the x-term 2A=1⇒A=21; then −2A+B=3⇒B=4. So x+3=21(2x−2)+4.
Step 1 — the derivative part (a log)
21∫x2−2x−52x−2dx=21log∣x2−2x−5∣,
since the numerator is exactly the derivative of the denominator.
Step 2 — the constant part (complete the square)
x2−2x−5=(x−1)2−6=(x−1)2−(6)2. …
Method: quadraticlinear with real roots — log part + difference-of-squares log
For a linear numerator over a quadratic that has real roots (positive constant subtracted after completing the square), split into a derivative part and a constant part; the constant part is a difference of squares, giving a logarithm of a ratio — not an arctan.
Steps
Step 1: Split. With D(x)=x2+bx+c and D′(x)=2x+b, write px+q=λD′(x)+μ. …
Common Mistakes
Mistake 1: Using arctan for the constant piece.
Why it's wrong: x2−2x−5 completes to (x−1)2−6, a difference of squares, so the integral is 2a1logu+au−a, not a1tan−1au. Correct approach: check the sign — a negative constant after completing the square means the log-ratio form.
Mistake 2: Forgetting the 2a1 factor. …
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 2026Set eng-2026-05-13-AN1 markMCQQ.If ∫7−6x−x22x+5dx=A7−6x−x2+Bsin−1(4x+3)+c then the ordered pair (A,B)= (A) (−2,−1) (B) (2,−1) (C) (−2,1) (D) (2,1)
›Reveal solutionSolution
Splitting 2x+5 into a multiple of the derivative of 7−6x−x2 plus a constant reduces the integral to a standard term plus an sin−1 term, giving (A,B)=(−2,−1).
Concept and Intuition
For ∫ax2+bx+cpx+qdx, always split the numerator as (multiple of the derivative of the quadratic under the root) + (constant), because ∫f(x)f′(x)dx=2f(x) handles the first part exactly, leaving a pure 1/quadratic integral for the second part (an inverse-sine form after completing the square).
Step-by-Step Solution
- Let f(x)=7−6x−x2. Then f′(x)=−6−2x.
- Write 2x+5=λ(−6−2x)+μ. Matching coefficients of x: 2=−2λ⇒λ=−1. Matching constants: 5=−6λ+μ=6+μ⇒μ=−1.
- So 2x+5=−1⋅(−6−2x)−1.
- ∫f(x)2x+5dx=−1∫f(x)f′(x)dx−∫f(x)dx=−1⋅2f(x)−∫f(x)dx.
- Complete the square: 7−6x−x2=−(x2+6x−7)=−((x+3)2−16)=16−(x+3)2. …
- 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-15-AN1 markMCQQ.If ∫x[(logx)2+4logx−1]1dx=Alog[logx+Clogx+B]+K where K is the constant of integration, then (A) A=251,B=(2−5),C=(2+5) (B) A=−251,B=(2−5),C=(2+5) (C) A=251,B=(2+5),C=(2−5) (D) A=−251,B=(2+5),C=(2−5)
›Reveal solutionSolution
Substituting t=logx turns the integral into a standard ∫dt/(t2−a2)-type form (after completing the square), directly giving A,B,C.
Concept and Intuition
Whenever an integral contains logx repeatedly and dx/x is available (or can be produced), the substitution t=logx (so dt=dx/x) simplifies it into a rational-function integral in t, solvable by completing the square and the standard log formula for ∫dt/(t2−a2).
Step-by-Step Solution
- Let t=logx⇒dt=xdx. The integral becomes ∫t2+4t−1dt.
- Complete the square: t2+4t−1=(t+2)2−5.
- ∫(t+2)2−5dt=251log(t+2)+5(t+2)−5+K (standard formula ∫u2−a2du=2a1logu+au−a, with u=t+2,a=5). …
- 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 2023Set eng-2023-05-16-AN1 markMCQQ.If ∫4x2+4x+53x+2dx=Alog(4x2+4x+5)+Btan−1(x+21)+C, then (A,B)= (A) (83,81) (B) (85,81) (C) (−83,81) (D) (−85,81)
›Reveal solutionSolution
Splitting the numerator to match the derivative of the denominator plus a constant gives A=3/8,B=1/8.
Concept and Intuition
For ∫ax2+bx+cpx+qdx, write px+q as a multiple of the denominator's derivative plus a constant remainder, splitting into a log term and an arctan term.
Step-by-Step Solution
- dxd(4x2+4x+5)=8x+4.
- Write 3x+2=83(8x+4)+k: 83(8x+4)=3x+1.5, so k=2−1.5=0.5.
- ∫4x2+4x+53x+2dx=83∫4x2+4x+58x+4dx+21∫4x2+4x+5dx.
- First integral: 83log(4x2+4x+5).
- Complete the square: 4x2+4x+5=4[(x+1/2)2+1]. …
- AP EAPCET 2021Set eng-2021-08-25-FN1 markMCQQ.If ∫x(x+1)(x+2)(x+3)+12x+3dx=ax2+bx+c−1+α, then value of a+b+c= (A) 3 (B) 4 (C) 5 (D) 6
›Reveal solutionSolution
Pair up the four linear factors to reveal a perfect-square quadratic denominator, then spot that the numerator is exactly its derivative.
Concept and Intuition
Products like x(x+1)(x+2)(x+3) can be regrouped as [x(x+3)][(x+1)(x+2)], both of which share the common quadratic x2+3x — substituting t=x2+3x collapses the quartic into a simple quadratic in t, and adding 1 often produces a perfect square.
Step-by-Step Solution
- Pair the factors: x(x+3)=x2+3x and (x+1)(x+2)=x2+3x+2.
- Let t=x2+3x. Then x(x+1)(x+2)(x+3)=t(t+2)=t2+2t.
- Add the +1 from the problem: t2+2t+1=(t+1)2=(x2+3x+1)2.
- So denominator D=(x2+3x+1)2. Notice dxd(x2+3x+1)=2x+3, which is exactly the numerator!
- So the integral is ∫u2u′dx where u=x2+3x+1, giving −u1+c=−x2+3x+11+c. …
- 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 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 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 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). …
🎓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.