I am now learning the Quantum Field Theory by reading the lecture notes by David Tong.
I have some question about the mode expansion about the real scalar field that is canonically quantized by promoting the classical Klein Gordon field to a quantum field.
The mode expansion of the field is given by
$$ \phi (\vec x) = \int \frac{d^{3}p}{(2 \pi)^3} \frac{1}{\sqrt{2 \omega_{\vec p}}} (a_{\vec p} e^{i {\vec p} \cdot {\vec x}} + a^{\dagger}_{\vec p} e^{-i {\vec p} \cdot {\vec x}}) $$
where $\omega_{\vec p} = \sqrt{p^{2} + m^2}$ and $a^{\dagger}_{\vec p}$ will creat a spin $0$ particle in the momentum state $\left| \vec p \right\rangle$, namely $a^{\dagger}_{\vec p} \left| {0} \right\rangle = \left| {\vec p} \right\rangle$.
The question I am now curious about is about what will I get if I operate the quantum field on the vacuum state, that is $\phi (\vec x) \left| {0} \right\rangle = ?$
It seems that in the lecture note $\phi (\vec x) \left| {0} \right\rangle = \left| {\vec x} \right\rangle$, where $\left| {\vec x} \right\rangle$ is the spin $0$ particle in position state at $\vec x$.
(eq 2.52 in http://www.damtp.cam.ac.uk/user/tong/qft/two.pdf)
However this seems nontrivial to me so I carried out the following derivation.
$$ \phi (\vec x) \left| {0} \right\rangle = \int \frac{d^{3}p}{(2 \pi)^3} \frac{1}{\sqrt{2 \omega_{\vec p}}} (a_{\vec p} e^{i {\vec p} \cdot {\vec x}} + a^{\dagger}_{\vec p} e^{-i {\vec p} \cdot {\vec x}})\left| {0} \right\rangle $$ $$ = \int \frac{d^{3}p}{(2 \pi)^3} \frac{1}{\sqrt{2 \omega_{\vec p}}} (\left| {\vec p} \right\rangle e^{-i {\vec p} \cdot {\vec x}}) $$
However, I have no idea how to prove that $$ \int \frac{d^{3}p}{(2 \pi)^3} \frac{1}{\sqrt{2 \omega_{\vec p}}} (\left| {\vec p} \right\rangle e^{-i {\vec p} \cdot {\vec x}}) = \left| {\vec x} \right\rangle $$
I know that in elementary quantum mechanics we have $$ \left| {\vec x} \right\rangle = \int d^{3}p \left| {\vec p} \right\rangle \left\langle {\vec p} \right| \cdot \left| {\vec x} \right\rangle $$ However this doesn't resemble what I want to prove.
It seems a stupid question but I was just stuck on it.
I would be grateful for any suggestion!