Notes
1P4 Mathematics · Topic 4

Determinants, triple products and planes

Lecture 4 · Mon 19 Oct

Three planes: when do they meet at a point?

A plane can be written in normal form . Three planes

are therefore three simultaneous linear equations for the coordinates of .

The question for this lecture is when the three planes meet in a single point, and what happens when they do not. The route is:

  • Algebra: solving simultaneous equations leads to the determinant.
  • Geometry: a determinant is the scalar triple product, which is a volume.
  • Back to planes: the line where two planes meet needs the vector product and the vector triple product. Then we classify the ways three planes can meet.

Answer (proved in Unique point of three planes): the three planes meet at a unique point if and only if .

Vectors and matrices: notation (revision)

Definition Column vector and transpose

By convention a vector is a column vector. Its transpose (superscript ) is a row vector:

Vectors are bold (). Components are normal face ().

So far we have mostly had with physical vectors, as in Vector in components.

Definition Matrix and its elements

An matrix is

where is the element in the th row and th column.

  • For the indices are often written :
    This is common, for example, when writing the stress in a solid body or a fluid.
  • By hand a matrix is sometimes marked with a double underline. These notes use bold.
  • Vectors are columns; is the row.
  • means row , column : row first.

Multiplication

Products are written by juxtaposition: .

Equation Matrix product (element form) memorise

For of size and of size (, ):

The repeated index is summed (Einstein summation convention).

Where it comes from

A definition. It is chosen so that matrices compose like the linear maps they represent: if and , then , so with exactly this .

For example, for matrices:

Equation Product as row · column memorise

Element is the scalar product of row of with column of . Here are the rows of and the columns of : $$ \boldsymbol{A}\boldsymbol{B} = \begin{bmatrix} \leftarrow \v{a}_1 \rightarrow\ \leftarrow \v{a}_2 \rightarrow\ \leftarrow \v{a}_3 \rightarrow\end{bmatrix} \begin{bmatrix} \uparrow & \uparrow & \uparrow\ \v{b}_1 & \v{b}_2 & \v{b}_3\ \downarrow & \downarrow & \downarrow\end{bmatrix}

\begin{bmatrix} \v{a}_1\cdot\v{b}_1 & \v{a}_1\cdot\v{b}_2 & \v{a}_1\cdot\v{b}_3\ \v{a}_2\cdot\v{b}_1 & \v{a}_2\cdot\v{b}_2 & \v{a}_2\cdot\v{b}_3\ \v{a}_3\cdot\v{b}_1 & \v{a}_3\cdot\v{b}_2 & \v{a}_3\cdot\v{b}_3 \end{bmatrix} $$

Show derivation

In Matrix product (element form), . The numbers are row of and are column of , so this is their scalar product (Scalar product in components).

A m × n B n × p = AB m × p

Row of (blue) dotted with column of (red) gives the single element . The inner sizes () must match; the outer sizes give the shape of the product.

Figure Shapes in a matrix product
Result When a product exists memorise

exists only if the number of columns of equals the number of rows of . Then gives .

Show derivation

The sum in Matrix product (element form) pairs the -th entry of a row of ( up to , its number of columns) with the -th entry of a column of ( up to its number of rows). Both counts must be the same . The result has one entry per row of () and per column of ().

Vectors are non-square matrices. A column vector of length 4 is a matrix, and a row vector of length 3 is a matrix. Rule Matrix product (element form) holds for all of them.

Example Non-square product (Appendix A1)

Take to be and to be : $$ \boldsymbol{A}\boldsymbol{B} = \begin{bmatrix} a_{11} & a_{12} & a_{13}\ a_{21} & a_{22} & a_{23}\ a_{31} & a_{32} & a_{33}\end{bmatrix} \begin{bmatrix} b_{11} & b_{12}\ b_{21} & b_{22}\ b_{31} & b_{32}\end{bmatrix}

\begin{bmatrix} a_{1k}b_{k1} & a_{1k}b_{k2}\ a_{2k}b_{k1} & a_{2k}b_{k2}\ a_{3k}b_{k1} & a_{3k}b_{k2}\end{bmatrix} $$

  • is with .
  • is with , .
  • The product exists because . It is .
Equation Linear equations as a matrix equation memorise

Since ,

Show derivation

Treat as a matrix. By Matrix product (element form), , which is the left-hand side of equation . Two column vectors are equal when every entry is, so the three equations together say .

Products of vectors as matrix products (Appendix A8)

Equation Scalar product as a matrix product memorise
Show derivation

A times a matrix is (When a product exists), and its single entry is , the scalar product (Scalar product in components).

Equation Vector product as a matrix acting on b memorise

This is the skew-symmetric “cross-product matrix” of . Check it row by row against Vector product in components.

Show derivation

Multiply out row by row (Product as row · column): row 1 gives , row 2 gives , row 3 gives . These are the three components in Vector product in components.

Explanation Does AB = BA?

In general, no. In the example above does not even exist, because has mismatched inner sizes.

Even for square matrices the order matters. For example,

Always keep the order of matrix factors as written.

  • To find , take row of dotted with column of .
  • The inner sizes must match, and the order of factors matters.
  • A set of linear equations is . Its rows are the equations.
  • .

Determinants/Cramer’s Rule

Two equations

Definition 2 × 2 determinant databook p.15
Equation Cramer’s rule (2 × 2) memorise
Show derivation Eliminating x₁ from two equations

Start from

Multiply the first equation by and the second by . Then subtract the first from the second:
So, if ,
In the same way,
The denominators are (2 × 2 determinant) and the numerators are and .

Interactive figure

Equation (1) is and equation (2) is , so . Slide towards 1. As the lines become parallel and the solution point runs off to infinity. At , setting makes the lines coincide.

Figure Two equations are two lines

Three equations

Equation Cramer’s rule (3 × 3) memorise

For (), each unknown is a ratio of determinants. In the numerator, the relevant column is replaced by :

The denominator is the full matrix: .

Show derivation beyond this lecture

Let be the columns of . The equations say . A determinant is the scalar triple product of its rows (Scalar triple product as a determinant), and also of its columns (a determinant does not change when rows and columns are swapped, : expand both and you get the same six terms). So the numerator of is

because the triple product is linear in each slot and is zero when two of its vectors are the same (Zero iff coplanar). Divide by . The same argument with in column 2 or 3 gives and .

Result Unique solution iff det A ≠ 0 databook p.17

has a unique solution if and only if .

Show derivation beyond this lecture

If : Cramer's rule (3 × 3) gives the solution, and it shows that any solution must equal it, so it is unique.

If : the columns are coplanar (Zero iff coplanar), so some combination with , i.e. for . Then if is a solution so is for every ; and if is not in the plane of the columns there is no solution at all. Either way the solution is not unique.

Watch out

In Cramer’s rule you replace a column (the column of the unknown you want) by , not a row. The denominator is always itself.

Explanation What happens when det A = 0?

Cramer’s rule breaks down, but that does not automatically mean there are no solutions. For two lines there are two possibilities:

  • the lines are parallel: no solution;
  • the lines coincide: infinitely many solutions.

Which one you get depends on the right-hand side , not on . The same two possibilities return for three planes in When det N = 0: line or nothing.

  • is the test for a unique solution.
  • Cramer: .
  • If , the right-hand side decides between no solution and infinitely many.

The 3 × 3 determinant: minors and cofactors

The denominator in Cramer’s rule is the determinant.

Equation 3 × 3 determinant (top-row expansion) databook p.15
Where it comes from

This is the definition of a determinant (databook maths p15). It is chosen because it extends Cramer's rule (2 × 2) to three equations (Cramer's rule (3 × 3)) and because it equals the scalar triple product of the rows (Scalar triple product as a determinant), i.e. a signed volume.

Definition Minor and cofactor
  • Minor : the determinant left after deleting row and column . It is the determinant that multiplies .
  • Cofactor .

The signs form a checkerboard:

Result Expansion along any row or column memorise

The top-row expansion is . In fact you can expand along any row or column:

Choose the row or column with the most zeros.

Show derivation beyond this lecture

Multiply out the top-row expansion (3 × 3 determinant (top-row expansion)): six products, each with one entry from every row and every column,

Now expand along row 2 with the checkerboard signs: . Multiplying out gives exactly the same six terms with the same signs (check them one by one); row 3 is the same. For columns: the same six terms are produced by the top-row expansion of , so expanding down a column of is expanding along a row of , which has the same determinant.

The same rule defines the determinant. It is a sum of determinants of size , each of which is expanded in turn. Determinants return later in the course.

Example Two determinants (Appendix A2)

(a) The diagonal matrix. Expanding along row 1:

Expanding along row 2 instead gives the same: .

(b)

The determinant is zero because the rows are linearly dependent: .

Rule of Sarrus (Appendix A3)

This is a memory aid for matrices.

  1. Write the matrix with a copy of its first two columns appended.
  2. Add the three down-right diagonal products.
  3. Subtract the three down-left diagonal products.
Rule of Sarrus

Green diagonals are added and red diagonals are subtracted. In the numerical example the green sum is and the red sum is , so .

Figure Rule of Sarrus
Watch out

Sarrus works for only. It does not extend to or larger; use the cofactor expansion there.

Explanation A quick check on the Sarrus example

Use the cofactor expansion along row 1 of :

Computing a determinant two different ways is the fastest error check in an exam. Expanding down column 2, which contains a zero, is even quicker.

Try now
  • Cofactor signs follow the checkerboard ; .
  • You can expand along any row or column. Pick the one with the most zeros.
  • Sarrus works for only.
  • If the rows are linearly dependent, .

Scalar triple product : a volume

Consider the parallelepiped formed by .

Interactive figure

and span the base and is the unit normal to it. Drag to rotate. Move through zero: when lies in the base the volume is zero, and below the base the signed value goes negative (a left-handed set).

Figure Scalar triple product as a volume
Equation Volume of a parallelepiped memorise

The signed value is positive when form a right-handed set (The right-hand screw rule).

Show derivation Volume = base area × height
  • The base is the parallelogram spanned by . Its area is (|a × b| is the area of the parallelogram).
  • Let be the unit vector perpendicular to the plane of and .
  • The height is , where is the angle between and .
  • Volume base height , up to sign. Sign. when is on the same side of the plane as , i.e. when are right-handed in the sense of the The right-hand screw rule. The volume itself is the modulus.
  • is the volume of the parallelepiped on .
  • The sign is for a right-handed set and for a left-handed set.

The scalar triple product is a determinant

Equation Scalar triple product as a determinant memorise
Show derivation From the determinant form of b × c

From Determinant mnemonic:

Taking the scalar product with replaces each by :
This is exactly the top-row expansion 3 × 3 determinant (top-row expansion) of the determinant below.

So a determinant is the signed volume of the parallelepiped formed by its rows. The connection between determinants and volumes returns later in the course.

Example A box (Appendix A4, example 2)

Let , , .

  • .
  • So .

This is the volume of a box, and it is positive because are right-handed.

  • is the determinant with rows .
  • So every determinant is a signed volume.

Properties of the scalar triple product

  1. Brackets are optional. is unambiguous, because makes no sense (a scalar cannot be crossed with a vector). The product is also written .

  2. Cyclic rotation leaves it unchanged. So a cyclic reordering of the rows of a determinant gives the same volume with the same sign. A non-cyclic swap changes the sign:

Result Cyclic invariance databook p.16
Show derivation

Two facts:

  1. Dot and cross can be swapped, : multiply out both with Vector product in components and you get the same six terms (example 1 below).
  2. Then (fact 1, then commutativity of the dot product). Applying this twice gives .

Finally by Anticommutativity. Geometrically: the same box has the same volume whichever face is the base; only the handedness (sign) can change.

  1. Coplanar vectors give zero.
Result Zero iff coplanar memorise

are coplanar (zero volume). In determinant language, the rows are linearly dependent.

Show derivation

If lie in one plane, then is perpendicular to that plane (The vector product is perpendicular to both factors), so perpendicular to , and (or if ). Conversely, if the product is zero, either (, so all three fit in one plane) or , which puts in the plane of and . Geometrically: a flat box has zero volume (Volume of a parallelepiped).

  1. Sign and handedness. A negative scalar triple product corresponds to a left-handed set: think of turning into .

  2. Scaling one vector scales the product, because the volume increases by the factor :

  3. Row operations {src=“m077:p8@0.12-0.26”}:

Result Adding a multiple of one row to another memorise

Adding a multiple of one row to another leaves the determinant unchanged. The same holds for columns.

Show derivation

The dot product is distributive: , since (The vector product is perpendicular to both factors). By Cyclic invariance any row can be moved to the first place, so this works for any pair of rows; for columns use .

  1. Determinant of a product. For a matrix , is the volume of the parallelepiped formed when are mapped by . Hence:
Result Determinant of a product databook p.17

This is proved later in the course.

Show derivation proved later in the course

For matrices. Let be the columns of . Column of is times column of , i.e. (Matrix product (element form)). A determinant is the triple product of its columns (see Cramer's rule (3 × 3)), and the triple product is linear in each slot, so

Terms with a repeated index vanish (Zero iff coplanar); the rest are (Cyclic invariance). So , and that sum is the six-term expansion of (Expansion along any row or column).

Explanation Why does adding λb to a not change the volume?

Adding to slides the top face of the parallelepiped parallel to the base, in the direction of , which lies in the base. The base area is unchanged, and so is the height , because . It is the 3D version of a shear: a parallelogram keeps its area when you push its top edge sideways.

Worked examples (Appendix A4)

Example 1. Show a · (b × c) = (a × b) · c

Using the determinant form,

Moving row from the top to the bottom takes two row swaps. Each swap flips the sign, so the overall sign is unchanged.

Alternatively, expand both sides. Each gives the same six terms

So the dot and the cross can be swapped: .

Example 3. Show a · ([b + λa] × [c + μa]) = a · (b × c)

Expand, using (Vector product of a vector with itself):

Both and are perpendicular to (The vector product is perpendicular to both factors). Their scalar products with vanish, leaving .

In determinant terms: adding multiples of one row to the other rows does not change the determinant.

Example 4. A determinant by row operations

Show that .

Subtract row 1 from rows 2 and 3, which does not change the determinant. Then expand down column 1 and take out the common factors and :

Explanation Is there a quick sanity check for example 4?

If any two of are equal, two rows of the determinant are equal. The rows are then dependent, so the determinant is zero. The answer must therefore contain the factors , and .

As a final check, the term from the leading diagonal has coefficient , which matches the product .

Try now
  • Cyclic order keeps the sign; a swap flips it. Dot and cross can be interchanged.
  • The product is zero iff the vectors are coplanar, equivalently iff the rows are dependent.
  • Adding a multiple of one row (or column) to another leaves the determinant unchanged. Use this to create zeros before expanding.
  • Scaling one row by scales the determinant by .

The vector triple product

Definition Vector triple product

The vector triple product is either

Both are vectors, but they are not equal in general: the vector product is not associative.

  • is perpendicular to , so it lies in the plane of and .
  • lies in the plane of and .
Equation Vector triple product identities databook p.16
Show derivation Second identity from the first (Appendix A5)

Use anticommutativity (Anticommutativity). Then apply the first identity with the cyclic substitution , , :

So once one identity is proved, the other follows immediately.

Show derivation Proof of (a × b) × c = (a · c)b − (b · c)a: components (Appendix A6)

Start from . Then

Adding and subtracting the zero-valued quantity completes the dot products:
This is the component of . The other two components follow by cyclic relabelling .

Show derivation Proof in index notation (Appendix A6)

Only attempt this if you are confident with index notation.

Write with (Permutation (alternating) tensor, Levi-Civita symbol). The cyclic property of gives and . Now apply the Contracted epsilon (ε–δ) identity — not required for this course :

Interactive figure

The orange plane is the plane of and . Swing round with : the purple result always stays in that plane, and the readout confirms the identity.

Figure (a × b) × c lies in the plane of a and b
Explanation How do I remember which sign goes where?

In both identities the middle vector comes with a sign, multiplied by the dot product of the other two. The term with the sign is the remaining bracketed vector, multiplied by the dot product of the other pair:

Quick check: the answer must lie in the plane of the bracketed pair. That tells you which two vectors appear.

Try now

Worked examples (Appendix A6)

Equation Scalar product of two vector products memorise
Show derivation Example 1: proof by index notation

Write and . Then

Without index notation. Swap the first dot and cross (Cyclic invariance, fact 1), then use Vector triple product identities:

Example 2. Show (a × b) × (c × d) = (d · (a × b))c − (c · (a × b))d

Let . Apply with , , :

Hence

Explanation A check on the cross-dot-cross identity

Put and :

This matches .

Point on a plane closest to the origin (Appendix A6, example 3)

Let the points that define the plane have position vectors , as in Plane through three points.

Equation Closest point of the plane ABC to the origin memorise

This is zero if are coplanar with the origin, as it should be.

Show derivation Closest point
  1. A normal to the plane is
  2. The plane is . Since ,
  3. The closest point lies along the normal from the origin: . Substituting into the plane equation gives .
  4. So , giving and . (Step 1: .)
Try now
  • The vector product is not associative: .
  • The result lies in the plane of the bracketed pair. The middle vector gets the sign.
  • Both identities are in the databook. To prove one, use components ( component, then cyclic relabelling); the other follows by anticommutativity.
  • For a product of two cross products, set and apply the identity.
  • .

Intersection of two planes

Result Two planes meet in a line memorise

Two non-parallel planes and intersect in a line parallel to

which is perpendicular to both normals.

Show derivation

The line lies in both planes, so its direction is perpendicular to both normals. By The vector product is perpendicular to both factors, is perpendicular to both, and it is non-zero because the planes (hence their normals) are not parallel.

Cartesian route. In components the problem is to solve

Parameterise in one variable, say , then solve for and in terms of , the free parameter along the line.

Vector route {src=“m077:p10@0.00-0.50”}. Because the planes are not parallel, span 3D space (compare Basis built from a, b and a × b). Any point on the line can therefore be written

Equation Line of intersection (unit normals) memorise

Use and write . Then

The line is , with the line parameter.

Show derivation

, and form a basis (Basis built from a, b and a × b), so any point can be written . Put it into each plane equation; the term drops out () and :

Solve this system (Cramer's rule (2 × 2); determinant for non-parallel planes). is not fixed by either equation, so it is free: it moves the point along the line.

Interactive figure

Plane (blue) is . Plane (red) is tilted by . Drag to rotate. The line always runs along . Reduce : grows, shrinks, and moves away, diverging as the planes become parallel.

Figure Two planes and their line of intersection
Explanation What do μ and 1 − μ² mean?

, where is the angle between the normals. So .

The formulas for and break down exactly when , which is when the planes are parallel and there is no line of intersection.

Closed form via the vector triple product (Appendix A7)

Equation Line of intersection: closed form memorise

For planes , where the normals need not be unit vectors:

is the point on the line closest to the origin.

Show derivation The point on the line closest to the origin

With and we have . The vector triple product Vector triple product identities gives

Hence
using and from Line of intersection (unit normals). The point on the line with is therefore
Closest to the origin: is a combination of and , so it is perpendicular to ; the perpendicular from O to the line meets it there. Non-unit normals: write ; the plane is . Substituting, both the numerator and pick up the factor , which cancels, so the same formula holds with and as given.

Explanation Why is p₀ the closest point to the origin?

is built only from the two normals, both of which are perpendicular to . So , and

which is smallest at . This is the same “foot of the perpendicular” idea as Closest point on a line to p.

Watch out

The formulas for and in Line of intersection (unit normals) assume unit normals, since they use . The closed form for works with any normals. If you use , normalise the plane equations first, dividing as well.

Example Line of intersection of x + y + z = 1 and x − y = 0
  • Normals: , ; , .
  • Direction: , so .
  • Closest point:
  • So the line is

Check: both planes are satisfied for every . We have , and .

Try now
  • The line of intersection runs along .
  • To find a point on it, either set one coordinate (say ) and solve the two equations, or use .
  • is the point of the line closest to the origin.
  • Always check your line by substituting it into both plane equations.

Scenarios for three planes

Interactive figure

Plane 1 is blue, plane 2 red, plane 3 green. Step through the scenarios and drag to rotate. Only Scenario 4 has a non-zero triple product of the normals. Scenarios 3 and 5 both have coplanar normals; they differ only in where the planes sit, which is set by the .

Figure The five ways three planes can meet
  • Scenario 1: three parallel planes. All normals are aligned. There is no common intersection unless planes coincide.
  • Scenario 2: two parallel planes. The third cuts each of them in a line (, ). Exactly two normals are parallel. If the two parallel planes coincide, there is a common line.
  • Scenario 3: each plane cuts the other two in a distinct line, and the three lines are parallel {src=“m077:p11@0.00-0.50”}. This is the Toblerone case. There is no common point and no two planes are parallel, but the normals are coplanar, so .
  • Scenario 4: a unique intersection point {src=“m077:p11@0.50-1.00”}. This is the “normal” case. The normals are not coplanar: .
  • Scenario 5: three distinct planes through a common line, like the pages of an open book {src=“m077:p12@0.00-0.50”}. The normals are coplanar as in Scenario 3, but the equations are consistent, giving a line of solutions. The difference lies in the right-hand sides .
Scenario Normals Common solutions
1 all parallel none (unless planes coincide)
2 exactly two parallel none (a line if the two coincide)
3 Toblerone coplanar, none parallel none
4 not coplanar one point
5 open book coplanar a line
Explanation Why does ‘normals coplanar’ mean no unique point?

The line where planes and meet runs along , which is perpendicular to both normals.

If all three normals lie in one plane, every one of these lines runs in the same direction: perpendicular to the plane of the normals. The three lines of intersection are parallel. They either never meet (Toblerone) or are all the same line (open book). A single point is impossible.

  • Five scenarios: 1 all parallel, 2 two parallel, 3 Toblerone, 4 unique point, 5 open book.
  • Only Scenario 4 has .
  • Scenarios 3 and 5 have the same normals. The decide between no solution and a line.

Matrix conditions for these scenarios

Equation Three planes as a matrix equation memorise

Put the normals in as the rows of . The planes become

Show derivation

In components, (Scalar product in components). Three such equations are a linear system with coefficient rows (Linear equations as a matrix equation).

Result Unique point of three planes memorise

There is a unique solution (Scenario 4) if and only if

Show derivation

By Unique solution iff det A ≠ 0, (Three planes as a matrix equation) has exactly one solution iff . The rows of are the normals, and a determinant is the triple product of its rows (Scalar triple product as a determinant), so : non-zero exactly when the normals are not coplanar (Zero iff coplanar).

This combines Unique solution iff det A ≠ 0 with Scalar triple product as a determinant.

Result When det N = 0: line or nothing memorise

If , the normals are coplanar, so the rows are linearly dependent:

Then for every . Solutions can exist only if the right-hand sides obey the same relation:

  • If the relation is obeyed, there are infinitely many solutions: a line (Scenario 5).
  • If it is not obeyed, there is no solution: Scenario 2 or 3, or Scenario 1 if all three normals are parallel.
Show derivation

Take the same combination of the three plane equations: the left-hand sides give , so a solution needs . If that holds, one equation is a combination of the other two (it adds no new condition), leaving two planes, which meet in a line (Two planes meet in a line) if their normals are not parallel. If it fails, the equations contradict each other: no point satisfies all three.

Explanation What about coincident planes?

The “line” outcome is the generic consistent case. Degenerate cases with coincident planes, already noted under Scenarios 1–2, can give more. For example, if all three planes are the same plane, every point of it is a solution.

In those cases the normals obey more than one independent relation, and the must obey each of them.

Worked example

Example For what s, t do the planes fail to meet at a point?

The planes are , and . When is there no unique solution, and when is there a line of solutions?

As a matrix equation:

  1. Determinant. , so there is no unique solution when .
  2. Relation between the rows. At the rows satisfy
  3. Consistency. Solutions need the same relation on the right-hand sides:
  4. Conclusion. For and any other there is no solution. No two of these normals are parallel, so this is the Toblerone case.
Explanation How do I find α, β, γ and the determinant quickly?

Determinant. Expand along row 3, which contains a zero:

Relation between the rows. Write and use the components one at a time:

  • The component gives . Take , so .
  • The component gives , so .
  • The component, , checks the result.
Try now
  • For three planes, write with the normals as rows.
  • means a unique point.
  • If : find the relation and test . Zero gives a line; non-zero gives no solution.
  • Typical exam pattern: set to find one parameter, then use the relation on the to find the other.