The first part of this lecture finishes the cross product with its rules and its main use, the equation of a plane. The second introduces matrices, which describe linear changes of coordinates (transcript, pp. 1–4).
Rules for the cross product#
The cross product does not commute. Swapping and leaves the parallelogram, its area and its plane unchanged, but the right-hand rule now gives the opposite direction; in the formula, every component changes sign, for example (transcript, p. 1; notes, p. 1):
In words
vector capital B cross vector capital A equals minus vector capital A cross vector capital B, vector capital A cross vector capital A equals vector 0
The parallelogram formed by and is flat, with area zero, so is the zero vector (p. 1).
The plane through three points#
Three points , , that are not on one line determine a plane. The equation of the plane is a condition on the coordinates of a point that holds exactly when is in it (transcript, p. 1).
First way: the vectors , , form a parallelepiped. If is off the plane, it has some volume; if is in the plane, it is squashed flat. So (p. 1; notes, p. 1):
In words
the determinant of ( vector P one P, vector P one P two, vector P one P three ) equals 0
Second way: a normal vector is a vector perpendicular to the plane. is in the plane exactly when is perpendicular to , that is when their dot product is zero. And the cross product of two vectors in the plane is perpendicular to both (p. 1; notes, p. 1):
In words
vector P one P dot vector capital N equals 0, vector capital N equals vector P one P two times vector P one P three
Taking the points in another order gives or another multiple, and that is fine: a plane has infinitely many normal vectors, all multiples of each other (p. 1). The two ways give the same formula: is the triple product, which equals the determinant for every , and is zero only when is in the plane (p. 2).
Matrices and linear changes of coordinates#
Many quantities are related by linear formulas, or can be approximated by them. A typical case is a change of coordinates: a point with coordinates in one system has coordinates in another, better suited to the problem, and if the two systems share an origin the relation is linear (transcript, p. 2; notes, p. 1). The lecture's made-up example is , , , which a matrix (a table of numbers) writes as one product (p. 2; notes, p. 1):
In words
2 3 3; 2 4 5; 1 1 2 x one; x two; x three equals u one; u two; u three, capital A capital X equals capital U
Each entry of the product is the dot product of a row of with the column : the first row gives , and so on (p. 2). Here is a 3 × 3 matrix (three rows, three columns) and a column vector, a 3 × 1 matrix (p. 2).
Multiplying matrices#
The same rule multiplies any two matrices: the entry of in row , column is the dot product of row of with column of (transcript, p. 2; notes, p. 1). A 3 × 4 matrix times a 4 × 2 matrix gives a 3 × 2 matrix. In the lecture's example, a first row of and a second column of give the entry in the first row, second column of (p. 2).
A way to remember it: write on the left and above; each entry of is the dot product of the row to its left and the column above it. This also shows the size of the answer: as tall as , as wide as (p. 2). And it shows the condition for the product to exist (p. 2; notes, p. 1):
In words
width of capital A equals height of capital B
What a product means#
If transforms into and then transforms the result, the product does both at once, first , then : right to left, as applies first (transcript, p. 3; notes, p. 1):
In words
( capital A capital B ) capital X equals capital A ( capital B capital X )
This is associativity, which the matrix product has and the cross product does not (p. 3). But in general : as the lecture puts it, converting oranges to bananas and then to carrots is not the same as the reverse, and one of the two products may not even have matching sizes (p. 3).
The identity and a rotation#
The identity matrix does nothing: for every . (Not the zero matrix, which sends everything to zero.) In size it has 1 on the diagonal and 0 elsewhere; for example its first row is , whose dot product with is (transcript, p. 3; notes, p. 1).
A rotation of the plane by 90° counterclockwise is the matrix (p. 3; notes, p. 1):
In words
capital R equals 0 minus 1; 1 0, capital R x; y equals minus y; x
It sends to and to , and to , the rotation formula from the last lecture. Its columns are the images of and (p. 3). Matrices make such calculations easy: , because two quarter turns make a half turn, which sends to ; and (p. 3).
The inverse matrix#
If gives the new coordinates from the old, the reverse relation, from , is again linear and given by a matrix, the inverse of (transcript, p. 3; notes, p. 1):
In words
capital A capital A to the power minus 1 equals capital A to the power minus 1 capital A equals capital I
Only a square matrix can have an inverse (p. 3). The inverse solves linear systems: multiply on the left by (pp. 3–4):
In words
capital A capital X equals capital B which gives capital X equals capital A to the power minus 1 capital A capital X equals capital A to the power minus 1 capital B
must go on the left, where it cancels ; is not even defined when is a column vector (p. 4).
The cofactor method. For small matrices (3 × 3, 4 × 4; computer software uses other methods for large ones) the inverse is the adjoint matrix divided by the determinant (p. 4; notes, p. 2):
In words
capital A to the power minus 1 equals 1 over the quantity the determinant of capital A, a d j ( capital A )
The adjoint is found in three steps (p. 4; notes, p. 2):
- Minors: for each entry, delete its row and column and take the 2 × 2 determinant that is left. For the lecture's matrix the top-left minor is .
- Cofactors: change the sign of the minors in the places marked minus on a checkerboard of signs starting with plus in the top-left corner (the same minus as on the middle term of a cross product).
- Transpose: write the rows as columns.
Then divide by . For the lecture's , , and the result is (p. 4; notes, p. 2):
In words
capital A to the power minus 1 equals one third 3 minus 3 3; 1 1 minus 4; minus 2 1 2
It gives the old coordinates from the new ones (p. 4).
A plane, and a system solved by the inverse
(a) Find the equation of the plane through , and . (b) Invert and solve .
(a) A normal vector
and , so . Then , that is . Check: gives and gives .
(b) Minors, cofactors, transpose
The minors are ; the checkerboard gives the cofactors ; transposing gives . Expanding along the first row, , so . Check: the first row of times the first column of the adjoint is , and times the second column .
(b) The solution
: each entry is a row of the adjoint times , divided by 3, which is the row's sum: . Check: .
Summary#
- and .
- The plane through , , : with the normal vector , the same condition as .
- A linear change of coordinates is a matrix product . Entries of are dot products of rows of with columns of , defined when the width of equals the height of .
- : first , then . In general .
- ; the rotation by 90° has .
- (minors, cofactors, transpose), and gives .