Adding matrices
Add corresponding entries.
Two factories
Fatima's two factories make shoes for boys and girls in three price categories. Each factory's output is a 3 × 2 matrix.
How would you find her total output?
What this lesson covers
The idea
Matrices of the same order are added by adding corresponding elements: cᵢⱼ = aᵢⱼ + bᵢⱼ; if the orders differ, A + B is not defined.
Two factories
Fatima's two factories make shoes for boys and girls in three price categories. Each factory's output is a 3 × 2 matrix.
How would you find her total output?
- Add the entries in the same places
- Add every entry of one to every entry of the other
- Multiply the two matrices
Add them
A is factory A's output and B is factory B's. Tap entries of A + B to see where each comes from.
Addition of matrices
Matrices of the same order are added by adding corresponding entries: cᵢⱼ = aᵢⱼ + bᵢⱼ. If the orders differ, A + B is not defined.
Category 1 boys: 80 + 90 = 170. Category 3 girls: 85 + 75 = 160.
Notes
A + B = [aᵢⱼ + bᵢⱼ], only for matrices of the same order.
Check yourself
[[1, 2], [3, 4]] + [[5, 6], [7, 8]]: what is the entry in row 2, column 1?
Answer: 10
3 + 7 = 10.
A is 2 × 2 and B is 2 × 3. What is A + B?
The sum of two 3 × 2 matrices is
- Not defined — correct. Right. The orders must be the same.
- A 2 × 3 matrix. Addition needs matching places; a 2 × 2 and a 2 × 3 do not match.
- A 2 × 2 matrix. A + B is not defined for different orders.
- a 6 × 4 matrix. Orders do not add. The sum keeps the order 3 × 2.
- a 3 × 2 matrix — correct. Yes, same order as each.
- a 3 × 3 matrix. The sum has the same order as the matrices added.