What should \(A + B\) mean? What should \(A - B\) mean?
(b)
What should \(3 A\) mean?
(c)
Now let’s consider the sum \(A + C\text{.}\)
(i)
Compute \(A + C\text{.}\) Call this result matrix \(D\text{.}\) What are the dimensions of \(D\text{?}\)
(ii)
Now compute \(D - A\text{.}\) Do this numerically, not algebraically; that is, forget where your result matrix \(D\) came from and actually compute \(D - A\) using the same procedure that you used to subtract matrices in Task a. What are the dimensions of this result?
(iii)
Now let’s remember that \(D = A + C\text{.}\) Algebraically, what result would you expect from computing \((A + C) - A\text{?}\) Does your numerical computation in the previous step agree with your algebraic expectation? (Keep in mind your answer to what it means for two matrices to be equal from Task 4.2.b.)
(iv)
Given how things worked out, how do you feel about performing \(A + C\) in the first place?
Discovery4.4.
The number zero is important in algebra, it lets us do things like the following.
The critical step for us right now is the last simplification of the left-hand side:
\begin{equation*}
a + 0 = a \text{.}
\end{equation*}
(a)
What matrix do you think will act like zero in matrix addition? Is the answer different for different dimensions?
(b)
What will be the result if you multiply this special “zero” matrix by a number (similarly to Task 4.3.b)?
Discovery4.5.
(a)
Use your idea from Task b of Discovery 4.2 to turn the following single matrix equation into a system of two equations in the unknowns \(c\) and \(d\text{.}\) (Don’t bother to actually solve for the values of \(c\) and \(d\text{.}\))
\begin{equation*}
\begin{bmatrix} c + 2 d \\ 3 d \end{bmatrix}
= \left[ \begin{array}{r} 5 \\ -3 \end{array}\right]
\end{equation*}
Careful: What sizes are the two matrices above?
(b)
Now do the reverse of Task a: write the following system of equations as a single matrix equation using a column matrix on each side of the equation:
Again, be careful about the sizes of your matrices! If you have an equals sign between two matrices, they must adhere to your principle from Task b of Discovery 4.2.
(c)
The simplest system of equations is one equation in one unknown, i.e.
\begin{equation*}
a x = b\text{.}
\end{equation*}
But we don’t usually just think of this as left-hand side and right-hand side, we think of it in the pattern
Can we represent the system from Task b in a similar pattern using a matrix equation
\begin{equation*}
A \uvec{x} = \uvec{b} \text{?}
\end{equation*}
(i)
What should the coefficient matrix \(A\) be?
(ii)
What should the (column) matrix of unknowns \(\uvec{x}\) be?
(iii)
What should the (column) matrix of constants \(\uvec{b}\) be?
(d)
On the left-hand side of the matrix equation \(A \uvec{x} = \uvec{b}\text{,}\) the operation matrix-times-matrix should compute to a single matrix. What size of matrix should this multiplication result be?
Hint.
The result of computing \(A \uvec{x}\) must make sense in the matrix equality \(A \uvec{x} = \uvec{b}\text{,}\) per the pattern of matrix equality you described in Task 4.2.b.
(e)
Finally, we want \(A \uvec{x} = \uvec{b}\) to represent in one matrix equation the full system of two number equations from Task b. We already came up with a matrix equation to represent that system in Task b. Looking at your matrices \(A\) and \(\uvec{x}\) from Task c, and comparing with the left-hand side of your matrix equation from Task b, what procedure should be used to carry out the operation matrix \(A\) times column \(\uvec{x}\)?
(f)
The values \(x_1 = 2\text{,}\)\(x_2 = 1\text{,}\)\(x_3 = 3\text{,}\) represent a solution to the system in Task b. Verify this by carrying out the multiplication \(A \uvec{x}\text{,}\) using your calculation procedure from Task e, and with the unknowns \(x_1,x_2,x_3\) in the column matrix \(\uvec{x}\) replaced by these solution values. Then compare your calculation result with \(\uvec{b}\text{.}\)
and using the procedure for “matrix times column” that you developed in Discovery 4.5.
Discovery4.7.
We all know that \(3\) times \(5\) and \(5\) times \(3\) have the same result. Algebraically, we write that \(a b = b a \) is true for all numbers \(a,b\text{.}\) What about matrices?
Look back at matrices \(A\) and \(X\) from Discovery 4.6, where you computed the matrix product \(A X\text{.}\) Does multiplying \(X A\) in the opposite order even make sense?
Discovery4.8.
Considering the previous three activities about matrix multiplication, what patterns have you observed about the required sizes of the two matrices involved for things to work out?
In particular, if \(A\) has \(m\) rows and \(n\) columns, and \(B\) has \(k\) rows and \(\ell\) columns, what relationship must there be between these numbers for the matrix-times-columns calculation method to make sense when computing \(A B\text{?}\) And in that case, what size will the resulting product matrix \(A B\) be?
Discovery4.9.
In the following, assume \(A,B\) are square matrices.
(a)
What do you think \(A^2\) means? \(A^3\text{?}\)
(b)
Explain why the formula \((AB)^2 = A^2 B^2\) is wrong. What is the correct formula?
Hint.
What does \((AB)^2\)mean? Then consider Discovery 4.7.
(c)
Explain why the formula \((A+B)^2 = A^2 + 2AB + B^2\) is wrong. What is the correct formula?