Q.∫x2−8x+7dx is equal to (A) 21(x−4)x2−8x+7+9log∣x−4+x2−8x+7∣+C (B) 21(x−4)x2−8x+7+9log∣x+4+x2−8x+7∣+C (C) 21(x−4)x2−8x+7−32log∣x−4+x2−8x+7∣+C (D) 21(x−4)x2−8x+7−29log∣x−4+x2−8x+7∣+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 — rewrite the quadratic inside the square root as a perfect square minus a constant, then use the standard form ∫u2−a2du.
Step 1: Complete the square inside the radicand:
x2−8x+7=(x−4)2−9.
So the integral becomes ∫(x−4)2−32dx.
Step 2: Use the standard formula:
∫u2−a2du=2uu2−a2−2a2log∣u+u2−a2∣+C,
with u=x−4 and a=3.
Step 3: Substitute back: …
The integral ∫x2−8x+7dx is solved by completing the square to get (x−4)2−9, then applying the standard formula ∫u2−a2du=2uu2−a2−2a2log∣u+u2−a2∣+C. The correct answer is option (D).
When you see a quadratic inside a square root, your first instinct should be to complete the square. Why? Because the expression x2−8x+7 doesn't match any standard integration formula directly. But if we rewrite it as (x−4)2−9, it becomes u2−a2 — a form with a known antiderivative.
The key formula we need is:
∫u2−a2du=2uu2−a2−2a2logu+u2−a2+C
This formula comes from a trigonometric substitution (u=asecθ), but you don't need to re-derive it every time — just apply it carefully.
Let's work through it step by step.
- Complete the square inside the radical. x2−8x+7=(x2−8x+16)−16+7=(x−4)2−9 So the integral becomes:
∫(x−4)2−9dx
- Make a substitution to match the standard form. Let u=x−4, so du=dx. Then:
∫u2−9du
Here a2=9, so a=3.
- Apply the standard formula. Using ∫u2−a2du=2uu2−a2−2a2log∣u+u2−a2∣+C with a2=9:
∫u2−9du=2uu2−9−29logu+u2−9+C
- Substitute back u=x−4. …
Method: Complete the square inside an MCQ radical, then match the template
For a multiple-choice ∫quadraticdx, complete the square to fix a2, then compare the log-coefficient against the options.
Steps
Step 1: Complete the square. x2−8x+7=(x−4)2−9, so t=x−4, a2=9.
Step 2: Apply the t2−a2 standard form.
∫t2−a2dt=2tt2−a2−2a2logt+t2−a2+C.
Step 3: Substitute t=x−4, a2=9. …
Common Mistakes
Mistake 1: Getting the sign of the log term wrong.
Why it's wrong: the t2−a2 form has a minus 2a2log; a plus sign gives distractor (A)/(B). Correct approach: keep the minus.
Mistake 2: Using a=9=3 inside the log-coefficient instead of a2=9. …
Showing the 12 most recent of 35 on this concept.
- 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 2023Set eng-2023-05-16-AN1 markMCQQ.∫x3x4+x−4+2dx= (A) log∣x∣−4x41+C (B) log∣x∣+4x41+C (C) log∣x∣−x44+C (D) log∣x∣+x44+C
›Reveal solutionSolution
The expression under the square root is a perfect square, simplifying the integral to a sum of two elementary power terms.
Concept and Intuition
Recognize x4+x−4+2 as (x2+x−2)2 using the identity a2+b2+2ab=(a+b)2 with a=x2,b=x−2.
Step-by-Step Solution
- (x2+x−2)2=x4+2+x−4 — matches the expression under the square root exactly.
- x4+x−4+2=∣x2+x−2∣=x2+x21 (always positive for real x=0).
- Divide by x3: x3x2+1/x2=x1+x51. …
- AP EAPCET 2023Set eng-2023-05-19-FN1 markMCQQ.∫(x−1)x+2dx= (A) 32log(x+2)−3(x+2)+3+c (B) 3−1log(x+2)+3(x+2)−3+c (C) 31log(x+2)−3(x+2)+3+c (D) 31log(x+2)+3(x+2)−3+c
›Reveal solutionSolution
The substitution t=x+2 turns the integral into the standard ∫t2−a2dt form.
Concept and Intuition
Whenever an integrand has linear and a polynomial in x, substituting t=linear expression often rationalizes everything.
Step-by-Step Solution
- Let t=x+2⇒x=t2−2, dx=2tdt.
- x−1=t2−2−1=t2−3.
- Integral becomes ∫(t2−3)⋅t2tdt=∫t2−32dt.
- Using ∫t2−a2dt=2a1logt+at−a+C with a=3: ∫t2−32dt=2⋅231logt+3t−3+C=31logt+3t−3+C.
- Substitute back t=x+2: 31logx+2+3x+2−3+c. …
- AP EAPCET 2024Set eng-2024-05-22-FN1 markMCQQ.∫x32x4−2x2+1x2−1dx (A) 2x21+2x2+2x4+c (B) 2x2(1+2x2+2x4)1/2+c (C) 2x21−2x2+2x4+c (D) 2x2(1−2x2+2x4)1/2+c
›Reveal solutionSolution
Verifying the antiderivative by differentiating each candidate is faster and safer than guessing a substitution; the derivative of option (D) reproduces the integrand exactly. Answer: option (D).
Concept and Intuition
When an integral has an awkward-looking algebraic form under a square root, and the options are all algebraic expressions (not transcendental), the fastest rigorous check is to differentiate the candidate answers and see which one reproduces the integrand — this avoids errors in choosing a substitution.
Step-by-Step Solution
- Let N(x)=1−2x2+2x4 (note this equals 2x4−2x2+1, the expression under the root in the integrand).
- Try f(x)=2x2N1/2=21N1/2x−2.
- Differentiate: f′(x)=4N1/2x2N′−x3N1/2, where N′=−4x+8x3=4x(2x2−1).
- First term becomes xN1/2(2x2−1). Combine both terms over the common denominator x3N1/2:
f′(x)=x3N1/2(2x2−1)x2−N.
- Numerator: (2x2−1)x2−N=(2x4−x2)−(1−2x2+2x4)=x2−1. …
- 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 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 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 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 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: …
- 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 2022Set eng-2022-07-08-AN1 markMCQQ.∫(x+12x−36+x−12x−36)dx= (A) 23x+C, ∀x (B) 34(x−3)3/2+C, ∀x (C) ⎩⎨⎧34(x−3)3/2+C,23x+C,x>63≤x≤6 (D) ⎩⎨⎧34(x−3)3/2+C,23x+C,3≤x≤6x>6
›Reveal solutionSolution
Substituting t=x−3 turns both nested radicals into perfect squares (t±3)2; the integrand collapses to a constant 23 on [3,6] and to 2x−3 for x>6, giving the piecewise antiderivative in (C).
Concept and Intuition
Nested radicals of the form x±linear in x often simplify to perfect squares under a substitution that removes the inner square root. Here the key is recognizing 12x−36 is a perfect multiple of (x−3).
Step-by-Step Solution
- Let t=x−3≥0 (valid for x≥3), so x=t2+3 and 12x−36=12t2⇒12x−36=23t.
- x+12x−36=t2+3+23t=(t+3)2⇒x+12x−36=t+3 (always non-negative).
- x−12x−36=t2+3−23t=(t−3)2⇒x−12x−36=∣t−3∣.
- Sum =(t+3)+∣t−3∣. If t≥3 (i.e. x−3≥3⇒x≥6): sum =2t=2x−3. If 0≤t<3 (i.e. 3≤x<6): sum =(t+3)+(3−t)=23. …
🎓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.