Integrals: Common Mistakes and Fixes (1)

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=(x+2)2+9x^2 + 4x + 13 = (x+2)^2 + 9

The integrand becomes 1(x+2)2+32\frac{1}{(x+2)^2 + 3^2}, which fits the standard:

duu2+a2=1atan1ua+C\int \frac{du}{u^2 + a^2} = \frac{1}{a}\tan^{-1}\frac{u}{a} + C

Let u=x+2u = x + 2, du=dxdu = dx, a=3a = 3:

duu2+9=13tan1u3+C\int \frac{du}{u^2 + 9} = \frac{1}{3}\tan^{-1}\frac{u}{3} + C
dxx2+4x+13=13tan1x+23+C\int \frac{dx}{x^2 + 4x + 13} = \frac{1}{3}\tan^{-1}\frac{x+2}{3} + C

Final answer: 13tan1x+23+C\frac{1}{3}\tan^{-1}\dfrac{x+2}{3} + C.

Why This Works

Quadratic denominators with no real roots (discriminant negative) always reduce to the u2+a2u^2 + a^2 form via completing the square. The arctangent integral is the standard answer.

If the discriminant were positive, the quadratic would factor and you would use partial fractions instead. If zero, you would get 1/(x+a)21/(x+a)^2 leading to 1/(x+a)-1/(x+a).

Alternative Method

Look up the formula dxax2+bx+c=24acb2tan12ax+b4acb2\int \frac{dx}{ax^2 + bx + c} = \frac{2}{\sqrt{4ac - b^2}}\tan^{-1}\frac{2ax+b}{\sqrt{4ac-b^2}} when 4ac>b24ac > b^2. Plug a=1,b=4,c=13a=1, b=4, c=13: 4acb2=5216=364ac - b^2 = 52 - 16 = 36, 36=6\sqrt{36} = 6. Answer: 26tan12x+46=13tan1x+23\frac{2}{6}\tan^{-1}\frac{2x+4}{6} = \frac{1}{3}\tan^{-1}\frac{x+2}{3}. Same result.

The most common error: forgetting the 1a\frac{1}{a} factor in front of arctan. The formula is 1atan1(u/a)\frac{1}{a}\tan^{-1}(u/a), not just tan1(u/a)\tan^{-1}(u/a). Differentiate to verify if unsure: ddutan1(u/a)=1/a1+u2/a2=aa2+u2\frac{d}{du}\tan^{-1}(u/a) = \frac{1/a}{1 + u^2/a^2} = \frac{a}{a^2 + u^2}, so to get 1u2+a2\frac{1}{u^2 + a^2} you must divide by aa.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next