1. Understanding Linear Mappings Between Vector Spaces
Definition
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 T:V→W between two vector spaces V and W (over the same field, such as real numbers R) that satisfies two main properties::
These two properties ensure that a linear transformation maintains the "linear structure" of a vector space, such as straight lines, scalar multiples, and sums.
Matrix Representation of Linear Transformations
Any linear transformation T:Rn→Rm can be represented as a matrix A∈Rm×n:
T(x)=Ax,
where x∈Rn n is the input vector, and A is the transformation matrix.
Example 1:
If T:R2→R2 is defined as T([xy])=[2x3y]
it is a linear transformation because it satisfies both vector addition and scalar multiplication.
Example 2:
(Simple Scaling Transformation)
If T:R2→R2 scales a vector x=[xy], then: T([xy])=[2x3y]
For x=[12], the output is: T([12])=[2⋅13⋅2]=[26]
Visualization of a Scaling Transformation
Scaling transforms a square grid, stretching it vertically and horizontally:
Original Grid
Scaled Grid (2x, 3y)
Step by step explanation
Original Grid:
A standard coordinate system with equal spacing
The point (1,2) marked in red
Grid lines for reference
Scaled Grid:
The same coordinate system after applying the transformation
The transformed point (2,6) marked in blue
Grid lines showing the scaling effect (2x horizontal, 3y vertical)
Reference axes remaining in original position
You can clearly see how the transformation stretches the grid, with:
Horizontal spacing doubled (2x scaling in x-direction)
Vertical spacing tripled (3y scaling in y-direction)
The example point moves from (1,2) to (2,6), demonstrating how the transformation affects individual points in the space.
Example 3:
Let T:R2→R2 be defined as: T([xy])=[3x+2y−x+4y].
This transformation can be expressed using a matrix: A=[3−124].
Given , the transformation is:
T(x)=Ax=[3−124][12]
Perform the multiplication:
T(x)=[3(1)+2(2)−1(1)+4(2)]=[77].
Visualization of the Transformation
Original Vector
Transformed Vector
The original grid is distorted based on the transformation matrix A, stretching and rotating the space.
Step by step explanation
Let's start with the given transformation matrix A and walk through how it transforms [1, 2] to [7, 7].
The transformation matrix A is:
A = [3 2]
[-1 4]
When we multiply matrix A by vector [1, 2], we get:
This shows how the linear transformation A maps the vector [1, 2] to [7, 7]. The transformation stretches and rotates the original vector in such a way that the resulting vector has coordinates [7, 7].
2. Mathematical Properties of Linear Transformations
A linear transformation T:Rn→Rm has the following properties:
Zero Vector Mapping:
The zero vector in V always maps to the zero vector in W:
T(0)=0
Preservation of Linear Combinations:
For vectors u,v∈V and scalars a,b∈R:
T(au+bv)=aT(u)+bT(v)
Kernel (Null Space):
The set of all vectors that map to the zero vector:
Ker(T)={x∈V:T(x)=0}
Image (Range):
The set of all vectors in W that are outputs of T:
Im(T)={T(x):x∈V}
3. Geometric Interpretation
Scaling stretches or compresses vectors.
Rotation changes the direction of vectors.
Reflection mirrors vectors across an axis.
Visualization
Below are visualizations of common transformations:
Scaling Transformation
Rotation Transformation
Reflection Transformation
4. Application of Matrices in Transforming Data
Linear transformations can be efficiently represented as matrix multiplications. For a transformation T represented by matrix A:
T(x)=Ax
Example 1:
The rotation matrix rotates vectors by an angle θ: