Chem Math· Math-for-Chemists Hub
Atlas Chapter 8: Vectors Interactive lesson

Vectors, Dot & Cross Products

Direction matters

QuantumOrganic
Detail level

Quantities with direction

Dipoles, forces and angular momentum

A vector has both magnitude and direction. We write it in component form or as a column matrix, and its magnitude is the Pythagorean length . Adding two vectors means adding their components; the resultant points from tail to head of the chain. These ideas are not abstract — every bond dipole in a molecule is a vector, and the molecular dipole moment is literally their vector sum.

Two kinds of multiplication exist for vectors. The dot product is a scalar that measures how much two vectors align; it is zero for perpendicular vectors, and reaches when they are parallel. The cross product is a vector perpendicular to both, with magnitude equal to the area of the parallelogram they span — it is largest when they are perpendicular and zero when they are parallel.

In a crystal lattice, three basis vectors define the unit cell; every lattice point is reached by an integer linear combination . Bragg's law and the reciprocal lattice are both vector constructs built directly from these three primitive vectors.

Key formulas at a glance

Magnitude
Dot product
Cross product (z-comp.)
Resultant dipole
Vectors in chemistry
Bond dipoles add as vectors to give the molecular dipole (why CO₂ is non-polar); the dot product lets us extract bond angles from Cartesian coordinates; the cross product gives angular momentum — central to atomic orbital quantum numbers; and lattice translation vectors define crystal structures. Open the vector lab to see all of this live.

A unit vector has magnitude 1 and carries only direction. Unit vectors are essential for resolving a vector into components along an arbitrary axis (projection) and for writing force-field equations cleanly. The projection of onto is:

This is used in NMR to decompose a magnetic field vector into components parallel and perpendicular to a bond axis, and in crystal optics to find how much of an electric field drives a given phonon mode.

Unit vector
, so . Normalise before projecting.
Projection
Component of along : .
Cross product magnitude
— the area of the parallelogram spanned by and .
NH₃ dipole sum
Three N–H bond dipoles at 107.8° bond angle plus the lone-pair contribution all add as vectors; the net points along the symmetry axis.
Common pitfalls
  • Adding magnitudes instead of components. The net dipole of water is not ; the correct result is because the x-components cancel. Always decompose before adding.
  • Using dot instead of cross (or vice versa). The dot product gives a scalar (bond angle, overlap); the cross product gives a vector (torque, angular momentum). If your answer should have a direction, you need the cross product.
  • Forgetting to normalise. The angle formula requires dividing by both magnitudes. Omitting either gives an angle that is wrong by an arbitrary scale factor.
  • Wrong right-hand rule for cross products. . Swapping the order of a cross product reverses the direction of the torque or angular momentum, which reverses the sense of rotation.
Going deeper

When three bond vectors in a molecule are combined to find the net dipole, the result can be zero even when all individual bonds are polar — because the vector sum cancels. BF₃ (D₃h symmetry, 120° angles) is the classic example: three equivalent B–F bond dipoles arranged at 120° yield a zero net moment. Knowing whether a sum of vectors can cancel depends purely on the symmetry of the arrangement — a key reason why group theory and vectors go hand-in-hand in molecular chemistry.

Vector lab

Adjust two vectors and watch the dot product, cross product, and angle update in real time.

Set two vectors and read their products
-4-2024-4-2024xy
Vector a (orange)
aₓ3
a_y1
Vector b (blue)
bₓ1
b_y3
|a|, |b|3.16, 3.16
dot a·b6.00
angle θ53°
cross (z-component)8.00
The dot product peaks when the vectors align and is zero at 90°. The cross product is largest when they're perpendicular — it measures the area of the parallelogram they span, and points along angular momentum.
Worked example 1Resultant dipole of water from its two O–H bond dipoles

Each O–H bond in water has a bond dipole moment of . The H–O–H angle is . Find the net molecular dipole moment, treating the two bond dipoles as vectors symmetric about the bisector.

Worked example 2Bond angle in a molecule from Cartesian coordinates

In H₂O the oxygen is at the origin, and the two hydrogen atoms are at and . Use the dot product to find the H–O–H bond angle.

Worked example 3Cross product: torque on a bond dipole in an electric field

A bond dipole sits in an electric field . The torque is . Find its magnitude and the direction it would rotate the dipole.

Worked examples

Pull the vector ideas together across dipole moments, crystal geometry and angular momentum.

Worked example 4Proving CO₂ is non-polar by vector cancellation

Each C=O bond has a dipole of directed from C toward O. In linear CO₂ the molecule is O=C=O with a bond angle of 180°. Show that the net molecular dipole is zero.

Worked example 5Lattice translation vector and unit-cell parameter

In a face-centred cubic (FCC) metal the lattice parameter is (nickel). The three primitive lattice vectors are , , and . Find the nearest-neighbour distance (length of ).

Worked example 6Angular momentum quantum number from the cross product

An electron in a 2p orbital has orbital angular momentum magnitude . For , calculate in units of . Express classically: if the electron travels in a circle of radius with speed , what is ?

Worked example 7Unit vectors and projection: component of a force along a bond axis

An applied force vector acts on a molecule. The bond axis is along (unnormalised). Find the component of along the bond axis (the tensile/compressive force on the bond).

Worked example 8Resultant dipole of SO₂ from its two S–O bond dipoles

Each S–O bond in SO₂ has a dipole of directed from S toward O. The O–S–O angle is . Using vector addition, find the net molecular dipole moment.

ChallengeChallenge — net dipole of NH₃ from three N–H bond vectors and the lone pair

Ammonia (NH₃) has C₃v symmetry. Each N–H bond has dipole directed from N toward H. The H–N–H angle is . The lone pair contributes an additional in the direction (along the C₃ axis, away from H atoms). Sum all four vector contributions and compare with the experimental value of 1.47 D.

Check yourself

Four quick questions on vectors, products, and dipole moments.

Question 1 of 4 · Score 0

A vector differs from an ordinary number because it has both magnitude and:

Choose an answer.