Home › Lectures › 3Blue1Brown — Essence of linear algebra

Three-dimensional linear transformations

Learn how 3D linear transformations are represented by matrices, how they act on vectors, and how matrix multiplication combines transformations.

3Blue1Brown⏱ 5 minOpen on YouTube ↗
Take the full quiz — 6 questions →

Free, sign in with Google. A ready quiz does not use your hourly limit.

What the lecture covers

A three-dimensional linear transformation moves points in space while keeping grid lines parallel and evenly spaced and leaving the origin fixed. As in two dimensions, the transformation is fully determined by where the basis vectors land. In 3D, these are the unit vectors along the x, y, and z axes. Their output coordinates become the columns of a 3×3 matrix, so nine numbers specify the transformation.

For example, a 90-degree rotation around the y-axis sends the x-basis vector to the negative z direction, leaves the y-basis vector unchanged, and sends the z-basis vector to the x direction. To transform a vector with coordinates (x, y, z), scale each matrix column by the corresponding coordinate and add the results. Matrix multiplication represents successive transformations: apply the transformation encoded by the right-hand matrix first, then the one encoded by the left. This makes it possible to describe complex 3D rotations as combinations of simpler ones, a useful approach in areas such as computer graphics and robotics.

Key ideas

Sample questions

In three-dimensional space, a point P can be represented by the position vector whose tail is at the origin O and whose tip is at P. If a transformation fixes O, how does this representation describe the image of P?

  1. AThe transformed position vector has its tip at the image of P.
  2. BThe point P stays fixed because its position vector begins at the fixed origin.
  3. CThe transformed position vector has its tail at the image of P.
  4. DThe image of P is determined only by the distance from P to the origin.
Show answer

Correct answer: A. With the origin fixed, the point is represented by the tip of its position vector, so moving the vector’s tip gives the point’s image.

For a linear transformation of three-dimensional space, suppose two transformations send each of the three standard basis vectors to the same output. What follows for their outputs on any vector in three-dimensional space?

  1. AThey may differ on vectors that are not basis vectors.
  2. BThey produce the same output for every vector.
  3. CThey produce the same output only for vectors of unit length.
  4. DThey produce the same output only when all three basis vectors remain unchanged.
Show answer

Correct answer: B. Every vector in three-dimensional space is a linear combination of the three standard basis vectors, and linearity means matching outputs on those basis vectors determines the output for every such combination.

Take the full quiz — 6 questions →

A quiz for any lecture

Paste a video link — LearnReplay builds a comprehension quiz.

Create a quiz →