Textbook Elementary Linear Algebra 1St Edition James R Kirkwood Ebook All Chapter PDF
Textbook Elementary Linear Algebra 1St Edition James R Kirkwood Ebook All Chapter PDF
James R. Kirkwood
Visit to download the full and correct content document:
https://textbookfull.com/product/elementary-linear-algebra-1st-edition-james-r-kirkwoo
d/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...
https://textbookfull.com/product/elementary-linear-algebra-ron-
larson/
https://textbookfull.com/product/elementary-linear-algebra-12th-
edition-howard-anton/
https://textbookfull.com/product/elementary-linear-algebra-
metric-version-eighth-edition-ron-larson/
https://textbookfull.com/product/instructors-solutions-manual-
for-elementary-linear-algebra-with-applications-9th-edition-
bernard-kolman/
Linear Algebra Seymour Lipschutz
https://textbookfull.com/product/linear-algebra-seymour-
lipschutz/
https://textbookfull.com/product/basic-linear-algebra-jurgen-
muller/
https://textbookfull.com/product/linear-algebra-m-thamban-nair/
https://textbookfull.com/product/linear-algebra-g-shanker-rao/
https://textbookfull.com/product/extending-the-linear-model-with-
r-second-edition-julian-james-faraway/
Elementary Linear Algebra
TEXTBOOKS in MATHEMATICS
PUBLISHED TITLES
ABSTRACT ALGEBRA: A GENTLE INTRODUCTION
Gary L. Mullen and James A. Sellers
ABSTRACT ALGEBRA: AN INTERACTIVE APPROACH, SECOND EDITION
William Paulsen
ABSTRACT ALGEBRA: AN INQUIRY-BASED APPROACH
Jonathan K. Hodge, Steven Schlicker, and Ted Sundstrom
ADVANCED LINEAR ALGEBRA
Hugo Woerdeman
ADVANCED LINEAR ALGEBRA
Nicholas Loehr
ADVANCED LINEAR ALGEBRA, SECOND EDITION
Bruce Cooperstein
APPLIED ABSTRACT ALGEBRA WITH MAPLE™ AND MATLAB®, THIRD EDITION
Richard Klima, Neil Sigmon, and Ernest Stitzinger
APPLIED DIFFERENTIAL EQUATIONS: THE PRIMARY COURSE
Vladimir Dobrushkin
APPLIED DIFFERENTIAL EQUATIONS WITH BOUNDARY VALUE PROBLEMS
Vladimir Dobrushkin
APPLIED FUNCTIONAL ANALYSIS, THIRD EDITION
J. Tinsley Oden and Leszek Demkowicz
A BRIDGE TO HIGHER MATHEMATICS
Valentin Deaconu and Donald C. Pfaff
COMPUTATIONAL MATHEMATICS: MODELS, METHODS, AND ANALYSIS WITH
MATLAB® AND MPI, SECOND EDITION
Robert E. White
A CONCRETE INTRODUCTION TO REAL ANALYSIS, SECOND EDITION
Robert Carlson
A COURSE IN DIFFERENTIAL EQUATIONS WITH BOUNDARY VALUE PROBLEMS,
SECOND EDITION
Stephen A. Wirkus, Randall J. Swift, and Ryan Szypowski
A COURSE IN ORDINARY DIFFERENTIAL EQUATIONS, SECOND EDITION
Stephen A. Wirkus and Randall J. Swift
PUBLISHED TITLES CONTINUED
DIFFERENTIAL EQUATIONS: THEORY, TECHNIQUE, AND PRACTICE, SECOND
EDITION
Steven G. Krantz
INTRODUCTION TO ANALYSIS
Corey M. Dunn
PUBLISHED TITLES CONTINUED
INTRODUCTION TO MATHEMATICAL PROOFS: A TRANSITION TO ADVANCED
MATHEMATICS, SECOND EDITION
Charles E. Roberts, Jr.
INTRODUCTION TO NUMBER THEORY, SECOND EDITION
Marty Erickson, Anthony Vazzana, and David Garth
INVITATION TO LINEAR ALGEBRA
David C. Mello
LINEAR ALGEBRA, GEOMETRY AND TRANSFORMATION
Bruce Solomon
MATHEMATICAL MODELING: BRANCHING BEYOND CALCULUS
Crista Arangala, Nicholas S. Luke, and Karen A. Yokley
MATHEMATICAL MODELING FOR BUSINESS ANALYTICS
William P. Fox
MATHEMATICAL MODELLING WITH CASE STUDIES: USING MAPLE™ AND
MATLAB®, THIRD EDITION
B. Barnes and G. R. Fulford
MATHEMATICS IN GAMES, SPORTS, AND GAMBLING–THE GAMES PEOPLE PLAY,
SECOND EDITION
Ronald J. Gould
THE MATHEMATICS OF GAMES: AN INTRODUCTION TO PROBABILITY
David G. Taylor
A MATLAB® COMPANION TO COMPLEX VARIABLES
A. David Wunsch
MEASURE AND INTEGRAL: AN INTRODUCTION TO REAL ANALYSIS, SECOND
EDITION
Richard L. Wheeden
MEASURE THEORY AND FINE PROPERTIES OF FUNCTIONS, REVISED EDITION
Lawrence C. Evans and Ronald F. Gariepy
NUMERICAL ANALYSIS FOR ENGINEERS: METHODS AND APPLICATIONS, SECOND
EDITION
Bilal Ayyub and Richard H. McCuen
ORDINARY DIFFERENTIAL EQUATIONS: AN INTRODUCTION TO THE
FUNDAMENTALS
Kenneth B. Howell
PRINCIPLES OF FOURIER ANALYSIS, SECOND EDITION
Kenneth B. Howell
REAL ANALYSIS AND FOUNDATIONS, FOURTH EDITION
Steven G. Krantz
PUBLISHED TITLES CONTINUED
RISK ANALYSIS IN ENGINEERING AND ECONOMICS, SECOND EDITION
Bilal M. Ayyub
SPORTS MATH: AN INTRODUCTORY COURSE IN THE MATHEMATICS OF SPORTS
SCIENCE AND SPORTS ANALYTICS
Roland B. Minton
A TOUR THROUGH GRAPH THEORY
Karin R. Saoub
TRANSITION TO ANALYSIS WITH PROOF
Steven G. Krantz
TRANSFORMATIONAL PLANE GEOMETRY
Ronald N. Umble and Zhigang Han
UNDERSTANDING REAL ANALYSIS, SECOND EDITION
Paul Zorn
Elementary Linear Algebra
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been
made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity
of all materials or the consequences of their use. The authors and publishers have attempted to trace the copyright
holders of all material reproduced in this publication and apologize to copyright holders if permission to publish in this
form has not been obtained. If any copyright material has not been acknowledged, please write and let us know so we
may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized
in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying,
microfilming, and recording, or in any information storage or retrieval system, without written permission from the
publishers.
For permission to photocopy or use material electronically from this work, please access www.copyright.com (http://
www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923,
978-750-8400. CCC is a not-for-profit organization that provides licenses and registration for a variety of users. For
organizations that have been granted a photocopy license by the CCC, a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for
identification and explanation without intent to infringe.
Preface..............................................................................................................................................xv
1. Matrices......................................................................................................................................1
1.1 Matrix Arithmetic...........................................................................................................1
1.1.1 Matrix Arithmetic.............................................................................................3
1.1.1.1 Matrix Addition.................................................................................3
1.1.1.2 Scalar Multiplication.........................................................................3
1.1.1.3 Matrix Multiplication....................................................................... 3
Exercises.....................................................................................................................................7
1.2 The Algebra of Matrices................................................................................................9
1.2.1 Properties of Matrix Addition, Scalar Multiplication,
and Matrix Multiplication...............................................................................9
1.2.2 The Identity Matrix.........................................................................................12
1.2.3 The Inverse of a Square Matrix.....................................................................12
1.2.4 Determinants...................................................................................................14
1.2.5 Elementary Matrices.......................................................................................17
1.2.6 Matrices That Interchange Two Rows of a Matrix.....................................18
1.2.7 Multiplying a Row of a Matrix by a Constant............................................18
1.2.8 Adding a Multiple of One Row to Another Row.......................................19
1.2.9 Computing the Inverse of a Matrix..............................................................19
1.2.10 The Transpose of a Matrix.............................................................................22
Exercises...................................................................................................................................23
1.3 The LU Decomposition of a Square Matrix (Optional)...........................................29
Exercises...................................................................................................................................32
2.6 Applications..................................................................................................................60
2.6.1 Flow Problems.................................................................................................60
2.6.2 Example: Kirchoff’s Laws..............................................................................61
2.6.3 Balancing Chemical Equations Using Linear Algebra..............................63
Exercises...................................................................................................................................64
2.6.4 Markov Chains................................................................................................65
Exercises...................................................................................................................................71
3. Vector Spaces..........................................................................................................................73
3.1 Vector Spaces in ℝn.......................................................................................................73
Exercises...................................................................................................................................80
3.2 Axioms and Examples of Vector Spaces...................................................................81
3.2.1 Some Examples of Sets That Are Not Vector Spaces.................................83
3.2.2 Additional Properties of Vector Spaces.......................................................84
Exercises...................................................................................................................................86
3.3 Subspaces of a Vector Space.......................................................................................87
Exercises...................................................................................................................................91
3.4 Spanning Sets, Linearly Independent Sets and Bases.............................................92
Exercises.................................................................................................................................101
3.5 Converting a Set of Vectors to a Basis.....................................................................103
3.6 A Synopsis of Sections 3.3.4 and 3.3.5.....................................................................108
Exercises.................................................................................................................................109
3.7 Change of Bases.......................................................................................................... 110
Exercises................................................................................................................................. 117
3.8 Null Space, Row Space, and Column Space of a Matrix...................................... 118
Exercises.................................................................................................................................128
3.9 Sums and Direct Sums of Vector Spaces (Optional)..............................................130
Exercises.................................................................................................................................134
4. Linear Transformations......................................................................................................137
4.1 Properties of a Linear Transformation....................................................................137
4.1.1 Null Space and Range (Image) of a Linear Transformation...................143
Exercises.................................................................................................................................144
4.2 Representing a Linear Transformation...................................................................146
4.2.1 Representation of a Linear Transformation in the Usual Basis..............147
Exercises.................................................................................................................................152
4.3 Finding the Representation of a Linear Operator
with respect to Different Bases.................................................................................154
Exercises.................................................................................................................................156
4.4 Composition (Multiplication) of Linear Transformations....................................158
Exercises.................................................................................................................................160
In beginning to write a linear algebra text, a question that surfaces even before the first
keystroke takes place is who is the audience and what do we want to accomplish. The
answer to this is more complex than in several other areas of mathematics because of the
breadth of potential users. The book was written with the idea that a typical student would
be one who has completed two semesters of calculus but who has not taken courses that
emphasize abstract mathematics. The goals of the text are to present the topics that are
traditionally covered in a first-level linear algebra course so that the computational meth-
ods become deeply ingrained and to make the intuition of the theory as transparent as
possible.
Many disciplines, including statistics, economics, environmental science, engineering,
and computer science, use linear algebra extensively. The sophistication of the applications
of linear algebra in these areas can vary greatly. Students intending to study mathematics
at the graduate level, and many others, would benefit from having a second course in lin-
ear algebra at the undergraduate level.
Some of the computations that we feel are especially important are matrix computations,
solving systems of linear equations, representing a linear transformation in standard bases,
finding eigenvectors, and diagonalizing matrices. Of less emphasis are topics such as con-
verting the representation of vectors and linear transformations between nonstandard
bases and converting a set of vectors to a basis by expanding or contracting the set.
In some cases, the intuition of a proof is more transparent if an example is presented
before a theorem is articulated or if the proof of a theorem is given using concrete cases
rather than an abstract argument. For example, by using three vectors instead of
n vectors.
There are places in Chapters 4 through 7 where there are results that are important
because of their applications, but the theory behind the result is time consuming and is
more advanced than a typical student in a first exposure would be expected to digest. In
such cases, the reader is alerted that the result is given later in the section and omitting the
derivation will not compromise the usefulness of the results. Two specific examples of this
are the projection matrix and the Gram–Schmidt process.
The exercises were designed to span a range from simple computations to fairly direct
abstract exercises.
We expect that most users will want to make extensive use of a computer algebra system
for computations. While there are several systems available, MATLAB® is the choice of
many, and we have included a tutorial for MATLAB in the appendix. Because of the exten-
sive use of the program R by statisticians, a tutorial for that program is also included.
xv
xvi Preface
A first course in linear algebra also serves as a bridge to mathematics courses that are pri-
marily theoretical in nature and, as such, necessitates understanding and, in some cases,
developing mathematical proofs. This is a learning process that can be frustrating.
We offer some suggestions that may ease the transition.
First, the most important requirement for abstract mathematics is knowing the impor-
tant definitions well. These are analogous to the formulas of computational mathematics.
A casual perusal will not be sufficient.
You will often encounter the question “Is it true that …?” Here you must show that a
result holds in all cases allowed by the hypotheses or find one example where the claim
does not hold. Such an example is called a counter example. If you are going to prove that
a result always holds, it is helpful (perhaps necessary) to believe that it holds. One way to
establish an opinion for its validity is to work through some examples. This may highlight
the essential properties that are crucial to a proof. If the result is not valid, this will often
yield a counter example. Simple examples are usually the best. In linear algebra, this usu-
ally means working with small dimensional objects, such as 2 × 2 matrices.
In the text, we will sometimes give the ideas of a proof rather than a complete proof
when we feel that “what is really going on” is obscured by the abstraction, for example, if
the idea of a proof seems clear by examining 2 × 2 matrices but would be difficult to follow
for n × n matrices.
In constructing a mathematical proof, there are two processes involved. One is to develop
the ideas of the proof, and the second is to present those ideas in appropriate language.
There are different methods of proof that can be broadly divided into direct methods and
indirect methods. An example of an indirect method is proof by contradiction. The contra-
positive of “if statement A is true, then statement B is true” is “if statement B is false, then
statement A is false.” Proving the contrapositive of an “if-then” statement is logically
equivalent to proving the original statement. The contrapositive of
is
The converse of an “if-then” statement reverses the hypothesis and the conclusion. The
converse of “if statement A is true, then statement B is true” is “ if statement B is true, then
statement A is true.”
Unlike the contrapositive, the converse is not logically equivalent to the original state-
ment. The converse of
is
Here the original statement is true, but the converse is false. You will sometimes have a
problem of the type “show ‘A if and only if B.’” In this case, you must prove
“If A, then B”
Preface xvii
and
“If B, then A”
Linear algebra is the branch of mathematics that deals with vector spaces and linear
transformations.
For someone just beginning their study of linear algebra, that is probably a meaningless
statement. It does, however, convey the idea that there are two concepts in our study that
will be of utmost importance, namely, vector spaces and linear transformations. A primary
tool in our study of these topics will be matrices. In this chapter, we give the rules that
govern matrix algebra.
1.1 Matrix Arithmetic
The term “matrix” was first used in a mathematical sense by James Sylvester in 1850 to
denote a rectangular array of numbers from which determinants could be formed. The
ideas of using arrays to solve systems of linear equations go as far back as the Chinese from
300 BC to 200 AD.
A matrix is a rectangular array of numbers. Matrices are the most common way of
representing vectors and linear transformations and play a central role in nearly every
computation in linear algebra. The size of a matrix is described by its dimensions, that is,
the number of rows and columns in the matrix, with the number of rows given first. A 3 × 2
(three by two) matrix has three rows and two columns. Matrices are usually represented by
uppercase letters.
The matrix A below is an example of a 3 × 2 matrix.
æ0 -5 ö
ç ÷
A=ç 6 3 ÷.
ç -1 3 ÷ø
è
We will often want to represent a matrix in an abstract form. The example below is
typical.
1
2 Elementary Linear Algebra
It is customary to denote the numbers that make up the matrix, called the entries of the
matrix, as the lowercase version of the letter that names the matrix, with two subscripts.
The subscripts denote the position of the entry. The entry aij occupies the ith row and jth
column of the matrix A. The notation (A)ij is also common, depending on the setting.
Two matrices A and B are equal if they have the same dimensions and aij = bij for every
i and j.
Definition
A square matrix is a matrix that has the same number of rows as columns, that is, an
n × n matrix. If A is a square matrix, the entries a11, a22, …, ann make up the main diagonal of
A. The trace of a square matrix is the sum of the entries on the main diagonal.
A square matrix is a diagonal matrix if the only nonzero entries of A are on the main
diagonal. A square matrix is upper (lower) triangular if the only nonzero entries are above
(below) or on the main diagonal. A matrix that consists of either a single row or a single
column is called a vector. The matrix
æ 1ö
ç ÷
ç 5÷
ç6÷
è ø
( 4, -1, 0, 8 )
In Figure 1.1, matrix (a) is a diagonal matrix, but the others are not.
2 0 0 0 0 0 0 0
0 0 0 0 0 0 5 0
0 0 –1 0 0 3 0 0
0 0 0 5 2 0 0 0
(a) (b)
0 1 0 0
0 3 0 0 1 0 0
0 0 7 0 0 2 0
0 0 0 2
(c) (d)
FIGURE 1.1
Matrix (a) is diagonal, the others are not.
Matrices 3
1.1.1 Matrix Arithmetic
We now define three arithmetic operations on matrices: matrix addition, scalar multiplica-
tion, and matrix multiplication.
1.1.1.1 Matrix Addition
In order to add two matrices, the matrices must have the same dimensions, and then one
simply adds the corresponding entries. For example
æ7 -1 0 ö æ -2 -3 4ö æ 7 - 2 -1 - 3 0 + 4ö æ5 -4 4ö
ç ÷+ç ÷=ç ÷=ç ÷
è -2 6 6ø è 3 5 0 ø è -2 + 3 6+5 6 + 0ø è1 11 6ø
but
æ1 0ö
æ7 -1 0ö ç ÷
ç ÷+ 2 -1 ÷
è -2 6 6 ø çç
è0 5 ÷ø
is not defined.
To be more formal—and to begin to get used to the abstract notation—we could express
this idea as
1.1.1.2 Scalar Multiplication
A scalar is a number. Scalar multiplication means multiplying a matrix by a number
and is accomplished by multiplying every entry in the matrix by the scalar. For
example
æ1 -4 ö æ 3 -12 ö
3ç ÷=ç ÷.
è2 0 ø è6 0 ø
1.1.1.3 Matrix Multiplication
Matrix multiplication is not as intuitive as the two prior operations. A fact that we will
demonstrate later is that every linear transformation can be expressed as multiplication by
a matrix. The definition of matrix multiplication is based in part on the idea that composi-
tion of two linear transformations should be expressed as the product of the matrices that
represent the linear transformations.
We describe matrix multiplication by stages.
4 Elementary Linear Algebra
Case 1
Multiplying a matrix consisting of one row by a matrix consisting of one column, where
the row matrix is on the left and the column matrix is on the right. The process is
æ b1 ö
ç ÷
( a1, a2 ,… , an ) ç b2 ÷ = a1b1 + a2b2 + + anbn .
ç ÷
çç ÷÷
è bn ø
This can be accomplished only if there are the same number of entries in the row matrix as
in the column matrix. Notice that the product of a (1 × n) matrix and a (n × 1) matrix is a
number that, in this case, we will describe as a (1 × 1) matrix.
Case 2
Multiplying a matrix consisting of one row by a matrix consisting of more than one
column, where the row matrix is on the left and the column matrix is on the right. Two
examples are
æ b1 c1 ö
( a1, ¼ , an ) çç ÷
÷ = ( a1b1 + + anbn , a1c1 + + ancn )
ç bn cn ÷ø
è
æ b1 c1 d1 ö
( a1, ¼ , an ) çç
÷
÷ = ( a1b1 + + anbn , a1c1 + + ancn , a1d1 + + an dn ) .
ç bn cn dn ÷ø
è
Case 3
Multiplying a matrix consisting of more than one row by a matrix consisting of one
c olumn, where the row matrix is on the left and the column matrix is on the right. Two
examples of this are
æ c1 ö
æ a1 , ¼ , an ö ç ÷ æ a1c1 + + ancn ö
( 2 ´ n ) ´ ( n ´ 1) ç ÷ç ÷ = ç ÷ 2´1
è b1 , ¼ , bn ø ç c ÷ è b1c1 + + bncn ø
è nø
æ a1 , ¼ , an ö æ d1 ö æ a1d1 + + an dn ö
( 3 ´ n ) ´ ( n ´ 1) çç b1 , ¼ , bn ÷÷ çç ÷÷ = çç b1d1 + + bndn ÷÷ 3 ´ 1.
ç c1 , ¼ , cn ÷ ç dn ÷ ç c1d1 + + cn dn ÷
è øè ø è ø
Matrices 5
Case 4
æ c1 c2 ö
æ a1 a2 a3 ö ç ÷ æ a1c1 + a2d1 + a3 e1 a1c2 + a2d2 + a3 e2 ö
( 2 ´ 3) ´ ( 3 ´ 2) ç ÷ d1 d2 ÷ = ç ÷,
è b1 b2 b3 ø çç b1c1 + b2d1 + b3 e1 b1c2 + b2d2 + b3 e2 ø
è e1 e2 ÷ø è
which is a (2 × 2) matrix.
We describe a formula for computing the product of two compatible matrices.
Suppose that A is an m × k matrix and B is a k × n matrix, say
The product matrix AB is m × n and the formula for the i, j entry of the matrix AB is
k
( AB )ij = åailblj .
l =1
One can think of this as multiplying the ith row of A by the jth column of B.
Another way to visualize matrix multiplication that is useful is to consider the product AB
in the following way: Let b̂i be the vector that is the ith column of the matrix B, so that if
then
and we have
We have
æ b11 ö
æ a11 a12 a13 ö ç ÷ æ a11b11 + a12 b21 + a13 b31 ö
Abˆ1 = ç ÷ b21 = ç ÷
è a21 a22 a23 ø çç ÷÷ è a21b11 + a22 b21 + a23 b31 ø
b
è ø31
æ b12 ö
æ a11 a12 a13 ö ç ÷ æ a11b12 + a12 b22 + a13 b32 ö
Abˆ2 = ç ÷ b22 = ç ÷
è a21 a22 a23 ø çç ÷÷ è a21b12 + a22 b22 + a23 b32 ø
è b32 ø
æ b13 ö
æ a11 a12 a13 ö ç ÷ æ a11b13 + a12 b23 + a13 b33 ö
Abˆ3 = ç ÷ b23 = ç ÷
è a21 a22 a23 ø çç ÷÷ è a21b13 + a22 b23 + a23 b33 ø
b
è ø33
so
a b +a b +a b a11b12 + a12 b22 + a13 b32 a11b13 + a12 b23 + a13 b33 ö
é Abˆ1 Abˆ2 Abˆ3 ù = æç 11 11 12 21 13 31 ÷.
ë û è a21b11 + a22 b21 + a23 b31 a21b12 + a22 b22 + a23 b32 a21b13 + a22 b23 + a23 b33 ø
Also,
Exercises
1. Suppose
æ -1 2ö æ4 -2 2ö
æ2 0ö ç ÷ æ 1 5 2ö ç ÷ æ1 7 ö
A=ç ÷ , B = ç -3 2÷, C = ç ÷, D = ç0 1 5 ÷, E = ç ÷.
è3 1ø ç 1 4 ÷ø è -3 0 6ø ç2 0 -3 ÷ø è4 -3 ø
è è
æ2 -1 ö æ1 0 -1 ö
A=ç ÷, B = ç ÷.
è1 3ø è2 1 4ø
(b) If A and B are n × n matrices, compare the trace of AB and the trace of BA.
7. If A and B are matrices so that AB is defined, then
Demonstrate this principle by finding the second row and third column of AB for
æ3 -1 0ö æ2 5 -3 ö
ç ÷ ç ÷
A = ç1 5 -2 ÷ B = ç -1 0 4 ÷.
ç4 3 1 ÷ø ç4 2 -5 ÷ø
è è
8. Construct a 5 × 5 matrix, not all of whose entries are zero, that has the following
properties:
(a) Aij = 0 if i < j.
(b) Aij = 0 if i ≥ j.
(c) Aij = 0 if |i − j| = 1.
9. Compute
æe fö æe fö
( a, b ) ç g ÷
hø
and ( c, d ) ç g ÷
hø
è è
æa b öæ e fö
ç ÷ç ÷.
èc døè g hø
æ3 8 0ö æ2 1 1ö
A=ç ÷, B = ç ÷
è4 -1 -2 ø è3 -1 7ø
æ0 1 2ö
3 A - 5B + 2C = ç ÷.
è2 -3 4ø
Matrices 9
FIGURE 1.2
A simple graph that is not directed.
12. A graph is a set of vertexes and a set of edges between some of the vertices. If the
graph is simple, then there is no edge from a vertex to itself. If the graph is not
directed, then an edge from vertex i to vertex j is also an edge from j to vertex i.
Figure 1.2 shows a simple graph that is not directed.
Associated with each graph is a matrix A defined by
(a) If there are n vertices, what are the dimensions of the associated matrix A?
What else can you conclude about A?
We say there is a path of length k from vertex i to vertex j if it is possible to
traverse from vertex i to vertex j by traversing across exactly k edges.
(Traversing the same edge more than once is allowed.)
(b) How could the matrix A be used to determine whether there is a path from i to
vertex j in exactly 2 steps? In exactly k steps?
(c) How could you tell how many paths there are from i to vertex j in exactly
k steps?
(i) For the graph in Figure 1.2
(ii) Construct the associated graph.
(d) Use the associated matrix to determine whether it is possible to go from ver-
tex 1 to vertex 4 by traversing across exactly 3 edges using the matrix you
constructed.
Theorem 1
If the sizes of the matrices A, B, and C are so that the operations can be performed, and
α and β are scalars, then
(a) A+B=B+A
(b) (A + B) + C = A + (B + C)
(c) (AB)C = A(BC)
(d) A(B + C) = AB + AC
(e) (B + C)A = BA + CA
(f) α(A + B) = αA + αB
(g) (α + β)A = αA + βA
(h) α(βA) = (αβ)A
(i) α(AB) = (αA)B = A(αB)
This theorem is simply saying that these rules of combining matrices obey the usual laws
of arithmetic. When we more closely examine rules that govern matrix multiplication, we
will see that some of these rules are different from what we might hope.
The proofs of these results are not deep but can be tedious. We demonstrate a proof of
part (c).
Suppose that A is a k × l matrix, B is an l × m matrix, and C is an m × n matrix. Then AB
is a k × m matrix, (AB)C is a k × n matrix, BC is an l × n matrix, and A(BC) is a k × n matrix.
Thus, (AB)C and A(BC) have the same dimensions. To complete the proof, we must show
that the entries of the two matrices are the same. That is, we must show
éë( AB ) C ùû = éë A ( BC ) ùû for r = 1, ¼ , k ; s = 1, ¼ , n.
rs rs
We have
m m
é l
ù m
é l
ù m
é l
ù
éë( AB ) C ùû =
rs å ( AB)rj Cjs = å êåAriBij ú Cjs = å êå ( AriBij ) Cjs ú = å êåAri ( BijCjs )ú
j =1 j =1 êë i =1 úû j =1 êë i =1 úû j =1 êë i =1 úû
l é m ù l é m ù l
= åå ê
ê
Ari ( BijC js ) ú =
ú å Ari ê
ê å ( BijCjs )úú = åAri ( BC )is = éë A ( BC )ùûrs .
i =1 ë j =1 û i =1 ë j =1 û i =1
We have defined the arithmetic operations on matrices. Matrices together with these oper-
ations form a mathematical structure. To expand this structure, we need to introduce some
additional matrices.
In arithmetic, the numbers 0 and 1 have special significance. The number 0 is important
because it is the additive identity, that is,
0+a= a
for every number a. The number 1 is important because it is the multiplicative identity, that is,
1´ a = a