The expectation value of momentum is given by:
$$ \langle p\rangle = \int_{-\infty}^{\infty}\psi^{*}(x)\left(-i\hbar\frac{\partial}{\partial x}\right)\psi(x)dx $$
How can I show that the above expression is equivalent to this? $$ \langle p\rangle = \int_{-\infty}^{\infty}p|\tilde\psi(p)|^{2}dp $$
I have tried to use that
$$\psi(x)=\frac{1}{\sqrt{2\pi\hbar}}\int_{-\infty}^{\infty}\tilde\psi(p)e^{ipx / \hbar}dp$$ and $$\psi^{*}(x)=\frac{1}{\sqrt{2\pi\hbar}}\int_{-\infty}^{\infty}\tilde\psi^{*}(p)e^{-ipx / \hbar}dp$$
Then $$ \langle p \rangle = \int_{-\infty}^{\infty} \left[\frac{1}{\sqrt{2\pi\hbar}}\int_{-\infty}^{\infty}\tilde\psi^{*}(p)e^{-ipx / \hbar}dp \right ]\left(-i\hbar\frac{\partial}{\partial x}\right )\left[\frac{1}{\sqrt{2\pi\hbar}}\int_{-\infty}^{\infty}\tilde\psi(p)e^{ipx / \hbar}dp \right]dx$$ $$=\frac{1}{2\pi\hbar}\int_{-\infty}^{\infty}\left [ \left (\int_{-\infty}^{\infty} \tilde\psi^{*}(p)e^{-ipx / \hbar}dp \right) (-i\hbar) \left (\int_{-\infty}^{\infty} \frac{\partial}{\partial x}\tilde\psi(p)e^{ipx / \hbar}dp \right)\right]dx$$ $$=\frac{1}{2\pi\hbar}\int_{-\infty}^{\infty}\left [ \left (\int_{-\infty}^{\infty} \tilde\psi^{*}(p)e^{-ipx / \hbar}dp \right) (-i\hbar) \left (\int_{-\infty}^{\infty} \frac{ip}{\hbar}\tilde\psi(p)e^{ipx / \hbar}dp \right)\right]dx $$
But I don't know if this is the right approach or if I'm doing the right thing.