DrDu said:
Covalent bonding is essentially a quantum mechanical phenomenon: The electrons have to fulfill Heisenbergs position momentum uncertainty relation. I.e., just by maximizing Coulombic attraction the electrons want to be as near to the nuclei as possible, but the smaller we chose the orbitals of the electrons, the higher their mean momentum and hence their mean kinetic energy. When a molecule is formed, the electrons have the possibility to be in a volume about twice as large as when they are in an isolated atom, hence the relative kinetic energy for a given mean distance from the nucleus is less in the molecule than in the isolated atoms. Hence also the total energy of the molecule will be lower than that of two isolated atoms.
This is part of the story, but this does not explain why for example, He atoms do not form molecules.
All atoms possesses a discrete set of energy levels. When you bring 2 identical atoms close together (say 2 H atoms) they cannot be regarded as isolated systems anymore, and we must consider the energy of the
combined system.
In a 2 atom system, the energy levels undergo "splitting"; that is, for each energy level present in the single atom, there are now two energy levels present with different energies (due to the Pauli Exclusion Principle). Of the two energy levels, one is
lower than the corresponding level in the single atom case, and one is
higher.
The energy level with lower energy is called the
bonding orbital. This is because electrons present in this orbital have a lower energy than in the case of an isolated atom, and thus it contributes to bonding (because the overall energy of the system is reduced). The energy level with higher energy is called the
anti-bonding orbital; electrons present in this orbital reduce the bonding between the 2 atoms.
(To link this with what DrDu was saying; occupied bonding orbitals have increased charge density between the two atomic nucleii, while occupied anti-bonding orbitals have reduced charge density between the atomic nucleii - DrDu only considered the case of a bonding orbital.)
Consider the case of molecular Hydrogen. The H2 molecule has 2 electrons, both which sit in the lowest unoccupied orbital; namely the 1s bonding orbital, and so the Hydrogen atoms remain bound as a stable molecule.
To contrast, consider the case of Helium. The He2 molecule will have 4 electrons; 2 in the 1s bonding orbital, and another 2 in the next highest orbital; the 1s anti-bonding orbital. Since 2 electrons contribute to bonding and 2 to anti-bonding, the covalent bond does not persist, which is why Helium exists in an atomic (singular) rather than a molecular state.
Claude.