How can i take a Quaternion and find the Unit Quaternion. How can I find the Unit Quaternion (Norm of a Quaternion). The norm of a Quaternion should be equal to $1$
E.g. $a=(2-i+2j-3k)$
Here is what i have done so far
$=\frac{(2-1+2-3)}{\sqrt{(2)^2+(-1)^2+(2)^2+(-3)^2}}$
$=\frac{0}{4.242640687}$
$=0$
I know the answer isnt $0$. It should be $1$. But i dont know where i went wrong.
If you have a quaternion $a + bi + cj + dk$, the unit quaternion corresponding to it is
$$\frac{a + bi + cj + dk}{\sqrt{a^2 + b^2 + c^2 + d^2}}.$$
Particularly, the norm is $\sqrt{a^2+b^2+c^2+d^2}$.