Q.Integrate the following function: x2+4x+6
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.
After completing the square, the leftover constant decides the route: positive ⇒ inverse tangent; negative ⇒ difference of squares ⇒ logarithm via partial fractions. (If the leading coefficient is not 1, factor it out first.)
If the numerator is not constant, e.g. ∫x2+4x+5xdx, first split it to match the derivative of the denominator, then complete the square on what remains.
Completing the square before integrating a quadratic denominator is a named technique in the NCERT Class 12 Integrals chapter, used to route a problem toward either the inverse tangent formula or a logarithmic partial-fraction result. Students searching 'integration by completing the square examples class 12' or 'integral of 1 by x square plus bx plus c' will find this add-and-subtract-(b/2)² method is exactly the standard CBSE board approach.
Idea: complete the square, then apply the standard ∫u2+a2du formula.
x2+4x+6=(x+2)2+2,u=x+2,a2=2.
Standard result:
∫u2+a2du=2uu2+a2+2a2logu+u2+a2+C.
Here 2a2=22=1, so substituting back u=x+2:
∫x2+4x+6dx=2x+2x2+4x+6+logx+2+x2+4x+6+C.
2x+2x2+4x+6+logx+2+x2+4x+6+C
Complete the square to (x+2)2+2 and use the u2+a2 formula with a2=2, giving log coefficient 1: 2x+2x2+4x+6+logx+2+x2+4x+6+C.
Step 1 — Complete the square
Half of the middle coefficient 4 is 2, and (x+2)2=x2+4x+4, so
x2+4x+6=(x+2)2+2.
The integral becomes ∫(x+2)2+2dx, of the form u2+a2 with u=x+2 and a=2 (so a2=2).
Step 2 — The standard formula
∫u2+a2du=2uu2+a2+2a2logu+u2+a2+C.
With a2=2, the log coefficient is 2a2=22=1 — not 21. So
∫u2+2du=2uu2+2+logu+u2+2+C.
Step 3 — Substitute back
Replace u=x+2 and note (x+2)2+2=x2+4x+6:
∫x2+4x+6dx=2x+2x2+4x+6+logx+2+x2+4x+6+C.
The absolute value matters: the radical is always positive (discriminant 16−24<0), but x+2 can be negative, so the log argument needs ∣⋅∣.
2x+2x2+4x+6+logx+2+x2+4x+6+C
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.
Step 3: Apply the correct standard formula.
∫t2−a2dt=2tt2−a2−2a2logt+t2−a2+C,
∫t2+a2dt=2tt2+a2+2a2logt+t2+a2+C,
∫a2−t2dt=2ta2−t2+2a2sin−1at+C.
Step 4: Back-substitute t=x+p and simplify; keep C. The whole skill is matching the completed square to the right one of these three templates.
Common Mistakes
Mistake 1: Completing the square wrongly: x2+4x+6=(x+2)2+6.
Why it's wrong: (x+2)2=x2+4x+4, so you must subtract the 4: x2+4x+6=(x+2)2+2. Correct approach: add and subtract (b/2)2.
Mistake 2: Using the a2−t2 (arcsin) formula for a + quadratic.
Why it's wrong: (x+2)2+2 is a t2+a2 form, giving a log, not sin−1. Correct approach: match the sign — a plus constant means the logarithmic template.
Mistake 3: Taking 2a2 as 2a (here a2=2).
Why it's wrong: the coefficient is 2a2=1, not 22. Correct approach: use a2, the constant itself, in the formula.
Showing the 12 most recent of 35 on this concept.
- 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.
- Integrate each branch: ∫2x−3dx=34(x−3)3/2+C for x≥6; ∫23dx=23x+C for 3≤x≤6.
Common Mistakes
- Dropping the absolute value on (t−3)2 and getting a single formula valid everywhere (options (A),(B)) — the sign of t−3 genuinely flips at x=6.
- Mixing up which branch applies where.
✓Final answerThe correct option is (C) — the piecewise antiderivative with 34(x−3)3/2+C for x>6 and 23x+C for 3≤x≤6.
ANSWER: 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:
- Result =sin−1(4x+3)+c.
Common Mistakes
- Getting the sign of the completed square wrong (it must come out as a2−(⋅)2, positive, for arcsine to apply — check by testing the vertex value).
✓Final answerThe correct option is (C) — Sin−1(4x+3)+c.
ANSWER: C
- 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.
- So the integral =42x+1x2+x+1+83Sinh−1(32x+1)+c.
Common Mistakes
- Writing 4x+1 instead of 42x+1 for the u/2 term (dropping the factor of 2 from u=x+21).
- Sign error on the Sinh−1 term.
✓Final answerThe correct option is (A) — 42x+1x2+x+1+83Sinh−1(32x+1)+c.
ANSWER: A
- 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.
- Integrate: ∫(x1+x−5)dx=log∣x∣+−4x−4+C=log∣x∣−4x41+C.
Common Mistakes
- Forgetting the absolute value / sign when taking the square root of a perfect square.
✓Final answerThe correct option is (A) — log∣x∣−4x41+C.
ANSWER: A
- 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).
- Combine: x2+x+1+21sinh−1(32x+1)+c.
Common Mistakes
- Forgetting the factor of 21 in the split x+1=21(2x+1)+21.
- Mixing up sinh−1 and cosh−1 — here the radicand x2+x+1 is always positive (never zero), which is the sinh−1 (i.e. x2+a2) case, not the cosh−1 (i.e. x2−a2) case.
✓Final answerThe correct option is (D) — x2+x+1+21sinh−1(32x+1)+c.
ANSWER: D
- 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:
x−2−2Tan−1(2x−2)+c.
Common Mistakes
- Forgetting the factor of 21 that comes from writing 2x+4=2(x+2) before substituting.
- Losing the coefficient 4 (as t2+44, giving the 2Tan−1 term) — a common slip is writing just Tan−1(t/2) without the factor of 2 out front.
✓Final answerThe correct option is (B) — x−2−2Tan−1(2x−2)+c.
ANSWER: B
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.If ∫x2+4x+α1dx=221Tan−1(22x+2)+c, then ∫x2+4x−α1dx= (A) 41log(x+2x−12)+k (B) 81log(x+6x−2)+k (C) 81log(x+8x+6)+k (D) 41log(x+16x−12)+k
›Reveal solutionSolution
First recover α=12 by matching the given arctan antiderivative to the standard
form; then integrate ∫x2+4x−12dx by partial fractions to get
81logx+6x−2+k.
Concept and Intuition
∫u2+k2dx=k1tan−1(u/k)+c when the quadratic has no real roots
(discriminant negative); ∫u2−k2dx=2k1logu+ku−k+c
when it factors into real linear pieces. The sign of the completed-square constant is
what decides which family applies — here that same constant, α, is first
recovered from the arctan form, then reused with the opposite sign in the second
integral.
Step-by-Step Solution
- Complete the square: x2+4x+α=(x+2)2+(α−4).
- Given antiderivative uses tan−1(22x+2) scaled by 221 — matching k1tan−1(u/k) with k=22 requires α−4=k2=(22)2=8, so α=12.
- Now find ∫x2+4x−12dx. Factor: x2+4x−12=(x+6)(x−2) (since 6×(−2)=−12 and 6+(−2)=4).
- Partial fractions: (x+6)(x−2)1=x−2A+x+6B. Solving, A(x+6)+B(x−2)=1; at x=2: 8A=1⇒A=81; at x=−6: −8B=1⇒B=−81.
- Integrate: 81log∣x−2∣−81log∣x+6∣+k=81logx+6x−2+k.
Common Mistakes
- Using α=8 (the value of k2 itself) instead of correctly solving α−4=8.
- Sign errors in the partial-fraction split, e.g. writing x−2x+6 (inverted) instead of x+6x−2.
✓Final answerThe correct option is (B) — 81log(x+6x−2)+k.
ANSWER: B
- 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)).
- Combine and substitute back u=x−1: (x−1)2+4+Sinh−1(2x−1)+c=x2−2x+5+Sinh−1(2x−1)+c.
Common Mistakes
- Splitting the numerator incorrectly (e.g. using u−1 instead of u+1 after the substitution, or forgetting the "+1" entirely).
- Confusing Sinh−1 with Sin−1 (only valid for a2−u2, not u2+a2).
✓Final answerThe correct option is (A) — x2−2x+5+Sinh−1(2x−1)+c.
ANSWER: A
- 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.
- So F′=4x4u4x3−4x=x4ux3−x=x32x4−2x2+1x2−1 — exactly the given integrand.
Common Mistakes
- Trying a messy trigonometric or algebraic substitution instead of the quicker verify-by-differentiation approach when options are given.
- Sign errors while expanding −4x(2x4−2x2+1).
✓Final answerThe correct option is (B) — 2x212x4−2x2+1+C.
ANSWER: B
- 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.
- So f′(x)=x32x4−2x2+1x2−1 — exactly the integrand.
Common Mistakes
- Missing that 1−2x2+2x4 and 2x4−2x2+1 are the same polynomial (just written in different term order), which makes options (B) and (D) look different from the integrand's radicand when they aren't.
- Trying a messy trig/algebraic substitution instead of the quicker verify-by-differentiation approach.
✓Final answerThe correct option is (D) — 2x2(1−2x2+2x4)1/2+c.
ANSWER: D
- 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
- Sign error inside the argument, giving 2x−1 instead of 2x+1 (that would come from completing the square of x2−x+1, a different quadratic).
- Dropping the factor of 2 from the original integrand, landing on 32tan−1(…) instead of 34.
✓Final answerThe correct option is (B) — 34tan−1(32x+1)+c.
ANSWER: B
- 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 ✓.
- Substitute back u=x+a, and u2−a2=2ax+x2: result =a22ax+x2−(x+a)+C.
Common Mistakes
- Mis-signing the standard antiderivative (dropping the leading minus sign).
- Forgetting to substitute back from u to x inside the square root as well as outside it.
✓Final answerThe correct option is (D) — a2−1(2ax+x2x+a)+C.
ANSWER: D
🎓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.