Introduction
Last updated
Last updated
A linear transformation is a mapping between two vector spaces that preserves vector addition and scalar multiplication. In simple terms, linear transformations ensure that the structure of a vector space is maintained during the mapping.
Mathematically, a function between two vector spaces and (over the same field, such as real numbers ) that satisfies two main properties::
Additivity (preserves vector addition): .
Homogeneity (preserves scalar multiplication):
These two properties ensure that a linear transformation maintains the "linear structure" of a vector space, such as straight lines, scalar multiples, and sums.
Any linear transformation can be represented as a matrix :
where n is the input vector, and is the transformation matrix.
If is defined as
it is a linear transformation because it satisfies both vector addition and scalar multiplication.
(Simple Scaling Transformation)
Visualization of a Scaling Transformation
Scaling transforms a square grid, stretching it vertically and horizontally:
Example 3:
Given , the transformation is:
Perform the multiplication:
Scaling stretches or compresses vectors.
Rotation changes the direction of vectors.
Reflection mirrors vectors across an axis.
Below are visualizations of common transformations:
If scales a vector , then:
For , the output is:
Let be defined as:
This transformation can be expressed using a matrix:
The original grid is distorted based on the transformation matrix , stretching and rotating the space.
A linear transformation has the following properties:
Zero Vector Mapping: The zero vector in always maps to the zero vector in :
Preservation of Linear Combinations: For vectors and scalars :
Kernel (Null Space): The set of all vectors that map to the zero vector:
Image (Range): The set of all vectors in that are outputs of :
Linear transformations can be efficiently represented as matrix multiplications. For a transformation represented by matrix :
The rotation matrix rotates vectors by an angle :
For :
Rotating :