Subtraction of Matrices
2026-02-28 06:14 Diff

321 Learners

Last updated on October 28, 2025

A matrix is an arrangement of data in rows and columns. Subtraction of matrices means the subtraction of the corresponding elements, which involves two or more matrices. The subtraction of matrices is a similar process to the addition of matrices; we add in the addition, but we need to subtract the matrix in the subtraction of matrices.

What are Matrices?

What Is Algebra? 🧮 | Simple Explanation with 🎯 Cool Examples for Kids | ✨BrightCHAMPS Math

A matrix is a rectangular or square array of numbers arranged in rows and columns. If the matrix has m columns and n rows, then it is called m × n. A matrix can be represented as\( A =  [aij]m×n\), where aij denotes the element located in the ith row and jth column, and the values of aij are known as the elements of the matrix.
 

What is Subtraction of Matrices?

The subtraction of matrices is an operation where the corresponding elements of two matrices are subtracted from one another to create a new matrix. This operation is similar to matrix addition, and it is only possible when both matrices have the same dimensions.
 

Methods for Subtraction of Matrices

Matrix subtraction is the process of subtracting two matrices that have the same dimension. A matrix with ‘m’ rows and ‘n’ columns, then the dimension of the matrix is m × n. To subtract two matrices A and B of the same size, you subtract their corresponding elements. It is represented as\( (A - B)ij = Aij - Bij\), where Aij and Bij are the elements in the matrix in the i-th row and j-th column. Let’s learn the subtraction of matrices of order n × n, 2 × 2 and order 3 × 3.

Explore Our Programs

Subtraction of n × n Matrices

The subtraction of n × n matrices refers to subtracting two corresponding elements of two squares of the same size.  Here, n represents the number of rows and columns in the matrix operation, which indicates the matrix is of order n ×n. For example, there are two matrices, A and B, both of order n × n.  Then, their subtraction A-B is done by subtracting each element of matrix B from the corresponding element in matrix A.

A = [aij]
B = [bij]
Subtraction of matrices = A - B
\(A - B  = [aij] - [bij]\)
 

Subtraction of 2 × 2 Matrices

The subtraction of 2 × 2 matrices involves subtracting the corresponding elements of two matrices, each of which has two rows and two columns in the matrix. For example, A and B are two matrices of order 2 × 2; then the difference \(A-B\) is calculated by subtracting each element of B from the corresponding element in the A matrix 


\(\ A = \begin{bmatrix} a_2 & a_1 \\ a_4 & a_3 \end{bmatrix} \ \)

\(\ B = \begin{bmatrix} b_2 & b_1 \\ b_4 & b_3 \end{bmatrix} \ \)

\(\ A - B = \begin{bmatrix} a_2 & a_1 \\ a_4 & a_3 \end{bmatrix} - \begin{bmatrix} b_2 & b_1 \\ b_4 & b_3 \end{bmatrix} \ \)
 

Subtraction of 3 × 3 Matrices

The Subtraction of 3 × 3 matrices involves subtracting the corresponding elements of two matrices, each having three rows and three columns. This operation only works when two matrices are of the same order (3 × 3). For example, if A and B are the order of matrices in 3 × 3, the difference A-B is calculated by subtracting each element of matrix B from the corresponding element of matrix A.

\(\ A = \begin{bmatrix} a_2 & a_1 \\ a_4 & a_3 \\ a_6 & a_5 \end{bmatrix} \ \)

\(\ B = \begin{bmatrix} b_2 & b_1 \\ b_4 & b_3 \\ b_6 & b_5 \end{bmatrix} \ \)

\(\ A - B = \begin{bmatrix} a_2 & a_1 \\ a_4 & a_3 \\ a_6 & a_5 \end{bmatrix} - \begin{bmatrix} b_2 & b_1 \\ b_4 & b_3 \\ b_6 & b_5 \end{bmatrix} \ \)
 

What are the Properties of Matrix Subtraction?

The subtraction matrix follows some basic rules, similar to the addition matrix, but it does not have all the same properties. Both operations require that the matrices have the same order (same number of rows and columns). However, unlike addition, matrix subtraction does not follow certain laws.

  • Matrix subtraction is only defined when both matrices have the same number of rows and columns. This means the number of rows and columns should be of the same order.
     
  • The subtraction of matrices is not commutative, that means\( A - B,  B - A\)
     
  • The subtraction matrix is not associative, which means \((A - B) - C,  A (B - C)\)
     
  • Subtraction of matrices, which subtracts itself, the result is a zero matrix \(A - A = 0\)
     
  • Subtraction of matrices can be written as addition by using the negative of a matrix to another matrix, that is, 
     
  • A - B = A + (-B).
     

Element-Wise Subtraction of Matrices

The element-wise subtraction of matrices means subtracting each element of one matrix from the corresponding elements in another matrix. This operation is performed position by position, which means subtraction will happen in the same rows and columns. Let's see the example, we have two matrices, A and B:
\(A = [aij]\)
\(B = [bij]\)
Both have the same size, which is represented by m × n
\(A-B = [aij - bij]\)

A= 76 98

B = 32 54

\(A - B =   7 - 36 - 2 9  - 58 - 4\)

A - B =  44 44

First row, first column: \(6 − 2 = 4\)


First row, second column: \(8 − 4 = 4\)


Second row, first column: \(7 − 3 = 4\)


Second row, second column: \(9 − 5 = 4\)
 

Tips and Tricks for Subtraction of Matrices

We use matrix subtraction in the fields of engineering, physics, computer graphics, etc. So, students need to master the subtraction of matrices, and here are some tips and tricks to master the subtraction of matrices. 

  • Always ensure both matrices have the same order (same number of rows and columns) before subtracting.
  • Subtract corresponding elements only that is, subtract each element in the same position of both matrices.
  • Write both matrices clearly in aligned form to avoid mixing up elements.
  • Double-check your signs subtraction errors often occur from sign confusion (especially with negatives).
  • Practice with real-world examples like calculating profit/loss differences or comparing datasets to strengthen understanding.

Common Mistakes and How to Avoid Them in Subtraction of Matrices

While solving the matrix subtraction problems, students often get confused and make some common mistakes. Here are some mistakes that help to avoid when solving the problem.
 

Real-Life Applications of the Subtraction of Matrices

Subtraction of matrices is not only used to solve math problems, but is also helpful for day-to-day situations. It is used to compare two sets of data, such as the amount of money earned and spent, the amount of stock used, or the weather variations over time. Here are some real-life applications given below:

Inventory management: In inventory management, the subtraction of matrices is used to track changes in the stock level between two time periods. It helps determine how much stock has been used or sold over time.

Finance: In finance, matrix subtraction is used for budget analysis. It helps to compare the budgeted amounts with the actual expenditures. By subtracting the actual spending from the budgeted values, finance teams can easily see over- or underspending across different departments or categories.

Image editing: The images in digital form can be stored in matrices made of pixels. In image editing, the matrices are helpful to identify the changes between images, such as in motion detection, background removal, or image comparison.

Seating Arrangement Analysis: Matrix subtraction can also be used to analyze the seating capacity. By subtracting the number of occupied seats from the total seats (both stored as matrices), schools can determine how many seats are still available in the hall or auditorium.

Building construction: Engineers use the subtraction of matrices to subtract the planned material used from the actual material used to monitor resource usage. It helps avoid waste and improve cost efficiency.
 

FAQs on Subtraction of Matrices

1.Can I subtract a 2 × 2 matrix from a 3 × 2 matrix?

No, you can’t subtract matrices of different sizes. The number of rows and columns must match exactly.

2.Is matrix subtraction commutative?

Matrix subtraction is not commutative, A - B  B - A

3.What are the rules for subtracting matrices?

Matrix subtraction is only possible when both matrices are the same size.

4.Can a subtraction matrix be written as an addition matrix?

Yes, the subtraction matrix can be written as addition by using the negative of the matrix,A - B = A + (-B)

5.Is the Matrix Subtraction Associative?

Matrix subtraction is not associative as (A - B) - C  A (B - C).

Problem 1

If A = [63​45​], B=[24​13​] find 𝐴 − 𝐵.

Okay, lets begin

\(=A - B = \begin{bmatrix} 4 & 3 \\ -1 & 2 \end{bmatrix} \)

Explanation

Subtract each element of 𝐵 from the corresponding element in 
𝐴.

\(A - B = \begin{bmatrix} 6 & -2 & 3 & -4 \\ 4 & -1 & 5 & -3 \end{bmatrix} = \begin{bmatrix} 4 & -1 \\ 3 & 2 \end{bmatrix} \)

Well explained 👍

Problem 2

If A=[94​73​52​], B=[31​21​11​] find A−B.

Okay, lets begin

\(A - B = \begin{bmatrix} 6 & 5 & 4 \\ 3 & 2 & 1 \end{bmatrix} \)
 

Explanation

Each element of 𝐴 is reduced by the corresponding element of 
𝐵.

Well explained 👍

Problem 3

If A=[84​62​], B=[51​30​] find 𝐴 − 𝐵.

Okay, lets begin

\(A - B = \begin{bmatrix} 3 & 3 \\ 3 & 2 \end{bmatrix} \)
 

Explanation

Subtracting the second matrix from the first gives the resulting matrix.

Well explained 👍

Problem 4

If A=[108​126​], B=[43​52​] find A−B.

Okay, lets begin

\(A - B = \begin{bmatrix} 6 & 5 \\ 7 & 4 \end{bmatrix} \)

Explanation

The subtraction is done element-wise: 

10−4, 12−5, 8−3, and 6−2.

Well explained 👍

Problem 5

If A=[35​96​74​], B=[13​41​20​] find A−B.

Okay, lets begin

\(A - B = \begin{bmatrix} 2 & 5 & 5 \\ 2 & 5 & 4 \end{bmatrix} \)

Explanation

Subtract each entry of 𝐵 from 𝐴 position by position. Both matrices have the same order (2×3), so subtraction is valid.

Well explained 👍

Important Glossaries for Subtraction of Matrices

  • Matrix: The way of arranging numbers in columns and rows in a rectangular array is called a matrix. 
  • Order of a matrix: The order of a matrix is the number of rows and columns in the matrix. It is the dimension of the matrix written in the form m × n, where m is the number of rows and n is the number of columns. 
  • Subtraction: Subtraction is a basic mathematical operation of finding the difference between two or more numbers. For example, 5 -2 = 3. 

Dr. Sarita Ghanshyam Tiwari

About the Author

Dr. Sarita Tiwari is a passionate educator specializing in Commercial Math, Vedic Math, and Abacus, with a mission to make numbers magical for young learners. With 8+ years of teaching experience and a Ph.D. in Business Economics, she blends academic rigo

Fun Fact

: She believes math is like music—once you understand the rhythm, everything just flows!