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.
Tip
∫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:
The key idea is Integration By Completing the Square — rewriting the quadratic inside the square root to use standard trigonometric substitution forms.
First, complete the square:
x2+4x−5=(x+2)2−9
So the integral becomes ∫(x+2)2−9dx.
Let u=x+2, then du=dx, and we have ∫u2−9du. This matches the standard form ∫u2−a2du with a=3.
The integral ∫x2+4x−5dx is solved by completing the square to get (x+2)2−9, then using the standard trigonometric substitution x+2=3secθ. The final result is 2x+2x2+4x−5−29logx+2+x2+4x−5+C.
Why Completing the Square Works
When you see a quadratic inside a square root, your first instinct might be to try a u-substitution. But x2+4x−5 isn't a perfect square — it has a linear term that blocks a clean substitution. Completing the square rewrites it as (x+2)2−9, which is a difference of squares. That form screams for a trigonometric substitution, because expressions like u2−a2 are tailor-made for secant or hyperbolic cosine substitutions.
The core idea: turn the messy quadratic into a recognizable Pythagorean form, then let trigonometry handle the rest.
Step-by-Step Solution
1. Complete the square inside the radical.
Take x2+4x−5. Half of 4 is 2, square it to get 4. Add and subtract 4:
x2+4x−5=(x2+4x+4)−4−5=(x+2)2−9
So the integral becomes:
∫(x+2)2−9dx
Tip
Always check: (x+2)2−9=x2+4x+4−9=x2+4x−5 — correct. This step is just algebraic rearrangement, no calculus yet.
2. Choose a substitution that eliminates the square root.
We have u2−a2 with u=x+2 and a=3. The standard trick: set u=asecθ, because sec2θ−1=tan2θ.
Let x+2=3secθ. Then dx=3secθtanθdθ.
Now substitute:
(x+2)2−9=9sec2θ−9=9(sec2θ−1)=3tan2θ=3∣tanθ∣
For the indefinite integral, we assume the principal branch where θ∈[0,π/2)∪(π/2,π], so tanθ≥0 when secθ≥1 (which matches x+2≥3). We'll take tanθ≥0 and drop the absolute value, keeping in mind the domain.
Watch out
Forgetting the absolute value on tan2θ is a common mistake. In definite integrals, you must consider the sign of tanθ over the interval. For indefinite integrals, we typically work on a branch where the sign is positive.
3. Rewrite the integral in terms of θ.
∫(x+2)2−9dx=∫(3tanθ)⋅(3secθtanθdθ)=9∫secθtan2θdθ
4. Simplify tan2θ using the Pythagorean identity.
Recall tan2θ=sec2θ−1. So:
9∫secθ(sec2θ−1)dθ=9∫(sec3θ−secθ)dθ
Now we need two standard integrals: ∫sec3θdθ and ∫secθdθ.
Method: Complete the square, then use a standard formula
To integrate quadratic, rewrite the quadratic as (x+p)2±a2 or a2−(x+p)2 by completing the square, substitute t=x+p, and quote the matching standard integral.
Steps
Step 1: Complete the square on the quadratic under the root, so it becomes (x+p)2+k for some constant k.
Step 2: Substitute t=x+p (so dt=dx); the integral becomes ∫t2±a2dt or ∫a2−t2dt.
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
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
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
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θ.
Q.∫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. …
Q.∫(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).