Matrices and Determinants - Definition, Difference, Examples

#Algebra
TL;DR
Matrices and determinants are two different objects: a matrix is a rectangular grid of numbers, while a determinant is a single number you compute from a square matrix. This article covers both definitions, the exact difference between them, how to find a 2x2 and 3x3 determinant, the properties that make them useful, and six worked examples.
BT
Bhanzu TeamLast updated on June 26, 202611 min read

What Are Matrices and Determinants?

A matrix is a rectangular arrangement of numbers set out in rows and columns and written inside square brackets. A determinant is a single scalar value calculated from a square matrix, one number that summarises the whole grid. The matrix is the container; the determinant is one fact about it.

Here is a 2x2 matrix and its determinant side by side. The matrix:

$$A = \begin{bmatrix} 3 & 1 \ 2 & 4 \end{bmatrix}$$

Its determinant, written $\det(A)$ or $|A|$:

$$|A| = (3)(4) - (1)(2) = 10$$

Notice the bracket difference in notation: a matrix uses square brackets, a determinant uses straight vertical bars. That single visual cue tells you whether you are looking at a grid or at the number it produces.

Variable glossary. Throughout, $a_{ij}$ means the entry in row $i$, column $j$. An $m \times n$ matrix has $m$ rows and $n$ columns. $|A|$ or $\det(A)$ is the determinant of $A$. $A^T$ is the transpose (rows and columns swapped).

What Is the Difference Between a Matrix and a Determinant?

This is the question readers ask first, and it trips up more students than any other point here. Three differences matter.

  • A matrix is a grid; a determinant is a number. You cannot "equal" a matrix to a number, but a determinant is a number, so $|A| = 10$ is a complete statement.

  • A matrix can be any shape; a determinant needs a square matrix. A $2 \times 3$ matrix is fine, but it has no determinant. Determinants only exist for $n \times n$ matrices.

  • Multiplying by a constant behaves differently. Multiply a matrix by $k$ and every entry is multiplied. Multiply a determinant by $k$ and only the entries of one row (or one column) get multiplied, because $k$ factors out of a single line.

Feature

Matrix

Determinant

What it is

A grid of numbers

A single number

Notation

Square brackets $[\ ]$

Vertical bars $

Shape allowed

Any $m \times n$

Square $n \times n$ only

Multiply by $k$

Scales every entry

Scales one row or column

Main use

Stores and transforms data

Tests invertibility, solves systems

If you want the full mechanics of computing a determinant on its own, the determinant of a matrix article walks through every case.

Examples of Matrices and Determinants

Example 1

Find the determinant of $\begin{bmatrix} 5 & 2 \ 1 & 3 \end{bmatrix}$.

Apply the 2x2 rule $|A| = ad - bc$:

$|A| = (5)(3) - (2)(1)$

$|A| = 15 - 2$

$|A| = 13$

Final answer: $|A| = 13$.

Example 2

Find the determinant of $\begin{bmatrix} -4 & 6 \ -2 & 3 \end{bmatrix}$.

This is the wrong-path-first example, so watch the trap before the rescue.

Wrong attempt. A student multiplies the diagonals and adds: $(-4)(3) + (6)(-2) = -12 - 12 = -24$. Adding feels natural because so much of matrix work is addition.

Why it is wrong. The determinant subtracts the off-diagonal product, it never adds it. Adding turns the rule $ad - bc$ into $ad + bc$, a different quantity.

Correct. Subtract the second product:

$|A| = (-4)(3) - (6)(-2)$

$|A| = -12 - (-12)$

$|A| = -12 + 12$

$|A| = 0$

Final answer: $|A| = 0$. A zero determinant means this matrix is singular, so it has no inverse.

Example 3

Multiply $\begin{bmatrix} 1 & 2 \ 0 & 3 \end{bmatrix}$ by $\begin{bmatrix} 4 & 1 \ 2 & 5 \end{bmatrix}$, then find the determinant of the result.

Multiply row-by-column:

$$\begin{bmatrix} 1 & 2 \ 0 & 3 \end{bmatrix}\begin{bmatrix} 4 & 1 \ 2 & 5 \end{bmatrix} = \begin{bmatrix} 8 & 11 \ 6 & 15 \end{bmatrix}$$

Now the determinant of the product:

$|AB| = (8)(15) - (11)(6)$

$|AB| = 120 - 66$

$|AB| = 54$

Final answer: $|AB| = 54$. (Check: $|A| = 3$, $|B| = 18$, and $3 \times 18 = 54$, since determinants multiply.)

Example 4

Find the determinant of the 3x3 matrix $\begin{bmatrix} 2 & 1 & 3 \ 0 & 4 & 1 \ 5 & 2 & 1 \end{bmatrix}$.

Expand along the first row. Each entry multiplies the determinant of the 2x2 left after deleting its row and column, with the sign pattern $+\ -\ +$:

$|A| = 2\begin{vmatrix} 4 & 1 \ 2 & 1 \end{vmatrix} - 1\begin{vmatrix} 0 & 1 \ 5 & 1 \end{vmatrix} + 3\begin{vmatrix} 0 & 4 \ 5 & 2 \end{vmatrix}$

$|A| = 2(4 - 2) - 1(0 - 5) + 3(0 - 20)$

$|A| = 2(2) - 1(-5) + 3(-20)$

$|A| = 4 + 5 - 60$

$|A| = -51$

Final answer: $|A| = -51$.

Example 5

A scalar multiple. Given $|A| = 7$ for a 3x3 matrix, find $|2A|$.

Multiplying a matrix by 2 multiplies all three rows, so the determinant scales by $2^3$:

$|2A| = 2^3 \cdot |A|$

$|2A| = 8 \times 7$

$|2A| = 56$

Final answer: $|2A| = 56$. (Contrast with a determinant multiplied by 2, where only one row scales and the value just doubles.)

Example 6

Use a determinant to test invertibility. Is $\begin{bmatrix} 6 & 3 \ 4 & 2 \end{bmatrix}$ invertible?

$|A| = (6)(2) - (3)(4)$

$|A| = 12 - 12$

$|A| = 0$

Final answer: Not invertible. A square matrix has an inverse if and only if its determinant is nonzero — here it is zero, so no inverse exists.

Why Do Matrices and Determinants Matter? "One number that decides everything"

Matrices exist because some problems have too many moving parts to track one equation at a time. Solve for the current in five connected circuits, balance a chemical reaction with eight compounds, or rotate a 3D model on a screen, and you are juggling many linked quantities at once. A matrix holds the whole system in one object, and a determinant answers a single decisive question about it.

The destination is worth seeing early:

  • Solving linear systems. Cramer's rule uses determinants to solve for each unknown directly. A zero determinant warns you the system has no unique solution before you waste time looking for one.

  • Computer graphics. Every rotation, scaling, and reflection of an on-screen object is a matrix multiplication; the determinant tells you whether the transformation flips or preserves orientation.

  • Quantum mechanics. Heisenberg's matrix mechanics (1925) described atomic physics entirely through matrices, non-commuting grids whose products encode the uncertainty principle.

The determinant earns its keep as a yes-or-no test: nonzero means the matrix is invertible and the system it represents has one clean solution. Zero means the rows collapse onto each other and information is lost. That one number decides whether a whole system is solvable.

Properties of Matrices and Determinants You Will Reuse

A few properties come up constantly, so state them once and lean on them.

Matrix properties. Addition is commutative ($A + B = B + A$) and associative. Multiplication is associative but not commutative: in general $AB \neq BA$, which is the single most surprising fact for newcomers. The transpose swaps rows and columns: $(AB)^T = B^T A^T$.

Determinant properties.

  • Swapping two rows flips the sign of the determinant.

  • A row of all zeros, or two identical rows, forces $|A| = 0$.

  • $|AB| = |A|,|B|$, so the determinant of a product is the product of determinants.

  • $|A^T| = |A|$, so transposing leaves the determinant unchanged.

  • For a triangular matrix, $|A|$ is just the product of the diagonal entries.

That last one is a genuine shortcut: if your matrix is already triangular, you skip cofactor expansion entirely.

Where Students Trip Up on Matrices and Determinants

Mistake 1: Treating a matrix and its determinant as the same thing

Where it slips in: Right at the notation. A student writes $A = 10$ when they mean $|A| = 10$.

Don't do this: Set a whole grid equal to a single number. A matrix is never equal to a scalar.

The correct way: Use vertical bars for the determinant and square brackets for the matrix. $A$ is the grid; $|A|$ is the number. The first instinct when reading "the determinant of $A$" is to keep working with the grid; train yourself to drop down to a single value the moment you see the bars.

Mistake 2: Adding instead of subtracting in the 2x2 rule

Where it slips in: The formula $ad - bc$ under time pressure.

Don't do this: Compute $ad + bc$. The off-diagonal product is always subtracted.

The correct way: Read the rule as "main diagonal product minus anti-diagonal product." This sign error is the most common wrong move on 2x2 determinants, and it survives because most other matrix operations are additions — the brain defaults to the familiar operation. Slow down on the minus sign.

Mistake 3: Forgetting the alternating signs in 3x3 expansion

Where it slips in: Cofactor expansion across a row.

Don't do this: Add all three terms with a plus sign.

The correct way: The sign pattern is $+\ -\ +$ along the top row. The middle term is subtracted. The memorizer who learned "multiply and add" will get every 2x2 right and then break the instant they hit a 3x3, because the rule they memorized never included the alternating sign. Anchor on the checkerboard of signs, not on a verbal rule.

A real cost of the determinant-equals-zero blind spot showed up in engineering practice: a singular stiffness matrix in a structural model means the equations have no unique solution, and a solver that ignores the zero determinant returns garbage displacements instead of an error. The zero is the warning; missing it means trusting numbers that mean nothing.

The Mathematicians Behind Matrices and Determinants

Arthur Cayley (1821-1895, England) introduced matrix algebra as a subject in its own right and proved the result now called the Cayley-Hamilton theorem. James Joseph Sylvester (1814-1897, England) coined the word "matrix" in 1850 and collaborated closely with Cayley on the theory. Determinants are older than matrices: Gottfried Wilhelm Leibniz (1646-1716, Germany) used them to study systems of equations decades before the matrix grid was formalised, work surveyed at MacTutor.

Key Takeaways

  • A matrix is a rectangular grid of numbers; a determinant is a single number computed from a square matrix.

  • Matrices use square brackets, determinants use vertical bars, and only square matrices have determinants.

  • The 2x2 determinant is $ad - bc$ (subtract, never add); the 3x3 uses cofactor expansion with alternating $+\ -\ +$ signs.

  • A determinant of zero means the matrix is singular and has no inverse — the single most useful fact the value gives you.

  • Matrices and determinants run linear systems, computer graphics, and quantum mechanics, where tracking many linked quantities at once is the whole problem.

Practice Questions on Matrices and Determinants

Work through these, then check each answer below.

  1. Find the determinant of $\begin{bmatrix} 7 & 4 \ 2 & 3 \end{bmatrix}$.

  2. Find the determinant of $\begin{bmatrix} 2 & -1 & 0 \ 1 & 3 & 4 \ 0 & 2 & 1 \end{bmatrix}$ by cofactor expansion along the first row.

  3. Given $|A| = 5$ for a $3 \times 3$ matrix, find $|3A|$.

  4. Is $\begin{bmatrix} 8 & 4 \ 6 & 3 \end{bmatrix}$ invertible? Use the determinant to decide.

  5. If $|A| = 4$ and $|B| = 2$, what is $|AB|$?

Answer to Question 1: $(7)(3) - (4)(2) = 21 - 8 = 13$.

Answer to Question 2: $2(3 \cdot 1 - 4 \cdot 2) - (-1)(1 \cdot 1 - 4 \cdot 0) + 0 = 2(-5) + 1(1) = -10 + 1 = -9$.

Answer to Question 3: $|3A| = 3^3 \cdot |A| = 27 \times 5 = 135$.

Answer to Question 4: $|A| = (8)(3) - (4)(6) = 24 - 24 = 0$, so the matrix is singular and not invertible.

Answer to Question 5: $|AB| = |A|,|B| = 4 \times 2 = 8$.

A Practical Next Step

Practice these to solidify your understanding: compute the determinants of three random 2x2 matrices, then one 3x3 by cofactor expansion, and check each by confirming that a zero determinant matches a non-invertible matrix. If the 3x3 signs confuse you, come back to the cofactor pattern in the properties section. From here, the natural next stops are the order of a matrix (which shapes are even allowed) and multiplication of matrices.

Want a live Bhanzu trainer to walk through more matrices and determinants problems? Book a free demo class.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

Can a non-square matrix have a determinant?
No. Determinants are defined only for square matrices. A $2 \times 3$ matrix has no determinant.
What does a determinant of zero mean?
The matrix is singular, so it has no inverse, and any linear system it represents lacks a unique solution. The rows are linearly dependent.
Is $|AB|$ the same as $|BA|$?
Yes, both equal $|A|,|B|$, even though the matrix products $AB$ and $BA$ are usually different. The determinant of a product only depends on the two determinants.
Which comes first in school, matrices or determinants?
Usually matrices, then determinants as a tool built on top of them. Both appear together in NCERT Class 12 Chapters 3 and 4 and in the Common Core high-school algebra standards (N-VM).
Why is the determinant useful if it is just one number?
That one number answers high-value questions instantly: is the matrix invertible, does the system have a unique solution, and by what factor does the transformation scale area or volume.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →