Matrix Addition, Subtraction and Scalar Multiplication
Key Terms
- Matrix addition/subtraction
- Add or subtract corresponding entries; only defined for matrices of the SAME order.
- Scalar multiplication
- Multiply every entry by the scalar k; (kA)ij = k × aij.
- Transpose AT
- Swap rows and columns; entry (i, j) of A becomes entry (j, i) of AT.
- Commutative law
- A + B = B + A (addition commutes); but AB ≠ BA in general (multiplication does not).
- Conformable for addition
- Two matrices must have identical order (same number of rows AND columns) to be added.
- Notation
- Capital letters for matrices (A, B, C); lower case for scalars (k, c); boldface optional.
Matrix Operations
Add or subtract corresponding elements (same position).
Scalar Multiplication: Multiply every element in the matrix by the scalar k.
Key Properties
| Property | Statement |
|---|---|
| Commutative (addition) | A + B = B + A |
| Associative (addition) | (A + B) + C = A + (B + C) |
| Distributive (scalar) | k(A + B) = kA + kB |
| Scalar distributive | (j + k)A = jA + kA |
| Zero matrix | A + O = A (O is the zero matrix) |
Worked Example 1 — Matrix Addition
Calculate A + B where A =
| 3 | -1 | 5 |
| 2 | 4 | -2 |
| 1 | 6 | -3 |
| -5 | 0 | 7 |
Both are 2 × 3 → addition is defined. Add element by element:
A + B =
| 3+1 | −1+6 | 5+(−3) |
| 2+(−5) | 4+0 | −2+7 |
| 4 | 5 | 2 |
| −3 | 4 | 5 |
Worked Example 2 — Scalar Multiplication and Subtraction
Find 3A − 2B where A =
| 2 | −1 |
| 0 | 4 |
| 1 | 3 |
| −2 | 1 |
Step 1: Calculate 3A — multiply every element of A by 3:
3A =
| 6 | −3 |
| 0 | 12 |
Step 2: Calculate 2B — multiply every element of B by 2:
2B =
| 2 | 6 |
| −4 | 2 |
Step 3: Subtract element by element:
3A − 2B =
| 6−2 | −3−6 |
| 0−(−4) | 12−2 |
| 4 | −9 |
| 4 | 10 |
Full Lesson: Matrix Operations
Addition and Subtraction
Matrix addition and subtraction are only defined when both matrices have exactly the same order. We operate on corresponding elements — the element in position (i, j) of the result comes from adding or subtracting the elements at position (i, j) from each matrix.
Scalar Multiplication
Multiplying a matrix by a scalar (a single number) multiplies every element in the matrix by that number. The order of the matrix does not change.
Combined Operations
Expressions like 3A − 2B follow the same order of operations as regular algebra:
- First compute the scalar multiples (3A and 2B)
- Then perform the subtraction element by element
Finding an Unknown Matrix
If X + A = B, we can rearrange just like algebra: X = B − A. We can add, subtract, and scalar multiply matrices on both sides of an equation.
2X = B + A → X = ½(B + A)
This means: add B + A element by element, then divide every element by 2.
Real-World Application: Tracking Data Over Time
Matrices are ideal for tracking quantities that change over time. Stock levels, sports scores, financial data, temperature readings — all can be stored in matrices and updated using addition and subtraction.
Mastery Practice
-
Fluency
Calculate A + B where A =
and B =5 −3 2 7 4 1 −6 3 -
Fluency
Calculate A − B where A =
and B =8 3 −1 5 −2 6 2 −4 3 −1 5 2 -
Fluency
Let A =
and B =3 −2 1 4 −1 3 2 −1 - Calculate 3A.
- Calculate −2B.
- Hence calculate 3A − 2B.
-
Fluency
Find matrix X given that X + A = B, where A =
and B =2 5 −1 3 7 2 4 −1 -
Understanding
Let A =
, B =1 2 3 4
, C =5 −1 0 2 2 3 −1 1 Calculate:
- A + B
- 2B − C
- A + B + C
- Verify that A + B = B + A (calculate B + A and confirm it equals your answer from part (a)).
-
Understanding
A retailer tracks stock levels using matrices. Stock at Monday open M, deliveries D, and Wednesday sales S are:
M =
, D =20 15 30 10
, S =8 12 5 15 14 11 18 6 Rows = Items A and B. Columns = Shop 1 and Shop 2.
- Calculate the stock after Tuesday deliveries: M + D.
- Calculate closing stock after Wednesday sales: (M + D) − S.
- Does any stock level drop below zero after sales? What does this mean?
-
Understanding
Find the values of a and b:
2
−a 3 1 b
=4 −1 3 5 0 7 −1 3 -
Understanding
Temperature readings (in °C) for three days across two cities are stored in matrix T:
T =
28 32 25 30 31 27 Rows = Days 1, 2, 3. Columns = City 1, City 2. After reviewing the data, it is found that each thermometer was calibrated 2°C too high. Write the corrected temperature matrix and explain how you obtained it.
-
Problem Solving
A household records monthly spending in two budget categories across two months:
January: J =
February: F =$800 $450 $300 $200 $750 $500 $280 $220 Rows = Food, Rent. Columns = Actual, Budgeted.
- Find the total 2-month spending matrix J + F.
- Find the monthly average spending matrix ½(J + F).
- Find the difference F − J. Which categories increased from January to February in terms of actual spending (column 1)?
-
Problem Solving
Let A =
and B =2 4 1 3 6 12 3 9 - Find all values of k such that kA = B.
- Is there a value of k such that kA = B + A? Find it.
- What relationship between A and B do you notice? Express B in terms of A.