Q.Integrate the following function: 9x2+6x+51
🔒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: U Substitution — we complete the square in the denominator to match the standard form ∫x2+a2dx=a1tan−1ax+C.
Step 1: Complete the square.
9x2+6x+5=9(x2+32x)+5=9[(x+31)2−91]+5=9(x+31)2+4.
Step 2: Rewrite the integral.
∫9x2+6x+5dx=∫9(x+31)2+4dx
Step 3: Substitute u=x+31, so du=dx.
=∫9u2+4du=41∫(23u)2+1du …
The key idea is to rewrite the denominator as a perfect square plus a constant, then use the standard arctangent integral formula. The final result is 61tan−1(23x+1)+C.
We are integrating ∫9x2+6x+51dx. The denominator is a quadratic that does not factor nicely over the reals (its discriminant is 62−4⋅9⋅5=36−180=−144<0). This immediately suggests the integral will involve an inverse tangent.
The standard form for such integrals is:
∫u2+a21du=a1tan−1(au)+C
So our job is to force the denominator into the shape u2+a2 by completing the square.
Why completing the square works here: A quadratic Ax2+Bx+C can always be written as A(x+2AB)2+(C−4AB2). This isolates the variable into a single squared term, leaving a constant. Once we have (something)2+constant, a simple substitution u=something and a factor adjustment gives us the arctangent form.
Let's do it step by step.
- Complete the square in the denominator. Factor out the coefficient of x2 from the first two terms:
9x2+6x+5=9(x2+32x)+5
Inside the parentheses, take half of 32 (which is 31) and square it to get 91. Add and subtract this inside:
9(x2+32x+91−91)+5=9((x+31)2−91)+5
Distribute the 9:
9(x+31)2−1+5=9(x+31)2+4
So the denominator becomes 9(x+31)2+4.
-
Factor to match the u2+a2 pattern.
We have 9(x+31)2+4. Notice that 9(x+31)2=[3(x+31)]2=(3x+1)2.
So the denominator is (3x+1)2+4.
This is exactly u2+a2 with u=3x+1 and a=2 (since 22=4).
-
Perform the substitution.
Let u=3x+1. Then du=3dx, so dx=3du.
The integral becomes:
∫(3x+1)2+41dx=∫u2+221⋅3du=31∫u2+41du
- Apply the arctangent formula. …
Method: Complete the square, then use ∫u2+a2du (arctangent)
For quadratic1 where the quadratic has no real roots, complete the square to reach (linear)2+a2 in the denominator, then apply the arctangent standard form.
Steps
Step 1: Complete the square in the denominator.
9x2+6x+5=(3x+1)2+4
(check: (3x+1)2=9x2+6x+1, plus 4 gives 9x2+6x+5).
Step 2: Substitute the linear block.
u=3x+1, du=3dx⇒dx=31du, so the integral is 31∫u2+4du.
Step 3: Apply the standard result. …
Common Mistakes
Mistake 1: Forgetting the 31 from dx=31du after substituting u=3x+1.
Why it's wrong: because u=3x+1 has slope 3, dx=31du; dropping it makes the answer three times too large. Correct approach: carry the 31 alongside the a1=21, giving the 61 coefficient.
Mistake 2: Applying a log/sinh−1 form instead of tan−1. …
- COMEDK 2026Set 2026-M1 markMCQQ.
[!FORMULA] ∫2ax−x2dx=
(A) 2x−a2ax−x2+2a2cos−1(ax−a)+C (B) 2a22ax−x2+2x−asin−1(ax−a)+C (C) 2x−a2ax−x2+2a2sin−1(ax−a)+C (D) 2a22ax−x2+2x−acos−1(ax−a)+C›Reveal solutionSolution
The integral ∫2ax−x2dx is solved by completing the square to get a2−(x−a)2, then using a trigonometric substitution x−a=asinθ; the result is 2x−a2ax−x2+2a2sin−1(ax−a)+C, which matches option (C).
Concept and Intuition
The expression under the square root, 2ax−x2, is a quadratic in x that is not a perfect square. The standard trick for integrating quadratic is to complete the square so it becomes something like a2−(x−h)2 or (x−h)2+k2. Once we have the form a2−u2, the substitution u=asinθ (or u=acosθ) turns the integral into a simple trigonometric one. The final answer will involve an inverse sine (or cosine) and a term like 2ua2−u2.
Step-by-step solution
- Complete the square
2ax−x2=−(x2−2ax)=−[(x−a)2−a2]=a2−(x−a)2.
So the integral becomes
∫a2−(x−a)2dx.
- Choose a substitution Let u=x−a, so du=dx. Then
∫a2−u2du.
This is a classic form. The natural substitution is u=asinθ, with −2π≤θ≤2π (so that cosθ≥0). Then du=acosθdθ, and
a2−u2=a2−a2sin2θ=a1−sin2θ=a∣cosθ∣=acosθ.
- Transform the integral
∫a2−u2du=∫(acosθ)(acosθdθ)=a2∫cos2θdθ.
- Integrate cos2θ Use the identity cos2θ=21+cos2θ:
a2∫21+cos2θdθ=2a2(θ+2sin2θ)+C=2a2θ+4a2sin2θ+C.
- Back-substitute in terms of u Since sin2θ=2sinθcosθ, we have
4a2sin2θ=2a2sinθcosθ.
Now sinθ=au and cosθ=aa2−u2 (positive because of our range). So
2a2sinθcosθ=2a2⋅au⋅aa2−u2=2ua2−u2.
Also θ=sin−1(au).
- Return to x Recall u=x−a, so
- COMEDK 2025Set 2025-A1 markMCQQ.∫x4x2−9dx= (A) 32logx+3x−3+c (B) 34tan−1(34x2−9)+c (C) 32logx−3x+3+c (D) 31tan−1(34x2−9)+c
›Reveal solutionSolution
The integral ∫x4x2−9dx is a standard form solved by the substitution x=23secθ, leading to the result 31tan−1(34x2−9)+c, which corresponds to option (D).
Concept & Intuition
When we see 4x2−9, it resembles a2x2−b2, which suggests a secant substitution. The idea: let x=23secθ so that 4x2−9=9sec2θ−9=9tan2θ, and the square root simplifies to 3∣tanθ∣. This turns the integral into a simple trigonometric form. The key is recognizing that the denominator x4x2−9 becomes 23secθ⋅3tanθ, and dx=23secθtanθdθ, so the whole thing collapses nicely.
Step-by-step solution
- Set up the substitution Let x=23secθ, where θ∈[0,π/2)∪(π/2,π] (we take the principal branch where tanθ≥0 for x≥3/2). Then
dx=23secθtanθdθ.
- Simplify the square root
4x2−9=4(49sec2θ)−9=9sec2θ−9=9(sec2θ−1)=9tan2θ.
Hence 4x2−9=3∣tanθ∣. For x≥3/2, θ∈[0,π/2), so tanθ≥0 and we can drop the absolute value: 4x2−9=3tanθ.
- Rewrite the integral
∫x4x2−9dx=∫23secθ⋅3tanθ23secθtanθdθ=∫23secθ⋅3tanθ23secθtanθdθ=∫3dθ.
- Integrate
∫3dθ=31θ+c.
- Back-substitute Since x=23secθ, we have secθ=32x, so θ=sec−1(32x). But we can express this in terms of tan−1: …
- COMEDK 2025Set 2025-M1 markMCQQ.∫9+8x−x21dx=φ(x)+c then φ(x)= (A) 51sin−1(5x−4) (B) sin−1(5x−4) (C) 101log4+x4−x (D) log4+x4−x
›Reveal solutionSolution
The integral simplifies by completing the square in the denominator to the form ∫a2−(x−h)2dx, which yields an arcsine. The result is sin−1(5x−4), so the correct option is (B).
We are asked to find φ(x) such that ∫9+8x−x21dx=φ(x)+c.
Concept & Intuition
The integrand has a square root of a quadratic that is not a perfect square. The standard technique is to rewrite the quadratic inside the square root by completing the square, so that it resembles a2−(x−h)2 or (x−h)2+a2. Here, the negative x2 term suggests a downward-opening parabola, so completing the square will give a difference-of-squares form. That form matches the derivative of sin−1 or cos−1, because dxdsin−1(ax−h)=a2−(x−h)21.
Step-by-step solution
- Complete the square inside the radical. Start with 9+8x−x2. Factor out a negative from the x-terms:
9+8x−x2=9−(x2−8x).
Complete the square for x2−8x: half of −8 is −4, square gives 16, so
x2−8x=(x−4)2−16.
Substitute back:
9−[(x−4)2−16]=9−(x−4)2+16=25−(x−4)2.
So the integral becomes
∫25−(x−4)2dx.
- Recognize the standard form. The expression 25−(x−4)2 matches a2−u2 with a=5 and u=x−4. The known antiderivative is
∫a2−u2du=sin−1(au)+C.
- Apply the formula. Here du=dx, so
- COMEDK 2024Set 2024-E1 markMCQQ.
[!FORMULA] The value of ∫2x−x2dx is
(A) sin−1(x−1)+C (B) sin−1(2x−1)+C (C) sin−1(x+1)+C (D) −2x−x2+C›Reveal solutionSolution
The integral simplifies by completing the square inside the square root, leading to a standard arcsine form. The correct result is sin−1(x−1)+C, which corresponds to option (A).
Concept & Intuition
When you see a quadratic inside a square root in an integral, your first instinct should be: complete the square. The expression 2x−x2 is a quadratic that opens downward. Rewriting it as 1−(x−1)2 reveals the classic form a2−u21, whose antiderivative is sin−1(u/a). The shift x−1 is the key.
Step-by-step solution
- Complete the square Start with 2x−x2. Factor out a negative:
2x−x2=−(x2−2x)=−(x2−2x+1−1)=−[(x−1)2−1]=1−(x−1)2.
So the integral becomes
∫1−(x−1)2dx.
- Recognize the standard form The integrand is now 1−u21 with u=x−1. The derivative of sin−1u is 1−u21, so
∫1−u2du=sin−1u+C.
- Substitute back Since u=x−1, we get
∫2x−x2dx=sin−1(x−1)+C.
- Match with options …
- COMEDK 2024Set 2024-M1 markMCQQ.
[!FORMULA] ∫x2−4x+2dx=
(A) 21(x−2)x2−4x+2+log(x−2)+x2−4x+2+C (B) (x−2)x2−4x+2+21log(x−2)+x2−4x+2+C (C) 21(x−2)x2−4x+2−sin−12x−2+C (D) 21(x−2)x2−4x+2−log(x−2)+x2−4x+2+C›Reveal solutionSolution
Completing the square gives ∫(x−2)2−2dx; the standard formula yields 21(x−2)x2−4x+2−log∣(x−2)+x2−4x+2∣+C — option (D).
Solution
- Complete the square: x2−4x+2=(x−2)2−2, so
I=∫(x−2)2−2dx
- Put u=x−2, du=dx, with a2=2:
I=∫u2−2du
- Apply the standard result
∫u2−a2du=2uu2−a2−2a2logu+u2−a2+C
With a2=2 the coefficient 2a2=1:
I=2uu2−2−logu+u2−2+C
- Back-substitute u=x−2 and (x−2)2−2=x2−4x+2: …
- COMEDK 2023Set 2023-E1 markMCQQ.
[!FORMULA] ∫cosecx−1dx=
(A) logsinx+sin2x+sinx+c (B) logsinx+1+2sin2x+sinx+c (C) logsinx+21+sin2x+sinx+c (D) logsinx+21+sin2x+21+sinx+c›Reveal solutionSolution
Rationalising, cscx−1=sin2x+sinxcosx; with s=sinx the integral becomes ∫s2+sds=logsinx+21+sin2x+sinx+c.
Write cscx−1=sinx1−sinx and multiply inside the root by 1+sinx1+sinx:
sinx1−sinx=sinx(1+sinx)1−sin2x=sin2x+sinxcosx.
Let s=sinx, ds=cosxdx: …
- COMEDK 2022Set 20221 markMCQQ.∫xax−x21dx is (A) a−3xa−x+C (B) −a2a−xx+C (C) a−2xa−x+C (D) None of these
›Reveal solutionSolution
Therefore the integral is -(2/a) sqrt((a - x)/x) + C.
Concept: Standard integral - verify by differentiating the candidates.
Claim: d/dx [ -(2/a) * sqrt((a - x)/x) ] = 1 / (x sqrt(ax - x^2))
Let u = (a - x)/x = a/x - 1, so du/dx = -a/x^2.
d/dx [ sqrt(u) ] = (1/(2 sqrt u)) * (-a/x^2)
d/dx [ -(2/a) sqrt(u) ] = -(2/a) * ( -a / (2 x^2 sqrt u) ) = 1 / (x^2 sqrt u)
Now x^2 sqrt u = x^2 * sqrt((a-x)/x) = x^2 * sqrt(a-x)/sqrt(x) = x^(3/2) sqrt(a - x) = x * sqrt(x(a-x)) = x sqrt(ax - x^2). …
- KCET 2021Set A-11 markMCQQ.∫1+x8x3sin(tan−1(x4))dx is equal to (A) 4−cos(tan−1(x4))+C (B) 4cos(tan−1(x4))+C (C) 3−cos(tan−1(x3))+C (D) 4sin(tan−1(x4))+C
›Reveal solutionSolution
The integral simplifies by substituting u=tan−1(x4), which turns the integrand into a standard sine form. The final result is 4−cos(tan−1(x4))+C, matching option (A).
The key insight here is that the integrand contains a composition of functions that suggests a substitution. Notice the argument of sine is tan−1(x4), and the denominator has 1+x8. The derivative of tan−1(x4) is 1+x84x3, which appears almost exactly in the numerator — we have x3 and 1+x8, just missing the factor of 4. This is a classic setup for a substitution that turns the integral into something like ∫sinudu.
Let’s work through it step by step.
- Choose the substitution. Let u=tan−1(x4). Then differentiate:
dxdu=1+(x4)21⋅4x3=1+x84x3.
Rearranging gives:
du=1+x84x3dx.
- Rewrite the integral in terms of u. The original integral is:
I=∫1+x8x3sin(tan−1(x4))dx.
We have du=1+x84x3dx, so 1+x8x3dx=4du.
Also, sin(tan−1(x4))=sinu.
Therefore:
I=∫sinu⋅4du=41∫sinudu.
- Integrate. The integral of sinu is −cosu, so:
I=41(−cosu)+C=−4cosu+C.
- Substitute back. Since u=tan−1(x4), we get: I=−4cos(tan−1(x4))+C. …
- COMEDK 2021Set 2021-B1 markMCQQ.∫x2+2x+3x+2dx= (A) x2+2x+3+logx+x2+2x+3+c (B) x2+2x+3+221log(x+1)x2+2x+3+c (C) x2+2x+3+log(x+1)+x2+2x+3+c (D) x2+2x+3+21tan−1(2x+1)+c
›Reveal solutionSolution
The integral is x2+2x+3+log∣(x+1)+x2+2x+3∣+c.
Write x+2=21(2x+2)+1. Then
∫x2+2x+3x+2dx=21∫x2+2x+32x+2dx+∫x2+2x+3dx.
The first integral is x2+2x+3. For the second, x2+2x+3=(x+1)2+2, so it equals log(x+1)+x2+2x+3. Adding: …
- KCET 2019Set A-11 markMCQQ.∫(x−1)(x+2)(x−3)2x−1dx=Alog∣x−1∣+Blog∣x+2∣+Clog∣x−3∣+K ಆದಾಗ A, B, C ಗಳು ಅನುಕ್ರಮವಾಗಿ (A) 6−1,31,2−1 (B) 61,31,51 (C) 61,3−1,31 (D) 6−1,3−1,21
›Reveal solutionSolution
Partial fractions give A=−61, B=−31, C=21 — option (D).
Write
(x−1)(x+2)(x−3)2x−1=x−1A+x+2B+x−3C,
so that 2x−1=A(x+2)(x−3)+B(x−1)(x−3)+C(x−1)(x+2).
Using the cover-up method (substitute each root):
- x=1:2(1)−1=A(3)(−2) ⇒ 1=−6A ⇒ A=−61.
- x=−2:2(−2)−1=B(−3)(−5) ⇒ −5=15B ⇒ B=−31. …
🎓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.