# Find the products AB and BA for the diagonal matrices. A=begin{bmatrix}3 & 0 &0 0 & -5&0 0&0&0 end{bmatrix}, B=begin{bmatrix}-7 & 0 &0 0 &4&0 0&0&12 end{bmatrix}

Tazmin Horton 2021-01-02 Answered
Find the products AB and BA for the diagonal matrices.
$A=\left[\begin{array}{ccc}3& 0& 0\\ 0& -5& 0\\ 0& 0& 0\end{array}\right],B=\left[\begin{array}{ccc}-7& 0& 0\\ 0& 4& 0\\ 0& 0& 12\end{array}\right]$
You can still ask an expert for help

Expert Community at Your Service

• Live experts 24/7
• Questions are typically answered in as fast as 30 minutes
• Personalized clear answers

Solve your problem for the price of one coffee

• Available 24/7
• Math expert for every subject
• Pay only if we can solve it

## Expert Answer

SchulzD
Answered 2021-01-03 Author has 83 answers
Step 1
Given the diagonal matrix:
$A=\left[\begin{array}{ccc}3& 0& 0\\ 0& -5& 0\\ 0& 0& 0\end{array}\right],B=\left[\begin{array}{ccc}-7& 0& 0\\ 0& 4& 0\\ 0& 0& 12\end{array}\right]$
Step 2
Multiply the given matrix:
$AB=\left[\begin{array}{ccc}3& 0& 0\\ 0& -5& 0\\ 0& 0& 0\end{array}\right]\left[\begin{array}{ccc}-7& 0& 0\\ 0& 4& 0\\ 0& 0& 12\end{array}\right]$
$=\left[\begin{array}{ccc}3\left(-7\right)+0\cdot 0+0\cdot 0& 3\cdot 0+0\cdot 4+0\cdot 0& 3\cdot 0+0\cdot 0+0\cdot 12\\ 0\cdot \left(-7\right)+\left(-5\right)\cdot 0+0\cdot 0& 0\cdot 0+\left(-5\right)\cdot 4+0\cdot 0& 0\cdot 0+\left(-5\right)\cdot 0+0\cdot 12\\ 0\cdot \left(-7\right)+0\cdot 0+0\cdot 0& 0\cdot 0+0\cdot 4+0\cdot 0& 0\cdot 0+0\cdot 0+0\cdot 12\end{array}\right]$

$=\left[\begin{array}{ccc}-21& 0& 0\\ 0& -20& 0\\ 0& 0& 0\end{array}\right]$ Since the multiplication of diagonal matrices is commutative.
That is
If A and B are diagonal matrices, then AB = BA.
Thus,
$AB=BA=\left[\begin{array}{ccc}-21& 0& 0\\ 0& -20& 0\\ 0& 0& 0\end{array}\right]$
###### Not exactly what you’re looking for?
Jeffrey Jordon
Answered 2022-01-15 Author has 2064 answers

Expert Community at Your Service

• Live experts 24/7
• Questions are typically answered in as fast as 30 minutes
• Personalized clear answers

Solve your problem for the price of one coffee

• Available 24/7
• Math expert for every subject
• Pay only if we can solve it