← Back to Math 010

1.4 Inverses; Algebraic Properties of Matrices: Class Notes

Theorem 1.4.1 Properties of Matrix Arithmetic

Assuming that the sizes of the matrices are such that the indicated operations can be performed, the following rules of matrix arithmetic are valid for matrices A, B, and C and scalars a, b, and c.

  1. A+B=B+A (commutative law for matrix addition)
  2. A+(B+C)=(A+B)+C=A+B+C (associative law for matrix addition)
  3. (AB)C=A(BC)=ABC (associative law for matrix multiplication)
  4. A(B+C)=AB+AC (left distributive law)
  5. (B+C)A=BA+CA (right distributive law)
  6. A(B−C)=AB−AC
  7. (B−C)A=BA−CA
  8. a(B+C)=aB+aC
  9. a(B−C)=aB−aC
  10. (a+b)C=aC+bC
  11. (a−b)C=aC−bC
  12. a(bC)=(ab)C
  13. a(BC)=(aB)C=B(aC)

There are two distributive laws, (d) and (e), because matrix multiplication is not commutative: AB and BA are usually different. Consider sizes:

If A is 2×3 and B is 3×2, then AB is 2×2, but BA (3×2 times 2×3) is 3×3.

If A is 3×3 and B is 3×2, then AB is defined, but BA (3×2 times 3×3) is not defined at all.

Proof of (h)

For a(B+C) to be equal to aB+aC, they must have the same size and equal entries. If B+C is defined (as assumed), then B and C have the same size, say m×n. Scalar multiplication does not change the size of a matrix, so a(B+C), aB, and aC are all m×n matrices. Thus aB+aC is an m×n matrix.

(a(B+C))ij is the entry in the ith row and jth column of the matrix on the left-hand side. Then

(a(B+C))ij=a(B+C)ijscalar multiplication=a(bij+cij)matrix addition=abij+acijdistributive property of real numbers=(aB)ij+(aC)ijdefinition of scalar multiplication

Since corresponding entries are equal, a(B+C)=aB+aC.

Definition

In general, AB≠BA. In the special cases where AB=BA, we say that A and B commute.

Definition

A zero matrix, denoted O, is a matrix whose entries are all zero.

Theorem 1.4.2 Properties of Zero Matrices

If c is a scalar, and if the sizes of the matrices A and O are such that the operations can be performed, then:

  1. A+O=O+A=A
  2. A−O=A
  3. A−A=A+(−A)=O
  4. 0A=O
  5. If cA=O, then c=0 or A=O

Some rules for real numbers do not carry over to matrices:

We can have A≠O and B≠O but AB=O.

Also, if AC=BC, it does not always follow that A=B. To disprove the statement “if AC=BC, then A=B”, a counterexample is enough: let C=O and let A≠B. Then AC=O=BC, but A≠B.

Definition

Identity matrices are square matrices with 1’s on the main diagonal and zeros everywhere else. They are denoted I or In if referencing the size, n×n.

I2=[1001],I3=[100010001],In=[10⋯001⋯0⋮⋮⋱⋮00⋯1]

Representing matrix multiplication. Let A be m×k and B be k×n:

A=[a11a12⋯a1ka21a22⋯a2k⋮⋮⋮ai1ai2⋯aik⋮⋮⋮am1am2⋯amk],B=[b11b12⋯b1j⋯b1nb21b22⋯b2j⋯b2n⋮⋮⋮⋮bk1bk2⋯bkj⋯bkn]

The entry in the ith row and jth column of AB comes from row i of A and column j of B. The matching inner subscripts run from 1 to k:

(AB)ij=ai1b1j+ai2b2j+⋯+aikbkj=∑r=1kairbrj

For example, let A=[abcd]. Then

AI2=[abcd][1001]=[abcd]=I2A

Theorem 1.4.3

If R is the reduced row echelon form of an n×n matrix A, then either R has at least one row of zeros or R is the identity matrix In.

Tip: No need to memorize theorem numbers; know what each theorem says.

Proof

An n×n matrix has at most n pivots. If there are n pivots in R, then R=In by the definition of reduced row echelon form. If there are fewer than n pivots, then at least one row does not have a leading 1. So at least one row is all zeros. (This uses the definitions of pivot and of reduced row echelon form.)

Definition

If A is a square matrix, and if there exists a matrix B of the same size for which AB=BA=I, then A is said to be invertible (or nonsingular) and B is called the inverse of A. If no such matrix B exists, then A is said to be singular. Because the inverse of a matrix A is unique, we will denote it using A−1.

Why is the inverse unique? That is the next theorem.

Theorem 1.4.4 Uniqueness of a Matrix Inverse

If B and C are both inverses of the matrix A, then B=C.

Proof

If B and C are both inverses of A, then

B=BIdefinition of I=B(AC)C is an inverse of A=(BA)Cassociative property of matrix multiplication=ICB is an inverse of A=Cdefinition of I

Theorem 1.4.5

The matrix A=[abcd] is invertible if and only if ad−bc≠0, in which case the inverse is given by the formula A−1=1ad−bc[d−b−ca].

So to invert a 2×2 matrix: swap the diagonal entries a and d, change the signs of b and c, and divide by ad−bc.

#8

Use Theorem 1.4.5 to compute the inverse.

[64−2−1]

Solution

ad−bc=6(−1)−(−2)(4)=2

A−1=12[−1−426]=[−12−213]

Check:

A−1A=[−12−213][64−2−1]=[1001] ✓

Answer: A−1=[−12−213]

Theorem 1.4.6

If A and B are invertible matrices with the same size, then AB is invertible and (AB)−1=B−1A−1.

A and B are invertible, so A−1 and B−1 exist.

Proof

Consider (AB)(B−1A−1):

(AB)(B−1A−1)=A(BB−1)A−1associative property=AIA−1definition of inverse=AA−1definition of I=Idefinition of inverse

Since multiplying (AB) by (B−1A−1) yields I, (AB)−1=B−1A−1.

A similar argument is used to show (B−1A−1)(AB)=I, which you are encouraged to complete.

Note: if A, B, and C are invertible, then (ABC)−1=C−1B−1A−1, and so on for longer products.

Theorem 1.4.7 Properties of Negative Exponents

If A is invertible and n is a nonnegative integer, then:

  1. A−1 is invertible and (A−1)−1=A.
  2. An is invertible and (An)−1=A−n=(A−1)n.
  3. kA is invertible for any nonzero scalar k, and (kA)−1=k−1A−1.

In (c), k−1 is the reciprocal of the number k, while A−1 is the inverse matrix.

#15

Use the given information to find A.

(7A)−1=[−371−2]

Solution

By Theorem 1.4.7(c), (7A)−1=17A−1, so

17A−1=[−371−2]⟹A−1=[−21497−14]

By Theorem 1.4.7(a), A=(A−1)−1. Use Theorem 1.4.5:

A=[−21497−14]−1=1(−21)(−14)−(49)(7)[−14−49−7−21]

=1−49[−14−49−7−21]=[2711737]

Answer: A=[2711737]

Another way: invert both sides first. 7A=[(7A)−1]−1, so

7A=[−371−2]−1=16−7[−2−7−1−3]=[2713]⟹A=17[2713]

#23

Find all values of a, b, c, and d (if any) for which the matrices A=[abcd] and B=[0100] commute.

Solution

The matrices commute when AB=BA.

AB=[abcd][0100]=[0a0c]

BA=[0100][abcd]=[cd00]

Setting them equal, corresponding entries must match:

[0a0c]=[cd00]

The first entry of row 1 and the last entry of row 2 both say c=0, and the second entry of row 1 says a=d. Nothing restricts b.

Answer: c=0, a=d, b∈ℝ

#25

Solve the system using an inverse matrix.

3x1−2x2=−14x1+5x2=3

Solution

Write the system as a matrix equation, in the form Ax→=b→:

[3−245][x1x2]=[−13]

Multiply both sides on the left by A−1:

A−1Ax→=A−1b→⟹x→=A−1b→

Tip: This is like solving 3x=15 by multiplying both sides by 13 to get x=5.

A=[3−245]⟹A−1=115+8[52−43]

x→=123[52−43][−13]=123[113]

Answer: (x1,x2)=(123,1323)

#39

Simplify the expression assuming that A, B, C and D are invertible.

(AB)−1(AC−1)(D−1C−1)−1D−1

Solution

Use Theorem 1.4.6 on (AB)−1 and on (D−1C−1)−1 (reverse the order and invert each factor), with (C−1)−1=C and (D−1)−1=D:

=B−1A−1AC−1CDD−1

Now A−1A=I, C−1C=I, and DD−1=I:

=B−1(A−1A)(C−1C)(DD−1)=B−1III=B−1

Answer: B−1

Theorem 1.4.8 Properties of the Transpose

If the sizes of the matrices are such that the stated operations can be performed, then:

  1. (AT)T=A
  2. (A+B)T=AT+BT
  3. (A−B)T=AT−BT
  4. (kA)T=kAT
  5. (AB)T=BTAT

In (e), if A is m×k and B is k×n, then BT is n×k and AT is k×m, so the order has to reverse for the sizes to match.

Notation

A is a matrix.

[aij] is a matrix.

(A)ij is an entry (a position).

aij is an entry (a real number).

Proof of (b)

Let A=[aij] and B=[bij] be matrices of the same size. Then

((A+B)T)ij=(A+B)ji=(A)ji+(B)ji=(AT)ij+(BT)ij=(AT+BT)ij

So (A+B)T=AT+BT.

Tip: You try: prove (e) and Theorem 1.4.9 yourself before reading the proofs below.

Proof of (e)

Let A=[aij] be an n×r matrix and B=[bij] be an r×m matrix. ((AB)T)ij is the entry in the ith row and jth column of (AB)T.

((AB)T)ij=(AB)ji=∑k=1rajkbki=∑k=1rbkiajkmultiplication of real numbers is commutative=∑k=1r(BT)ik(AT)kj=(BTAT)ij

Theorem 1.4.9

If A is an invertible matrix, then AT is also invertible and (AT)−1=(A−1)T.

Proof

Since A is invertible, A−1 exists. By Theorem 1.4.8(e),

AT(A−1)T=(A−1A)T=IT=I

because IT=I. Likewise,

(A−1)TAT=(AA−1)T=IT=I

So AT is invertible, with inverse (A−1)T.