the sum of squared elements of the vector x (as the reader can easily verify for him-
self or herself, using any vector x). Thus, a normal vector is such that the sums of
squares of its elements equals 1. Two vectors, x and y, are orthogonal if xy
yx 0. A set of vectors is orthonormal if each vector is normal and they are all
pairwise orthogonal. A square matrix whose columns constitute an orthonormal set
of vectors is an orthogonal matrix.
Example:
P
冤冥
is orthogonal, as is readily verified. The reader can also verify that PP PPI.
(7) Centering Matrix. Centering matrices are used to represent quantities such as
冱
(X X
苶
)
2
for a set of variable scores x
1
, ..., x
n
. To describe this matrix, we must
first define the summing vector. A vector whose elements are all 1’s is represented
as 1 and is referred to as a summing vector. This label arises from the fact that
1x x1
冱
x, as the reader can easily verify with any vector x. For a 1-vector of
order n (i.e., having n elements), the square matrix J
nn
11 is a matrix of order n, all
of whose elements are 1’s. Further, the matrix J
苶
(1/n)J
nn
is a square matrix all of
whose elements are 1/n. A centering matrix, C, is then defined as C (I J
苶
) , where
I is of the same order as J
苶
. Let’s see where the centering matrix gets its appellation.
For a vector x of variable scores, Cx is such that Cx (I J
苶
)x Ix J
苶
x. Now
Ix x [see V.D(3)]. But what is J
苶
x? J
苶
x (1/n)11x 1[(1/n)1x] 1x
苶
, which equals
a vector all of whose elements are x
苶
. Let’s denote this vector of means by x
苶
. Thus,
Cx (I J
苶
)x x x
苶
, a vector consisting of x scores that have been centered or devi-
ated from their means. This formulation is shown below to provide the basis of
matrix formulas for sample variances and covariances.
E. Rules for Matrix Expressions
Rules for matrix expressions are analogous to those for algebraic expressions, with
some key differences. They are:
(1) Commutative property:A B B A.
(2) Associative property 1:A (B C) (A B) C.
(3) Associative property 2: (AB) C A(BC) ABC.
(4) Scalar property: cAx Acx Axc for any scalar c. That is, the order of
multiplication is invariant with respect to scalars.
Rules V.E(1) to V.E(4) are similar to rules in scalar algebra. The following
properties, however, are unique to matrix algebra:
兹
1
3
苶
兹
1
3
苶
兹
1
3
苶
兹
1
2
苶
兹
1
2
苶
0
兹
1
6
苶
兹
1
6
苶
兹
2
6
苶
MATHEMATICS TUTORIALS 481