States belonging to some space $\mathcal H$ can be described by density operators $\rho\in L(\mathcal H)$ that are positive and have trace one. Pure states are the ones that can be written as $\rho=|\psi\rangle\langle \psi|$ for some $|\psi\rangle\in\mathcal H$, all others are said to be mixed.
My question is twofold:
can all mixed states be written as a convex combination $\rho=\sum_j p_j |\psi_j\rangle\langle \psi_j|$ given an ensemble of pure states $\{|\psi_j\rangle\langle\psi_j|\}$ and a probability distribution $p_j$? To elaborate: given $\rho=\sum_j p_j \rho_j$ where $\rho_j$ is not necessarily pure, can it always be written in the form above?
if all $\rho$ admit a spectral decomposition $\rho=\sum_k \lambda_k|k\rangle\langle k|$ in an orthonormal basis $\{|k\rangle\}$ of $\mathcal H$, how do I distinguish between pure and mixed states in this form?