Rows:
3
Columns:
3
Matrix A
+
Matrix B
Advertisement Slot

How Matrix Addition and Subtraction Work

Matrix addition and subtraction are element-wise operations. Unlike matrix multiplication which involves dot products of rows and columns, addition and subtraction simply operate on pairs of numbers located in the corresponding positions.

Element-Wise Addition & Subtraction Formulas:

\((A + B)_{ij} = A_{ij} + B_{ij}\)

\((A - B)_{ij} = A_{ij} - B_{ij}\)

Requirement: Matrix \(A\) and Matrix \(B\) must have identical dimensions \(m \times n\).

Key Algebraic Properties

  • Commutativity of Addition: \(A + B = B + A\). Changing the order of addends yields the same sum.
  • Non-Commutativity of Subtraction: \(A - B \neq B - A\). In general, \(A - B = -(B - A)\).
  • Associativity: \((A + B) + C = A + (B + C)\).
  • Additive Identity: Adding a zero matrix \(O\) leaves the matrix unchanged: \(A + O = A\).
  • Additive Inverse: \(A + (-A) = O\), where \(-A\) is obtained by multiplying every entry by \(-1\).

Solved Examples with Complete Working

Example 1: Matrix Addition with Signed Integers

Compute the sum of matrices \(A\) and \(B\):

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

Step-by-step element addition:

  • Row 1, Col 1: \(2 + (-3) = -1\)
  • Row 1, Col 2: \(-5 + 7 = 2\)
  • Row 2, Col 1: \(4 + 0 = 4\)
  • Row 2, Col 2: \(1 + (-6) = -5\)

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

Example 2: Matrix Subtraction with Fractions

Compute the difference \(C - D\):

\(C = \begin{bmatrix} \frac{1}{2} & 3 \\ 1 & -\frac{2}{3} \end{bmatrix}, \quad D = \begin{bmatrix} \frac{1}{4} & -1 \\ \frac{3}{2} & \frac{1}{3} \end{bmatrix}\)

Step-by-step subtraction:

  • Row 1, Col 1: \(\frac{1}{2} - \frac{1}{4} = \frac{2}{4} - \frac{1}{4} = \frac{1}{4}\)
  • Row 1, Col 2: \(3 - (-1) = 3 + 1 = 4\)
  • Row 2, Col 1: \(1 - \frac{3}{2} = \frac{2}{2} - \frac{3}{2} = -\frac{1}{2}\)
  • Row 2, Col 2: \(-\frac{2}{3} - \frac{1}{3} = -\frac{3}{3} = -1\)

\(C - D = \begin{bmatrix} \frac{1}{4} & 4 \\ -\frac{1}{2} & -1 \end{bmatrix}\)

Matrix Foundations

Mastering element-wise addition and scalar operations is the first step toward understanding matrix determinants and transformations.

Read our beginner guide: What is a Determinant and Why Does it Matter? →
Advertisement Slot

Frequently Asked Questions

No. Two matrices can only be added or subtracted if they have the exact same dimensions (same number of rows and same number of columns). If dimensions differ, the operation is undefined.
Matrix addition is performed entry-by-entry: (A + B)_{ij} = A_{ij} + B_{ij}. Each element in the first matrix is added to the element in the identical position in the second matrix.
Yes. Matrix addition is commutative: A + B = B + A for any compatible matrices. However, matrix subtraction is not commutative: A - B != B - A (in fact, A - B = -(B - A)).
Each corresponding pair of entries is added using standard rational arithmetic: a/b + c/d = (ad + bc)/(bd). Negative numbers follow standard signed addition rules.