Skip to content

Subtraction of Two Matrices Calculator

This calculator allows you to subtract one matrix from another of the same dimensions. It is ideal for students, engineers, and professionals dealing with linear algebra, simplifying manual computations and reducing errors.

Matrix Subtraction Solver

Input Fields
Matrix A
Matrix B
If enabled, the result will update automatically when you change any value.

Matrix Subtraction Formula

Formula
$$ C = A – B = \begin{bmatrix} a_{11} – b_{11} & a_{12} – b_{12} & \cdots & a_{1n} – b_{1n} \\ a_{21} – b_{21} & a_{22} – b_{22} & \cdots & a_{2n} – b_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} – b_{m1} & a_{m2} – b_{m2} & \cdots & a_{mn} – b_{mn} \end{bmatrix} $$

Where:

  • $$A$$ and $$B$$ are matrices of size $$m imes n$$
  • $$C$$ is the resulting matrix after subtraction

Each element of $$C$$ is obtained by subtracting the corresponding element of matrix $$B$$ from matrix $$A$$.

Subtraction of Two Matrices – Calculation Example

$$A = \begin{bmatrix} 9 & 8 \\ 7 & 6 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & 4 \\ 3 & 2 \end{bmatrix}$$

$$C = A – B = \begin{bmatrix} 9 – 5 & 8 – 4 \\ 7 – 3 & 6 – 2 \end{bmatrix} = \begin{bmatrix} 4 & 4 \\ 4 & 4 \end{bmatrix}$$

Matrix subtraction is a key operation in linear algebra, commonly used in solving matrix equations, physics simulations, and data processing. Both matrices must have the same dimensions for subtraction. Our calculator provides quick and accurate results, ideal for educational and professional purposes.

Previous
Addition of Two Matrices

Leave a Reply

Your email address will not be published. Required fields are marked *