The problem asks to show that for real $x$ we can choose $\log(x+i)$ to be $$\log(x+i)=\log(1+x^2)+i(\frac\pi2-\arctan x).$$ The obvious strategy is to evaluate $x+i$ in the form of its polar coordinates (its absolute value and its argument $\theta$) and then apply the $\log$ function to the resulting equation.
So, the absolute value of a complex number $z=x+iy$ is defined by $\sqrt{x^2+y^2}$; thus in the above case, I thought, I should get the number $\sqrt{x^2+1}$, but instead the answer to the problem claims that it's just $1+x^2$. I don't understand why, what am I missing?
As I commented, Spivak's answer book has a sloppy typographical error. The problem is, in fact, correctly stated, with the square root.