I read in a particle physics note that if an $SU(2)$ isospin transformation makes $p\rightarrow n$ then under the same transformation pions go like $\pi^+ \rightarrow\pi^-$. I'm assuming that this means $\pi^0$ remains unchanged under this transformation.
Now if I represent $p$ to be $\begin{pmatrix} 1\\ 0 \end{pmatrix}$
And $n$ to be $\begin{pmatrix} 0\\ 1\end{pmatrix}$
The $SU (2)$ element with a two dimensional representation $\begin{pmatrix} 0&1\\ 1&0\end{pmatrix}$ is the required transformation.
But pions are isospin triplet hence we need the representations
$\pi^+ = \begin{pmatrix} 1\\0\\ 0\end{pmatrix}$
$\pi^0 = \begin{pmatrix} 0\\1\\ 0\end{pmatrix}$
$\pi^- = \begin{pmatrix} 0\\0\\ 1\end{pmatrix}$
Now I (vaguely) understand that $SU(2)$ can have a three-dimensional representation. But the matrix representation of the element that makes these transformations is as follows
$\begin{pmatrix} 0&0&1\\ 0&1&0\\ 1&0&0 \end{pmatrix}$
This is indeed unitary, but how do I know that this is a representation of an $SU(2)$ element? How can I construct the above matrix from the three dimensional generators of $SU(2)$?