Linear Transformations and Matrices
π Linear Transformations and Matrices
A linear transformation is a fundamental concept in linear algebra that provides an intuitive way to understand how matrices operate on vectors. It's often the key to making other linear algebra topics "click" for students. This concept is particularly visual and can be understood by imagining the transformation of space.
π‘ Understanding Transformations
The term transformation is essentially a sophisticated synonym for a function. In the context of linear algebra, it refers to a function that takes an input vector and produces an output vector.
Visualization through Movement: Instead of thinking of transformations as abstract functions, it's helpful to visualize them as movement. An input vector "moves" to become an output vector.
Transforming Space: To understand a transformation holistically, imagine every possible input vector moving to its corresponding output vector.
Points, Not Arrows: To avoid visual clutter, it's effective to conceptualize each vector not as an arrow, but as a single pointβthe tip of the vector. This allows us to visualize a transformation as every point in space moving to a new location.
Grid Visualization: For 2D transformations, visualizing an infinite grid of points moving helps to understand the "shape" of the transformation. Keeping a copy of the original grid in the background helps track relative movements.
Squishing and Morphing: Linear transformations give the impression of squishing and morphing space itself, offering a powerful visual intuition.
π Properties of Linear Transformations
While arbitrary transformations can be complex, linear transformations are a special, more manageable type. Visually, a transformation is linear if it adheres to two critical properties:
Lines Remain Lines: All lines in space must remain straight lines; they cannot become curved.
Origin Remains Fixed: The origin (the point (0,0) in 2D) must not move from its initial position.
β Non-Linear Examples
Curved Lines: A transformation that causes grid lines to curve is not linear.
Moved Origin: A transformation that keeps lines straight but shifts the origin is not linear.
Hidden Curvature: Even if horizontal and vertical lines appear straight, a transformation is not linear if it curves diagonal lines.
β Key Visual Characteristic
Linear transformations are best thought of as transformations that keep grid lines parallel and evenly spaced. This property is crucial for understanding how they operate.
π Describing Linear Transformations Numerically
How can we describe these transformations mathematically? The remarkable insight is that to describe any 2D linear transformation, you only need to know where the two basis vectors, i^ and j^β, land.
Basis Vectors: In 2D, the standard basis vectors are i^=(10β) (pointing along the x-axis) and j^β=(01β) (pointing along the y-axis).
Linear Combination Property: Any vector v=(xyβ) can be expressed as a linear combination of the basis vectors: v=xβ i^+yβ j^β.
Transformation of Linear Combinations: Due to the properties of linear transformations (lines remain lines, origin fixed, grid lines parallel and evenly spaced), if i^ lands on i^β² and j^β lands on j^ββ², then v will land on the same linear combination of the transformed basis vectors: vβ²=xβ i^β²+yβ j^ββ².
π’ Example Calculation
Let's say a transformation moves:
i^ to (1β2β)
j^β to (30β)
Consider an input vector v=(β12β), which is β1β i^+2β j^β. The transformed vector vβ² will be: vβ²=β1β (1β2β)+2β (30β) vβ²=(β12β)+(60β) vβ²=(52β)
This means the original vector (β12β) lands on (52β) after the transformation. This method allows us to deduce where any vector lands, just by knowing where i^ and j^β land.
For a general vector (xyβ), its transformed coordinates would be: xβ (1β2β)+yβ (30β)=(1x+3yβ2x+0yβ)
π Matrices as Transformations
A 2D linear transformation is completely described by four numbers: the two coordinates for where i^ lands and the two coordinates for where j^β lands.
Matrix Representation: These four numbers are conventionally packaged into a 2x2 matrix. The columns of this matrix represent the transformed basis vectors.
(x-coordΒ ofΒ i^β²y-coordΒ ofΒ i^β²βx-coordΒ ofΒ j^ββ²y-coordΒ ofΒ j^ββ²β)M=(acβbdβ)The first column (acβ) shows where i^ lands.
The second column (bdβ) shows where j^β lands.
Matrix-Vector Multiplication: When you apply this transformation to an input vector (xyβ), the process is called matrix-vector multiplication:
(acβbdβ)(xyβ)=x(acβ)+y(bdβ)=(ax+bycx+dyβ)
π Examples of Matrices and Transformations
90-degree Counter-Clockwise Rotation
i^ lands on (01β)
j^β lands on (β10β)
Matrix: (01ββ10β)
To rotate any vector (xyβ), multiply by this matrix: (01ββ10β)(xyβ)=(βyxβ)
Shear Transformation
i^ remains fixed, lands on (10β)
j^β moves to (11β)
Matrix: (10β11β)
To shear any vector (xyβ), multiply by this matrix: (10β11β)(xyβ)=(x+yyβ)
βͺ Deducing Transformation from Matrix
Given a matrix, you can visualize its transformation:
Consider the matrix (12β31β).
This means i^ lands on (12β) and j^β lands on (31β).
Imagine moving i^ to (1,2) and j^β to (3,1), while keeping grid lines parallel and evenly spaced.
π Linearly Dependent Basis Vectors
If the vectors that i^ and j^β land on are linearly dependent (meaning one is a scaled version of the other), the transformation will squish all of 2D space onto a single line. This line is the one-dimensional span of those two linearly dependent vectors.
β¨ Conclusion
Linear transformations are movements of space where grid lines stay parallel and evenly spaced, and the origin remains fixed.
These transformations are entirely defined by where the basis vectors (i^ and j^β) land.
Matrices provide a powerful language to describe these transformations, with their columns representing the transformed basis vectors.
Matrix-vector multiplication is the computation that tells you where a given vector lands after the transformation.
The crucial takeaway is to always interpret a matrix as a transformation of space. This perspective is fundamental for understanding advanced topics in linear algebra, such as matrix multiplication, determinants, change of basis, and eigenvalues.

Ask anything
We've read this whole study set, so questions about it get the best answers.