I'm looking at some lecture notes for electron scattering taking place at a ferromagnet-superconductor junction. The idea is to start from a tight binding model, and eventually obtain the BdG equation.
However, I have some problem with the algebra. In the ferromagnet the exchange term in the Hamiltonian reads $$H_{ex} = -\frac{\Delta_{xc}}{2}\sum_{i,\sigma} \vec{M} \cdot\vec{\sigma}c^{\dagger}_{i\sigma} c_{i \sigma}$$ where $\Delta_{ex}$ is just a scalar number, $\mathbf{M}=(\sin\theta \cos\phi, \sin\theta\sin\phi,\cos\theta)$ is the magnetization vector of the ferromagnet expressed in spherical coordinates, $\vec{\sigma}$ is a vector containing the Pauli matrices, and $c_{i,\sigma}$ annihilates an electron on site $i$ with spin $\sigma$.
In the lecture notes they write that this becomes
$$H_{ex} = -\frac{\Delta_{xc}}{2}\sum_{i,\sigma} \cos\theta c^{\dagger}_{i\sigma}c_{i\sigma}+ \sin\theta e^{-i\phi} c_{i,-\sigma}^{\dagger}c_{i\sigma} + \sin\theta e^{i\phi} c^{\dagger}_{i\sigma}c_{i,-\sigma} - \cos\theta c^{\dagger}_{i,-\sigma} c_{i,-\sigma}.$$
My question is how does one calculate this explicitly?
My own attempt
Clearly one must expand $$\vec{M}\cdot \vec{\sigma} = \sigma_x\sin\theta\cos\phi + \sigma_y \sin\theta \sin\phi + \sigma_z\cos\theta$$
and then act with this on the operator product $c_{i \sigma}^{\dagger}c_{i\sigma}$. However, I do not understand how the Pauli matrices act on the creation operators.
For instance how can you calculate
$$\sigma_x c_{i\sigma}^{\dagger}c_{i\sigma} = ?$$
I'm sure I can do the calculation above if only I knew how one handles one of these terms.