Say we have a single qubit with some density matrix, for example lets say we have the density matrix $$\rho=\begin{pmatrix}3/4&1/2\\1/2&1/2\end{pmatrix}.$$ I would like to know what is the procedure for checking whether this state is pure or mixed.
I know that a pure state is one which can be written $\rho=|\psi\rangle\langle\psi|$, and that a mixed state is one which can be written $\rho=\sum_{k=1}^Np_k|\psi_k\rangle\langle\psi_k|$. But I have two problems. Firstly I'm not sure what $p_k$ is, I know it's called the weight function but I don't understand it significance, how to find it, or its role mathematically. Secondly I don't see how it is possible to determine from these definitions whether the state I mentioned above is pure or mixed. How can we? Or perhaps there's some method that doesn't use the definitions directly? Could anyone please clear up this problem for me?