GEOMETRY OF MATRICES. FIGURE1. VectorinR 2.

Size: px
Start display at page:

Download "GEOMETRY OF MATRICES. FIGURE1. VectorinR 2."

Transcription

1 GEOMETRY OF MATRICES. SPACES OF VECTORS..DefinitionofR n.thespacer n consistsofallcolumnvectorswithncomponents.thecomponents are real numbers...representationofvectorsinr n....r. ThespaceR isrepresentedbytheusualx,x plane.thetwocomponentsofthevector givethex andx coordinatesofapointandthevectorisadirectedlinesegmentthatgoesout from(,) x. FIGURE. VectorinR.,.. 4 x...r. Wecanthinkofthisgeometricallyasthex andx axesbeinglaidoutonatabletopwith thex axisbeingperpendiculartothishorizontalsurfaceasinfigure.thevectorisadirectedline segmentfrom(,,)tothepoint(x,x,x ).Wefrequentlyattachanarrowtotheendoftheline segment, at other times we simply connect the line segment to the dot representing the point. Date: February 8, 8.

2 GEOMETRY OF MATRICES FIGURE. VectorinR. 4 x 4 x x..definitionofavectorspace.avectorspaceconsistsofasetvofobjects(calledvectors) togetherwithtwooperations,vectoraddition(assigningavector x+ ytoanyvectors xand yinv) andscalarmultiplication)assigningavector α xor α xtoanyscalar αandavector xinv)such that following eight axioms are satisfied. V: x+ y= y+ x (commutativelawofvectoraddition)

3 GEOMETRY OF MATRICES V:( x+ y)+ z= x+( y+ z (associativelawofvectoraddition) V:ThereisanelementofV,denotedbyor suchthat + x= x+ = x. V4:Foreach xinv,thereisanelement xinv,suchthat x+ x= x+ x=. V:(α + β) x=α x+β x V6: α( x+ y)=α x+α y V7:(α β) x=α(β x) V8: x= xwhereisascalar. Notethatthedefinitionsof+inV.aredifferentandthattherearetwotypesofmultiplication in V Properties of a vector space..4.. Geometric representation of scalar multiplication. A scalar multiple of a vector a, is another vector,sayu,whosecoordinatesarethescalarmultiplesofa scoordinates,u=ca. Considerthe example below. ( ) a =, c = ( ) () 6 u =ca = Geometrically,ascalarmultipleofavectoraisasegmentofthelinethatpassesthroughand aandcontinuesforeverinbothdirections.forexampleifwemultiplythevector(,)by.we obtain(7.,4.)asshowninfigure. 4 x FIGURE. Scalar Multiple of Vector 7.,4.4, x

4 4 GEOMETRY OF MATRICES Ifwemultiplyavectorbyascalarwithanegativesign,thedirectionchangesasinfigure4. FIGURE 4. Negative Scalar Multiple of Vector x, 4 x,.4..geometricrepresentationofadditionofvectors.thesumoftwovectorsaandbisathirdvector whose coordinates are the sums of the corresponding coordinates of a and b. Consider the example below. ( ) ( ) a =, b = ( ) () c =a +b = Geometrically, vector addition can be represented by the parallelogram law which is that the sum vector(a+b) corresponds to the directed line segment along the diagonal of the parallelogram havingaandbassides.anotherwaytosaythisistomoveacopyofthevector a parallelto a sothatits tail restsattheheadofvector b,andletthegeometricalvectorconnectingtheorigin andtheheadofthisshifted a bethevectora+b.yetanotherwaytothinkofthisistomoveinthe directionanddistancedefinedbyafromthetipofb.considerfigurewhere ( ( ) a =, b = ) ( ) () 7 c =a +b = 6

5 GEOMETRY OF MATRICES x FIGURE. Vector Addition 6 7,6 4, c, Copy of a a b x Thecopyofaextendsfromthetipofbtothepoint(7,6). Theparallelogramisformedbyextendingacopyofbfromthetipofawhichalsoendsatthepoint(7,6).Thelinesegmentfromthe origintothispoint,whichisthediagonaloftheparallelogramisthevectorc..4..subspaces. Asubspaceofavectorspaceisasetofvectors(including)thatsatisfiestwo requirements:ifaandbarevectorsinthesubspaceandcisanyscalar,then :a+bisinthesubspace :caisinthesubspace Note that a subspace necessarily contains the zero vector Subspaces and linear combinations. A subspace containing the vectors a and b must contain all linear combinations of a and b..4..columnspaceofamatrix.thecolumnspaceofthem nmatrixaconsistsofalllinearcombinationsofthecolumnsofa.thecombinationscanbewrittenasax.thecolumnspaceofais asubspaceofr m becauseeachofthecolumnsofahasmrows.thesystemofequationsax=bis solvableifandonlyifbisinthecolumnspaceofa.whatthismeansisthatthesystemissolvable ifthereissomewaytowritebasalinearcombinationofthecolumnsofa.considerthefollowing examplewhereaisaxmatrix,xisaxvectorandbisaxvector. A = 4,x = ( x x ) b = b (4) b b

6 6 GEOMETRY OF MATRICES ThematrixAhastwocolumns.LinearcombinationsofthesecolumnswilllieonaplaneinR. AnyvectorsbwhichlieonthisplanecanbewrittenaslinearcombinationsofthecolumnsofA. OthervectorsinR cannotbewritteninthisfashion.forexampleconsiderthevectorb =[,,8]. Thiscanbewrittenasfollows A = ( ) 4 = 8 () 4 + () = () 8 wherethevectorx =[,]. Thevectorb =[,,9]canalsobewrittenasalinearcombinationofthecolumnsofA.Specifically, A = ( ) 4 = 9 () 4 + () = (6) 9 wherex =[,]. Tofindthecoefficientsxthatallowustowriteavectorbasalinearcombinationofthecolumns ofawecanperformrowreductionontheaugmentedmatrix[a,b].forthisexampleweobtain à = 4 (7) 9 Multiplythefirstrowby4toyield andsubtractitfromthesecondrow ( 4 ) 4 4 Thiswillgiveanewmatrixonwhichtooperate. à = (8) 9 Multiplythefirstrowby

7 GEOMETRY OF MATRICES 7 ( 6 ) and subtract from the third row This will give Nowdividethesecondrowby Nowmultiplythesecondrowby 9 6 à = à = (9) () ( ) and subtract from the third row This will give à = () Atthispointwehaveanidentitymatrixintheupperleftandknowthatx =andx =.The thirdequationimpliesthat()(x )+()(x )=.Sothevectorb =[,,9]canbewrittenaslinear combination of the columns of A. Nowconsiderthevectorb =[,,].Writeouttheaugmentedmatrixsystemandperform row operations. Multiplythefirstrowby4 and subtract from the second row à = 4 () ( 4 8 )

8 8 GEOMETRY OF MATRICES This will give Multiplythefirstrowby à = () ( 4 ) and subtract from the third row This will give Nowdividethesecondrowby Nowmultiplythesecondrowby 4 6 à = à = (4) 6 () 6 ( ) and subtract from the third row This will give 6 4 à 4 = Nowmultiplythethirdrowby/4.Thiswillgive (6) 4

9 GEOMETRY OF MATRICES 9 à = / (7) Atthispointwehaveaproblembecausethethirdrowofthematriximpliesthat()(x )+()(x ) =,whichisnotpossible. Considernowthegeneralcasewhereb =[b,b,b]. Theaugmentedmatrixsystemcanbe written à = b 4 b (8) b Multiplythefirstrowby4 and subtract from the second row ( 4 4b ) This will give Multiplythefirstrowby 4 b 4 4b à = b 4b b b 4b (9) b ( b ) and subtract from the third row This will give Nowdividethesecondrowby b b à = à = b b b b 4b () b b b b 4b () b b

10 GEOMETRY OF MATRICES Nowmultiplythesecondrowby ( b 4b ) and subtract from the third row b b b 4b b b +b This will give b à 4 = b 4b () b b +b Wehaveanidentitymatrixintheupperlefthandcorner.Thegeneralsolutionisoftheform x =b b x = b 4b b +b +b = Consider first the case from equation. For this system b = b b = ( ) b, x = b 4b = 8 If we then substitute we obtain ( ) 4 = ( ) () (4) Now consider the case from equation 6 b = b b =, x = b 9 If we then substitute we obtain b +b +b = +8+ = () ( b b 4b ) = ( ) = ( ) (6) b +b +b = +9+6 = (7) Soforthesystemsinequationsand6,thegivenbvectorisinthecolumnspaceofthematrix Aandcanbewrittenasalinearcombinationofthesecolumnswithcoefficients(,)and(,) respectively. For the system in equation we have b = b = b b If we then substitute we obtain, x = ( b b 4b ) = ( ) 8 = ( ) (8) b +b +b = + +4 = (9)

11 GEOMETRY OF MATRICES TheconditionontheelementsofbisnotsatisfiedandsobcannotbewrittenasalinearcombinationofthecolumnspaceofA.Thefirsttwoelementsarecorrectlywrittenascombinationsofthe firsttwoelementsofeachcolumnofa,butthelastelementofthelinearcombinationis6rather than.thatis () 4 + (/) =.4.6.Nullspaceofamatrix.Thenullspaceofanm nmatrixaconsistsofallsolutionstoax=. ThesevectorsxareinR n.theelementsofxarethemultipliersofthecolumnsofawhoseweighted sumgivesthezerovector.thenullspacecontainingthesolutionsxisdenotedbyn(a).thenull spaceisasubspaceofr n whilethecolumnspaceisasubspaceofr m.formanymatrices,theonly solutiontoax=isx=. Ifn>m,thenullspacewillalwayscontainvectorsotherthanx=. Consider a few examples. ( ) :ConsiderthematrixA=.Multiplythefirstrowby 6 ( ) 6 andsubtractitfromthesecondrow Thiswillgivethenewmatrix. Ã = 6 6 ( ) Thisimpliesthatx canbeanything.theconventionistosetitequaltoone.ifx =, thenwehave so x + ()() = x = ( ( ( ( ) + () = ) 6) ) ( ) ThenullspaceofthematrixAisthevector. Allvectorsofthisformwherethe firstelemementis-timesthesecondelementwillmaketheequationax=true. ( ) :ConsiderthematrixA=.Multiplythefirstrowby 4 ( ) 6 andsubtractitfromthesecondrow

12 GEOMETRY OF MATRICES Thiswillgivethenewmatrix. 6 4 à = ( ) Thisimpliesthatx mustbezero.ifx =,thenwehave so x + ()() = x = ( ( ( () + () = ) 4) ) ThenullspaceofthematrixAisthevector equationax=isx=. ( ).Theonlyvectorxthatwillmakethe : Consider the matrix Multiplythefirstrowby A = ( ) andsubtractitfromthesecondrow Thiswillgivethenewmatrix à = Nowmultiplythefirstrowby ( 6 9 ) andsubtractitfromthethirdrow

13 GEOMETRY OF MATRICES Thiswillgivethenewmatrix à = 4 Nowsubtractthesecondrowfromthethirdrow Thiswillgivethenewmatrix. à 4 = Ifwewritethesystemusingà 4 weobtain 4 4 x x x = x 4 Thevariablesx andx 4 canbeanyvaluesbecauseofthezeroesinthepivotcolumns. Theconventionistosetthemequaltozeroandone.Firstwritethesystemwithx =and andx 4 =.Thiswillgive 4 x x = Thisimpliesthatx mustbezero.ifx =,thenwehave 4 x = x + = x =

14 4 GEOMETRY OF MATRICES Thevectorx = the system as follows isinthenullspaceofthematrixaascanbeseenbywritingout ( ) + () 4 + () 8 + () 4 = 6 4 Nowwritethesystemwithx =andandx 4 =.Thiswillgive 4 x x = Thisimpliesthatx +mustbezero.thisimpliesthatx =-.Makingthissubstitution we have 4 x = x +4 = x = The vector isinthenullspaceofthematrixaascanbeseenbywritingoutthe system as follows ( ) + () 4 + ( ) 8 + () 4 = 6 4 Wecanthenwriteageneralxasfollows x =x +x 4 = 4: Consider the matrix Multiplythefirstrowby A = ( 4 6 ) x x 4 x x 4 x 4

15 GEOMETRY OF MATRICES andsubtractitfromthesecondrow Thiswillgivethenewmatrix. Ã = Nowmultiplythefirstrowby ( ) 6 9 andsubtractitfromthethirdrow Thiswillgivethenewmatrix. Ã = Nowmultiplythefirstrowbynegativeoneandsubtractitfromthefourthrow 7 8 Thiswillgivethenewmatrix. Ã 4 = Nowmultiplythesecondrowbyoneandsubtractitfromthethirdrow Thiswillgivethenewmatrix. 8 8

16 6 GEOMETRY OF MATRICES à = 8 8 Nowmultiplythesecondrownegativeoneandsubtractitfromthefourthrow Thiswillgivethenewmatrix. 8 8 à 6 = Ifwewritethesystemusingà 6 weobtain 8 8 x x x x 4 = x +x +x +x 4 = 8x 4 = Thisimpliesthatx 4 =.Thesystemhasthreevartiablesandonlyoneequation.Assume thatx andx arefreevariablesgiventhezeroesinthepivotcolumns.setx =andx = to obtain So the vector system as follows x +x + = x + = x = isinthenullspaceofthematrixaascanbeseenbywritingoutthe ( ) + () () () = 7 Nowsetx =andx =toobtain

17 GEOMETRY OF MATRICES 7 So the vector system as follows.. Basis vectors. ( ) x +x +x = x + = x = isinthenullspaceofthematrixaascanbeseenbywritingoutthe + () () Wecanthenwriteageneralxasfollows x =x +x 6 9 = + () = 7 x x x x...definitionofabasis. Asetofvectorsinavectorspaceisabasisforthatvectorspaceifany vectorinthevectorspacecanbewrittenasalinearcombinationofthem.theminimumnumber ofvectorsneededtoformabasisforr k isk.forexample,inr,weneedtwovectorsoflengthtwo toformabasis.onevectorwouldonlyallowforotherpointsinr thatliealongthelinethrough that vector....exampleforr.considerthefollowingthreevectorsinr a = [ ] a a,a = [ ] a, b = a [ b b ]. () Ifa anda areabasisforr,thenwecanwriteanyarbitraryvectorasalinearcombinationof them.thatiswecanwrite [ ] [ ] [ ] a a b α + α a =. () a b Toseetheconditionsunderwhicha anda formsuchabasiswecansolvethissystemfor α and α asfollows.appendingthecolumnvectorbtothematrixa,weobtaintheaugmented matrixforthesystem.thisiswrittenas [ ] a a à = b () a a b Wecanperformrowoperationsonthismatrixtoreduceittoreducedrowechelonform.Wewill dothisinsteps.thefirststepistodivideeachelementofthefirstrowbya.thiswillgive [ ] a b à = a a () a a b

18 8 GEOMETRY OF MATRICES Nowmultiplythefirstrowbya toyield [ a a a a a b a ] andsubtractitfromthesecondrow a a b a a a a b a a a a a a b a b a Thiswillgiveanewmatrixonwhichtooperate. à = Nowmultiplythesecondrowby [ a a a a a a a a b a b b a a a a a a a toobtain ] à = [ a b a a a b a b a a a a ] (4) Nowmultiplythesecondrowby a a andsubtractitfromthefirstrow.firstmultiplythesecond rowby a a toyield. [ ] a a (a b a b ) a a (a a a a ) () Nowsubtracttheexpressioninequationfromthefirstrowofà toobtainthefollowingrow. [ ] [ a b a a ] [ a a (a b a b ) a = a (a a a a ) ] b a a (a b a b ) a (a a a a ) (6) Nowreplacethefirstrowinà withtheexpressioninequation6ofobtainã 4 à 4 = b a a (a b a b ) a (a a a a ) a b a b a a a a (7) Thiscanbesimplifiedasbyputtingtheupperrighthandtermoveracommondenominator, and canceling like terms as follows

19 GEOMETRY OF MATRICES 9 Ã 4 = = b a a b a a a a a b +a a a b a (a a a a ) b a a a a b a (a a a a ) a b a b a a a a a b a b a a a a (8) = b a a b a a a a a b a b a a a a Wecannowreadoffthesolutionsforx andx.theyare x = b a a b a a a a (9) x = a b a b a a a a Aslongasthisdeterminantisnotzero,wecanwritebasafunctionofa anda.ifthedeterminantofaisnotzero,thena anda arelinearlyindependent.geometricallythismeansthatthey donotlieonthesameline.soinr,anytwovectorsthatpointindifferentdirectionsareabasis for the space....lineardependence.asetofvectorsislinearlydependentifanyoneofthevectorsintheset can be written as a linear combination of the others. The largest number of linearly independent vectorswecanhaveinr k isk...4. Linear independence. A set of vectors is linearly independent if and only if the only solution to is α a + α a + + α k a k = (4) α = α = = α k = (4) Wecanalsowritethisinmatrixform.ThecolumnsofthematrixAareindependentiftheonly solutiontotheequationax=isx=....spanningvectors.thesetofalllinearcombinationsofasetofvectorsisthevectorspace spannedbythosevectors. Bythiswemeanallvectorsinthisspacecanbewrittenasalinear combinationofthisparticularsetofvectors.considerforexamplethefollowingvectorsinr. a =,a =,a = (4)

20 GEOMETRY OF MATRICES Thevectora canbewrittenasa +a.butvectorsinr havinganon-zerothirdelementcannot bewrittenasacombinationofa anda.thesethreevectorsdonotformabasisforr.theyspan thespacethatismadeupofthe floor ofr.similarlythetwovectorsfromequation4makeup abasisforaspacedefinedastheplanepassingthroughthosetwovectors...6.rowspaceofamatrix.therowspaceofthem nmatrixaconsistsofalllinearcombinationsof therowsofa.thecombinationscanbewrittenasx AorA xdependingonwhetheroneconsiders theresultingvectorstoberowsorcolumns.therowspaceofaisasubspaceofr n becauseeachof therowsofahasncolumns.therowspaceofamatrixisthesubspaceofr n spannedbytherows...7.linearindependenceandthebasisforavectorspace.abasisforavectorspacewithkdimensions isanysetofklinearlyindependentvectorsinthatspace...8.formalrelationshipbetweenavectorspaceanditsbasisvectors.abasisforavectorspaceisa sequence of vectors that has two properties simultaneously. : The vectors are linearly independent :Thevectorsspanthespace Therewillbeoneandonlyonewaytowriteanyvectorinagivenvectorspaceasalinear combinationofasetofbasisvectors. Thereareaninfinitenumberofbasisvectorsforagiven space,butonlyonewaytowriteanygivenvectorasalinearcombinationofaparticularbasis...9.basesandinvertiblematrices. Thevectors ξ, ξ,..., ξ n areabasisforr n exactlywhentheyare thecolumnsofann ninvertiblematrix.thereforer n hasinfinitelymanybases,oneassociated with every different invertible matrix....pivotsandbases. Whenreducinganm nmatrixatorow-echelonform,thepivotcolumns formabasisforthecolumnspaceofthematrixa.thepivotrowsformabasisfortherowspaceof the matrix A....Dimensionofavectorspace.Thedimensionofavectorspaceisthenumberofvectorsinevery basis.forexample,thedimensionofr is,whilethedimensionofthevectorspaceconsistingof pointsonaparticularplaneisr isalso....dimensionofasubspaceofavectorspace.thedimensionofasubspacespaces n ofanndimensionalvectorspacev n isthemaximumnumberoflinearlyindependentvectorsinthesubspace.... Rank of a Matrix. :Thenumberofnon-zerorowsintherowechelonformofanm nmatrixaproducedby elementaryoperationsonaiscalledtherankofa. :Therankofanm nmatrixaisthenumberofpivotcolumnsintherowechelonformof A. :Thecolumnrankofanm nmatrixaisthemaximumnumberoflinearlyindependent columns in A. 4:Therowrankofanm nmatrixaisthemaximumnumberoflinearlyindependentrows ina :Thecolumnrankofanm nmatrixaisequaltotherowrankofthem nmatrixa.this commonnumberiscalledtherankofa. 6:Ann nmatrixawithrank=nissaidtobeoffullrank.

21 GEOMETRY OF MATRICES..4.DimensionandRank.Thedimensionofthecolumnspaceofanm nmatrixaequalsthe rankofa,whichalsoequalsthedimensionoftherowspaceofa.thenumberofindependentcolumns ofaequalsthenumberofindependentrowsofa.asstatedearlier,thercolumnscontainingpivotsin therowechelonformofthematrixaformabasisforthecolumnspaceofa....vectorspacesandmatrices.anm nmatrixawithfullcolumnrank(i.e.,therankofthe matrix is equal to the number of columns) has all the following properties. : The n columns are independent :TheonlysolutiontoAx=isx=. :Therankofthematrix=dimensionofthecolumnspace=n 4:Thecolumnsareabasisforthecolumnspace...6. Determinants, Minors, and Rank. Theorem. Therankofanm nmatrixaiskifandonlyifeveryminorinaoforderk +vanishes, whilethereisatleastoneminoroforderkwhichdoesnotvanish. Proposition.Consideranm nmatrixa. :deta=ifeveryminorofordern-vanishes. :Ifeveryminorofordernequalszero,thenthesameholdsfortheminorsofhigherorder. (restatement of theorem): The largest among the orders of the non-zero minors generated byamatrixistherankofthematrix...7.nullityofanm nmatrixa.thenullspaceofanm nmatrixaismadeupofvectorsin R n andisasubspaceofr n.thedimensionofthenullspaceofaiscalledthenullityofa.itisthe the maximum number of linearly independent vectors in the nullspace...8.dimensionofrowspaceandnullspaceofanm nmatrixa. Consideranm nmatrixa.the dimension of the nullspace, the maximum number of linearly independent vectors in the nullspace, plustherankofa,isequalton.specifically, Theorem. rank(a) + nullity(a) = n (4) Proof.Letthevectors ξ, ξ,...,ξ k beabasisforthenullspaceofthem nmatrixa.thisisasubset ofr n withnorlesselements.thesevectorsare,ofcourse,linearlyindependent.thereexistvectors ξ k+, ξ k+,..., ξ n inr n suchthat ξ, ξ,...,ξ k, ξ k+,...,ξ n formabasisforr n.wecanprovethat A ( ξ k+ ξ k+ ξ n ) = ( Aξk+ Aξ k+... Aξ n ) isabasisforthecolumnspaceofa.thevectorsaξ,aξ,...,aξ n spanthecolumnspaceofa because ξ, ξ,...,ξ k, ξ k+,...,ξ n formabasisforr n andthuscertainlyspanr n.becauseaξ j = forj k,weseethataξ k+,aξ k+,...,aξ n alsospanthecolumnspaceofa.specificallyweobtain A ( ξ ξ ξ k ξ k+... ξ n ) = (... Aξk+ Aξ k+... Aξ n ) We need to show that these vectors are independent. Suppose that they are not independent. Thenthereexistscalarsc i suchthat Wecanrewrite44asfollows n c i (A ξ i ) = (44) i=k+

22 GEOMETRY OF MATRICES A ( n i=k+ c i ξ i ) = (4) This imples that the vector n ξ = i=k+ c i ξ i (46) isinthenullspaceofa.because ξ, ξ,...,ξ k formabasisforthenullspaceofa,theremustbe scalars, γ, γ,...,γ k suchthat k ξ = γ i ξ i (47) i= Ifwesubstractoneexpressionfor ξfromtheother,weobtain ξ = k γ i ξ i i= n c i ξ i = (48) j=k+ andbecause ξ, ξ,...,ξ k, ξ k+,..., ξ n arelinearlyindependent,wemusthave γ, = γ =... = γ k =c k+ =c k+ =... =c n = (49) IfristherankofA,thefactthatAξ k+ Aξ k+... Aξ n formabasisforthecolumnspaceofa tellsusthatr=n-k.becausekisthenullityofathenwehave rank(a) + nullity(a) = n n k +k =n ().. Orthogonal vectors.. PROJECTIONS...Definitionoforthogonalvectors.Twovectorsaandbaresaidtobeorthogonaliftheirinner productiszero,thatisifa b =.Geometricallytwovectorsareorthogonaliftheyareperpendicular to each other....exampleinr. Considerthetwounitvectors [ [ a =,b = ] ] a b = [ ] [ ] = () () + () () = Consider two different vectors that are also orthogonal [ [ ] a =,b = ] a b = [ ] [ ] = () ( ) + () () = Wecanrepresentthissecondcasegraphicallyasinfigure6 () ()

23 GEOMETRY OF MATRICES FIGURE6. OrthogonalVectorsinR x,, x...anexampleinr.considerthetwovectors a =,b = a b = [ ] = () () + () () + ( )() = Wecanrepresentthisthreedimensionalcaseasinfigure7oralternativelyasinfigure8. ()..4.AnotherexampleinR.Considerthethreevectors 4 a =,b =,c = c a = [ 4/9 /9 9 ] = ( ) ( ) ( 9 ) ( ) + ( 9 ) ( ) = (4)

24 4 GEOMETRY OF MATRICES FIGURE7. OrthogonalVectorsinR x x x,, Hereaandcareorthogonalbutaandbareobviouslynot.Wecanrepresentthisthreedimensionalcasegraphicallyinfigure9.Notethatthelinesegmentdisparalleltocandperpendicular toa,justascisorthogonaltoa....anotherexampleinr. Considerthefourvectorsbelowwherepisascalarmultipleofa. Wecanseethateisisorthogonaltop. 6 a =,b =,p =,e = 6 e p = [ ] = e a = [ ] = ( ) ( ) ( ) () + andtoa.thisexampleisrepresentedinfigure. + ( ) ( ) 6 () + () () = ( ) () + () () = (6)

25 GEOMETRY OF MATRICES FIGURE8. OrthogonalVectorsinR x,, x x.. Projection onto a line....ideaanddefinitionofaprojection.consideravectorb =[b,b,...b n ]inr n.alsoconsider alinethroughtheorigininr n thatpassesthroughthepointa=[a,a,... a n ]. Toprojectthe vectorontothelinea,wefindthepointonthelinethroughthepointathatisclosesttob. We findthispointonthelinea(callitp)byfindingthelineconnectingbandthelinethroughathat isperpendiculartothelinethrougha.thispointp(whichisonthelinethrougha)willbesome multipleofa,i.e. p=cawherecisascalar. Considerfigure. Theideaistofindthepoint alongthelineathatisclosesttothetipofthevectorb.inotherwords,findthevectorb-pthatis perpendiculartoa.giventhatpcanbewrittenasscalarmultipleofa,thisalsomeansthatb-cais perpendicularororthogonaltoa.thisimpliesthata (b-ca)=,ora b-ca a=.giventhata band a aarescalarswecansolvethisforthescalarcasinequation7. a (b ca) = a b ca a = c = a b =a b a a a a Definition.Theprojectionofthevectorbontothelinethroughaisthevectorp = ca = a b a a a. (7)

26 6 GEOMETRY OF MATRICES FIGURE9. OrthogonalVectorsinR. x.. d a b. x,, c. x...anexample.projectthevectorb =[,,]ontothelinethrougha =[,,]. Firstfindthe scalar needed to construct the projection p. For this case a =,b = a b = [,,] a a = [,,] = = (8) Theprojectionpisthengivenbycaor c = a b a a =

27 GEOMETRY OF MATRICES 7 FIGURE. OrthogonalVectorsinR a b.. p e x x.,,. x p = ca = [ ] = 6 (9) Thedifferencebetweenbandp(theerrorvector,ifyouwill)isb-p.Thisiscomputedasfollows. e = b p = 6 = (6) Wecanthinkofthevectorbasbeingsplitintotwoparts,thepartalongthelinethrougha,that isp,andthepartperpendiculartothelinethrougha,thatise.wecanthenwriteb=p+e.... The projection matrix. We can write the equation for the projection p in another useful fashion.

28 8 GEOMETRY OF MATRICES FIGURE. ProjectionontoaLine a b p b. x. x p.,, e. x p =ac =a a b a a = aa a a b =Pb wherep = aa a a We call the matrix P the projection matrix. (6)..4.Exampleprojectionmatrix.Considerthelinethroughthepointawherea=[,,].Wefind theprojectionmatrixforthislineasfollows.firstfinda a. a =,a a = [,,] = 9 (6) Thenfindaa.

29 GEOMETRY OF MATRICES 9 Then construct P as follows aa = [,,] = P = (6) 4 4 (64) Considertheprojectionofthepointb=[,,]ontothelinethrougha.Weobtain p =Pb This is represented in figure. = = (6) FIGURE. ProjectionontoaLine x.. x. x. b p b e a p,,

30 GEOMETRY OF MATRICES.. Projection onto a more general subspace....ideaanddefinition.consideravectorb =[b,b,...b m ]inr m.thenconsiderasetofnmx vectors a, a,... a n.thegoalistofindthecombinationc a +c a +...+c n a n thatisclosestto the vector b. This is called the projection of vector b onto the n-dimensional subspace spanned by the a s.ifwetreatthevectorsascolumnsofamatrixa,thenwearelookingforthevectorinthe columnspaceofathatisclosesttothevectorb,i.e.,thepointc,suchthatbandacareclosest.we findthepointinthissubspacesuchthattheerrorvectorb-acisperpendiculartothesubspace. Thispointissomelinearcombinationofvectors a, a,... a n..considerfigurewhereweplotthe vectorsa =[,,]anda =[,,]. FIGURE. TwoVectorsinR x. x. a a.. x,,

31 GEOMETRY OF MATRICES ThesubspacespannedbythesetwovectorsisaplaneinR.Theplaneisshowninfigure4. FIGURE4. TwoVectorsonaPlaneinR. a x. a. x.,, x

32 GEOMETRY OF MATRICES Nowconsiderathirdvectorgivenbyb=[6,,].Werepresentthethreevectorsinfigure. FIGURE. AVectorinR notontheplane b x. a a 4 6. x. x.,, Thisvectordoesnotlieinthespacespannedbya anda.theideaistofindthepointinthe subspacespannedbya anda thatisclosesttothepoint(6,,).theerrorvectore=b-acwillbe perpendiculartothesubspace.infigure6thevector(labeleda )inthespacespannedbya and a thatisclosesttothepointbisdrawn.thediagramalsoshowsthevectorb-a....formulafortheprojectionpandtheprojectionmatrixp.theerrorvectore=b-acwillbe orthogonaltoeachofthevectorsinthecolumnspaceofa,i.e.,itwillbeorthogonalto a, a,... a n. Wecanwritethisasnseparateconditionsasfollows. a (b Ac) = a (b Ac) =. a n(b Ac) = (66) Wecanalsowritethisasamatrixequationinthefollowingmanner.

33 GEOMETRY OF MATRICES FIGURE 6. Projection onto a Subspace 6 x 4 x.. a a,, a b p b. x. A (b Ac) = A b A Ac = A Ac =A b Equation67canthenbesolvedforthecoefficientscbyfindingtheinverseofA A.Thisisgiven by (67) Theprojectionp=Acisthen A Ac =A b c = (A A) A b (68) p =Ac Theprojectionmatrixthatproducesp=Pbis =A(A A) A b (69) P = A(A A) A (7) Givenanym nmatrixaandanyvectorbinr m,wecanfindtheprojectionofbontothe columnspaceofabypremultiplyingthevectorbbythisprojectionmatrix.thevectorbissplitinto

34 4 GEOMETRY OF MATRICES twocomponentsbytheprojection.thefirstcomponentisthevectorpwhichliesinthesubspace spannedbythecolumnsoftheamatrix. Thesecondcomponentisthevectore,whichisthe differencebetweenpandb.theideaisthatwegettobbyfirstgettingtopandthenmovingina perpendiculardirectionfromptobasinfigure6....example.projectthevectorb =[6,,]ontothespacespannedbythevectorsa =[,,]and a =[,,].Thematricesareasfollows. A = A AandA Bareasfollows,A = [ ],b = [ ] A A = [ ] = [ ] A b = 6 [ 6 = ] TocomputecweneedtofindtheinverseofA A.Wecandosoasfollows Wecannowsolveforc (A A) = TheprojectionpisthengivenbyAc = [ ] = [ 6 ] [ ] 6 (7) (7) (7) [ 6 c = (A A) A ] [6 ] b = [ ] (74) = andwhilee=b-pis p =Ac = = [ ] (7)

35 GEOMETRY OF MATRICES e =b p = 6 = (76) Thissolvestheproblemforthisparticularvectorb.Forthemoregeneralproblemisitusefulto construct the projection matrix P. P =A (A A) A = [ 6 ] [ ] 6 [ ] = = Noticethateisperpendiculartobotha anda. a e = [,, ] a e = [,, ] = = Wecanthinkofthevectorbasbeingsplitintotwoparts,thepartinthespacespannedbythe columnsofa,thatisp,andthepartperpendiculartothissubspace,thatise.wecanthenwriteb =p+e.alsonotethatpb=p Pb =p 6 =.4. Projections, linear independence, and inverses. To find the coefficients c, the projection p, andtheprojectionmatrixp,weneedtobeabletoinvertthematrix,a A. Theorem.ThematrixA AisinvertibleifandonlyifthecolumnsofAarelinearlyindependent. (77) (78) (79)

GEOMETRY OF MATRICES x 1

GEOMETRY OF MATRICES x 1 GEOMETRY OF MATRICES. SPACES OF VECTORS.. Definition of R n. The space R n consists of all column vectors with n components. The components are real numbers... Representation of Vectors in R n.... R. The

More information

Math 313 Chapter 5 Review

Math 313 Chapter 5 Review Math 313 Chapter 5 Review Howard Anton, 9th Edition May 2010 Do NOT write on me! Contents 1 5.1 Real Vector Spaces 2 2 5.2 Subspaces 3 3 5.3 Linear Independence 4 4 5.4 Basis and Dimension 5 5 5.5 Row

More information

is Use at most six elementary row operations. (Partial

is Use at most six elementary row operations. (Partial MATH 235 SPRING 2 EXAM SOLUTIONS () (6 points) a) Show that the reduced row echelon form of the augmented matrix of the system x + + 2x 4 + x 5 = 3 x x 3 + x 4 + x 5 = 2 2x + 2x 3 2x 4 x 5 = 3 is. Use

More information

Chapter 6. Orthogonality

Chapter 6. Orthogonality 6.4 The Projection Matrix 1 Chapter 6. Orthogonality 6.4 The Projection Matrix Note. In Section 6.1 (Projections), we projected a vector b R n onto a subspace W of R n. We did so by finding a basis for

More information

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015 Solutions to Final Practice Problems Written by Victoria Kala vtkala@math.ucsb.edu Last updated /5/05 Answers This page contains answers only. See the following pages for detailed solutions. (. (a x. See

More information

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible. MATH 2331 Linear Algebra Section 2.1 Matrix Operations Definition: A : m n, B : n p ( 1 2 p ) ( 1 2 p ) AB = A b b b = Ab Ab Ab Example: Compute AB, if possible. 1 Row-column rule: i-j-th entry of AB:

More information

Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007

Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007 Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007 You have 1 hour and 20 minutes. No notes, books, or other references. You are permitted to use Maple during this exam, but you must start with a blank

More information

Linear Algebra V = T = ( 4 3 ).

Linear Algebra V = T = ( 4 3 ). Linear Algebra Vectors A column vector is a list of numbers stored vertically The dimension of a column vector is the number of values in the vector W is a -dimensional column vector and V is a 5-dimensional

More information

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th. Elementary Linear Algebra Review for Exam Exam is Monday, November 6th. The exam will cover sections:.4,..4, 5. 5., 7., the class notes on Markov Models. You must be able to do each of the following. Section.4

More information

2. Every linear system with the same number of equations as unknowns has a unique solution.

2. Every linear system with the same number of equations as unknowns has a unique solution. 1. For matrices A, B, C, A + B = A + C if and only if A = B. 2. Every linear system with the same number of equations as unknowns has a unique solution. 3. Every linear system with the same number of equations

More information

Lecture: Linear algebra. 4. Solutions of linear equation systems The fundamental theorem of linear algebra

Lecture: Linear algebra. 4. Solutions of linear equation systems The fundamental theorem of linear algebra Lecture: Linear algebra. 1. Subspaces. 2. Orthogonal complement. 3. The four fundamental subspaces 4. Solutions of linear equation systems The fundamental theorem of linear algebra 5. Determining the fundamental

More information

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015 Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 205. If A is a 3 3 triangular matrix, explain why det(a) is equal to the product of entries on the diagonal. If A is a lower triangular or diagonal

More information

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued) 1 A linear system of equations of the form Sections 75, 78 & 81 a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2 a m1 x 1 + a m2 x 2 + + a mn x n = b m can be written in matrix

More information

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax = . (5 points) (a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? dim N(A), since rank(a) 3. (b) If we also know that Ax = has no solution, what do we know about the rank of A? C(A)

More information

Conceptual Questions for Review

Conceptual Questions for Review Conceptual Questions for Review Chapter 1 1.1 Which vectors are linear combinations of v = (3, 1) and w = (4, 3)? 1.2 Compare the dot product of v = (3, 1) and w = (4, 3) to the product of their lengths.

More information

2018 Fall 2210Q Section 013 Midterm Exam II Solution

2018 Fall 2210Q Section 013 Midterm Exam II Solution 08 Fall 0Q Section 0 Midterm Exam II Solution True or False questions points 0 0 points) ) Let A be an n n matrix. If the equation Ax b has at least one solution for each b R n, then the solution is unique

More information

Linear Algebra Review. Vectors

Linear Algebra Review. Vectors Linear Algebra Review 9/4/7 Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa (UCSD) Cogsci 8F Linear Algebra review Vectors

More information

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS LINEAR ALGEBRA, -I PARTIAL EXAM SOLUTIONS TO PRACTICE PROBLEMS Problem (a) For each of the two matrices below, (i) determine whether it is diagonalizable, (ii) determine whether it is orthogonally diagonalizable,

More information

ft-uiowa-math2550 Assignment OptionalFinalExamReviewMultChoiceMEDIUMlengthForm due 12/31/2014 at 10:36pm CST

ft-uiowa-math2550 Assignment OptionalFinalExamReviewMultChoiceMEDIUMlengthForm due 12/31/2014 at 10:36pm CST me me ft-uiowa-math255 Assignment OptionalFinalExamReviewMultChoiceMEDIUMlengthForm due 2/3/2 at :3pm CST. ( pt) Library/TCNJ/TCNJ LinearSystems/problem3.pg Give a geometric description of the following

More information

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3 Answers in blue. If you have questions or spot an error, let me know. 3 4. Find all matrices that commute with A =. 4 3 a b If we set B = and set AB = BA, we see that 3a + 4b = 3a 4c, 4a + 3b = 3b 4d,

More information

PRACTICE PROBLEMS FOR THE FINAL

PRACTICE PROBLEMS FOR THE FINAL PRACTICE PROBLEMS FOR THE FINAL Here are a slew of practice problems for the final culled from old exams:. Let P be the vector space of polynomials of degree at most. Let B = {, (t ), t + t }. (a) Show

More information

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008 Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008 Exam 2 will be held on Tuesday, April 8, 7-8pm in 117 MacMillan What will be covered The exam will cover material from the lectures

More information

Definitions for Quizzes

Definitions for Quizzes Definitions for Quizzes Italicized text (or something close to it) will be given to you. Plain text is (an example of) what you should write as a definition. [Bracketed text will not be given, nor does

More information

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions YORK UNIVERSITY Faculty of Science Department of Mathematics and Statistics MATH 222 3. M Test # July, 23 Solutions. For each statement indicate whether it is always TRUE or sometimes FALSE. Note: For

More information

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015 Final Review Written by Victoria Kala vtkala@mathucsbedu SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015 Summary This review contains notes on sections 44 47, 51 53, 61, 62, 65 For your final,

More information

4.9 The Rank-Nullity Theorem

4.9 The Rank-Nullity Theorem For Problems 7 10, use the ideas in this section to determine a basis for the subspace of R n spanned by the given set of vectors. 7. {(1, 1, 2), (5, 4, 1), (7, 5, 4)}. 8. {(1, 3, 3), (1, 5, 1), (2, 7,

More information

MODULE 8 Topics: Null space, range, column space, row space and rank of a matrix

MODULE 8 Topics: Null space, range, column space, row space and rank of a matrix MODULE 8 Topics: Null space, range, column space, row space and rank of a matrix Definition: Let L : V 1 V 2 be a linear operator. The null space N (L) of L is the subspace of V 1 defined by N (L) = {x

More information

Algorithms to Compute Bases and the Rank of a Matrix

Algorithms to Compute Bases and the Rank of a Matrix Algorithms to Compute Bases and the Rank of a Matrix Subspaces associated to a matrix Suppose that A is an m n matrix The row space of A is the subspace of R n spanned by the rows of A The column space

More information

18.06 Problem Set 3 Solution Due Wednesday, 25 February 2009 at 4 pm in Total: 160 points.

18.06 Problem Set 3 Solution Due Wednesday, 25 February 2009 at 4 pm in Total: 160 points. 8.6 Problem Set 3 Solution Due Wednesday, 25 February 29 at 4 pm in 2-6. Total: 6 points. Problem : Consider the matrix A = 2 4 2 6 3 4 2 7 (a) Reduce A to echelon form U, find a special solution for each

More information

SUMMARY OF MATH 1600

SUMMARY OF MATH 1600 SUMMARY OF MATH 1600 Note: The following list is intended as a study guide for the final exam. It is a continuation of the study guide for the midterm. It does not claim to be a comprehensive list. You

More information

1. General Vector Spaces

1. General Vector Spaces 1.1. Vector space axioms. 1. General Vector Spaces Definition 1.1. Let V be a nonempty set of objects on which the operations of addition and scalar multiplication are defined. By addition we mean a rule

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017 Math 4A Notes Written by Victoria Kala vtkala@math.ucsb.edu Last updated June 11, 2017 Systems of Linear Equations A linear equation is an equation that can be written in the form a 1 x 1 + a 2 x 2 +...

More information

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB Glossary of Linear Algebra Terms Basis (for a subspace) A linearly independent set of vectors that spans the space Basic Variable A variable in a linear system that corresponds to a pivot column in the

More information

4 ORTHOGONALITY ORTHOGONALITY OF THE FOUR SUBSPACES 4.1

4 ORTHOGONALITY ORTHOGONALITY OF THE FOUR SUBSPACES 4.1 4 ORTHOGONALITY ORTHOGONALITY OF THE FOUR SUBSPACES 4.1 Two vectors are orthogonal when their dot product is zero: v w = orv T w =. This chapter moves up a level, from orthogonal vectors to orthogonal

More information

Math Final December 2006 C. Robinson

Math Final December 2006 C. Robinson Math 285-1 Final December 2006 C. Robinson 2 5 8 5 1 2 0-1 0 1. (21 Points) The matrix A = 1 2 2 3 1 8 3 2 6 has the reduced echelon form U = 0 0 1 2 0 0 0 0 0 1. 2 6 1 0 0 0 0 0 a. Find a basis for the

More information

CS 143 Linear Algebra Review

CS 143 Linear Algebra Review CS 143 Linear Algebra Review Stefan Roth September 29, 2003 Introductory Remarks This review does not aim at mathematical rigor very much, but instead at ease of understanding and conciseness. Please see

More information

[3] (b) Find a reduced row-echelon matrix row-equivalent to ,1 2 2

[3] (b) Find a reduced row-echelon matrix row-equivalent to ,1 2 2 MATH Key for sample nal exam, August 998 []. (a) Dene the term \reduced row-echelon matrix". A matrix is reduced row-echelon if the following conditions are satised. every zero row lies below every nonzero

More information

Lecture 13: Orthogonal projections and least squares (Section ) Thang Huynh, UC San Diego 2/9/2018

Lecture 13: Orthogonal projections and least squares (Section ) Thang Huynh, UC San Diego 2/9/2018 Lecture 13: Orthogonal projections and least squares (Section 3.2-3.3) Thang Huynh, UC San Diego 2/9/2018 Orthogonal projection onto subspaces Theorem. Let W be a subspace of R n. Then, each x in R n can

More information

Matrix invertibility. Rank-Nullity Theorem: For any n-column matrix A, nullity A +ranka = n

Matrix invertibility. Rank-Nullity Theorem: For any n-column matrix A, nullity A +ranka = n Matrix invertibility Rank-Nullity Theorem: For any n-column matrix A, nullity A +ranka = n Corollary: Let A be an R C matrix. Then A is invertible if and only if R = C and the columns of A are linearly

More information

EE263: Introduction to Linear Dynamical Systems Review Session 2

EE263: Introduction to Linear Dynamical Systems Review Session 2 EE263: Introduction to Linear Dynamical Systems Review Session 2 Basic concepts from linear algebra nullspace range rank and conservation of dimension EE263 RS2 1 Prerequisites We assume that you are familiar

More information

Lecture Summaries for Linear Algebra M51A

Lecture Summaries for Linear Algebra M51A These lecture summaries may also be viewed online by clicking the L icon at the top right of any lecture screen. Lecture Summaries for Linear Algebra M51A refers to the section in the textbook. Lecture

More information

Row Space and Column Space of a Matrix

Row Space and Column Space of a Matrix Row Space and Column Space of a Matrix 1/18 Summary: To a m n matrix A = (a ij ), we can naturally associate subspaces of K n and of K m, called the row space of A and the column space of A, respectively.

More information

The geometry of least squares

The geometry of least squares The geometry of least squares We can think of a vector as a point in space, where the elements of the vector are the coordinates of the point. Consider for example, the following vector s: t = ( 4, 0),

More information

Study Guide for Linear Algebra Exam 2

Study Guide for Linear Algebra Exam 2 Study Guide for Linear Algebra Exam 2 Term Vector Space Definition A Vector Space is a nonempty set V of objects, on which are defined two operations, called addition and multiplication by scalars (real

More information

Math 1553, Introduction to Linear Algebra

Math 1553, Introduction to Linear Algebra Learning goals articulate what students are expected to be able to do in a course that can be measured. This course has course-level learning goals that pertain to the entire course, and section-level

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2 MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS SYSTEMS OF EQUATIONS AND MATRICES Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

CSL361 Problem set 4: Basic linear algebra

CSL361 Problem set 4: Basic linear algebra CSL361 Problem set 4: Basic linear algebra February 21, 2017 [Note:] If the numerical matrix computations turn out to be tedious, you may use the function rref in Matlab. 1 Row-reduced echelon matrices

More information

Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε,

Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε, 2. REVIEW OF LINEAR ALGEBRA 1 Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε, where Y n 1 response vector and X n p is the model matrix (or design matrix ) with one row for

More information

Math Linear Algebra Final Exam Review Sheet

Math Linear Algebra Final Exam Review Sheet Math 15-1 Linear Algebra Final Exam Review Sheet Vector Operations Vector addition is a component-wise operation. Two vectors v and w may be added together as long as they contain the same number n of

More information

Math 407: Linear Optimization

Math 407: Linear Optimization Math 407: Linear Optimization Lecture 16: The Linear Least Squares Problem II Math Dept, University of Washington February 28, 2018 Lecture 16: The Linear Least Squares Problem II (Math Dept, University

More information

Math 265 Linear Algebra Sample Spring 2002., rref (A) =

Math 265 Linear Algebra Sample Spring 2002., rref (A) = Math 265 Linear Algebra Sample Spring 22. It is given that A = rref (A T )= 2 3 5 3 2 6, rref (A) = 2 3 and (a) Find the rank of A. (b) Find the nullityof A. (c) Find a basis for the column space of A.

More information

MATH 2360 REVIEW PROBLEMS

MATH 2360 REVIEW PROBLEMS MATH 2360 REVIEW PROBLEMS Problem 1: In (a) (d) below, either compute the matrix product or indicate why it does not exist: ( )( ) 1 2 2 1 (a) 0 1 1 2 ( ) 0 1 2 (b) 0 3 1 4 3 4 5 2 5 (c) 0 3 ) 1 4 ( 1

More information

Row Space, Column Space, and Nullspace

Row Space, Column Space, and Nullspace Row Space, Column Space, and Nullspace MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Introduction Every matrix has associated with it three vector spaces: row space

More information

I.1 Multiplication Ax Using Columns of A

I.1 Multiplication Ax Using Columns of A 2 Highlights of Linear Algebra I. Multiplication Ax Using Columns of A We hope you already know some linear algebra. It is a beautiful subject more useful to more people than calculus (in our quiet opinion).

More information

Lecture 3q Bases for Row(A), Col(A), and Null(A) (pages )

Lecture 3q Bases for Row(A), Col(A), and Null(A) (pages ) Lecture 3q Bases for Row(A), Col(A), and Null(A) (pages 57-6) Recall that the basis for a subspace S is a set of vectors that both spans S and is linearly independent. Moreover, we saw in section 2.3 that

More information

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION MATH (LINEAR ALGEBRA ) FINAL EXAM FALL SOLUTIONS TO PRACTICE VERSION Problem (a) For each matrix below (i) find a basis for its column space (ii) find a basis for its row space (iii) determine whether

More information

x 1 + 2x 2 + 3x 3 = 0 x 1 + 2x 2 + 3x 3 = 0, x 2 + x 3 = 0 x 3 3 x 3 1

x 1 + 2x 2 + 3x 3 = 0 x 1 + 2x 2 + 3x 3 = 0, x 2 + x 3 = 0 x 3 3 x 3 1 . Orthogonal Complements and Projections In this section we discuss orthogonal complements and orthogonal projections. The orthogonal complement of a subspace S is the complement that is orthogonal to

More information

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show MTH 0: Linear Algebra Department of Mathematics and Statistics Indian Institute of Technology - Kanpur Problem Set Problems marked (T) are for discussions in Tutorial sessions (T) If A is an m n matrix,

More information

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices Graphics 2009/2010, period 1 Lecture 4 Matrices m n matrices Matrices Definitions Diagonal, Identity, and zero matrices Addition Multiplication Transpose and inverse The system of m linear equations in

More information

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det What is the determinant of the following matrix? 3 4 3 4 3 4 4 3 A 0 B 8 C 55 D 0 E 60 If det a a a 3 b b b 3 c c c 3 = 4, then det a a 4a 3 a b b 4b 3 b c c c 3 c = A 8 B 6 C 4 D E 3 Let A be an n n matrix

More information

ELE/MCE 503 Linear Algebra Facts Fall 2018

ELE/MCE 503 Linear Algebra Facts Fall 2018 ELE/MCE 503 Linear Algebra Facts Fall 2018 Fact N.1 A set of vectors is linearly independent if and only if none of the vectors in the set can be written as a linear combination of the others. Fact N.2

More information

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

MATH 240 Spring, Chapter 1: Linear Equations and Matrices MATH 240 Spring, 2006 Chapter Summaries for Kolman / Hill, Elementary Linear Algebra, 8th Ed. Sections 1.1 1.6, 2.1 2.2, 3.2 3.8, 4.3 4.5, 5.1 5.3, 5.5, 6.1 6.5, 7.1 7.2, 7.4 DEFINITIONS Chapter 1: Linear

More information

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian FE661 - Statistical Methods for Financial Engineering 2. Linear algebra Jitkomut Songsiri matrices and vectors linear equations range and nullspace of matrices function of vectors, gradient and Hessian

More information

Lecture 21: 5.6 Rank and Nullity

Lecture 21: 5.6 Rank and Nullity Lecture 21: 5.6 Rank and Nullity Wei-Ta Chu 2008/12/5 Rank and Nullity Definition The common dimension of the row and column space of a matrix A is called the rank ( 秩 ) of A and is denoted by rank(a);

More information

MATH 1553, Intro to Linear Algebra FINAL EXAM STUDY GUIDE

MATH 1553, Intro to Linear Algebra FINAL EXAM STUDY GUIDE MATH 553, Intro to Linear Algebra FINAL EXAM STUDY GUIDE In studying for the final exam, you should FIRST study all tests andquizzeswehave had this semester (solutions can be found on Canvas). Then go

More information

Lecture notes: Applied linear algebra Part 1. Version 2

Lecture notes: Applied linear algebra Part 1. Version 2 Lecture notes: Applied linear algebra Part 1. Version 2 Michael Karow Berlin University of Technology karow@math.tu-berlin.de October 2, 2008 1 Notation, basic notions and facts 1.1 Subspaces, range and

More information

Properties of Matrices and Operations on Matrices

Properties of Matrices and Operations on Matrices Properties of Matrices and Operations on Matrices A common data structure for statistical analysis is a rectangular array or matris. Rows represent individual observational units, or just observations,

More information

Matrix Operations: Determinant

Matrix Operations: Determinant Matrix Operations: Determinant Determinants Determinants are only applicable for square matrices. Determinant of the square matrix A is denoted as: det(a) or A Recall that the absolute value of the determinant

More information

Lecture 6: Geometry of OLS Estimation of Linear Regession

Lecture 6: Geometry of OLS Estimation of Linear Regession Lecture 6: Geometry of OLS Estimation of Linear Regession Xuexin Wang WISE Oct 2013 1 / 22 Matrix Algebra An n m matrix A is a rectangular array that consists of nm elements arranged in n rows and m columns

More information

Problem # Max points possible Actual score Total 120

Problem # Max points possible Actual score Total 120 FINAL EXAMINATION - MATH 2121, FALL 2017. Name: ID#: Email: Lecture & Tutorial: Problem # Max points possible Actual score 1 15 2 15 3 10 4 15 5 15 6 15 7 10 8 10 9 15 Total 120 You have 180 minutes to

More information

Dot Products, Transposes, and Orthogonal Projections

Dot Products, Transposes, and Orthogonal Projections Dot Products, Transposes, and Orthogonal Projections David Jekel November 13, 2015 Properties of Dot Products Recall that the dot product or standard inner product on R n is given by x y = x 1 y 1 + +

More information

Linear Algebra Review

Linear Algebra Review Linear Algebra Review ORIE 4741 September 1, 2017 Linear Algebra Review September 1, 2017 1 / 33 Outline 1 Linear Independence and Dependence 2 Matrix Rank 3 Invertible Matrices 4 Norms 5 Projection Matrix

More information

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP) MATH 20F: LINEAR ALGEBRA LECTURE B00 (T KEMP) Definition 01 If T (x) = Ax is a linear transformation from R n to R m then Nul (T ) = {x R n : T (x) = 0} = Nul (A) Ran (T ) = {Ax R m : x R n } = {b R m

More information

Chapter 1. Vectors, Matrices, and Linear Spaces

Chapter 1. Vectors, Matrices, and Linear Spaces 1.6 Homogeneous Systems, Subspaces and Bases 1 Chapter 1. Vectors, Matrices, and Linear Spaces 1.6. Homogeneous Systems, Subspaces and Bases Note. In this section we explore the structure of the solution

More information

EE731 Lecture Notes: Matrix Computations for Signal Processing

EE731 Lecture Notes: Matrix Computations for Signal Processing EE731 Lecture Notes: Matrix Computations for Signal Processing James P. Reilly c Department of Electrical and Computer Engineering McMaster University September 22, 2005 0 Preface This collection of ten

More information

LINEAR ALGEBRA REVIEW

LINEAR ALGEBRA REVIEW LINEAR ALGEBRA REVIEW SPENCER BECKER-KAHN Basic Definitions Domain and Codomain. Let f : X Y be any function. This notation means that X is the domain of f and Y is the codomain of f. This means that for

More information

Review of Some Concepts from Linear Algebra: Part 2

Review of Some Concepts from Linear Algebra: Part 2 Review of Some Concepts from Linear Algebra: Part 2 Department of Mathematics Boise State University January 16, 2019 Math 566 Linear Algebra Review: Part 2 January 16, 2019 1 / 22 Vector spaces A set

More information

(1) for all (2) for all and all

(1) for all (2) for all and all 8. Linear mappings and matrices A mapping f from IR n to IR m is called linear if it fulfills the following two properties: (1) for all (2) for all and all Mappings of this sort appear frequently in the

More information

Upon successful completion of MATH 220, the student will be able to:

Upon successful completion of MATH 220, the student will be able to: MATH 220 Matrices Upon successful completion of MATH 220, the student will be able to: 1. Identify a system of linear equations (or linear system) and describe its solution set 2. Write down the coefficient

More information

Chapter 2. General Vector Spaces. 2.1 Real Vector Spaces

Chapter 2. General Vector Spaces. 2.1 Real Vector Spaces Chapter 2 General Vector Spaces Outline : Real vector spaces Subspaces Linear independence Basis and dimension Row Space, Column Space, and Nullspace 2 Real Vector Spaces 2 Example () Let u and v be vectors

More information

Math 3191 Applied Linear Algebra

Math 3191 Applied Linear Algebra Math 191 Applied Linear Algebra Lecture 1: Inner Products, Length, Orthogonality Stephen Billups University of Colorado at Denver Math 191Applied Linear Algebra p.1/ Motivation Not all linear systems have

More information

A SHORT SUMMARY OF VECTOR SPACES AND MATRICES

A SHORT SUMMARY OF VECTOR SPACES AND MATRICES A SHORT SUMMARY OF VECTOR SPACES AND MATRICES This is a little summary of some of the essential points of linear algebra we have covered so far. If you have followed the course so far you should have no

More information

Pseudoinverse & Moore-Penrose Conditions

Pseudoinverse & Moore-Penrose Conditions ECE 275AB Lecture 7 Fall 2008 V1.0 c K. Kreutz-Delgado, UC San Diego p. 1/1 Lecture 7 ECE 275A Pseudoinverse & Moore-Penrose Conditions ECE 275AB Lecture 7 Fall 2008 V1.0 c K. Kreutz-Delgado, UC San Diego

More information

Matrix Basic Concepts

Matrix Basic Concepts Matrix Basic Concepts Topics: What is a matrix? Matrix terminology Elements or entries Diagonal entries Address/location of entries Rows and columns Size of a matrix A column matrix; vectors Special types

More information

2. (10 pts) How many vectors are in the null space of the matrix A = 0 1 1? (i). Zero. (iv). Three. (ii). One. (v).

2. (10 pts) How many vectors are in the null space of the matrix A = 0 1 1? (i). Zero. (iv). Three. (ii). One. (v). Exam 3 MAS 3105 Applied Linear Algebra, Spring 2018 (Clearly!) Print Name: Apr 10, 2018 Read all of what follows carefully before starting! 1. This test has 7 problems and is worth 110 points. Please be

More information

7. Dimension and Structure.

7. Dimension and Structure. 7. Dimension and Structure 7.1. Basis and Dimension Bases for Subspaces Example 2 The standard unit vectors e 1, e 2,, e n are linearly independent, for if we write (2) in component form, then we obtain

More information

Review: Linear and Vector Algebra

Review: Linear and Vector Algebra Review: Linear and Vector Algebra Points in Euclidean Space Location in space Tuple of n coordinates x, y, z, etc Cannot be added or multiplied together Vectors: Arrows in Space Vectors are point changes

More information

Control Systems. Linear Algebra topics. L. Lanari

Control Systems. Linear Algebra topics. L. Lanari Control Systems Linear Algebra topics L Lanari outline basic facts about matrices eigenvalues - eigenvectors - characteristic polynomial - algebraic multiplicity eigenvalues invariance under similarity

More information

Announcements Monday, October 29

Announcements Monday, October 29 Announcements Monday, October 29 WeBWorK on determinents due on Wednesday at :59pm. The quiz on Friday covers 5., 5.2, 5.3. My office is Skiles 244 and Rabinoffice hours are: Mondays, 2 pm; Wednesdays,

More information

Midterm 1 Solutions Math Section 55 - Spring 2018 Instructor: Daren Cheng

Midterm 1 Solutions Math Section 55 - Spring 2018 Instructor: Daren Cheng Midterm 1 Solutions Math 20250 Section 55 - Spring 2018 Instructor: Daren Cheng #1 Do the following problems using row reduction. (a) (6 pts) Let A = 2 1 2 6 1 3 8 17 3 5 4 5 Find bases for N A and R A,

More information

NAME MATH 304 Examination 2 Page 1

NAME MATH 304 Examination 2 Page 1 NAME MATH 4 Examination 2 Page. [8 points (a) Find the following determinant. However, use only properties of determinants, without calculating directly (that is without expanding along a column or row

More information

Linear Algebra Primer

Linear Algebra Primer Linear Algebra Primer David Doria daviddoria@gmail.com Wednesday 3 rd December, 2008 Contents Why is it called Linear Algebra? 4 2 What is a Matrix? 4 2. Input and Output.....................................

More information

Linear Algebra Formulas. Ben Lee

Linear Algebra Formulas. Ben Lee Linear Algebra Formulas Ben Lee January 27, 2016 Definitions and Terms Diagonal: Diagonal of matrix A is a collection of entries A ij where i = j. Diagonal Matrix: A matrix (usually square), where entries

More information

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013 Math Exam Sample Problems Solution Guide October, Note that the following provides a guide to the solutions on the sample problems, but in some cases the complete solution would require more work or justification

More information

Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTORS

Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTORS CS131 Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTRS Vectors in two and three dimensional space are defined to be members of the sets R 2 and R 3 defined by: R 2 = {(x,

More information

Assignment 1 Math 5341 Linear Algebra Review. Give complete answers to each of the following questions. Show all of your work.

Assignment 1 Math 5341 Linear Algebra Review. Give complete answers to each of the following questions. Show all of your work. Assignment 1 Math 5341 Linear Algebra Review Give complete answers to each of the following questions Show all of your work Note: You might struggle with some of these questions, either because it has

More information

Linear Algebra (MATH ) Spring 2011 Final Exam Practice Problem Solutions

Linear Algebra (MATH ) Spring 2011 Final Exam Practice Problem Solutions Linear Algebra (MATH 4) Spring 2 Final Exam Practice Problem Solutions Instructions: Try the following on your own, then use the book and notes where you need help. Afterwards, check your solutions with

More information

Chapter 2 Subspaces of R n and Their Dimensions

Chapter 2 Subspaces of R n and Their Dimensions Chapter 2 Subspaces of R n and Their Dimensions Vector Space R n. R n Definition.. The vector space R n is a set of all n-tuples (called vectors) x x 2 x =., where x, x 2,, x n are real numbers, together

More information

Linear Algebra. Min Yan

Linear Algebra. Min Yan Linear Algebra Min Yan January 2, 2018 2 Contents 1 Vector Space 7 1.1 Definition................................. 7 1.1.1 Axioms of Vector Space..................... 7 1.1.2 Consequence of Axiom......................

More information