On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Algebra Fundamentals · Grade 9-12

Determinant

The determinant collapses a square matrix into one number; for 2×2 it is ad−bc.

For 2×2: det⁡[abcd]=ad−bc. For 3×3: expand along any row or column using cofactors.

Quick Answer

The determinant collapses a square matrix into one number; for 2×2 it is ad−bc. Use it to test whether a square matrix can be undone (it can exactly when det⁡A≠0), whether a system Ax=b has exactly one solution, or how much a transformation stretches area. Its absolute value is the area scale factor, and a negative sign means the transformation flips shapes over, like a mirror. Only square matrices have determinants.

Why This Matters

One number answers several questions at once: whether A−1 exists, whether a system has a unique solution, and how a transformation changes area. In geometry it gives the area of a triangle straight from its corner coordinates, with no height to measure. Without it you might try to invert [2412], whose determinant is 0, and end up dividing by zero halfway through.

Intuitive Explanation

A 2×2 matrix moves the points of the plane, and the unit square with corners (0,0), (1,0), (0,1), (1,1) lands on a parallelogram. The columns of the matrix say where (1,0) and (0,1) go. For [3102] they go to (3,0) and (1,2), giving a parallelogram with base 3 and height 2, so area 6. The formula agrees: ad−bc=3⋅2−1⋅0=6. The determinant is the factor by which every area is multiplied.

If the two columns point along the same line, the square is squashed flat. In [2412] the second column (4,2) is twice the first (2,1), so the parallelogram has no area and det⁡=2⋅2−4⋅1=0. A flattened shape cannot be un-flattened, which is why a zero determinant means the matrix has no inverse and a system built on it has no unique solution.

A negative determinant is not an error. [0110] swaps x and y, a reflection, and its determinant is 0⋅0−1⋅1=−1. Areas keep their size; the minus sign records that shapes were flipped over.

The bars in ∣A∣ look like absolute value, but around a matrix they mean determinant, and the result can be negative. Around a single number, ∣−7∣=7 is a distance and never negative. The trace, the sum of the diagonal entries, is another single number from a square matrix: for [3102] it is 5, not 6, and it says nothing about area.

Think of it like this. The determinant is the zoom setting of a photocopier that can also stretch and skew: copy a unit square and measure the area that comes out. A factor of 6 means every shape comes out with 6 times its area, and 0 means the copy is a flat line that nothing can restore. Unlike a photocopier, the factor can be negative, meaning the copy is mirror-reversed.

Core idea. The determinant is a single number measuring whether a square matrix is invertible and how it scales area or volume.


When to Use

Use it when you have a square matrix and the question asks whether it is invertible, whether a system has a unique solution, or by what factor a transformation changes area. It is also the first step of the 2×2 inverse formula and of Cramer's rule. A non-square matrix has no determinant, so row-reduce it instead. If you need the actual undo-matrix, compute the inverse; if you need the angle between two vectors, use the dot product.

Tip. Ask: Is the matrix square, and am I asking whether it is invertible or how it scales area?

How to Recognize It

Before finding a determinant, check the shape of the matrix and whether the question wants one number about it or a whole new matrix.

  1. Does the matrix have as many rows as columns?

    Only square matrices have determinants. For a 2×3 coefficient matrix there is no such number to compute, so describe the system by row reduction instead.

  2. Would a single number answer the question, such as yes or no for a unique solution, or an area factor?

    Then the determinant is the tool. If the question wants the matrix that undoes A, the determinant is only the first step, and you still have to build the inverse matrix.

  3. Are the vertical bars around a grid of numbers rather than a single number or expression?

    Bars around a grid, as in ∣2143∣, mean the determinant, which may be negative. Bars around one number or expression mean absolute value, which never is.

  4. Is the question about two vectors in a plane and the parallelogram they span?

    Then write the vectors as the rows of a 2×2 matrix; the absolute value of its determinant is the area. In 3D, where you also want a perpendicular direction, use the cross product.

Determinant compared with Inverse matrix, Absolute value, and Trace

Each row produces something from a matrix or a number, and two of them are written with similar vertical bars. Ask what you get out: one signed number from a square grid, a matrix that undoes it, a distance from zero, or the plain sum down the diagonal.

Determinant

Meaning
Use this when you have a square matrix and need its invertibility, area-scaling factor, or a step in Cramer's rule.
Key test
Is the matrix square, and am I asking whether it is invertible or how it scales area?
Formula
For 2×2: det⁡[abcd]=ad−bc. For 3×3: expand along any row or column using cofactors.
Example
Find det⁡[3524] and say whether the matrix is invertible.

Inverse matrix

Meaning
The matrix that undoes A; needs det⁡≠0.
Key test
Use when you actually want A−1, not just the scalar test.
Formula
A−1=1ad−bc[d−b−ca]
Example
det⁡=1 gives a clean inverse

Absolute value

Meaning
Distance from zero for a number, always nonnegative.
Key test
Use when bars surround a number, not a matrix.
Formula
∣x∣
Example
∣−5∣=5

Trace

Meaning
The sum of diagonal entries, a different scalar.
Key test
Use when summing the main diagonal, not computing ad−bc.
Formula
a11+a22
Example
trace of [1234] is 5

Formula & Notation

For 2×2: det⁡[abcd]=ad−bc. For 3×3: expand along any row or column using cofactors.
For A∈Rn×n: det⁡(A)=∑σ∈Snsgn⁡(σ)∏i=1nai,σ(i) (Leibniz formula). Key properties: det⁡(AB)=det⁡(A)det⁡(B); A is invertible iff det⁡(A)≠0; ∣det⁡(A)∣ = volume scaling factor.

How to read it: det⁡(A) or ∣A∣. The vertical bars look like absolute value but mean determinant when applied to a matrix.

Worked Examples

Example 1 — Determinant of a 2x2

Easy

Find det⁡[3524] and say whether the matrix is invertible.
Show the steps and the answer
  1. Check the shape: the matrix is 2×2, so it has a determinant.

    Only square matrices have one.

  2. Label the entries: a=3, b=5, c=2, d=4.

    ad is the main diagonal (top-left to bottom-right) and bc is the other diagonal.

  3. Multiply along each diagonal and subtract: ad−bc=3⋅4−5⋅2=12−10=2.

    The off-diagonal product is subtracted, not added.

  4. Interpret: 2≠0, so the matrix is invertible, and it doubles every area.

    A nonzero determinant means nothing was flattened, so the transformation can be undone.

Answer: det⁡=2, invertible

Takeaway: Main-diagonal product minus off-diagonal product; any nonzero result means an inverse exists.

Example 2 — Absolute value, not determinant

Standard

Evaluate ∣−7∣.
Show the steps and the answer
  1. Look inside the bars: a single number, −7, not a grid.

    Bars around a matrix mean determinant; bars around a number mean absolute value.

  2. Find the distance from −7 to 0 on the number line: 7.

    Absolute value measures distance, so it is never negative.

  3. Compare with ∣0110∣=0⋅0−1⋅1=−1.

    With a matrix inside, the same bars can give a negative answer, because a determinant also records orientation.

Answer: 7

Takeaway: Bars around one number give its distance from zero; bars around a matrix give its determinant, which can be negative.

Example 3 — Find the mistake: subtract the off-diagonal

Application

Is M=[6432] invertible? Priya writes: "det⁡M=6⋅2+4⋅3=24, which is not zero, so M is invertible." Find the mistake and correct it.
Show the steps and the answer
  1. Compare her work with ad−bc: Priya added the off-diagonal product instead of subtracting it.

    The determinant is the main-diagonal product minus the other diagonal's product.

  2. Recompute: 6⋅2−4⋅3=12−12=0.

    Both diagonal products are 12, so they cancel.

  3. Check the columns: (4,2)=23(6,3), so they lie along one line.

    Parallel columns squash the unit square flat, which is what a zero determinant means.

  4. Conclude: M has no inverse.

    The inverse formula would have to divide by det⁡M=0.

Answer: det⁡M=0, so M is not invertible.

Takeaway: Subtract the off-diagonal product; adding it can turn a zero determinant into a large one and hide a singular matrix.

Where You'll See It

  • Area of a plot from GPS corners

    A triangular plot has corners at (0,0), (40,10) and (15,30) in metres. Its area is half the determinant of the two edge vectors: 12(40⋅30−10⋅15)=12(1200−150)=525 m², found without measuring any height.

  • Spotting a system with no single answer

    A shop knows 2x+4y=50 and x+2y=25 for the prices x and y of two items. The coefficient determinant is 2⋅2−4⋅1=0: the second fact is just the first one halved, so these two facts cannot pin down the prices.

  • Mirror flips in graphics software

    Graphics programs check the sign of a transformation's determinant. The matrix [−1001] has determinant −1: an image keeps its size but is mirrored left to right, so any text in it reads backwards.

Common Mistakes

  1. The slip: Computing ad+bc instead of ad−bc

    Instead: the off-diagonal product is SUBTRACTED.

  2. The slip: Trying to take a determinant of a non-square matrix

    Instead: determinants exist only for square matrices.

  3. The slip: Assuming a negative determinant means an error

    Instead: a determinant can be negative; only zero means non-invertible.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find det⁡[4213].

    Hint: Main diagonal product minus the other diagonal product.

  2. Find det⁡[2531]. Is the matrix invertible?

    Hint: Compute ad−bc, then check whether it is zero.

  3. Find k so that [k624] has no inverse.

    Hint: Set the determinant equal to zero.

  4. Find det⁡[120031201].

    Hint: Expand along the first row, with signs +,−,+.

  5. To decide whether [2412] has an inverse, do you look at its trace or its determinant?

    Hint: Which number being zero means no inverse?

  6. A student computes det⁡[5324]=5⋅4+3⋅2=26. Find the mistake.

    Hint: Is the second product added or subtracted?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Is det⁡(AB) equal to det⁡A⋅det⁡B?

Yes, and the area picture explains why: if BB multiplies areas by 3 and AA then multiplies them by 2, doing both multiplies areas by 6. The rule fails for sums, though. With A=B=IA=B=I, the 2×22\times2 identity, det⁡(A+B)=det⁡(2I)=4\det(A+B)=\det(2I)=4, but det⁡A+det⁡B=2\det A+\det B=2. So you may split a determinant over a product but never over a sum.

What does the determinant of a 3×3 matrix measure?

Volume instead of area. Apply the matrix to a unit cube and the determinant is the volume of the slanted box that comes out, with a negative sign if the box is mirror-reversed. So a 3×33\times3 determinant of 0 means the three column vectors lie in one plane, and the box is flat. The idea continues to any size: an n×nn\times n determinant is an nn-dimensional volume factor.

What happens to the determinant if I swap two rows?

It changes sign. det⁡[1234]=4−6=−2\det\begin{bmatrix}1&2\\3&4\end{bmatrix}=4-6=-2, and swapping the rows gives det⁡[3412]=6−4=2\det\begin{bmatrix}3&4\\1&2\end{bmatrix}=6-4=2. Multiplying one row by kk multiplies the determinant by kk, and adding a multiple of one row to another leaves it unchanged. These facts let you find large determinants by row reduction, which is much faster than expanding cofactors.

Is the determinant related to the area of a triangle from its corners?

Yes. For a triangle with one corner at the origin and the others at (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2), the area is 12∣x1y2−x2y1∣\frac12|x_1y_2-x_2y_1|, half the absolute value of a 2×22\times2 determinant, because the triangle is half of the parallelogram the two vectors span. For corners (0,0)(0,0), (4,1)(4,1) and (1,3)(1,3), the area is 12∣12−1∣=5.5\frac12|12-1|=5.5.

Learning Path

You need Matrix Definition and Matrix Multiplication first, since a determinant describes what multiplying by a matrix does to area. This concept adds the single number ad−bc and its meanings: area scale factor, orientation and invertibility. Next, the Inverse Matrix divides by the determinant, Solving Systems of Equations with Matrices uses it in Cramer's rule, and the Cross Product is computed as a 3×3 determinant.

See Also