For \(a>0\), \(\int dx/(x^2+a^2)=(1/a)\arctan(x/a)+C\). Verify that the derivative contains the original sum of squares.
For \(a>0\) and \(-a<x<a\), the integral of \(1/\sqrt{a^2-x^2}\) is \(\arcsin(x/a)+C\). The interval ensures a positive expression under the radical in the denominator.
Rewrite \(x^2+bx+c\) as \((x+b/2)^2+c-b^2/4\). When the constant after completing the square is positive, a shift of the inverse tangent formula applies. A difference of squares can lead to a logarithm by partial fractions.