Integrals: Common Mistakes and Fixes (13)

easy 2 min read

Question

Evaluate 1x2+4x+13dx\displaystyle\int \frac{1}{x^2 + 4x + 13} \, dx.

Solution — Step by Step

x2+4x+13=(x2+4x+4)+9=(x+2)2+32x^2 + 4x + 13 = (x^2 + 4x + 4) + 9 = (x+2)^2 + 3^2.

Let u=x+2u = x + 2, du=dxdu = dx.

duu2+9\displaystyle\int \frac{du}{u^2 + 9}.

duu2+a2=1atan1(ua)+C\displaystyle\int \frac{du}{u^2 + a^2} = \frac{1}{a} \tan^{-1}\left(\frac{u}{a}\right) + C.

Here a=3a = 3:

duu2+9=13tan1(u3)+C\displaystyle\int \frac{du}{u^2 + 9} = \frac{1}{3} \tan^{-1}\left(\frac{u}{3}\right) + C.

1x2+4x+13dx=13tan1(x+23)+C\int \frac{1}{x^2 + 4x + 13} \, dx = \frac{1}{3} \tan^{-1}\left(\frac{x+2}{3}\right) + C

Final answer: 13tan1(x+23)+C\boxed{\mathbf{\dfrac{1}{3} \tan^{-1}\left(\dfrac{x+2}{3}\right) + C}}.

Why This Works

Whenever the denominator is a quadratic with negative discriminant (no real roots), completing the square turns it into the form (u2+a2)(u^2 + a^2), which has the inverse-tangent integral as its antiderivative.

If the discriminant were positive, partial fractions would be the move. If zero, completing the square gives (xr)2(x - r)^2 and the integral becomes 1/(xr)-1/(x-r).

So the discriminant of the denominator tells you the technique:

  • Δ<0\Delta < 0: complete the square, tan1\tan^{-1}.
  • Δ=0\Delta = 0: complete the square, perfect-square integration.
  • Δ>0\Delta > 0: partial fractions, log of factors.

Alternative Method

If we recognize the form immediately, we can shortcut: dx/((x+2)2+9)\int dx/((x+2)^2 + 9) matches du/(u2+9)\int du/(u^2 + 9) at sight, no substitution needed mentally. With practice, this becomes a one-liner.

Common Mistake

Students often forget to divide by aa in the tan1\tan^{-1} formula. The general result is (1/a)tan1(u/a)(1/a)\tan^{-1}(u/a) — that 1/a1/a outside is easy to drop. Always verify by differentiating: ddx[1atan1(u/a)]=1a1/a1+u2/a2=1a2+u2\frac{d}{dx}[\frac{1}{a}\tan^{-1}(u/a)] = \frac{1}{a} \cdot \frac{1/a}{1 + u^2/a^2} = \frac{1}{a^2 + u^2}. Check.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next