Problem 26
Question
Let $$A=\left[\begin{array}{rr} -1 & 0 \\ 1 & 2 \end{array}\right], \quad B=\left[\begin{array}{rr} 2 & 0 \\ -1 & -1 \end{array}\right], \quad C=\left[\begin{array}{rr} 1 & 2 \\ 0 & -1 \end{array}\right]$$ Show that \(A(B+C)=A B+A C\).
Step-by-Step Solution
Verified Answer
The identity \(A(B+C) = AB + AC\) is verified as both operations give the same matrix result.
1Step 1: Compute B + C
First, add matrices \(B\) and \(C\). To add two matrices, add their corresponding elements.\[B + C = \begin{bmatrix} 2 & 0 \ -1 & -1 \end{bmatrix} + \begin{bmatrix} 1 & 2 \ 0 & -1 \end{bmatrix} = \begin{bmatrix} 2+1 & 0+2 \ -1+0 & -1+(-1) \end{bmatrix} = \begin{bmatrix} 3 & 2 \ -1 & -2 \end{bmatrix}\]
2Step 2: Compute A(B + C)
Next, perform the multiplication of matrix \(A\) with the result from Step 1, \(B+C\). Use the rule for matrix multiplication: the element in row \(i\), column \(j\) of the product corresponds to the dot product of row \(i\) of \(A\) and column \(j\) of \(B+C\).\[A(B+C) = \begin{bmatrix} -1 & 0 \ 1 & 2 \end{bmatrix} \begin{bmatrix} 3 & 2 \ -1 & -2 \end{bmatrix}\]Calculate each element:\[\text{First row, first column: } -1 \cdot 3 + 0 \cdot (-1) = -3\]\[\text{First row, second column: } -1 \cdot 2 + 0 \cdot (-2) = -2\]\[\text{Second row, first column: } 1 \cdot 3 + 2 \cdot (-1) = 3 - 2 = 1\]\[\text{Second row, second column: } 1 \cdot 2 + 2 \cdot (-2) = 2 - 4 = -2\]Thus,\[A(B+C) = \begin{bmatrix} -3 & -2 \ 1 & -2 \end{bmatrix}\]
3Step 3: Compute AB
Compute the product of matrices \(A\) and \(B\).\[AB = \begin{bmatrix} -1 & 0 \ 1 & 2 \end{bmatrix} \begin{bmatrix} 2 & 0 \ -1 & -1 \end{bmatrix}\]Calculate each element:\[\text{First row, first column: } -1 \cdot 2 + 0 \cdot (-1) = -2\]\[\text{First row, second column: } -1 \cdot 0 + 0 \cdot (-1) = 0\]\[\text{Second row, first column: } 1 \cdot 2 + 2 \cdot (-1) = 2 - 2 = 0\]\[\text{Second row, second column: } 1 \cdot 0 + 2 \cdot (-1) = -2\]Thus,\[AB = \begin{bmatrix} -2 & 0 \ 0 & -2 \end{bmatrix}\]
4Step 4: Compute AC
Compute the product of matrices \(A\) and \(C\).\[AC = \begin{bmatrix} -1 & 0 \ 1 & 2 \end{bmatrix} \begin{bmatrix} 1 & 2 \ 0 & -1 \end{bmatrix}\]Calculate each element:\[\text{First row, first column: } -1 \cdot 1 + 0 \cdot 0 = -1\]\[\text{First row, second column: } -1 \cdot 2 + 0 \cdot (-1) = -2\]\[\text{Second row, first column: } 1 \cdot 1 + 2 \cdot 0 = 1\]\[\text{Second row, second column: } 1 \cdot 2 + 2 \cdot (-1) = 2 - 2 = 0\]Thus,\[AC = \begin{bmatrix} -1 & -2 \ 1 & 0 \end{bmatrix}\]
5Step 5: Compute AB + AC
Add the results from Steps 3 and 4.\[AB + AC = \begin{bmatrix} -2 & 0 \ 0 & -2 \end{bmatrix} + \begin{bmatrix} -1 & -2 \ 1 & 0 \end{bmatrix} = \begin{bmatrix} -2 + (-1) & 0 + (-2) \ 0 + 1 & -2 + 0 \end{bmatrix} = \begin{bmatrix} -3 & -2 \ 1 & -2 \end{bmatrix}\]
6Step 6: Compare A(B+C) with AB + AC
Finally, compare the matrix obtained from Step 2 with that from Step 5.Both matrices are:\[\begin{bmatrix} -3 & -2 \ 1 & -2 \end{bmatrix}\]Since they are the same, we have shown that:\[ A(B+C) = AB + AC \]
Key Concepts
Matrix AdditionMatrix MultiplicationDistributive Property of Matrices
Matrix Addition
Matrix addition is one of the simplest operations you can perform with matrices. It's essentially the process of adding two matrices by adding their corresponding elements together. For two matrices to be added, they must be of the same dimension, meaning they have the same number of rows and columns.
To make things clearer, let's consider matrices \(B\) and \(C\) from the example. Both \(B\) and \(C\) are 2x2 matrices:
To make things clearer, let's consider matrices \(B\) and \(C\) from the example. Both \(B\) and \(C\) are 2x2 matrices:
- Matrix \(B\) is \(\begin{bmatrix} 2 & 0 \ -1 & -1 \end{bmatrix}\)
- Matrix \(C\) is \(\begin{bmatrix} 1 & 2 \ 0 & -1 \end{bmatrix}\)
Matrix Multiplication
Unlike addition, matrix multiplication is a bit more complex and requires a specific rule to follow. You need to multiply the rows of the first matrix by the columns of the second matrix. The number of columns in the first matrix must equal the number of rows in the second matrix for the multiplication to be possible.
- For matrix \(A = \begin{bmatrix} -1 & 0 \ 1 & 2 \end{bmatrix}\) which is 2x2, and matrix \(B+C = \begin{bmatrix} 3 & 2 \ -1 & -2 \end{bmatrix}\) also 2x2, multiplication can proceed.
- First row, first column: \(-1 \cdot 3 + 0 \cdot (-1) = -3\)
- Second row, first column: \(1 \cdot 3 + 2 \cdot (-1) = 3 - 2 = 1\)
Distributive Property of Matrices
The distributive property of matrices is similar to the distributive property you learn for numbers. It states that for matrices \(A\), \(B\), and \(C\), the following holds true: \[A(B+C) = AB + AC\]This means that you can distribute a matrix over a matrix addition, just like with numbers in algebra.
By calculating both sides separately, as we did in the step-by-step solution, we confirm that:
By calculating both sides separately, as we did in the step-by-step solution, we confirm that:
- On the left-hand side, calculate \(A(B+C)\).
- On the right-hand side, calculate \(AB + AC\).
Other exercises in this chapter
Problem 26
Find the angle between \(\mathbf{x}=[1,-3,2]^{\prime}\) and \(\mathbf{y}=[3,1,-4]^{\prime}\).
View solution Problem 26
Compute ax for each vector \(\mathbf{x}\) and scalar \(a\). Represent \(\mathbf{x}\) and ax in the plane, and explain graphically how you obtain \(a \mathrm{x}\
View solution Problem 26
In Problems 25-28, find the augmented matrix and use it to solve the system of linear equations. $$ \begin{aligned} -x-2 y+3 z &=-9 \\ 2 x+y-z &=5 \\ 4 x-3 y+5
View solution Problem 27
Let \(\mathbf{x}=[1,1]^{\prime}\). Find \(\mathbf{y}\) so that \(\mathbf{x}\) and \(\mathbf{y}\) are perpendicular.
View solution