I have a conceptual question about the resolution of the identity in quantum mechanics.
For a continuous spectrum, a self-adjoint operator $F$ can be written in the following way $$ F = \int \lambda\,dE_F(\lambda) = \int \lambda\frac{dE}{d\lambda}d\lambda = \int \lambda |\lambda\rangle\langle\lambda|d\lambda $$ where $E_F(\lambda)$ is the projection operator.
Now suppose we want of find out the resolution of the identity $E_{F^2}(\lambda)$ for $F^2$.
By definition we have $$ F^2 = \int \lambda^2\,dE_F(\lambda) = \int \lambda\,dE_{F^2}(\lambda) $$ And I don't know how to proceed to write out $E_{F^2}$ in terms of $E_F$. I also wonder if there is a way to find the resolution of the identity for any operator $g(F)$ that is a function of $F$?