309
9
Matrices and Linear Algebra
So far, we have dealt with one variable, or a series of identical variables (stationary process), and
in the case of regression with two variables. In the remainder of the book, we study methods of
analysis with several or many variables, say X
1
, X
2
, …, X
n
, where n is the dimension of the system.
Because we need to solve the equations simultaneously, we use mathematical strategies that take
advantage of the relationships among the variables to nd a solution. A very useful strategy is to
arrange the interactions among the variables in an array called matrix.
More specically, when the interactions among the variables X
i
are linear, then we can use
linear algebra. Linear algebra underlies multivariate analysis and statistics as well as geostatis-
tics. Therefore, a good grasp of linear algebra is of great importance to understand the remaining
chapters of this book. This chapter provides a review of linear algebra.
9.1 MATRICES
A matrix is an array of numbers organized into rows and columns. The position of each element in
the array is identied by its position in row i and column j. In the following matrix A, element a is in
row 1 and column 1; element b is in row 1 and column 2; element c is in row 1 and column 3. Notice
that we use bold font to denote matrices
A =
abc
def
ghi
(9.1)
Each one of the entries of a matrix is a scalar. The column and row numbers are used as sub-
indices to write the matrix. So, matrix A is written as
A =
aaa
aaa
aaa
11 12 13
21 22 23
31 32 33
(9.2)
9.2 DIMENSION OF A MATRIX
The number of rows and columns of a matrix represents the dimension of the matrix. Matrix A
mentioned earlier has three rows and three columns and therefore is a 3 × 3 matrix. A single number
is a matrix of dimension 1 × 1 and is a scalar. If the number of rows in a matrix is different than
the number of columns, it is a rectangular matrix. An n × m matrix B has n rows and m columns:
B =
bb b
bb b
bb b
m
m
nn nm
11 12 1
21 22 2
12
...
...
.. .
.. .
.. .
...
(9.3)