




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





You already know the formula for matrix vector multiplication Nevertheless the purp ose of this rst lecture is to describ e a way of interpreting such pro d ucts that may b e less familiar If b Ax then b is a linear combination of the columns of A
Let x b e an n dimensional column vector and let A b e an m n matrix m rows n columns Then the matrix vector pro duct b Ax is an m dimensional column vector dened as follows
bi
j
aij xj i m
Here bi denotes the ith entry of b aij denotes the i j entry of A ith row j th column and xj denotes the j th entry of x For simplicity we assume in all but a few lectures of this b o ok that quantities such as these b elong to C the eld of complex numb ers The space of m vectors is Cm^ and the space of m n matrices is Cm n^ The map x Ax is linear which means that for any x y Cn^ and any C
Ax y Ax Ay Ax Ax
Part I Fundamentals
Conversely every linear map from Cn^ to Cm^ can b e expressed as multiplication by an m n matrix
Let aj denote the j th column of A an m vector Then can b e rewritten
b Ax
j
xj aj
This equation can b e displayed schematically as follows
b
a a an
x x xn
a
x
a
xn
an
In b is expressed as a linear combination of the columns aj Nothing but a slight change of notation has o ccurred in going from to Yet thinking of Ax in terms of the form is essential for a prop er understanding of the algorithms of numerical linear algebra One way to summarize these di erent ways of viewing matrix vector pro d ucts is like this As mathematicians we are used to viewing the formula Ax b as a statement that A acts on x to pro duce b The formula by contrast suggests the interpretation that x acts on A to pro duce b
Example Fix a sequence of numb ers fx xm g If p and q are p olyno mials of degree n and is a scalar then p q and p are also p olynomials of degree n Moreover the values of these p olynomials at the p oints xi satisfy the following linearity prop erties
p q xi pxi q xi pxi pxi
Thus the map from vectors of co ecients of p olynomials p of degree n to vectors px px pxm of sampled p olynomial values is linear Any linear map can b e expressed as multiplication by a matrix this is an example In fact it is expressed by an m n Vandermonde matrix
x x xn x x xn
xm x m xn m
Part I Fundamentals
and b ecomes
bj Acj
k
ck j ak
Thus bj is a linear combination of the columns ak with co ecients ck j
Example A simple example of a matrix matrix pro duct is the outer product This is the pro duct of an m dimensional column vector u with an n dimensional row vector v the result is an m n matrix of rank The outer pro duct can b e written
u
v v vn
v u v u vn u
v u vn u
v um vn um
The columns are all multiples of the same vector u and similarly the rows are all multiples of the same vector v
Example As a second illustration consider B AR where R is the upp er triangular n n matrix with entries rij for i j and rij for i j This pro duct can b e written
b bn
a an
The column formula now gives
bj Arj
k
ak
That is the j th column of B is the sum of the rst j columns of A The matrix R is a discrete analogue of an indenite integral op erator
The range of a matrix A written range A is the set of vectors that can b e expressed as Ax for some x The formula leads naturally to the following characterization of range A
Theorem range A is the space spanned by the columns of A
Lecture MatrixVector Multiplication
Proof By any Ax is a linear combination of the columns of A Con versely any vector y in the space spanned by the columns of A can b e written as a linear combination of the columns y
j xj aj ^ Forming^ a^ vector^ x out of the co ecients xj we have y Ax and thus y is in the range of A
In view of Theorem the range of a matrix A is also called the column space of A The nul lspace of A Cm n^ written null A is the set of vectors x that satisfy Ax where is the vector in Cm^ The entries of each vector x null A give the co ecients of an expansion of zero as a linear combination of columns of A x a x a xn an
The column rank of a matrix is the dimension of its column space Similarly the row rank of a matrix is the dimension of the space spanned by its rows Row rank always equals column rank among other pro ofs this is a corollary of the singular value decomp osition discussed in Lectures and so we refer to this numb er simply as the rank of a matrix An m n matrix of ful l rank is one that has the maximal p ossible rank the lesser of m and n This means that a matrix of full rank with m n must have n linearly indep endent columns Such a matrix can also b e characterized by the prop erty that the map it denes is one to one
Theorem A matrix A Cm n^ with m n has ful l rank if and only if it maps no two distinct vectors to the same vector
Proof If A is of full rank its columns are linearly indep endent so they form a basis for range A This means that every b range A has a unique linear expansion in terms of the columns of A and therefore by every b range A has a unique x such that b Ax Conversely if A is not of full rank its columns aj are dep endent and there is a nontrivial linear combination such that
j cj aj ^ ^ The^ nonzero^ vector^ c^ formed^ from^ the co ecients cj satises Ac But then A maps distinct vectors to the same vector since for any x Ax Ax c
A nonsingular or invertible matrix is a square matrix of full rank Note that the m columns of a nonsingular m m matrix A form a basis for the whole space Cm^ Therefore we can uniquely express any vector as a linear
Lecture MatrixVector Multiplication
Multiplication by A^ is a change of basis op eration
b co ecients of the expansion of b in fe em g
A^ b co ecients of the expansion of b in fa am g
Multiplication by A
Multiplication by A
In this description we are b eing casual with terminology using b in one instance to denote an m tuple of numb ers and in another as a p oint in an abstract vector space The reader should think ab out these matters until he or she is comfortable with the distinction
Throughout numerical linear algebra it is customary to take a rectangular matrix to have dimensions m n We follow this convention in this b o ok What if the matrix is square The usual convention is to give it dimensions n n but in this b o ok we shall generally take the other choice m m Many of our algorithms require us to lo ok at rectangular submatrices formed by taking a subset of the columns of a square matrix If the submatrix is to b e m n the original matrix had b etter b e m m