Speak Maths Β· University

Matrices: a recipe for many cakes

A matrix is a table of numbers that holds a whole recipe. A few signs say how to read it, undo it, and spot what it only stretches.

Draft: written by an AI helper and not yet checked by a teacher.

The alphabet

Read each sign aloud, the way it is written under it.

  • Say: the matrix A, with entries a one one, a one two, a two one, a two twoMeans: a rectangular table of numbers, written in brackets
  • Say: a i jMeans: the entry in row i and column j: row first, then column
  • Say: A transposeMeans: A with its rows and columns swapped
  • Say: A inverseMeans: the matrix that undoes A; it is not one over A
  • Say: the determinant of AMeans: one number telling how A scales area; if it is zero, A cannot be undone
  • Say: the identity matrix IMeans: the matrix that changes nothing: 1s on the diagonal, 0s elsewhere
  • Say: A x equals bMeans: a system of equations in one line: which x does A turn into b?
  • Say: A v equals lambda vMeans: A only stretches v by the number lambda, an eigenvalue, without turning it

The story: A recipe for many cakes

Subtitles:

Tap a line to see its words.

  1. A table for two cakes: row one is cups of flour, row two is eggs. Column one is a plain cake, column two a chocolate cake.
  2. The entry in row two, column two is 3: a chocolate cake needs 3 eggs.
  3. Today the baker makes 4 plain cakes and 2 chocolate ones.
  4. The table times the numbers of cakes gives the shopping list: 12 cups of flour and 10 eggs.
  5. The shop’s order sheet writes the same numbers with rows and columns swapped, so cakes run down the page.
  6. Tomorrow the store holds 16 cups of flour and 14 eggs, all to be used. How many of each cake?
  7. The determinant is 4, not zero, so for any stock there is exactly one answer.
  8. The inverse undoes the recipe; doing the recipe, then the inverse, changes nothing: the identity.
  9. The inverse applied to the stock gives 5 plain and 3 chocolate. Check: flour 10 + 6 = 16, eggs 5 + 9 = 14.
  10. One cake of each kind uses 4 cups of flour and 4 eggs: the same shape as the batch, just 4 times as big.

In words this story is 930 letters long; in symbols, 233.

Read it

What does it say?

Write it

Which notation says this?

The entry in row i and column j of A.

The unknown x is what you get by undoing A on b.

A with its rows and columns swapped.

The determinant of A is not zero.

A times its inverse is the identity.

The entry in row 3 and column 1.

A only stretches v to five times its length, without turning it.

The 2-by-2 identity matrix.

The transpose of the matrix with rows (1, 2) and (3, 4).

Two equations in one line: 2x₁ + xβ‚‚ = 5 and x₁ βˆ’ xβ‚‚ = 1.

The determinant of the 2-by-2 matrix with rows (a, b) and (c, d).

Doing A twice changes nothing: A is its own inverse.

Build it

Tap the tiles in order. One tile does not belong.

A x equals b.

A v equals lambda v.

A inverse times A equals the identity.

The determinant of A is not zero.

The transpose of A transpose is A.

The entry in row two, column one is 5.

Challenges

Creative puzzles that use every sign of this chapter. Take your time; there is no clock.

1 The tick grid

Row r and column c of a 3Γ—3 table of 0s and 1s are shown: a tick is a 1. Judge each sentence about this matrix A.

βœ“βœ“
βœ“βœ“
βœ“

A tick means the entry is 1, a blank means 0. Row i, column j is a_{ij}.

2 Matrix labels

Pair each line with what it says.

Tap a line, then its meaning.

3 Areas multiply

This should say: scaling by AB scales area by the scaling of B and the scaling of A together. One tile is wrong. Find it, then fix it.

Tap the tile that is wrong.

4 The scale factor

Compute the determinant: how many times larger does this matrix make areas?

5 Only stretched

This matrix sends the vector (0, 1) onto a longer copy of itself. By what factor?

6 Undo the recipe

Which x does this matrix turn into (5, 2)?

7 When can you undo?

A matrix can be undone exactly when its determinant is not zero. Write it in symbols, then compare.

8 Mirror matrix

A matrix is symmetric when swapping rows and columns changes nothing. Write it, once with A^T and once with entries a_{ij}, then compare.

9 Almost the identity

A 3Γ—3 table of 0s and 1s, one tick away from the identity. Judge each sentence about this matrix A.

βœ“βœ“
βœ“
βœ“

A tick means the entry is 1, a blank means 0. Row i, column j is a_{ij}. The last statement multiplies A by the vector (0, 0, 1).

10 Only stretched, never turned

Three matrices and four vectors. A tick says the matrix only stretches that vector (perhaps by a negative factor) without turning it. Judge each sentence.

βœ“βœ“
βœ“βœ“
βœ“βœ“
βœ“βœ“

A tick means the row’s vector is an eigenvector of the column’s matrix: the matrix sends it to Ξ» times itself for some number Ξ».

11 One table, five questions

The same table with rows (1, 2) and (3, 4) is asked five different things. Pair each line with its value.

Tap a line, then its meaning.

12 Undoing a 2Γ—2 table

For A with rows (a, b) and (c, d), this should be the inverse: one over the determinant times a rearranged table. One tile is wrong. Find it, then fix it.

Tap the tile that is wrong.

13 The shopping list

Row one is cups of flour, row two is eggs; the columns are two kinds of bread. Today: 3 loaves of the first kind and 2 of the second. What goes on the shopping list?

14 Flattened

Compute the determinant. What does the answer say about undoing this matrix?

15 The same direction

This matrix sends (1, 1) to a longer copy of itself. By what factor?

16 One step back

A adds the second entry onto the first. Which matrix undoes it?

17 The matrix that does nothing

The identity changes no area and is its own inverse. Write that in symbols, then compare.

Tell your own

Tell a two-line story of mixing things in different amounts β€” paints, teas or seeds β€” with a table, a vector of amounts and what comes out, in signs only.

Kept on this device only.