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.
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.
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. Let1. 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) ๎๎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 44 1 1 33
๎ ๎
. . Ifย Ifย ย Lย Lย is the linear transformation de๏ฌned byย is the linear transformation de๏ฌned byA
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 thatThe 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โฒโฒ
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 โbb a
๎
, whereย a2+ย 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 originthrough 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
(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) =?
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. Describewhat 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ย ] =
ยดย
ย 10 fย fย fย (t)dt. Show thatย Lย is a linear transformation from
Vย to R1.
b. De๏ฌneย Tย [fย fย fย ](t) =
ยดย
ย t0ย fย fย fย (s)ds, for eachย tย in [0,1]. Show thatย Tย ย is a linear
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)
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๎
eeejNote: 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)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๎
gggjThis 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.
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ย + eee3L(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
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 00 1
๎ ๎
. Thusย Fย ย is the standard basis ofย ย Mย 22. Letย B ย =๎
โ2 13 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ย 4Thus, 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) =?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?
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) =
ยดย
ย t0ย 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๏ฌneL : 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ย .
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) =
ยดย
ย t0ย 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 theSolution.ย 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 w11 โ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
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
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ย .
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 30 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๎
๎
๎
๎
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?
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.
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ย jEquating components, we have the following: aik = ย p
๎
j=1 bjkzij 1ย โคย kย โคย n, 1ย โคย iย โคย mThus 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.
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
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
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. ๎
(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๎
๎
๎
๎
๎
๎
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.