I'm new to quantum mechanics, and I am beginning to study Dirac notation, but I do not understand the significance or meaning of the following equation:
$$\sum_n\left|e_n\right\rangle\left\langle e_n\right|=1$$
or for that matter, this equation as well:
$$\int\left|e_z\right\rangle\left\langle e_z\right| d z=1$$
But I do understand that:
$$\hat{P} \equiv \left|\alpha\right\rangle\left\langle \alpha\right|$$
is an operator that can find the projection of a vector, say $|\beta\rangle$, along the direction of $|\alpha\rangle$
Apologies if I similar question has been asked before, but I was not able to find one that directly answered my question.