Problem 34
Question
If possible, find \(A B\) and \(B A\). $$A=\left[\begin{array}{rrr}2 & 1 & -1 \\\0 & 2 & 1 \\\3 & 2 & -1 \end{array}\right], \quad B=\left[\begin{array}{rr}1 & 0 \\\2 & -1 \\\3 & 1\end{array}\right]$$
Step-by-Step Solution
Verified Answer
AB can be found and is \(\left[\begin{array}{cc}2 & -2 \\7 & -1 \\7 & -3\end{array}\right]\). BA is not possible.
1Step 1: Understand the dimensions
First, determine the dimensions of matrices \(A\) and \(B\). Matrix \(A\) is a \(3 \times 3\) matrix, and matrix \(B\) is a \(3 \times 2\) matrix.
2Step 2: Check the possibility of finding AB
Matrix multiplication is possible only if the number of columns in the first matrix equals the number of rows in the second matrix. For \(AB\), the multiplication is possible because \(A\) has 3 columns and \(B\) has 3 rows.
3Step 3: Calculate AB
To find \(AB\), multiply each row of \(A\) by each column of \(B\). The result is a \(3 \times 2\) matrix. Perform the multiplication:\[AB = \left[\begin{array}{cc}2 \times 1 + 1 \times 2 + (-1) \times 3 & 2 \times 0 + 1 \times (-1) + (-1) \times 1 \0 \times 1 + 2 \times 2 + 1 \times 3 & 0 \times 0 + 2 \times (-1) + 1 \times 1 \3 \times 1 + 2 \times 2 + (-1) \times 3 & 3 \times 0 + 2 \times (-1) + (-1) \times 1\end{array}\right]\]Simplifying each element, we get:\[AB = \left[\begin{array}{cc}2 & -2 \7 & -1 \7 & -3\end{array}\right]\]
4Step 4: Check the possibility of finding BA
For \(BA\), check if the multiplication is possible by ensuring the number of columns in \(B\) matches the number of rows in \(A\). Matrix \(B\) has 2 columns, and \(A\) has 3 rows, so the multiplication \(BA\) is not possible.
Key Concepts
Matrix DimensionsMatrix Multiplication RulesMatrix Product Calculation
Matrix Dimensions
When dealing with matrices, understanding their dimensions is crucial. The dimensions of a matrix are denoted by the number of rows and columns it contains. This is written in the form \( m \times n \), where \( m \) is the number of rows and \( n \) is the number of columns.
For example:
For example:
- Matrix \( A \) in the problem is a \( 3 \times 3 \) matrix, indicating it has 3 rows and 3 columns.
- Matrix \( B \) is a \( 3 \times 2 \) matrix, meaning it has 3 rows and 2 columns.
Matrix Multiplication Rules
Matrix multiplication is not as straightforward as regular number multiplication. There are specific rules you need to follow:
One of the most important rules for multiplying two matrices is that the number of columns in the first matrix must match the number of rows in the second matrix.
For example:
Another note is that even if both multiplications \( AB \) and \( BA \) were possible, they could yield different results, as matrix multiplication is not commutative. Always check the dimensions!
One of the most important rules for multiplying two matrices is that the number of columns in the first matrix must match the number of rows in the second matrix.
For example:
- To multiply \( A \) and \( B \) (i.e., find \( AB \)), check that matrix \( A \) has 3 columns, and matrix \( B \) has 3 rows. As these numbers match, multiplication is possible.
Another note is that even if both multiplications \( AB \) and \( BA \) were possible, they could yield different results, as matrix multiplication is not commutative. Always check the dimensions!
Matrix Product Calculation
Once verifying dimensions and ensuring rules are followed, you can calculate the matrix product.
The process involves taking each row of the first matrix and multiplying it by every column of the second matrix. Here's how you do it:
The resulting product matrix \( AB \) from our exercise is:
The process involves taking each row of the first matrix and multiplying it by every column of the second matrix. Here's how you do it:
- Start with the first row of Matrix \( A \) and multiply it by each column of Matrix \( B \), summing the products.
- Continue this process for each row in \( A \).
- For example, the element in the first row, first column of \( AB \) is computed as: \( 2 \times 1 + 1 \times 2 + (-1) \times 3 = 2 \).
The resulting product matrix \( AB \) from our exercise is:
- First row: \( \left[2, -2\right] \)
- Second row: \( \left[7, -1\right] \)
- Third row: \( \left[7, -3\right] \)
Other exercises in this chapter
Problem 33
Use Gaussian elimination with backward substitution to solve the system of linear equations. Write the solution as an ordered pair or an ordered triple whenever
View solution Problem 33
Three students buy lunch in the cafeteria. One student buys 2 hamburgers, 2 orders of fries, and 1 soda for \(\$ 9 .\) Another student buys 1 hamburger, 1 order
View solution Problem 34
Graph the solution set to the system of inequalities. $$ \begin{aligned} &2 x+3 y \leq 6\\\ &\frac{1}{2} x^{2}-y \leq 2 \end{aligned} $$
View solution Problem 34
LetA be the given matrix. Find \(A^{-1}\). $$ \left[\begin{array}{rrr} 2 & 0 & 2 \\ 1 & 5 & 0 \\ -1 & 0 & 2 \end{array}\right] $$
View solution