# Is there an easier method to this integration problem?

The problem and solution can be found here: Wolfram Alpha Solution (Click show steps tab to see work)

The method Wolfram Alpha uses to solve this integral involves many many sub steps. Are there any other easier ways to solve this integral or is this the only option?

Edit: The integral to be solved is $$\int \log{\sqrt{x^2-4}}\,dx.$$

-
You don't need to do anything fancy; just write it as $\frac{1}{2} \left( \log (x - 2) + \log (x + 2) \right)$. –  Qiaochu Yuan Jul 27 '11 at 1:42
I deleted my answer since it was just a duplicate of that of Gerry. Btw even Wolfram is suggesting only integration by parts. Also don't think that the calculations are too long; they are quite straightforward. –  Srivatsan Jul 27 '11 at 1:50
I deleted mine too (that makes three out of four answers deleted on this question :-) because it understated the simplification gained by Qiaochu's and Gerry's answer; my main point was, as Srivatsan wrote, that the W|A calculation isn't as involved as it looks; all the real work is done at the beginning and the rest is just trivial integrations and rearrangement. –  joriki Jul 27 '11 at 3:06
Note that the W|A answer is rather inconvenient, as it includes a constant of $\pm\pi \mathrm i$ in the region $|x|\ge2$ where the integral is real. –  joriki Jul 27 '11 at 3:20

$$\log\sqrt{x^2-4}=(1/2)\log(x^2-4),\qquad \log(x^2-4)=\log(x+2)+\log(x-2)$$