5.1. MATRIX ARITHMETIC 91

= (a(AB)+b(AC))i j .

Thus A(B+C) = AB+AC as claimed. Formula 5.14 is entirely similar.Formula 5.15 is the associative law of multiplication. Using Definition 5.1.14,

(A(BC))i j = ∑k

Aik (BC)k j = ∑k

Aik ∑l

BklCl j

= ∑l(AB)il Cl j = ((AB)C)i j .

This proves 5.15. ■

5.1.5 The TransposeAnother important operation on matrices is that of taking the transpose. The followingexample shows what is meant by this operation, denoted by placing a T as an exponent onthe matrix.  1 4

3 12 6

T

=

(1 3 24 1 6

)

What happened? The first column became the first row and the second column became thesecond row. Thus the 3×2 matrix became a 2×3 matrix. The number 3 was in the secondrow and the first column and it ended up in the first row and second column. Here is thedefinition.

Definition 5.1.22 Let A be an m× n matrix. Then AT denotes the n×m matrix which isdefined as follows. (

AT )i j = A ji

Example 5.1.23 (1 2 −63 5 4

)T

=

 1 32 5−6 4

 .

The transpose of a matrix has the following important properties.

Lemma 5.1.24 Let A be an m×n matrix and let B be a n× p matrix. Then

(AB)T = BT AT (5.16)

and if α and β are scalars,

(αA+βB)T = αAT +βBT (5.17)

Proof: From the definition,((AB)T

)i j= (AB) ji = ∑

kA jkBki = ∑

k

(BT )

ik

(AT )

k j =(BT AT )

i j

The proof of Formula 5.17 is left as an exercise. ■

5.1. MATRIX ARITHMETIC 91= (a(AB) +b (AC));; .Thus A(B+C) =AB+AC as claimed. Formula 5.14 is entirely similar.Formula 5.15 is the associative law of multiplication. Using Definition 5.1.14,(A(BC));; = An (BC), j = dA PBC=) (AB), C)j = ((AB)C);;-IThis proves 5.15.5.1.5 The TransposeAnother important operation on matrices is that of taking the transpose. The followingexample shows what is meant by this operation, denoted by placing a T as an exponent onthe matrix.T1 41 3 23 1] =4 1 62 6What happened? The first column became the first row and the second column became thesecond row. Thus the 3 x 2 matrix became a 2 x 3 matrix. The number 3 was in the secondrow and the first column and it ended up in the first row and second column. Here is thedefinition.Definition 5.1.22 Let A be an mxn matrix. Then A’ denotes the nx m matrix which isdefined as follows.(4°); = AiijT 1 31 2 -6=] 2 53 5 4—6 4The transpose of a matrix has the following important properties.Example 5.1.23Lemma 5.1.24 Let A be an m x n matrix and let B be an x p matrix. Then(AB)’ =B’ Al (5.16)and if a and B are scalars,(a@A+BB)’ = aA’ +BBr (5.17)Proof: From the definition,((48)"), = (48) =DAnBu =D (87) A"), = (B"4"),,k kThe proof of Formula 5.17 is left as an exercise. Mi