Definition of Linear Transformation
A linear map preserves addition and scalar multiplication and fixes the origin. Grid behavior is a geometric explanation that allows lower-dimensional collapse; the algebraic axioms provide the definition.
3Blue1Brown · YouTube · 10:58
The video connects linear maps with images of standard basis vectors and matrix columns, using rotations, shears and grid motion to explain matrix-vector multiplication.
Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.
Generated from the video's visuals and explanation; not verbatim speech.
Linear algebra centers on understanding transformations—functions that map input vectors to output vectors. While 'function' is mathematically sufficient, 'transformation' evokes motion. We visualize this by tracking how every point in a 2D plane shifts. Instead of drawing infinite arrows, we observe an entire coordinate grid morphing. This perspective reveals the global structure of the mapping, showing how space itself stretches, rotates, or shears around the origin.
Linearity means , so the origin stays fixed. Straight, parallel and evenly spaced grid lines illustrate this structure. A singular map can collapse a line into a point or the plane into a line; linearity does not require preserving dimension.
How do we encode such complex spatial movements numerically? Remarkably, we only need to track two specific vectors: the standard basis vectors and . Because linearity preserves vector addition and scalar multiplication, any arbitrary vector will transform exactly according to the same coefficients applied to the moved basis vectors. Thus, knowing where and land determines the destination of every other point in the plane.
We package these critical landing coordinates into a matrix. The first column records where goes, and the second column records where goes. When multiplying this matrix by a vector , the operation computes . This reframes matrix multiplication from a tedious arithmetic recipe into an intuitive geometric construction: scaling the transformed basis vectors and summing them to find the final position within the skewed coordinate system defined by the matrix. Input and output coordinates here use the fixed standard basis. This actively moves vectors rather than automatically changing coordinate systems. The basis images may be dependent and need not form a new basis.
Consider concrete examples. A counterclockwise rotation sends to and to , yielding the matrix . Conversely, a horizontal shear keeps fixed at while sliding diagonally to , producing . By reading off these basis destinations, we instantly construct the matrix representing the transformation, bridging abstract geometry with computational algebra.
The first matrix column records the image of î and the second the image of ĵ. Combining these images with input components determines every output. Dependent columns describe a valid dimension-reducing map.
Multiplying the input column [x,y]ᵀ gives output coordinates in the same standard frame: x times the first column plus y times the second. A change of basis and an active linear map are related but distinct operations.
When we apply this specific matrix to the standard Cartesian grid, every point shifts consistently along with the moving basis vectors. Notice that parallel lines remain evenly spaced and straight throughout the motion; this geometric behavior distinguishes valid linear transformations from nonlinear distortions like bending or curving. Understanding matrices purely as spatial operators provides essential intuition for advanced topics such as eigenvectors, change of basis, and determinant calculations later in the course.
A linear map preserves addition and scalar multiplication and fixes the origin. Grid behavior is a geometric explanation that allows lower-dimensional collapse; the algebraic axioms provide the definition.
Any vector in can be expressed as a linear combination of the standard basis vectors and . Since linear transformations respect this combination, tracking only the images of and allows us to determine the image of any arbitrary vector.
Column one is T(î) and column two is T(ĵ), written in the fixed output basis. They need not be independent, so they do not necessarily form a transformed basis.
Multiplying a matrix by a vector calculates a weighted sum of the columns of . The weights come from the components of . This represents constructing a new vector by scaling the transformed basis directions and adding them together.
Column one is T(î) and column two is T(ĵ), written in the fixed output basis. They need not be independent, so they do not necessarily form a transformed basis.
Multiplying a matrix by a vector yields a result formed by taking copies of the first column added to copies of the second column. This reflects linearity: images distribute over sums and scalar multiples.
A linear map preserves addition and scalar multiplication and fixes the origin. Grid behavior is a geometric explanation that allows lower-dimensional collapse; the algebraic axioms provide the definition.
Algebraically, a function qualifies as linear if it satisfies both additivity () and scaling (). Visual preservation of grids corresponds precisely to satisfying these axioms simultaneously.
The reviewed definition card states that a linear map preserves vector addition and scalar multiplication and fixes the origin. Its action is determined by the images of the standard basis, which become matrix columns in fixed output coordinates. These images need not be linearly independent; a linear map may collapse dimension. Grid animations illustrate the algebraic definition rather than replace it.
The matrix representation is . This is derived by observing where the standard basis vectors land: rotates to and rotates to .
Conditions: Rotation is 90 degrees counterclockwise.; Working in a 2D plane with standard basis vectors.
Tracking the images of the standard basis vectors determines the destination of every other point because any arbitrary vector can be expressed as a linear combination of these basis vectors. Since a linear transformation preserves vector addition and scalar multiplication, the transformation of the arbitrary vector is exactly the same linear combination applied to the transformed basis vectors.
Conditions: The transformation is linear.; Working in a 2D plane with standard basis vectors and .
The origin stays fixed because linearity requires . If we set and (or simply consider the zero vector), .
Conditions: The transformation is linear.; Applying the definition of linearity to the zero vector.
Matrix-vector multiplication is reframed as scaling the transformed basis vectors (which are the columns of the matrix) by the input vector's components and summing them. This constructs the final position within the skewed coordinate system defined by the matrix, rather than just following a tedious arithmetic recipe.
Conditions: Input and output coordinates use the fixed standard basis.; The matrix represents an active linear map moving vectors.
We create a matrix where the first column records the coordinates of where lands, and the second column records the coordinates of where lands. This matrix fully represents the linear transformation.
Conditions: Working in 2D space.; Knowing the images of and .
If the columns of a transformation matrix are linearly dependent, it means the transformation collapses the space into a lower dimension. For example, a 2D plane might be squashed into a 1D line or a single point.
Conditions: The matrix represents a linear transformation.; Columns are linearly dependent.
The matrix representation is . In this transformation, the standard basis vector remains fixed at , while slides diagonally to .
Conditions: Horizontal shear keeping fixed.; slides diagonally to .
Valid linear transformations keep grid lines straight, parallel, and evenly spaced. Nonlinear distortions involve bending or curving of these lines.
Conditions: Observing the movement of a 2D coordinate grid.; Checking for straightness, parallelism, and equal spacing of lines.