Lemma
← All topics
Further mathematics

Vectors: lines and planes

Geometry in three dimensions.

Introduction

This Further Maths topic takes vectors into full 3D geometry. The scalar product measures angles. Lines are written r=a+λd\mathbf r = \mathbf a + \lambda\mathbf d and planes as r⋅n=p\mathbf r \cdot \mathbf n = p or ax+by+cz=dax + by + cz = d. You learn to find where lines and planes meet, the angles between them, and shortest distances between points, lines and planes.

Why it matters

Air traffic control must know whether two flight paths come too close. A 3D game engine checks whether a ray of light hits a surface. A robot arm must reach a point without crossing an obstacle. These are all questions about lines, planes and distances in three dimensions.

Intuitive explanation

IntuitionThe scalar product measures alignment

a⋅b=∣a∣∣b∣cos⁡θ\mathbf a\cdot\mathbf b = |\mathbf a||\mathbf b|\cos\theta is large and positive when the vectors point the same way, zero when they are perpendicular, and negative when they point apart. That one fact gives angles, perpendicularity tests, and projections.

IntuitionA plane is "everything perpendicular to n\mathbf n"

Fix a point AA on a plane and a normal vector n\mathbf n sticking straight out of it. A point RR lies on the plane exactly when AR→\overrightarrow{AR} is perpendicular to n\mathbf n: (r−a)⋅n=0(\mathbf r - \mathbf a)\cdot\mathbf n = 0.

Formal definitions

DefinitionScalar product

a⋅b=a1b1+a2b2+a3b3=∣a∣∣b∣cos⁡θ\mathbf a\cdot\mathbf b = a_1b_1 + a_2b_2 + a_3b_3 = |\mathbf a||\mathbf b|\cos\theta.

DefinitionLine

r=a+λd\mathbf r = \mathbf a + \lambda\mathbf d: through the point with position vector a\mathbf a, direction d\mathbf d. Cartesian form: x−a1d1=y−a2d2=z−a3d3\dfrac{x - a_1}{d_1} = \dfrac{y - a_2}{d_2} = \dfrac{z - a_3}{d_3}.

DefinitionPlane

r⋅n=a⋅n\mathbf r\cdot\mathbf n = \mathbf a\cdot\mathbf n, or in Cartesian form n1x+n2y+n3z=dn_1x + n_2y + n_3z = d, where n\mathbf n is a normal vector. Parametric form: r=a+λb+μc\mathbf r = \mathbf a + \lambda\mathbf b + \mu\mathbf c.

Notation

  • λ,μ,s,t\lambda, \mu, s, t are parameters.
  • Two lines in 3D are parallel, intersecting, or skew (neither).
  • a×b\mathbf a \times \mathbf b (vector product) gives a vector perpendicular to both; some boards include it in the core.

Key formulae

IdentitiesAngles

Between lines: cos⁡θ=∣d1⋅d2∣∣d1∣∣d2∣\cos\theta = \dfrac{|\mathbf d_1\cdot\mathbf d_2|}{|\mathbf d_1||\mathbf d_2|}. Between planes: use the normals. Between a line and a plane: sin⁡θ=∣d⋅n∣∣d∣∣n∣\sin\theta = \dfrac{|\mathbf d\cdot\mathbf n|}{|\mathbf d||\mathbf n|}.

IdentitiesDistances

Point (x0,y0,z0)(x_0, y_0, z_0) to plane ax+by+cz=dax + by + cz = d: ∣ax0+by0+cz0−d∣a2+b2+c2\dfrac{|ax_0 + by_0 + cz_0 - d|}{\sqrt{a^2 + b^2 + c^2}}.

Between skew lines: ∣(a2−a1)⋅(d1×d2)∣∣d1×d2∣\dfrac{|(\mathbf a_2 - \mathbf a_1)\cdot(\mathbf d_1\times\mathbf d_2)|}{|\mathbf d_1\times\mathbf d_2|}.

Key results

TheoremPerpendicularity

Non-zero vectors a\mathbf a and b\mathbf b are perpendicular if and only if a⋅b=0\mathbf a\cdot\mathbf b = 0.

PropositionFoot of the perpendicular

The point on the line r=a+λd\mathbf r = \mathbf a + \lambda\mathbf d closest to PP is where (r−p)⋅d=0(\mathbf r - \mathbf p)\cdot\mathbf d = 0.

Why the two forms of the scalar product agree

ProofCosine rule

In the triangle formed by a\mathbf a, b\mathbf b and a−b\mathbf a - \mathbf b: ∣a−b∣2=∣a∣2+∣b∣2−2∣a∣∣b∣cos⁡θ|\mathbf a - \mathbf b|^2 = |\mathbf a|^2 + |\mathbf b|^2 - 2|\mathbf a||\mathbf b|\cos\theta. Expanding the left in components gives ∣a∣2+∣b∣2−2(a1b1+a2b2+a3b3)|\mathbf a|^2 + |\mathbf b|^2 - 2(a_1b_1 + a_2b_2 + a_3b_3). Comparing, a1b1+a2b2+a3b3=∣a∣∣b∣cos⁡θa_1b_1 + a_2b_2 + a_3b_3 = |\mathbf a||\mathbf b|\cos\theta.

∎
ProofThe point–plane distance formula

Let Π\Pi be n⋅r=d\mathbf n\cdot\mathbf r = d (so ax+by+cz=dax + by + cz = d with n=(a,b,c)\mathbf n = (a, b, c)) and let PP have position vector p\mathbf p. The perpendicular from PP is r=p+tn\mathbf r = \mathbf p + t\mathbf n, and it meets Π\Pi where n⋅p+t∣n∣2=d\mathbf n\cdot\mathbf p + t|\mathbf n|^2 = d, i.e.

t=d−n⋅p∣n∣2.t = \frac{d - \mathbf n\cdot\mathbf p}{|\mathbf n|^2}.

The foot is F=p+tnF = \mathbf p + t\mathbf n, so the distance is

PF=∣t∣∣n∣=∣n⋅p−d∣∣n∣=∣ax0+by0+cz0−d∣a2+b2+c2.PF = |t||\mathbf n| = \frac{|\mathbf n\cdot\mathbf p - d|}{|\mathbf n|} = \frac{|ax_0 + by_0 + cz_0 - d|}{\sqrt{a^2 + b^2 + c^2}}.

The sign of n⋅p−d\mathbf n\cdot\mathbf p - d tells you which side of the plane PP is on. That is how Q59 and Q60 decide which way to move, and the image of PP in the mirror is p+2tn\mathbf p + 2t\mathbf n (Q35).

∎
ProofThe angle between a line and a plane is the smallest angle it makes with any line in the plane

Let the line have unit direction u\mathbf u and the plane have unit normal n^\hat{\mathbf n}. Split u=(u⋅n^)n^+u∥\mathbf u = (\mathbf u\cdot\hat{\mathbf n})\hat{\mathbf n} + \mathbf u_\parallel, where u∥\mathbf u_\parallel lies in the plane and ∣u∥∣=cos⁡θ|\mathbf u_\parallel| = \cos\theta, ∣u⋅n^∣=sin⁡θ|\mathbf u\cdot\hat{\mathbf n}| = \sin\theta. For any unit vector v\mathbf v in the plane, u⋅v=u∥⋅v≤∣u∥∣=cos⁡θ\mathbf u\cdot\mathbf v = \mathbf u_\parallel\cdot\mathbf v \le |\mathbf u_\parallel| = \cos\theta by Cauchy–Schwarz (Q53). So every line in the plane makes an angle of at least θ\theta with the given line, and the projection u∥\mathbf u_\parallel achieves exactly θ\theta. This is why the definition uses sin⁡θ=∣u⋅n^∣\sin\theta = |\mathbf u\cdot\hat{\mathbf n}|: it is the angle between the line and its shadow on the plane.

∎
ProofHow three planes can sit

Three planes ni⋅r=di\mathbf n_i\cdot\mathbf r = d_i form the system Nr=dN\mathbf r = \mathbf d, where the rows of NN are the normals.

  • det⁡N≠0\det N \ne 0: the normals are not coplanar, and there is exactly one common point.
  • det⁡N=0\det N = 0: the normals lie in a plane, so some direction v≠0\mathbf v \ne \mathbf 0 is perpendicular to all three, and every plane contains lines in direction v\mathbf v. Then the planes share a line (a sheaf, Q50), share a whole plane (Q56, k=1k = 1), form a prism of three parallel lines (Q56, k=−2k = -2), or include parallel planes, which then have no common point.

The determinant decides "point or not"; the consistency of the equations decides between sheaf and prism. Rank (see Matrices, deeper) is the tool that counts the dimension of the common set in general.

∎

Methods

MethodDo two lines intersect?

Set the general points equal, giving three equations in two parameters. Solve two of them, then check the third. If it fails (and the lines are not parallel) the lines are skew.

MethodLine meets plane

Substitute the general point of the line into the plane's equation and solve for the parameter.

MethodDistance from a point to a line

Find the foot of the perpendicular using the scalar product, then the distance from the point to the foot.

Examples

ExampleEquation of a plane

Through (1,2,3)(1, 2, 3) with normal 2i−j+k2\mathbf i - \mathbf j + \mathbf k: 2x−y+z=2−2+3=32x - y + z = 2 - 2 + 3 = 3.

See the Worked examples tab.

Common mistakes

Common mistakeUsing position vectors for angles

The angle between lines uses direction vectors only.

Common mistakeLine–plane angle with cos

The normal makes 90°−θ90° - \theta with the line, so use sin⁡θ\sin\theta (or subtract from 90°90°).

Common mistakeNot checking the third equation

Two lines may satisfy two of the three component equations and still be skew.

Applications

  • Computer graphics: ray–plane intersections and lighting (angles with normals).
  • Aviation: closest approach of two flight paths (skew lines).
  • Engineering: angles between faces of a structure.

Connections

Summary

  • a⋅b=∑aibi=∣a∣∣b∣cos⁡θ\mathbf a\cdot\mathbf b = \sum a_ib_i = |\mathbf a||\mathbf b|\cos\theta; zero iff perpendicular.
  • Line r=a+λd\mathbf r = \mathbf a + \lambda\mathbf d; plane r⋅n=p\mathbf r\cdot\mathbf n = p.
  • Intersections: equate and solve, checking all three components.
  • Angles from direction and normal vectors; distances by perpendiculars or formulae.

Worked examples

Try each one yourself first, then open the solution.

Example 1Angle between two vectors

Find the angle between a=i+2j+2k\mathbf a = \mathbf i + 2\mathbf j + 2\mathbf k and b=2i−j+2k\mathbf b = 2\mathbf i - \mathbf j + 2\mathbf k.

Show the solution
  1. 1Scalar product

    2−2+4=42 - 2 + 4 = 4.

  2. 2Magnitudes

    ∣a∣=3|\mathbf a| = 3, ∣b∣=3|\mathbf b| = 3.

  3. 3Angle

    cos⁡θ=49⇒θ=63.6°\cos\theta = \frac49 \Rightarrow \theta = 63.6°.

Answer

63.6°63.6°

Example 2Two lines that meet

Show that the lines r=(1,0,2)+λ(2,1,−1)\mathbf r = (1, 0, 2) + \lambda(2, 1, -1) and r=(3,4,−2)+μ(1,−1,1)\mathbf r = (3, 4, -2) + \mu(1, -1, 1) intersect, and find the point.

Show the solution
  1. 1Equate components

    1+2λ=3+μ1 + 2\lambda = 3 + \mu,  λ=4−μ\ \lambda = 4 - \mu,  2−λ=−2+μ\ 2 - \lambda = -2 + \mu.

  2. 2Solve two

    From the second, λ=4−μ\lambda = 4 - \mu; substitute into the first: 1+8−2μ=3+μ⇒μ=21 + 8 - 2\mu = 3 + \mu \Rightarrow \mu = 2, λ=2\lambda = 2.

  3. 3Check the third

    2−2=02 - 2 = 0 and −2+2=0-2 + 2 = 0 ✓.

  4. 4Point

    (1,0,2)+2(2,1,−1)=(5,2,0)(1, 0, 2) + 2(2, 1, -1) = (5, 2, 0).

Answer

They meet at (5,2,0)(5, 2, 0)

Example 3Line meets plane

Find where the line r=(1,1,1)+t(1,2,−1)\mathbf r = (1, 1, 1) + t(1, 2, -1) meets the plane x+y+z=9x + y + z = 9, and the acute angle between them.

Show the solution
  1. 1Substitute

    (1+t)+(1+2t)+(1−t)=9⇒3+2t=9⇒t=3(1 + t) + (1 + 2t) + (1 - t) = 9 \Rightarrow 3 + 2t = 9 \Rightarrow t = 3.

  2. 2Point

    (4,7,−2)(4, 7, -2).

  3. 3Angle

    sin⁡θ=∣(1,2,−1)⋅(1,1,1)∣63=218⇒θ=28.1°\sin\theta = \dfrac{|(1, 2, -1)\cdot(1, 1, 1)|}{\sqrt6\sqrt3} = \dfrac{2}{\sqrt{18}} \Rightarrow \theta = 28.1°.

Answer

(4,7,−2)(4, 7, -2); 28.1°28.1°

Example 4Distance from a point to a plane

Find the distance from (3,1,4)(3, 1, 4) to the plane 2x−y+z=32x - y + z = 3.

Show the solution
  1. 1Formula

    ∣2(3)−1+4−3∣4+1+1=66\dfrac{|2(3) - 1 + 4 - 3|}{\sqrt{4 + 1 + 1}} = \dfrac{6}{\sqrt6}.

  2. 2Simplify

    =6≈2.45= \sqrt6 \approx 2.45.

Answer

6\sqrt6

Example 5Foot of a perpendicular

Find the shortest distance from P(5,1,0)P(5, 1, 0) to the line r=(1,2,3)+t(2,−1,1)\mathbf r = (1, 2, 3) + t(2, -1, 1).

Show the solution
  1. 1General point

    Q=(1+2t,2−t,3+t)Q = (1 + 2t, 2 - t, 3 + t), so PQ→=(2t−4,1−t,3+t)\overrightarrow{PQ} = (2t - 4, 1 - t, 3 + t).

  2. 2Perpendicular

    PQ→⋅(2,−1,1)=4t−8−1+t+3+t=6t−6=0⇒t=1\overrightarrow{PQ}\cdot(2, -1, 1) = 4t - 8 - 1 + t + 3 + t = 6t - 6 = 0 \Rightarrow t = 1.

  3. 3Distance

    PQ→=(−2,0,4)\overrightarrow{PQ} = (-2, 0, 4), length 20=25\sqrt{20} = 2\sqrt5.

Answer

252\sqrt5

Beyond the specification

University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.

Projective geometry: where parallel lines meet (university)

In this topic, special cases keep appearing: parallel lines never meet, a line parallel to a plane misses it, three planes form a prism instead of meeting at a point. Projective geometry removes almost all of these exceptions by adding points at infinity.

DefinitionHomogeneous coordinates

Represent the point (x,y,z)(x, y, z) by any non-zero multiple of the four numbers [x:y:z:1][x : y : z : 1]. So [2:4:6:2][2 : 4 : 6 : 2] is the point (1,2,3)(1, 2, 3). The quadruples [x:y:z:0][x : y : z : 0] correspond to no ordinary point. They are the points at infinity, one for each direction (x,y,z)(x, y, z) (up to scale). Ordinary space together with these is real projective space RP3\mathbb{RP}^3.

A plane ax+by+cz=dax + by + cz = d becomes the homogeneous linear equation ax+by+cz−dw=0ax + by + cz - dw = 0 in [x:y:z:w][x : y : z : w]. Its points at infinity are the [x:y:z:0][x : y : z : 0] with ax+by+cz=0ax + by + cz = 0: exactly the directions lying along the plane. Two consequences:

  • Parallel planes meet, in a line at infinity: 2x−y+2z=32x - y + 2z = 3 and 2x−y+2z=152x - y + 2z = 15 (Q30) share every point [x:y:z:0][x : y : z : 0] with 2x−y+2z=02x - y + 2z = 0.
  • A line parallel to a plane meets it at infinity, at the point given by its direction. In Q29 the line in direction (2,−1,1)(2, -1, 1) meets the plane x+3y+z=4x + 3y + z = 4 at [2:−1:1:0][2 : -1 : 1 : 0].
TheoremThree planes always meet in RP3\mathbb{RP}^3

Three planes give three homogeneous linear equations in four unknowns, and such a system always has a non-zero solution. So any three planes share at least one projective point.

The prism of Q56 (k=−2k = -2) is the case where the only common points are at infinity: the three edges are parallel to (1,1,1)(1, 1, 1), and the planes meet at [1:1:1:0][1 : 1 : 1 : 0]. The unique solution 1k+2(1,1,1)=[1:1:1:k+2]\frac{1}{k + 2}(1, 1, 1) = [1 : 1 : 1 : k + 2] moves continuously to this point at infinity as k→−2k \to -2. The exceptional case is just the generic case at infinity.

Plücker coordinates of lines

How many numbers describe a line in space? Choose a point a\mathbf a on it and a direction d\mathbf d. The Plücker coordinates are the pair (d,m)(\mathbf d, \mathbf m) with m=a×d\mathbf m = \mathbf a\times\mathbf d, the moment of the line about OO. Moving a\mathbf a along the line changes nothing, since (a+td)×d=a×d(\mathbf a + t\mathbf d)\times\mathbf d = \mathbf a\times\mathbf d. Scaling d\mathbf d by λ\lambda scales m\mathbf m by λ\lambda too. So a line is six numbers up to scale, and they always satisfy

d⋅m=0.\mathbf d\cdot\mathbf m = 0.

The lines of space are therefore the points of a quadric surface (the Klein quadric) in 5-dimensional projective space: a 44-dimensional family. That matches a direct count: a line is fixed by where it crosses two parallel planes, 2+2=42 + 2 = 4 numbers.

TheoremIntersection criterion

Lines (d1,m1)(\mathbf d_1, \mathbf m_1) and (d2,m2)(\mathbf d_2, \mathbf m_2) are coplanar (they meet, possibly at infinity) iff their reciprocal product vanishes:

d1⋅m2+d2⋅m1=0.\mathbf d_1\cdot\mathbf m_2 + \mathbf d_2\cdot\mathbf m_1 = 0.
Proof

d1⋅(a2×d2)+d2⋅(a1×d1)=a2⋅(d2×d1)+a1⋅(d1×d2)=−(a2−a1)⋅(d1×d2)\mathbf d_1\cdot(\mathbf a_2\times\mathbf d_2) + \mathbf d_2\cdot(\mathbf a_1\times\mathbf d_1) = \mathbf a_2\cdot(\mathbf d_2\times\mathbf d_1) + \mathbf a_1\cdot(\mathbf d_1\times\mathbf d_2) = -(\mathbf a_2 - \mathbf a_1)\cdot(\mathbf d_1\times\mathbf d_2), using the cyclic symmetry of the triple product. This is zero iff the triple-product test of Q58 holds. ■\blacksquare

∎

For skew lines the reciprocal product divided by ∣d1×d2∣|\mathbf d_1\times\mathbf d_2| is, up to sign, their distance (Q51). Plücker coordinates are standard in robotics and computer vision, where lines (axes of joints, rays from a camera) are the basic objects.

Distances in any dimension: Gram determinants and least squares (university)

The vector product only exists in three (and seven) dimensions, but distances, areas and volumes make sense in Rn\mathbb R^n. The tool that replaces it is the Gram matrix.

DefinitionGram matrix

For vectors v1,…,vk\mathbf v_1, \dots, \mathbf v_k in Rn\mathbb R^n, the Gram matrix is G=(vi⋅vj)G = (\mathbf v_i\cdot\mathbf v_j), a k×kk\times k symmetric matrix. If AA is the n×kn\times k matrix with columns vi\mathbf v_i, then G=ATAG = A^TA.

TheoremVolume from dot products

The kk-dimensional volume of the parallelotope spanned by v1,…,vk\mathbf v_1, \dots, \mathbf v_k is det⁡G\sqrt{\det G}.

For k=2k = 2 this reads area2=∣a∣2∣b∣2−(a⋅b)2\text{area}^2 = |\mathbf a|^2|\mathbf b|^2 - (\mathbf a\cdot\mathbf b)^2, which is Lagrange's identity ∣a×b∣2=∣a∣2∣b∣2−(a⋅b)2|\mathbf a\times\mathbf b|^2 = |\mathbf a|^2|\mathbf b|^2 - (\mathbf a\cdot\mathbf b)^2 written without the vector product. For k=nk = n, det⁡G=det⁡(AT)det⁡A=(det⁡A)2\det G = \det(A^T)\det A = (\det A)^2, recovering the determinant as a volume. Check on Q40: AB→=(−1,2,0)\overrightarrow{AB} = (-1, 2, 0) and AC→=(−1,0,3)\overrightarrow{AC} = (-1, 0, 3) have G=(51110)G = \begin{pmatrix}5 & 1\\1 & 10\end{pmatrix}, det⁡G=49\det G = 49, so the parallelogram has area 77 and the triangle 72\frac72 ✓.

ProofSketch

Apply Gram–Schmidt: replace each vj\mathbf v_j by its component ej\mathbf e_j perpendicular to v1,…,vj−1\mathbf v_1, \dots, \mathbf v_{j-1}. This subtracts multiples of earlier vectors (a column operation with determinant 11 on AA), so det⁡G\det G is unchanged. Now the Gram matrix is diagonal with entries ∣ej∣2|\mathbf e_j|^2, so det⁡G=∏∣ej∣2\det G = \prod|\mathbf e_j|^2: base times height, repeatedly, which is the volume squared. ■\blacksquare

∎

Distance from a point to a subspace

Each new height is a distance, so the proof gives a formula for distances in any dimension:

dist⁡(p,span⁡(v1,…,vk))2=det⁡G(v1,…,vk,p)det⁡G(v1,…,vk).\operatorname{dist}(\mathbf p, \operatorname{span}(\mathbf v_1, \dots, \mathbf v_k))^2 = \frac{\det G(\mathbf v_1, \dots, \mathbf v_k, \mathbf p)}{\det G(\mathbf v_1, \dots, \mathbf v_k)}.

For a point and a line (k=1k = 1) this is ∣v∣2∣p∣2−(v⋅p)2∣v∣2\frac{|\mathbf v|^2|\mathbf p|^2 - (\mathbf v\cdot\mathbf p)^2}{|\mathbf v|^2}, the formula used in Q38. For skew lines in R3\mathbb R^3, take p=a2−a1\mathbf p = \mathbf a_2 - \mathbf a_1, v1=d1\mathbf v_1 = \mathbf d_1 and v2=d2\mathbf v_2 = \mathbf d_2: the ratio is (volume of the parallelepiped)2^2/(area of the base)2^2, which is exactly the Q51 formula.

The normal equations

The closest point of span⁡(vi)\operatorname{span}(\mathbf v_i) to p\mathbf p is AxA\mathbf x, where p−Ax\mathbf p - A\mathbf x is perpendicular to every vi\mathbf v_i:

AT(p−Ax)=0⟺ATA x=ATp.A^T(\mathbf p - A\mathbf x) = \mathbf 0 \quad\Longleftrightarrow\quad A^TA\,\mathbf x = A^T\mathbf p.

These are the normal equations. They are the same calculation as Q28 and Q42 (perpendicular to every direction), and they are the basis of least-squares fitting: to fit y=c+mxy = c + mx to data, p\mathbf p is the vector of observed yy-values (one coordinate per data point, so nn can be in the thousands) and the columns of AA are (1,1,…,1)(1, 1, \dots, 1) and (x1,…,xn)(x_1, \dots, x_n). The regression line from statistics is a foot of a perpendicular in Rn\mathbb R^n.

Reflections, rotations and the isometries of space (university)

An isometry is a map ff of space that preserves distances: ∣f(p)−f(q)∣=∣p−q∣|f(\mathbf p) - f(\mathbf q)| = |\mathbf p - \mathbf q|. Reflections in planes (Q35, Q52, Q60) are the simplest examples, and they turn out to generate all the others.

TheoremEvery isometry is affine

Every isometry of Rn\mathbb R^n has the form f(x)=Qx+cf(\mathbf x) = Q\mathbf x + \mathbf c, where QQ is an orthogonal matrix: QTQ=IQ^TQ = I.

ProofSketch

Put g(x)=f(x)−f(0)g(\mathbf x) = f(\mathbf x) - f(\mathbf 0), which preserves distances and fixes 0\mathbf 0, so preserves lengths. Polarisation, x⋅y=12(∣x∣2+∣y∣2−∣x−y∣2)\mathbf x\cdot\mathbf y = \frac12\left(|\mathbf x|^2 + |\mathbf y|^2 - |\mathbf x - \mathbf y|^2\right), shows that gg preserves scalar products. Then ∣g(x+y)−g(x)−g(y)∣2|g(\mathbf x + \mathbf y) - g(\mathbf x) - g(\mathbf y)|^2 expands into scalar products that cancel to 00, so gg is additive; similarly g(tx)=tg(x)g(t\mathbf x) = tg(\mathbf x). So gg is linear with a matrix QQ, and preserving dot products means QTQ=IQ^TQ = I. ■\blacksquare

∎

Taking determinants, (det⁡Q)2=1(\det Q)^2 = 1: either det⁡Q=1\det Q = 1 (a rotation, preserving orientation) or det⁡Q=−1\det Q = -1 (orientation-reversing).

DefinitionHouseholder reflection

Reflection in the plane through OO with unit normal n^\hat{\mathbf n} is

H=I−2n^n^T,Hv=v−2(v⋅n^)n^.H = I - 2\hat{\mathbf n}\hat{\mathbf n}^T, \qquad H\mathbf v = \mathbf v - 2(\mathbf v\cdot\hat{\mathbf n})\hat{\mathbf n}.

It fixes the plane, negates n^\hat{\mathbf n}, satisfies H2=IH^2 = I and HT=HH^T = H, and has det⁡H=−1\det H = -1. Reflection in a plane not through OO adds a translation: v↦Hv+2d∣n∣2n\mathbf v \mapsto H\mathbf v + \frac{2d}{|\mathbf n|^2}\mathbf n for the plane n⋅r=d\mathbf n\cdot\mathbf r = d.

TheoremTwo reflections make a rotation

If two planes meet in a line ℓ\ell at angle θ\theta, reflecting in one and then the other is a rotation about ℓ\ell through 2θ2\theta. If the planes are parallel, distance hh apart, the result is a translation by 2h2h perpendicular to them.

To see the rotation, look down the line ℓ\ell. Each reflection reverses angles measured from its mirror, so the first sends angle ϕ\phi to −ϕ-\phi and the second (at angle θ\theta) sends −ϕ-\phi to 2θ+ϕ2\theta + \phi. The net effect adds 2θ2\theta to every angle. This is the reason a kaleidoscope with mirrors at 60°60° shows six copies, and why the two bisector planes of Q55 are the "mirrors" exchanging Π1\Pi_1 and Π2\Pi_2.

TheoremCartan–Dieudonné

Every orthogonal map of Rn\mathbb R^n is a product of at most nn reflections in planes (hyperplanes) through OO.

In R3\mathbb R^3: a rotation is two reflections, and an orientation-reversing QQ is one or three (for example −I-I, the point reflection through OO, is three reflections in the coordinate planes).

Chasles' theorem: every rigid motion is a screw

Combining rotations with translations: every orientation-preserving isometry of R3\mathbb R^3 is a screw motion, a rotation about some axis followed by a translation along that same axis (either part may be trivial). The axis is the set of points that move the least. This is the "instantaneous screw axis" of mechanics, and in the language of the previous section its axis is naturally described by Plücker coordinates. Every motion of a rigid body, a spinning top, a robot arm, a tumbling satellite, is at each instant a screw about some line.

Why does this work?

Why does this work?Why is a×b\mathbf a \times \mathbf b perpendicular to both?

Compute (a×b)⋅a(\mathbf a \times \mathbf b)\cdot\mathbf a in components: the terms cancel in pairs, giving 00. Its length ∣a∣∣b∣sin⁡θ|\mathbf a||\mathbf b|\sin\theta is the area of the parallelogram they span, and its direction follows the right-hand rule.

Beyond the syllabus

Beyond the syllabusCurves, curvature and differential geometry

A space curve r(t)\mathbf r(t) has unit tangent T=r′∣r′∣\mathbf T = \frac{\mathbf r'}{|\mathbf r'|}. How fast T\mathbf T turns per unit length is the curvature κ=∣r′×r′′∣∣r′∣3\kappa = \frac{|\mathbf r' \times \mathbf r''|}{|\mathbf r'|^3}: 1R\frac1R for a circle of radius RR. Surfaces have two principal curvatures; Gauss's Theorema Egregium shows their product (Gaussian curvature) can be measured from inside the surface. That is why no flat map of the Earth can preserve all distances, and why curved spacetime is the setting of general relativity.

Mathematical curiosities

Mathematical curiosityQuaternions

Hamilton (1843) looked for a 3D analogue of complex numbers and found a 4D one: i2=j2=k2=ijk=−1i^2 = j^2 = k^2 = ijk = -1. He carved the rule into Broom Bridge in Dublin. Quaternions rotate objects smoothly in computer graphics and spacecraft control, and the scalar and vector products descend from their multiplication.

Further exploration

Further explorationInvestigations
  • Show that ∣a×b∣2+(a⋅b)2=∣a∣2∣b∣2|\mathbf a \times \mathbf b|^2 + (\mathbf a\cdot\mathbf b)^2 = |\mathbf a|^2|\mathbf b|^2.
  • Find the curvature of the helix r=(cos⁡t,sin⁡t,t)\mathbf r = (\cos t, \sin t, t). (Answer: 12\frac12.)
Now practise60 questions from Very easy to Extreme →