In the following excerpt from S. Gasiorowicz's Quantum Physics, he derives an expression for the average momentum of a free particle. $\psi(x,t)$ is the wave function of a free particle, $\psi^*$ denotes its complex conjugate.
We try the following: since classically,
$$ p = mv = m\frac{dx}{dt} $$
we shall write
$$ <p> = m\frac{d}{dt}<x> = m\frac{d}{dt}\int{dx \psi^*(x,t) x \psi(x,t)} $$
This yields
$$ <p> = m\int_{-\infty}^\infty{dx\left( \frac{\partial\psi^*}{\partial t} x \psi + \psi^* x \frac{\partial\psi}{\partial t} \right)} $$
Note that there is no $dx/dt$ under the integral sign. The only quantity that varies with time is $\psi(x,t)$, and it is this variation that gives rise to a change in $x$ with time.
I seem to have trouble understanding the difference between the position $x$ and the average position $<x>$. Why can it be assumed that $\frac{dx}{dt}=0$? What is x?