I'm starting a more 'formal' course on quantum mechanics, and we're going through momentum and position space, which I'm kind of confused on. I would just like clarification on this since I'm not understanding my teacher or my textbook very well. I'm just going to list what I think is going on and would love it if those who understand more could help me out!
- There is a 'big, general' state vector $|s(t)\rangle$ that contains all the information of the system. If I want to find the position wavefunction, that is the description of the system in terms of position, $x$ I compute $\langle x|s(t)\rangle$, where $|x\rangle$ is an eigenfunction of the position operator $\hat{x}$ with eigenvalue $x$. How is this exactly computed? I know the eigenfunction must be of the form $\delta(y-x)$ so do I calculate: $$\int_{-\infty}^{\infty}dy\ \delta(y-x)s(t)$$ but this doesn't seem right.
- Similarly, if I wanted to find a description of the system in terms of momentum, $p$ I compute $\langle p|s(t)\rangle$. My professor does the following: He sets up the eigenvalue problem $$P|p\rangle=p|p\rangle$$ and then has $$\langle x|P|p\rangle=p\langle x|p\rangle$$ and then claims $$\langle x|P|p\rangle=-i\hbar\partial_x \langle x|p\rangle$$ Did he just pull the momentum operator out of the bra-ket? Why is he allowed to do this? From what I understand, he seems to be claiming $\langle x|P|p\rangle=P \langle x|p\rangle$? He then goes on to show that $$ \langle x|p\rangle=\dfrac{1}{\sqrt{2\pi\hbar}}e^{(ip/\hbar)x}$$ which I follow, but I'm lost on why he is computing $ \langle x|p\rangle$ in the first place. Why couldn't he just compute $|p\rangle$ instead?