Why Nitrogen Is So Inert and Oxygen So Reactive?

notes
science
llm
A mathematician’s introduction to molecular orbitals.
Author

Stephen J. Mildenhall

Published

2026-07-13

Modified

2026-07-13

Why is oxygen, O₂, involved in rusting, combustion, respiration and countless other chemical reactions, while nitrogen, N₂, which makes up almost 80% of the atmosphere, is remarkably inert? A standard answer is that oxygen has a double bond whereas nitrogen has a triple bond, but that fails to capture the magnitude of the difference between the two. The deeper answer turns out to be unexpectedly beautiful. Understanding it requires moving beyond the familiar picture of orbitals around a single atom to the standing-wave eigenfunctions of an entire molecule. In the same way that the hydrogen atom naturally leads to spherical harmonics, a two-nucleus molecule has its own family of molecular standing waves, some of which strengthen chemical bonds while others weaken them. This post explains the striking difference between oxygen and nitrogen and reveals a satisfying connection between chemistry, spectral theory, symmetry and quantum mechanics.

The Lewis picture

The Lewis model is a useful first approximation, but it helps to connect it with the familiar electron configurations. This section is a summary and preview of ideas expanded later.

Oxygen has atomic number 8, giving the electron configuration

1s² 2s² 2p⁴

The six valence electrons therefore occupy the outer-shell orbitals as

2s: [↑↓]

2p: [↑↓] [↑] [↑]

The important point is that oxygen has two unpaired electrons in its three (2p) orbitals. When two oxygen atoms approach, those unpaired electrons can pair up with the corresponding unpaired electrons on the other atom, forming two shared electron pairs. In the Lewis picture we simply draw this as

O = O

Nitrogen has atomic number 7, giving

1s² 2s² 2p³

Its valence shell is therefore

2s: [↑↓]

2p: [↑] [↑] [↑]

Nitrogen has three unpaired electrons. When two nitrogen atoms approach, all three can pair with electrons from the other atom, giving three shared electron pairs:

N ≡ N

The shared electrons are counted as belonging to both atoms, so each atom achieves a complete outer shell (an octet).

The Lewis picture is an excellent bookkeeping device for predicting the number of bonds. However, it is not the deepest description. Quantum mechanics replaces the idea of “shared electrons” with something the idea that the entire molecule possesses its own standing-wave orbitals (molecular orbitals), and all of the valence electrons occupy those orbitals according to their energies. The familiar double and triple bonds then emerge naturally from that picture.

How electrons fill orbitals

A useful bridge between school chemistry and quantum mechanics is to understand how electrons occupy atomic orbitals.

Orbitals are not shells

The familiar notation

1s² 2s² 2p⁴

means

  • shell number 1, s orbital, 2 electrons;
  • shell number 2, s orbital, 2 electrons;
  • shell number 2, p orbitals, 4 electrons.

A shell contains one or more subshells.

The first few are:

Shell Subshells
1 1s
2 2s, 2p
3 3s, 3p, 3d
4 4s, 4p, 4d, 4f

The letters indicate the angular form of the standing wave:

  • s : one orbital
  • p : three orbitals
  • d : five orbitals
  • f : seven orbitals

Each orbital can contain at most two electrons.

Hence:

Subshell Orbitals Maximum electrons
s 1 2
p 3 6
d 5 10
f 7 14

Paired and unpaired electrons

A pair simply means two electrons occupying the same orbital with opposite spin.

[ ↑↓ ]   paired

[ ↑  ]   unpaired

[    ]   empty

The arrows represent the two possible spin states.

They are not little balls spinning clockwise or anticlockwise.

Hund’s rule

When several orbitals have the same energy, electrons occupy them singly before pairing.

Thus a partially filled p subshell fills as

2p¹

[ ↑ ] [   ] [   ]


2p²

[ ↑ ] [ ↑ ] [   ]


2p³

[ ↑ ] [ ↑ ] [ ↑ ]


2p⁴

[ ↑↓ ] [ ↑ ] [ ↑ ]


2p⁵

[ ↑↓ ] [ ↑↓ ] [ ↑ ]


2p⁶

[ ↑↓ ] [ ↑↓ ] [ ↑↓ ]

The reason is simple: two negatively charged electrons prefer to occupy different orbitals if those orbitals have the same energy.

Nitrogen

Nitrogen has seven electrons.

Its configuration is

1s² 2s² 2p³

The valence shell therefore looks like

2s

[ ↑↓ ]


2p

[ ↑ ] [ ↑ ] [ ↑ ]

The three p electrons are all unpaired.

Oxygen

Oxygen has eight electrons.

Its configuration is

1s² 2s² 2p⁴

The valence shell is

2s

[ ↑↓ ]


2p

[ ↑↓ ] [ ↑ ] [ ↑ ]

Oxygen therefore possesses two unpaired electrons.

From atoms to molecules

The Lewis model says that these unpaired electrons are the ones available for bonding.

For oxygen, two atoms each contribute two unpaired electrons.

Those four electrons become two shared pairs, giving the familiar double bond:

   (••)       (••)
      \       /
       O == O
      /       \
   (••)       (••)

Each oxygen retains two lone pairs.

For nitrogen, each atom contributes three unpaired electrons.

All six pair up to form the triple bond:

      (••)
        |
      N ≡ N
        |
      (••)

Each nitrogen retains one lone pair.

This is an excellent bookkeeping device, but it is not the deepest description.

Quantum mechanics replaces the idea of “shared electrons” with something even more elegant: the molecule possesses its own standing-wave eigenfunctions (molecular orbitals), and all of the valence electrons simply occupy those molecular orbitals in order of increasing energy. The familiar double and triple bonds emerge naturally from that filling process.

The better picture: standing waves

The real picture comes from quantum mechanics. An orbital is not a little container holding electrons. An orbital is an eigenfunction of the Schrödinger operator. For a single nucleus, the potential is spherically symmetric, so the eigenfunctions separate into

  • radial standing waves, and
  • spherical harmonics.

These are the familiar atomic orbitals:

  • s
  • p
  • d
  • f

The orbital shapes are therefore standing-wave modes, much like the vibration modes of a drum.

Two nuclei give a different eigenvalue problem

When two nuclei approach one another, the potential changes completely. We no longer solve the one-centre Schrödinger equation. Instead we solve the two-centre problem. Consequently the atomic orbitals are replaced by a new set of molecular orbitals. The key approximation is Linear Combination of Atomic Orbitals (LCAO). Given two similar atomic orbitals \[ \phi_A,\qquad \phi_B, \] two molecular orbitals are formed: \[ \psi_{\rm bonding}\propto\phi_A+\phi_B, \] and \[ \psi_{\rm antibonding}\propto\phi_A-\phi_B. \] The first reinforces between the nuclei. The second cancels between the nuclei.

Why bonding orbitals lower the energy

Bonding orbitals concentrate negative electron density between the two positive nuclei. Each nucleus is attracted towards this shared negative cloud. The electron density acts as the “glue” holding the nuclei together. Antibonding orbitals contain a node between the nuclei. The glue is missing from the middle. The nuclei continue to repel each other while receiving less attraction from shared electrons. Occupying antibonding orbitals therefore weakens the bond.

Nitrogen versus oxygen

The crucial difference is not merely “three bonds versus two.” Rather, the molecular orbitals fill differently. For N₂:

  • all the low-energy bonding orbitals are filled;
  • the corresponding antibonding orbitals remain empty.

For O₂:

  • the bonding orbitals are already full;
  • the two additional electrons must occupy antibonding orbitals because of the Pauli exclusion principle.

The bond order becomes

  • N₂: 3
  • O₂: 2

The measured bond energies reflect this dramatic difference.

Molecule Bond energy (kJ/mol)
N₂ ~945
O₂ ~498

The stronger bond makes N₂ extremely difficult to split.

Why oxygen is more reactive

O₂ is not unstable. Wood does not spontaneously ignite and iron does not instantly rust. However, oxygen has

  • a weaker bond,
  • two unpaired electrons in antibonding orbitals,
  • many low-energy reaction pathways.

Once reactions begin, oxygen forms extremely stable compounds such as water, carbon dioxide and metal oxides.

Nitrogen, by contrast, has an enormous activation barrier because its triple bond is so strong. Nature overcomes this only through specialised bacteria, lightning, or industrial processes such as Haber–Bosch.

The mathematical viewpoint

The most satisfying conceptual framework is spectral theory. Changing the nuclei changes the potential in the Schrödinger operator. Changing the operator changes its eigenfunctions. Thus:

  • one nucleus → atomic orbitals;
  • two nuclei → molecular orbitals;
  • many nuclei → electronic structure calculations.

The orbital pictures familiar from chemistry are therefore visualisations of eigenfunctions.

Symmetry

The hydrogen atom possesses spherical symmetry. Its angular eigenfunctions are the spherical harmonics, the irreducible representations of SO(3). Diatomic molecules possess axial rather than spherical symmetry. Their natural orbitals are labelled

  • σ
  • π
  • δ

instead of

  • s
  • p

The corresponding exact mathematical problem for H₂⁺ is the two-centre Coulomb problem, naturally expressed in prolate spheroidal coordinates.

An unexpected connection

An interesting analogy exists with probability theory. Exchangeability says that random variables possess no meaningful ordering. Quantum indistinguishability says that identical particles possess no meaningful identity. Both are manifestations of symmetry under the permutation group, although quantum mechanics goes further by requiring states to transform according to particular representations of that group (symmetric for bosons, antisymmetric for fermions).

Reading list

Griffiths, D. J., & Schroeter, D. F. Introduction to Quantum Mechanics (3rd ed.)

An excellent modern introduction. Covers the hydrogen atom, spherical harmonics, identical particles and introduces molecular orbitals through simple examples. Ideal as a first text.

Atkins, P., & Friedman, R. Molecular Quantum Mechanics

Probably the best bridge between physics and chemistry. Develops molecular orbitals, the LCAO approximation, variational methods, symmetry and chemical bonding from first principles.

Levine, I. N. Quantum Chemistry

A classic chemistry text. Particularly good on molecular orbitals of N₂ and O₂ and explains why oxygen is paramagnetic.

Szabo, A., & Ostlund, N. S. Modern Quantum Chemistry

The standard graduate text on Hartree–Fock and molecular electronic structure. Excellent for readers interested in numerical eigenvalue problems and computational chemistry.

Tinkham, M. Group Theory and Quantum Mechanics

Shows how orbital structure emerges from representation theory and symmetry groups. Especially appealing for readers with a mathematical background.

Cotton, F. A. Chemical Applications of Group Theory

The definitive treatment of molecular symmetry and group representations in chemistry. Demonstrates how orbital structures follow naturally from symmetry considerations.

Final thought

The conceptual leap is replacing

“Electrons occupy little shells around atoms”

with

“A molecule possesses a set of allowed standing-wave eigenmodes, and the electrons occupy those modes.”

Once viewed as a problem in spectral theory, molecular chemistry becomes an application of eigenfunctions, symmetry and variational principles.