BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Equations of planes and square systems

In the equation of a plane, ax + by + cz = d, the coefficients ⟨a, b, c⟩ are a normal vector, and d says how far the plane is shifted from the origin. A 3 × 3 linear system asks where three planes meet: usually in one point, X = A⁻¹B. A is invertible exactly when det A ≠ 0. When det A = 0 the normals are coplanar: a homogeneous system AX = 0 then has a whole line (or plane) of solutions besides X = 0 (along N₁ × N₂ when it is a line), and a general system has either no solution or infinitely many.

You need this first

Full reading path (4 pages)
  1. Vectors (8.01)
  2. Vectors and the dot product (18.02)
  3. Determinants and the cross product (18.02)
  4. Planes through three points, and matrices (18.02)
On this page · 7 sections
  1. Equations of planes
  2. Parallel or perpendicular?
  3. Three planes and a 3 × 3 system
  4. When A has no inverse
  5. Homogeneous systems
  6. General systems
  7. Summary

This lecture connects the last one in both directions: each equation of a linear system is a plane, and solving the system means finding where the planes meet (transcript, p. 1).

Equations of planes#

An equation ax+by+cz=dax + by + cz = d, with numbers aa, bb, cc, dd, is the condition for a point (x,y,z)(x, y, z) to be in a plane (transcript, p. 1; notes, p. 2).

Through the origin. For the plane through the origin with normal vector N⃗=⟨1,5,10⟩\vec N = \langle 1, 5, 10\rangle, a point PP is in the plane exactly when OP⃗\vec{OP} makes a right angle with N⃗\vec N (p. 1; notes, p. 2):

Plane through the origin
N⃗⋅OP⃗=⟨1,5,10⟩⋅⟨x,y,z⟩=x+5y+10z=0\vec N \cdot \vec{OP} = \langle 1, 5, 10\rangle \cdot \langle x, y, z\rangle = x + 5y + 10z = 0
In words

vector N dot vector O P equals the average of 1, 5, 10 times the average of x, y, z equals x plus 5 y plus 10 z equals 0

Through another point. The plane through P0=(2,1,−1)P_0 = (2, 1, -1) with the same normal vector is parallel to the first one, shifted to pass through P0P_0. Now P0P⃗\vec{P_0P} must be perpendicular to N⃗\vec N (p. 1; notes, p. 2):

Plane through a point
N⃗⋅P0P⃗=(x−2)+5(y−1)+10(z+1)=0⟺x+5y+10z=−3\vec N \cdot \vec{P_0P} = (x - 2) + 5(y - 1) + 10(z + 1) = 0 \quad\Longleftrightarrow\quad x + 5y + 10z = -3
In words

vector N dot vector P nought P equals the quantity x minus 2, all plus 5 the quantity y minus 1, all plus 10 the quantity z plus 1, equals 0 is equivalent to x plus 5 y plus 10 z equals minus 3

Only the constant changed. Faster: the left side must be x+5y+10zx + 5y + 10z, and P0P_0 must satisfy the equation, so the constant is 2+5⋅1+10⋅(−1)=−32 + 5 \cdot 1 + 10 \cdot (-1) = -3 (p. 1). The single most important point: in ax+by+cz=dax + by + cz = d, the coefficients ⟨a,b,c⟩\langle a, b, c\rangle are a normal vector (p. 1; notes, p. 2). A plane has many equations, since 2x+10y+20z=−62x + 10y + 20z = -6 describes the same plane, just as it has normal vectors of every length (p. 1). So finding a plane's equation really means finding a normal vector, for example as the cross product of two vectors in the plane (p. 1).

The constant dd measures roughly how far the plane is moved from the origin: d=0d = 0 is a plane through the origin, and changing dd moves to a parallel plane. It is the distance from the origin only when ⟨a,b,c⟩\langle a, b, c\rangle is a unit vector; otherwise it must be scaled by the length of the normal vector (p. 3).

Parallel or perpendicular?#

Is v⃗=⟨1,2,−1⟩\vec v = \langle 1, 2, -1\rangle parallel or perpendicular to the plane x+y+3z=5x + y + 3z = 5, or neither? (transcript, p. 1; notes, p. 2.) A normal vector is N⃗=⟨1,1,3⟩\vec N = \langle 1, 1, 3\rangle. Being perpendicular to the plane means being parallel to N⃗\vec N, a multiple of it, and v⃗\vec v is not. Being parallel to the plane means being perpendicular to N⃗\vec N (p. 1):

Parallel to the plane
v⃗⋅N⃗=⟨1,2,−1⟩⋅⟨1,1,3⟩=1+2−3=0\vec v \cdot \vec N = \langle 1, 2, -1\rangle \cdot \langle 1, 1, 3\rangle = 1 + 2 - 3 = 0
In words

vector v dot vector N equals the average of 1, 2, minus 1 times the average of 1, 1, 3 equals 1 plus 2 minus 3 equals 0

So v⃗\vec v is parallel to the plane. The point (1,2,−1)(1, 2, -1) itself is not in the plane, since it gives 00, not 55; it is in the parallel plane x+y+3z=0x + y + 3z = 0 through the origin, which is another way to see the same thing (pp. 1–2).

Three planes and a 3 × 3 system#

Each equation of a 3 × 3 linear system is a plane, so solving the system means finding a point on all three planes (transcript, p. 2; notes, p. 2). The lecture's example is x+z=1x + z = 1, x+y=2x + y = 2, x+2y+3z=3x + 2y + 3z = 3. The first two planes meet in a line, and usually that line meets the third plane in one point: the solution (p. 2). In matrix form (p. 2; notes, p. 2):

The unique solution
AX=B⟹X=A−1BAX = B \quad\Longrightarrow\quad X = A^{-1}B
In words

capital A capital X equals capital B which gives capital X equals capital A to the power minus 1 capital B

(And not BA−1BA^{-1}, whose sizes do not fit, p. 2.) For this example the point is (1,1,0)(1, 1, 0): substituting y=2−xy = 2 - x and z=1−xz = 1 - x into the third equation gives 7−4x=37 - 4x = 3, so x=1x = 1.

What else can happen? If the third plane is parallel to the line where the first two meet (pp. 2–3; notes, p. 3):

  • the line lies in the third plane: infinitely many solutions, the whole line. Solving by hand, the third equation turns out to add nothing, 0=00 = 0;
  • the line is parallel to the third plane but outside it: no solution. Solving by hand gives a contradiction, such as x+z=1x + z = 1 and x+z=2x + z = 2 at once;

That picture assumed the first two planes meet in a line. They may instead be parallel and distinct, and then there is no solution already; or the same plane, and if the third is that plane too, there is a whole plane of solutions (p. 3). Exactly two solutions is impossible: if two points of the line are in the third plane, the whole line is (p. 2).

When A has no inverse#

Why can X=A−1BX = A^{-1}B fail? The inverse is 1det⁡Aadj⁡(A)\frac{1}{\det A}\operatorname{adj}(A); the adjoint can always be computed, but dividing by det⁡A\det A is impossible when it is zero. In fact (transcript, p. 3; notes, p. 3):

Invertibility
A is invertible⟺det⁡A≠0A \text{ is invertible} \Longleftrightarrow \det A \ne 0
In words

capital A is invertible is equivalent to the determinant of capital A is not equal to 0

When the determinant is zero there is no inverse at all, not just no formula for one (p. 3). Geometrically, det⁡A≠0\det A \ne 0 is the usual case of three planes meeting in a point, and det⁡A=0\det A = 0 is the case of planes parallel to one line (pp. 3–4).

Homogeneous systems#

A system is homogeneous when the right-hand side is zero, AX=0AX = 0 (transcript, p. 3; notes, p. 3). All three planes then pass through the origin, so X=0X = 0 is always a solution, the trivial solution (p. 3).

  • If det⁡A≠0\det A \ne 0, it is the only one: X=A−10=0X = A^{-1}0 = 0 (p. 3).
  • If det⁡A=0\det A = 0: the rows of AA are the normal vectors N⃗1\vec N_1, N⃗2\vec N_2, N⃗3\vec N_3 of the three planes, so their determinant is zero, the parallelepiped they span is flat, and they are coplanar (p. 3). The line through the origin perpendicular to the plane of the normals is parallel to all three planes, and since it passes through the origin, it lies in all of them: infinitely many solutions (pp. 3–4). A vector along it (pp. 3–4; notes, p. 3):
A nontrivial solution
N⃗1×N⃗2  is perpendicular to N⃗1, N⃗2 and N⃗3\vec N_1 \times \vec N_2 \ \text{ is perpendicular to } \vec N_1,\ \vec N_2 \text{ and } \vec N_3
In words

vector N one cross vector N two is perpendicular to vector N one, vector N two and vector N three

It is perpendicular to N⃗3\vec N_3 too, because N⃗3\vec N_3 lies in the plane of N⃗1\vec N_1 and N⃗2\vec N_2 (p. 4). (This needs N⃗1\vec N_1 and N⃗2\vec N_2 not parallel; otherwise their cross product is zero, and another pair of normals is used.)

General systems#

For AX=BAX = B with any BB, the planes are those of AX=0AX = 0 shifted to parallel positions (notes, p. 3). If det⁡A≠0\det A \ne 0 there is exactly one solution, X=A−1BX = A^{-1}B. If det⁡A=0\det A = 0 there is either no solution or infinitely many, never exactly one (transcript, p. 4). Which of the two is not decided by the determinant; elimination by hand ends either in 0=00 = 0 (infinitely many) or in a contradiction such as 1=21 = 2 (none) (p. 4).

Worked example

A plane, and a system with det⁡A=0\det A = 0

(a) Find the plane through (1,2,3)(1, 2, 3) with normal vector ⟨2,−1,4⟩\langle 2, -1, 4\rangle. (b) Show that the system x+y+z=0x + y + z = 0, x−y=0x - y = 0, 2x+z=02x + z = 0 has nontrivial solutions, and find them. (c) With right-hand sides 1,1,31, 1, 3 instead of zeros, does it have a solution?

(a) Coefficients from the normal

The equation is 2x−y+4z=d2x - y + 4z = d, and the point gives d=2−2+12=12d = 2 - 2 + 12 = 12: the plane is 2x−y+4z=122x - y + 4z = 12.

(b) The determinant and the line of solutions

The normals are N⃗1=⟨1,1,1⟩\vec N_1 = \langle 1, 1, 1\rangle, N⃗2=⟨1,−1,0⟩\vec N_2 = \langle 1, -1, 0\rangle, N⃗3=⟨2,0,1⟩\vec N_3 = \langle 2, 0, 1\rangle. Expanding along the first row, det⁡A=1(−1−0)−1(1−0)+1(0+2)=0\det A = 1(-1 - 0) - 1(1 - 0) + 1(0 + 2) = 0: indeed N⃗3=N⃗1+N⃗2\vec N_3 = \vec N_1 + \vec N_2. A solution along the line is N⃗1×N⃗2=⟨1⋅0−1⋅(−1), −(1⋅0−1⋅1), 1⋅(−1)−1⋅1⟩=⟨1,1,−2⟩\vec N_1 \times \vec N_2 = \langle 1 \cdot 0 - 1 \cdot (-1),\ -(1 \cdot 0 - 1 \cdot 1),\ 1 \cdot (-1) - 1 \cdot 1\rangle = \langle 1, 1, -2\rangle. Check: 1+1−2=01 + 1 - 2 = 0, 1−1=01 - 1 = 0, 2−2=02 - 2 = 0. All multiples t⟨1,1,−2⟩t\langle 1, 1, -2\rangle are solutions.

(c) No solution

Adding the first two equations gives 2x+z=1+1=22x + z = 1 + 1 = 2, but the third says 2x+z=32x + z = 3: a contradiction, so there is no solution. With 22 instead of 33 on the right, there would be infinitely many.

Summary#

  • In ax+by+cz=dax + by + cz = d, ⟨a,b,c⟩\langle a, b, c\rangle is a normal vector; dd shifts the plane and is fixed by any one point on it.
  • A vector is perpendicular to a plane when it is a multiple of the normal, and parallel to the plane when its dot product with the normal is zero.
  • A 3 × 3 system asks where three planes meet: usually one point, X=A−1BX = A^{-1}B.
  • AA is invertible exactly when det⁡A≠0\det A \ne 0.
  • AX=0AX = 0 always has X=0X = 0; when det⁡A=0\det A = 0 the normals are coplanar and there is a line of solutions, along N⃗1×N⃗2\vec N_1 \times \vec N_2 if those two are not parallel, or a plane.
  • AX=BAX = B with det⁡A=0\det A = 0 has no solution or infinitely many.

Symbols on this page

Show the 27 symbols used here
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
⟺\Longleftrightarrow if and only if.
If and only if: each statement implies the other. Say it: “is equivalent to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
⟨\langle angle brackets.
The average (mean value) of what is inside, ⟨…⟩. Say it: “the average of”.
det⁡\det determinant.
Determinant of a matrix. Say it: “the determinant of”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
aa a.
The coefficient of x in the equation of a plane. Say it: “a”.
zz z.
The z coordinate (an unknown of the linear system). Say it: “z”.
cc c.
The coefficient of z in the equation of a plane. Say it: “c”.
xx x.
The x coordinate (an unknown of the linear system). Say it: “x”.
yy y.
The y coordinate (an unknown of the linear system). Say it: “y”.
tt t.
A number that scales the solution vector along the line of solutions. Say it: “t”.
dd d.
The constant on the right of the equation of a plane; zero for a plane through the origin. Say it: “d”.
vv v.
A vector to be tested against a plane: parallel, perpendicular or neither. Say it: “v”.
PP P.
A point (x, y, z) that may or may not be in the plane. Say it: “P”.
OO big O.
The origin, (0, 0, 0). Say it: “big O”.
AA A.
The square matrix of coefficients of a linear system. Say it: “capital A”.
BB B.
The column vector of right-hand sides of a linear system. Say it: “capital B”.
bb b.
The coefficient of y in the equation of a plane. Say it: “b”.
NN N.
A normal vector: a vector perpendicular to the plane. Say it: “N”.
P0P_{0} processed power spectrum.
A given point that the plane passes through. Say it: “P nought”.
XX X.
The column vector of unknowns (x, y, z). Say it: “capital X”.
N1N_{1} N 1.
The normal vector of the first plane (the first row of A). Say it: “N one”.
N2N_{2} N 2.
The normal vector of the second plane (the second row of A). Say it: “N two”.
N3N_{3} N 3.
The normal vector of the third plane (the third row of A). Say it: “N three”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 22 words used here

New here

trivial solution.
The solution in which every unknown is zero, which always solves a system of linear equations whose right-hand sides are all zero.
coplanar.
Lying in one plane; three vectors are coplanar exactly when their determinant is zero.

Also used

linear.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
normal vector.
A vector at right angles to a plane or surface; it fixes which way the plane faces. Explained in Planes through three points, and matrices.
perpendicular.
At right angles to a line, a surface or another direction. Explained in Inclined planes.
cross product.
A way of multiplying two vectors that gives a third vector, at right angles to both, as long as the area of their parallelogram. Explained in Torque and the cross product.
vector.
A quantity with both a size and a direction, such as a velocity or a force, drawn as an arrow. Explained in Vectors.
unit vector.
A vector of length one, used only to point in a direction. Explained in Newton's law of gravitation.
matrix.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
inverse.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
determinant.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.
parallelepiped.
A slanted box: a solid with six faces, each a parallelogram, with opposite faces equal and parallel. Explained in Determinants and the cross product.
elimination.
Solving equations by subtracting multiples of one from another until each unknown can be found in turn. Explained in The geometry of linear equations.
dot product.
A way of multiplying two vectors that gives a number: multiply matching components and add, or lengths times the cosine of the angle between them. Explained in Vectors and the dot product.
invertible.
Of a square matrix or operator: having an inverse that undoes it; for a matrix this happens exactly when its determinant is not zero. Explained in The geometry of linear equations.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
satisfy.
To make an equation or condition true.
by hand.
Worked out with pen and paper, without a computer; or put in deliberately rather than following from the theory.
assumption.
Something accepted as true, without proof, so that an argument or calculation can proceed; to assume is to accept it so.
homogeneous.
Of a linear equation: with zero on the right-hand side, so that zero is a solution.
non-trivial.
Not obvious: needing real work or thought; in maths, a solution other than the obvious zero one.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

31 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. A normal vector to the plane 3x−y+2z=73x - y + 2z = 7 is…
  2. The vector ⟨1,1,1⟩\langle 1, 1, 1\rangle and the plane x−2y+z=4x - 2y + z = 4 are…
  3. A 3 × 3 system with det⁡A=0\det A = 0 can have…
  4. A homogeneous system AX=0AX = 0 with det⁡A≠0\det A \ne 0 has…
0 of 4 answered

Flashcards

1 / 3