14 Chapter 2 Matrices and Linear Systems
geometric operations. This chapter, then, is a presentation of matrices and linear al-
gebra principles that are relevant to the succeeding presentations of vector algebra
and the use of matrices in implementing vector algebra. Readers who are highly fa-
miliar with linear algebra may wish to jump directly to the next chapter. We have
included this material in the body of the book for those readers who would like “the
whole picture” and to provide a better narrative flow of the ideas linking matrices,
linear algebra, and vector algebra.
Chapter 3 shifts gears entirely and covers vector algebra from a completely
coordinate-free approach. Much of this material directly “overlaps” the linear-
algebra-based presentation of this chapter, and readers will certainly be able to see
this; for example, this chapter covers vector space from an abstract linear algebra
perspective, while the next chapter explains a vector space from the more concrete,
visual perspective of directed line segments. It turns out, of course, that these are the
same vector spaces.
Chapter 4 explictly brings together vector algebra, linear algebra, and matrices.
Other treatments of these interrelationships have either simply mixed them all to-
gether, which obscures the intuitive, vector-algebra-based concepts, or taken the po-
sition that the vector algebra is “merely” a geometric interpretation of linear algebra.
Our contention is that the ideas of location, direction, distance, and angle are the
more fundamental, and that linear algebra and matrices are simply a way of rep-
resenting and manipulating them. This difference may be a bit of a “religious” or
philosophical issue that is essentially unresolvable, but in any case it’s certainly true
that the coordinate-free vector algebra approach has many advantages in terms of
fostering intuition. For example, if you start with the linear algebra definition of a
dot product, it is extremely difficult to understand why this apparently arbitrary se-
quence of arithmetic operations on the elements of an array has any relationship at
all to the angle between vectors; however, if you understand the dot product in terms
of what its geometrical definition is and are then shown how this is implemented in
terms of matrix operations, you understand what the dot product really means and
how you might make use of it when you try to deal with new geometry problems.
2.1.3 Notational Conventions
This book contains a rather large number of equations, diagrams, code, and pseu-
docode; in order to help readability, we employ a consistent set of notational conven-
tions, which are outlined in Table 2.1.
2.2 Tuples
Before we get into matrices themselves, we’ll back up a level of abstraction and talk
about tuples. Conceptually, a tuple is an ordered list of elements; however, because
this book is about geometry in computer graphics, we’re going to restrict our discus-
sions to real numbers. Nevertheless, it should be remembered that tuples and ma-