When bonds are formed, electron density is redistributed among atoms so to minimize the Gibbs energy, i.e., dG = 0. Equation (15) shows the Gibbs energy of a system as a function of temperature, pressure, atomic populations, and its geometry. If we consider a bonding process at constant temperature and pressure, the total differential of that energy can be expressed as: