The branch of physics that uses probability theory to explain the behavior of systems with many particles.Statistical mechanics is the framework that connects the microscopic world of atoms and molecules to the macroscopic properties we observe, like temperature, pressure, and entropy. Instead of tracking every particle, it uses probability distributions to describe the collective behavior of systems with enormous numbers of constituents. This approach explains why heat flows, why gases expand, and why magnets lose their magnetization at high temperatures — all from the statistical rules governing microscopic motion.
Developed in the late 19th century by Ludwig Boltzmann and Josiah Willard Gibbs, building on earlier work by James Clerk Maxwell on the kinetic theory of gases.
The core idea is to define a probability distribution over all possible microstates (specific arrangements of particle positions and momenta) consistent with macroscopic constraints like total energy. From this distribution, one computes average quantities — energy, particle density, magnetization — that match what we measure. The second law of thermodynamics emerges naturally: systems evolve toward the most probable macrostate, which corresponds to maximum entropy.
Used to design engines, predict phase transitions in materials, model biological processes like protein folding, and simulate complex fluids in engineering.




