Lesson 3 of 7 · 15 min
Adding, subtracting and scaling matrices
Add and subtract matrices of the same order to combine or compare tables, and multiply a matrix by a scalar for price changes and repeated orders.
What you will be able to do
- Decide whether two matrices can be added or subtracted.
- Add and subtract matrices element by element, and interpret the result in context.
- Multiply a matrix by a scalar, including percentage increases and decreases such as and .
A surf shop has stores at Noosa and Mooloolaba. Each week it records the wetsuits it sells in small, medium and large. To find the total over two weeks, you add each store's sales of each size: Noosa's small sales in week 1 plus Noosa's small sales in week 2, and so on. That is matrix addition.
is week 1 and is week 2. Pick an element of to see where it comes from. Then switch to : what does a negative element tell the manager?
Definition
Adding and subtracting matrices
You can add or subtract two matrices only when they have the same order. Add or subtract the elements in matching positions:
The answer has the same order, and the same labels, as the matrices you started with.
Week 1 and week 2 sales are
Calculate , the total sales over the two weeks.
Worked example
Update a surf shop's stock
A surf shop's two stores stock wetsuits in small, medium and large. The matrices show the stock at the start of the week (), the wetsuits sold during the week () and a delivery that arrived on Friday (). Rows are Noosa and Mooloolaba; columns are small, medium and large.
Write a matrix expression for the stock at the end of the week, and evaluate it.
Step 1: Write the expression
Closing stock = opening stock − sold + delivered, so the closing stock is .
Sales take wetsuits out of stock and deliveries put them in. All three matrices are with the same labels, so the expression is defined.
Step 2: Subtract the sales
Step 3: Add the delivery
Step 4: Interpret
For example, Mooloolaba ends the week with 26 medium wetsuits. Every element is positive, which makes sense: a store cannot have negative stock.
Try it yourself first, then check the working one step at a time.
Answer
: Noosa has 33 small, 37 medium and 44 large; Mooloolaba has 33 small, 26 medium and 33 large.
Method
Write the expression in words, then in matrices.
Check every matrix has the same order and labels.
Work element by element, one operation at a time.
Check the answer makes sense in context.
Watch out for
Writing , which subtracts the delivery instead of adding it.
Common mistake
Order matters when you subtract
, but and are different: every element changes sign. Decide what you want first. "How many more did week 2 sell than week 1?" is (week 2 minus week 1).
Now suppose every price on a price list rises by 5%. Each price is multiplied by . Multiplying every element of a matrix by the same number is called scalar multiplication, and the number is the scalar.
Definition
Multiplying by a scalar
To find , multiply every element of by :
Any matrix can be multiplied by a scalar, and the order stays the same.
| Change | Scalar |
|---|---|
| Increase by 5% | |
| Add 10% GST | |
| Decrease by 20% | |
| Half price | |
| Order 3 times as many |
Worked example
Raise every theme park price by 4%
A Gold Coast theme park's ticket prices, in dollars, are
with rows for 1-day and 2-day passes, and columns for adult and child tickets. Next year every price rises by 4%. Find the matrix of next year's prices.
Step 1: Choose the scalar
A 4% increase multiplies each price by .
The new price is the old price plus 4% of it, which is 104% of the old price.
Step 2: Multiply every element
Step 3: Interpret
A 2-day adult pass will cost $186.16. The rises range from $3.96 (child 1-day) to $7.16 (adult 2-day): 4% of a bigger price is a bigger rise.
Try it yourself first, then check the working one step at a time.
Answer
Next year's prices are dollars.
Method
Turn the percentage change into a scalar: up is , down is .
Multiply every element by the scalar.
Watch out for
Multiplying by , which gives the increase, not the new price.
Adding $4 to each price instead of 4%.
A Gold Coast surf school's prices, in dollars, are
with rows for group and private lessons, and columns for 1-hour and 2-hour lessons. In winter, every price is reduced by 20%. Find the matrix of winter prices.
is a matrix, is a matrix and is a matrix. Which of these is not defined?
Tip
With technology
For large matrices, enter them into your calculator's matrix mode or a spreadsheet. In a spreadsheet, type the formula for the top-left element (such as =B2+F2 or =1.05*B2) and fill it across and down. Write the matrices you used in your working, then the result.
Summary
Add or subtract matrices only when they have the same order. Work element by element.
The answer has the same order and labels as the matrices you combined.
: decide which way round the context needs.
multiplies every element by . Percentage changes use scalars like (up 5%) and (down 20%).
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.