What is matrix?
A rectangular grid of numbers. Multiplying a vector by a matrix transforms it into a new vector.
Where it is taught
Matrices move space. A matrix is a grid of numbers and also a machine. Feed it a vector and it returns a new one. Watching what it does to a whole plane makes it easy to understand.
What the lesson leaves you with
- Matrix times vector: dot each row of the matrix with the vector.
- The columns of a matrix are where the unit arrows land.
- The determinant is the factor by which areas change. Zero means space was flattened.
Questions
- What is matrix?
- A rectangular grid of numbers. Multiplying a vector by a matrix transforms it into a new vector.
- Where is matrix used in AI?
- A matrix is a grid of numbers and also a machine. Feed it a vector and it returns a new one. Watching what it does to a whole plane makes it easy to understand.
- What is the key idea to remember about matrix?
- Matrix times vector: dot each row of the matrix with the vector.
- Where can I learn matrix step by step?
- In the lesson “Matrices move space” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.