Skip to the page
Home Campus
Start free

Multiplying a Matrix by a Number

How to multiply a matrix by a number (a scalar): every element is multiplied. Negative and fractional numbers, 2A − 3B, unknowns, and price rises, discounts and averages as multiples of a matrix.

Before you start

In lesson 4.2 you added matrices of the same order element by element, so A + A doubles every element of A.

In Secondary 1 you saw that a percentage change is a multiplier: "10% more than" a quantity is 110% of it, and a discount of 20% leaves 80% of the price to pay. So a price of $2.40 after a 20% discount is 2.40×0.8=1.922.40 \times 0.8 = 1.92, that is, $1.92.

Every Element Is Multiplied

A number times a matrix

To multiply a matrix A by a number kk, multiply every element of A by kk. The answer is written kAk\mathbf{A}, with the number in front.

The order does not change: kAk\mathbf{A} has the same order as A.

A number that multiplies a matrix in this way is called a scalar.

This agrees with addition: A + A doubles every element, and so does 2A. A negative number changes every sign; −A means (−1)A(-1)\mathbf{A}, and A + (−A) = O.

Example 1: Whole, Negative and Fractional Numbers

Find (a) 2A, and show that it equals A + A; (b) −3A; (c) half of the matrix in (c).

A=
3−1
04

(c)

46
−210

Solution

(a) Multiply every element by 2:

2A=
2 × 32 × (−1)
2 × 02 × 4
=
6−2
08
A+A=
6−2
08
=2A

(b) Multiply every element by −3. A negative times a negative is positive: (−3)×(−1)=3(-3) \times (-1) = 3.

−3A=
(−3) × 3(−3) × (−1)
(−3) × 0(−3) × 4
=
−93
0−12

(c) Half of a matrix is 12\tfrac{1}{2} times it:

1/2
46
−210
=
1/2 × 41/2 × 6
1/2 × (−2)1/2 × 10
=
23
−15

Each answer is 2×22 \times 2, the order of the matrix multiplied:

2A=
6−2
08
−3A=
−93
0−12
1/2
46
−210
=
23
−15

Multiples Added and Subtracted

To work out an expression such as 2A − 3B, multiply first, as with numbers: work out 2A and 3B, then subtract element by element (4.2).

Example 2: 2A − 3B

With A from Example 1 and B below, find 2A − 3B.

A=
3−1
04
B=
12
−25

Solution

First the two multiples:

2A=
6−2
08
3B=
3 × 13 × 2
3 × (−2)3 × 5
=
36
−615

Then subtract. Every element of 3B is taken away, signs and all: 0−(−6)=60 - (-6) = 6.

2A−3B=
6−2
08
−
36
−615
=
6 − 3−2 − 6
0 − (−6)8 − 15
=
3−8
6−7

The answer:

2A−3B=
3−8
6−7

Unknowns

An unknown element is found as before: work out the left-hand side element by element and equate corresponding elements.

An unknown scalar kk in kA=Bk\mathbf{A} = \mathbf{B} is found from a pair whose element in A is not 0, and must then be checked with every other pair: the same kk has to work for all of them.

Example 3: Unknown Elements and an Unknown Scalar

(a) Find xx and yy. (b) Find kk.

(a)

2
x3
−1y
+
41
5−2
=
107
34

(b)

k
2−3
14
=
−69
−3−12

Solution

(a) Multiply first, then add:

2
x3
−1y
+
41
5−2
=
2x6
−22y
+
41
5−2
=
2x + 46 + 1
−2 + 52y + (−2)
=
2x + 47
32y − 2
=
107
34

Row 1, column 1: 2x+4=102x + 4 = 10, so 2x=62x = 6 and x=3x = 3. Row 2, column 2: 2y−2=42y - 2 = 4, so 2y=62y = 6 and y=3y = 3.

Check the other two: 6+1=76 + 1 = 7 and −2+5=3-2 + 5 = 3.

(b) Every element of the left-hand side is kk times an element:

k
2−3
14
=
2k−3k
k4k
=
−69
−3−12

Row 1, column 1: 2k=−62k = -6, so k=−3k = -3.

Check every other element with k=−3k = -3: (−3)×(−3)=9(-3) \times (-3) = 9, (−3)×1=−3(-3) \times 1 = -3, (−3)×4=−12(-3) \times 4 = -12. All agree.

(a) x=3x = 3, y=3y = 3 (b) k=−3k = -3

Price Rises, Discounts and Averages

A percentage change multiplies every price by the same multiplier (Secondary 1). So when every price in a price matrix P rises by 10%, the new prices are 1.1P; after a 20% discount they are 0.8P.

Note that 1.1P multiplies every element by 1.1. It is not "add 1.1 to every element".

Example 4: A Price Matrix

A stationery shop has branches at Jurong East and Woodlands. The matrix P gives the price, in dollars, of a pen, a notebook and a pencil case at each branch. (a) Every price rises by 10%. Find the new price matrix. (b) Instead, the shop holds a sale with 20% off every price. Find the sale prices, and say what the element in row 2, column 2 means.

P=
price in dollars
pennotebookpencil case
Jurong East2.403.5012.00
Woodlands2.203.8011.50

Solution

(a) A 10% rise makes each price 110% of itself, so multiply every element by 1.1. Prices stay in dollars and cents, to 2 decimal places:

1.1P=
1.1 × 2.401.1 × 3.501.1 × 12.00
1.1 × 2.201.1 × 3.801.1 × 11.50
=
2.643.8513.20
2.424.1812.65

(b) 20% off leaves 80% of each price: multiply by 0.8.

0.8P=
0.8 × 2.400.8 × 3.500.8 × 12.00
0.8 × 2.200.8 × 3.800.8 × 11.50
=
1.922.809.60
1.763.049.20

Row 2 is Woodlands and column 2 is a notebook: in the sale a notebook at the Woodlands branch costs $3.04 (it was $3.80).

(a) 1.1P and (b) 0.8P are below. In (b), 3.04 is the sale price of a notebook at the Woodlands branch, $3.04.

(a)

1.1P=
2.643.8513.20
2.424.1812.65

(b)

0.8P=
1.922.809.60
1.763.049.20

An average is a multiple too

The average of two matrices of the same order is half their sum, 12(A+B)\tfrac{1}{2}(\mathbf{A} + \mathbf{B}): add them, then multiply by 12\tfrac{1}{2}. An average need not be a whole number, even when the matrices count whole things.

Common Mistakes

  • Multiplying only one row, or only one element. Every element is multiplied.
  • Signs: (−3)×(−1)=3(-3) \times (-1) = 3, not −3-3.
  • In 2A − 3B, losing a sign: subtracting a negative element of 3B adds it, as in 0−(−6)=60 - (-6) = 6.
  • Reading 1.1P as P with 1.1 added to every element. It is every element multiplied by 1.1.
  • Finding kk from one pair of elements and not checking the others.

Practice

Try each question before you open its solution. Questions 6, 7 and 10 are word problems.

Question 1

Find 3A, −2A, 12\tfrac{1}{2}A and 1.5A.

A=
4−2
610
ShowHide solution
3A=
3 × 43 × (−2)
3 × 63 × 10
=
12−6
1830
−2A=
(−2) × 4(−2) × (−2)
(−2) × 6(−2) × 10
=
−84
−12−20
1/2A=
1/2 × 41/2 × (−2)
1/2 × 61/2 × 10
=
2−1
35
1.5A=
1.5 × 41.5 × (−2)
1.5 × 61.5 × 10
=
6−3
915

1.5A is also A + 12\tfrac{1}{2}A: 4+2=64 + 2 = 6, and so on.

Each has the order 2×22 \times 2:

3A=
12−6
1830
−2A=
−84
−12−20
1/2A=
2−1
35
1.5A=
6−3
915

Question 2

Find 3A − 2B.

A=
20
−14
B=
1−3
25
ShowHide solution
3A=
60
−312
2B=
2−6
410
3A−2B=
60
−312
−
2−6
410
=
6 − 20 − (−6)
−3 − 412 − 10
=
46
−72

The answer:

3A−2B=
46
−72

Question 3

Find kk in (a) and in (b).

(a)

k
3−1
02
=
−62
0−4

(b)

k
4
−6
=
−2
3
ShowHide solution

(a) Row 1, column 1: 3k=−63k = -6, so k=−2k = -2. Check: (−2)×(−1)=2(-2) \times (-1) = 2, (−2)×0=0(-2) \times 0 = 0, (−2)×2=−4(-2) \times 2 = -4.

(b) Row 1: 4k=−24k = -2, so k=−12k = -\tfrac{1}{2}. Check row 2: −12×(−6)=3-\tfrac{1}{2} \times (-6) = 3.

(a) k=−2k = -2 (b) k=−12k = -\tfrac{1}{2}

Question 4

Find xx and yy.

3
x−1
2y
+
14
−52
=
131
1−4
ShowHide solution
3
x−1
2y
+
14
−52
=
3x−3
63y
+
14
−52
=
3x + 11
13y + 2
=
131
1−4

Row 1, column 1: 3x+1=133x + 1 = 13, so 3x=123x = 12 and x=4x = 4. Row 2, column 2: 3y+2=−43y + 2 = -4, so 3y=−63y = -6 and y=−2y = -2.

Check: −3+4=1-3 + 4 = 1 and 6+(−5)=16 + (-5) = 1.

x=4x = 4, y=−2y = -2

Question 5

Find the matrix X for which 2X + A = B.

A=
3−2
56
B=
94
1−2
ShowHide solution

As with numbers: take A from both sides, 2X = B − A; then halve, X = 12\tfrac{1}{2}(B − A).

B−A=
9 − 34 − (−2)
1 − 5−2 − 6
=
66
−4−8
X=1/2(B−A)=1/2
66
−4−8
=
33
−2−4
2X+A=
66
−4−8
+
3−2
56
=
94
1−2
=B

The last line is the check: putting X back gives B.

The matrix X:

X=
33
−2−4

Question 6

In lesson 4.2, a bubble tea shop's cups sold at its Bugis and Serangoon outlets were A on Saturday and B on Sunday. Find the average number of cups of each size sold per day at each outlet over the weekend, 12(A+B)\tfrac{1}{2}(\mathbf{A} + \mathbf{B}). Why can an element of the answer end in .5?

A=
Saturday
smallmediumlarge
Bugis528035
Serangoon476641
B=
Sunday
smallmediumlarge
Bugis619540
Serangoon587250
ShowHide solution

Add, then halve:

1/2(A+B)=1/2
11317575
10513891
=
56.587.537.5
52.56945.5

An average is a total shared equally, so it need not be a whole number of cups: the Bugis outlet sold 52+61=11352 + 61 = 113 small cups over the two days, an average of 56.5 a day. When the total is odd, the average ends in .5.

The average cups sold per day:

1/2(A+B)=
56.587.537.5
52.56945.5

Question 7

A cinema's ticket prices, in dollars, are given by T (rows: weekday, weekend; columns: adult, child). (a) The prices rise by 10%. Find the new prices, and say what the element in row 2, column 2 of your answer means. (b) A school group gets 20% off the old prices. Find the prices it pays.

T=
price in dollars
adultchild
weekday12.008.00
weekend14.509.50
ShowHide solution

(a) Multiply every element by 1.1:

1.1T=
1.1 × 12.001.1 × 8.00
1.1 × 14.501.1 × 9.50
=
13.208.80
15.9510.45

Row 2, column 2: a child's ticket at the weekend now costs $10.45.

(b) 20% off leaves 80%: multiply by 0.8.

0.8T=
0.8 × 12.000.8 × 8.00
0.8 × 14.500.8 × 9.50
=
9.606.40
11.607.60

(a) 1.1T is below; a weekend child's ticket now costs $10.45. (b) 0.8T is below.

(a)

1.1T=
13.208.80
15.9510.45

(b)

0.8T=
9.606.40
11.607.60

Question 8

Write the matrix as 3 times a matrix whose elements are whole numbers.

69
12−3
ShowHide solution

Divide every element by 3, and write the 3 in front:

69
12−3
=3
23
4−1

Check by multiplying back: 3×2=63 \times 2 = 6, 3×3=93 \times 3 = 9, 3×4=123 \times 4 = 12, 3×(−1)=−33 \times (-1) = -3.

As 3 times a matrix:

69
12−3
=3
23
4−1

Question 9

(a) Mei Ling writes that 3 times the matrix in (a) has 6 and 3 in row 1 and 4 and −5 in row 2. Find her mistake. (b) With A and B from Example 2, Arif works out 2A − 3B as 2(A − 3B). Is this the same? Show it.

(a)

21
4−5
ShowHide solution

(a) She multiplied only the first row. Every element must be multiplied:

3
21
4−5
=
3 × 23 × 1
3 × 43 × (−5)
=
63
12−15

(b) 2A − 3B is Example 2's answer:

2A−3B=
3−8
6−7

In 2(A − 3B) the 2 multiplies the whole bracket, so 3B is doubled as well. Work out the bracket first, then double it:

A−3B=
3−1
04
−
36
−615
=
3 − 3−1 − 6
0 − (−6)4 − 15
=
0−7
6−11
2(A−3B)=2
0−7
6−11
=
0−14
12−22
2A−3B≠2(A−3B)

(a) Only the first row was multiplied. (b) No: the two matrices below differ.

(b)

2A−3B=
3−8
6−7
2(A−3B)=
0−14
12−22

Question 10

The matrix M gives three pupils' marks, out of 50, in two tests. (a) Find the matrix of their marks as percentages. (b) What does the element in row 3, column 1 of your answer mean?

M=
marks out of 50
Test 1Test 2
Ali3845
Bala4129
Chen4736
ShowHide solution

(a) A mark out of 50 is turned into a percentage by multiplying it by 10050=2\tfrac{100}{50} = 2. So the percentages are 2M:

2M=
percentage marks
Test 1Test 2
Ali7690
Bala8258
Chen9472

(b) Row 3 is Chen and column 1 is Test 1: Chen scored 94% in Test 1 (47×2=9447 \times 2 = 94).

(a) 2M is below. (b) Chen scored 94% in Test 1.

(a)

2M=
7690
8258
9472

Key Points

  • kAk\mathbf{A}: multiply every element of A by the number kk, written in front. The order does not change.
  • 2A = A + A; −A has every sign changed, and A + (−A) = O.
  • Work out 2A − 3B by finding 2A and 3B first, then subtracting.
  • Find unknown elements by equating corresponding elements. Find kk from one pair (not one with a 0 in it), then check it with every other pair.
  • A 10% rise is 1.1P and a 20% discount 0.8P; the average of A and B is 12(A+B)\tfrac{1}{2}(\mathbf{A} + \mathbf{B}).

Previous lesson4.2 Adding and Subtracting Matrices Next lesson4.4 Multiplying Two Matrices

All Secondary 4 (Grade 10) lessons

Home Campus has lessons for Primary 3 to Secondary 4, and practice questions with worked solutions and worksheets for Primary 3 to Secondary 2. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 4 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.