Apply the matrix with columns and to the unit square, where a tuple such as stands for a column vector. The square becomes a parallelogram of area . Now swap the two columns. The new matrix sends the square onto exactly the same parallelogram, yet it is a different map, because it lists the two edges in the opposite order. This lesson builds one number, the determinant, that records the area together with that order, derives the formula , and explains what a negative or a zero determinant says about the map.
Key terms
Orientation
Definition An ordered pair of linearly independent vectors in is positively oriented if the counterclockwise angle from to lies strictly between and , and negatively oriented if it lies strictly between and . The standard pair , first right and then up, is positively oriented and is the reference orientation of the plane. In an ordered triple of linearly independent vectors is positively oriented, or right-handed, if lies on the side of the plane where the right thumb points when the fingers point along and curl toward through the smaller angle. Otherwise the triple is negatively oriented, or left-handed. The standard triple is right-handed. A dependent pair or triple has no orientation.
In plain words Orientation belongs to an ordered list of directions, not to the region they span. Listing the same two independent vectors in the opposite order always gives the opposite orientation.
Example The vector points right, and the counterclockwise turn from it to is about , so the pair is positively oriented. The counterclockwise turn from back to is about , so the reversed pair is negatively oriented. Both pairs span the same parallelogram.
Determinant
Definition The oriented area of an ordered pair of vectors in is the area of the parallelogram
with a plus sign when the pair is positively oriented and a minus sign when it is negatively oriented. When and are dependent, the parallelogram is a segment or a point and the oriented area is . The determinant of a real matrix is the oriented area of its ordered columns . Since and , the image of the unit square is the parallelogram , so is its area and the sign records the order of its two edges. In the same way, the determinant of a real matrix is the oriented volume of its three ordered columns, the volume of the parallelepiped they span with a plus sign for a right-handed triple, a minus sign for a left-handed one, and for a dependent one. Only square matrices have determinants. The next lesson defines the determinant of an matrix for every and shows how to compute it.
In plain words The absolute value of the determinant is the area of the parallelogram that the unit square becomes. The sign says whether the two image edges keep the order of and or reverse it. A negative determinant does not mean a negative area.
Example The matrix
has columns and . They span a parallelogram with base on the horizontal axis and height , so its area is . The pair is positively oriented, so . Swapping the columns gives a matrix that covers the same parallelogram with the reversed pair, so its determinant is .
2-by-2 determinant formula
Definition For all real numbers ,
To derive it, suppose first that . The shear slides each vertical line along itself, so it keeps areas and does not flip the plane. It sends the first column to and the second column to . The first edge now lies on the horizontal axis with signed length , and the second edge has signed height . The area is base times height, and the pair is positively oriented exactly when the signed length and the signed height have the same sign, so the oriented area is
If and , the first edge is vertical. Sliding the second edge parallel to it, from to , keeps the oriented area, and the pair has oriented area , which is when . For instance, when and are positive, the first edge points up and the second points right, a clockwise quarter turn, so the oriented area is negative. If , the first column is zero and both sides equal .
In plain words Multiply down the main diagonal, then subtract the product of the other diagonal. The order of the subtraction matters, and the result is the oriented area of the columns, not a product of their lengths.
Example For the matrix with columns and ,
Every entry is positive, but the counterclockwise turn from to is more than a half turn, so the pair is negatively oriented and spans area . For the shear with columns and , the formula gives for every real . The image of the unit square leans further as grows, but its area stays .
Volume scale factor
Definition Let be a real matrix with or . For every bounded region in that has an area (when ) or a volume (when ), the image satisfies
where means area in the plane. The number is the volume scale factor of , called the area scale factor in the plane. For the same number is the scale factor of -dimensional volume.
In plain words A linear map multiplies every area or volume by the same factor, the absolute value of the determinant. Cover a region with tiny squares or cubes. Each one goes to a tiny parallelogram or parallelepiped whose size is times as large, so the whole region is scaled by that factor too. The factor alone does not determine individual lengths.
Example The diagonal matrix sends the unit cube to a box with edge lengths , and , so its volume scale factor is . The third edge now points down instead of up, which makes the column triple left-handed, so . A solid ball of radius , with volume , goes to a solid ellipsoid of volume . In the plane, the matrix has determinant and keeps every area, yet it doubles the length of and halves the length of .
Orientation-reversing map
Definition Let be an invertible real matrix. The map is orientation-reversing if it sends the positively oriented pair to a negatively oriented pair , that is, if . It is orientation-preserving if . An orientation-reversing map sends every positively oriented pair to a negatively oriented pair , because
a case of the product rule proved in the next lesson. The same definitions apply to an invertible matrix, with right-handed and left-handed triples. A singular matrix neither keeps nor reverses orientation, since its image vectors are dependent.
In plain words An orientation-reversing map turns the plane over, like a mirror. Its negative determinant records the reversed order of the edges, not a negative area. Reversing one axis changes the orientation, and reversing a second axis changes it back.
Example Reflection across the vertical axis has columns and and determinant . It keeps every area and reverses orientation. The map of the plane, with columns and , reverses both axes. Its determinant is , and it is the half turn about the origin, which keeps orientation.
Zero determinant and dependent columns
Definition A real matrix has if and only if its columns are linearly dependent. In that case sends the whole plane into a line through the origin, or onto the origin alone, and the image of the unit square has area . This follows from the definition, since independent columns span a genuine parallelogram with positive area. Likewise, a real matrix has determinant exactly when its columns are dependent, and then it sends space into a plane, a line or the single point , and the image of the unit cube has volume .
In plain words A zero determinant means collapse. The map loses at least one dimension, and no area or volume survives. The determinant reports only that full dimension is lost, not how much of the space remains.
Example The matrix with columns and has determinant , since the second column is twice the first. Every output is
a multiple of , so the image is a line. The zero matrix also has determinant , but its image is the single point .
Check yourself
- Let be the matrix with columns and . Find , decide whether keeps or reverses orientation, and find the area of the image of the triangle with vertices , and .
Show the answer
The matrix is
so . The sign is negative, so reverses orientation. The triangle has area , so its image has area . As a check, the image has vertices , and , and half of is .
- For which numbers does the matrix with columns and have determinant ? For each such , describe the image of the plane.
Show the answer
The determinant is , which is zero for and . For the columns are and , the first is twice the second, and the image is the line spanned by . For the columns are and , the first is times the second, and the image is the line spanned by . In both cases the plane collapses onto a line, not onto a point, because the columns are not zero.
- The map of the plane reverses both axes and keeps orientation. Does the map of keep orientation?
Show the answer
No. Its matrix is . The unit cube goes to a cube of volume , and all three edges are reversed. Two reversals cancel, but the third remains, so and the map reverses orientation while keeping every volume. Indeed the image triple is left-handed, since the right thumb for and points along , away from .