Determinant under Row Operations Explained with Worked Examples

Three rules govern how a determinant changes under row operations: swapping two rows changes its sign, multiplying a row by multiplies it by , and adding a multiple of one row to another leaves it unchanged.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Determinant under row operations means

These rules let you reduce a matrix to triangular form without changing the determinant (apart from tracked signs and factors), after which the determinant is just the product of the diagonal entries. This is far quicker than expanding along rows for a large matrix, and it is the idea behind LU factorisation.

A zero row, or two equal rows, gives determinant zero, so the matrix is singular and has no inverse. The same operations underlie the elimination used to solve systems of three equations.

Scaling a whole matrix by applies the second rule times, which gives the determinant of a scalar multiple. For a 2 × 2 case see the basic formula.

What is it used for?

Row operations change a determinant in predictable ways, which is why elimination is a fast way to compute determinants.

How to use determinant under row operations

  1. Use row operations to get zeros below the diagonal.
  2. Keep a record of every swap and every scaling.
  3. Multiply the diagonal entries.
  4. Correct the result for the swaps and scalings.

Graph

Adding a multiple of one row to another leaves the determinant unchangedbeforeafter00.511.522.53012345678Adding a multiple of one row to another leaves the determinant unchangedxyGraph with x from 0 to 3 and y from 0 to 8. Shows bars (2); point before at (1, 5); point after at (2, 5).

Swapping two rows would flip the sign instead, and scaling a row would scale the determinant.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: adding a multiple of a row

Reduce by and find the determinant.

Worked example
Answer
−2-2
  1. New matrix
  2. Product of the diagonal

Example 2: a 3 × 3 reduction

Reduce to triangular form and find the determinant.

Worked example
Answer
22
  1. R₂ − 2R₁, R₃ − R₁
  2. R₃ − R₂
  3. Product of the diagonal

Example 3: a row swap

Find the determinant of by swapping rows.

Worked example
Answer
−1-1
  1. Swap the rows to get the identity
  2. One swap changes the sign

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

det A = 6

swap two rows

−6.

det A = 6

multiply a row by 3

18.

det A = 6

add a multiple of one row to another

6.

det A = 6

divide a row by 2

3.

Word problems

Swap two rows: det changes sign. Multiply a row by k: det × k. Add a multiple of one row to another: det unchanged.

Row swap

det A = 6.

  1. −6
  2. Check: ✓-6

Scale a row

Row × 3.

  1. 6 × 3
  2. Check: ✓18

Row addition Higher

R₂ + 5R₁.

  1. 6
  2. Check: unchanged ✓6

Divide a row Higher

Row ÷ 2.

  1. 6 ÷ 2
  2. Check: ✓3

Common mistakes

Row addition changes det

changes ✗

unchanged ✓

Shear.

Scaling a row does nothing

no change ✗

multiplies by k ✓

Scaling.

Scaling the whole matrix by k multiplies det by k

k ✗

kⁿ ✓

n rows.

Swap keeps the sign

same ✗

flips ✓

Orientation.

Exam tips

  1. Swap: −1.
  2. Scale a row: ×k.
  3. Add a multiple: unchanged.
  4. Reduce to triangular and multiply diagonals.
  5. Track the factors.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. det after two swaps: det A = 5 Foundation

5

2. det after one swap: det A = 5 Foundation

-5

3. det after R₁ × 4: det A = 2 Foundation

8

4. det after R₂ + 3R₁: det A = 7 Higher

7

5. det after R₁ × 2 and R₂ × 3: det A = 1 Higher

6

6. det after one swap and R₁ × 2: det A = 3 Higher

-6

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Row operation
Elementary operation.
Row swap
Exchange two rows.
Row scaling
Multiply a row.
Row addition
Add a multiple of another row.
Echelon form
Triangular result.
Determinant
det A.

Frequently asked questions

What happens to det when two rows are swapped?

It changes sign.

When a row is multiplied by k?

det is multiplied by k.

When a multiple of one row is added to another?

It is unchanged.

How can I use this to compute det?

Reduce to triangular form and track the factors.

Which page covers LU?

LU factorisation.

Which page covers 3 × 3 determinants?

determinant of a 3 × 3 matrix.

More in Vectors and matrices and the formula sheets.