Linear Transformations Between Dimensions
📐 Linear Transformations & Non-Square Matrices
This section explores linear transformations that map vectors between spaces of different dimensions, represented by non-square matrices. Understanding these transformations geometrically provides deeper insight into matrix operations.
↔️ Transformations Between Dimensions
While often discussed in the context of n x n matrices mapping n-dimensional vectors to n-dimensional vectors, linear transformations can also map vectors between spaces of different dimensions.
Definition of Linearity: For any transformation to be considered linear, two conditions must hold:
Gridlines remain parallel and evenly spaced: This implies that the scaling and skewing are uniform across the space.
The origin maps to the origin: The zero vector in the input space always transforms to the zero vector in the output space.
Input vs. Output Space: It's crucial to understand that the input vectors and output vectors exist in separate, unconnected spaces when dimensions differ. For example, a 2D input vector is a fundamentally different entity from a 3D output vector.
📝 Encoding with Non-Square Matrices
The process of encoding a transformation with a matrix remains the same:
Observe where each basis vector of the input space lands.
The coordinates of these landing spots form the columns of the matrix.
⬆️ Mapping from 2D to 3D (3x2 Matrix)
A transformation from 2D vectors to 3D vectors results in a 3x2 matrix.
Example:
i-hat(input basis vector[1, 0]) lands at[2, -1, -2].j-hat(input basis vector[0, 1]) lands at[0, 1, 1].The resulting matrix is:
2−1−2011
Geometric Interpretation:
Two columns: Indicate that the input space has two basis vectors (e.g.,
i-hatandj-hat), meaning it's a 2D space.Three rows: Indicate that the landing spots for each basis vector are described with three coordinates, meaning the output exists in a 3D space.
Column Space: The column space of this 3x2 matrix is a 2D plane slicing through the origin of 3D space.
Full Rank: If the number of dimensions in the column space is equal to the number of dimensions in the input space, the matrix is full rank. For a 3x2 matrix, if the two column vectors are linearly independent, its rank is 2.
⬇️ Mapping from 3D to 2D (2x3 Matrix)
A transformation from 3D vectors to 2D vectors results in a 2x3 matrix.
Geometric Interpretation:
Three columns: Indicate that the input space has three basis vectors, meaning it's a 3D space.
Two rows: Indicate that the landing spots for each basis vector are described with two coordinates, meaning the output exists in a 2D space.
This type of transformation effectively compresses or projects a 3D space onto a 2D plane.
📉 Mapping from 2D to 1D (1x2 Matrix)
A transformation from 2D vectors to 1D vectors (a number line) results in a 1x2 matrix.
One-dimensional space: This is simply the number line.
Geometric Interpretation:
Two columns: Indicate a 2D input space.
One row: Indicates that the landing spot for each basis vector is a single number, meaning the output exists on a 1D number line.
Linearity in 1D: If a line of evenly spaced dots in 2D is transformed, they will remain evenly spaced once mapped onto the number line, despite the "squishing" effect.
Connection to Dot Product: This type of transformation is surprisingly significant and has a close relationship with the dot product, a concept often encountered in linear algebra.
🧠 Conceptualizing Non-Square Matrices
Understanding non-square matrices geometrically allows for a clearer comprehension of how linear transformations can alter the dimensionality of vectors. This framework is essential when contemplating operations like matrix multiplication and solving linear systems of equations in contexts involving different dimensions.

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