Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 12 Maths - General (Unit 3 & Unit 4) Matrices and their applications

Matrix sum, difference and scalar multiple

20 practice questions 0 video lessons Theory + worked examples

Combine matrices with confidence in Year 12 VCE General Mathematics. When a bakery with shops in Geelong and Ballarat records its sales in a matrix each week, adding the matrices gives the totals, subtracting shows the change, and multiplying by \(1.1\) sets a target ten per cent higher. All of this works only when the matrices have the same order.

You will practise adding and subtracting matrices element by element, deciding when a sum is not defined, and finding scalar multiples with whole numbers, fractions, negatives and percentages. You will also solve equations such as \(2X + A = B\) and interpret answers in context, ready for multiplying matrices together next.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Matrices of the same size can be combined element by element. This Year 12 General Mathematics guide for students in Victoria shows how to add and subtract matrices, multiply by a scalar, solve simple matrix equations and use these operations for totals, changes and percentage targets.

Two matrices can be added or subtracted only if they have the same order. The answer has that order too: each element is found by adding (or subtracting) the elements in the matching positions. A \(2 \times 3\) matrix and a \(3 \times 2\) matrix cannot be added; the sum is not defined.

A scalar is an ordinary number. To find the scalar multiple \(kA\), multiply every element of \(A\) by \(k\). The scalar can be negative or a fraction: \(-2A\) changes every sign and doubles, and \(\frac{1}{2}A\) halves every element. Scalar multiples model percentage changes: a \(15\%\) discount on a price matrix \(P\) gives \(0.85P\).

Addition can be done in either order (\(A + B = B + A\)), but subtraction cannot: \(B - A\) has the opposite sign in every element to \(A - B\). Adding the zero matrix \(O\) changes nothing. Matrix equations such as \(2X + A = B\) are solved by rearranging, just as with numbers.

Key idea. First check the orders match. Then everything happens element by element: matching positions for a sum or difference, and every element for a scalar multiple.
Adding two matricesEach element of A is added to the element of B in the same position: 3 + 5 = 8, -1 + 6 = 5, 4 + (-2) = 2, 2 + 7 = 9. A + B = 3 βˆ’1 4 2 + 5 6 βˆ’2 7 = 8 5 2 9 same order (2 Γ— 2): add the elements in matching positions
Each colour pairs elements in the same position. The sum has the same order as \(A\) and \(B\).
Multiplying a matrix by a scalarEvery element of the 2 by 3 matrix is multiplied by 3. Below: a 2 by 3 matrix and a 3 by 2 matrix cannot be added. 3 2 βˆ’3 0 1 4 βˆ’5 = 6 βˆ’9 0 3 12 βˆ’15 1 0 2 3 1 4 + 5 1 0 2 1 3 not defined a scalar multiplies every element; the order is unchanged
\(3\) times a \(2 \times 3\) matrix is still \(2 \times 3\). Matrices of different orders cannot be added.

For matrices \(A\) and \(B\) of the same order:

\[(A + B)_{ij} = a_{ij} + b_{ij}, \qquad (A - B)_{ij} = a_{ij} - b_{ij}\]
(A+B)ij=aij+bij

Scalar multiple (any number \(k\)):

\[(kA)_{ij} = k \times a_{ij}\]
(kA)ij=kaij

Useful facts:

\[A + B = B + A, \qquad A + O = A, \qquad A - A = O, \qquad A - B = A + (-1)B\]
A+B=B+A

Solving a matrix equation, for example:

\[2X + A = B \;\Rightarrow\; X = \tfrac{1}{2}(B - A)\]
X=12(B-A)
Percentage changes. An increase of \(r\%\) multiplies by \(1 + \frac{r}{100}\); a decrease of \(r\%\) multiplies by \(1 - \frac{r}{100}\). So \(10\%\) more is \(1.1A\) and \(15\%\) off is \(0.85A\).

Sums, differences and scalar multiples

  1. Write down the order of each matrix. If a sum or difference has different orders, it is not defined.
  2. Do any scalar multiples first: multiply every element.
  3. Add or subtract the elements in matching positions, writing negatives in brackets.
  4. Check the answer has the same order as the matrices you started with.

Matrix equations

  1. Rearrange to make the unknown matrix the subject (for example \(X = \frac{1}{2}(B - A)\)).
  2. Substitute and simplify element by element.
  3. For an unknown inside a matrix, match one element on each side and solve that ordinary equation.
  4. Check by substituting back into the original equation.
Example 1 β€” Sum and difference
Let \(A = \begin{bmatrix}7 & -2\\ 0 & 5\\ 3 & 1\end{bmatrix}\) and \(B = \begin{bmatrix}4 & 6\\ -3 & 2\\ 8 & -1\end{bmatrix}\). Find (i) \(A + B\) and (ii) \(A - B\).
Solution

Both matrices are \(3 \times 2\), so the sum and difference are defined. Work position by position and take care with negatives.

\(A + B\)\(=\)\(\begin{bmatrix}7 + 4 & -2 + 6\\ 0 + (-3) & 5 + 2\\ 3 + 8 & 1 + (-1)\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}11 & 4\\ -3 & 7\\ 11 & 0\end{bmatrix}\)
\(A - B\)\(=\)\(\begin{bmatrix}7 - 4 & -2 - 6\\ 0 - (-3) & 5 - 2\\ 3 - 8 & 1 - (-1)\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}3 & -8\\ 3 & 3\\ -5 & 2\end{bmatrix}\)
A+B, A-B

(i) \(A + B = \begin{bmatrix}11 & 4\\ -3 & 7\\ 11 & 0\end{bmatrix}\). (ii) \(A - B = \begin{bmatrix}3 & -8\\ 3 & 3\\ -5 & 2\end{bmatrix}\). Both answers are \(3 \times 2\), the same order as \(A\) and \(B\).

Example 2 β€” Scalar multiples
For \(A = \begin{bmatrix}4 & -1\\ 2 & 6\end{bmatrix}\) and \(B = \begin{bmatrix}1 & 3\\ -2 & 5\end{bmatrix}\), find (i) \(3A - 2B\) and (ii) \(\dfrac{1}{2}A\).
Solution

Multiply every element by the scalar first, then subtract matching elements.

\(3A\)\(=\)\(\begin{bmatrix}12 & -3\\ 6 & 18\end{bmatrix}\)
\(2B\)\(=\)\(\begin{bmatrix}2 & 6\\ -4 & 10\end{bmatrix}\)
\(3A - 2B\)\(=\)\(\begin{bmatrix}12 - 2 & -3 - 6\\ 6 - (-4) & 18 - 10\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}10 & -9\\ 10 & 8\end{bmatrix}\)
\(\tfrac{1}{2}A\)\(=\)\(\begin{bmatrix}2 & -0.5\\ 1 & 3\end{bmatrix}\)
3A-2B

(i) \(3A - 2B = \begin{bmatrix}10 & -9\\ 10 & 8\end{bmatrix}\). (ii) \(\dfrac{1}{2}A = \begin{bmatrix}2 & -0.5\\ 1 & 3\end{bmatrix}\): every element is halved, so \(-1\) becomes \(-0.5\).

Example 3 β€” Solving a matrix equation
Solve \(3X - A = B\) for the matrix \(X\), where \(A = \begin{bmatrix}5 & -1\\ 2 & 4\end{bmatrix}\) and \(B = \begin{bmatrix}1 & 7\\ -5 & 8\end{bmatrix}\).
Solution

Rearrange just like an ordinary equation (add \(A\), then divide by \(3\)), and only then substitute.

\(3X - A\)\(=\)\(B\)
\(3X\)\(=\)\(B + A\)
\(\)\(=\)\(\begin{bmatrix}1 + 5 & 7 + (-1)\\ -5 + 2 & 8 + 4\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}6 & 6\\ -3 & 12\end{bmatrix}\)
\(X\)\(=\)\(\tfrac{1}{3}\begin{bmatrix}6 & 6\\ -3 & 12\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}2 & 2\\ -1 & 4\end{bmatrix}\)
X=13(B+A)

\(X = \begin{bmatrix}2 & 2\\ -1 & 4\end{bmatrix}\). Check: \(3X = \begin{bmatrix}6 & 6\\ -3 & 12\end{bmatrix}\), and subtracting \(A\) gives \(\begin{bmatrix}1 & 7\\ -5 & 8\end{bmatrix} = B\).

Example 4 β€” Bakery sales
A bakery has shops in Geelong (row 1) and Ballarat (row 2). The loaves of sourdough, rye and white bread sold in two weeks are \(W_1 = \begin{bmatrix}42 & 18 & 35\\ 30 & 22 & 41\end{bmatrix}\) and \(W_2 = \begin{bmatrix}38 & 24 & 35\\ 36 & 19 & 44\end{bmatrix}\). (i) Find the total sales over the two weeks. (ii) Find \(W_2 - W_1\) and explain the element \(-4\). (iii) Next week the owner wants sales to be \(10\%\) higher than week 2. Write the target as a scalar multiple of \(W_2\).
Solution

The matrices have the same order, so they can be added and subtracted. A \(10\%\) increase multiplies every element by \(1.1\).

\(W_1 + W_2\)\(=\)\(\begin{bmatrix}80 & 42 & 70\\ 66 & 41 & 85\end{bmatrix}\)
\(W_2 - W_1\)\(=\)\(\begin{bmatrix}-4 & 6 & 0\\ 6 & -3 & 3\end{bmatrix}\)
\(\text{target}\)\(=\)\(1.1W_2\)
\(\)\(=\)\(\begin{bmatrix}41.8 & 26.4 & 38.5\\ 39.6 & 20.9 & 48.4\end{bmatrix}\)
Change in weekly bread salesW2 minus W1 for the Geelong and Ballarat bakeries. Negative elements, shaded, show where sales fell. W2 βˆ’ W1 = βˆ’4 6 0 6 βˆ’3 3 Geelong Ballarat sour rye white
1.1W2

(i) \(W_1 + W_2 = \begin{bmatrix}80 & 42 & 70\\ 66 & 41 & 85\end{bmatrix}\). (ii) The element \(-4\) (row 1, column 1) means Geelong sold \(4\) fewer sourdough loaves in week 2 than in week 1. A \(0\) means no change. (iii) The target is \(1.1W_2\); for example Geelong would aim for about \(42\) sourdough loaves (\(41.8\)).

Common pitfalls

Different orders. A \(2 \times 3\) matrix plus a \(3 \times 2\) matrix is not defined. Watch out for adding them anyway. (A transpose can sometimes make the orders match: \(A + C^T\).)
Scalar on only some elements. \(3A\) means every element times \(3\), including the zeros and the negatives. Watch out for multiplying only the first row or column.
Order of subtraction. \(A - B\) and \(B - A\) are different. In a context such as "change from week 1 to week 2", use week 2 minus week 1.

Frequently asked questions

When can you add two matrices?

Only when they have the same order, meaning the same number of rows and the same number of columns. Then you add the elements in matching positions.

How do you subtract matrices?

Check the orders match, then subtract each element of the second matrix from the element in the same position of the first. Brackets around negative numbers help avoid sign errors.

What is scalar multiplication of a matrix?

It means multiplying every element of the matrix by the same number. For example 2A doubles every element of A, and the order stays the same.

Is A - B the same as B - A for matrices?

No. Every element of B - A is the negative of the matching element of A - B. Addition can be done in either order, but subtraction cannot.

How do you solve a matrix equation like 2X + A = B?

Rearrange as with numbers: 2X = B - A, so X = one half of (B - A). Find B - A element by element, then halve every element. Check by substituting back.