I'm reading a book on quantum mechanics and a topic in there was not well explained. I couldn't find an answer on the web.
Say $\psi(x)$ is a position wave function of a one dimensional free particle, and $\hat{\psi}(k)$ the momentum wave.
Say $\psi(x)$ and $\hat{\psi}(k)$ are the position and momentum space representation of wave function respectively, for a free particle moving in one dimension.
We'd like to perform a measurement to check if the particle's position is inside some range $I=(a,b)$. So they do the following: Let $\chi_I(x)$ be a characteristic function such that $\chi_I(x)=1$ if $x\in I$ and $\chi_I(x)=0$ otherwise. And we'll define a linear operator $P_I:\psi \to \chi_I \psi$.
The book says $P_I$ is a projection operator that corresponds to an ideal measurement device that makes a measurement that can result in either a "yes" or a "no". The probability for "yes" is $\langle \psi(x),\chi_I \psi(x) \rangle$ If the result is "yes", the position wave collapses to $\chi_I \psi$, otherwise it collapses to $(1-\chi_I) \psi$.
Is this correct? I didn't see this kind of formalism for continuous properties anywhere else.
The book also says an operator like this can be defined for the momentum wave function. I'm guessing this would be applying $\chi_I$ to $\hat{\psi}(k)$. But how would such an operator be described as a linear operator on $\psi(x)$? I.e., what would be a linear operator on $\psi(x)$ that corresponds to a measurement device that tells us if the momentum is within range $I=(a,b)$?