What is the determinant of a matrix?
Last updated: 2026-11-26
The determinant is one number computed from a square matrix. Its absolute value is the factor by which the matrix scales area in two dimensions, or volume in three, and its sign records whether orientation is kept or reversed. A determinant of zero means the matrix flattens space into fewer dimensions, so it has no inverse.
Start learning No account needed
1. The 2 by 2 formula and what it measures
For a matrix with rows (a, b) and (c, d), the determinant is ad − bc. Multiply the matrix by the four corners of the unit square, taken as column vectors, and you get the corners of a parallelogram, which can be flattened. The size of the determinant is the area of that parallelogram. Since the square had area 1, that number is also the area scaling factor, and the same factor applies to other regions in the plane.
2. A worked example: positive, negative and zero
Take A with rows (3, 1) and (1, 2). Matrix B is A with its two columns swapped, and C has rows (3, 6) and (1, 2). Before reading the output, predict the three areas. The corners are listed in the order you reach them walking counterclockwise around the original square, and the signed area is positive when the images are still counterclockwise. The numbers come from scripts/what-is-a-determinant-of-a-matrix-worked-example.py in the Professor Turing repository.
A: rows (3, 1), (1, 2)
unit square corners go to (0, 0), (3, 1), (4, 3), (1, 2)
det = 5, signed area of the image = 5
B: rows (1, 3), (2, 1)
unit square corners go to (0, 0), (1, 2), (4, 3), (3, 1)
det = -5, signed area of the image = -5
C: rows (3, 6), (1, 2)
unit square corners go to (0, 0), (3, 1), (9, 3), (6, 2)
det = 0, signed area of the image = 0
C(2, 0) = (6, 2)
C(0, 1) = (6, 2)
det(2A) = 20
det(AB) = -25
M: rows (2, 1, 0), (1, 3, 1), (0, 1, 2)
cofactor expansion: 8
pivots after row replacement: 2, 5/2, 8/5
product of pivots: 8
A and B send the square to the same parallelogram, with area 5. A has determinant 5 and keeps the counterclockwise order. B has determinant −5 and reverses it, as a mirror would. The minus sign says nothing about a negative size.
C sends all four corners onto one line, since (3, 1), (9, 3) and (6, 2) are multiples of the same direction. The area is 0. Two different inputs, (2, 0) and (0, 1), both land on (6, 2), so no inverse could tell you which one you started from.
3. What zero tells you about a system
A square matrix is invertible exactly when its determinant is not zero. So if det A is not zero, the system Ax = b has one solution for each b. If det A is zero, the system has either no solution or infinitely many, depending on b. The determinant alone does not say which. For that you can row reduce, or look at the null space and the rank. The columns of an n by n matrix form a basis of R^n exactly when its determinant is not zero; see span and basis.
4. Larger matrices
The 3 by 3 matrix M in the output can be expanded along its first row, or row reduced. Adding a multiple of one row to another leaves the determinant unchanged, so reduction with that move alone gives the pivots 2, 5/2 and 8/5, and their product is 8. Swapping two rows multiplies the determinant by −1, and scaling a row by a number multiplies the determinant by that number, so keep track of those moves if you use them.
The determinant also multiplies: det(AB) = det A × det B. With our matrices that is 5 × (−5) = −25. Applying B scales areas by 5 and flips, and then applying A scales by 5 again. The eigenvalues of a square matrix M are the numbers λ where the determinant of M − λI is zero; see what are eigenvalues and eigenvectors.
5. A common misconception: doubling the matrix doubles the determinant
Multiplying A by 2 gives det(2A) = 20, which is four times det A. Each of the two rows was doubled, and each doubled row contributes a factor of 2. In picture terms, both sides of the parallelogram got twice as long. For an n by n matrix, det(cA) equals cn det A, because each of the n rows contributes a factor of c.
6. Test yourself
Case 1. A has rows (4, 2) and (2, 1). Find det A and say what it does to the unit square.
Answer to case 1
4 × 1 − 2 × 2 = 0. One row is twice the other, and the square is flattened to a segment.
Case 2. A has rows (0, 1) and (1, 0). Explain the sign of its determinant.
Answer to case 2
The determinant is −1. The matrix swaps the two coordinates, which is a reflection, so area is unchanged and orientation is reversed.
Case 3. A 3 by 3 matrix has determinant 2. Find the determinant of 3A.
Answer to case 3
Three rows are each scaled by 3, so it is 27 × 2 = 54.
To practice from memory, see how to test yourself. For exam preparation, see how to study for a math exam.
What the sources found, and their limits
Dan Margalit and Joseph Rabinoff, Interactive Linear Algebra, section 4.1. It defines the determinant of a square matrix through its behavior under row operations, and gives the invertibility and multiplication properties. Source: Determinants: definition, read on 2026-11-25.
The same book, section 4.3. It shows that the absolute value of the determinant is the volume of the parallelepiped built from the vectors, that the matrix transformation scales volumes by that factor, and how the sign relates to orientation. Source: Determinants and volumes, read on 2026-11-25.
The same book, section 4.2. It gives cofactor expansion along a row or a column. Source: Cofactor expansions, read on 2026-11-25.
Jim Hefferon, Linear Algebra, fourth edition, chapter four. Corollary 3.16 says that swapping columns changes the sign of a determinant, and section II.1 reads that sign as orientation. Section I.3 sums up systems: a zero determinant goes with no solution or many, and a nonzero one with exactly one. Exercise 1.18 of section I.1 states det(cA) = c3 det A for 3 by 3 matrices. Source: Linear Algebra (PDF), read on 2026-11-25.
Limits: two textbooks, for real matrices, with selected passages read. The step from rows scaled one at a time to cn is our application of the row scaling rule. The matrices and the self-test cases are ours.
How Professor Turing helps
Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start. It's an AI tutor, free to try.
Bring a matrix and say what you think its determinant tells you. Its first reply asks what you already know, such as what the matrix does to the unit square, before it teaches anything. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.
FAQ
What does a determinant of zero mean? The matrix flattens space into fewer dimensions and has no inverse. A system Ax = b then has no solution or infinitely many, depending on b.
Can a non-square matrix have a determinant? The determinant is defined for square matrices. A 3 by 2 matrix has no determinant. To describe one, you can ask for its rank.
Start with what you're working on
Tell the tutor which determinant question you are working on and let it ask you the questions.
Start learning No account needed
See also: what is the rank of a matrix · all study guides