Module 11 · Systems of equations and inequalities · Lesson 70 of 84

Inverse matrices and Cramer's Rule

Undoing a matrix, solving AX = B with A⁻¹, determinants, and Cramer's Rule.

In this lesson · about 22 minutes

  • Find the inverse of a 2 × 2 matrix and know when none exists
  • Solve a system by writing it as AX = B
  • Evaluate 2 × 2 and 3 × 3 determinants and use Cramer's Rule

For numbers, 5 · (1/5) = 1. For a square matrix A, the inverse A⁻¹ is the matrix with AA⁻¹ = A⁻¹A = I.

The 2 × 2 inverse

For A = [a b; c d], the determinant is det A = ad − bc, and

A⁻¹ = (1/(ad − bc)) · [d −b; −c a]

Swap a and d, negate b and c, divide by the determinant. If det A = 0, there is no inverse (A is singular). For bigger matrices, row reduce [A | I] until the left side becomes I; the right side is then A⁻¹.

Solving AX = B

The system 2x + y = 5, 5x + 3y = 13 is AX = B with A = [2 1; 5 3], X = [x; y], B = [5; 13]. Multiply both sides by A⁻¹: X = A⁻¹B. Here det A = 1 and A⁻¹ = [3 −1; −5 2], so X = [3·5 − 13; −25 + 26] = [2; 1].

Determinants and Cramer's Rule

A 3 × 3 determinant expands along the top row:

det [a b c; d e f; g h i] = a(ei − fh) − b(di − fg) + c(dh − eg)

Cramer's Rule solves a system with determinants. For two equations, let D be the determinant of the coefficients, Dx the same with the x column replaced by the constants, and Dy with the y column replaced. Then x = Dx/D, y = Dy/D. If D = 0 the rule can't be used: the system has no solution or infinitely many.

Whiteboard · watch and try

Cramer's Rule

4 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Try it · interactive

Matrix calculator

Pick A⁻¹, then multiply A by it in your head (or set B to the inverse and press AB) to see the identity matrix.

A

B

AB =
20
52

det A = ad − bc

(2)(3) − (1)(5) = 1

det B

4

Row of A times column of B: top-left = (2)(1) + (1)(0) = 2.

Compare AB and BA: matrix multiplication usually depends on the order.

Loading practice…

Loading practice…

Check your understanding0 of 4 correct

Question 1

1.det [3 4; 2 5] = ?

Question 2

2.Which matrix has no inverse?

Question 3

3.If AX = B and A⁻¹ exists, then X = ?

Question 4

4.In Cramer's Rule, D = 0 means…

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 4

Practice sets mastered: 0 of 2

Tip: answer every quiz question correctly first.

Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.