If $z+ \sqrt2 |z+1| +i = 0, \text{ find } |z|$
My attempt:
As the RHS $= 0$, the sum of the real parts and imaginary parts are both $0$.
As the amplitude of a complex number is always real, $z + i = 0 \iff z=i$. Moreover, $|i+1|=0$. Thus, $|z|=1$.
However, my book says $|z| = \sqrt{5}$. Have I made a mistake anywhere?