In the 1920s and 1930s, Erwin Schroedinger, Paul Dirac, Wolfgang Pauli, Max Planck, Albert Einstein, and others, developed a mathematical description of the behavior of electrons in atoms.
E = ( n )( basic energy unit ), where n = 0, 1, 2, ....
On the second rung, the distance you are above the ground and your potential energy are exactly twice what they were on the first rung, on the third, three times, and so on.
In each of the expressions above, the symbol n, the counting variable, is called a quantum number.
A second consequence of the small scale of atoms is that specifying both the energy and the position of an electron simultaneously is impossible (the Heisenberg principle).
| Quantum Number | Possible Values | Describes |
|---|---|---|
| n | 1, 2, 3, ... | Total Energy |
| l | 0, 1, 2 ... n - 1 | Kinetic vs Potential Energy = shape of orbital |
| m | -l ... +l | Spatial Orientation of Orbital |
| s | ± 1/2 | Orientation of Electron "Spin" |
To avoid confusion between the numbers, we commonly replace the numerical value of the "l" quantum number by a letter:
Pauli established the principle that no two electrons in an atom or molecule may have the same four quantum numbers; this would amount to being in exactly the same place at the same time, which is impossible for any physical object.
With the restrictions on the values of the quantum numbers, we can easily see that the number of orbitals of each type is limited. For example, when n = 1, l and m must both be zero. Therefore, only one orbital in an atom can have the 1s designation, and it can hold a maximum of two electrons, each having one of the two possible spin values.
Electrons of opposite spin, occupying an orbital with the same values of n, l, and m, are said to be paired.
When n = 2, l can be either 0 or 1, and m can be -1, 0, and +1. Here are the resulting orbitals:
| n | l | m | Shorthand |
|---|---|---|---|
| 2 | 0 | 0 | 2s |
| 2 | 1 | -1 | 2px |
| 2 | 1 | 0 | 2py |
| 2 | 1 | 1 | 2pz |
You should construct a similar Table to show that when n = 3 and l = 2, five orbitals can be constructed that receive the designation, 3d.
We need two final rules to be able to describe where electrons are found in atoms:
The result of these rules is to construct atoms in which the electrons are placed as close to the nucleus, and as far from each other, as possible.
To write a description of where the electrons are, we start by using the atomic number of the neutral atom, which gives us the number of electrons as well. Here's sodium:

The lowest energy orbital available is the 1s.
If n = 2, as shown above, we have a 2s orbital, which will hold two more electrons, and three 2p orbitals, which will hold two each.
One electron remains, but no more orbitals are available having n = 2. So the last electron must go into a 3s orbital.

Nitrogen is element 7. We can fill the 1s and 2s orbitals just as we did for Na. This accounts for four electrons and leaves three to be placed. We have three 2p orbitals, so we place one electron in each, to keep them as far apart as possible.
When the species for which we are writing an electron congifuration is an ion, we must add or subtract electrons from the atomic number. For each negative charge, add one; for each positive charge, subtract one.

Cl- therefore has 18 electrons.
Atoms at the left and right of the Periodic Table gain or lose electrons in order to obtain this esepcially stable configuration.
As we will see, many of the rules described here apply also when we combine atomic orbitals to make molecular orbitals.
The characteristic shapes described by the l quantum number (s, p, etc) are shown below:

Elements in the first full row of the Table use only the s and p electrons for bonding.
If you have Java installed on your computer (it is standard on Apples), here is a link that will allow you to manipulate the pictures in thee dimensions.
If you don't have Java, you can download it free here.. It is very useful.