You are on page 1of 16

# Linear Algebra: Matrices

B1

## Appendix B: LINEAR ALGEBRA: MATRICES

TABLE OF CONTENTS
Page

B.1.

B.2.

B.3.

B.4. B.5.

B. B.

Matrices B.1.1. Concept . . . . . . . . . . B.1.2. Real and Complex Matrices . . . . B.1.3. Square Matrices . . . . . . . B.1.4. Symmetry and Antisymmetry . . . B.1.5. Are Vectors a Special Case of Matrices? B.1.6. Where Do Matrices Come From? . . B.1.7. Special Matrices . . . . . . . Elementary Matrix Operations B.2.1. Equality . . . . . . . . . . B.2.2. Transposition . . . . . . . . B.2.3. Addition and Subtraction . . . . . B.2.4. Scalar Multiplication . . . . . . Matrix Products B.3.1. Matrix by Vector Product . . . . . B.3.2. Matrix by Matrix Product . . . . B.3.3. Matrix Powers . . . . . . . . B.3.4. Matrix Product Properties . . . . Bilinear and Quadratic Forms Matrix Orthogonality B.5.1. Matrix Orthogonalization Via Projectors B.5.2. Orthogonal Projector Properties . . Exercises . . . . . . . . . . . . . . Solutions to Exercises . . . . . . . . . . . . .

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . .

. . . . . .

. . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . . . .

## B3 B3 B3 B3 B4 B4 B5 B5 B6 B6 B6 B7 B7 B7 B7 B8 B9 B10 B11 B11 B11 B12 B14 B15

B2

B.1 B.1. Matrices B.1.1. Concept Let us now introduce the concept of a matrix. Consider a rectangular array containing m rows and n columns: a11 a12 . . . a1 j . . . a21 a22 . . . a2 j . . . . . . .. .. . . . . . . . . a i 1 ai 2 . . . ai j . . . . . . .. .. . . . . . . . . am 1 am 2 . . . am j

MATRICES

## a1n a2n . . . . ain . . . . . . amn

(B.1)

This array will be called a rectangular matrix of order m by n , or, briey, an m n matrix. Not every rectangular array is a matrix; to qualify as such it must obey the operational rules discussed below. The quantities ai j are called the entries or components of the matrix. Preference will be given to the latter unless one is talking about the computer implementation. As in the case of vectors, the term matrix element will be avoided to lessen the chance of confusion with nite elements. The two subscripts identify the row and column, respectively. Matrices are conventionally identied by bold uppercase letters such as A, B, etc. The entries of matrix A may be denoted as Ai j or ai j , according to the intended use. Occassionally we shall use the short-hand component notation (B.2) A = [ai j ].
Example B.1. The following is a 2 3 numerical matrix:

B=

2 4

6 9

3 1

(B.3)

This matrix has 2 rows and 3 columns. The rst row is (2, 6, 3), the second row is (4, 9, 1), the rst column is (2, 4), and so on.

In some contexts it is convenient or useful to display the number of rows and columns. If this is so we will write them underneath the matrix symbol.1 For the example matrix (B.3) we would show
23

(B.4)

Remark B.1. Matrices should not be confused with determinants.2 A determinant is a number associated with

## square matrices (m = n ), dened according to the rules stated in Appendix C.

1 2

A convention introduced in Berkeley courses by Ray Clough. It is particularly useful in blackboard expositions. This confusion is apparent in the literature of the period 18601920.

B3

## Appendix B: LINEAR ALGEBRA: MATRICES

B.1.2. Real and Complex Matrices As in the case of vectors, the components of a matrix may be real or complex. If they are real numbers, the matrix is called real, and complex otherwise. For the present exposition all matrices will be real. B.1.3. Square Matrices The case m = n is important in practical applications. Such matrices are called square matrices of order n . Matrices for which m = n are called non-square (the term rectangular is also used in this context, but this is fuzzy because squares are special cases of rectangles). Square matrices enjoy certain properties not shared by non-square matrices, such as the symmetry and antisymmetry conditions dened below. Furthermore many operations, such as taking determinants and computing eigenvalues, are only dened for square matrices.
Example B.2.

## C= is a square matrix of order 3.

12 6 8 24 2 5

3 7 11

(B.5)

Consider a square matrix A = [ai j ] of order n n . Its n components aii form the main diagonal, which runs from top left to bottom right. The cross diagonal runs from the bottom left to upper right. The main diagonal of the example matrix (B.5) is {12, 24, 11} and the cross diagonal is {2, 24, 3}. Entries that run parallel to and above (below) the main diagonal form superdiagonals (subdiagonals). For example, {6, 7} is the rst superdiagonal of the example matrix (B.5). B.1.4. Symmetry and Antisymmetry Square matrices for which ai j = a ji are called symmetric about the main diagonal or simply symmetric. Square matrices for which ai j = a ji are called antisymmetric or skew-symmetric. The diagonal entries of an antisymmetric matrix must be zero.
Example B.3. The following is a symmetric matrix of order 3:

S=

11 6 1

6 1 3 1 1 6

(B.6)

## The following is an antisymmetric matrix of order 4: 0 3 W= 1 5

3 0 7 2

1 7 0 0

5 2 . 0 0

(B.7)

B4

B.1 MATRICES

B.1.5. Are Vectors a Special Case of Matrices? Consider the 3-vector x and a 3 1 matrix X with the same components: x= x1 x2 x3 , X= x11 x21 x31 . (B.8)

in which x1 = x11 , x2 = x22 and x3 = x33 . Are x and X the same thing? If so we could treat column vectors as one-column matrices and dispense with the distinction. Indeed in many contexts a column vector of order n may be treated as a matrix with a single column, i.e., as a matrix of order n 1. Similarly, a row vector of order m may be treated as a matrix with a single row, i.e., as a matrix of order 1 m . There are some operations, however, for which the analogy does not carry over, and one has to consider vectors as different from matrices. The dichotomy is reected in the notational conventions of lower versus upper case. Another important distinction from a practical standpoint is discussed next. B.1.6. Where Do Matrices Come From? Although we speak of matrix algebra as embodying vectors as special cases of matrices, in practice the quantities of primary interest to the structural engineer are vectors rather than matrices. For example, an engineer may be interested in displacement vectors, force vectors, vibration eigenvectors, buckling eigenvectors. In nite element analysis even stresses and strains are often arranged as vectors although they are really tensors. On the other hand, matrices are rarely the quantities of primary interest: they work silently in the background where they are normally engaged in operating on vectors. B.1.7. Special Matrices The null matrix, written 0, is the matrix all of whose components are zero.
Example B.4. The null matrix of order 2 3 is

0 0

0 0

0 . 0

(B.9)

The identity matrix, written I, is a square matrix all of which entries are zero except those on the main diagonal, which are ones.
Example B.5. The identity matrix of order 4 is

1 0 I= 0 0

0 1 0 0

0 0 1 0

0 0 . 0 1

(B.10)

A diagonal matrix is a square matrix all of which entries are zero except for those on the main diagonal, which may be arbitrary. B5

## Example B.6. The following matrix of order 4 is diagonal:

14 0 D= 0 0

0 0 0 6 0 0 . 0 0 0 0 0 3

(B.11)

A short hand notation which lists only the diagonal entries is sometimes used for diagonal matrices to save writing space. This notation is illustrated for the above matrix: D = diag [ 14 6 0 3 ]. (B.12)

An upper triangular matrix is a square matrix in which all elements underneath the main diagonal vanish. A lower triangular matrix is a square matrix in which all entries above the main diagonal vanish.
Example B.7. Here are examples of each kind:

6 0 U= 0 0

4 6 0 0

2 4 6 0

1 2 , 4 6

5 10 L= 3 15

0 4 21 2

0 0 6 18

0 0 . 0 7

(B.13)

B.2. Elementary Matrix Operations B.2.1. Equality Two matrices A and B of same order m n are said to be equal if and only if all of their components are equal: ai j = bi j , for all i = 1, . . . m , j = 1, . . . n . We then write A = B. If the inequality test fails the matrices are said to be unequal and we write A = B. Two matrices of different order cannot be compared for equality or inequality. There is no simple test for greater-than or less-than. B.2.2. Transposition The transpose of a matrix A is another matrix denoted by AT that has n rows and m columns AT = [a ji ]. The rows of AT are the columns of A, and the rows of A are the columns of AT . Obviously the transpose of AT is again A, that is, (AT )T = A.
Example B.8.

(B.14)

A=

5 1

7 0

0 , 4

AT =

5 7 0

1 0 4

(B.15)

The transpose of a square matrix is also a square matrix. The transpose of a symmetric matrix A is equal to the original matrix, i.e., A = AT . The negated transpose of an antisymmetric matrix matrix A is equal to the original matrix, i.e. A = AT . B6

## B.3 MATRIX PRODUCTS

Example B.9.

A=

4 7 0

7 0 1 2 2 3

= AT ,

W=

0 7 0

7 0 2

0 2 0

= W T

(B.16)

B.2.3. Addition and Subtraction The simplest operation acting on two matrices is addition. The sum of two matrices of the same order, A and B, is written A + B and dened to be the matrix A + B = [ai j + bi j ].
def

(B.17)

Like vector addition, matrix addition is commutative: A + B = B + A, and associative: A + (B + C) = (A + B) + C. For n = 1 or m = 1 the operation reduces to the addition of two column or row vectors, respectively. For matrix subtraction, replace + by in the denition (?).
Example B.10. The sum of

A=

1 4

3 0 2 1

and

B=

6 7

3 2

3 5

is A + B =

7 11

0 0

3 . 4

(B.18)

B.2.4. Scalar Multiplication Multiplication of a matrix A by a scalar c is dened by means of the relation c A = [cai j ]
def

(B.19)

That is, each entry of the matrix is multiplied by c. This operation is often called scaling of a matrix. If c = 0, the result is the null matrix. Division of a matrix by a nonzero scalar c is equivalent to multiplication by (1/c).
Example B.11.

If

A=

1 3 4 2

0 , 1

3A =

3 12

9 6

0 . 3

(B.20)

B7

## Appendix B: LINEAR ALGEBRA: MATRICES

B.3. Matrix Products B.3.1. Matrix by Vector Product Before describing the general matrix product of two matrices, let us treat the particular case in which the second matrix is a column vector. This so-called matrix-vector product merits special attention because it occurs very frequently in the applications. Let A = [ai j ] be an m n matrix, x = {x j } a column vector of order n , and y = { yi } a column vector of order m . The matrix-vector product is symbolically written y = Ax, (B.21) to mean the linear transformation yi =
def n j =1

ai j x j = ai j x j ,

sc

i = 1, . . . , m .

(B.22)

Example B.12. The product of a 2 3 matrix and a vector of order 3 is a vector of order 2:

1 4

3 2

0 1

1 2 3

5 5

(B.23)

This product denition is not arbitrary but emanates from the analytical and geometric properties of entities represented by matrices and vectors. For the product denition to make sense, the column dimension of the matrix A (called the premultiplicand) must equal the dimension of the vector x (called the post-multiplicand). For example, the reverse product xA does not make sense unless m = n = 1. If the row dimension m of A is one, the matrix formally reduces to a row vector, and the matrixvector product reduces to the inner product dened by equation (A.15) of Appendix A. The result of this operation is a one-dimensional vector or scalar. We thus see that the present denition properly embodies previous cases. The associative and commutative properties of the matrix-vector product fall under the rules of the more general matrix-matrix product discussed next. B.3.2. Matrix by Matrix Product We now pass to the most general matrix-by-matrix product, and consider the operations involved in computing the product C of two matrices A and B: C = A B. (B.24)

Here A = [ai j ] is a matrix of order m n , B = [b jk ] is a matrix of order n p , and C = [cik ] is a matrix of order m p . The entries of the result matrix C are dened by the formula cik =
def n j =1

ai j b jk = ai j b jk ,

sc

i = 1, . . . , m , B8

k = 1, . . . , p .

(B.25)

B.3

MATRIX PRODUCTS

We see that the (i , k )th entry of C is computed by taking the inner product of the i th row of A with the k th column of B. For this denition to work and the product be possible, the column dimension of A must be the same as the row dimension of B. Matrices that satisfy this rule are said to be product-conforming, or conforming for short. If the two matrices do not conform, their product is undened. The following mnemonic notation often helps in remembering this rule:
m p

C = A

m n n p

(B.26)

For the matrix-by-vector case treated in the preceding subsection, p = 1. Matrix A is called the pre-multiplicand and is said to premultiply B. Matrix B is called the postmultiplicand and is said to postmultiply A. This careful distinction on which matrix comes rst is a consequence of the absence of commutativity: even if BA exists (it only does if m = n ), it is not generally the same as AB. For hand computations, the matrix product is most conveniently organized by the so-called Falks scheme: b11 bik b1 p . . .. .. . . . . . . bnk bnp b a n1 a 11 1n . (B.27) . .. . . . . . . . . . ai 1 ain cik . . .. . . . . . am 1 amn Each entry in row i of A is multiplied by the corresponding entry in column k of B (note the arrows), and the products are summed and stored in the (i , k )th entry of C.
Example B.13. To illustrate Falks scheme, let us form the product C = AB of the following matrices

A=

3 4

0 1

2 , 5

B=

2 4 0

1 3 1

0 1 7

5 0 4

(B.28)

The matrices are conforming because the column dimension of A and the row dimension of B are the same (3). We arrange the computations as shown below: 2 4 0 6 4 1 3 1 5 6 0 1 7 14 34 5 0 4 7 0 =B . = C = AB (B.29)

A=

3 0 4 1

2 5

## Appendix B: LINEAR ALGEBRA: MATRICES

B.3.3. Matrix Powers If A = B, the product AA is called the square of A and is denoted by A2 . Note that for this denition to make sense, A must be a square matrix; else the factors would not be conforming. Similarly, A3 = AAA = A2 A = AA2 . Other positive-integer powers can be dened in an analogous manner. This denition does not encompass negative powers. For example, A1 denotes the inverse of matrix A, which is studied in Appendix C. The general power Am , where m can be a real or complex scalar, can be dened with the help of the matrix spectral form and requires the notion of eigensystem covered in Appendix D. A square matrix A that satises A = A2 is called idempotent. We shall see later that this condition characterizes the so-called projector matrices. A square matrix A whose p th power is the null matrix is called p-nilpotent. B.3.4. Matrix Product Properties Associativity. The associative law is veried: A(BC) = (AB)C. Hence we may delete the parentheses and simply write ABC. Distributivity. The distributive law also holds: If B and C are matrices of the same order, then A (B + C) = AB + AC, and (B + C) A = BA + CA. (B.31) (B.30)

Commutativity. The commutativity law of scalar multiplication does not generally hold. If A and B are square matrices of the same order, then the products AB and BA are both possible but in general AB = BA. If AB = BA, the matrices A and B are said to commute. One important case is when A and B are diagonal. In general A and B commute if they share the same eigensystem.
Example B.14. Matrices

A=

a b

b , c

B=

a b

b , c

(B.32)

commute for any a , b, c, . More generally, A and B = A I commute for any square matrix A.

Transpose of a Product. The transpose of a matrix product is equal to the product of the transposes of the operands taken in reverse order: (A B)T = BT AT . The general transposition formula for an arbitrary product sequence is (A B C . . . M N)T = NT MT . . . CT BT AT . B10 (B.34) (B.33)

B.5

MATRIX ORTHOGONALITY

Congruential Transformation. If B is a symmetric matrix of order m and A is an arbitrary m n matrix, then (B.35) S = AT B A. is a symmetric matrix of order n . Such an operation is called a congruential transformation. It occurs very frequently in nite element analysis when changing coordinate bases because such a transformation preserves energy. Loss of Symmetry. The product of two symmetric matrices is not generally symmetric. Null Matrices may have Non-null Divisors. The matrix product AB can be zero although A = 0 and B = 0. Likewise it is possible that A = 0, A2 = 0, . . . , but A p = 0. B.4. Bilinear and Quadratic Forms Let x and y be two column vectors of order n , and A a real square n n matrix. Then the following triple product produces a scalar result: s = yT A x
1n n n n 1

(B.36)

This is called a bilinear form. Matrix A is called the kernel of the form. Transposing both sides of (B.36) and noting that the transpose of a scalar does not change, we obtain the result (B.37) s = xT AT y = yT Ax. If A is symmetric and vectors x and y coalesce, i.e. AT = A, the bilinear form becomes a quadratic form s = xT Ax. Transposing both sides of a quadratic form reproduces the same equation.
Example B.15. The kinetic energy of a dynamic system consisting of three point masses m 1 , m 2 , m 3 moving in one dimension with velocities v1 , v2 and v3 , respectively, is
2 2 2 (m 1 v1 + m 2 v2 + m 3 v3 ). T = 1 2

x = y,

(B.38)

(B.39)

(B.40)

## This can be expressed as the quadratic form v T M v, T = 1 2 in which M= m1 0 0 0 m2 0 0 0 m3 v1 v2 v3 (B.41)

v=

(B.42)

Here M denotes the system mass matrix whereas v is the system velocity vector.

B11

## Appendix B: LINEAR ALGEBRA: MATRICES

B.5. Matrix Orthogonality Let A and B be two product-conforming real matrices. For example, A is k m whereas B is m n . If their product is the null matrix C = A B = 0, (B.43) the matrices are said to be orthogonal. This is the generalization of the notions of vector orthogonality discussed in the previous Appendix. B.5.1. Matrix Orthogonalization Via Projectors The matrix orthogonalization problem can be stated as follows. Product conforming matrices A and B are given but their product is not zero. How can A be orthogonalized with respect to B so that (B.43) is veried? Suppose that B is m n with m n and that BT B is nonsingular (equivalently, B has full rank).3 Then form the m m orthogonal projector matrix, or simply projector P B = I B (BT B)1 BT . (B.44)

in which I is the m m identity matrix. Since P B = PT B , the projector is square symmetric. Note that P B B = B B (BT B)1 (BT B) = B B = 0. (B.45)

It follows that P B projects B onto its null space. Likewise BT P B = 0. Postmultiplying A by P B yields = A P B = A A B (BT B)1 BT . (B.46) A and B is called the projection of A onto the null space of B.4 It is easily veried that A Matrix A are orthogonal: B = A B A B (BT B)1 (BT B) = A B A B = 0. A (B.47) via (B.44) and (B.46) solves the orthogonalization problem. Consequently, forming A = 0, as may be expected. If B has more columns than rows, that If B is square and nonsingular, A is m < n , the projector (B.44) cannot be constructed since B BT is necessarily singular. A similar difculty arises if m n but BT B is singular. Such cases require treatment using generalized inverses, which is a topic beyond the scope of this Appendix.5 In some applications, notably FEM, matrix A is square symmetric and it is desirable to preserve . That can be done by pre-and postmultiplying by the projector: symmetry in A = PB A PB . A (B.48)

## Since PT B = P B , the operation (B.48) is a congruential transformation, which preserves symmetry.

3 4 5

If you are not sure what singular, nonsingular and rank mean or what (.)1 stands for, please read D.4. In contexts such as control and signal processing, P B is called a lter and the operation (B.46) is called ltering. See e.g., the textbooks [77,596].

B12

## B.5 . B.5.2. Orthogonal Projector Properties

MATRIX ORTHOGONALITY

The following properties of the projector (B.44) are useful when checking out computations. Forming its square as
T T T 1 T 1 T 1 T P2 B = P B P B = I 2B (B B) B + B (B B) B B (B B) B

## = I 2B (BT B)1 BT + B (BT B)1 BT = I B (BT B)1 BT = P B ,

(B.49)

shows that the projector matrix is idempotent. Repeating the process one sees that Pn B = P B , in which n is an arbitrary nonnegative integer. If B is m n with m n and full rank n , P B has m n unit eigenvalues and n zero eigenvalues. This is shown in the paper , in which various applications of orthogonal projectors and orthogonalization to multilevel FEM computations are covered in detail.

B13

## Homework Exercises for Appendix B: Matrices

EXERCISE B.1 Given the three matrices

A=

2 1 2

4 1 0 2 3 1 5 1 2

2 1 B= 4 3

2 0 , 1 2

C=

1 2

3 0

2 2

(EB.1)

compute the product D = ABC by hand using Falks scheme. Hint: do BC rst, then premultiply that by A.
EXERCISE B.2 Given the square matrices

A=

1 4

3 , 2

B=

3 1

0 2

(EB.2)

## verify by direct computation that AB = BA.

EXERCISE B.3 Given the matrices

A=

1 1 2

0 2 0

B=

3 1 4

1 2 0

4 0 0

(EB.3)

## (note that B is symmetric) compute S = AT BA, and verify that S is symmetric.

EXERCISE B.4 Given the square matrices

A=

3 1 3

1 0 2

2 3 5

B=

3 7 1

6 14 2

3 7 1

(EB.4)

## verify that AB = 0 although A = 0 and B = 0. Is BA also null?

EXERCISE B.5 Given the square matrix

A=

0 a 0 0 0 0

b c 0

(EB.5)

## show by direct computation that A2 = 0 but A3 = 0.

EXERCISE B.6 Can a diagonal matrix be antisymmetric?

D = BT AT , and use the matrix product denition (B.25) to show that the generic entries of C and D agree. (b) both products are square and symmetric. Hint: for (b) use the symmetry condition S = ST and (B.31).
EXERCISE B.9 Show that A2 only exists if and only if A is square.

EXERCISE B.7 (Tougher) Prove the matrix product transposition rule (B.33). Hint: call C = (AB)T , EXERCISE B.8 If A is an arbitrary m n matrix, show: (a) both products AT A and AAT are possible, and

EXERCISE B.10 If A is square and antisymmetric, show that A2 is symmetric. Hint: start from A = AT

## and apply the results of Exercise B.8.

B14

Solutions to Exercises

## Homework Exercises for Appendix B - Solutions

EXERCISE B.1

A=
EXERCISE B.2

1 3 0 2 2 2 2 6 0 1 3 1 B= 4 1 6 12 3 2 1 9 2 4 1 0 6 36 1 2 3 1 23 27 2 5 1 2 3 3 AB = 6 10

2 =C 2 0 2 = BC 10 . 2 18 32 = ABC = D 4 9 1

(EB.6)

6 3 = BA = 4 9 23 6 6 , 8

(EB.7)

EXERCISE B.3

## S = AT BA = which is symmetric, like B.

EXERCISE B.4

(EB.8)

A= However,

3 1 3

1 0 2

2 3 5 6 14 2

3 7 1 0 0 0 3 7 1

6 14 2 0 0 0 3 7 1

3 7 1 0 0 0 = 0.

=B . = AB = 0 (EB.9)

BA =

(EB.10)

EXERCISE B.5

A2 = AA =

0 0 ac 0 0 0 0 0 0

A3 = AAA =

0 0 0

0 0 0

0 0 0

=0

(EB.11)

EXERCISE B.6 Only if it is the null matrix. EXERCISE B.7 To avoid indexing indigestion let us carefully specify the dimensions of the given matrices

## and their transposes:

m n

A = [ai j ], B = [b jk ],

n m

AT = [a ji ]. BT = [bk j ]
p n

(EB.12) (EB.13)

n p

## Indices i , j and k run over 1 . . . m , 1 . . . n and 1 . . . p , respectively. Now call

p m

C = [cki ] = (AB)T .

(EB.14)

B15

## Appendix B: LINEAR ALGEBRA: MATRICES

p m

D = [dki ] = BT AT .
n

(EB.15)

## From the denition of matrix product, cki =

j =1 n n

ai j b jk . ai j b jk = cki .
j =1

(EB.16)

dki =
j =1

b jk ai j =

(EB.17)

EXERCISE B.8

## (a) If A is m n , AT is n m . Next we write the two products to be investigated:

n m m n

AT A ,

m n n m

A AT

(EB.18)

In both cases the column dimension of the premultiplicand is equal to the row dimension of the postmultiplicand. Therefore both products are possible. (b) To verify symmetry we use three results. First, the symmetry test: transpose equals original; second, transposing twice gives back the original; and, nally, the transposed-product formula proved in Exercise B.7. (AT A)T = AT (AT )T = AT A. (AAT )T = (AT )T AT = AAT . Or, to do it more leisurely, call B = AT , BT = A, C = AB, and lets go over the rst one again: CT = (AB)T = BT AT = AAT = AB = C. Since C = CT , C = AAT is symmetric. Same mechanics for the second one. must equal the row dimension m of the postmultiplicand A. Hence m = n and A must be square.
EXERCISE B.9 Let A be m n . For A2 = AA to exist, the column dimension n of the premultiplicand A EXERCISE B.10 Premultiply both sides of A = AT by A (which is always possible because A is square):

(EB.19) (EB.20)

(EB.21)

A2 = AA = AAT .

(EB.22)

But from Exercise B.8 we know that AAT is symmetric. Since the negated of a symmetric matrix is symmetric, so is A2 .

B16