In this section we learn about addition, subtraction, and multiplication by a scalar with matrices.
When adding and subtracting with matrices, the following important rule should always be kept in mind:
Given two matrices \(A\) and \(B\) of the same order, \(A = \begin{pmatrix}a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix}\) and \(B = \begin{pmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{pmatrix} \), we can add them together by adding corresponding entries together. Similarly, to subtract \(B\) from \(A\) we subtract each entry of \(B\) from its corresponding entry in \(A\).
This is shown here for \(2 \times 2\) matrices. The method would be the same for any two matrices of the same order.
\[ A+B = \begin{pmatrix}a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix} + \begin{pmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{pmatrix} = \begin{pmatrix}a_{11} + b_{11}& a_{12} + b_{12} \\ a_{21} + b_{21} & a_{22} + b_{22} \end{pmatrix} \]
\[ A - B = \begin{pmatrix}a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix} - \begin{pmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{pmatrix} = \begin{pmatrix}a_{11} - b_{11}& a_{12} - b_{12} \\ a_{21} - b_{21} & a_{22} - b_{22} \end{pmatrix} \]
Given the matrices \(A = \begin{pmatrix} 2 & 3 \\ 1 & -5 \end{pmatrix}\) and \(B = \begin{pmatrix} -2 & 0 \\ 7 & -1 \end{pmatrix}\), below we show how to calculate \(A+B\) as well as \(A - b\).
We find \(A+B\) as follows: \[\begin{aligned} A + B &= \begin{pmatrix} 2 & 3 \\ 1 & -5 \end{pmatrix} + \begin{pmatrix} -2 & 0 \\ 7 & -1 \end{pmatrix} \\ & = \begin{pmatrix} 2 + (-2) & 3 + 0 \\ 1 + 7 & -5 + (-1) \end{pmatrix}\\ A + B & = \begin{pmatrix} 0 & 3 \\ 8 & -6 \end{pmatrix} \end{aligned}\]
We find \(A-B\) as follows: \[\begin{aligned} A - B & = \begin{pmatrix} 2 & 3 \\ 1 & -5 \end{pmatrix} - \begin{pmatrix} -2 & 0 \\ 7 & -1 \end{pmatrix} \\ & = \begin{pmatrix} 2 + (-2) & 3 + 0 \\ 1 + 7 & -5 + (-1) \end{pmatrix}\\ A - B & = \begin{pmatrix} 0 & 3 \\ 8 & -6 \end{pmatrix} \end{aligned}\]
Given the matrices \(M = \begin{pmatrix} 3 & 5 \\ -2 & 0 \\ 1 & 6 \end{pmatrix}\) and \(N = \begin{pmatrix} 0 & 2 \\ 3 & 4 \\ -7 & 1 \end{pmatrix}\), below we show how to calculate \(M+N\) as well as \(M - N\).
\[\begin{aligned} M + N & = \begin{pmatrix} 3 & 5 \\ -2 & 0 \\ 1 & 6 \end{pmatrix} + \begin{pmatrix} 0 & 2 \\ 3 & 4 \\ -7 & 1 \end{pmatrix}\\ & = \begin{pmatrix} 3 +0 & 5 +2\\ -2 +3 & 0 + 4\\ 1 + (-7) & 6 +1\end{pmatrix} \\ M + N & = \begin{pmatrix} 3 & 7 \\ 1 & 4\\ -6 & 7 \end{pmatrix} \end{aligned} \]
\[\begin{aligned} M - N & = \begin{pmatrix} 3 & 5 \\ -2 & 0 \\ 1 & 6 \end{pmatrix} - \begin{pmatrix} 0 & 2 \\ 3 & 4 \\ -7 & 1 \end{pmatrix}\\ & = \begin{pmatrix} 3 - 0 & 5 - 2\\ -2 - 3 & 0 - 4\\ 1 - (-7) & 6 - 1\end{pmatrix} \\ M - N & = \begin{pmatrix} 3 & 3 \\ -5 & -4\\ 8 & 5 \end{pmatrix} \end{aligned} \]
Given a matrix \(A\), we can multiply \(A\) by any scalar \(k \in \mathbb{R}\) by multiplying each of the entries of \(A\) by \(k\). This is shown here for a \(2\times 2\) matrix: \[ k\times A = k\times \begin{pmatrix} a_{11} & a_{11} \\ a_{11} & a_{11} \end{pmatrix} = \begin{pmatrix} k\times a_{11} & k\times a_{11} \\ k\times a_{11} & k\times a_{11} \end{pmatrix} \]
Given two matrices \(A\) and \(B\) of the same order and two scalars \(m\) and \(n \) in \(\mathbb{R}\), we call a linear combination of \(A\) and \(B\) any expression that can be written: \[m .A + n . B\]
Given \(A = \begin{pmatrix} 1 & 0 & 3 \\ 2 & 7 & -4 \end{pmatrix}\) and \(B = \begin{pmatrix} 3 & 2 & 5 \\ 1 & 6 & 9 \end{pmatrix}\) find \(3A-2B\).
\[\begin{aligned} 3A - 2B & = 3 \times \begin{pmatrix} 1 & 0 & 3 \\ 2 & 7 & -4 \end{pmatrix} - 2 \times \begin{pmatrix} 3 & 2 & 5 \\ 1 & 6 & 9 \end{pmatrix} \\ & = \begin{pmatrix} 3 & 0 & 9 \\ 6 & 21 & -12 \end{pmatrix} - \begin{pmatrix} 6 & 4 & 10 \\ 2 & 12 & 18 \end{pmatrix} \\ 3A - 2B & = \begin{pmatrix} -3 & -4 & -1 \\ 4 & 9 & -30 \end{pmatrix} \end{aligned}\]
Scan this QR-Code with your phone/tablet and view this page on your preferred device.
Subscribe Now and view all of our playlists & tutorials.