# Nakafa Framework: LLM
URL: /en/subject/high-school/11/mathematics/matrix/matrix-addition
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/matrix/matrix-addition/en.mdx
Output docs content for large language models.
---
export const metadata = {
  title: "Matrix Addition",
  description: "Master matrix addition with same-order matrices. Learn properties like commutativity & associativity, solve practical problems with detailed examples.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "06/05/2025",
  subject: "Matrix",
};
## What Is Matrix Addition?
Matrix addition is a fundamental operation in matrix algebra where two or more matrices are combined to produce a new matrix. This operation can only be performed if the matrices being added have the same size or order.
The result of the addition is a new matrix of the same order, where each element is the sum of the corresponding elements (elements in the same position) from the original matrices.
## Formal Definition of Matrix Addition
Two matrices, let's say matrix  and matrix , can be added if and only if both matrices have the same order.
Suppose matrix  is of order  with elements  (element in the -th row and -th column), and matrix  is also of order  with elements .
Then, the sum of matrix  and matrix , which we call matrix , is written as . Matrix  will also be of order , with elements  defined as:
This means that each element in the resulting matrix is obtained by adding the elements that are in the same position from the two matrices being added.
## How to Perform Matrix Addition
To add two matrices, follow these steps:
1.  **Ensure Same Order**: Check if both matrices have the same number of rows and columns. If not, addition cannot be performed.
2.  **Add Corresponding Elements**: Add the elements that are in the same row and column position from both matrices.
3.  **Form the Resultant Matrix**: Arrange the sums of these elements into a new matrix of the same order.
### Example of Matrix Addition
Suppose we have two matrices,  and , as follows:
  
  
Both matrices are of order  (3 rows and 2 columns), so they can be added.
Then,  is:
  
  
  
Thus, the sum of matrix  and matrix  is the matrix .
### Matrices That Cannot Be Added
Suppose matrix  and matrix .
Matrix  is of order , while matrix  is of order . Since their orders are different, matrix  and matrix  cannot be added.
## Properties of Matrix Addition
Matrix addition has several important properties, similar to the properties of addition for real numbers. Let , , and  be matrices of the same order, and  be the zero matrix (a matrix where all elements are zero) of the same order as , , and .
1.  **Commutative Property**: The order of matrix addition does not affect the result.
    
    This means that adding matrix  to  will produce the same matrix as adding matrix  to .
2.  **Associative Property**: The grouping in the addition of three or more matrices does not affect the result.
    
    This means you can add  and  first,
    then add the result to , or
    add  and  first,
    then add  to the result. The final
    outcome will be the same.
3.  **Existence of an Identity Element (Zero Matrix)**: There exists a zero matrix  that acts as the identity element in addition.
    
    This means that if a matrix is added to a zero matrix (of the same order), the result
    is the matrix itself.
    This zero matrix plays a role similar to the number 0 in the addition of numbers.
4.  **Existence of an Additive Inverse (Opposite of a Matrix)**: Every matrix  has an additive inverse, denoted as , which when added to  results in the zero matrix .
    
    The matrix  is a matrix where each element is the
    opposite (negative) of the corresponding elements of matrix .
    For example, if  is an element of , then  is an element of .
## Exercises
**Problem 1**
Given the following matrices:
  
  
  
Calculate  and . Then, determine if  can be calculated and provide your explanation.
**Problem 2**
Determine the values of  and  from the following matrix addition:
**Problem 3**
If , determine the matrix  (the additive inverse of ) and prove that , where  is the zero matrix of the same order.
### Answer Key
**Problem 1**
Given matrices:
  
  
  
Addition of matrix  and  ():
  
  
  
Addition of matrix  and  ():
  
  
  
(Commutative property proven: )
Addition of matrix  and  ():
Cannot be calculated. Matrix  is of order , while matrix  is of order . Since their orders are different, the addition  cannot be performed.
**Problem 2**
Given the matrix addition:
Perform matrix addition on the left side:
  
  
Based on the equality of two matrices, corresponding elements must be equal:
For the element in row 1, column 1: 
  
  
  
For the element in row 1, column 2:  (already consistent).
For the element in row 2, column 1: 
  
  
For the element in row 2, column 2: 
  
  
  
Thus, the values are , , and .
**Problem 3**
Given matrix .
The additive inverse of , which is , is:
Proof that :
  
  
  
The result is the zero matrix  of order . Proven.