Solution
= Solution
The <Time-dependent Schrödinger equation> is $i\hbar\partial_t\psi=\widehat H\psi$. Differentiate $\langle\widehat A\rangle=\langle\psi|\widehat A|\psi\rangle$, use the equation and its adjoint, and include explicit time dependence of the operator. This gives <Ehrenfest theorem>
$$
\boxed{i\hbar\frac d{dt}\langle\widehat A\rangle
=\langle[\widehat A,\widehat H]\rangle
+i\hbar\left\langle\frac{\partial\widehat A}{\partial t}\right\rangle}.
$$