8.4 matrices of general linear transformations. v and w are n and m dimensional vector space and b...

42
8.4 Matrices of General Linear Transformations

Upload: matteo-lemay

Post on 01-Apr-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

8.4 Matrices of General Linear Transformations

Page 2: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

V and W are n and m dimensional vector spaceand B and B’ are bases for V and W . then for x in V

,

the coordinate matrix [x]B will be a vector in Rn, and Coordinate matrix [T(x)] B’ will be a vector in Rm

Page 3: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Matrices of Linear Transformations

If we let A be the standard matrix for this transformation then A[x]B=[T (x)]B ‘ (1) The matrix A in (1) is called the matrix for T with respect to the bases B and B’

Page 4: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Matrices of Linear Transformations

Let B ={u1,u2,…un} be a basis space W.

A= , so that (1) holds for all vector x

in V.

A[u1]B=[T (u1)]B’ ,A [u2]B=[T (u2)]B’… A[un]B=[T (un)]B’ (2)

mnmm

n

n

aaa

aaa

aaa

...

:::

...

...

21

22221

11211

Page 5: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Matrices of Linear Transformations

=[T (u1)]B’, =[T (u2)]B’,… =[T (un)]B’

which shows that the successive columns of A are theCoordinate matrices of T (u1),T (u2),…. ,T (un) with Respect to the basis B ’ .

A=[[T (u1)]B’| [T (u2)]B’|……. [T (un)]B’] (3)

1

31

21

11

:

ma

a

a

a

2

32

22

12

:

ma

a

a

a

2

32

22

12

:

ma

a

a

a

Page 6: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Matrices of Linear Transformations

This matrix is commonly denoted by the symbol[T ]B’.B,so that the preceding formula can also be

written as [T ]B’.B = [[T (u1)]B’| [T (u2)]B’|……. [T (un)]B’] (4)

and from (1) this matrix has the property[T ]B’.B[x]B=[T (x)]B’ (4a)

Page 7: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Matrices of Linear Operators

In the special case where V = W , it is usual to takeB = B’ when constructing a matrix for T. In this

caseThe resulting matrix is called the matrix for T

withrespect to the basis B.

[T ]B’.B = [[T (u1)]B| [T (u2)]B|……. [T (un)]B] (5)

[T ]B [x]B= [T (x)]B (5a)

Page 8: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 1

Let T :P1 -> P2 be the transformations defined by

T (p(x)) = xp(x).Find the matrix for T with respect

to the standard bases,B={u1,u2} and B’={v1,v2,v3}

where u1=1 , u2=x ; v1=1 , v2=x ,v3=x2

Solution:

T (u1)=T (1)=(x)(1)=x

T (u2)=T (x)=(x)(x)=x2

Page 9: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 1(Cont.)

[T (u1)]B’= [T (u2)]B’=

Thus,the matrix for T with respect to B and B’ is

[T ]B’.B = [[T (u1)]B’| [T (u2)]B] =

0

1

0

1

0

0

1

0

0

0

1

0

Page 10: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 3

Let T :R2 -> R3 be the linear transformation defined

by T = Find the matrix for the transformation T with respect to the base B = {u1,u2} for R2 and

B’ ={v1,v2,v3} for R3,where

2

1

x

x

21

21

2

167

135

xx

xx

x

Page 11: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 3(Cont)

u1= u2= v1= v2= v3=

Solution:From the formula for T T (u1) = T (u2) =

1

3

2

5

1

0

1

2

2

1

2

1

0

5

2

1

3

1

2

Page 12: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 3(Cont)

Expressing these vector as linear combination ofv1,v2 and v3 we obtain T (u1)=v1-2v3 T

(u2)=3v1+v2- v3

Thus

[T (u1)]B’= [T (u2)]B’=

[T ]B’.B = [[T (u1)]B’| [T (u2)]B] =

2

0

1

1

1

3

1

1

3

2

0

1

Page 13: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Theorem 8.4.1

If T:Rn -> Rm is a linear transformation and if B and B’ are the standard bases for Rn and Rm respecively then

[T]B’,B = [T]

Page 14: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 6

Let T :P2 -> P2 be linear operator defined by

T (p (x))=p (3x-5),that is,T (co+c1x+c2x2)= co+c1(3x-5)+c2(3x-5)2

(a)Find [T ]B with respect to the basis B ={1,x,x2}

(b)Use the indirect procedure to compute T (1+2x+3x2)

(c)Check the result in (b) by computing T (1+2x+3x2)

Page 15: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 6(Cont.)

Solution(a):Form the formula for T then T (1)=1,T (x)=3x-5,T (x2)=(3x-5)2=9x2-

30x+25Thus,

[T ]B=

900

3030

2551

Page 16: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 6(Cont.)

Solution(b):The coordinate matrix relative to B for vector p =1+2x+3x2 is [p]B = .Thus from(5a)

[T (1+2x+3x2 )]B =[T (p)]B = [T ]B [p]B

= =

T (1+2x+3x2 )=66-84x+27x2

3

2

1

900

3030

2551

3

2

1

27

84

66

Page 17: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Example 6(Cont.)

Solution(c):By direct computation

T (1+2x+3x2 )=1+2(3x-5)+3(3x-5)2

=1+6x-10+27x2-90x+75 =66-84x+27x2

Page 18: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Theorem 8.4.2

If T1:U -> V and T2:V -> W are linear transformation and if B, Bn and B’ are bases for U,V and W respectively then

[T2 0 T1]B,B’ = [T2 ]B’,B’’[T1 ]B’’,B

Page 19: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Theorem 8.4.3

If T:V -> V is a linear operator and if B is a basis for V then the following are equivalent

(a)T is one to one (b)[T]B is invertible

conditions hold [T-1]B = [T]B

-1

Page 20: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

8.5 Similarity

Page 21: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

SIMILARITY

The matrix of a linear operator T:V V depends on the basis selected for V that makes the matrix for T as simple as possible a diagonal or triangular or triangular matrix.

Page 22: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Simple Matrices for Linear Operators

For example,consider the linear operator T: defined by

(1)

And the standard basis B= for ,where , The matrix for T with respect to this basis is the

standard matrix for T :that is,

21.ee

2 2R R

21

21

2

1

42 xx

xx

x

xT

2R

0

11e

1

02e

21 | eTeTTT B

Page 23: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Simple Matrices for Linear Operators (cont.)

Form (1),

, so (2) In comparison, we showed in Example 4 of Section8.4 that if

(3)Then the matrix for T with respect to the basis is the

diagonal matrix (4)

This matrix is “simpler”than (2)in the sense that diagonal matrices enjoy special properties that more general matrices do not.

2

11eT

4

12eT

4

1

2

1BT

1

11u

2

12u

21,' uuB

30

02'BT

Page 24: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Theorem 8.5.1 If B and B’ are bases for a finite-dimensional vector space

V, and if I:V V is the identity operator,then

is the transition matrix from B’ to B.Proof. Suppose that B= are bases for V. Using the fact

that I(v)=v for all v in V , it follows from Formula(4) of Section 8.4

with B and B’ reversed that Thus, from(5),we have ,which shows that is the transition matrix from B’ to B.

',BBI nuuu ',....',' 21

BnBBBB uIuIuII '|...'|' 21'.

BnBB uuu '...|'|' 21

PIBB

',

',BBI

Page 25: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Theorem 8.5.1 Proof(cont.)

The result in this theorem is illustrated in Figure8.5.1

V

VI

vvBasis=B’ Basis=B

Problem: If B and B’are two bases for a finite-dimensional vector space V,and if T:V V is a linear operator,what relationship,if any,exists between the matrices and BT 'BT

I IT

Basis=B’ Basis=B’Basis=B

Basis=BV VV

V

vv T(v)

T(v)

PTPT BB1

'

Page 26: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Theorem 8.5.2 Let T:V V be a linear operator on a finite-

dimensional vector space V,and let B and B’ be bases for V. Then

Where P is the transition matrix from B’ to B]

Warning.Warning.

PTPT BB1

'

'.'.' BBBBBB ITIT The interior subscripts are the sameThe exterior subscripts are the same

Page 27: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE 1 Using Theorem 8.5.2

Let T: be defined by

Find the matrix of T with respect to the standard basis B= for then use Theorem8.5.2 to find the matrix of T with respect to the basis where

and

22 RR

21

21

2

1

42 xx

xx

x

xT

21,ee

2R

2 1' , ' 'u u B

1

1'1u

2

1'2u

Page 28: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE 1 Using Theorem 8.5.2(cont.)

Solution:

By inspection so that and

42

11BT

BBBB uuIP '|' 21'.

212

211

2'

'

eeu

eeu

1

1'1 Bu

2

1'2 Bu

11

121P

21

11P

30

02

21

11

42

11

11

121' PTPT BB

Page 29: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Definition

If A and B are square matrices,we say that B is similar to A if there is an invertible matrix P such that B=

Similarity Invariants Similar matrices often have properties in common;for example,if A and B are similar matrices,then A and B have the same

determinant.To see that this is so,suppose that B=

APP 1

APP 1

PAPAPPB detdetdetdetdet 11

APAP

detdetdetdet

1

Page 30: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Definition A property of square matrices is said to be a

similarity invariant or invariant under similarity if that property is shared by any two simlar matrices.

Property Description

Determinant A and have the same determinant.

Invertibility A is invertible if and only if is invertible.

Rank A and have the same rank.

Nullity A and have the same nullity.

APP 1

APP 1

APP 1

APP 1

Page 31: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Definition(cont.)

Trace A and have the same trace.

Characteristic polynomial

A and have the same characteristic polynomial.

Eigenvalues A and have the same eigenvalues

Eigenspcae dimension

If is an eigenvalue of A and then the eigenspcae of A corresponding to and the eigenspcae of corresponding to have the same dimension.

APP 1

APP 1

APP 1

APP 1

APP 1

Page 32: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE 2 Determinant of a Linear Operator

Let T: be defined by

Find det(T).

Solution so det(T)

Had we chosen the basis of example1,then we would have obtained

so det(T)

22 RR

21

21

2

1

42 xx

xx

x

xT

42

11BT 6

42

11

21.' uuB

30

02'BT 6

30

02

Page 33: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE3 Reflection About a Line

Let l be the line in the xy-plane that through the origin and makes an angle with the positive x-axis, where .As illustrated in Figure 8.5.4,let T:

be the linear operator that maps each vector into its reflection about the line l.

(a)Find the standard matrix for T.(b)Find the reflection of the vector x =(1,2)about

the line l through the origin that makes an angle of

0

22 RR

6/ with the positive x-axis.

Page 34: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE3 Reflection About a Line(cont.)

Solution(a)

Instead of finding directly,we shall first find the matrix ,where so and

Thus,

,

21 | eTeTTTB

'BT BT ''.' 21 uuB '''' 2211 uuandTuuT

0

1' '1 BuT

1

0' '2 BuT

1

0

0

1'BT

cossin

sincos'|' 21 BB uuP 1

'

PTPTBB

cossin

sincos

10

01

cossin

sincos1'PTPT B

2cos2sin

2sin2cos

Page 35: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE3 Reflection About a Line(cont.)

Solution(b).It follow from part(a)that the formula for T in matrix notation is

Substituting in this formula yields

So

Thus,

y

x

y

xT

2cos2sin

2sin2cos

6/

y

x

y

xT

2/12/3

2/32/1

2

1

2/12/3

2/32/1

2

1T

1 2/ 3 , 3 2/ 1 2, 1 T

Page 36: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

Eigenvalues of a Linear Operator

Eigenvectors and eigenvalues can be defined for linear operators as well as matrices.A scalar is called an eigenvalue of a linear operator T:V V if there is a nonzero vector x in V such that .The vector x is called an eigenvector of T corresponding to . Equivalently,the eigenvectors of T corresponding to are the nonzero vectors in the kernel of

I-T.this kernel is called the eigenspcae of T corresponding to .

1.The eigenvalues of T are the same as the eigenvalues of .2.A vector x is an eigenvector of T corresponding to if and

only if its corrdinate matrix is an eigenvector of corresponding to .

xTx

BT B

x BT

Page 37: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE4 Eigenvalues and Bases for Eigenspaces

Find the eigenvalues and bases for the eigenvalues of the linear operator

defined by

22: PPT

22 322 xcaxcbaccxbxaT

Page 38: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE4 (cont.) Eigenvalues and Bases for Eigenspaces

SolutionThe matrix for T with respect to the standard basis is

T are and

, corresponding to has the basis where

2,,1 xxB

301

121

200

BT

1 2

0

1

0

,

1

0

1

21 uu1 BT

1

1

2

3u

232

21 2,,1 xxpxpxp

xxpp ,1, 221

23 ,2 xxp

1

2 332211 2,2 ppandTppTppT

Page 39: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE5 Diagonal Matrix for a Linear Operator

Let T= be the linear operator given by

Find a basis for relative to which the matrix

for T is diagonal.

33 RR

31

321

3

3

2

1

3

2

2

xx

xxx

x

x

x

x

T

3R

Page 40: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE5 (cont.)Diagonal Matrix for a Linear Operator

Solution(1/3)If denotes the standard basis for ,then

So that the standard matrix for T is

(13)

Let P be the transition matrix from the unknown basis B’to the standard basis B, ,will be related by

321 ,, eeeB 3R

3

1

2

1

0

0

,

0

2

0

0

1

0

,

1

1

0

0

0

1

321 TeTTeTTeT

301

121

200

T

'BT

PTPT B1

'

Page 41: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE5 (cont.)Diagonal Matrix for a Linear Operator

Solution (2/3)We found that the matrix in (13)is diagonalized by The basis to the standard basis the columns of P are and so that

101

110

201

P

1

1

2

',

0

1

0

',

1

0

1

' 321 BBB uuu

1

0

1

101' 3211 eeeu

1

1

2

112' 3213 eeeu

0

1

0

010' 3212 eeeu

321 ,, uuuB 321 ,, eeeB Bu '1 Bu '2 Bu '3

Page 42: 8.4 Matrices of General Linear Transformations. V and W are n and m dimensional vector space and B and B ’ are bases for V and W. then for x in V, the

EXAMPLE5 (cont.)Diagonal Matrix for a Linear Operator

Solution (3/3)From the given formula for T we have

So that

Thus

'

1

1

2

','2

0

2

0

','2

2

0

2

' 332211 uuTuuTuuT

1

0

0

',

0

2

0

',

0

0

2

' '3'2'1 BBB uTuTuT

100

020

002

'|'|' '3'2'1' BBBB uTuTuTT

100

020

002

101

110

201

301

121

200

101

111

2011 PTP