Linear Algebra-Session5
Linear Algebra-Session5
Session 5
Linear
Transformations
Slide - 1
Section 1.8: Introduction To Linear
Transformations
Slide - 2
Linear Transformations
• A transformation (or function or mapping) T from ℝ𝑛 to ℝ𝑚
𝑛
is a rule that assigns to each vector x in ℝ a vector T (x) in ℝ𝑚 .
• The set of all images T(x) is called the range of T. See the figure on the
next slide.
Slide - 3
Matrix Transformations (1 of 7)
𝑛
• For each x in ℝ , T (x) is computed as Ax, where A is an m n matrix.
Slide - 4
Matrix Transformations (2 of 7)
• The range of T is the set of all linear combinations of the columns of A,
because each image T (x) is of the form Ax.
• Example 1: Let
1 − 3 3 3
2
A= 3
5 , u = , b = 2 , c = 2 ,
−1
−1 7 −5 5
Slide - 5
Matrix Transformations (3 of 7)
a. Find T(u), the image of u under the transformation T.
Slide - 6
Matrix Transformations (4 of 7)
• Solution:
a. Compute
1 −3 5
2
T (u) = Au = 3 5 = 1 .
−1
−1 7 −9
1 −3 3
3 5 x1 = 2 . ----(1)
x2
−1 7 −5
Slide - 7
Matrix Transformations (5 of 7)
• Row reduce the augmented matrix:
1 −3 3 1 −3 3 1 −3 3 1 0 1.5
3 5 2 0 14 −7 0 1 −.5 0 1 −.5
−1 7 −5 0 4 −2 0 0 0 0 0 0
----(2)
1.5
• Hence x1 = 1.5, x2 = −.5, and x = .
−.5
• The image of this x under T is the given vector b.
Slide - 8
Matrix Transformations (6 of 7)
c. Any x whose image under T is b must satisfy equation (1).
– From (2), it is clear that equation (1) has a unique solution.
– So there is exactly one x whose image is b.
d. The vector c is in the range of T if c is the image of some x in ℝ2 ,
that is, if c = T (x) for some x.
– This is another way of asking if the system Ax = c
is consistent.
Slide - 9
Matrix Transformations (7 of 7)
– To find the answer, row reduce the augmented matrix.
1 −3 3 1 −3 3 1 −3 3 1 −3 3
3 5 2 0 14 −7 0 1 2 0 1 2
−1 7 5 0 4 8 0 14 −7 0 0 −35
Slide - 10
Shear Transformation (1 of 2)
1 3
• Example 2: Let A = . The transformation
0 1
𝑇: ℝ2 → ℝ2 defined by T ( x) = Ax is called a shear
transformation.
Slide - 11
Shear Transformation (2 of 2)
• T deforms the square as if the top of the square were pushed to the
right while the base is held fixed.
ii. T (cu) = cT (u) for all scalars c and all u in the domain of T.
Slide - 13
Linear Transformations (2 of 5)
• Linear transformations preserve the operations of vector addition
and scalar multiplication.
• Property (i) says that the result T (u + v ) of first adding u and v in
ℝ𝑛 and then applying T is the same as first applying T to u and v and
then adding T (u) and T (v) in ℝ𝑚 .
T ( 0) = 0 ----(3)
Slide - 14
Linear Transformations (3 of 5)
and T (cu + dv ) = cT (u) + dT ( v) ----(4)
for all vectors u, v in the domain of T and all scalars c, d.
• Property (3) follows from condition (ii) in the definition, because
T (0) = T (0u) = 0T (u) = 0
Slide - 15
Linear Transformations (4 of 5)
• Repeated application of (4) produces a useful generalization:
T (c1 v1 + ... + c p v p ) = c1T ( v1 ) + ... + c pT ( v p ) ----(5)
Slide - 16
Linear Transformations (5 of 5)
• The system satisfies the superposition principle if
whenever an input is expressed as a linear combination of
such signals, the system’s response is the same linear
combination of the responses to the individual signals.
• Given a scalar r, define 𝑇: ℝ2 → ℝ2 by T (x) = rx.
• T is called a contraction when 0 r 1
and a dilation when r 1.
Slide - 17
Section 1.9: The Matrix of A Linear
Transformation
Slide - 18
The Matrix of A Linear Transformation (1 of 4)
• Theorem 10: Let 𝑇: ℝ𝑛 → ℝ𝑚 be a linear transformation.
Then there exists a unique matrix A such that
A = T ( e1 ) T ( e1 ) ( 3)
Slide - 19
The Matrix of A Linear Transformation (2 of 4)
• Proof: Write
Slide - 20
The Matrix of A Linear Transformation (3 of 4)
• The matrix A in (3) is called the standard matrix for the
linear transformation T.
• We know now that every linear transformation from
ℝ𝑛n to ℝ𝑚m can be viewed as a matrix transformation,
and vice versa. The term linear transformation focuses on
a property of a mapping, while matrix transformation
describes how such a mapping is implemented, as the
example on the next slide illustrates.
Slide - 21
The Matrix of A Linear Transformation (4 of 4)
• Example 2: Find the standard matrix A for the
dilation transformation T ( x ) = 3x, for x in ℝ22 .
• Solution: Write
Slide - 22
Geometric Linear Transformations of
Double Lined R Squared (1 of 6)
• Tables 1-4 illustrate other common geometric linear
transformations of the plane.
Table 1 Reflections
Slide - 23
Geometric Linear Transformations of
Double Lined R Squared (2 of 6)
• Table 1 continued:
Reflection through
the x2 –axis 0 1
x sub 2
A graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin and the top left corner at a point labeled, a 2 by 1 matrix with elements as follows.
Row 1. 0. Row 2. 1. The image is mirror imaged, with the bottom left corner of the mirrored image at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. negative 1. Row 2, 0.
0 1
a 2 by 2 matrix with elements as follows. Row 1. 0, 1. Row 2. 1, 0.
Reflection through
the line x2 = x1 1 0
x sub 2 = x sub 1
A graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin and the bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows.
Row 1. 1. Row 2. 0. The image is diagonally inverted , with the top left corner of the inverted image at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 1. A text reads, x sub 2 = x sub 1.
Slide - 24
Geometric Linear Transformations of
Double Lined R Squared (3 of 6)
• Table 1 continued:
Transformation Image of the Unit Square Standard Matrix
0 −1
a 2 by 2 matrix with elements as follows. Row 1. 0, negative 1. Row 2. negative 1, 0.
Reflection through
the line x2 = − x1 −1 0
x sub 2 = negative x sub 1
A graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin and the top left corner at a point labeled, a 2 by 1 matrix with elements as follows.
Row 1. 0. Row 2. 1. The image is diagonally inverted , with the top left corner of the inverted image at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. negative 1. Row 2, 0, and the bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1., 0. Row 2, negative 1. A text reads, x sub 2 = negative x sub 1.
−1 0
a 2 by 2 matrix with elements as follows. Row 1. negative 1, 0. Row 2. 0, negative 1.
Reflection through
the origin 0 −1
A graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin and the top left corner at a point labeled, a 2 by 1 matrix with elements as follows.
Row 1. 0. Row 2. 1. The image is diagonally inverted but its diagonal sides are mirrored, with the top left corner of the inverted image at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. negative 1. Row 2, 0, and the bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1., 0. Row 2, negative 1.
Slide - 25
Geometric Linear Transformations of
Double Lined R Squared (4 of 6)
Table 2 Contractions and Expansions
Horizontal k 0
contraction and 0 1
expansion
Two graphs. First graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin, the top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 1, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows.
Row 1. k. Row 2. 0. The image is shrunk vertically. A text reads, k is greater than 0 and is less than 1. Second graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin, the top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 1, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. k. Row 2. 0. The image is expanded vertically. A text reads, k is greater than 1.
Vertical 1 0
contraction and 0 k
expansion
Two graphs. First graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin, t he top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. k, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 1. Row 2. 0. The image is shrunk horizontally.
Second graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at the origin, the top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. k, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 1. Row 2. 0. The image is expanded horizontally.
Slide - 26
Geometric Linear Transformations of
Double Lined R Squared (5 of 6)
Table 3 Shears
Horizontal shear 1 k
0 1
Two graphs. First graph plots an image of a bird in a x sub 1 x sub 2 plane with its bottom left corner at the origin, the top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. k. Row 2. 1, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. k. Row 2. 0. The image is skewed leftward.
A text reads, k is less than 0. Second graph plots an image of a bird in a x sub 1 x sub 2 plane with its bottom left corner at the origin, the top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. k. Row 2. 1, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. k. Row 2. 0. The image is skewed rightward. A text reads, k is greater than 0. Dashed lines extend from the point, a 2 by 1 matrix with elements as follows. Row 1. k. Row 2. 1, to the point k on the x axis.
Vertical shear 1 0
k 1
Two graphs. First graph plots an image of a bird in a x sub 1 x sub 2 plane with its bottom left corner at the origin, the top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 1, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 1. Row 2. k. The image is skewed downward.
A text reads, k is less than 0. Second graph plots an image of a bird in a x sub 1 x sub 2 plane with its bottom left corner at the origin, the top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 1, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 1. Row 2. k. The image is skewed uptward. A text reads, k is greater than 0. Dashed lines extend from the point, a 2 by 1 matrix with elements as follows. Row 1. 1. Row 2. k, to the point k on the y axis.
Slide - 27
Geometric Linear Transformations of
Double Lined R Squared (6 of 6)
Table 4 Projections
Transformation Image of the Unit Square Standard Matrix
1 0
a 2 by 2 matrix with elements as follows. Row 1. 1, 0. Row 2. 0, 0.
Projection onto
the x1 -axis 0 0
x sub 1
A graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 0, and its bottom right corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 1. Row 2. 0. The image is shrunk horizontally along the x axis.
0 0
a 2 by 2 matrix with elements as follows. Row 1. 0, 0. Row 2. 0, 1.
Projection onto
the x2 -axis 0 1
x sub 2
A graph plots an image of a gold fish in a x sub 1 x sub 2 plane with its bottom left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 0, and its top left corner at a point labeled, a 2 by 1 matrix with elements as follows. Row 1. 0. Row 2. 1. The image is shrunk vertically along the y axis.
Slide - 28
Existence And Uniqueness Questions (1 of 8)
• Definition: A mapping T : ℝ𝑛n → ℝm𝑚 is said to be onto
ℝ𝑛 if each b in ℝ𝑚 is the image of at least one x in ℝ𝑛 .
Slide - 29
Existence And Uniqueness Questions (2 of 8)
• Equivalently, T is onto ℝ𝑚 when the range of T is all of
the codomain ℝ𝑚 . That is, T maps ℝ𝑛n onto ℝ𝑚m if, for each
b in the codomain ℝ𝑚 , there exists at least one solution of
T (x) = b. “Does T map ℝ𝑛n onto ℝ𝑚m ?” is an existence
question. The mapping T is not onto when there
Is some b in ℝ𝑚 for which the equation T (x) = b
has no solution.
Slide - 30
Existence And Uniqueness Questions (3 of 8)
• Definition: A mapping T : ℝ𝑛n → ℝ𝑚m is said to be one-to
-one if each b in ℝ𝑚 is the image of at most one x
in ℝ𝑛 .
Slide - 31
Existence And Uniqueness Questions (4 of 8)
• Example 4: Let T be the linear transformation whose
standard matrix is
1 −4 8 1
A = 0 2 −1 3
0 0 0 5
Slide - 32
Existence And Uniqueness Questions (5 of 8)
• Solution: Since A happens to be in echelon form, we can
see at once that A has a pivot position in each row.
By Theorem 4 in Section 1.4, for each b in ℝ33 , the
equation Ax = b is consistent. In other words, the linear
transformation T maps ℝ 44
( its domain ) onto ℝ33
.
Slide - 33
Existence And Uniqueness Questions (6 of 8)
• Theorem 11: Let T : ℝ𝑛n → ℝ𝑚
m
be a linear transformation. Then T is one-
to-one if and only if the equation T (x) = 0 has only the trivial solution.
T ( u − v ) = T ( u ) − T ( v ) = b − b =0
Slide - 34
Existence And Uniqueness Questions (7 of 8)
• The vector u − v is not zero, since u v. Hence the equation T (x) = 0
has more than one solution. So, either the two conditions in the
theorem are both true or they are both false.
Slide - 35
Existence And Uniqueness Questions (8 of 8)
• Proof:
b) The equations T (x) = 0 and Ax = 0 are the same except for notation.
So, by Theorem 11, T is one-to-one if and only if Ax = 0 has only the
trivial solution. This happens if and only if the columns of A are
linearly independent.
Slide - 36