Quadratic denominators with no real roots (discriminant negative) always reduce to the u2+a2 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)2 leading to −1/(x+a).
Alternative Method
Look up the formula ∫ax2+bx+cdx=4ac−b22tan−14ac−b22ax+b when 4ac>b2. Plug a=1,b=4,c=13: 4ac−b2=52−16=36, 36=6. Answer: 62tan−162x+4=31tan−13x+2. Same result.
The most common error: forgetting the a1 factor in front of arctan. The formula is a1tan−1(u/a), not just tan−1(u/a). Differentiate to verify if unsure: dudtan−1(u/a)=1+u2/a21/a=a2+u2a, so to get u2+a21 you must divide by a.
Want to master this topic?
Read the complete guide with more examples and exam tips.