Practice: Matrix Inverses and Elementary Matrices

Direct application · Error diagnosis

A learner proposes B = ( 3 − 1 − 5 2 ) as the inverse of A = ( 2 1 5 3 ) .

Compute the entry in row 1, column 1 of the product A B .

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

Take row 1 of A against column 1 of B .

Hint 2: Concept cue

2 × 3 + 1 × ( − 5 ) .

Direct application

Let A = ( 2 1 5 3 ) .

Compute A − 1 and give the entry in row 1, column 1.

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

Compute det A = a d − b c first.

Hint 2: Concept cue

The ( 1 , 1 ) entry of the inverse is d / det A .

Direct application

In a 2 × 2 system, the operation R 2 → R 2 − 5 R 1 is performed by left multiplication by an elementary matrix E , obtained by applying that operation to I .

What is the entry of E in row 2, column 1?

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

Apply the operation to I rather than to any other matrix.

Hint 2: Concept cue

What does row 2 of I become after subtracting 5 times row 1?

Recognition · Error diagnosis

With A = ( 2 1 5 3 ) and B = ( 1 2 0 1 ) , a learner computes A − 1 B − 1 = ( 3 − 7 − 5 12 ) and reports it as ( A B ) − 1 . Is that right?

2 hints available, least help first.

Hint 1: Retrieval cue

Multiply A B by each candidate and see which gives I .

Hint 2: Concept cue

In ( A B ) ( B − 1 A − 1 ) , which two factors are adjacent in the middle?

Direct application

Factor C = ( 2 1 1 4 − 6 0 − 2 7 2 ) as L U by downward elimination.

The first step clears position ( 2 , 1 ) using R 2 → R 2 − 2 R 1 . What is the entry L 21 ?

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

What number multiplied row 1 before it was subtracted?

Hint 2: Concept cue

Check your answer by forming row 2 of L U : it must give ( 4 , − 6 , 0 ) .

Construction · Direct application · Explanation

(a) Compute A − 1 for A = ( 1 2 3 7 ) by reducing [ A ∣ I ] , recording each row operation. Verify your answer.

(b) Write each of your row operations as an elementary matrix and confirm that their product, in the correct order, equals A − 1 .

(c) Let B = ( 1 0 4 1 ) . Compute ( A B ) − 1 two ways: directly from A B , and from A − 1 and B − 1 . State the rule your second route uses.

(d) Attempt to invert S = ( 2 6 1 3 ) by the same reduction. Say what happens and what it proves, listing three other properties of S that follow.

(e) Find the L U factorisation of A from part (a), and use it to compute det A . Say why L holds the multiplier with the sign it does.

Write your answer, then compare it with the worked solution.

3 hints available, least help first.

Hint 1: Retrieval cue

Record each row operation as you perform it; parts (b) and (e) both depend on having them written down.

Hint 2: Concept cue

An elementary matrix is the identity with the operation applied to it. The first operation performed stands rightmost in the product.

Hint 3: Strategy cue

In part (d), do not restart when a zero row appears, ask what a zero row on the left establishes about the rows of S .

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

(a) The inverse. Start from [ A ∣ I ] :

[ 1 2 1 0 3 7 0 1 ] → R 2 → R 2 − 3 R 1 [ 1 2 1 0 0 1 − 3 1 ] → R 1 → R 1 − 2 R 2 [ 1 0 7 − 2 0 1 − 3 1 ]

So A − 1 = ( 7 − 2 − 3 1 ) . Verification. A A − 1 = ( 7 − 6 − 2 + 2 21 − 21 − 6 + 7 ) = ( 1 0 0 1 ) ✓. Cross-checking by formula: det A = 7 − 6 = 1 , so the inverse is 1 1 ( 7 − 2 − 3 1 ) ✓, and the determinant being 1 explains the integer entries. (b) As elementary matrices. The two operations were R 2 → R 2 − 3 R 1 and then R 1 → R 1 − 2 R 2 :

E 1 = ( 1 0 − 3 1 ) , E 2 = ( 1 − 2 0 1 ) .

Since E 2 E 1 A = I , the product E 2 E 1 is A − 1 . Multiplying, with E 1 applied first and therefore rightmost:

E 2 E 1 = ( 1 − 2 0 1 ) ( 1 0 − 3 1 ) = ( 1 + 6 − 2 − 3 1 ) = ( 7 − 2 − 3 1 ) = A − 1   ✓

Reversing the order would give E 1 E 2 = ( 1 − 2 − 3 7 ) , which is not the inverse. The order records which operation came first. (c) The inverse of a product.

A B = ( 1 2 3 7 ) ( 1 0 4 1 ) = ( 9 2 31 7 ) .

Directly. det ( A B ) = 63 − 62 = 1 , so ( A B ) − 1 = ( 7 − 2 − 31 9 ) . From the factors. B is elementary, it adds 4 × row 1 to row 2, so B − 1 = ( 1 0 − 4 1 ) . Then

B − 1 A − 1 = ( 1 0 − 4 1 ) ( 7 − 2 − 3 1 ) = ( 7 − 2 − 28 − 3 8 + 1 ) = ( 7 − 2 − 31 9 )   ✓

The rule is ( A B ) − 1 = B − 1 A − 1 : the order reverses. Checking the wrong order, A − 1 B − 1 = ( 15 − 2 − 7 1 ) , which is not the inverse of A B . (d) A matrix with no inverse.

[ 2 6 1 0 1 3 0 1 ] → R 1 → 1 2 R 1 [ 1 3 1 2 0 1 3 0 1 ] → R 2 → R 2 − R 1 [ 1 3 1 2 0 0 0 − 1 2 1 ]

The left block has a zero row, so it can never be reduced to I . The reduction has not failed; it has proved that S has no inverse. The rows were dependent from the start: row 1 is twice row 2. Three consequences, each an entry of the equivalence list: det S = 6 − 6 = 0 ; rank ⁡ S = 1 < 2 , so the columns are dependent, as ( 6 , 3 ) = 3 ( 2 , 1 ) shows; and the kernel is nontrivial, since S ( 3 , − 1 ) T = ( 6 − 6 , 3 − 3 ) T = 0 , which also says 0 is an eigenvalue. (e) L U for A . Only one elimination step is needed, R 2 → R 2 − 3 R 1 , with multiplier 3:

L = ( 1 0 3 1 ) , U = ( 1 2 0 1 ) .

Check. L U = ( 1 2 3 6 + 1 ) = ( 1 2 3 7 ) = A ✓. det A = det L ⋅ det U = 1 × ( 1 ) ( 1 ) = 1 , agreeing with part (a). Why the sign. L is built so that L U = A . It rebuilds A from the reduced form, undoing the elimination. The step subtracted 3 R 1 from row 2, so restoring row 2 requires adding 3 R 1 back, and L 21 = + 3 . The elementary matrix E 1 = ( 1 0 − 3 1 ) carries − 3 because it performs the elimination; L = E 1 − 1 carries + 3 because it reverses it. The two signs are consistent, and confusing them is caught immediately by multiplying L U out.

A complete answer does each of these:

  • computes the inverse
  • verifies the inverse
  • identifies elementary matrices
  • applies order reversal
  • produces lu factorisation
  • reads a stalled reduction
Practice data

Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.