A matrix is simply a rectangular array of numbers, such as
In a linear algebra course (e.g., Math 2373), you'll learn all about matrices. For this course, we learn only what we need to for multivariable calculus.
One of the main uses we'll have of matrices involves calculating something called the determinant. (We'll use it right away to calculate the cross product. We'll use it later to calculate change of variables).
The determinant of a matrix is defined only for square matrices, i.e., n x n matrices with the same number of rows and columns. The determinant can be viewed as a function whose input is a square matrix and whose output is a number. The simplest square matrix is a 1 x 1 matrix, which isn't very interesting since it contains just a single number. The determinant of a 1 x 1 matrix is that number itself.
Moving up in complexity, the next square matrix is a 2 x 2 matrix, which we can write
We calculate the determinant of this matrix as follows. We proceed along the first row, starting with the upper left component a. We multiply the component a by the determinant of the "submatrix" formed by ignoring a's row and column. In this case, this submatrix is the 1 x 1 matrix consisting of d, and its determinant is just d. So the first term of the determinant is ad.
Next, we proceed to the second component of the first row, which is the upper right component b. We multiply b by the determinant of the submatrix formed by ignoring b's row and column, which is c. So, the next term of the determinant is bc. The total determinant is simply the first term ad minus the second term bc. We denote this as
| det |
Okay, that was a lot of work for a simple fact. Most students don't have any trouble memorizing the determinant of a 2 x 2 matrix without such rigmarole. The reason for going through this process was to make calculating a 3 x 3 (and larger) determinant easy.
We calculate the determinant of a 3 x 3 matrix
![]() |
We can now write down the determinant of a 3 x 3 matrix.
det![]() |
= a det![]() |
|
| = a(ei - fh) - b(di - fg) + c(dh - eg) | ||
| = aei + bfg + cdh - afh - bdi - ceg |
Now, I guess you could memorize the final formula for a 3 x 3 determinant. But I'd rather use my brain's synaptic connections to do something more useful. In fact, I'm afraid if I tried to memorize it, I might forget something else important, like how to combine like terms in algebra.
The above procedure generalizes to larger determinants, but we won't need them for this course.
Remember: the determinant is a single number calculated from a matrix.
We often write a
2 x 2 determinant as
![]()
![]()
or a
3 x 3 determinant as
![]() |
However, note that in this case, the vertical lines do not mean absolute value. The determinant can be negative. In mathematics, we like to use the same symbols to mean different things, which is okay as long as it's clear from context. Since the absolute value of an array of numbers is meaningless, the notation is unambiguous.
Sometimes, we'll need the absolute value of a determinant. How can we denote this? We don't want to put another pair of vertical lines around the determinant when using this notation (we'll end up with double vertical lines, which could be confused with something called the "norm" of a matrix--you'll learn about matrix norms in linear algebra). So instead, when we have to write the absolute value of a determinant, we'll use the original notation, for example,
You'll want to be able to denote the absolute value of the determinant accurately when calculating the area of a parallelogram or volume of a parallelepiped right now. We'll revisit this, too, when we talk about change of variables later in the course....