\(\sqrt{4-x^2}\)
Show solutionHide solution
We want \(\int \sqrt{4-x^2}\,dx\). The integrand is real for \(4-x^2\ge 0\), i.e. \(-2\le x\le 2\).
Put \(x=2\sin\theta\), where \(\theta=\sin^{-1}(x/2)\in[-\pi/2,\pi/2]\). On this principal interval \(\cos\theta\ge0\), so \(\sqrt{4-x^2}=\sqrt{4-4\sin^2\theta}=2|\cos\theta|=2\cos\theta\). Also \(dx=2\cos\theta\,d\theta\).
\[ \int\sqrt{4-x^2}\,dx = \int (2\cos\theta)(2\cos\theta)\,d\theta = 4\int\cos^2\theta\,d\theta. \]Use \(\cos^2\theta=\frac{1+\cos 2\theta}{2}\):
\[ 4\int\cos^2\theta\,d\theta=2\int(1+\cos2\theta)\,d\theta=2\theta+\sin2\theta+C. \]Since \(\sin2\theta=2\sin\theta\cos\theta\), and \(\sin\theta=x/2\), \(\cos\theta=\sqrt{1-x^2/4}=\frac{\sqrt{4-x^2}}{2}\), we get
\[ 2\theta+\sin2\theta+C = 2\sin^{-1}\!\left(\frac{x}{2}\right)+2\cdot\frac{x}{2}\cdot\frac{\sqrt{4-x^2}}{2}+C. \]Thus
\[ \boxed{\int\sqrt{4-x^2}\,dx=\frac{x}{2}\sqrt{4-x^2}+2\sin^{-1}\!\left(\frac{x}{2}\right)+C}. \]The formula is valid on \(-2<x<2\); by continuity it also gives an antiderivative extending to the endpoints of the real domain \([-2,2]\).