Lesson 2 of 8 · 12 min
Adding, subtracting and scalar multiples
Add and subtract matrices of the same order, multiply a matrix by a scalar, and use the zero matrix and additive inverses to solve simple matrix equations.
What you will be able to do
- Add and subtract matrices of the same order, element by element.
- Multiply a matrix by a scalar and simplify expressions such as .
- Use , and to solve equations such as .
Back at the juice bar, Saturday's sales were and Sunday's sales were , with the shops as rows (CBD, Toowong) and the sizes as columns (small, large):
For the weekend totals you add the numbers that mean the same thing: CBD small with CBD small, Toowong large with Toowong large, and so on. That is matrix addition.
Subtraction works the same way: . The CBD shop sold 6 fewer small smoothies on Saturday than on Sunday, while Toowong sold 3 more.
Change any entry and watch and update. What does a negative entry in tell the owner?
Definition
Adding and subtracting matrices
You can add or subtract two matrices only when they have the same order. Add or subtract the corresponding elements:
If the orders are different, the sum and difference are not defined.
Now suppose each shop repeats Saturday's sales on four Saturdays in a row. Every element is multiplied by 4:
A single number such as 4 is called a scalar, and this is scalar multiplication: multiplies every element of by . In particular, changes the sign of every element.
Given and , find .
Key idea
Addition behaves like ordinary addition
For matrices , and of the same order, and scalars and :
- (commutative law for addition)
- (associative law)
- (additive identity: adding the zero matrix changes nothing)
- (additive inverse)
- and
Each one holds because it holds for every element, and the elements are ordinary numbers.
Worked example
Solve
Given and , find the matrix such that .
Step 1: Add to both sides
, so .
(additive inverse) and (additive identity). This is the matrix version of "subtract from both sides".
Step 2: Calculate
Step 3: Multiply both sides by
Step 4: Check
, which is .
Try it yourself first, then check the working one step at a time.
Answer
Method
Isolate the term containing by adding or subtracting a matrix on both sides.
Multiply by the reciprocal of the scalar.
Check by substituting back.
Watch out for
Sign errors when subtracting a negative element: .
Halving only some of the elements.
is a matrix and is a matrix. Which of these is not defined?
Common mistake
Adding a number to a matrix
is not defined, because a number is not a matrix. If you mean "add 3 to each element on the leading diagonal", write . And when you subtract, subtract every element, including the negative ones: .
Find if
Summary
Add or subtract matrices of the same order by adding or subtracting corresponding elements. If the orders differ, it is not defined.
multiplies every element of by the scalar .
Matrix addition is commutative and associative; is the additive identity and is the additive inverse of .
Solve like an ordinary equation: .
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.