We have seen that matrix algebra is similar in many ways to elementary algebra. Indeed, if we want to solve the matrix equation \(A X = B\) for the unknown \(X\), we imitate the procedure used in elementary algebra for solving the equation \(a x = b\). Notice how exactly the same properties are used in the following detailed solutions of both equations.

Equation in the real algebra

Equation in matrix algebra

\(a x = b\)

\(A X = B\)

\(a^{-1}(a x) =a^{-1}b\) if \(a \neq 0\)

\(A^{-1}(A X) = A^{-1}B\) if \(A^{-1 }\) exists

\(\left(a^{-1} a\right)x = a^{-1} b\)

Associative Property

\(\left(A^{-1} A\right)X = A^{-1} B\)

\(1x = a^{-1} b\)

Inverse Property

\(I X = A^{-1} B\)

\(x = a^{-1} b\)

Identity Property

\(X = A^{-1} B\)

Certainly the solution process for \(A X = B\) is the same as that of \(a x = b\).

The solution of \(x a = b\) is \(x = b a^{-1} = a^{-1}b\). In fact, we usually write the solution of both equations as \(x =\frac{b}{a}\). In matrix algebra, the solution of \(X A = B\) is \(X = B A^{-1}\) , which is not necessarily equal to \(A^{-1} B\). So in matrix algebra, since the commutative law (under multiplication) is not true, we have to be more careful in the methods we use to solve equations.

It is clear from the above that if we wrote the solution of \(A X = B\) as \(X=\frac{B}{A}\), we would not know how to interpret \(\frac{B}{A}\). Does it mean \(A^{-1} B\) or \(B A^{-1}\)? Because of this, \(A^{-1}\) is never written as \(\frac{1}{A}\).

Observation5.4.1Matrix Oddities

Some of the main dissimilarities between matrix algebra and elementary algebra are that in matrix algebra:

\(A B\) may be different from \(B A\).

There exist matrices \(A\) and \(B\) such that \(A B = \pmb{0}\), and yet \(A\neq \pmb{0}\) and \(B\neq \pmb{0}\).

There exist matrices \(A\) where \(A \neq \pmb{0}\), and yet \(A^2 = \pmb{0}\).

There exist matrices \(A\) where \(A^2=A\) with \(A\neq I\) and \(A\neq \pmb{0}\)

There exist matrices \(A\) where \(A^2=I\), where \(A\neq I\) and \(A\neq -I\)

In elementary algebra (the algebra of real numbers), each of the given oddities does not exist.

\(AB\) may be different from \(BA\). Not so in elementary algebra, since \(a b = b a\) by the commutative law of multiplication.

There exist matrices \(A\) and \(B\) such that \(AB = \pmb{0}\), yet \(A\neq \pmb{0}\)and \(B\neq \pmb{0}\). In elementary algebra, the only way \(ab = 0\) is if either \(a\) or \(b\) is zero. There are no exceptions.

There exist matrices \(A\), \(A\neq \pmb{0}\), yet \(A^2=\pmb{0}\). In elementary algebra, \(a^2=0\Leftrightarrow a=0\).

There exist matrices \(A^2=A\). where \(A\neq \pmb{0}\) and \(A\neq I\). In elementary algebra, \(a^2=a\Leftrightarrow a=0 \textrm{ or } 1\).

There exist matrices \(A\) where \(A^2=I\) but \(A\neq I\) and \(A\neq -I\). In elementary algebra, \(a^2=1\Leftrightarrow a=1\textrm{ or }-1\).

2

Determine \(2\times 2\) matrices which show that each of the “Matrix Oddities” are true.

3

Prove the following implications, if possible:

\(A^2= A\) and \(\det A \neq 0 \Rightarrow A =I\)

\(A^2 = I \textrm{ and } \det A \neq 0 \Rightarrow A = I \textrm{ or } A = -I\).

Let \(M_{n\times n}(\mathbb{R})\) be the set of real \(n\times n\) matrices. Let \(P \subseteq M_{n\times n}(\mathbb{R})\) be the subset of matrices defined by \(A \in P\) if and only if \(A^2 = A\). Let \(Q \subseteq P\) be defined by \(A\in Q\) if and only if \(\det A \neq 0\).

Determine the cardinality of \(Q\).

Consider the special case \(n = 2\) and prove that a sufficient condition for \(A \in P \subseteq M_{2\times 2}(\mathbb{R})\) is that \(A\) has a zero determinant (i.e., \(A\) is singular) and \(tr(A) = 1\) where \(tr(A) = a_{11}+ a _{22}\) is the sum of the main diagonal elements of \(A\).

Is the condition of part b a necessary condition?

5

Write each of the following systems in the form \(A X = B\), and then solve the systems using matrices.

The matrix of coefficients for this system has a zero determinant; therefore,
it has no inverse. The system cannot
be solved by this method. In fact, the system has no solution.

6

Recall that \(p(x) = x^2- 5x + 6\) is called a polynomial, or more specifically, a polynomial over \(\mathbb{R}\), where the
coefficients are elements of \(\mathbb{R}\) and \(x \in \mathbb{R}\). Also, think of the method of solving, and solutions of, \(x^2- 5x + 6= 0\).
We would like to define the analogous situation for \(2\times 2\) matrices. First define where \(A\) is a \(2\times 2\) matrix \(p(A) =
A^2 - 5A + 6I\). Discuss the method of solving and the solutions of \(A^2 - 5A + 6I=\pmb{0}\).

7

For those who know calculus:

Write the series expansion for \(e^a\) centered around \(a=0\).

Use the idea of exercise 6 to write what would be a plausible definion of \(e^A\) where \(A\) is an \(n \times n\) matrix.

If \(A=\left(
\begin{array}{cc}
1 & 1 \\
0 & 0 \\
\end{array}
\right)\) and \(B =\left(
\begin{array}{cc}
0 & -1 \\
0 & 0 \\
\end{array}
\right)\) , use the series in part (b) to show that \(e^A= \left(
\begin{array}{cc}
e & e-1 \\
0 & 1 \\
\end{array}
\right)\)and \(e^B= \left(
\begin{array}{cc}
1 & -1 \\
0 & 1 \\
\end{array}
\right)\).

Show that \(e^Ae^B\neq e^Be^A\).

Show that \(e^{A+B}= \left(
\begin{array}{cc}
e & 0 \\
0 & 1 \\
\end{array}
\right)\).