Linear algebra and discrete math · University

Matrix

1234

The idea

A matrix is a table of numbers — and at the same time a machine that transforms vectors.

The board

  1. A = 1234: 2 rows, 2 columns (a 2 × 2 matrix).
  2. Addition and multiplying by a number — element by element.
  3. Matrix times vector: each row dotted with the vector.
  4. 2002 enlarges everything 2 times; 0−110 rotates by 90°.

The most common mistake

Thinking of a matrix as just a table. Its power is that it moves space.

The trick

Every photo is a matrix of pixels. Every Instagram filter is a matrix operation.

Problems

How many elements does a 3 × 4 matrix have?

  • 34
  • 12
  • 1
  • 7
Show the answer

12 — 3 · 4.

2 · 1234 = ?

  • 2468
  • 3456
  • 14916
  • 2234
Show the answer

2468 — Each element × 2.

Take the lesson · exercises and XPFree, no sign-up needed.

You need to know

Leads to