Chem Math· Math-for-Chemists Hub
Atlas Chapter 10: Matrices & Linear Algebra Interactive lesson

Matrices, Determinants & Inverses

The algebra of arrays

Quantum
Detail level

Matrices transform space

The bookkeeping of symmetry, linear systems, and spectroscopy

A matrix is a rectangular grid of numbers that acts on vectors — rotating, reflecting, stretching or shearing them. In chemistry, every symmetry operation (rotation, reflection, inversion) is exactly such a matrix, and the machinery of group theory manipulates them to predict which vibrational modes are IR-active and which spectral transitions are allowed.

The single most important number attached to a square matrix is its determinant. For a 2×2 matrix the formula is:

The determinant measures the area-scaling factor of the transformation. When it is zero the matrix squashes space onto a line and has no inverse; otherwise the inverse exists and is given by:

Matrix multiplication combines transformations: applying then is written (note the order matters — multiplication is generally not commutative). Two special matrices recur constantly: the identity (diagonal ones, off-diagonal zeros) leaves every vector unchanged, and the transpose swaps rows and columns.

Key formulas at a glance

Determinant (2×2)
Inverse (2×2)
Identity matrix
Transpose
Proper rotation (C₂)
Reflection (σxz)

Non-commutativity is often the first surprise. Because matrix multiplication performs one transformation then another, the order matters: in general . In group theory this is the distinction between Abelian and non-Abelian groups — e.g., (ammonia) is non-Abelian because .

The trace of a matrix (sum of its diagonal entries) is a similarity invariant: applying a change-of-basis transformation gives . In group theory the trace of a representation matrix is its character, . Because the character does not change when we switch from one set of basis functions to another, it is the quantity tabulated in character tables and used to work out reducible vs irreducible representations, selection rules, and molecular orbital symmetries.

The C₂v symmetry operations — a 3×3 representation

E (identity)
C₂ (about z)
σᵥ (xz plane)
σᵥ′ (yz plane)
Common pitfalls
  • Element-wise multiplication instead of row × column. The entry — you must take the dot product of row of with column of , not just multiply matching entries.
  • Ignoring order in matrix multiplication. In C₂v, but — for this particular pair the result happens to agree; try in ammonia to see a genuine non-commutative case.
  • Trying to invert a singular matrix. If there is no inverse; the system of equations has either no solution or infinitely many. Always compute the determinant before attempting to invert.
  • Sign errors in the 3×3 cofactor expansion. The cofactor signs follow the checkerboard pattern , so the second cofactor picks up a minus sign.
Symmetry & beyond
Every symmetry operation of a molecule (rotation, reflection, inversion) is a matrix, and group theory manipulates them to predict spectroscopy and bonding. Solving linear systems — such as simultaneous Beer–Lambert equations for a two-component mixture — is also a matrix problem. Open the transformation lab to see the determinant as a living area.
Going deeper

The group multiplication table of C₂v (E, C₂, σᵥ, σᵥ′) encodes the closure axiom: every product of two operations is again an operation in the group. Check for instance that (the 3×3 matrices square to the identity) and that — as you can verify by direct matrix multiplication. This algebraic structure is what allows chemists to classify molecular orbitals and predict which IR and Raman bands are symmetry-allowed without ever solving the full Schrödinger equation.

Transformation lab

Drag the four matrix entries and watch the unit square deform. The shaded area is |det| — the orientation flips when det goes negative.

The matrix transforms the unit square — its determinant is the area
-3-2-10123-3-2-10123xy
a1
b0.5
c0
d1
determinant1.00
area scaling×1.00
orientationpreserved
The red and green arrows show where the basis vectors land. The shaded area is |det|; when det = 0 the square collapses to a line (no inverse). Reflections give det = −1.
Worked example 1C₂ rotation matrix acting on a water-molecule coordinate

A C₂ rotation about the -axis maps . Its matrix is .

Apply it to the oxygen lone-pair position vector and verify that a second C₂ returns the vector to its starting point.

Worked example 22×2 matrix multiplication: combining symmetry operations

The reflection maps and the inversion maps (in 2-D). Write each as a 2×2 matrix and compute . What operation does the product represent?

Worked examples

Determinants, inverses, and a two-component Beer–Lambert system.

Worked example 3Determinant and inverse of a 2×2 matrix

Find the determinant and the inverse of .

Worked example 4Solving a two-component Beer–Lambert mixture

A mixture of compounds X and Y is measured at two wavelengths. At 400 nm: (L mol⁻¹ cm⁻¹). At 550 nm: . The absorbances in a 1.00 cm cell are and .

Find the concentrations and .

Worked example 53×3 determinant: evaluating a symmetry matrix

The 3-D inversion matrix is . Evaluate its determinant by cofactor expansion along the first row.

Worked example 6Solving a 3-unknown mass-balance by Cramer's rule

A Hess's-law cycle for the formation of SO₃ involves three intermediate reactions with unknown enthalpy contributions (kJ mol⁻¹) satisfying:

Find by evaluating the 3×3 determinant and applying Cramer's rule.

Worked example 7Non-commutativity: AB ≠ BA for rotation and reflection

Let (90° rotation) and (reflection in the -axis). Compute both and and confirm they are different.

ChallengeC₂v representation matrices — closure and the group table

The C₂v point group has four symmetry operations: . Their 3×3 representation matrices (acting on the Cartesian coordinates ) are:

(a) Compute the trace (character) of each matrix. (b) Show that by direct matrix multiplication, verifying closure. (c) Confirm that the group is closed by listing all products from the group table.

Check yourself

Four questions on determinants, inverses and symmetry operations.

Question 1 of 4 · Score 0

The determinant of the 2×2 matrix [[a, b], [c, d]] is:

Choose an answer.