How to subtract matrices
- Subtracting matrices is also equivalent to adding matrices.
- The difference between two matrices is determined by subtracting corresponding elements of two matrices.
- Each element needs to be subtracted from the element which is in the same identical location of the second matrix.
The following example shows how to add matrices.
\[\Large
A =
\begin{bmatrix}
2 & 8 & 6 \\
0 & 5 & 4 \\
3 & 7 & 3
\end{bmatrix}
\;\;\;\;\;
B =
\begin{bmatrix}
3 & 5 & 2 \\
6 & 0 & 1 \\
4 & 9 & 1
\end{bmatrix}
\]
\[\Large
A – B =
\begin{bmatrix}
2-3 & 8-5 & 6-2 \\
0-6 & 5-0 & 4-1 \\
3-4 & 7-9 & 3-1
\end{bmatrix}
=
\begin{bmatrix}
-1 & 3 & 4 \\
-6 & 5 & 3 \\
-1 & -2 & 2
\end{bmatrix}
\]