Matching Matrix Dimensions and Corresponding Entries
Matrix equality compares both structure and content. Matching values are not enough if they occupy different positions or if the matrices have different dimensions.
Matrices and are equal, written , if and only if both conditions below hold:
- Same dimensions: Matrix and matrix must have the same number of rows and columns. If has dimensions , then must also have dimensions .
- Corresponding Elements are Equal: Every corresponding element (located in the same row and column position) in matrix and matrix must have the same value. If and , then for all values of (row index) and (column index).
If one of these two conditions is not met, then matrix is not equal to matrix (written as ).
Examples of Matrix Equality
Matrix equality is decided by two checks. The two matrices must have the same format, and then every entry at the same position must match. The examples below show one pair that passes both checks and two pairs that fail exactly one of them, followed by a case where the entries contain unknown variables.
Equal Matrices
Given two matrices:
Matrix and matrix are equal () because:
-
Both have an order of .
-
Corresponding elements have the same value:
, , , .
Unequal Matrices with Different Dimensions
Given two matrices:
Matrix is not equal to matrix () because has dimensions , while has dimensions .
Unequal Matrices with Different Corresponding Elements
Given two matrices:
Although matrix and matrix have the same dimensions, , they are not equal (). Their entries in row , column differ: , whereas .
Determining Variable Values from Matrix Equality
Given the following matrices:
If matrix is equal to matrix (), determine the values of , , and .
Solution:
Since , the corresponding elements must be equal:
- (already equal)
The values are , , and .
Exercises
Decide whether the first three statements are True or False.
-
Having the same dimensions is one condition that two equal matrices must satisfy.
-
Two unequal matrices always have different dimensions.
-
The two matrices below are equal.
-
For the following matrices, . Determine and .
-
Matrix is the identity matrix. For the following matrix , . Determine .
-
Calculate the value of that satisfies the following matrix equality:
Worked Solutions
-
True. Equal matrices must have the same dimensions, although that condition alone is not sufficient.
-
False. Two unequal matrices can have the same dimensions while differing in one or more corresponding entries, as in Example 3.
-
False. Matrix has dimensions , while matrix has dimensions . Matrices with different dimensions cannot be equal.
-
Given :
From the equality of corresponding elements:
-
Thus, and .
-
The identity matrix is:
Given :
From the equality of corresponding elements, we obtain a system of equations:
- (Equation 1)
- (Equation 2)
Solve Equation 2 first:
Substitute Equation 2' into Equation 1:
Substitute the value of into Equation 2':
Then, the value of is:
-
Given the matrix equality:
From the equality of corresponding elements, we obtain a system of equations:
Solve the system of equations for and (equations 1 and 2):
Initial equations:
To eliminate , multiply equation (2) by :
Subtract equation (1) from equation (2'):
Substitute the value of into equation (1):
Solve the system of equations for and (equations 3 and 4):
Initial equations:
Subtract equation (3) from equation (4) to eliminate :
Substitute the value of into equation (3):
Then, the value of is: