Background
In The Theoretical Minimum, it states that any spin state can be represented by a linear combo of the basis vectors $|u\rangle$ and $|d\rangle$
It then goes on to show how this is done for $|r\rangle$ and $|l\rangle$ (spin prepped along the x-axis) by stating the following:
If you initially prepare apparatus A as $|r\rangle$ to measure $\delta_x$, then rotate it to measure $\delta_z$ …preparing apparatus either as $|u\rangle$ or $|d\rangle$…, there will be equal probabilities for $|u\rangle$ and $|d\rangle$. Therefore $a_u a_u^*$ and $a_d a_d^*$ must be equal to 1/2 and an appropriate function is
$$|r\rangle = \frac{1}{\sqrt{2}}|u\rangle + \frac{1}{\sqrt{2}}|d\rangle$$
Question
Why $\frac{1}{\sqrt{2}}|u\rangle$ instead of $\frac{1}{2}|u\rangle$? Does it have something to do with the fact that the components being complex numbers?