I was comparing my notes of the nuclear physics class (undergraduate level) on magnetic moments of nucleons with the Krane's explanation.
In my notes I wrote that there are two types of magnetic moments:
The first one is the orbital one. It's written as $ \mu_l=g_l l \mu_n$ where l is the orbital quantum number. I also wrote that $\vec{\mu_l}=g_l\vec{L}$ so that this vector is parallel to $\vec{L}$.
The second one is the spin one. It's written as $\mu_s=g_ss\mu_n$ where s is the spin quantum number, s=1/2 for nucleons. Its vectorial form is $\vec{\mu_s}=g_s\vec{S}$ so that this vector is parallel to $\vec{S}$
Then, the total magnetic moment is $\vec{\mu_j}=\vec{\mu_l}+\vec{\mu_s}$ where $\vec{\mu_j}=g_j\vec{J}$. The next step on the notes is about finding the value of $g_j$. I wrote that $|\vec{\mu_j}|=|\vec{\mu_l}|\cos{\theta}+|\vec{\mu_s}|\cos{\varphi}$ where $\varphi$ is the angle between $\vec{S}$ and $\vec{J}$ and $\theta$ is the angle between $\vec{L}$ and $\vec{J}$. In the next step I substitute $|\vec{\mu_l}|$ with $g_l\hbar (l(l+1))^{1/2}$, $|\vec{\mu_s}|$ with $g_s\hbar (s(s+1))^{1/2}$ and $|\vec{\mu_j}|$ with $g_j\hbar (j(j+1))^{1/2}$.
So here's my problem: why is $|\vec{\mu_l}|$ different from $\mu_l$? In fact the first one it's written like $g_l|\vec{L}|$ and the second one as $\mu_ng_ll$. The same happens with $|\vec{\mu_s}|$ and $\mu_s$.
Also: In my notes I wrote that $\vec{\mu_j}$ isn't parallel to $\vec{J}$ and it is, in fact, rotating about $\vec{J}$. So why $\vec{\mu_j}=g_j\vec{J}$? Shouldn't $\vec{\mu_j}$ and $\vec{J}$ be parallel this way?
Thank you in advance.