What Is Matrix Subtraction?
Matrix subtraction is an operation to find the difference between two matrices. Just like matrix addition, the subtraction operation can only be performed if both matrices involved have the same size or order.
The result of matrix subtraction is a new matrix that also has the same order, where each element is the result of subtracting the corresponding elements from the two initial matrices.
Formal Definition of Matrix Subtraction
There are two common ways to define matrix subtraction, both of which lead to the same result.
Subtraction as Addition with the Opposite
The subtraction of matrix from matrix can be defined as the addition of matrix with the opposite matrix of (i.e., ).
Matrix is the matrix obtained by multiplying each element of matrix by . So, if , then .
Subtraction of Corresponding Elements
If matrix and matrix both have the order , then the result of the subtraction will also be of order .
Each element of matrix is calculated by subtracting the corresponding element of matrix from the corresponding element of matrix :
This means we subtract the elements that are in the same row and column position.
Both definitions are equivalent and will produce the same difference matrix.
How to Perform Matrix Subtraction
To subtract two matrices, follow these steps:
- Ensure Same Order: The first and most important step is to check if both matrices have the same number of rows and columns. If their orders are different, subtraction cannot be performed.
- Subtract Corresponding Elements: If the orders are the same, subtract each element of the second matrix (subtrahend) from the corresponding element of the first matrix.
- Form the Resultant Matrix: Arrange the results of these subtractions into a new matrix. This new matrix will have the same order as the initial matrices.
Example of Matrix Subtraction
Suppose we have two matrices, and , as follows:
Both matrices are of order , so they can be subtracted.
Using the method of subtracting corresponding elements:
Using the method of addition with the opposite ():
First, determine :
Then, add to :
Both methods yield the same matrix.
Example of Matrices That Cannot Be Subtracted
Suppose matrix and matrix .
Matrix is of order , while matrix is of order . Since the orders of these two matrices are different, the subtraction (or ) cannot be performed or is undefined.
Properties of Matrix Subtraction
Unlike matrix addition, which has several important properties like commutativity and associativity, matrix subtraction generally does not possess these properties.
-
Not Commutative: In general, the order of matrix subtraction significantly affects the result. This means is not equal to , except in special cases (e.g., if ).
For example, from matrices and above:
Whereas,
It is clear that .
-
Not Associative: The grouping in the subtraction of three or more matrices also affects the final result. In general, is not equal to .
This is because , whereas .
The only "property" important to remember is its relationship with addition, i.e., .
By converting the subtraction operation into addition with the opposite matrix, we can leverage the properties of addition if needed.
Exercises
Problem 1
Given the following matrices:
Determine the result of .
Problem 2
Determine the values of and from the following matrix equation:
Problem 3
Given three matrices:
Calculate and . Are the results the same?
Answer Key
Problem 1
Given:
Then, is:
Problem 2
Given the matrix equation:
Perform the subtraction operation on the left side:
Based on the equality of two matrices, corresponding elements must be equal:
From the element in row 1, column 1:
From the element in row 1, column 2:
From the element in row 2, column 1:
From the element in row 2, column 2: .
If we substitute (from the first equation), we get . Since , there is an inconsistency in the last element of this problem.
For learning purposes, we will use the values of obtained from the first three consistent equations.
Thus, the values obtained are , , and .
In an exam situation, such inconsistencies should be confirmed with the examiner.
Problem 3
Given:
Calculate :
First, :
Then, :
Calculate :
First, :
Then, :
The results are not the same: .
This shows that matrix subtraction is not associative.