๐Ÿ  Home โ€บ ๐Ÿ”ข Matrix Math โ€บ Lesson 6

๐ŸŒŸ Special Grids โ€” The Zero Grid and the Identity Grid

๐Ÿ“– Lesson 6 of 9

๐Ÿ“Œ Key idea of this section

The zero grid is the 0 of matrix world:  A + 0 = A.
The identity grid I is the 1 of matrix world:  A ร— I = A.

The grid that does nothing (to sums)

The zero grid is all zeros: [ 0 0 ; 0 0 ]. Add it to anything and nothing changes โ€” just like adding 0 to a number. And subtracting a grid from itself always gives the zero grid: A โˆ’ A = 0.

The grid that does nothing (to products)

Now the sneakier one. This grid is called the identity, written I:

I = [ 1  0 ]            I = [ 1  0  0 ]
    [ 0  1 ]                [ 0  1  0 ]
                            [ 0  0  1 ]

Ones run down the main diagonal (the line of squares from the top-left corner to the bottom-right corner), and zeros fill the rest. Multiply any grid by I and it comes out untouched:

I ร— [ 5  3 ] = [ 5  3 ]
    [ 2  4 ]   [ 2  4 ]
top-left:      1ร—5 + 0ร—2 = 5      top-right:     1ร—3 + 0ร—4 = 3
bottom-left:   0ร—5 + 1ร—2 = 2      bottom-right:  0ร—3 + 1ร—4 = 4

Why does it work? In every dot product, the single 1 grabs exactly one partner and the 0s ignore the rest. The identity is a perfect copy machine. (And it works on both sides: I ร— A = A and A ร— I = A. The identity commutes with everybody โ€” it's one of the special pairs from Lesson 5!)

The undo grid (a peek)

Some grids have an undo partner called an inverse: multiply the two and you get I. Doubling then halving is doing nothing โ€” so the doubling grid and the halving grid undo each other:

[ 2  0 ] ร— [ 1/2   0  ] = [ 1  0 ] = I
[ 0  2 ]   [  0   1/2 ]   [ 0  1 ]
top-left square:  2 ร— 1/2 + 0 ร— 0 = 1   (the other three work out the same way)

Not every grid has an undo partner โ€” the zero grid never does, since every product with it is all zeros. But when an inverse exists, it undoes the original perfectly, the way dividing by 2 undoes multiplying by 2. The practice problems will let you verify a couple of undo pairs yourself.

โœ๏ธ Your Turn!

  • (a)
    Compute [ 6 1 ; 3 2 ] ร— I.
  • (b)
    What grid added to [ 6 1 ; 3 2 ] gives the zero grid?
๐Ÿ‘€ Show the answers

Answers: (a) Unchanged: [ 6 1 ; 3 2 ] โ€” the identity copies. (b) The negative of every square: [ โˆ’6 โˆ’1 ; โˆ’3 โˆ’2 ].

V.3.1