Matrix Addition and Subtraction
What You'll Learn
You'll learn how to add and subtract matrices by combining their corresponding entries element-by-element.
The Core Idea
Just as you add vectors component-by-component, you add (or subtract) matrices entry-by-entry. The key requirement: both matrices must have the same dimensions.
Think of matrices as grids of numbers arranged in rows and columns. When you add two matrices, you're simply pairing up each entry in the first matrix with the entry in the same position in the second matrix, then adding them together.
How It Works
Given two matrices A and B with identical dimensions (same number of rows and columns), the sum A + B is formed by:
A + B = [a_ij + b_ij]
In plain English: add each entry in position (i, j) of matrix A to the corresponding entry in position (i, j) of matrix B.
Example
If A = [1 2] and B = [5 6]
[3 4] [7 8]
Then A + B = [1+5 2+6] = [6 8]
[3+7 4+8] [10 12]
Subtraction works identically—just subtract corresponding entries:
A - B = [1-5 2-6] = [-4 -4]
[3-7 4-8] [-4 -4]
Important Restriction
You cannot add or subtract matrices of different dimensions. A 2×3 matrix and a 3×2 matrix cannot be added together—their entries don't align properly.
Properties
Matrix addition inherits familiar algebraic properties:
- Commutative: A + B = B + A
- Associative: (A + B) + C = A + (B + C)
- Identity: A + 0 = A (where 0 is the zero matrix)
Key Takeaway: Matrix addition and subtraction are performed entry-by-entry on matrices of the same dimensions, producing a result matrix of the same size.