Back to Matrix multiplication and linear combinations

Activity 2.2.5

Avg difficulty 2.5

Consider the matrices A=[132−34−1],   B=[3012−2−1]A = \left[\begin{array}{rrr} 1 & 3 & 2 \\ -3 & 4 & -1 \\ \end{array}\right],~~~ B = \left[\begin{array}{rr} 3 & 0 \\ 1 & 2 \\ -2 & -1 \\ \end{array}\right].

  1. Before computing, first explain why the shapes of AA and BB enable us to form the product ABAB. Then describe the shape of ABAB.

  2. Compute the product ABAB.

  3. Sage can multiply matrices using the * operator. Define the matrices AA and BB in the Sage cell below and check your work by computing ABAB.

  4. Are we able to form the matrix product BABA? If so, use the Sage cell above to find BABA. Is it generally true that AB=BAAB = BA?

  5. Suppose we form the three matrices. A=[123−2],B=[042−1],C=[−1343]A = \left[\begin{array}{rr} 1 & 2 \\ 3 & -2 \\ \end{array}\right], B = \left[\begin{array}{rr} 0 & 4 \\ 2 & -1 \\ \end{array}\right], C = \left[\begin{array}{rr} -1 & 3 \\ 4 & 3 \\ \end{array}\right]. Compare what happens when you compute A(B+C)A(B+C) and AB+ACAB + AC. State your finding as a general principle.

  6. Compare the results of evaluating A(BC)A(BC) and (AB)C(AB)C and state your finding as a general principle.

  7. When we are dealing with real numbers, we know if a≠0a\neq 0 and ab=acab = ac, then b=cb=c. Define matrices A=[12−2−4],B=[3013],C=[1222]A = \left[\begin{array}{rr} 1 & 2 \\ -2 & -4 \\ \end{array}\right], B = \left[\begin{array}{rr} 3 & 0 \\ 1 & 3 \\ \end{array}\right], C = \left[\begin{array}{rr} 1 & 2 \\ 2 & 2 \\ \end{array}\right] and compute ABAB and ACAC. If AB=ACAB = AC, is it necessarily true that B=CB = C?

  8. Again, with real numbers, we know that if ab=0ab = 0, then either a=0a = 0 or b=0b=0. Define A=[12−2−4],B=[2−4−12]A = \left[\begin{array}{rr} 1 & 2 \\ -2 & -4 \\ \end{array}\right], B = \left[\begin{array}{rr} 2 & -4 \\ -1 & 2 \\ \end{array}\right] and compute ABAB. If AB=0AB = 0, is it necessarily true that either A=0A=0 or B=0B=0?

Austin, Understanding Linear Algebra, §2.2 Matrix multiplication and linear combinations, Activity 2.2.5

AI Tutor

Adapted from Understanding Linear Algebra © 2023 David Austin. Licensed under CC BY 4.0. Source: Understanding Linear Algebra. Imported at revision 3e6dced.