I was working through an energy calculation for the Fokker-Planck equation:
$$ \partial_t \rho + \nabla\cdot(\mathbf{v}\rho) = 0 $$where
$$ \mathbf{v} = -(\frac{1}{\rho}\nabla\rho + \nabla V). $$ At equilibrium, the density $\rho(\mathbf{x},\,t)$ no longer changes with time, $\rho(\mathbf{x},\,t) = \rho_{\inf}$.
We get that $$ \rho_{inf} (\mathbf{x},\,t) = Ce^{-V(\mathbf{x})} $$
Let $\phi : [0, inf) \rightarrow [0,inf)$ be a smooth function such that $\phi(1) = \phi’(1) = 0.$
$$ E(\rho) = \int_{\Omega}\phi(\frac{\rho}{\rho_{inf}})\rho_{inf} dx. $$
In the solution, I was given the following line: $$ \frac{dE}{dt} = \int_{\Omega} \phi’(\frac{\rho}{\rho_{inf}})\partial_t\rho dx = -\int_{\Omega}\nabla\phi’(\frac{\rho}{\rho_{inf}}) \cdot (\nabla \rho + \rho\nabla V) dx $$
I am not sure how they arrive at the last equality. When I asked my professor, he said it was integration by parts/Green’s identity.
Cheers.