Often if you cannot see why a function is an antiderivative of another function, it really helps to find the derivative of the proposed answer.
\(\displaystyle \L
f(x) = \left( {1/2} \right)\ln (x^2 + 1)\quad \Rightarrow \quad f'(x) = (1/2)\left( {\frac{{2x}}{{x^2 + 1}}} \right) = \frac{x}{{x^2 + 1}}\)
By studying the above, you should see why the given answer is correct.