Docsity

Linear Transformations: Understanding the Action and Properties - Prof. David K. Neal, Study notes of Linear Algebra

Toggle sidebar
bg1
Dr. Neal, Fall 2008
MATH 307 Linear Transformations
from Rn to Rm
Let
T
:
Rn
→
Rm
be a function which maps vectors from
Rn
to
Rm
. Then
T
is called a
linear transformation if the following two properties are satisfied:
(i) T(cu) = cT(u), for all scalars
c
and all vectors
u
in
Rn
;
(ii) T(u+v) = T(u)+T(v), for all
u
,
v
in
Rn
.
It is equivalent to say that T(cu +v) = cT(u+v) for all scalars
c
and all vectors
u
,
v
in
Rn
.
In order to define such a transformation
T
, we must describe its action on a point
(x1,x2,...,x
n)
in
Rn
. That is, we must define T(x1,x2,..., xn)
( )
which must be a vector in
Rm
having
m
coordinates.
In order for
T
to be linear, each coordinate in
Rm
must be a linear combination of
x1,x2,...,x
. That is,
T
must have the functional form
T(x1,x2,..., xn)
( )
=
(a11x1+a12x2+... +a
1nxn, a21x1+a
2 2x2+... +a2nxn, . . . , am1x1+am2x2+... +am nxn).
Example 1. Let
T
:
R3
→
R4
be defined by
T
((x
1
, x
2
, x3)) = (2 x
1
– 2 x
2
+ 3x3, x
1
+ x
2
– x3, x
1
+ 4x
2
, –4x
1
– 6 x
2
+ 3x3).
Is T linear? What is T(1, 2, 3)
( )
?
Each of the four coordinates in the range is a linear combination of the three
variables x
1
, x
2
, x3 from the domain; thus,
T
is a linear transformation. Also,
T(1, 2,3)
( )
= (2 −4+9,1+2−3,1 +8, –4 −12 +9) = (7, 0, 9, –7).
Example 2. Let
T
:
R3
→
R2
be defined by
T
((x
1
, x
2
, x3)) = (sinx1+cos x2+4x3, x1+x2+x3+6).
Neither coordinate in the range is a linear combination of the domain variables x
1
,
x
2
, x3; thus,
T
is not a linear transformation (although
T
is still a function).
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Linear Transformations: Understanding the Action and Properties - Prof. David K. Neal and more Study notes Linear Algebra in PDF only on Docsity!

MATH 307 Linear Transformations

from Rn^ to Rm

Let T : R

n → R

m be a function which maps vectors from R

n to R

m

. Then T is called a

linear transformation if the following two properties are satisfied:

(i) T ( cu ) = cT ( u ), for all scalars c and all vectors u in R

n ;

(ii) T ( u + v ) = T ( u ) + T ( v ) , for all u , v in R

n .

It is equivalent to say that T ( cu + v ) = cT ( u + v ) for all scalars c and all vectors u , v

in R

n .

In order to define such a transformation T , we must describe its action on a point

( x 1 , x 2 ,..., xn ) in R

n

. That is, we must define T ( ( x 1 , x 2 ,..., xn )) which must be a vector in

R

m having m coordinates.

In order for T to be linear , each coordinate in R

m must be a linear combination of x 1 , x 2 ,..., xn. That is, T must have the functional form

T ( ( x 1 , x 2 ,..., xn )) =

( a 11 x 1 + a 12 x 2 +... + a 1 nxn , a 21 x 1 + a 2 2 x 2 +... + a 2 nxn ,... , am 1 x 1 + am 2 x 2 +... + am nxn ).

Example 1. Let T : R

3 → R

4 be defined by

T (( x

1 , x 2 , x 3

)) = (2 x

1

  • 2 x 2 + 3 x 3 , x 1 + x 2 - x 3 , x 1 + 4 x 2 , –4 x 1 - 6 x 2 + 3 x 3

Is T linear? What is T ( (1, 2, 3))?

Each of the four coordinates in the range is a linear combination of the three

variables x 1 , x 2 , x 3 from the domain; thus, T is a linear transformation. Also,

T ( (1, 2, 3)) = (2 − 4 + 9, 1 + 2 − 3,1 + 8, –4 − 12 + 9) = (7, 0, 9, –7).

Example 2. Let T : R

3 → R

2 be defined by

T (( x

1 , x 2 , x 3

)) = (sin x 1 + cos x 2 + 4 x 3 , x 1 + x 2 + x 3 + 6 ).

Neither coordinate in the range is a linear combination of the domain variables x 1

x 2 , x 3 ; thus, T is not a linear transformation (although T is still a function).

The Matrix Representation

Every linear transformation T : R

n → R

m can be represented by a unique m × n matrix A. The m rows are the coefficients from the linear combinations of the function form

coordinates in R

m

. That is, suppose T : R

n → R

m is defined by

T ( ( x 1 , x 2 ,..., xn )) =

( a 11 x 1 + a 12 x 2 +... + a 1 nxn , a 21 x 1 + a 2 2 x 2 +... + a 2 nxn ,... , am 1 x 1 + am 2 x 2 +... + am nxn ),

then A =

a 11 a 12... a 1 n

a 21 a 22... a 2 n

...... ......

am 1 am 2... amn

If we let x = ( x 1 , x 2 ,..., xn ) ∈ R

n , then we

can write X =

x 1

x 2

.

.

.

xn

as an n × 1 matrix.

The function value T ( ( x 1 , x 2 ,..., xn )) then can be computed by the matrix product

AX which gives an m × 1 matrix that is the function value point in R

m

. We therefore

interchangeably write T ( x ) = AX.

Example 3. Let T : R

3 → R

4 be defined by

T (( x 1 , x 2 , x 3 )) = (2 x 1

  • 2 x 2 + 3 x 3 , x 1 + x 2 - x 3 , x 1 + 4 x 2 , –4 x 1 - 6 x 2 + 3 x 3

The matrix representation is the 4 × 3 matrix A =

. How do we evaluate

T ( (1, 2, 3))? Let X =

, then T ( (1, 2, 3)) = A × X =

×

(7, 0, 9, –7) as coordinates in R

4 .

What is the action of T on the standard basis in R

3 ?

Example 4. Evaluate T ( (−2, 3, 8, − 10)) for T : R

4 → R

3 defined by

T ( (1, 0, 0, 0)) = (−1, 2, − 3) T ( (0, 1, 0, 0)) = (2, − 1, 4)

T ( (0, 0,1, 0)) = (1, 2, 4) T ( (0, 0, 0, 1)) = (−2, 0, 6).

Solution. Because T is linear, we have

T ( (−2, 3, 8, − 10)) = − 2 T ( (1, 0, 0, 0)) + 3 T ( (0, 1, 0, 0)) + 8 T ( (0, 0, 1, 0)) − 10 T ( (0, 0, 0, 1))

Or we can write A =

, where the columns of A are the action on

the st. basis. Then T ( (−2, 3, 8, − 10)) =

×

One-to-One Transformations

Let T : R

n → R

m be a linear transformation. Then T is one-to-one (or injective ) if it is

always the case that different values in the domain are assigned to different values in

the range. That is, whenever u ≠ v then T ( u ) ≠ T ( v ). By the contrapositive, it is

logically equivalent to say that whenever T ( u ) = T ( v ), then u = v.

To prove that a function is one-to-one, we often assume that T ( u ) = T ( v ) and then

argue that u must equal v. With a linear transformation T from R

n to R

m , we can use

the following results to check if T is one-to-one:

Theorem 1. Let T : R

n → R

m be a linear transformation with matrix representation A.

Then T is one-to-one if and only if the homogeneous system AX = 0 has only the

trivial solution of X = 0.

Proof. We note that T ( x ) = AX , where X is then n × 1 column matrix form of the vector

x ∈ R

n

. For X = 0, then x = (0, 0,.. ., 0).

First, suppose T is one-to-one. We know that X = 0 is always one solution to the

homogeneous system AX = 0. But suppose there is another solution Y such that

AY = 0. Then T ((0, 0,.. ., 0)) = A × 0 = 0 = AY = T ( y ). Because T is one-to-one, then y

= (0, 0,.. ., 0), which implies that Y is the n × 1 zero matrix. Thus 0 is the only solution to

the homogeneous system AX = 0.

Now suppose that 0 is the only solution to the homogeneous system AX = 0. To

prove that T is one-to-one, assume that T ( y ) = T ( z ). Then AY = AZ , which means

that 0 = AY − AZ = A ( Y − Z ). Thus Y − Z is a solution to the homogeneous system. But

because 0 is the only solution, then Y − Z = 0. Thus Y = Z which is equivalent to y = z

in R

n

. Hence, T is one-to-one. QED

Theorem 2. Let T : R

n → R

m be a linear transformation with matrix representation A.

If m < n , then T cannot be one-to-one.

Proof. Note: Because R

n is a “larger” set than R

m when m < n , it should not be possible

to map R

n to R

m in a one-to-one fashion. To prove the result, observe that the matrix representation A will be an m × n

matrix with fewer rows than columns. Thus the last (non-zero) row of the reduced row

echelon form of the homogeneous system A 0 will have independent (or free)

variables. Hence AX = 0 will have infinite solutions (not just the trivial solution). By

Theorem 1, T cannot be one-to-one.

0... 1. cn

Theorem 3. Let T : R

n → R

m be a linear transformation with matrix representation A.

Assume m > n. Then T is one-to-one if and only if the reduced row echelon form of A

reduces to the n × n identity with additional rows that are all 0.

Proof. To determine if T is one-to-one, we must see if the homogeneous system AX = 0

has only the trivial solution. We consider the reduced row echelon form of the m × n

matrix A. Because there are more rows than columns, we have two cases:

the n × n identity with additional rows that are all 0

1... c 1

. 1... .. 1. cn

0... 0

.....

0... 0

free variables remain in the last non-zero row

In the first case, AX = 0 has only the trivial solution; thus, T is one-to-one. In the

second case, AX = 0 has infinite solutions; thus, T is not one-to-one.

Example 7. Let T : R

2 → R

2 be the reflection about the x -axis. Is T one-to-one?

Solution. We define T by T ( ( x , y )) = ( x , − y ). The matrix representation is A =

(which are the coefficients from the linear combinations of the function form

coordinates). Because det( A ) = –1 ≠ 0, we see that T is one-to-one.

Onto Transformations

Let T : R

n → R

m be a linear transformation. Then T is onto (or surjective ) if every

vector b ∈ R

m has a pre-image in R

n

. That is, for every b ∈ R

m there is a v ∈ R

n such

that T ( v ) = b. (The vector v is a pre-image of b .) In other words, the equation T ( x ) =

b always has a solution for every b ∈ R

m .

We can use the following results to determine if a linear transformation is onto:

Theorem 5. Let T : R

n → R

m be a linear transformation with matrix representation A.

Then T is onto if and only if the matrix equation AX = B always has a solution for

every m × 1 matrix B.

Proof. Because the equation T ( x ) = b is equivalent to the matrix equation AX = B , the

theorem is simply a matrix form re-statement of the definition of “onto.”

Theorem 6. Let T : R

n → R

m be a linear transformation with matrix representation A.

If m > n , then T cannot be onto.

Proof. Note: Because R

m is a “larger” set than R

n when m > n , it should not be

possible for every element in R

m to have a pre-image by means of the function T. To prove the result, observe that the matrix representation A will be an m × n

matrix with more rows than columns. Thus the reduced row echelon form of any

system A B will have the additional rows in A become all 0. These rows will lead to

inconsistencies for certain m × 1 matrices B. Thus AX = B will not always have a

solution and T cannot be onto.

c 1

c 2

.

.

cm

Theorem 7. Let T : R

n → R

m be a linear transformation with matrix representation A.

Assume m < n. Then T is onto if and only if the reduced row echelon form of A does

not contain a row of all 0's.

Proof. To determine if T is onto, we must see if every possible system AX = B has a

solution. We consider the reduced row echelon form of the m × n matrix A. Because

there are fewer rows than columns, we have two cases:

no rows become all 0

a row becomes all 0

If no rows become all 0, then there will never be an inconsistency. So AX = B will

always have a solution and T is onto.

If a row becomes all 0, then there will be inconsistencies for some B when trying to

solve AX = B. Thus at times AX = B will have no solution and T will not be onto.

Theorem 8. Let T : R

n → R

n be a linear transformation with matrix representation A.

Then T is onto if and only if det( A ) ≠ 0.

Proof. Because A is now n × n , we can say det( A ) ≠ 0 if and only if any system AX = B

always has a solution if and only if T is onto.

Theorem 9. Let T : R

n → R

n be a linear transformation. Then T is either both one-to-

one and onto (i.e., a bijection ), or T is neither one-to-one nor onto.

Proof. Let A be the matrix representation of T. By Theorems 4 and 8, T is one-to-one if

and only if det( A ) ≠ 0 if and only if T is onto. Thus T is one-to-one if and only if T is

onto. That is, T is either both one-to-one and onto, or T is neither.

Example 8. Let T (^) A : R

4 → R

3 be defined by the matrix representation

A =

where T (^) A ( x ) = AX. Is T (^) A one-to-one and/or onto? Is the point (4, –2, 6) in the range

of T (^) A? If so, find a pre-image.

If A is the matrix representation of the one-to-one and onto T , then we know that

det( A ) ≠ 0. Therefore A

− 1

exists. Because T ( ( x 1 , x 2 ,..., xn )) = ( y 1 , y 2 ,..., yn ) is equivalent

to AX = Y , we can apply the matrix inverse and say that X = A

− 1 Y. Thus, A

− 1 must

be the matrix representation of T

− 1 because ( x 1 , x 2 ,..., xn ) = T

− 1

( ( y 1 , y 2 ,..., yn )).

Example 10. Let T : R

3 → R

3 be defined by

T ( (1, 0, 0)) = (1, 0, –1) T ( (0, 1, 0)) = (2, 1, 2) T ( (0, 0,1)) = (1, 1, 4)

Verify that T is a bijection. Find the function form of T

− 1 .

Solution. The matrix representation of T is A =

and det( A ) = 1 ≠ 0; thus T is

both one-to-one and onto (i.e., a bijection). The matrix representation of T

− 1 is A

− 1

2 − 6 1

− 1 5 − 1

1 − 4 1

. Thus,

T

− 1

( ( x , y , z )) = (2 x − 6 y + z , − x + 5 y − z , x − 4 y + z ).

Note: T

− 1

( (1, 0, − 1)) = (1, 0, 0) , T

− 1

( (2, 1, 2)) = (0, 1, 0), and T

− 1

Example 11. Let T : R

2 → R

2 be the reflection about the x -axis. Find T

− 1 .

Solution. Here T ( ( x , y )) = ( x , − y ) and A =

 (^). Then A − 1 =

 (^) also. So

T

− 1

( ( x , y )) = ( x , − y ) = T ( ( x , y )). In other words, T is its own inverse. If you reflect

about the x -axis, then you “undo” the process by reflecting back about the x -axis.

Null Space and Nullity

Let T : R

n → R

m be a linear transformation, with m × n matrix representation A. The

null space (or kernel of T ) is the set of all vectors x ∈ R

n such that T ( x ) = 0. We know

that T ( (0, 0, ..., 0)) = (0, 0, .. .,0) ; that is T (0) = 0 (or A × 0 = 0 ). If T is one-to-one,

then no other vector gets mapped to the origin; that is AX = 0 has only the trivial

solution of X = 0 and the null space is simply {0}.

But if T is not one-to-one, then AX = 0 will have infinitely many solutions. The set

of all solutions to AX = 0 is the null space. The nullity is the dimension of this null space

and is given by the number of independent parameters ( r , s , t , etc.) used in writing the

form of all solutions to AX = 0. And if T is one-to-one, then the nullity is simply 0.

Range and Rank

The range of T is the set of all vectors y ∈ R

m for which T ( x ) = y for some x. All of the

columns in the matrix representation A are actually elements in the range of T. The

first column in A is the value T ((1, 0, 0, .. ., 0)) , the second column in A is the value

T ((0, 1, 0, .. ., 0)) , etc. But some of these columns may be linear combinations of the

previous columns. The columns in A that are independent of each other create the

dimensions in the range of T. The actual range of T will be the collection of all linear

combinations of these independent vectors, and the rank of T is the dimension of this

range.

Example 12. Let T : R

5 → R

5 be defined by its action on the standard basis as

T ( e 1 ) = (1, 1, 2, 0,1) T ( e 2 ) = (0, − 1, − 1, − 1,1) T ( e 3 ) = (0, 1, 1, 1, − 1)

T ( e 4 ) = (1, 1, 2, 0, 0) T ( e 5 ) = (1, 0, 1, − 1,1)

(a) Give the matrix representation and functional form of T.

(b) Is T one-to-one and/or onto?

(c) Are (1, 2, 3, 4, 5) and (4, 2, 6, –2, 5) in the range of T? If so, find pre-images.

(d) Find the null space and nullity.

(e) Find the range and rank.

Solution. (a) The columns of the matrix representation are the action on the standard

basis elements. Thus,

A =

T (( x 1 , x 2 , x 3 , x 4 , x 5 )) =

( x 1

  • x 4 + x 5 , x 1
  • x 2 + x 3 + x 4 , 2 x 1 - x 2 + x 3 + 2 x 4 + x 5 , – x 2 + x 3 - x 5 , x 1 + x 2 - x 3 + x 5 )