Feed the unit square to a matrix and a parallelogram comes out. Its area, and whether the square got flipped over on the way, are both recorded in one number computed from the four entries. That number is the determinant. It also tells you at a glance whether a system of equations with that coefficient matrix has exactly one solution.
Key terms
The 2 by 2 determinant
Definition The determinant of a matrix is
Determinants are defined only for square matrices. Vertical bars around the entries mean the determinant, not an absolute value.
In plain words Multiply down the main diagonal, multiply down the other diagonal, and subtract the second product from the first.
Example For the matrix with rows and
Signed area scaling
Definition Let be a matrix with columns and . Draw , and from the origin. The parallelogram with corners at the origin and at the tips of these three vectors has area . The map sends the unit square, with corners , , and , onto this parallelogram, and it multiplies the area of every region by the same factor . The number itself, with its sign, is called the signed area of the parallelogram spanned by and in that order. Swapping the two columns changes its sign but not the area.
In plain words The size of the determinant says how much the matrix stretches or shrinks areas. Its sign records a flip, described next.
Example The matrix above has columns and , so it sends the unit square to the parallelogram with corners , , and . Check its area with the box around it. Outside the parallelogram the box holds two triangles of area , two triangles of area and two unit squares, so the area is
the determinant. A disk of area would map to an ellipse of area .
Orientation
Definition Let and be the columns of a matrix . If , turning counterclockwise through an angle strictly between and brings it to the direction of , just as turns to , and the map preserves orientation. If , the shorter turn from to is clockwise and the map reverses orientation. If , the vectors and lie on one line through the origin.
In plain words A positive determinant means the picture may be turned, stretched or slanted, but not flipped over. A negative one means it has been flipped, as in a mirror.
Example The matrix that swaps coordinates reflects the plane across the line ,
Areas stay the same since . But the corners , , , , listed counterclockwise, land at , , , , which run clockwise. The quarter turn with rows and has determinant and keeps the order.
The 3 by 3 determinant
Definition The determinant of a matrix is
Each small determinant comes from deleting the row and the column of the entry in front of it, and the signs alternate , , .
In plain words Go along the top row. For each entry, cover its row and column, take the determinant of what is left, multiply, and combine the three results with alternating signs.
Example For the matrix below
the definition gives
Expansion by minors
Definition Let be an matrix with . The minor is the determinant of the matrix left after deleting row and column of , where a matrix has determinant . The cofactor is . For any fixed row and any fixed column
so every row and every column gives the same value. For and this agrees with the formulas above. For the expansion along the first row is taken as the definition of , since its minors are determinants of smaller matrices that are already defined. For a matrix the signs form a checkerboard,
In plain words You may expand along any row or column you like, as long as you use the checkerboard signs. Pick the one with the most zeros to save work.
Example Expand the same matrix along its first column, which has a zero in the middle. The signs down that column are , , , and the middle term drops out,
Volume scaling
Definition Let be a matrix with columns , and . The parallelepiped with edges , and from the origin has volume , and the map multiplies the volume of every solid by . The sign gives the orientation. The determinant is positive when , , form a right-handed triple like the coordinate directions, negative when they form a left-handed triple, the mirror image of a right-handed one, and when the three vectors lie in one plane through the origin. For square matrices and of the same size
matching the fact that doing and then scales first by and then by .
In plain words In space the determinant is the factor by which volumes grow or shrink, with a minus sign for a mirror flip.
Example Take the columns , and . Expanding along the first column,
Geometry agrees. The first two edges span a rectangle in the -plane, and the third edge rises to height above it, so the volume is .
Zero determinant
Definition For a or matrix , exactly when the columns are linearly dependent, which means that some column is a sum of multiples of the other columns. For this means one column is a multiple of the other, a zero column included. For it means the three columns lie in one plane through the origin. Equivalently, the map flattens the plane onto a line or a point, or space onto a plane, a line or a point, and there is a nonzero vector with . The same holds with rows in place of columns, so a matrix with a zero row or two equal rows has determinant .
In plain words Zero area means the square was crushed flat. Once that happens, many points pile onto the same spot.
Example For the matrix below the columns and are parallel, and
Every vector goes to , so every image, drawn from the origin, ends on the line . The nonzero vector goes to .
Singular matrices
Definition A square matrix is singular when and nonsingular when . For an matrix the following hold.
- If is nonsingular, the system has exactly one solution for every in .
- If is singular, then for each the system has either no solution or infinitely many, and has infinitely many.
The next lesson shows that the nonsingular matrices are exactly the ones that have an inverse, which is why many books define a singular matrix as one with no inverse.
In plain words A nonsingular matrix moves the plane without crushing it, so every target point comes from exactly one starting point. A singular one crushes it, so some targets are never reached and others are reached infinitely many times.
Example The coefficient matrix with rows and has determinant . The system , has infinitely many solutions, since the first equation is three times the second. The system , has none, since three times the second equation would give .
Cramer’s rule
Definition Let be an matrix with , and let be the matrix obtained from by replacing column with . Then the unique solution of is
The rule says nothing when . It is an optional method, handy for a system or for finding a single unknown, but for larger systems elimination takes far less arithmetic.
In plain words Each unknown is a ratio of two determinants. The bottom one uses the coefficients, and the top one swaps that unknown’s column for the right side.
Example Solve and . The coefficient determinant is , so
Check it in the original equations, and .
Check yourself
- Find the area of the parallelogram with corners , , and , and say whether the matrix with columns and preserves or reverses orientation.
Show the answer
The determinant is
so the area is . The determinant is positive, so orientation is preserved.
- For which values of is the matrix with rows and singular?
Show the answer
Its determinant is , which is exactly when or .
- Compute the determinant below. By what factor does the matrix scale volumes, and does it reverse orientation?
Show the answer
Expanding along the first row,
Volumes are multiplied by , and the negative sign means orientation is reversed.