I was reading basic quantum mechanics, and stumbled upon this math problem.
$$\begin{pmatrix} \cos\theta & e^{-i\phi} \sin \theta \\ e^{i\phi}\sin\theta & -\cos\theta\end{pmatrix}$$
Here I need to find the eigen values and eigen vectors corresponding to this matrix. I have successfully found out the Eigen Value of this vector, which is +1, and -1.
When I am trying to find the eigen vector, I am getting lost. I have been to this position (by choosing eigen value = +1) -->
$$\begin{pmatrix} \cos\theta-1 & e^{-i\phi} \sin \theta\\ e^{i\phi}\sin\theta & -\cos\theta-1\end{pmatrix}\begin{pmatrix} x_1 \\ x_2 \end{pmatrix}=\begin{pmatrix} 0 \\ 0 \end{pmatrix}$$ The answer is $\begin{pmatrix} \cos\frac{\theta}{2} \\ e^{i\phi}\sin\frac{\theta}{2}\end{pmatrix}$.
Whatever solution I try, I am not reaching to this solution. Can anyone of you please at least show me the right direction?
My background is NOT hardcore maths, and I am a software engineer, studying quantum mechanics and quantum computing by passion. Sorry if this question sounds silly. But any help is appreciated. I need to solve it to move to the forward chapters. Thank you.
A good starting point here are the double-angle identities from trigonometry: $$\cos\theta=1-2\sin^2\frac{\theta}{2}=2\cos^2\frac{\theta}{2}-1,\quad \sin\theta=2\sin\frac{\theta}{2}\cos\frac{\theta}{2}.$$ Inserting these into the second matrix of interest and simplifying a little gives
\begin{align} \begin{pmatrix} \cos\theta-1 & e^{-i\phi} \sin \theta\\ e^{i\phi}\sin\theta & -\cos\theta-1\end{pmatrix} &=\begin{pmatrix} (1-2\sin^2\frac{\theta}{2})-1 & e^{-i\phi} \cdot 2\sin\frac{\theta}{2}\cos\frac{\theta}{2}\\ e^{i\phi}\cdot 2\sin\frac{\theta}{2}\cos\frac{\theta}{2} & -(2\cos^2\frac{\theta}{2}-1)-1\end{pmatrix}\\ &=\begin{pmatrix} -2\sin^2\frac{\theta}{2} & 2e^{-i\phi} \sin\frac{\theta}{2}\cos\frac{\theta}{2}\\ 2e^{i\phi}\sin\frac{\theta}{2}\cos\frac{\theta}{2} & -2\cos^2\frac{\theta}{2}\end{pmatrix}\\ &=2\sin\frac{\theta}{2} \cos\frac{\theta}{2} \begin{pmatrix} -\sin\frac{\theta}{2}/\cos\frac{\theta}{2} & e^{-i\phi} \\ e^{i\phi} & -\cos\frac{\theta}{2}/\sin\frac{\theta}{2}\end{pmatrix}\\ \end{align} The prefactor is generally non-zero, so $(x_1,x_2)$ must be annihilated by the remaining matrix. Typically one then deduces $x_1,x_2$ "by inspection", i.e., by looking at this matrix and reading off the answer. But to be more explicit, we need $$\begin{pmatrix} -\sin\frac{\theta}{2}/\cos\frac{\theta}{2} & e^{-i\phi}\\ e^{i\phi} & -\cos\frac{\theta}{2}/\sin\frac{\theta}{2}\end{pmatrix} \begin{pmatrix} x_1\\ x_2\end{pmatrix} = \begin{pmatrix} x_2 e^{-i \phi} -x_1 \sin\frac{\theta}{2}/\cos\frac{\theta}{2}\\ x_1 e^{i\phi} -x_2 \cos\frac{\theta}{2}/\sin\frac{\theta}{2} \end{pmatrix}$$ to vanish. This amounts to $x_2/x_1=e^{i\phi}\sin\frac{\theta}{2}/\cos\frac{\theta}{2}$; the given eigenvector satisfies this, and thus is a genuine solution. It's worth noting, though, that this isn't the only solution: any multiple of $(x_1,x_2)$ also solves this. The most obvious motivation for this choice of solution is that it's normalized: $|x_1|^2+|x_2|^2=1$. Beyond that, it's just a fairly convenient option: $x_1$ will always be real, and the vector is explicitly $2\pi$-periodic in $\phi$.