I'm currently using Nadri Jeevanjee's book on group theory for physicists to understand quantum mechanics. I came across these two pages that left me stuck:
Example 4.19 $SU(2)$ and $SO(3)$
In most physics textbooks the relationship between $SO(3)$ and $SU(2)$ is described in terms of the 'infinitesimal generators' of these groups. We will discuss infinitesimal transformations in the next section and make contact with the standard physics presentation then; here we present the relationship in terms of a group homomorphism $\rho:SU(2)\to SO(3)$, defined as follows: consider the vector space (check!) of all $2\times2$ traceless anti-Hermitian matrices, denoted as $\mathfrak{su}(2)$ (for reasons we will explain later). You can check that an arbitrary element $X\in\mathfrak{su}(2)$ can be written as $$ X=\frac12 \begin{pmatrix} -iz & -y -ix \\ y-ix & iz \end{pmatrix},\quad x,y,z\in\mathbb R\tag{4.39} $$ If we take as basis vectors \begin{align} S_x&=-\frac i2\sigma_x=\frac12 \begin{pmatrix} 0 & -i \\ -i & 0 \end{pmatrix} \\ S_y&=-\frac i2\sigma_y=\frac12 \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} \\ S_z&=-\frac i2\sigma_z=\frac12 \begin{pmatrix} -i & 0 \\ 0 & i\end{pmatrix} \\ \end{align} then we have $$X=xS_x + y S_y + z S_z$$ so the column vector corresponding to $X$ in the basis $\mathcal B = \{ S_x, S_y, S_z\}$ is $$[X] = \begin{pmatrix}x \\ y\\ z\end{pmatrix}.$$
Note that $$\det X = \frac14\left(x^2+y^2+z^2\right)=\frac14\|X\|^2$$ so the determinant of $X\in\mathfrak{su}(2)$ is proportional to the norm squared of $[X]\in\mathbb R^3$ with the usual Euclidean metric. Now you will check below that $A\in SU(2)$ acts on $X\in\mathfrak{su}(2)$ by the map $X\mapsto AXA^\dagger$, and that this map is linear. Thus, this map is a linear operator on $\mathfrak{su}(2)$, and can be represented in the basis $\mathcal B$ by a $3\times 3$ matrix which we will call $\rho(A)$, so that $[AXA^\dagger]=\rho(A)[X]$ where $\rho(A)$ acts on $[X]$ by the usual matrix multiplication. Furthermore, $$\left\|\rho(A)[X]\right\| = \left\|[AXA^\dagger]\right\|^2 = 4 \det(AXA^\dagger) = 4 \det X = \left\|[X]\right\|^2 \tag{4.40}$$ so that $\rho(A)$ preserves the norm of $X$. This implies (see Exercise 4.19 below) that $\rho(A)\in O(3)$, and one can in fact show13 that $\det \rho(A) = 1$, so that $\rho(A)\in SO(3)$. Thus we may construct a map \begin{align} \rho: SU(2) & \to SO(3) \\ A & \mapsto \rho(A) \end{align}
Furthermore, $\rho$ is a homomorphism, since \begin{align} \rho(AB)[X] & = \left[(AB)X(AB)^\dagger\right] = \left[AB X B^\dagger A^\dagger\right] =\rho(A) \left[BXB^\dagger\right] \\ & = \rho(A)\rho(B)[X] \tag{4.41} \end{align} and hence $\rho(AB) = \rho(A)\rho(B)$. Is $\rho$ an isomorphism? One can show14 that $\rho$ is onto but not one-to-one, and in fact has kernel $K=\{I,-I\}$. From the discussion preceding this example, we then know that $\rho(A)=\rho(-A)\ \forall A\in SU(2)$ (this fact is also clear from the definition of $\rho$), so for every rotation $R\in SO(3)$ there correspond exactly two matrices in $SU(2)$ which map to $R$ under $\rho$. Thus, when trying to implement a rotation $R$ on a spin $1/2$ particle we have two choices for the $SU(2)$ matrix we use, and it is sometimes said that the map $\rho^{-1}$ is double-valued. In mathematical terms one does not usually speak of functions with multiple-values, though, so instead we say that $SU(2)$ is the double cover of $SO(3)$, since the map $\rho$ is onto ('cover') and two-to-one ('double').
I have the following questions:
I have previously been introduced to the process of diagonalizing matrices. What I don't understand is in this case, what is being diagonalized, $X$ or $A$?
Is the final matrix in $SO(3)$ or $SU(2)$?
Does this diagonalization process correspond to a change of basis and if it does, what's the point of changing bases?
What mapping corresponds to $X$ being represented as a vector in the basis $\{S_x,S_y,S_z\}$?
Also, I just don't understand what the 2-to-1 mapping means?
I also understand that $X$ is a Lie algebra and to find its Lie group you have to exponentiate it: $e^{X}$ I've read in a math book that this process also involves diagonalization. But I just don't understand the whole process and the relationship between Lie algebras and lie groups. Why is there a need to switch between the two?