Docsity

Matrices: A Comprehensive Guide with CAS Applications, Exercises of Mathematics

Partial preview of the text

Download Matrices: A Comprehensive Guide with CAS Applications and more Exercises Mathematics in PDF only on Docsity!

Matrices

4.1 Kick off with CAS 4.2 Types of matrices 4.3 Operations with matrices 4.4 Matrix multiplication 4.5 Inverse matrices and problem solving with matrices 4.6 Review

Please refer to the Resources tab in the Prelims section of your eBookPlUs for a comprehensive step-by-step guide on how to use your CAS technology.

4.1 Kick off with CAS

Using CAS to work with matrices

1 a Defi ne each of the following matrices using CAS. A =

− 2 3 − 2 4 ,^ B^ =^

3 − 2 1 − 2 and^ I^ =^

1 0 0 1 b Using the matrices defi ned in part a, calculate: i 5 A^ ii 2 B^ iii 2 A^ +^3 B iv det A v B −^1 vi BI. 2 a Defi ne the following matrices using CAS. A = −^2 0 − 5

and B = 1 2 − 2 1 b Using the matrices defi ned in part^ a, fi nd^ X^ if: i AX = B ii XA = B. 3 Solve the simultaneous equations 9 x + 10 y = 153 3 x − y = 12 by setting up the simultaneous equations in the form 9 10 3 − 1

x y

= 153 12 and completing the following steps. a Defi ne^ A^ =^

9 10 3 − 1

, X = x y

and B = 153 12

using CAS. b Using the matrices defi ned in part a, solve the equation AX = B for X.

Networks Matrices can also be used to display information about various types of networks , including road systems and social networks. The following matrix shows the links between a group of schoolmates on Facebook, with a 1 indicating that the two people are friends on Facebook and a 0 indicating that the two people aren’t friends on Facebook.

A 0 1 1 0 B 1 0 0 1 C 1 0 0 1 D 0 1 1 0 From this matrix you can see that the following people are friends with each other on Facebook:

  • person A and person B
  • person A and person C
  • person B and person D
  • person C and person D.

A B C D

2 Write down how many adults and children attend each of the three events

Circus Zoo Show Adults 140 58 85 Children 200 125 150 3 Write this information in a matrix. Remember to use square brackets.

140 58 85 200 125 150

The distances, in kilometres, along three major roads between the Tasmanian towns Launceston (L), Hobart (H) and Devonport (D) are displayed in the matrix below.

H 0 207 160 D 207 0 75 L 160 75 0 a What is the distance, in kilometres, between Devonport and Hobart? b Victor drove 75 km directly between two of the Tasmanian towns. Which two towns did he drive between? c The Goldstein family would like to drive from Hobart to Launceston, and then to Devonport. Determine the total distance in kilometres that they will travel.

H D L

WORKeD

eXaMPLe 22222222

topic 4 MatRICes 119

THINK WRITE

a 1 Reading the matrix, locate the first city or town, i.e. Devonport (D), on the top of the matrix

a H 0 207 160 D 207 0 75 L 160 75 0

2 Locate the second city or town, i.e. Hobart (H), on the side of the matrix. (^) H 0 207 160 D 207 0 75 L 160 75 0 3 The point where both arrows meet gives you the distance between the two towns.

207 km

b 1 Locate the entry ‘75’ in the matrix. b H 0 207 160 D 207 0 75 L 160 75 0 2 Locate the column and row ‘titles’ (L and D) for that entry. (^) H 0 207 160 D 207 0 75 L 160 75 0 3 Refer to the title headings in the question. Victor drove between Launceston and Devonport.

c 1 Locate the first city or town, i.e. Hobart (H), on the top of the matrix and the second city or town, i.e. Launceston (L), on the side of the matrix.

c H 0 207 160 D 207 0 75 L 160 75 0 2 Where the row and column meet gives the distance between the two towns.

160 km

3 Determine the distance between the second city or town, i.e. Launceston, and the third city or town, i.e. Devonport.

H 0 207 160 D 207 0 75 L 160 75 0 4 Where the row and column meet gives the distance between the two towns.

75 km

5 Add the two distances together. 160 + 75 = 235 km

H D L

H D L

H D L

H D L

H D L

H D L

120 Maths Quest 11 GeNeRaL MatheMatICs VCe units 1 and 2

Identity matrices

An identity matrix , I , is a square matrix in which all of the elements on the diagonal line from the top left to bottom right are 1s and all of the other elements are 0s.

I 2 = 10 01 and I 3 =

1 0 0 0 1 0 0 0 1

are both identity matrices.

As you will see later in this topic, identity matrices are used to fi nd inverse matrices, which help solve matrix equations.

the zero matrix

A zero matrix , 0 , is a square matrix that consists entirely of ‘0’ elements. The matrix

0 0 0 0 is an example of a zero matrix.

Types of matrices

1 WE1^ Cheap Auto sells three types of vehicles: cars, vans and motorbikes. They have two outlets at Valley Heights and Hill Vale. The number of vehicles in stock at each of the two outlets is shown in the table. Cars Vans Motorbikes Valley Heights^18 12 Hill Vale^13 10 Construct a matrix to represent this information. 2 Newton and Isaacs played a match of tennis. Newton won the match in fi ve sets with a fi nal score of 6–2, 4–6, 7–6, 3–6, 6–4. Construct a matrix to represent this information.

ExERCIsE 4.

PRaCTIsE

Write the element a 23 for the matrix (^) A =^1 4 −^2 3 − 6 5

.

THINK WRITE 1 The element a 23 means the element in the 2nd row and 3rd column. Draw lines through the 2nd row and 3rd column to help you identify this element.

A =

1 4 − 2 3 − 6 5

2 Identify the number that is where the lines cross over. a 23 = 5

WORKeD

eXaMPLe 44444444

122 Maths Quest 11 GeNeRaL MatheMatICs VCe units 1 and 2

3 WE2^ The distance in kilometres between the towns Port Augusta (P), Coober Pedy (C) and Alice Springs (A) are displayed in the following matrix.

P 0 545 1225 C 545 0 688 A 1225 688 0 a Determine the distance in kilometres between Port Augusta and Coober Pedy. b Greg drove 688 km between two towns. Which two towns did he travel between? c A truck driver travels from Port Augusta to Coober Pedy, then onto Alice Springs. He then drives from Alice Springs directly to Port Augusta. Determine the total distance in kilometres that the truck driver travelled. 4 A one-way economy train fare between Melbourne Southern Cross Station and Canberra Kingston Station is $91.13. A one-way economy train fare between Sydney Central Station and Melbourne Southern Cross Station is $110.72, and a one-way economy train fare between Sydney Central Station and Canberra Kingston Station is $48.02. a Represent this information in a matrix. b Drew travelled from Sydney Central to Canberra Kingston Station, and then onto Melbourne Southern Cross. Determine how much, in dollars, he paid for the train fare. 5 WE3^ An energy-saving store stocks shower water savers and energy-saving light globes. In one month they sold 45 shower water savers and 30 energy-saving light globes. Construct a column matrix to represent the number of shower water savers and energy-saving light globes sold during this month, and state the order of the matrix.

6 Happy Greens Golf Club held a three-day competition from Friday to Sunday. Participants were grouped into three different categories: experienced, beginner and club member. The table shows the total entries for each type of participant on each of the days of the competition. Category Friday Saturday Sunday Experienced 19 23 30 Beginner 12 17 18 Club member 25 33 36 a How many entries were received for the competition on Friday? b Calculate the total number of entries for the three day competition. c Construct a row matrix to represent the number of beginners participating in the competition for each of the three days. 7 WE4^ Write down the value of the following elements for matrix D.

D =

4 5 0 2 − 1 − 3 1 − 2 6 0 3 7 a d 12 b d 33 c d 43

P C A

topic 4 MatRICes 123

14 The land area and population of each Australian state and territory were recorded and summarised in the table below.

QUEENSLAND

SOUTH AUSTRALIA

Adelaide VICTORIA

NEW SOUTH WALES

WESTERN AUSTRALIA

NORTHERN TERRITORY

Darwin

Brisbane

Sydney

Melbourne

Hobart

TASMANIA

Canberra

Perth

State/territory Land area (km 2 ) Population (millions) Australian Capital Territory 2 358 0. Queensland 1 727 200 4. New South Wales 801 428 6. Northern Territory 1 346 200 0. South Australia 984 000 1. Western Australia 2 529 875 2. Tasmanian 68 330 0. Victoria 227 600 5. a Construct an 8 × 1 matrix that displays the population, in millions, of each state and territory in the order shown in the table. b Construct a row matrix that represents the land area of each of the states in ascending order. c Town planners place the information on land area, in km 2 , and population, in millions, for the states New South Wales, Victoria and Queensland respectively in a matrix. i State the order of this matrix. ii Construct this matrix.

topic 4 MatRICes 125

15 The estimated number of Indigenous Australians living in each state and territory in Australia in 2006 is shown in the following table.

State and territory

Number of Indigenous persons

% of population that is Indigenous New South Wales 148 178 2. Victoria 30 839 0. Queensland 146 429 3. South Australia 26 044 1. Western Australia 77 928 3. Tasmania 16 900 3. Northern Territory 66 582 31. Australian Capital Territory 4 043 1. a Construct an 8 × 2 matrix to represent this information b Determine the total number of Indigenous persons living in the following states and territories in 2006: i Northern Territory ii Tasmania iii Queensland, New South Wales and Victoria (combined). c Determine the total number of Indigenous persons who were estimated to be living in Australia in 2006. 16 AeroWings is a budget airline specialising in flights between four mining towns: Olympic Dam (O), Broken Hill (B), Dampier (D) and Mount Isa (M). The cost of airfares (in dollars) to fly from the towns in the top row to the towns in the first column is shown in the matrix below.

O B D M O 0 70 150 190 B 89 0 85 75 D 175 205 0 285 M 307 90 101 0 a In the context of this problem, explain the meaning of the zero entries. b Find the cost, in dollars, to fly from Olympic Dam to Dampier. c Yen paid $101 for his airfare with AeroWings. At which town did he arrive? d AeroWings offers a 25% discount for passengers flying between Dampier and Mount Isa, and a 15% discount for passengers flying from Broken Hill to Olympic Dam. Construct another matrix that includes the discounted airfares (in dollars) between the four mining towns.

From

To

126 Maths Quest 11 GeNeRaL MatheMatICs VCe units 1 and 2

d Complete the matrix that Mackenzie used for the test by fi nding the values of the missing elements.

A B Next question C D E

0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 19 State the steps involved in constructing a matrix using CAS. 20 Matrix A was constructed using a spreadsheet.

a State the cell number for each of the following elements. i a 13 ii a 22 iii a 32 iv a 21 b i Explain how the element position can be used to locate the corresponding cell number in the spreadsheet. ii Using your response to bi, write down the cell number for any element e (^) nm.

Operations with matrices

Matrix addition and subtraction

Matrices can be added and subtracted using the same rules as in regular arithmetic. However, matrices can only be added and subtracted if they are the same order (that is, if they have the same number of rows and columns). adding matrices To add matrices, you need to add the corresponding elements of each matrix together (that is, the numbers in the same position).

This question A B C D E

MasTER

A =

75 80 55 120 65 82 95 105 71

Interactivity Adding and subtracting matrices int-

If A = 4 2 3 − 2

and B = 1 0 5 3

, find the value of A + B****.

THINK WRITE 1 Write down the two matrices in a sum. 4 2 3 − 2 +^

1 0 5 3 2 Identify the elements in the same position. For example, 4 and 1 are both in the fi rst row and fi rst column. Add the elements in the same positions together.

4 + 1 2 + 0 3 + 5 − 2 + 3

3 Work out the sums and write the answer. 5 2 8 1

WORKeD

eXaMPLe 55555555

128 Maths Quest 11 GeNeRaL MatheMatICs VCe units 1 and 2

subtracting matrices To subtract matrices, you need to subtract the corresponding elements in the same order as presented in the question.

Operations with matrices

1 a WE5^ If A =

2 − 3 − 1 − 8 and^ B^ =^

− 1 9 0 11 , fi nd the value of^ A^ +^ B.

b If A =

, B =

−0.

and C =

−0. −0.

, fi nd the matrix sum A + B + C.

2 Consider the matrices C =

1 − 3 7 5 b 8

and D =

0 a − 5 − 4 2 − 9

.

If C + D =

1 1 2 1 − 4 − 1

, fi nd the values of a and b.

3 WE6^ If A = (^) −^13 −^11 and B = (^) −^22 34 , fi nd the value of A – B.

4 Consider the following.

B – A =

4 0 2

, A + B =

4 2 8

and A =

0 1 3

.

a Explain why matrix B must have an order of 3 × 1. b Determine matrix B.

5 If A =

5 4 − 2

, B =

− 1 0 4

and C =

− 4 3 2

, calculate the following.

a A + C b B + C c A − B d A + B − C

ExERCIsE 4.

PRaCTIsE

Units 1 & 2 AOS 3 Topic 1 Concept 3 Equality, addition and subtraction Concept summary Practice questions

CoNsolIdaTE

If A = (^62) −^02 and B = 41 23 , find the value of A – B****.

THINK WRITE 1 Write the two matrices. 6 0 2 − 2 −^

4 2 1 3 2 Subtract the elements in the same position together.

6 − 4 0 − 2 2 − 1 − 2 − 3 3 Work out the subtractions and write the answer.

2 − 2 1 − 5

WORKeD

eXaMPLe 66666666

topic 4 MatRICes 129

a By referring to the order of matrices, explain why Marco’s answer must be incorrect. b By explaining how to add matrices, write simple steps for Marco to follow so that he is able to add and subtract any matrices. Use the terms ‘order of matrices’ and ‘elements’ in your explanation. 12 Frederick, Harold, Mia and Petra are machinists who work for Stitch in Time. The table below shows the hours worked by each of the four employees and the number of garments completed each week for the last three weeks. Week 1 Week 2 Week 3

Employee

Hours worked

Number of garments

Hours worked

Number of garments

Hours worked

Number of garments Frederick 35 150 32 145 38 166 Harold 41 165 36 152 35 155 Mia 38 155 35 135 35 156 Petra 25 80 30 95 32 110 a Construct a 4 × 1 matrix to represent the number of garments each employee made in week 1. b i Create a matrix sum that would determine the total number of garments each employee made over the three weeks. ii Using your matrix sum from part bi, determine the total number of garments each employee made over the three weeks. c Nula is the manager of Stitch in Time. She uses the following matrix sum to determine the total number of hours worked by each of the four employees over the three weeks. 35

38 25

  • 36 30

38 35 35

=

Complete the matrix sum by filling in the missing values. 13 There are three types of fish in a pond: speckles, googly eyes and fantails. At the beginning of the month there were 12 speckles, 9 googly eyes and 8 fantails in the pond. By the end of the month there were 9 speckles, 6 googly eyes and 8 fantails in the pond. a Construct a matrix sum to represent this information. b After six months, there were 12 speckles, 4 googly eyes and 10 fantails in the pond. Starting from the end of the first month, construct another matrix sum to represent this information.

topic 4 MatRICes 131

14 Consider the following matrix sum: A – C + B = D. Matrix D has an order of 3 × 2. a State the order of matrices A , B and C. Justify your answer. A has elements a 11 = x , a 21 = 20, a 31 = 3 c 31 , a 12 = 7, a 22 = y and a 32 = −8. B has elements b 11 = x , b 21 = 2 x , b 31 = 3 x , b 12 = y , b 22 = 5 and b 32 = 6 C has elements c 11 = 12, c 21 = 12 a 21 , c 31 = 5, c 12 = 9, c 22 = 2 y and c 32 = 2 x. b Define the elements of D in terms of x and y.

c If D =

− 8 1 14 2 16 − 8

, show that x = 2 and y = 3.

15 Using CAS or otherwise, evaluate the matrix sum 1 2

3 4

5 6 3 5

2 7

1 3 2 3

1 4

2 9

1 4

3 8

1 3 1 10

3 14

4 9 1 6

1 2

2 3

−

1 8

1 2

7 6 2 15

8 21

4 3 2 9

5 8

10 9

.

16 Consider the matrices A and B. A =

21 10 9 18 7 12 B^ =^

− 10 19 11 36 − 2 15 The matrix sum A + B was performed using a spreadsheet. The elements for A were entered into a spreadsheet in the following cells: a 11 was entered in cell A1, a 21 into cell A2, a 12 in cell B1, a 22 in cell B2, a 13 in cell C2 and a 23 in cell C3. a If the respective elements for B were entered into cells D1, D2, E1, E2, F1 and F2, write the formulas required to find the matrix sum A + B. b Hence, using a spreadsheet, state the elements of A + B.

Matrix multiplication

scalar multiplication

If A =

3 2 5 1 0 7

, then A + A can be found by multiplying each element in matrix A by

the scalar number 2, because A + A = 2 A.

A + A =

3 2 5 1 0 7

3 2 5 1 0 7

=

6 4 10 2 0 14

2 A =

2 × 3 2 × 2 2 × 5 2 × 1 2 × 0 2 × 7

=

6 4 10 2 0 14 The number 2 is known as a scalar quantity, and the matrix 2 A represents a scalar multiplication. Any matrix can be multiplied by any scalar quantity and the order of the matrix will remain the same. A scalar quantity can be any real number, such as negative or positive numbers, fractions or decimals numbers.

MasTER

Units 1 & 2 AOS 3 Topic 1 Concept 4 Multiplication by a scalar Concept summary Practice questions

132 Maths Quest 11 GeNeRaL MatheMatICs VCe units 1 and 2

Multiplying matrices

To multiply matrices together, use the following steps. Step 1: Confi rm that the product matrix exists (that is, the number of columns in the fi rst matrix equals the number of rows in the second matrix). Step 2: Multiply the elements of each row of the fi rst matrix by the elements of each column of the second matrix. Step 3: Sum the products in each element of the product matrix. Consider matrices A and B. A = 3 2

and B = [1 2] As previously stated, the order of the product matrix AB will be 2 × 2.

AB = 32 × [1 2] 1st row × 1st column: 3 × 1 1st row × 2nd column: 3 × 2 2nd row × 1st column: 2 × 1 2nd row × 2nd column: 2 × 2 AB = (^32 ) Unlike when multiplying with real numbers, when multiplying matrices together the order of the multiplication is important. This means that in most cases AB ≠ BA. Using matrices A and B as previously defi ned, the order of product matrix BA is 1 × 1. BA = [1 2] × 3 2 As when calculating AB , to multiply the elements in these matrices you need to multiply the rows by the columns. Each element in the fi rst row must be multiplied by the corresponding element in the fi rst column, and the total sum of these will make up the element in the fi rst row and fi rst column of the product matrix.

Units 1 & 2 AOS 3 Topic 1 Concept 5 Matrix multiplication Concept summary Practice questions

If A = 3 2

and B = [ 1 2 ] , show that the product matrix AB exists and hence write down the order of AB****. THINK WRITE 1 Write the order of each matrix. A: 2 × 1 B: 1 × 2 2 Write the orders next to each other. 2 × 1 1 × 2 3 Circle the two middle numbers. 2 × 1 1 × 2 4 If the two numbers are the same, then the product matrix exists.

Number of columns in A = number of rows in B , therefore the product matrix AB exists. 5 The order of the resultant matrix (the product) will be the fi rst and last number.

2 × 1 1 × 2 The order of AB is 2 × 2.

WORKeD

eXaMPLe 88888888

Interactivity Matrix multiplication int-

134 Maths Quest 11 GeNeRaL MatheMatICs VCe units 1 and 2

If A = [ 3 5 ]^ and B = 26 , determine the product matrix AB****.

THINK WRITE 1 Set up the product matrix. (^) [3 5] × 2 6 2 Determine the order of product matrix AB by writing the order of each matrix A and B

A × B 1 × 2 × 2 × 1 AB has an order of 1 × 1. 3 Multiply each element in the fi rst row by the corresponding element in the fi rst column; then calculate the sum of the results.

3 × 2 + 5 × 6 = 36

4 Write the answer as a matrix. [36]

WORKeD

eXaMPLe 99999999

Determine the product matrix MN if M =

3 6 5 2 and N =^

1 8 5 4.

THINK WRITE 1 Set up the product matrix 3 5

6 2

× 1 5

8 4 2 Determine the order of product matrix MN by writing the order of each matrix M and N

M × N 2 × 2 × 2 × 2 MN has an order of 2 × 2. 3 To fi nd the element MN 11 , multiply the corresponding elements in the fi rst row and fi rst column and calculate the sum of the results.

3 5

6 2

× 1 5

8 4 3 × 1 + 6 × 5 = 33 4 To fi nd the element MN 12 , multiply the corresponding elements in the fi rst row and second column and calculate the sum of the results

3 5

6 2 ×^

1 5

8 4 3 × 8 + 6 × 4 = 48 5 To fi nd the element MN 21 , multiply the corresponding elements in the second row and fi rst column and calculate the sum of the results.

3 5

6 2 ×^

1 5

8 4 5 × 1 + 2 × 5 = 15 6 To fi nd the element MN 22 , multiply the corresponding elements in the second row and second column and calculate the sum of the results.

3 5

6 2 ×^

1 5

8 4 5 × 8 + 2 × 4 = 48 7 Construct the matrix MN by writing in each of the elements. 33 48 15 48

WORKeD

eXaMPLe 1010101010101010

For example, the element in the fi rst row and fi rst column of the product matrix BA is found by the sum 1 × 3 + 2 × 2 = 7. So the product matrix BA is [7].

topic 4 MatRICes 135