Mathematics · live now

Matrices

A matrix as a rectangular array and as a linear transformation: multiplication, transpose and identity, the determinant, column space, rank and null space, and orthogonal matrices.

No account needed to read a lesson · 30-day money-back guarantee

See the full learning path

11

lessons

103

practice questions

36

prerequisite lessons

See it taught

1 of the 11 lessons here is free to preview - the whole explanation and worked example, with no account and no email.

Live, not a screenshot

Lesson 10 · Matrices as linear transformations

2468−2−4−6−82468−2−4−6−8
A=[2001]
v
Av

Drag the blue vector to change v. Edit the matrix A below or click "Random Matrix" to explore.

This is the diagram from the lesson itself, running here. Drag it - the lesson is built round the thing it shows, not round a picture of it.

The 11 lessons

The 11 lessons in this unit. Expand any one to see what it covers. Each unlocks when its own prerequisites are passed.

01

Matrix entries and dimension

9 questions

Understand how matrices organise data into rows and columns, how their dimensions are specified, how vectors fit into this framework as one-row or one-column matrices, and how to identify individual entries using subscript notation.

Covers

Matrices and dimension

Vectors as matrices of a certain dimension

Entries of a matrix

02

Addition, subtraction and scalar multiplication of matrices

9 questions

Learn how to add, subtract and scale matrices entrywise, and use these operations to form linear combinations of matrices with the same dimensions.

Covers

Addition and subtraction of matrices

Scalar multiplication of matrices

Linear combination of matrices

03

Matrix-vector multiplication

9 questions

Learn how to multiply a matrix by a vector by taking a dot product of each row with the vector, understand the necessary dimension requirements for valid multiplication, and see how this operation underpins key transformations and predictions in machine learning models.

Covers

Multiplying a square matrix by a column vector

Multiplying a non-square matrix by a column vector

Multiplying a row vector by a column vector

04

Matrix multiplication

9 questions

Learn how to determine when the product of two matrices is defined, compute the result using the row-by-column dot product rule, identify the dimensions of the resulting matrix, and recognise that matrix multiplication is not commutative.

Covers

Multiplying two square matrices

Determining compatibility for matrix multiplication

General matrix multiplication

05

Matrix transpose

12 questions

Learn how to perform the transpose operation on matrices and vectors, understand its key properties (including behaviour under addition, subtraction and multiplication), and see how the transpose links matrix operations with the inner (dot) product in vector spaces.

Covers

Transpose of a matrix

Properties of the transpose when adding / subtracting matrices

Properties of the transpose when multiplying matrices

Transpose and the inner product in Rn\mathbb{R}^n

06

The identity matrix

3 questions

Understand the identity matrix as the square matrix with ones on the diagonal and zeros elsewhere, which leaves any matrix or vector unchanged when multiplied, analogous to multiplying by one in arithmetic.

Covers

The identity matrix

07

The determinant of a square matrix

9 questions

Learn how to compute the determinant of a square matrix using specific formulas and cofactor expansion, and interpret its value as indicating both invertibility and the signed area (or volume) scaled by the matrix.

Covers

The determinant of a 2×22 \times 2 matrix

The determinant of a 3×33 \times 3 matrix

Geometric interpretation of the determinant

08

Column space and rank of a matrix

13 questions

Understand how the column space of a matrix defines the set of possible outputs AxA\vec{x}, how the rank measures the number of linearly independent columns, and how these concepts determine whether a system Ax=bA\vec{x} = \vec{b} has solutions, how many solutions, and whether a square matrix is invertible.

Covers

What is the column space? What is rank?

Using rank to determine the consistency of linear systems

Number of solutions for consistent systems

Rank, column space, and invertibility

09

Null space of a matrix

12 questions

Learn how the null space of a matrix captures all solutions to Ax=0A\vec{x} = \vec{0}, how it determines the structure of all solutions to Ax=bA\vec{x} = \vec{b}, how to find a basis for the null space by solving a homogeneous system, and how the rank-nullity theorem links the number of independent columns to the number of free variables.

Covers

What is the null space?

Using the null space to describe every solution

How do we find the null space?

The rank-nullity theorem

10

Matrices as linear transformations

Preview

9 questions

See how multiplying a vector by a matrix performs a linear transformation, such as scaling, rotating or reflecting that vector, and learn to interpret matrix multiplication as reshaping the entire coordinate grid in a consistent, structured way.

Covers

What does a matrix do to a vector?

Recognising common transformation types

Visualising transformations

Preview this lesson - no account needed

11

Orthogonal matrices and their properties

9 questions

Understand the definition of orthogonal matrices, recognise their appearance in rotation and reflection matrices, and see how these matrices preserve vector lengths, dot products, and geometric structure by satisfying QTQ=IQ^T Q = I and having inverses equal to their transposes.

Covers

What is an orthogonal matrix?

Rotation and reflection matrices as orthogonal matrices

Key properties of orthogonal matrices

Where this unit sits in the curriculum

This unit is part of our Essential Linear Algebra for ML learning path, which contains 61 lessons. Every one of them is drawn below.

The diagnostic test lets you skip any lesson you already know, including the ones in this unit.

Every dot is a lesson and every line a prerequisite. The 11 red dots are the lessons in Matrices; the 36 blue dots feeding into them are the lessons Matrices depends on; the 14 pale dots are the rest of the learning path, which come after Matrices or alongside it.MatricesFirst lessons on the left61 lessons

Hover any dot to name its lesson.

11 lessons in this unit

36 prerequisite lessons across the unit, counting every step back to the start

14 other lessons in the learning path - after this unit, or alongside it

Every dot is a lesson, every line a prerequisite. You can only start a lesson once you have mastered all of its prerequisites, so you are always building on solid foundations.

Start Matrices

One subscription covers every learning path, and you can test out of anything you already know.

One subscription covers every learning path · 30-day money-back guarantee

More in Linear algebra: Vectors in Euclidean space, Matrices and linear systems, Matrix transformations, Eigenvalues, eigenvectors and singular value decomposition