Question
Evaluate:
∫x2+4x+13dx
(JEE Main 2021, similar pattern)
Solution — Step by Step
x2+4x+13=(x2+4x+4)+9=(x+2)2+32
The denominator is now in the standard form u2+a2.
Let u=x+2, so du=dx.
∫(x+2)2+9dx=∫u2+32du
∫u2+a2du=a1tan−1(au)+C
=31tan−1(3u)+C
Substitute back u=x+2:
∫x2+4x+13dx=31tan−1(3x+2)+C
Why This Works
The trick is recognising that any quadratic ax2+bx+c (with a>0 and discriminant <0) can be written as (x+p)2+q2 by completing the square. Once in this form, we match it to the standard ∫u2+a2du result, which comes from the derivative of tan−1.
The condition “discriminant <0” is important — it means the quadratic has no real roots, so the denominator never becomes zero. Here, Δ=16−52=−36<0, confirming the integral is well-defined for all real x.
Alternative Method — Direct application without substitution
You can skip the explicit substitution and write:
∫(x+2)2+32dx=31tan−1(3x+2)+C
directly, treating x+2 as the variable. This saves a line of work but requires you to be comfortable with the formula.
Completing the square is the gateway step for all integrals of the form ∫ax2+bx+cdx. Depending on the sign of the discriminant, you’ll end up with either tan−1 (discriminant < 0) or log (discriminant > 0). Master this one technique and you can handle an entire family of integrals.
Common Mistake
A frequent error: writing (x+2)2+9 but then using a=9 instead of a=3 in the formula. Remember, the form is u2+a2, not u2+a. Here a2=9, so a=3. Using a=9 gives 91tan−1(9x+2) — wrong by a factor of 3 in both the coefficient and the argument.