Historical Context & Motivation
Long before computers could render 3-D video game worlds or animate movie characters, mathematicians were searching for a compact, powerful way to describe geometric operations like rotation, reflection, and scaling. The answer turned out to be matrices — rectangular arrays of numbers that can act on vectors (arrows with both direction and magnitude) to transform them in predictable ways. The idea that a single multiplication could encode an entire geometric transformation was a breakthrough that changed mathematics, physics, and eventually computer science.
The central question this lesson answers is straightforward: How do we multiply a matrix by a vector, and what does the result mean geometrically? Once you can answer that, you hold the key to understanding every geometric transformation that a computer — or a mathematician — can describe with linear algebra.
Core Principles & Definitions
Before we multiply anything, let's pin down the vocabulary. A vector in two dimensions is an ordered pair like [x, y], which we write as a column (a matrix with one column and two rows). A matrix is a rectangular array of numbers arranged in rows and columns. When we multiply a 2 × 2 matrix by a 2 × 1 column vector, we get a new 2 × 1 column vector — a transformed version of the original.
Column Vector
Transformation Matrix
Dimension Compatibility
Dot-Product Rule
Linearity
Visual Explanation — Seeing the Transformation
The diagram below shows a 2-D coordinate grid with an original vector v (in cyan) and its image Av (in pink) after multiplication by a specific 2 × 2 matrix A. Notice how the transformation changes both the direction and the length of the vector while keeping the origin fixed — the hallmark of a linear transformation.
In the diagram above, the matrix A combines two effects at once: it stretches the vector (making it longer) and rotates it (changing its angle). That is the power of matrix multiplication — a single compact operation can encode a combination of geometric moves. Every point in a shape could be treated as a vector, multiplied by the same matrix, and the entire shape transforms uniformly.
Mathematical Framework
Let's formalize the multiplication rule. Given a 2 × 2 matrix and a 2 × 1 column vector, the product is computed row by row using dot products. Each row of the matrix pairs with the column vector, and you multiply corresponding entries and add. The same pattern extends to 3 × 3 matrices with 3 × 1 vectors, and beyond.
Common Transformation Types
Different matrices produce different geometric effects. The diagram below catalogues four fundamental 2-D transformations — rotation, scaling, reflection, and shearing — each applied to the same square shape. Understanding these four building blocks lets you decode any 2 × 2 transformation matrix you encounter.
| Transformation | Matrix Form | Geometric Effect |
|---|---|---|
| Rotation by θ | [cos θ −sin θ; sin θ cos θ] | Turns every vector counterclockwise by θ about the origin; preserves length. |
| Scaling | [s₁ 0; 0 s₂] | Stretches or compresses along x by s₁ and along y by s₂. |
| Reflection (x-axis) | [1 0; 0 −1] | Flips the y-component; mirrors across the x-axis. |
| Reflection (y-axis) | [−1 0; 0 1] | Flips the x-component; mirrors across the y-axis. |
| Horizontal shear | [1 k; 0 1] | Slides points horizontally in proportion to their y-value; turns rectangles into parallelograms. |
Worked Example
Let's walk through a complete matrix-vector multiplication and then interpret the result geometrically. Suppose we want to rotate the vector v = (3, 1) by 90° counterclockwise.
[0 −1; 1 0].[0 −1; 1 0][3; 1]. This ensures the inner dimensions match: the matrix is 2 × 2 and the vector is 2 × 1.[3; 1]Strengths & Limitations
Matrix transformations are incredibly useful, but they do have boundaries. Understanding both their strengths and their limitations will help you know when to use them — and when a different tool is needed.
| Strengths | Limitations |
|---|---|
| Compact: a single 2 × 2 matrix encodes an entire geometric transformation. | Cannot represent translations (sliding a shape without rotating) with a standard 2 × 2 matrix; you need 3 × 3 augmented matrices for that. |
| Composable: multiplying two matrices gives a matrix for the combined transformation. | Order matters — matrix multiplication is not commutative, so rotating then scaling differs from scaling then rotating. |
| Efficient: computers can multiply millions of vectors by a matrix almost instantly using optimized hardware (GPUs). | Limited to linear transformations; non-linear warps (like a fish-eye lens effect) require more advanced techniques. |
| Universal: works in 2-D, 3-D, and higher dimensions with the same dot-product rule. | Larger matrices (e.g., 4 × 4 for 3-D graphics) can be harder to visualize and debug by hand. |
Connection to Advanced Theory
The 2 × 2 matrix-vector multiplication you've learned is the gateway to a much larger world. In a college linear algebra course, you'll study eigenvalues and eigenvectors — special vectors that don't change direction under a given matrix, only get scaled. You'll also encounter determinants, which tell you by what factor a matrix scales area. These ideas extend naturally from the multiplication rule you've practiced here.
| This Lesson (CCSS N-VM.11) | College Linear Algebra |
|---|---|
| 2 × 2 matrices act on 2-D vectors | n × n matrices act on n-dimensional vectors; same dot-product rule |
| Recognize rotation, scaling, reflection by inspecting matrix entries | Eigenvalue decomposition reveals the fundamental stretches and rotations hidden in any matrix |
| Compose two transformations by multiplying matrices | Matrix groups and abstract algebra formalize all possible compositions |
| Dimension compatibility: inner dimensions must match | Rank, null space, and the dimension theorem explain when and why systems have solutions |
If you continue in STEM fields, matrix-vector multiplication will become one of your most-used tools. In physics it describes quantum states, in data science it powers machine learning algorithms, and in engineering it models everything from stress in beams to signal processing. The core operation — row-by-column dot products — never changes, no matter how advanced the application.
Practice Problems
[2 3; 1 4] × [5; −1].[0 −1; 1 0] represents a 90° counterclockwise rotation. Verify this by applying it to the vector v = (1, 0) and then to w = (0, 1). Do the results match what you'd expect from a 90° rotation?R = [0 −1; 1 0] four times in a row returns any vector to its original position. (Hint: compute R × R to get R², then keep going, or reason geometrically.)Lesson Summary
In this lesson you learned that a vector can be written as a column matrix and multiplied by a transformation matrix using the dot-product rule: each entry of the result equals a row of the matrix dotted with the entire vector. The dimension compatibility requirement states that an m × n matrix can only act on an n × 1 vector, producing an m × 1 vector.
You explored four fundamental types of 2-D transformation — rotation, scaling, reflection, and shearing — each encoded by a specific 2 × 2 matrix. These transformations are linear, meaning they keep the origin fixed and preserve straight lines. By composing (multiplying) matrices, you can chain transformations together, and this single operation — matrix-vector multiplication — forms the foundation for everything from computer graphics to advanced physics.