How to Subtract Two Matrices ?

In this article, you will get aware about how to subtract one matrix from another. Let's suppose that there are two given matrix, matrix A and Matrix B. The value of Matrix A is:

5  6
7  8

And the value of Matrix B is:

1  2
3  4

Then its subtraction goes like:

matrix subtraction

So we have another matrix, matrix C. The value of matrix C is:

4  4
4  4

This is the subtraction of two given matrix A and B.

Condition for Matrix Subtraction

In order to define the subtraction of two matrices, dimension must be same. That is, if there are 3 rows and 4 columns available in a matrix say A, then to subtract it with another matrix say B. Matrix B must have 3 rows and 4 columns in order to define its subtraction with matrix A.

Programs Made on This

« Previous Tutorial Next Tutorial »