# Nakafa Framework: LLM
URL: https://nakafa.com/en/subject/high-school/11/mathematics/matrix/matrix-equality
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/matrix/matrix-equality/en.mdx
Output docs content for large language models.
---
export const metadata = {
  title: "Matrix Equality",
  description: "Master matrix equality conditions: same order and corresponding elements. Learn through examples, solve variable problems, and practice exercises.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "06/05/2025",
  subject: "Matrix",
};
## Definition of Matrix Equality
In the world of matrices, we often need to compare two or more matrices. One important concept in this comparison is matrix equality. Two matrices are said to be equal if they meet certain conditions.
Two matrices, let's say matrix  and matrix , are said to be **equal** (written as ) if and only if both of the following conditions are met:
1.  **Same Order**: Matrix  and matrix  must have the same order (number of rows and columns). If matrix  has an order of , then matrix  must also have an order of .
2.  **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
### Equal Matrices
Given two matrices:
Matrix  and matrix  are equal () because:
- Both have an order of .
- Corresponding elements have the same value:
  , 
  , , 
  .
### Unequal Matrices (Different Order)
Given two matrices:
Matrix  is not equal to matrix  () because the order of matrix  is , while the order of matrix  is .
### Unequal Matrices (Different Corresponding Elements)
Given two matrices:
Although matrix  and matrix  have the same order (), they are not equal () because the element in the 2nd row and 1st column is not the same ( while ).
### Determining Variable Values from Matrix Equality
Given matrices  and .
If matrix  is equal to matrix  (), determine the values of , , and .
**Solution:**
Since , the corresponding elements must be equal:
1.  
2.   (already equal)
3.  
4.  
Thus, the values are , , and .
## Exercises
Answer the following questions with **True** or **False**.
1.  Two matrices having the same order is one of the conditions for the two matrices to be equal.
2.  Two different matrices always have different orders.
3.  If given matrix  and matrix , then matrix  is equal to matrix .
4.  Given matrices  and . If , determine the values of  and .
5.  If matrix  and  is the identity matrix of order . If , determine the value of .
6.  Calculate the value of  that satisfies the following matrix equality:
    
### Answer Key
1.  **True**. Having the same order is the first condition for two matrices to be equal.
2.  **False**. Two different matrices can have the same order, but their corresponding elements are different (see Example 3).
3.  **False**. Matrix  has an order of  while matrix  has an order of . Since their orders are different, the two matrices are not equal.
4.  Given :
    
    From the equality of corresponding elements:
    - 
    - 
      Thus,  and .
5.  The identity matrix  of order  is .
    Given :
    
    From the equality of corresponding elements, we obtain a system of equations:
    1.   (Equation 1)
    2.   (Equation 2)
    Solve Equation 2 first:
    
      
      
      
      
    
    Substitute Equation 2' into Equation 1:
    
      
      
      
      
    
    Substitute the value of  into Equation 2':
    
      
      
    
    Then, the value of  is:
    
      
      
      
      
    
6.  Given the matrix equality:
    
    From the equality of corresponding elements, we obtain a system of equations:
    1.  
    2.  
    3.  
    4.  
    Solve the system of equations for  and  (equations 1 and 2):
    Initial equations:
    
      
      
    
    To eliminate , multiply equation (2) by 2:
    
      
      
    
    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: