Computer Science I / Matrices and Matrix Operations
Practice question · Multiple choice

Graphics uses 4×4 matrices for a three-dimensional world. What does the extra dimension make possible?

Hints
  1. Is translation a linear transformation? Check where it sends the origin.
  2. Ask what would have to be true for a single matrix multiply to move every point by a fixed offset.
Show the answer

D. Translation as a matrix, since shifting the origin is not linear

Why

A linear map fixes the origin and translation does not, so no 3×3 matrix can translate. Embedding points as (x, y, z, 1) makes it a shear in four dimensions, linear again, so the whole pipeline becomes matrix multiplication. Perspective division comes free from the same trick.

Read the lesson: Matrices and Matrix Operations →

Practise Matrices and Matrix Operations

The app has 4 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Matrices and Matrix Operations