for the average kinetic energy per particle, the equipartition theorem can be used to derive the ideal gas law from classical mechanics. If q = (q x, q y, q z) and p = (p x, p y, p z) denote the position vector and momentum of a particle in the gas, and F is the net force on that particle, then