• No results found

linear transformation.pdf

N/A
N/A
Protected

Academic year: 2021

Share "linear transformation.pdf"

Copied!
40
0
0

Loading.... (view fulltext now)

Full text

(1)

Linear Transformations

Linear Transformations

In your previous

In your previous mathematics courses you undoubtedly studied mathematics courses you undoubtedly studied real-valued func-real-valued func-tions of one or more variables. For example, when you discussed parabolas the tions of one or more variables. For example, when you discussed parabolas the function

function fย fย ((xx) ) ==ย xย x22 appeared, or when you talked abut straight lines the func-appeared, or when you talked abut straight lines the

func-tion

tion fย fย ((xx) ) = = 22xxย arose. ย arose. In this In this chapchapter we study functions of several varter we study functions of several variables,iables, that is, functions of vectors. Moreover, their values will be vectors rather than that is, functions of vectors. Moreover, their values will be vectors rather than scalars. The particular transformations that we study also satisfy a โ€œlinearityโ€ scalars. The particular transformations that we study also satisfy a โ€œlinearityโ€ condition that will be made precise later.

condition that will be made precise later.

3.

3.1

1 De

De๏ฌni

๏ฌniti

tion

on an

and

d Ex

Exam

ampl

ples

es

Before de๏ฌ

Before de๏ฌning a linear transformning a linear transformation we look at two examplation we look at two examples. es. The ๏ฌrst isThe ๏ฌrst is not a linear transformation and the second one is.

not a linear transformation and the second one is.

Example 1.

Example 1. LetLetย Vย ย Vย  == RR22 and letand let Wย Wย  == RR. . De๏ฌDe๏ฌnene fย fย :: Vย Vย  โ†’โ†’ย Wย ย Wย  byby fย fย ((xx 1

1,, xx22) ) ==

x

x11xx22. . ThThusus,, fย fย ย  is a function de๏ฌned on a vector space of dimension 2, withย  is a function de๏ฌned on a vector space of dimension 2, with

va

values in lues in a a one-done-dimenimensional spacesional space. . The notation is highly suggestivThe notation is highly suggestive; e; that is,that is, fย 

fย :: Vย Vย  โ†’โ†’ Wย Wย ย  indicates thatย  indicates that fย fย ย  does something to a vector inย  does something to a vector in Vย Vย ย  to get a vectorย  to get a vector in

in Wย Wย . . FFor exaor examplmple,e, fย fย (1(1,, โˆ’โˆ’1) 1) == โˆ’โˆ’1,1, fย fย (1(1,, 2) = 2) = 2, etc2, etc. . WWe will see late will see later thaer thatt this function does not satisfy the โ€œlinearityโ€ condition and hence is not a linear this function does not satisfy the โ€œlinearityโ€ condition and hence is not a linear transformation.

transformation. ๎€€๎€€

Examp

Example le 2.2. LetLet Vย Vย  == RR22 andand Wย Wย  == RR33. De. De๏ฌn๏ฌnee LL :: Vย Vย  โ†’โ†’ Wย Wย  byby LL((xx11,, xx22) ) ==

((xx11,, xx22ย โˆ’ย โˆ’ย xย x11,, xx22). ). HerHere the fune the functictionon LLย  takes a vector inย  takes a vector in RR22 and transforms itand transforms it

into a vector in

into a vector in RR33. For example,. For example,ย Lย L(1(1,,โˆ’1) = (1โˆ’1) = (1,,โˆ’โˆ’22,, โˆ’โˆ’1) and1) andย Lย L(2(2,, 6) = (26) = (2,, 44,, 6).6).

This particula

This particular r funcfunction satis๏ฌes the linearity condittion satis๏ฌes the linearity condition below, ion below, and so and so woulwould d bebe called a

called a linear transforlinear transformatiomation n fromfrom RR22 toto RR33.. ๎€€๎€€

De๏ฌnition 3.1.

De๏ฌnition 3.1. LetLetย Vย ย Vย  andandย Wย ย Wย ย be two vector spaces. Letย be two vector spaces. Let ย Lย Lย be a function de๏ฌnedย be a function de๏ฌned on

on Vย Vย ย  with values inย  with values in Wย Wย .. LLย will be called a linear transformation if it satis๏ฌesย will be called a linear transformation if it satis๏ฌes the following two conditions:

the following two conditions: 1.

1. LL((xxxxxx ++ yyyyyy) =) = ย Lย L((xxxxxx) +) + LL((yyyyyy), for any two vectors), for any two vectors ย xย xxxxxย andย and ย yย yyyyy ininย Vย ย Vย .. 109

(2)
(3)

2.

2. LL((cxcxxxxx) =) =ย cLย cL((xxxxxx), for any scalar), for any scalarย cย c ย and vectorย and vectorย xย xxxxxย inย in ย Vย ย Vย ..

Letโ€™s go back to Example 2 and verify that we did indeed have a linear Letโ€™s go back to Example 2 and verify that we did indeed have a linear trans-formation. For any

formation. For anyย xย xxxxxย = ย = ((xx11,, xx22) and) andย yย yyyyyย = ย = ((yy11,, yy22), we have), we have

L

L((xxxxxx ++ yyyyyy) ) ==ย Lย L[([(xx11ย +ย + yy11,, xx22ย +ย + yy22)] = [x)] = [x11ย +ย + yy11,, ((xx22ย +ย + yy22)) โˆ’โˆ’ ((xx11ย +ย + yy11)),, xx22ย +ย + yy22]]

= (

= (xx11,, xx22ย โˆ’ xย โˆ’x11,, xx22) + () + (yy11,, yy22ย โˆ’ย โˆ’ yy11,, yy22) =) =ย Lย L((xxxxxx) +) + LL((yyyyyy))..

Thu

Thus, s, condicondition 1 tion 1 holds. holds. MoreoMoreoverver L

L((cxcxxxxx) ) ==ย Lย L[([(cxcx11,, cxcx22)] = ()] = (cxcx11,, cxcx22ย โˆ’ย โˆ’ cxcx11,, cxcx22) =) = ย cย c((xx11,, xx22ย โˆ’ย โˆ’ xx11,, xx22) =) =ย cLย cL((xxxxxx))

Since 1 and 2 hold,

Since 1 and 2 hold, LL ย  is a linear transformation fromย  is a linear transformation from RR22 toto RR33. . ThThe ree readaderer

should now check that the function in Example 1 does not satisfy either of these should now check that the function in Example 1 does not satisfy either of these two conditions.

two conditions.

Example 3.

Example 3.ย  De๏ฌneย  De๏ฌneย Lย L :: RR33 โ†’โ†’ RR22 bybyย Lย L((xx11,, xx22,, xx33) ) = (= (xx33ย โˆ’ย โˆ’ xx11,, xx11ย +ย + xx22).).

a.

a. CompuComputeteย Lย L((eeeeee11)),, LL((eeeeee22), and), andย Lย L((eeeeee33).).

b. Show

b. Showย Lย L ย is ย is a a linear transfolinear transformatirmation.on. c. Show

c. Showย Lย L((xx11,, xx22,, xx33) ) ==ย xย x11LL((eeeeee11) +) + xx22LL((eeeeee22) +) + xx33LL((eeeeee33).).

a.

a. LL[(1[(1,, 00,, 0)] = (0)] = (โˆ’โˆ’11,, 1)1),, LL[(0[(0,, 11,, 0)] = (00)] = (0,, 1)1),, LL[(0[(0,, 00,, 1)] = (11)] = (1,, 0)0).. b.

b. LL((xxxxxx ++ yyyyyy) =) =ย Lย L[([(xx11ย +ย +ย yย y11,, xx22ย +ย + yy22,, xx33ย +ย + yy33)])]

= (( = ((xx33ย +ย + yy33)) โˆ’โˆ’ ((xx11ย +ย + yy11)),, ((xx11ย +ย + yy11) + () + (xx22ย +ย + yy22)))) = ( = (xx33ย โˆ’ย โˆ’ xx11,, xx11ย +ย + xx22) + () + (yy33ย โˆ’ย โˆ’ yy11,, yy11ย +ย + yy22)) = =ย Lย L((xxxxxx) +) + LL((yyyyyy)) L L((cxcxxxxx) =) =ย Lย L[([(cxcx11,, cxcx22,, cxcx33)] = ()] = (cxcx33ย โˆ’ย โˆ’ cxcx11,, cxcx11ย +ย + cxcx22)) = =ย cย c((xx33ย โˆ’ย โˆ’ xx11,, xx11ย +ย + xx22) =) = ย cLย cL((xxxxxx)) Thus

Thusย Lย L ย satis๏ฌes conditions 1 and 2 of De๏ฌnition 3.1, and it is a linear transfor-ย satis๏ฌes conditions 1 and 2 of De๏ฌnition 3.1, and it is a linear transfor-mation.

mation.

c.

c. LL((xx11,, xx22,, xx33) ) ==ย Lย L((xx11eeeeee11ย +ย + xx22eeeeee22ย +ย + xx33eeeeee33))

=

=ย Lย L((xx11eeeeee11) +) + LL((xx22eeeeee22) +) + LL((xx33eeeeee33))

=

=ย xย x11LL((eeeeee11) +) + xx22L((eeeeeeL 22) +) + xx33LL((eeeeee33))

Notice that

Notice thatย cย c ย implies that onceย implies that once ย Lย L((eeeeeekk),),ย kย k ย = ย = 11,, 22,, 3, are known, the fact that3, are known, the fact that ย Lย L ย isย is

a linear transformation completely determines

a linear transformation completely determines ย Lย L((xxxxxx) for any vector) for any vectorย xย xxxย inxxย in RR33.. ๎€€๎€€

We collect a few facts about linear transformations in the next theorem. We collect a few facts about linear transformations in the next theorem.

Theorem 3.1.

Theorem 3.1. Letย Letย LLย be a linear transformation from a vector spaceย ย be a linear transformation from a vector spaceย  Vย Vย ย  into aย ย  into aย  vector spaceย 

vector spaceย ย Wย ย Wย . Thenย . Thenย 

1.

(4)

2. 2. LL((โˆ’โˆ’xxxxxx) =) =ย โˆ’ย โˆ’LL((xxxxxx)) 3. 3. LL

๎€‚

๎€‚

n n

๎€–

๎€–

k k=1=1 a akkxxxxxxkk

๎€ƒ

๎€ƒ

ย =ย = n n

๎€–

๎€–

k k=1=1 a akkLL((xxxxxxkk)) Proof. Proof. 1. Let

1. Letย xย xxxxxย be any vector inย be any vector in ย Vย ย Vย . Then. Thenย Lย L((xxxxxx) ) ==ย Lย L((xxxxxx ++ 00000) =0) = ย Lย L((xxx) +xxx) + LL(0(0000). 0). AddinAddingg โˆ’

โˆ’LL((xxxxxx) to both sides, we have) to both sides, we have LL(0(0000) = 00) = 0000, where the zero vector on the0, where the zero vector on the

left-left-hand side is hand side is ininย Vย ย Vย  while the zero vector on the right-hwhile the zero vector on the right-hand side is and side is ininย Wย ย Wย .. 2.

2. 00000 0 ==ย Lย L(0(0000) =0) =ย Lย L((xxxxxxโˆ’โˆ’ xxxxxx) =) = ย Lย L((xxx) +xxx) + LL((โˆ’โˆ’xxxxxx). Thus). Thusย Lย L((โˆ’โˆ’xxx) =xxx) =ย โˆ’ย โˆ’LL((xxxxxx).). 3. We show that this formula is true for

3. We show that this formula is true for nnย = 3 and leave the details of anย = 3 and leave the details of an induction argument to the reader.

induction argument to the reader. L

L((aa11xxxxxx11ย +ย + aa22xxxxxx22ย +ย + aa33xxxxxx33) =) = ย Lย L((aa11xxxxxx11ย +ย + aa22xxxxxx22) +) + LL((aa33xxxxxx33))

=

=ย Lย L((aa11xxxxxx11) +) + LL((aa22xxxxxx22) +) + LL((aa33xxxxxx33))

=

=ย aย a11LL((xxxxxx11) +) + aa22LL((xxxxxx22) +) + aa33LL((xxxxxx33))

Example 4.

Example 4. LetLet LL :: RR33 โ†’โ†’ RR44 be a be a linear tranlinear transformsformation. ation. Suppose we knoSuppose we knoww

that

that LL(1(1,, 00,, 1 ) = (1 ) = (โˆ’โˆ’11,, 11,, 00,, 2),2), LL(0(0,, 11,, 11) ) = = ((00,, 66,,โˆ’โˆ’22,, 0)0), , anandd LL((โˆ’โˆ’11,, 11,, 1) 1) == (4

(4,, โˆ’โˆ’22,, 11,, 0). Determine0). Determineย Lย L(1(1,, 22,, โˆ’โˆ’1).1).

Solution.

Solution.ย The trick is to realize that the three vectors for which we knowย The trick is to realize that the three vectors for which we know ย Lย Lย formย form a basis

a basis Fย Fย  ofย ofย RR33. . ThThus, all we need to do us, all we need to do is ๏ฌnd the coordiis ๏ฌnd the coordinatnates of (1es of (1,, 22,, โˆ’โˆ’1)1)

with respect to

with respect toย Fย ย Fย , and then use 3 of Theorem 3.1. The change of basis matrix, and then use 3 of Theorem 3.1. The change of basis matrix Pย 

Pย ย below is such that [ย below is such that [xxxxxx]]Tย Tย  Fย  Fย  ==ย Pย ย Pย [[xxxxxx]]Tย Tย Sย Sย .. Pย  Pย  ==

๎€Ž

๎€Ž

๎€

๎€

1 1 00 โˆ’โˆ’11 0 0 1 1 11 1 1 1 1 11

๎€

๎€

๎€‘

๎€‘

โˆ’ โˆ’11 = =

๎€Ž

๎€Ž

๎€

๎€

00 โˆ’โˆ’1 1 11 1 1 22 โˆ’โˆ’11 โˆ’ โˆ’11 โˆ’โˆ’1 1 11

๎€

๎€

๎€‘

๎€‘

Using this matrix to ๏ฌnd the coordinates of (1

Using this matrix to ๏ฌnd the coordinates of (1 ,, 22,,โˆ’โˆ’1) with respect to1) with respect toย Fย ย Fย , we have, we have

[1 [1,, 22,,โˆ’โˆ’1]1]Tย Tย Fย Fย ==ย Pย ย Pย [1[1,, 22,,โˆ’โˆ’1]1]Tย Tย Sย Sย ==

๎€Ž

๎€Ž

๎€

๎€

00 โˆ’โˆ’1 1 11 1 1 22 โˆ’โˆ’11 โˆ’ โˆ’11 โˆ’โˆ’1 1 11

๎€

๎€

๎€‘

๎€‘

๎€Ž

๎€Ž

๎€

๎€

11 22 โˆ’ โˆ’11

๎€

๎€

๎€‘

๎€‘

ย =ย =

๎€Ž

๎€Ž

๎€

๎€

โˆ’ โˆ’33 66 โˆ’ โˆ’44

๎€

๎€

๎€‘

๎€‘

Thus Thus (1 (1,, 22,,โˆ’โˆ’1) =1) =ย โˆ’ย โˆ’3(13(1,, 00,, 1)1) + 6(+ 6(00,, 11,, 1)+ (1)+ (โˆ’โˆ’4)(4)(โˆ’โˆ’11,, 11,, 1)1) and and L L(1(1,, 22,,โˆ’โˆ’1) =1) =ย โˆ’ย โˆ’33LL(1(1,, 00,, 1)+ 61)+ 6LL(0(0,, 11,, 1)+ (1)+ (โˆ’โˆ’4)4)LL((โˆ’โˆ’11,, 11,, 1)1) = =ย โˆ’ย โˆ’3(3(โˆ’โˆ’11,, 11,, 00,, 2)2) + 6(+ 6(00,, 66,, โˆ’โˆ’22,, 0)0) โˆ’โˆ’ 4(44(4,, โˆ’โˆ’22,, 11,, 0)0) = ( = (โˆ’โˆ’1313,, 4141,,โˆ’โˆ’1616,,โˆ’โˆ’6)6) ๎€€๎€€

(5)

A standard method of de๏ฌning a linear transformation from

A standard method of de๏ฌning a linear transformation from RRnn toto RRmm isis

by matr

by matrix multix multiplicaiplication. tion. ThuThus, ifย s, ifย  xxxxxx = = ((xx11, . . . , x, . . . , xnn) is any vector in) is any vector in RRnn andand

A

A = = [[aajkjk] is an] is an mmย ร—ย ร—ย nย n ย matrix, de๏ฌneย matrix, de๏ฌne LL((xxxxxx) ) == AxAxxxxxTย Tย . . ThThenen LL((xxxxxx) is an) is an mmย ร—ย ร—ย 1ย 1

matrix that we think of as a vector in

matrix that we think of as a vector in RRmm. . The vThe various propearious properties of matrties of matrixrix

multiplication that were proved in Theorem 1.3 are just the statements that multiplication that were proved in Theorem 1.3 are just the statements that ย Lย L is

is a a linear transflinear transformatormation fromion from RRnn toto RRmm..

Exam

Example ple 5.5. LetLetย Aย Aย =ย =

๎€„๎€„

11 โˆ’โˆ’1 1 22 4

4 1 1 33

๎€…๎€…

. . Ifย Ifย ย Lย Lย is the linear transformation de๏ฌned byย is the linear transformation de๏ฌned by

A

A, compute the following:, compute the following: a. a. LL((xx11,, xx22,, xx33) ) b.b. LL(1(1,, 00,, 0)0),, LL(0(0,, 11,, 0)0),, LL(0(0,, 00,, 1)1) L L((xx11,, xx22,, xx33) =) =

๎€„๎€„

11 โˆ’โˆ’1 1 22 4 4 1 1 33

๎€…๎€… ๎€Ž

๎€Ž

๎€

๎€

x x11 x x22 x x33

๎€

๎€

๎€‘

๎€‘

= =

๎€„๎€„

xx11ย โˆ’ย โˆ’ xx22ย + 2ย + 2xx33 44xx11ย +ย + xx22ย + 3ย + 3xx33

๎€…๎€…

L L(1(1,, 00,, 0) = (10) = (1,, 4)4)Tย Tย  LL(0(0,, 11,, 0) = (0) = (โˆ’โˆ’11,, 1)1)Tย Tย  LL(0(0,, 00,, 1) = (21) = (2,, 3)3)Tย Tย  The reader should note that

The reader should note that ย Lย L((eeeeee11) is the ๏ฌrst column ofย ) is the ๏ฌrst column ofย ย Aย A,,ย Lย L((eeeeee22) is the second) is the second

column ofย 

column ofย ย Aย A, and, andย Lย L((eeeeee33) is the third column.) is the third column. ๎€€๎€€

In general, ifย 

In general, ifย  AAย is anย is anย mย m ร—ร— nnย matrix andย matrix and LL((xxxxx) x) ==ย Axย Axxxxx, then, then LL((eeeeeekk) will be the) will be the

k

kth column of the matrixth column of the matrix ย Aย A..

ฯˆ ฯˆ ฮธ ฮธ ((aaโ€ฒโ€ฒ ,, bbโ€ฒโ€ฒ)) ((a,a, bb)) ฯˆ ฯˆ rr rr Figure 3.1 Figure 3.1

Until now weโ€™ve thought of a linear transformation as an expression Until now weโ€™ve thought of a linear transformation as an expression combin-ing

ingย nย nย variables to produce a vector inย variables to produce a vector in ย Rย Rmm. . If we limit ourselvIf we limit ourselves to this algebraices to this algebraic viewpoint we miss a fuller appreciation of linear transformations. For example, viewpoint we miss a fuller appreciation of linear transformations. For example, consider the mapping that rotates the points in the plane through an angle consider the mapping that rotates the points in the plane through an angle ฮธฮธ about the origin. Thus, if the point (

about the origin. Thus, if the point (a,a, bb) is rotated through an angle) is rotated through an angle ฮธฮธย to theย to the position (

position (aaโ€ฒโ€ฒ,, bbโ€ฒโ€ฒ), it turns out that the formulas relating (), it turns out that the formulas relating ( aaโ€ฒโ€ฒ,, bbโ€ฒโ€ฒ) to () to (a,a, bb) imply) imply

that this is a linear transformation. In fact (cf. Figure 3.1), setting that this is a linear transformation. In fact (cf. Figure 3.1), setting

rrย = ย = ((aa22 ++ bb22))11//22 = [= [((aaโ€ฒโ€ฒ

))22+ (+ (bbโ€ฒโ€ฒ

(6)

we have that

aโ€ฒ =ย r cos(ฮธย + ฯˆ) =ย r(cos ฮธ cos ฯˆโˆ’ sin ฮธ sin ฯˆ)

=ย a cos ฮธโˆ’ b sin ฮธ

bโ€ฒ =ย r sin(ฮธย + ฯˆ) = ย r(sin ฮธ cos ฯˆย + sin ฯˆ cos ฮธ)

=ย a sin ฮธย + b cos ฮธ Thus,

๎€„

aโ€ฒ bโ€ฒ

๎€…

ย =

๎€„

cos ฮธ โˆ’ sin ฮธ sin ฮธ cos ฮธ

๎€… ๎€„

a b

๎€…

Now whenever we see a matrix ย A ย of the form

๎€„

a โˆ’b

b a

๎€…

, whereย a

2+ย b2 = 1, we

can think ofย  Aย as de๏ฌning a linear transformation from R2 to R2 that rotates

the plane about the origin through an angle ย ฮธ, where cos ฮธย =ย a, sin ฮธย =ย b. Note thatย ATย  =ย Aโˆ’1 corresponds to a rotation ofย ย โˆ’ฮธ.

In the succeeding pages we sometimes describe a linear transformation in a geometrical manner as well as algebraically, and the reader should try to visualize what the particular transformation is doing.

Example 6.ย Describe in geometrical terms the linear transformation de๏ฌned by the following matrices:

a. Aย =

๎€„

0 1 โˆ’1 0

๎€…

. This is a clockwise rotation of the plane about the origin

through 90 degrees. b. Aย =

๎€„

2 0 0 1 3

๎€…

A[x1, x2]Tย  =

๎€‚

2x1, ย 1 3x2

๎€ƒ

Tย 

This linear transformation stretches the vectors in the subspace ย Sย [eee1] by

a factor of 2 and at the same time compresses the vectors in the subspace Sย [eee2] by a factor ofย 13. See Figure 3.2.

c. A =

๎€„

โˆ’1 0 0 1

๎€…

. For this A, the pair (a, b) gets sent to the pair (โˆ’a, b).

Hence this linear transformation re๏ฌ‚ects R2 through the x2ย  axis. See

(7)

(3.3) L[(3.3)] = (6,1) Figure 3.2 (a, b) (โˆ’a, b) Figure 3.3

Problem Set 3.1

1. Letย L(x1, x2, x3) = ย x1ย โˆ’ x2ย + x3.

a. Show thatย L ย is a linear transformation from R3 to R.

b. Find a 1 ร— 3 matrixย A ย such thatย L(xxx) = ย AxxxTย  for everyย xxxย in R3.

c. Computeย L(eeek) forย k ย = 1, 2, 3.

d. Find a basis for the subspaceย Kย ย = ย {xxx : AxxxTย  = 0}. 2. Letย Lย be a linear transformation from R3 to R2 such thatย L(eee

1) = (โˆ’1, 6),

L(eee2) = (0, 2),ย L(eee3) = (8, 1).

a. L(1, 2,โˆ’6) =? b. L(x1, x2, x3) =?

c. Find a matrixย A ย such thatย L(xxx) =ย AxxxTย .

3. Letย Lย be a linear transformation from R3 to R5. Suppose thatย L(1, 0, 1) =

(0, 1, 0, 2, 0), L(0,โˆ’1, 2) = (โˆ’1, 6, 2, 0, 1), and L(1, 1, 2) = (2, โˆ’3, 1, 4, 0). Notice that the three vectors for which we know ย L ย form a basis ofย R3.

a. Computeย L(eeek) forย k ย = 1, 2, 3.

b. L(x1, x2, x3) =?

(8)

4. For each of the following functionsย fย ย determine an appropriate ย Vย  andย Wย . Then decide ifย ย fย ย is a linear transformation fromย Vย  toย Wย .

a. fย (x1, x2) = (x1, 0, 1)

b. fย (x1, x2) = (x1ย โˆ’ x2, x1)

c. fย (x) = (x, x)

d. fย (x1, x2, x3) = (x1, x2, x2, x3, x3, x1)

5. Let L : Vย  โ†’ Wย ย  be a linear transformation. Let Kย ย  be any subspace ofย  Vย . De๏ฌne L(Kย ) =ย {L(xxx): xxxย is any vector in Kย }. Show that L(Kย ) is a subspace ofย ย Wย .

6. Letย L : Vย  โ†’ย Wย ย be a linear transformation. Letย Hย ย be any subspace ofย ย Wย . De๏ฌneย Lโˆ’1(Hย ) =ย {xxx : L(xxx) is inย Hย }. Show thatย Lโˆ’1(Hย ) is a subspace ofย 

Vย .

7. Show that the function de๏ฌned in Example 1 is not a linear transformation. 8. Let L1 andย L2ย both be linear transformations from Vย ย  into Wย . Let B =

{fย fย fย k, k = 1, . . . , n}ย be any basis ofย  Vย . Suppose that L1(fย fย fย k) =ย L2(fย fย fย k) for

eachย k. Show thatย L1(xxx) =ย L2(xxx) for every vectorย xxxย in ย Vย .

9. Letย Aย = [ajk] be anย mร— nย matrix. Ifย ย L(xxx) =ย AxxxTย , show thatย L(eeek) is the

kth column ofย ย A.

10. Letย Sย ย = ย cIย 2, be an arbitrary 2ร— 2 scalar matrix. Describe the geometrical

e๏ฌ€ect that the linear transformation ย SxxxTย  has on R2.

11. Suppose D =

๎€„

d1 0 0 d2

๎€…

ย is an arbitrary 2ย ร— 2 diagonal matrix. Describe

what happens to xxxย under the linear transformationย DxxxTย  for various values ofย ย dj.

12. Ifย  D ย  is any invertible 2ย ร—ย 2 diagonal matrix, describe geometrically the e๏ฌ€ects of the linear transformations de๏ฌned by the two matrices ย Dโˆ’1 and

Dโˆ’1D.

13. Letย Pย nย be the vector space of all polynomials of degree at most ย n. De๏ฌne

L(ย pย pย p) = ย t2

ย pย pย pย for eachย pย pย pย inย Pย n. Thenย Lย can be thought of as a mapping from

Pย nย to some vector space Wย . List some of these vector spaces, and then

show thatย L ย is a linear transformation for each of your ย Wย โ€™s.

14. Letย Vย  =ย Cย [0, 1], the vector space of continuous functions de๏ฌned on [0,1]. a. De๏ฌneย L[fย fย fย ] =

ยดย 

ย 1

0 fย fย fย (t)dt. Show thatย Lย is a linear transformation from

Vย  to R1.

b. De๏ฌneย Tย [fย fย fย ](t) =

ยดย 

ย t

0ย fย fย fย (s)ds, for eachย tย in [0,1]. Show thatย Tย ย is a linear

(9)

15. Show that the operation of di๏ฌ€erentiation can be viewed as a linear trans-formation fromย Pย n toย Pย nโˆ’1.

16. Letย Vย  =ย Cย [0, 1].

a. Let L : Vย  โ†’ Vย ย  be de๏ฌned by L[fย fย fย ](x) = fย fย fย (x)sin x. Is L ย  a linear transformation?

b. Let L : Vย  โ†’ย Vย ย  be de๏ฌned by L[fย fย fย ](x) = sin xย + fย fย fย (x). Is Lย a linear transformation?

17. Letย A ย =

๎€„

2 โˆ’3 1 5

๎€…

. Letย Vย  =ย Mย 

22.

a. De๏ฌne L : Vย  โ†’ย Vย  byย L(xxx) =ย xxxAย  (matrix multiplication). Compute L(eeej) for j = 1, 2, 3, 4, where the eeejโ€™s denote the standard basis

vectors ofย ย Mย 22.

b. Show thatย L ย is a linear transformation.

c. Repeat parts a and b for ย L : Vย  โ†’ย Vย ย  de๏ฌned byย L(xxx) = ย Axxx.

3.2 Matrix Representations

In the preceding section, matrices were used to de๏ฌne linear transformations. In this section we show that every linear transformation between two ๏ฌnite-dimensional vector spaces can be represented by a matrix. Suppose ๏ฌrst thatย L is a linear transformation from Rn to Rm. To ๏ฌnd a matrix that can be used to

representย L ย we do the following: let ย {eeek},ย k ย = 1, 2, . . . , nย be the standard basis

ofย Rn. Then

L(eeek) = (a1k, a2k, . . . , amk) (3.1)

for some constants a1k, a2k. etc. The subscript convention is important to

remember when forming the matrix A, that will representย L. Thus, Aย = [ajk]

is anย m ร— nย matrix, and the entries in the ย kth column ofย ย A ย are the coordinates ofย ย L(eeek) with respect to the standard basis in ย Rm.

Example 1. Letย L : R3 โ†’ R4 be de๏ฌned by

L(x1, x2, x3) = (โˆ’6x2ย + 2x3, x1ย โˆ’ x2ย + x3, โˆ’ x1ย + x2ย โˆ’ 6x3, 3x1ย โˆ’ x2ย + 4x3) Then L(eee1) = ย L(1, 0, 0) = (0, 1,โˆ’1, 3) = (a11, a21, a31, a41) L(eee2) = ย L(0, 1, 0) = (โˆ’6, โˆ’1, 1, โˆ’1) = (a12, a22, a32, a42) L(eee3) = ย L(0, 0, 1) = (2, 1,โˆ’6, 4) = (a13, a23, a33, a34)

(10)

Thus, Aย =

๎€Ž

๎€’

๎€’

๎€

0 โˆ’6 2 1 โˆ’1 1 โˆ’1 1 โˆ’6 3 โˆ’1 4

๎€

๎€“

๎€“

๎€‘

The next task is to show how to use this matrix in computing L(xxx). Letย xxxย = (x1, . . . , xn). Then, assumingย L : Rn โ†’Rm, L(xxx) = ย L

๎€ˆ

n

๎€—

k=1 xkeeek

๎€‰

ย = n

๎€—

k=1 xkL(eeek) = n

๎€—

k=1 xk

๎€Ž

๎€

m

๎€—

j=1 ajkeeej

๎€

๎€‘

ย = m

๎€—

j=1

๎€Š

n

๎€—

k=1 ajkxk

๎€‹

eeej

Note: The coordinates ofย ย L(xxx) with respect to the standard basis in Rm can be

found by computing the matrix productย AxxxTย , where [x

1, . . . , xn] = [xxx]Sย . ๎€€

Example 2.ย In Example 1 we had

L(x1, x2, x3) = (โˆ’6x2ย + 2x3, x1ย โˆ’ x2ย + x3,โˆ’x1ย + x2ย โˆ’ 6x3, 3x1ย โˆ’ x2ย + 4x3)

with matrix representation:

Aย =

๎€Ž

๎€’

๎€’

๎€

0 โˆ’6 2 1 โˆ’1 1 โˆ’1 1 โˆ’6 3 โˆ’1 4

๎€

๎€“

๎€“

๎€‘

Computingย Axxx, we have

๎€Ž

๎€’

๎€’

๎€

0 โˆ’6 2 1 โˆ’1 1 โˆ’1 1 โˆ’6 3 โˆ’1 4

๎€

๎€“

๎€“

๎€‘

๎€Ž

๎€

x1 x2 x3

๎€

๎€‘

ย =

๎€Ž

๎€’

๎€’

๎€

โˆ’6x2ย + 2x3 x1ย โˆ’ x2ย + x3 โˆ’x1ย + x2ย โˆ’ 6x3 3x1ย โˆ’ x2ย + 4x3

๎€

๎€“

๎€“

๎€‘

Thus,ย Axxxย gives us the coordinates ofย ย L(xxx) in R4. ๎€€

The preceding computations were based upon the vector spaces being Rn

andRm and using the standard bases. None of this is necessary in order for us

to interpertย L ย as matrix multiplication.

Let L : Vย  โ†’ Wย  be a linear transformation from Vย ย  into Wย . Let Fย  = {fย fย fย k: k = 1, . . . , n}, and B = {gggj: j = 1, 2, . . . , m} ย  be bases ofย  Vย  and Wย ,

respectively. Proceeding as before, we write L(fย fย fย k) as a linear combination ofย 

the basis vectors inย G.

L(fย fย fย k) = ย a1kggg1ย + a2kggg2ย +ยท ยท ยท + amkgggm = m

๎€—

j=1 ajkgggj ย  (3.2)

(11)

Letย Aย = [ajk] be theย mร—nย matrix whoseย kth column is [L(fย fย fย k)]Tย G, theย coordinatesย 

ofย ย L[fย fย fย k] with respect to the basis ย G. This matrixย Aย depends upon three things:

1. The linear transformationย L 2. The basisย Fย  inย Vย 

3. The basisย G ย in ย Wย 

If we change either of the bases picked, the matrix representation A ย  will also change.

The next calculation illustrates how to use the representation ย Aย to calculate the coordinates ofย ย L(xxx). Letย xxxย be any vector in ย Vย . Let[xxx]Fย = [x1, . . . , xn]. We

want to show that the coordinates ofย  L[xxx] with respect to Gย are given by the matrix productย A[xxx]Tย  Fย . Computingย L[xxx] we have L(xxx) =ย L

๎€Š

n

๎€—

k=1 xkfย fย fย k

๎€‹

ย = n

๎€—

k=1 xkL(fย fย fย k) = n

๎€—

k=1 xk

๎€Œ

๎€”

m

๎€—

j=1 ajkgggj

๎€

๎€•

= m

๎€—

j=1

๎€ˆ

n

๎€—

k=1 ajkxk

๎€‰

gggj

This equation says that the ย j th coordinate ofย ย L(xxx) with respect to the basis ย G is

๎€–

nk=1ajkxk, but this is just the ย j th row in theย mร— 1 matrixย A[xxx]Tย Fย .ย  In otherย 

words, when usingย ย Aย we do not computeย ย L[xxx]ย directly, but rather the coordinatesย  ofย ย L[xxx]ย with respect to the basisย G, that isย ,

[L(xxx)]Tย Gย =ย A[xxx]Tย Fย  ย  (3.3)

Example 3. Let Vย  = R2 and Wย  = R3. De๏ฌne L : Vย  โ†’ Wย  by L(x

1, x2) =

(x1 โˆ’ย x2, x1, x2). Let Fย  = {(1, 1), (โˆ’1, 1)}, and let G = {(1, 0, 1), (0, 1, 1),

(1, 1, 0)}.

a. Find the matrix representation ofย  Lย using the standard bases in both Vย  andย Wย .

b. Find the matrix representation ofย ย Lย using the standard basis inย Vย ย and the basisย G ย in ย Wย .

c. Find the matrix representation ofย  L ย  using the basis Fย  in R2 and the

standard basis in R3.

(12)

Solution.

a. L(eee1) = ย L(1, 0) = (1, 1, 0) =ย eee1ย + eee2

L(eee2) = ย L(0, 1) = (โˆ’1, 0, 1) =ย โˆ’eee1ย + eee3

Aย =

๎€Ž

๎€

1 โˆ’1 1 0 0 1

๎€

๎€‘

b. L(eee1) = (1, 1, 0) = 0(1, 0, 1) + 0(0, 1, 1) + (1, 1, 0) = 0ggg1ย + 0ggg2ย + ggg3 L(eee2) = (โˆ’1, 0, 1) = 0(1, 0, 1) + (0, 1, 1) โˆ’ (1, 1, 0) = 0ggg1ย + ggg2ย โˆ’ ggg3 Aย =

๎€Ž

๎€

0 0 0 1 1 โˆ’1

๎€

๎€‘

c. L(fย fย fย 1) = ย L(1, 1) = (0, 1, 1) =ย eee2ย + eee3

L(fย fย fย 2) = ย L(โˆ’1, 1) = (โˆ’2, โˆ’1, 1) =ย โˆ’2eee1ย โˆ’ eee2ย + eee3

Aย =

๎€Ž

๎€

0 โˆ’2 1 โˆ’1 1 1

๎€

๎€‘

d. L(fย fย fย 1) = 0ggg1ย + ggg2ย + 0ggg3 L(fย fย fย 2) = 0ggg1ย + ggg2ย โˆ’ 2ggg3 Aย =

๎€Ž

๎€

0 0 1 1 0 โˆ’2

๎€

๎€‘

๎€€

It is clear from this example that the matrix representation of a linear trans-formation depends upon which bases are used in ย Vย ย and inย Wย . Ifย ย Vย  andย Wย  are the same vector spaces, then normally (in this text always) only one basis is used, rather than two di๏ฌ€erent bases for the same vector space.

Example 4. Let L : R2 โ†’ R2 be a linear transformation. Let Fย  = {(1, 6),

(โˆ’2, 3)}. Suppose the matrix representation ofย ย L ย with respect to ย Fย  is Aย =

๎€„

2 8

โˆ’1 โˆ’4

๎€…

Computeย L(xxx) for any vector ย xxxย in R2.

Solution. Let xxx = (x1, x2) be any vector in R2. To compute L(xxx) using the

matrixย Aย we need to ๏ฌnd [xxx]Fย , the coordinates ofย ย xxxย with respect to the basisย Fย .

The change of basis matrix ย Pย ย below gives the basisย Fย ย in terms of the standard basis

(13)

Usingย Pย โˆ’1 we calculate [xxx]Tย Fย  [xxx]Fย  =ย Pย โˆ’1

๎€„

x1 x2

๎€…

ย = 1 15

๎€„

3 2 โˆ’6 1

๎€… ๎€„

x1 x2

๎€…

= 1 15

๎€„

3x1ย + 2x2 โˆ’6x1ย + x2

๎€…

Thus, the coordinates ofย ย L(xxx) with respect toย Fย  are A[xxx]Fย =

๎€„

โˆ’1 โˆ’42 8

๎€… ๎€„

(3x 1ย + 2x2)/15 (โˆ’6x1ย + x2)/15

๎€…

= 1 15

๎€„

โˆ’42x1ย + 12x2 21x1ย โˆ’ 6x2

๎€…

Thus L(xxx) =

๎€‚

1 15

๎€ƒ

(โˆ’42x 1ย + 12x2)fย fย fย 1ย +

๎€‚

1 15

๎€ƒ

(21x 1ย โˆ’ 6x2)fย fย fย 2 =

๎€‚

1 15

๎€ƒ

(โˆ’42x 1ย + 12x2)(1, 6) +

๎€‚

1 15

๎€ƒ

(21x 1ย โˆ’ 6x2)(โˆ’2, 3) = 6x2ย โˆ’ 21x1 15 {2(1, 6) โˆ’ (โˆ’2, 3)} = 6x2ย โˆ’ 21x1 15 (4, 9) ๎€€ Example 5. Letย Fย  =

๎€†๎€„

1 0 0 0

๎€… ๎€„

0 1 0 0

๎€… ๎€„

0 0 1 0

๎€… ๎€„

0 0

0 1

๎€…๎€‡

. Thusย Fย ย is the standard basis ofย ย Mย 22. Letย B ย =

๎€„

โˆ’2 1

3 4

๎€…

. De๏ฌneย L : Mย 

22 โ†’ย Mย 22 byย L(xxx) =ย Bxxx. Find

the matrix representation ofย ย L ย with respect to the standard basis ย Fย  ofย ย Mย 22.

L(fย fย fย 1) = ย Bfย fย fย 1ย =

๎€„

โˆ’2 1 3 4

๎€… ๎€„

1 0 0 0

๎€…

ย =

๎€„

โˆ’2 0 3 0

๎€…

=ย โˆ’2fย fย fย 1ย + 3fย fย fย 3 L(fย fย fย 2) = ย Bfย fย fย 2ย =

๎€„

โˆ’2 1 3 4

๎€… ๎€„

0 1 0 0

๎€…

ย =

๎€„

0 โˆ’2 0 3

๎€…

=ย โˆ’2fย fย fย 2ย + 3fย fย fย 4 L(fย fย fย 3) = ย Bfย fย fย 3ย =

๎€„

โˆ’2 1 3 4

๎€… ๎€„

0 0 1 0

๎€…

ย =

๎€„

1 0 4 0

๎€…

=ย fย fย fย 1ย + 4fย fย fย 3 L(fย fย fย 4) = ย Bfย fย fย 4ย =

๎€„

โˆ’2 1 3 4

๎€… ๎€„

0 0 0 1

๎€…

ย =

๎€„

0 1 0 4

๎€…

=ย fย fย fย 2ย + 4fย fย fย 4

(14)

Thus, the matrix representation ofย ย L ย is

๎€Ž

๎€’

๎€’

๎€

โˆ’2 0 1 0 0 โˆ’2 0 1 3 0 4 0 0 3 0 4

๎€

๎€“

๎€“

๎€‘

๎€€

In the following pages, when we sayย A, anย m ร— nย matrix, is a linear transfor-mation or represents a linear transfortransfor-mation without speci๏ฌcally mentioning a basis or vector spaces, it is to be understood that ย Vย  =Rn,ย Wย  =Rm, and that

the standard bases in both ย Vย  andย Wย ย are being used.

Problem Section 3.2

1. Letย L(x1, x2) = (3x1ย + 6x2, โˆ’2x1ย + x2)

a. Find the matrix representation ofย ย L ย using the standard bases. b. Find the matrix representation ofย  L ย  using the basis Fย  = {(โˆ’4, 1),

(2, 3)}.

2. Letย L : R2 โ†’ R4 have matrix representationย Aย =

๎€Ž

๎€’

๎€’

๎€

6 1 โˆ’4 0 2 9 8 โˆ’3

๎€

๎€“

๎€“

๎€‘

with respect to the standard bases.

a. L(eee1) =?, L(eee2) =?

b. L(โˆ’3, 7) =? c. L(x1, x2) =?

3. Let Lย be a linear transformation fromR2 intoR2. De๏ฌneย L2(xxx) = ย L(L(xxx)),

L L L3 (xxx) = ย L(L2 (xxx)), andย Ln+1 (xxx) = ย L(Ln(xxx)). Supposeย L(x1, x2) = (ax1ย + bx2, cx1ย + dx2).

a. Find the matrix representationย A ofย ย L ย with respect to the standard bases.

b. Show that the matrix representation ofย ย L2 with respect to the

stan-dard bases isย A2, and in general the matrix representation ofย ย Ln with

respect to the standard bases is ย An.

c. What can you say if some basis other than the standard basis is used? 4. Let Vย  = R3 and let Fย  = {(1, 2, โˆ’3), (1, 0, 0), (0, 1, 0)}. Suppose that the

matrixย A ย represents a linear transformationย L : R3 โ†’ R3 with respect to

the basisย Fย , where

Aย =

๎€Ž

๎€

0 1 โˆ’2 2 1 0 5 0 1

๎€

๎€‘

a. L(1, 2, โˆ’3) =? b. L(1, 0, 0) =? c. L(x1, x2, x3) =?

(15)

5. Letย Vย ย be a vector space of dimension ย n. De๏ฌneย L : Vย  โ†’ย Vย  byย L(xxx) = ย cxxx, where cย is any constant. Let Fย ย  be any basis ofย  Vย . What is the matrix representation ofย ย L ย with respect to this basis?

6. Letย L1(x1, x2) = (x1โˆ’x2, 2x1+3x2) and letย L2(x1, x2) = (2x1โˆ’5x2, 3x1โˆ’

x2). De๏ฌne (L1ย + L2)(xx) = ย Lx 1(xxx) + L2(xxx).

a. Find the matrix representations A1ย and A2ย ofย L1ย and L2, respectively,

with respect to the standard basis ofย ย R2.

b. Show that the matrix representation ofย ย L1ย + L2 isย A1ย + A2.

7. Letย L1 andย L2ย be two linear transformations mapping R2 into R2. Letย Fย 

be any basis ofย R2. Let A1 and A2ย be the matrix representations ofย  L1

and L2, with respect to the basis Fย , respectively. Show that the matrix

representation ofย ย L1ย + L2ย with respect toย Fย  isย A1ย + A2.

8. Letย L(x1, x2, x3) = (x2ย + x3, 6x1ย โˆ’ x2ย + 3x3, 2x1ย + 3x2ย โˆ’ 7x3, 2x1ย + 6x3).

a. Computeย L[eeek] forย k ย = 1, 2, 3.

b. Find the matrix representationย A, ofย ย L, with respect to the standard bases inR3 andR4.

c. Computeย A[xxx] for any vectorย xxxย in R3.

9. De๏ฌneย L : R4 โ†’ R2 byย L(x1, x2, x3, x4) = (x2ย + 2x3ย + 3x4, 2x1ย โˆ’ 6x4).

a. Computeย L(eeek) forย k ย = 1, 2, 3, 4.

b. Find the matrix representationย A, ofย ย L, with respect to the standard bases inR4 andR2.

c. Computeย A[xxx] for any vectorย xxxย in R4.

10. Letย Lย be a linear transformation fromR3toR2. Let Fย  =ย {(1, 1, 1), (0, 1, 1),

(1, 1, 0)}ย = ย {fย fย fย 1, fย fย fย 2, fย fย fย 3}. Letย G ย =ย {(1, 2), (2, 3)}ย =ย {ggg1, ggg2}. Suppose that

the matrix representation ofย ย Lย with respect to these bases is

๎€„

2 1 โˆ’2 10 4

๎€…

. a. Forย k ย = 1, 2, 3, [L(fย fย fย k)]Gย =?

b. Computeย L(fย fย fย k) forย k ย = 1, 2, 3.

c. Find the matrix representation ofย ย Lย using the standard basisย Sย ย inR3

and the basisย G ย in R2.

d. Find the matrix representation ofย  L ย  using the standard basis Sย  in both R3 and R2.

11. Letย L : R2 โ†’R2. Letย Fย  =ย {fย fย fย 1, fย fย fย 2}ย be a basis ofย R2. Suppose that

Aย =

๎€„

โˆ’2 0 0 3

๎€…

is the matrix representation ofย  L ย  with respect to the basis Fย . What is L(fย fย fย k) forย k ย = 1, 2?

(16)

12. Letย Lย be the linear transformation that rotates the plane through an angle ofย ย ฮธ ย degrees. Letย A ย be the matrix representation ofย ย L. Then as we saw in Section 3.1

Aย =

๎€„

cos ฮธ โˆ’ sin ฮธ sin ฮธ cos ฮธ

๎€…

Find the matrix representations ofย  L2, L3, . . . , Ln. (Hint: What is L2

geometrically?)

13. Let L1 and L2ย be two linear transformations from R2 to R2. De๏ฌne the

composition ofย ย L1ย withย L2 byย L1ย โ—ฆ L2(xxx) =ย L1(L2(xxx)).

a. Show that the composition of two linear transformations is also a linear transformation.

b. Ifย ย A1ย andย A2ย are the matrix representations ofย ย L1ย andย L2ย with respect

to the same basis, respectively, show that the matrix representation of the compositionย L1ย โ—ฆ L2ย is given by the matrix product ย A1A2.

14. Find the matrix representations for each of the following linear transfor-mations with respect to the standard basis of the vector space in question: a. L : Pย n โ†’ Pย nโˆ’1 by L(ย pย pย p) = pย pย pโ€ฒ, i.e., L(ย pย pย p) is the derivative of the

polynomialย pย pย p.

b. L : Pย nย โ†’ย Pย n byย L(ย pย pย p) =ย pย pย pโ€ฒ.

c. L : Pย nย โ†’ย Pย n+2 byย L(ย pย pย p) =ย t2ย pย pย p.

15. De๏ฌneย L[ย pย pย p](t) =

ยดย 

ย t

0ย pย pย p(s)ds, for eachย t ย in [0,1]. Thenย L : Pย nย โ†’ย Pย n+1. Find

a matrix representation forย L ย using the standard bases.

16. Ifย ย Aย is anย mร— nย matrix, we can think ofย ย Aย as a linear transformation from

Rn to Rm. What spaces are appropriate for each of the following matrices

to be thought of as a linear transformation? a. ATย  b. ATย A c. AATย 

17. Letย L ย be a linear transformation from a vector space ย Vย ย to a vector space Wย . Suppose that L(xxx) = 000 for every vector xxx in Vย . What must any matrix representation ofย ย L ย equal?

18. Let Vย  = {

๎€–

2j=1(ajย cosย jx ย + bjย sinย jx) : aj and bjย  arbitrary}. De๏ฌne

L : Vย  โ†’ย Vย  by L

๎€Œ

๎€”

2

๎€—

j=1 ajย cosย jx + bjย sinย jx

๎€

๎€•

ย = 2

๎€—

j=1

(โˆ’ย jajย sinย jx +ย jbjย cosย jx)

a. Find a basisย Fย ย for the vector space ย Vย .

(17)

19. Using the same notation as in Example 5, de๏ฌne L : Mย 22 โ†’ Mย 22 by

L(xxx) = xxxB. Find the matrix representation ofย  L ย  with respect to the standard basis ofย ย Mย 22.

20. Let G =

๎€†๎€„

0 1 1 1

๎€… ๎€„

1 0 1 1

๎€… ๎€„

1 1 0 1

๎€… ๎€„

1 1 1 0

๎€…๎€‡

. De๏ฌne L : Mย  22 โ†’ Mย 23 by L[xxx] = xxxB = xxx

๎€„

โˆ’1 3 4 2 0 1

๎€…

. Using the standard basis in Mย 

23ย  and the

basisย G ย in ย Mย 22, ๏ฌnd the matrix representation ofย ย L.

21. Letย B andย G ย be as in problem 20. De๏ฌne ย L : Mย 32ย โ†’ย Mย 22 byย L[xxx] = ย Bxxx.

Using the standard basis inย Mย 32ย and the basis ย G ย in ย Mย 22, ๏ฌnd the matrix

representation ofย ย L.

22. Letย L : Mย 22ย โ†’ย Mย 22ย be de๏ฌned by

L

๎€‚๎€„

a b c d

๎€…๎€ƒ

ย =

๎€„

a 0 0 0

๎€…

a. Show thatย L ย is a linear transformation.

b. Find the matrix representation ofย  L ย with respect to the standard basis ofย ย Mย 22.

c. Show that there is no 2ร—2 matrixย Bย such thatย L[xxx] =ย Bxxx(L[xxx] =ย xxxB) for allย xxxย in ย Mย 22.

23. Letย Vย ย be the vector space in problem 18. For each fย fย fย  inย Vย ย  de๏ฌneย L[fย fย fย ](t) =

ยดย 

ย t

0ย fย (s)ds. Show that L ย  is a linear transformation from Vย  to Vย . Find

its matrix representation with respect to the basis found in problem 18. Show that the product of the matrix found in problem 18 with the matrix found in this problem equals ย Iย 4.

3.3 Kernel and Range of a Linear

Transforma-tion

For any linear transformation ย L, mapping Vย ย  into Wย , there are two important subspaces associated withย L. The ๏ฌrst is a subspace ofย ย Vย ย called the kernel ofย ย L; the second is a subspace ofย ย Wย ย called the range ofย ย L. In this section we de๏ฌne these two subspaces and describe their relation to the solution set of a system of equations.

De๏ฌnition 3.2. Let L : Vย  โ†’ Wย . The kernel ofย  L ย  is the set of vectors xxx in Vย ย  for which L(xxx) = 000. Letting ker(L) represent the kernel ofย  L, we have ker(L) =ย {xxx : L(xxx) = 000}.

Example 1. Letย Aย =

๎€„

2 โˆ’6 4 1 โˆ’1 2

๎€…

ย be the matrix representation ofย ย L. Find the

(18)

Solution.ย  Since Aย is a 2ร— 3 matrix, A : R3 โ†’ R2. We are asked to ๏ฌnd those xxxย = (x1, x2, x3) such that Axxxย =

๎€„

2 โˆ’6 4 1 โˆ’1 2

๎€… ๎€Ž

๎€

x1 x2 x3

๎€

๎€‘

ย =

๎€„

2x1ย โˆ’ 6x2ย + 4x3 x1ย โˆ’ x2ย + 2x3

๎€…

ย =

๎€„

0 0

๎€…

Thus,ย xxxย is in the kernel ofย ย Aย if and only if 2x1โˆ’ 6x2ย + 4x3ย = 0 = ย x1โˆ’ x2ย + 2x3.

Henceย Kย ย = ย {(x1, x2, x3): x1ย + 2x3ย = 0 = ย x2}. ๎€€

This example demonstrates that the kernel is just the solution set of a ho-mogeneous system of linear equations. We note thatย Kย ย has dimension equal to 1 and that (โˆ’2, 0, 1) is a basis ofย ย Kย .

De๏ฌnition 3.3. Let L ย  be a linear transformation mapping Vย ย  into Wย . The range ofย ย L ย is the set of vectors ย www in Wย ย  such that L(xxx) =ย www, for some vectorย xxx inย Vย . Thus, Rg(L) = range(L) =ย {www : wwwย =ย L(xxx) for someย xxxย inย Vย }.

Example 2.ย Find the range of the linear transformation in Example 1.

Solution.ย Sinceย A : R3 โ†’ R2, the range ofย ย Aย consists of thoseย wwwย in R2 such that

Axxxย =ย wwwย has a solution. The augmented matrix of the associated system is

๎€„

2 โˆ’6 4 w1

1 โˆ’1 2 w2

๎€…

It is clear that this system has a solution regardless of the values ofย ย w1 andย w2,

e.g.,ย x1ย = (6w2ย โˆ’ w1)/4,ย x2ย = (2w2ย โˆ’ w1)/4, andย x3ย = 0. Thus, Rg(L) = R2.๎€€

Theorem 3.2. Letย ย L : Vย โ†’ย Wย ย  be a linear transformation. Thenย 

a. ker(L)ย is a subspace ofย Vย .

b. Rg(L)ย is a subspace ofย Wย .

Proof.ย  Since L(000) = 000, we know that both the kernel and the range are nonempty. Thus, to show that these two sets are subspaces we may use Theorem 2.6. Hence, suppose that xxx and yyy ย  are in Kย ย  = ker(L). Then L(xxxย +ย yyy) = L(xxx) +ย L(yyy) = 000 + 000 = 000. Thus, Kย ย  is closed under vector addition. Now let a ย  be any scalar; then L(axxx) = aL(xxx) = a000 = 000, and we see that Kย ย  is also closed under scalar multiplication. This shows that Kย ย  is a subspace. To see that Rg(L) is a subspace, suppose thatย uuuย andย vvvย are any two vectors in Rg(L). Then there are two vectors ย xxx andย yyy in Vย ย  such that L(xxx) =ย uuu and L(yyy) =ย vvv. Then L(xxx + yyy) = ย L(xxx) +ย L(yyy) =ย uuuย + vvvย and Rg(L) is closed under addition. Similarly ifย  aย is any constant, then auuu = aL(xxx) = L(axxx). Since Rg(L) is closed under vector addition and scalar multiplication, it is a subspace ofย ย Wย .

Consider a system ofย ย m ย linear equations inย n ย unknowns a11x1ย +ยท ยท ยท + a1nxnย =ย b1

. . . . am1x1ย +ยท ยท ยท + amnxnย = ย bm

(19)

Letย Lย be the linear transformation from Rn to Rm de๏ฌned byย L[xxx] =ย Axxx, where

Aย is the coe๏ฌƒcient matrix [ajk] of (3.4). Then the kernel ofย ย Lย is just the solution

set of the homogeneous system associated with (3.4). Forย xxxย is in ker(L) if and only ifย ย L(xxx) = 000, butย L(xxx) = 000 if and only ifย  Axxxย = 000. That is,ย xxxย is in ker(L) ifย  and only ifย  xย is a solution of (3.4) with bjย = 0 for j = 1, 2, . . . , m. The range

ofย  Lย consists of those vectors ย bbb in Rm such that there is an ย xxx in Rn for which

L(xxx) =ย bbb, i.e.,ย Axxxย =ย bbb. That is,ย bbbย is in the range ofย ย L ย if and only if (3.4) has a solution.

Example 3.ย  Consider the following system of equations: โˆ’x1ย + 2x2ย + 3x4ย =ย b1

2x1ย + 3x2ย + 7x3ย + 8x4ย =ย b2

4x1ย โˆ’ 2x2ย + 6x3 =ย b3

(3.5) Find the kernel and range of the coe๏ฌƒcient matrix of the above system of equa-tions. Then determine the dimensions of these two subspaces.

Solution.ย The coe๏ฌƒcient matrix ย A ย equals

๎€Ž

๎€

โˆ’1 2 0 3 2 3 7 8 4 โˆ’2 6 0

๎€

๎€‘

and is row equivalent to the matrix

๎€Ž

๎€

1 0 2 1 0 1 1 2 0 0 0 0

๎€

๎€‘

Thus,ย xxxย is a solution to the homogeneous system, i.e.,ย xxxย is in ker(A) if and only ifย ย x2ย =ย โˆ’x3ย โˆ’ 2x4 andย x1ย =ย โˆ’2x3ย โˆ’ x4. Thus, ker(A) =ย {(x1, x2, x3, x4): x1ย =

โˆ’2x3โˆ’x4,ย x2ย =ย โˆ’x3โˆ’2x4}. A basis for ker(A) is {(โˆ’2, โˆ’1, 1, 0), (โˆ’1, โˆ’2, 0, 1)}.

Thus, dim(ker(A)) = 2.

The augmented matrix of (3.5)

๎€Ž

๎€

โˆ’1 2 0 3 b1 2 3 7 8 b2 4 โˆ’2 6 0 b3

๎€

๎€‘

is row equivalent to

๎€Ž

๎€

โˆ’1 2 0 3 b1 0 1 1 2 (b2ย + 2b1)/7 0 0 0 0 (26b1ย โˆ’ 2b2ย + 7b3)/14

๎€

๎€‘

(3.5) has a solution if and only ifย 

26b1โˆ’ 2b2ย + 7b3ย = 0

Thus, Rg(A) = {(b1, b2, b3) : 26b1 โˆ’ย 2b2 + 7b3 = 0}. A basis for Rg(A) is

(20)

In the previous exampleย A : R4 โ†’ R3, dim(ker(A)) = 2, and dim(Rg(A)) =

2. It is not a coincidence that we have the following relationship: dim(ker(A))+ dim(Rg(A)) = dim(R4).

Theorem 3.3. Letย Lย  be a linear transformation fromย Vย  to Wย , whereย Vย  is aย  ย ๏ฌnite dimensional vector space. Thenย 

dim(ker(L)) + dim(Rg(L)) = dim(Vย ) (3.6)

Proof.ย  Let dim(Vย ) = n. Suppose that dim(ker(L)) = k, where we assume ๏ฌrst that 0 ย  < k < n. Let xxxj, j = 1, . . . , kย  be a basis for ker(L) and let yyyj,

ย j = 1, . . . , nย โˆ’ ย k ย  be a set ofย  nย โˆ’ ย k ย  linearly independent vectors in Vย ย  such that Sย  = {xxx1, . . . , xxxk, yyy1, . . . , yyynโˆ’k} ย is a basis ofย  Vย . Then {L(xxx1), . . . , L(yyy1),

. . . , L(yyynโˆ’k)}ย is a spanning set of Rg(L). Since theย xxxjย are in ker(L), we have

L(xxxj) = 000 for j = 1, . . . , k. Thus,ย {L(yyy1), . . . , L(yyynโˆ’k)}ย must span Rg(L). We

wish to show that this set is linearly independent, and hence forms a basis for Rg(L). To this end suppose that

c1L(yyy1) +ยท ยท ยท + cnโˆ’kL(yyynโˆ’k) = 000

Settingย zzzย = ย c1yyy1ย + ยท ยท ยท +ย cnโˆ’kyyynโˆ’k, we haveย L(zzz) = 000. Thus,ย zzzย is in ker(L) and

there are constants ย ajย such that

a1xxx1ย +ยท ยท ยท + akxxxk = zzzย =ย c1yyy1ย +ยท ยท ยท + cnโˆ’1yyynโˆ’k

Since the set Sย ย is linearly independent, every one of the constants must be zero. In particular c1 = c2 = ยท ยท ยท = cnโˆ’kย  = 0, and we conclude that the set

{L(yyy1), . . . , L(yyynโˆ’k)}ย is a basis for Rg(L). Hence we have

dim(ker(L)) + dim(Rg(L)) = ย kย + (n โˆ’ k) =ย nย = dim(Vย )

This equation remains to be veri๏ฌed in the two cases ย kย = 0 andย kย =ย n. We leave the details as an exercise for the reader

In the next section we show how one can easily determine the dimension ofย  Rg(L). This technique coupled with the above theorem gives us an e๏ฌ€ective means of determining how large the solution space of a set of homogeneous linear equations is, and hence the size of the solution set for any system ofย  linear equations, homogeneous or not; cf. Theorem 1.10.

Before starting the next section, we de๏ฌne several items.

De๏ฌnition 3.4. Let L : Vย  โ†’ Wย ย be a linear transformation. Lย is said to be one-to-one ifย ย L(xxx) = ย L(yyy) implies thatย xxxย =ย yyy.

De๏ฌnition 3.5. Let L : Vย  โ†’ Wย ย be a linear transformation. Lย is said to be onto if Rg(L) = ย Wย .

(21)

Example 4. Letย L : R3 โ†’R2 have matrix representationย A, whereย A ย is given

below. Showย L ย is onto but not one-to-one. Aย =

๎€„

1 2 3

0 1 2

๎€…

Solution.ย To see thatย L ย is not one-to-one we observe that the vector (1 ,โˆ’2, 1) is in ker(L); that is, L(1, โˆ’2, 1) = (0, 0) = L(0, 0, 0), but (1, โˆ’2, 1)ย ๎€€= (0, 0, 0). Hence,ย Lย is not one-to-one. To see that ย Lย is onto we have to show that Rg( L) =

R2. Thus, let (w1, w2) be any vector in R2. Our task is to ๏ฌndย xxxย = (x1, x2, x3)

such that L(xxx) = (w1, w2). Equivalently we need to solve the following system

of equations:

x1ย + 2x2ย + 3x3ย =ย w1

x2ย + 2x3ย =ย w2

A solution to this system isย x1ย = ย w1ย โˆ’ 2w2,ย x2ย =ย w2, andย x3ย = 0. ๎€€

Theorem 3.4. Letย L : Vย  โ†’ย Wย ย  be a linear transformation. Assume, for partsย  b and c, thatย Vย  andย Wย ย  are ๏ฌnite dimensional. Thenย 

a. Lย is one-to-one if and only ifย ย ker(L) = ย {000}.

b. Lย is one-to-one if and only ifย ย dim(Vย ) = dim(Rg(L)).

c. Lย is onto if and only ifย ย dim(Rg(L)) = dim(Wย ).

Proof.ย  Suppose L ย  is one-to-one. We want to show that Kย ย  = ker(L) = {000}. Thus, suppose thatย xxxย is inย Kย . Thenย L(xxx) = 000 = ย L(000) and we must haveย xxxย = 000. Conversely, supposeย Kย ย = ย {000}. Then ifย ย L(xxx) =ย L(yyy), we must haveย L(xxx โˆ’yyy) = 0. Hence, xxxย โˆ’ย yyy ย  is in Kย , and we conclude that xxx = yyy. Part b of this theorem is an easy consequence of part a and Theorem 3.3. Suppose that L ย  is one-to-one. Then we have dim(Vย ) = dim(Rg(L))+ dim(ker(L)) = dim(Rg(L))+ 0 = dim(Rg(L)). Conversely, if dim(Rg(L)) = dim(Vย ), then dim(ker(L)) = 0, and we have ker(L) =ย {0}. The veri๏ฌcation of part c is left to the reader as an exercise.

Problem Set 3.3

1. Each of the matrices below represents a linear transformation from Rn to Rm. Determine the values ofย  n and mย for each matrix. Then determine

their kernels and ranges and ๏ฌnd a basis for each of these subspaces.

a.

๎€€

1 0 1

๎€

b.

๎€Ž

๎€

1 0 1

๎€

๎€‘

c.

๎€„

1 1 0 1

๎€…

d.

๎€Ž

๎€’

๎€’

๎€

1 1 1 1 0 1 1 1 1 1 0 โˆ’1

๎€

๎€“

๎€“

๎€‘

(22)

2. Each of the matrices below represents a linear transformation from Rn to Rm. Determine the values ofย ย nย andย mย for each matrix, and their respective

kernels and ranges. a.

๎€€

1 2

๎€

b.

๎€Ž

๎€

1 2 โˆ’1 0 0 1

๎€

๎€‘

c.

๎€„

0 1

๎€…

3. Let Aย be the coe๏ฌƒcient matrix of the system of equations below. Ifย  L is the linear transformation de๏ฌned by ย A, what is the range ofย ย L ย and what is its kernel? Does this particular equation have a solution; i.e., is (โˆ’2, 1) in the range ofย ย L?

2x1ย โˆ’ 5x2ย + 3x3ย =ย โˆ’2

x1ย + 3x2 = 1

4. For each of the matrices below determine the dimension of its range and the dimension of its kernel. Then decide if the linear transformations represented by these matrices are onto and/or one-to-one.

a.

๎€€

1 2

๎€

b.

๎€Ž

๎€

1 2 โˆ’1 0 0 1

๎€

๎€‘

c.

๎€„

1 2

๎€…

5. For each of the matrices below determine the dimensions of their range and kernel. Then determine if the linear transformations represented by these matrices are onto and/or one-to-one.

a.

๎€Ž

๎€’

๎€’

๎€

1 0 โˆ’1 0 0 4 1 0 0 0 0 1

๎€

๎€“

๎€“

๎€‘

b.

๎€Ž

๎€’

๎€’

๎€’

๎€’

๎€

1 2 โˆ’1 3 1 โˆ’1 1 โˆ’1 0 1 0 1 1 0 1 0 1 1 0 0

๎€

๎€“

๎€“

๎€“

๎€“

๎€‘

6. Verify part c of Theorem 3.4. Remember, the range ofย  L ย  is always a subspace ofย ย Wย .

7. Letย L : Vย  โ†’ย Wย ย be a linear transformation. Letย {xxxjย : j = 1, . . . , n}ย be a

basis ofย ย Vย . Show that the setย {L(xxxj): jย = 1, . . . , n}ย is a spanning set for

Rg(L).

8. Letย L : Rn โ†’Rm be a linear transformation.

a. Show that ifย  n > m, then L ย  must have a nontrivial kernel, i.e., dim(ker(L))ย >ย 0.

b. Ifย ย n ย โ‰คย mย doesย L ย have to be one-to-one? 9. Letย L : Rn โ†’Rm be a linear transformation.

a. Ifย ย n < m, show thatย L ย cannot be onto. b. Ifย ย n ย โ‰ฅย m, mustย L ย be onto?

(23)

10. Let L : Vย  โ†’ย Wย ย  be a linear transformation. Let Qย be that subset ofย  Wย  that contains all vectors in ย Wย ย not in the range ofย ย L, i.e.,ย Q ย =ย Wย \Rg(L). Isย Q ย a subspace ofย ย Wย ?

11. Let Sย ย  be any nย ร— ย n ย  scalar matrix, i.e., Sย  = cIย nย  for some constant c.

Determine the kernel and range ofย ย Sย ย for various values ofย ย c.

12. Letย D ย be anyย n ร— nย diagonal matrix. Determine the kernel and range ofย  Dย for various values of the diagonal entries. For example, what happens if the entry in the 1,1 position ofย ย D ย is zero? Is nonzero?

13. Characterize the kernel and range for the linear transformations in prob-lems 13, 14, and 15 in Problem Set 3.1.

14. For each of the matrices Aย in problem 1, compute ATย . Then determine

the kernel and range ofย ย ATย .

15. For each of the matrices A ย  in problem 1, compute ATย A. Determine ifย 

these product matrices are one-to-one and/or onto. Compare the kernels ofย ย ATย Aย and ย A.

16. Letย L : Rn โ†’ Rm be a linear transformation. Show that ifย ย Lย is both onto

and one-to-one, thenย mย =ย n.

17. Verify Theorem 3.3 for the two cases ker(L) =ย {000}ย and ker(L) =ย Vย . 18. Letย L : Pย 2 โ†’ย Pย 3ย be de๏ฌned byย L[ย pย pย p](t) =

ยดย 

ย t

0ย pย pย p(s)ds. Find a matrix

repre-sentation forย Lย using the standard basis in each of the vector spaces. Find a basis for the range and kernel ofย ย L.

19. Letย L : Pย 3ย โ†’ย Pย 3ย be de๏ฌned byย L[ย pย pย p](t) =ย pย pย pโ€ฒ(t). Find a matrix

representa-tion for Lย  using the standard basis in each of the vector spaces. Find a basis for the range and kernel ofย ย L.

20. Letย B ย =

๎€„

โˆ’1 2 52 3 1

๎€…

.

a. Let L[xxx] =ย xxxBย for anyย xxxย inย Mย 22. Thenย L ย is a linear transformation

fromย Mย 22 toย Mย 23. Find a basis for the kernel ofย  Lย and also a basis

for the range ofย ย L.

b. Let L[xxx] =ย Bxxxย for anyย xxxย inย Mย 32. Thenย L ย is a linear transformation

fromย Mย 32 toย Mย 22. Find a basis for the kernel ofย  Lย and also a basis

for the range ofย ย L.

c. Find a matrix representation for each of the above two linear trans-formations. Use the standard basis.

(24)

3.4 Rank of a Matrix

In the last section we proved a theorem that said the dimensions of the ker-nel, range, and domain of a linear transformation are related by the equation dim(Vย ) = dim(ker) + dim(Rg). We have also seen that the kernel is just the solution set for a system of homogeneous equations. In this section we show that the dimension of the range ofย  Lย is the same as the maximum number ofย  linearly independent rows or columns in a matrix representation ofย  L. Since this number is easy to calculate, we have an e๏ฌƒcient method for computing the dimension of Rg(L) and hence an e๏ฌƒcient method of determining the size of the solution set of a system of linear equations.

De๏ฌnition 3.6. Let A = [ajk] be an mย ร—ย n ย  matrix. Each row ofย  A ย  can be

thought of as a vector in Rn and each column ofย ย A ย can be considered a vector

in Rm. The row space ofย ย A ย is that subspace ofย Rn spanned by the row vectors

ofย ย A, and the column space ofย ย Aย is that subspace ofย Rm spanned by the column

vectors ofย ย A.

De๏ฌnition 3.7. Letย A ย = [ajk] be anย mร— nย matrix. The row rank ofย ย A ย is the

dimension of the row space ofย ย A ย and the column rank ofย ย A ย is the dimension ofย  the column space ofย ย A.

Example 1. Let A =

๎€Ž

๎€

โˆ’2 โˆ’1 1 1 0 4

๎€

๎€‘

. The row space ofย  A ย is that subspace ofย 

R2 spanned by the set {(โˆ’2, โˆ’1), (1,1), (0,4)}. Clearly this set spans a

sub-space ofย R2 of dimension 2. Hence the row space ofย  A is R2, and the row

rank is 2. The column space ofย  Aย  is that subspace ofย R3 spanned by the set

{(โˆ’2, 1, 0), (โˆ’1, 1, 4)}. Since this set is linearly independent the column space has dimension 2. Thus the column rank is 2. ๎€€

The fact that the row rank ofย ย A ย was equal to its column rank was no accident, as the following theorem shows.

Theorem 3.5. Letย Aย = [aik]ย be anย m ร— nย matrix. Then the column rank andย 

the row rank ofย Aย are equal.

Proof.ย  Suppose the column rank ofย  A is p. Then 0 โ‰ค p โ‰ค n. Ifย  pย = 0, every column ofย  A ย is the zero vector in Rm, and hence every row ofย  A ย  is the zero

vector in Rn. Thus the row space is the zero vector and we have row rank equal

to 0 also. Now assume that p >ย  0. Let {zzzj: j = 1, . . . , p}ย be a basis for the

column space ofย ย A, where

zzzj = (z1j, z2j, . . . , zmj)

Then ifย  Cย Cย Cย kย  is the kth column ofย  A, i.e., Cย Cย Cย k = (a1k, a2k, . . . , amk)Tย , there are

constantsย bjk, 1ย โ‰คย jย โ‰คย p, such that

Cย  Cย Cย kย = ย p

๎€—

j=1 bjkzzzTย j

(25)

Equating components, we have the following: aik = ย p

๎€—

j=1 bjkzij 1ย โ‰คย kย โ‰คย n, 1ย โ‰คย iย โ‰คย m

Thus ifย ย rrriย is theย ith row ofย ย A, we have

rrriย = (ai1, ai2, ai3, . . . , aij) =

๎€Œ

๎€”

ย p

๎€—

j=1 bj1zij, ย p

๎€—

j=1 bj2zij, . . . , ย p

๎€—

j=1 bjnzij

๎€

๎€•

= ย p

๎€—

j=1 zij(bj1, bj2, . . . , bjn)

Thus, the pย row vectors (bj1, . . . , bjn), 1ย โ‰ค j โ‰ค p, form a spanning set for the

row space ofย  A. Hence, row rank โ‰ค p. This shows that the row rank of any matrix must be less than or equal to its column rank. Since the row rank ofย ย ATย 

is the column rank ofย ย A, and the column rank ofย ย ATย  is the row rank ofย  A, we also have that the column rank is less than or equal to the row rank. Hence the row and column ranks are equal.

De๏ฌnition 3.8.ย  The rank of a matrix is the common value of its row and column rank.

Example 2.ย Compute the rank of the following matrix:

Aย =

๎€Ž

๎€

1 0 1 0 2 1 1 1 0 2 3 2

๎€

๎€‘

Solution.ย This matrix is easily seen to be row equivalent to the matrix.

Bย =

๎€Ž

๎€

1 0 1 0 0 1 โˆ’1 1 0 0 5 0

๎€

๎€‘

This last matrix has rank equal to 3. Since the rows ofย ย B ย  were obtained from linear combinations of the rows ofย ย Aย and we can also obtain the rows ofย ย A ย from linear combinations of the rows ofย  B, the row spaces ofย ย A and Bย must be the same. Hence,ย Aย andย Bย have the same row rank and thus the same rank, namely,

3. ๎€€

In the preceding example we computed the row rank ofย  Aย by ๏ฌrst ๏ฌnding the row rank of a matrix that was row equivalent to ย A ย and then used the fact that their row ranks were equal. We formalize this in the next theorem.

Theorem 3.6. Ifย ย Aย andย ย Bย are two matrices that are row or column equivalent, then the rank ofย Aย is equal to the rank ofย  B.

(26)

Proof.ย See problem 10 at the end of this section.

We now need to relate these ideas to the problem of describing the solution space of a system of equations. Consider the linear system of equationsย Axxxย = bbb, where Aย = [ajk] is an mร—nย matrix. The matrixย A de๏ฌnes a linear transformation

Lย from Rn to Rm. Sinceย L(eeek) equals theย k th column ofย ย A, it is clear that the

column space ofย ย Aย is the same as the range ofย ย L. In fact if we letย Cย Cย Cย kย be theย kth

column ofย ย A, andย xxxย = (x1, . . . , xn)Tย , thenย Axxxย =ย x1Cย Cย Cย 1ย +ยท ยท ยท + xnCย Cย Cย n; that is,ย Axxx

is just a linear combination of the columns ofย ย A. Thus, ifย ย A ย is

๎€„

2 1 3 4 โˆ’2 8

๎€…

we may writeย A[x1, x2, x3]Tย  as

๎€„

2 1 3 4 โˆ’2 8

๎€… ๎€Ž

๎€

x1 x2 x3

๎€

๎€‘

ย =ย x1

๎€„

2 4

๎€…

+ x 2

๎€„

1 โˆ’2

๎€…

+ x 3

๎€„

3 8

๎€…

Clearly this is a linear combination of the columns ofย ย A.

These remarks make it clear that the column rank ofย  Aย (the dimension ofย  the column space) is equal to the dimension of the range ofย ย L. Hence we have

dim(ker(L)) = ย n โˆ’ dim(Rg(L)) =ย n โˆ’ rank ofย ย A

Remembering that ker(L) is just the solution space of the homogeneous system Axxxย = 000, we have our promised algorithm for computing the size of the solution space.

What can be said about nonhomogeneous equations? Essentially the same thing, as the following theorem indicates.

Theorem 3.7.ย Supposeย ย xxx0ย satis๏ฌesย ย Axxx0ย =ย bbb. Then the solution space ofย ย Axxxย =ย bbb equalsย ย xxx0ย + ker(A);ย  that is, every solution ofย  Axxx =ย bbbย  is equal to xxx0ย  plus someย  vector in the kernel. Note that this is just Theorem 1.10 restated.

Proof.ย  Supposeย Axxxย =ย bbb. Then

000 =ย bbb โˆ’ bbbย =ย Axxx โˆ’ Axxx0ย = ย A(xxx โˆ’ xxx0)

Thus xxxโˆ’xxx0ย is in the kernel ofย ย A, and xxxย =ย xxx0+ (xxx โˆ’xxx0). Conversely ifย ย xxxย =ย xxx0+zzz

for someย zzzย in the kernel, then

Axxxย =ย A(xxx0ย + zzz) = ย Axxx0ย + Azzzย =ย bbb + 000 =ย bbb

Example 3.ย Describe the solution set of the following system of equations: 2x1 + 4x3ย + 5x4ย = 8

x1ย + 2x2 + 5x4ย = 4

(27)

Solution.ย The coe๏ฌƒcient matrix ย A, which equals

๎€Ž

๎€’

๎€

2 0 4 5 1 2 0 5 1 6 3 10

๎€

๎€“

๎€‘

is row equivalent to the matrix

๎€Ž

๎€’

๎€

1 0 0 5 2 0 1 0 5 4 0 0 1 0

๎€

๎€“

๎€‘

Hence, dim(Rg(A)) = rank ofย ย A ย = 3. Since 4โˆ’ 3 = 1, dim(ker A) = 1. A basis for the kernel is (โˆ’52, โˆ’

5

4, 0, 1). Thus, the solution space of the equationย Axxxย =

(8, 4, 11)Tย  is of the formย xxxย =ย xxx

0ย + c(โˆ’52,โˆ’54, 0, 1), for any constantย c, assuming

of course that there is at least one particular solutionย xxx0. There is a solution ifย 

and only if (8,4,11) is in the range ofย ย Aย and equivalently if and only if (8, 4, 11)Tย 

is in the column space ofย ย A. A basis of the column space isย {(2, 1, 1)Tย , (0, 2, 6)Tย ,

(4, 0, 3)Tย }. One easily sees that (8, 4, 11)Tย = 2(2, 1, 1)Tย + (0, 2, 6)Tย + (4, 0, 3)Tย ;

that is,ย bbbย equals 2(๏ฌrst column) + (second column) + (third column) + 0(fourth column). Thus,ย xxx0 = (2, 1, 1, 0)Tย  is a particular solution, and every solution is

of the form xxxย = (2, 1, 1, 0) + c

๎€‚

โˆ’5 2,โˆ’ 5 4, 0, 1

๎€ƒ

๎€€

A common problem has to do with data ๏ฌtting. In its simplest form, this problem can be viewed in the following manner. Assume we have a collection ofย  n ย  points (xk, yk), 1 โ‰ค k โ‰ค n, where xj ๎€€= xk ifย  j ๎€€= k. We wish to ๏ฌnd a

polynomialย pย pย p(t) of degreeย mย such thatย pย pย p(xk) = ย ykย for eachย k. In fact, we would

like to ๏ฌnd the smallest value ofย ย m ย such that regardless of the values ย ykย such a

polynomial will exist. Since there areย n ย data points and a polynomial of degree mย has ย mย + 1 arbitrary coe๏ฌƒcients we might conjecture ย m ย equal toย n โˆ’ 1 is the smallest value ofย ย mย for which we are guaranteed a solution. We now recast this problem in terms of linear transformations. Thus, let (xj, yj), j = 1, 2, . . . , n,

be given. Letย pย pย p(t) be any polynomial inย Pย m. De๏ฌneย L : Pย mย โ†’ Rn by

L(ย pย pย p) = (ย pย pย p(x1), pย pย p(x2), . . . , pย pย p(xn))

That is, we evaluate our polynomial at the nย  numbers xj. For example, if we

had the three points (โˆ’1, โˆ’2), (0,6), and (1,0) andย pย pย p(t) = 8+ 2tโˆ’ 8t3+ t4, then

L(ย pย pย p) = (ย pย pย p(โˆ’1), pย pย p(0), pย pย p(1)) = (15, 8, 3)

The question then, as to whether or not a polynomial pย pย p ย  of degree m ย  can be picked so thatย pย pย p(xj) =ย yj, amounts to deciding if the point (y1, y2, . . . , yn) lies

(28)

for this linear transformation using the natural basisย {1, t , t2

, . . . , tm}ย inย Pย mย and

the standard basisย {eee1, . . . , eeen}ย in Rn.

L(1) = (1, 1, . . . , 1) L(t) = (x1, x2, . . . , xn)

L(tk) = (xk1, . . . , xkn) kย = 1, 2, . . . , m

Thus, we have theย n ร— (mย + 1) matrix

Aย =

๎€Ž

๎€’

๎€’

๎€

1 x1 x21 ย  . . . xm1 1 x2 x22 ย  . . . xm2 . . . . 1 xn x2n ย  . . . xmn

๎€

๎€“

๎€“

๎€‘

If all the xjโ€™s are di๏ฌ€erent, it can be shown that the rank ofย  A ย is the smaller

of the two numbers mย + 1 and n. Thus, if we wish to always be able to solve L(ย pย pย p) = (y1, . . . , yn) we need rank ย A ย = ย n. Clearly, the smallest value ofย ย m ย that

works is m = nย โˆ’ย 1; i.e., A ย  is a square matrix. Another way of stating this is that for any ย n ย distinct numbersย x1, . . . , xnย the linear transformationย L ย maps

Pย nโˆ’1ย (polynomials of degree ย nโˆ’ 1 or less) onto Rn in a one-to-one fashion.

Example 4.ย Given the three points (1, โˆ’6), (2,0), and (3,6), we know from the above discussion that there is a polynomial ย pย pย p(t), of degree 3โˆ’ 1 = 2, such that ย pย pย p(1) =ย โˆ’6,ย pย pย p(2) = 0, andย pย pย p(3) = 6. Find this polynomial.

Solution.ย  The transformation L : Pย 2 โ†’ R3 de๏ฌned by the abscissas of these

three points satis๏ฌes

L(111) = (1, 1, 1) L(ttt) = (1, 2, 3) L(ttt2

) = (1, 4, 9) The matrix representation for this transformation is

Aย =

๎€Ž

๎€

1 1 1 1 2 4 1 3 9

๎€

๎€‘

This matrix has rank equal to 3. We wish to ๏ฌndย pย pย p(t) such thatย L(ย pย pย p) = (โˆ’6, 0, 6). In terms of the coe๏ฌƒcients aj ofย ย pย pย p(t) =ย a0ย +ย a1tย +ย a2t2, we want a solution to

the equation A

๎€Ž

๎€

a0 a1 a2

๎€

๎€‘

ย =

๎€Ž

๎€

โˆ’6 0 6

๎€

๎€‘

The unique solution to this equation is a0 = โˆ’12, a1 = 6, a2ย  = 0. Thus,

ย pย pย p(t) =ย โˆ’12 + 6tย is the unique polynomial of degree 2 or less that ๏ฌts the data. We know that the polynomial is unique, since the matrix Aย has rank 3, which implies that dim(ker(L)) = 3โˆ’ 3 = 0. See Figure 3.4. ๎€€

(29)

(2,0) (3,6) (1,โˆ’6) ย p(t) = โˆ’12 + 6t Figure 3.4

Problem Set 3.4

1. Calculate the rank of each of the following matrices:

a.

๎€€

1 0 1

๎€

b.

๎€Ž

๎€

1 0 1

๎€

๎€‘

c.

๎€„

1 1 0 1

๎€…

d.

๎€Ž

๎€’

๎€’

๎€

1 1 1 1 0 1 1 1 1 1 0 โˆ’1

๎€

๎€“

๎€“

๎€‘

2. Calculate the rank of each of the following matrices: a.

๎€€

1 2

๎€

b.

๎€Ž

๎€

1 2 โˆ’1 0 0 1

๎€

๎€‘

c.

๎€„

7 5

๎€…

3. Each of the matrices below represents a linear transformation from Rn to Rm. Determine the values ofย  n and mย for each matrix. Then determine

the dimensions of the range and kernel ofย ย L

a.

๎€Ž

๎€’

๎€’

๎€

1 0 โˆ’1 0 0 4 1 0 0 0 0 1

๎€

๎€“

๎€“

๎€‘

b.

๎€Ž

๎€’

๎€’

๎€’

๎€’

๎€

1 2 โˆ’1 3 1 โˆ’1 1 โˆ’1 0 1 0 1 1 0 1 0 1 1 0 0

๎€

๎€“

๎€“

๎€“

๎€“

๎€‘

(30)

4. For each matrix below, determine the dimensions of the range and kernel. Then decide if the linear transformation it represents is onto and/or one-to-one. a.

๎€€

1 2

๎€

b.

๎€Ž

๎€

1 2 โˆ’1 0 0 1

๎€

๎€‘

c.

๎€„

7 5

๎€…

5. For each matrix below determine the dimensions of the range and kernel. Then decide if the linear transformation it represents is onto and/or one-to-one. a.

๎€Ž

๎€’

๎€’

๎€

1 1 โˆ’1 5 0 4 2 1 0 1 1 1

๎€

๎€“

๎€“

๎€‘

b.

๎€Ž

๎€’

๎€’

๎€’

๎€’

๎€

2 3 5 7 1 โˆ’1 1 โˆ’1 5 0 5 1 1 2 3 4 1 1 0 0

๎€

๎€“

๎€“

๎€“

๎€“

๎€‘

6. Compute the row rank and column rank of each of the following matrices:

a.

๎€„

1 6 0 3 2 โˆ’1 1 0

๎€…

b.

๎€Ž

๎€

โˆ’3 6 4 1 2 8 4 3 โˆ’4 1 0 0

๎€

๎€‘

c.

๎€Ž

๎€’

๎€’

๎€

1 2 1 4 5 6 8 โˆ’1 2 6 1 0

๎€

๎€“

๎€“

๎€‘

7. Consider the following system of linear equations: 2x1 โˆ’ 6x3ย =ย โˆ’6

x2ย + x3ย = 1

Letย A ย be the coe๏ฌƒcient matrix of this system. a. Compute the rank ofย ย A.

b. dim(ker(A)) =? Find a basis for ker(A). c. dim(Rg(A)) =? Find a basis for Rg(A). d. Isย A ย a one-to-one linear transformation?

e. Isย A ย onto?

f. Does the above system of equations have a solution? If yes, charac-terize the solution set in terms of the kernel ofย ย A ย and one particular solution.

8. Letย L : R3 โ†’R2 have the matrix representation

Aย =

๎€„

โˆ’2 4 โˆ’1 01 3

๎€…

Show that the range ofย ย Lย and the column space ofย ย Aย are the same subspace ofย R2.

References

Related documents

Looking at the developments in 2013, the mobile revenue generated per device remained constant, but shows an interesting turn in early 2014: While all devices are increasing

Proprietary Schools are referred to as those classified nonpublic, which sell or offer for sale mostly post- secondary instruction which leads to an occupation..

โ—‹ If BP elevated, think primary aldosteronism, Cushingโ€™s, renal artery stenosis, โ—‹ If BP normal, think hypomagnesemia, severe hypoK, Bartterโ€™s, NaHCO3,

In all three studies, women were studied during a complete year (2004 for the Ouidah pre-trial study, 2005 for the Ouidah clinical trial, and 2007โ€“2008 for the Tori Bossito study) to

Writing Linear Equations in Slope-Intercept form given a Table or 2 points Using Calculator to find slope and y-intercept Stat Edit Enter x-values in L Enter. Enter the equation

Design Consideration for Oracle WMS in a Supply Chain of Manufacturing Plants and Warehouses. โ€ข The Customer has a complex logistics network

The results indicate signi๏ฌcant differences in species richness, assemblage structure based on abundance and biomass, as well as in the composition of dung beetles between remnant

Facing the aggregate income and price levels, the interest rate, and the indirect demand for its product in each market given by the pricing schedule (3), each firm chooses the level