
A First Course in Linear Algebra
A.G. Hamilton · Study material generated by AI from this edition. Not affiliated with the publisher.

A.G. Hamilton · Study material generated by AI from this edition. Not affiliated with the publisher.
Chapter 7 · pp. 74–89
A determinant is a single number worked out from a square array of numbers. This chapter shows how to compute determinants of different sizes, how row operations change them, and why a non-zero determinant tells you a matrix is invertible. It ends with cofactors, the adjoint matrix, and a rule for the determinant of a product.
A matrix is a rectangular array of numbers. A determinant is one number calculated from a square matrix. Mixing these up is a common mistake. We write for the determinant of the matrix . (p. 74)
For a 2 x 2 matrix with rows and :
Multiply down the main diagonal, then subtract the product of the other diagonal. For rows and the value is . The same expression turns up when you solve two simultaneous equations in and by elimination. (p. 74)
For a 3 x 3 array with rows , , , the definition is:
Diagonal method. Write the first two columns again to the right of the array. Add the products along the three left-to-right diagonals. Subtract the products along the three right-to-left diagonals. This reproduces the formula above. (pp. 74–76)
Example: for rows , , , the added products are and the subtracted ones are . The value is . This shortcut works only for 3 x 3 determinants. It does not extend to 4 x 4 or larger. (pp. 74–76)
Expansion by a row or column. This method is the one that extends to larger sizes. Take each entry of a chosen row or column. Multiply it by the smaller determinant left after deleting that entry's row and column. Then combine the terms using alternating signs. For the first row:
The signs follow a checkerboard: + - + on the top row, - + - on the next, then + - +. The minus on the middle term is the easiest thing to forget. Any row or column gives the same value. So pick one with zeros, because each zero removes a whole term. (pp. 76–78)
Example: rows , , . The second column has two zeros. Only the entry 1 in the middle survives, with sign +. Its smaller determinant is . So the determinant is 9.
There are three kinds of elementary row operation, and each has a simple effect. (pp. 78–79)
The book checks these by multiplying out the 3 x 3 case. They hold for all sizes. Matching rules hold for column operations too. (pp. 78–79, 82)
If two rows of a determinant are the same, its value is 0. To see why, expand along the third row, the one that is not repeated. Each smaller determinant still has two equal rows, and the terms cancel to 0. This same fact is used to prove that adding a multiple of a row changes nothing. The extra expression that appears in that proof is itself a determinant with a repeated row. (pp. 79–80)
A 4 x 4 determinant is defined by expanding along the first row. Each of the four entries multiplies the 3 x 3 determinant left after deleting its row and column. The signs alternate: + - + -. Expanding along another row or column gives the same value, as long as the alternating signs are kept. Determinants of 5 x 5 and larger are defined the same way, and the row rules still apply. (p. 80)
The determinant of a triangular matrix is the product of its main-diagonal entries. For an upper triangular matrix, expand down the first column. Only the top-left entry is non-zero, and it multiplies a smaller triangular determinant. Repeat this and a 4 x 4 matrix gives . Lower triangular matrices work the same way. (p. 81)
This gives a fast method for big determinants. (pp. 81–83)
Example: rows , , . Subtracting multiples of one row from another leaves the determinant unchanged. Dividing a row by divides the determinant by . The final triangular matrix has determinant 4. So the original is . If a row swap had been used, the sign would also flip. (pp. 81–83)
A matrix is invertible exactly when . After elimination, the triangular matrix has determinant zero only if its last row is all zeros. That means fewer than non-zero rows, so the rank is below . A non-zero determinant therefore matches full rank. This adds a fifth condition to the Equivalence Theorem. The conditions are: (p. 82)
Write the entry in row , column as . Its cofactor is the smaller determinant found by deleting row and column , multiplied by the checkerboard sign for that position. With cofactors, the first-row expansion becomes:
To build the adjoint matrix , replace every entry by its cofactor, then transpose the result. By hand this is very long, even for 3 x 3, so it is mostly of theoretical use. (pp. 83–84)
If is invertible, then:
Here is why. Look at the product . Each diagonal entry is a row expansion of , so it equals . Each off-diagonal entry is an expansion of a determinant with two equal rows, so it is 0. Hence . Dividing by , which is non-zero because is invertible, gives the formula. (pp. 84–85)
For matrices and , the determinant of a product is the product of the determinants:
The book states this without proof. One consequence is that if either or has determinant 0, then has determinant 0, so is singular. (p. 86)