Matrix subtraction is the process of subtracting corresponding elements of two matrices of the same size. It is similar to arithmetic subtraction but is done element-wise.
You subtract the elements in one matrix from the elements in the corresponding positions of another matrix.
For example, when you subtract matrix \( A \) from \( 3A \), the operations are as follows:
- From the first row, first column, subtract \( 1 \) from \( 3 \) to get \( 2 \).
- For the first row, second column, subtract \( -1 \) from \( -3 \) to get \( -2 \).
- In the second row, first column, subtract \( 7 \) from \( 21 \) to get \( 14 \).
- Finally, in the second row, second column, subtract \( 4 \) from \( 12 \) to get \( 8 \).
This operation results in a new matrix: \[\begin{bmatrix}2 & -2 \14 & 8\end{bmatrix}\] Matrix subtraction is straightforward, just ensure that the matrices are the same size.