Abstract
We consider a mean-field system described by a general collective variable M, driven out of equilibrium by the manipulation of a parameter μ. Given a general dynamics compatible with its equilibrium distribution, we derive the evolution equation for the joint probability distribution function of M and the work W done on the system. We solve this equation by path integrals. We show that the Jarzynski equality holds identically for these dynamics, both at the path integral level and for the classical paths which dominate the expression in the thermodynamic limit. We discuss some implications of our results.