MATH 304 Linear Algebra Matrix Transformations (Continued) - Matrix of A Linear Transformation
MATH 304 Linear Algebra Matrix Transformations (Continued) - Matrix of A Linear Transformation
MATH 304 Linear Algebra Matrix Transformations (Continued) - Matrix of A Linear Transformation
Linear Algebra
Lecture 16:
Matrix transformations (continued).
Matrix of a linear transformation.
Linear transformation
Definition. Given vector spaces V1 and V2 , a
mapping L : V1 → V2 is linear if
L(x + y) = L(x) + L(y),
L(r x) = rL(x)
for any x, y ∈ V1 and r ∈ R.
Basic properties of linear mappings:
• L(r1 v1 + · · · + rk vk ) = r1 L(v1 ) + · · · + rk L(vk )
for all k ≥ 1, v1 , . . . , vk ∈ V1 , and r1 , . . . , rk ∈ R.
• L(01 ) = 02 , where 01 and 02 are zero vectors in
V1 and V2 , respectively.
• L(−v) = −L(v) for any v ∈ V1 .
Matrix transformations
The mapping
vector v 7→ its coordinates (x1 , x2 , . . . , xn )
provides a one-to-one correspondence between V
and Rn . Besides, this mapping is linear.
Matrix of a linear transformation
Let V , W be vector spaces and f : V → W be a linear map.
Let v1 , v2 , . . . , vn be a basis for V and g1 : V → Rn be the
coordinate mapping corresponding to this basis.
Let w1 , w2 , . . . , wm be a basis for W and g2 : W → Rm
be the coordinate mapping corresponding to this basis.
f
V −→ W
g1 y yg2
Rn −→ Rm
The composition g2 ◦f ◦g1−1 is a linear mapping of Rn to Rm .
It is represented as x 7→ Ax, where A is an m×n matrix.
A is called the matrix of f with respect to bases v1 , . . . , vn
and w1 , . . . , wm . Columns of A are coordinates of vectors
f (v1 ), . . . , f (vn ) with respect to the basis w1 , . . . , wm .
Examples. • D : P3 → P2 , (Dp)(x) = p ′ (x).
Let AD be the matrix of D with respect to the bases
1, x, x 2 and 1, x. Columns of AD are coordinates
of polynomials D1, Dx, Dx 2 w.r.t. the basis 1, x.
0 1 0
D1 = 0, Dx = 1, Dx 2 = 2x =⇒ AD =
0 0 2
It follows that
1 0 2 0
0 1 0 2
ML =
3
.
0 4 0
0 3 0 4
Thus the relation
x1 y1 1 2 x y
=
z1 w1 3 4 z w
is equivalent to the relation
x1 1 0 2 0 x
y1 0 1 0 2 y .
=
z1 3 0 4 0 z
w1 0 3 0 4 w
Problem. Consider a linear operator L : R2 → R2 ,
x 1 1 x
L = .
y 0 1 y
Find the matrix of L with respect to the basis
v1 = (3, 1), v2 = (2, 1).
Let N be the desired matrix. Columns of N are coordinates of
the vectors L(v1 ) and L(v2 ) w.r.t. the basis v1 , v2 .
1 1 3 4 1 1 2 3
L(v1 ) = = , L(v2 ) = = .
0 1 1 1 0 1 1 1
Clearly, L(v2 ) = v1 = 1v1 + 0v2 .
3α + 2β = 4 α=2
L(v1 ) = αv1 + βv2 ⇐⇒ ⇐⇒
α+β =1 β = −1
2 1
Thus N = .
−1 0
Change of basis for a linear operator
Let L : V → V be a linear operator on a vector space V .
Let A be the matrix of L relative to a basis a1 , a2 , . . . , an
for V . Let B be the matrix of L relative to another basis
b1 , b2 , . . . , bn for V .
Let U be the transition matrix from the basis a1 , a2 , . . . , an
to b1 , b2 , . . . , bn .
A
a-coordinates of v −→ a-coordinates of L(v)
Uy yU
B
b-coordinates of v −→ b-coordinates of L(v)
Rotation by 45o
e
Texture
−1 0
A=
0 1
erutxeT
Reflection about
the vertical axis
Texture
0 1
A=
1 0
Te
x ture
Horizontal shear
Texture
1/2 0
A=
Texture 0 1/2
Scaling
Texture
3 0
A=
0 1/3
Squeeze
Texture
Texture
1 0
A=
0 0
Vertical projection on
the horizontal axis
Texture
0 −1
A=
0 1
Horizontal projection
on the line x + y = 0
Texture
1 0
A=
0 1
Texture
Identity