Q.Evaluate: ∫2ax−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. …
The key idea is to rewrite the quadratic under the square root by completing the square, then use a standard trigonometric substitution.
First, complete the square inside the radical:
2ax−x2=−(x2−2ax)=−(x2−2ax+a2)+a2=a2−(x−a)2.
Thus the integral becomes
∫a2−(x−a)2dx.
Let u=x−a, so du=dx. The integral is now the standard form:
∫a2−u2du. …
The key idea is to rewrite the quadratic 2ax−x2 as a2−(x−a)2 by completing the square, then use the standard trigonometric substitution x−a=asinθ to integrate. The final result is 2(x−a)2ax−x2+2a2sin−1(ax−a)+C.
Why Completing the Square Works Here
When you see a quadratic inside a square root, your first instinct might be to try a u-substitution. But 2ax−x2 is not a perfect square — it's a downward-opening parabola. The trick is to rewrite it so it looks like something you already know: a2−(x−a)2. Why a2? Because the maximum value of 2ax−x2 occurs at x=a, and that maximum is a2.
Once you have a2−(x−a)2, the expression inside the square root is exactly the form that suggests a sine substitution: a2−u2 where u=x−a. This is a classic pattern — the integral of a2−u2 is a standard result, and we can either derive it from scratch or use a known formula.
∫a2−u2du=2ua2−u2+2a2sin−1au+C
Let's walk through the derivation so you see why this formula works, not just that it exists.
Step-by-Step Solution
1. Complete the square inside the radical.
Start with 2ax−x2. Factor out a negative sign to make completing the square cleaner:
2ax−x2=−(x2−2ax)
Now complete the square inside the parentheses: x2−2ax=(x−a)2−a2. So
2ax−x2=−[(x−a)2−a2]=a2−(x−a)2
Thus the integral becomes
∫a2−(x−a)2dx
2. Substitute to simplify the variable.
Let u=x−a, so du=dx. The integral is now
∫a2−u2du
This is exactly the standard form. The domain of the integrand requires ∣u∣≤a, which matches the original quadratic being non-negative.
3. Use a trigonometric substitution.
For a2−u2, the natural substitution is u=asinθ, where −π/2≤θ≤π/2 (this ensures cosθ≥0, so we can drop absolute values). Then du=acosθdθ, and
a2−u2=a2−a2sin2θ=a1−sin2θ=acosθ
The integral becomes
∫(acosθ)(acosθdθ)=a2∫cos2θdθ
4. Integrate cos2θ using the double-angle identity.
Recall cos2θ=21+cos2θ. So
a2∫21+cos2θdθ=2a2(θ+2sin2θ)+C=2a2θ+4a2sin2θ+C
Now sin2θ=2sinθcosθ, so
4a2sin2θ=2a2sinθcosθ
5. Back-substitute to u and then to x. …
Method: Integrating 2ax−x2 by completing the square (arcsine template)
Use this for ∫const⋅x−x2dx. Completing the square gives a2−u2, whose integral is the arcsine template.
Steps
Step 1: Complete the square.
2ax−x2=a2−(x−a)2,
so set u=x−a with a2−u2.
Step 2: Recall the standard integral.
∫a2−u2du=2ua2−u2+2a2sin−1au+C.
Step 3: Substitute back u=x−a.
Replace u everywhere and note a2−u2=2ax−x2. …
Common Mistakes
Mistake 1: Sign error completing the square.
Why it's wrong: 2ax−x2=a2−(x−a)2; forgetting the leading − on x2 gives (x−a)2−a2 and the wrong template. Correct approach: factor −1 from x2−2ax first.
Mistake 2: Using the u2+a2 (log) template. …
Showing the 12 most recent of 35 on this concept.
- 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 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 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-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 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 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-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 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-24-FN1 markMCQQ.∫(tanx+cotx)dx= (A) 2Tan−1(tanxtanx−1)+c (B) Tan−1(2tanxtanx−2)+c (C) 2Tan−1(2tanxtanx−1)+c (D) 2Tan−1(2tanxtanx+1)+c
›Reveal solutionSolution
The integral ∫(tanx+cotx)dx is a classic "sum of square-root trig" integral that reduces to an arctangent form; verified here by direct differentiation, giving option (C).
Concept and Intuition
tanx+cotx combines to tanxtanx+1, and integrals of this shape are standard results that produce an inverse-tangent (or occasionally inverse-sine) antiderivative involving 2tanx. Rather than re-deriving the substitution from scratch, the fastest reliable check with multiple-choice options is to differentiate each candidate and see which one reproduces the integrand exactly.
Step-by-Step Solution
- Rewrite the integrand: tanx+cotx=tanx+tanx1=tanxtanx+1.
- Test option (C): let u=2tanxtanx−1, and check dxd[2Tan−1(u)]=2⋅1+u2u′.
- Compute 1+u2=1+2tanx(tanx−1)2=2tanx2tanx+(tanx−1)2=2tanxtan2x+1=2tanxsec2x.
- Compute u′ (quotient rule on u=(tanx−1)(2tanx)−1/2):
u′=sec2x(2tanx)−3/2[(2tanx)−(tanx−1)]=sec2x(2tanx)−3/2(tanx+1).
- Combine: 1+u2u′=sec2x(2tanx)−3/2(tanx+1)⋅sec2x2tanx=(2tanx)3/22tanx(tanx+1)=2tanxtanx+1⋅11 (after simplifying (2tanx)3/2/(2tanx)=2tanx), giving 2tanxtanx+1. …
- 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 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.