➕ Matrix Addition & Subtraction

Matrix Addition & Subtraction

Add or subtract two matrices of the same dimensions. Shows element-by-element computation. Automatically checks if dimensions match.

Matrix Addition / Subtraction A ± B

Both matrices must have the same dimensions

✓ Add & Subtract✓ Dim Check✓ Free⚡ Loading SymPy Engine…
Matrix A
+
Matrix B
Quick Examples

Matrix Addition & Subtraction

Two matrices can only be added or subtracted if they have the same dimensions (same number of rows and columns):

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

Properties of Addition

  • Commutative: A + B = B + A
  • Associative: (A + B) + C = A + (B + C)
  • Identity: A + O = A (O = zero matrix)
  • Inverse: A + (−A) = O