I'm currently reading about spontanous symmetry breaking. In particular about a Lagrangian that is invariant under $SU(2)\times U(1)$, in other words pretty standard QFT stuff. I know that the generators of $SU(2)$ are the Pauli matrices.
I was wondering how one would go about determining the generators of the group $SU(2)\times U(1) $? In particular the generator of the associated $U(1)$ symmetry. The reason for this is that I want to determine which of the generators of the symmetry $SU(2)\times U(1) $ are broken by the ground state.
A generator $T$ is said to be broken by the ground state $ \phi = \frac{1}{\sqrt{2}}\left(\begin{array}{cc} 0 \\ v \end{array}\right)$
if $$Tv \neq 0.$$
I think that the generator for the corresponding $U(1)$ symmetry is $\frac{1}{2}(1+\sigma_3)$, but I dont understand how I can show this.