# Using Matrices to Represent and Manipulate Data

Print Answer Key
(Only the test content will print)

## Using Matrices to Represent and Manipulate Data Answer Key

1.

Jack is keeping track of the scores for his favorite teams in a series of basketball games. He records the initials of the team and score for each game. Which matrix represents the data he collected?

Round 1

SC 67

RG 103

PD 89

Round 2

RG 109

SC 86

PD 111

Round 3

PD 42

SC 99

RG 121

Round 1

SC 67

RG 103

PD 89

Round 2

RG 109

SC 86

PD 111

Round 3

PD 42

SC 99

RG 121

- [math][[67,103,89],[109,86,111],[42,99,121]][/math]
- [math][[67,86,99],[103,109,121],[89,111,42]][/math]
- [math][[42,99,121],[111,86,109],[67,103,89]][/math]
- [math][[67,109,42],[103,86,99],[89,111,122]][/math]

2.

Clayton is recording information for a science experiment. He has three separate plants in different areas, and is recording their height each week. So far he has recorded data for four weeks, and each plant always increased in height. The heights of the first plant are 3 cm, 6 cm, 8 cm, 12 cm. The heights of the second plant are 2 cm, 4 cm, 5 cm, 7 cm. The heights of the third plant are 2 cm, 5 cm, 8 cm, 10 cm. Which of the following matrices correctly represent this data? Choose all that apply.

- [math][[3,6,8,12],[2,4,5,7],[2,5,8,10]][/math]
- [math] [[3,2,2],[6,4,5],[8,5,8],[12,7,10]] [/math]
- [math] [[2,2,3],[4,5,5],[6,7,8],[8,10,12]][/math]
- [math] [[12,8,6,3],[7,5,4,2],[2,5,8,10]][/math]

3.

Which of the following matrix equations correctly represents this system of equations?

[math]4x + 3y - z = 12, \ \ 3y+x+z= 10, \ \ 8x - z - 3y = 1[/math]

[math]4x + 3y - z = 12, \ \ 3y+x+z= 10, \ \ 8x - z - 3y = 1[/math]

- [math][[4,3,-1],[3,1,1],[8,-1,-3]] [[x],[y],[z]] = [[12],[10],[1]] [/math]
- [math][[4,3,-1],[3,1,1],[8,-1,-3]] [[12],[10],[1]] = [[x],[y],[z]] [/math]
- [math][[4,3,-1],[1,3,1],[8,-3,-1]] [[x],[y],[z]] = [[12],[10],[1]] [/math]
- [math][[4,1,8],[3,3,-3],[-1,1,-1]] [[x],[y],[z]] = [[12],[10],[1]] [/math]

4.

Matrices can be used to send coded messages. One way this is done is by taking a message, changing the letters into numbers, and then putting these numbers into a matrix. Zero represents a blank space. The matrix is formed by starting with the upper left most element, and going down each column till its full, then starting on the next column. If there are extra spaces in a matrix, fill the remaining elements with zeros (for example, if a message only has 7 letters, and one uses a 3-by-3 matrix, the remaining 2 elements would be zeros). Call the matrix containing the message matrix M. Then, one multiplies this by an encoding matrix; call this matrix A. Thus, the message sent would be the matrix AM. The recipient knows the encoding matrix, A. All they have to do is to multiply by the inverse, [math]A^{-1}[/math].

For the coded message [math][[24,20,56,76,55,24,20,56,37],[87,78,206,267,185,87,78,206,127],[27,95,173,118,-110,27,95,173,1]][/math], and the coding matrix [math][[-1,3,4],[-3,10,14],[2,-6,7]][/math], what is the message?

For the coded message [math][[24,20,56,76,55,24,20,56,37],[87,78,206,267,185,87,78,206,127],[27,95,173,118,-110,27,95,173,1]][/math], and the coding matrix [math][[-1,3,4],[-3,10,14],[2,-6,7]][/math], what is the message?

- KEEP THIS TO YOURSELF ONLY
- KEEP IT SECRET KEEP IT SAFE
- DO NOT TELL ANYONE ANYTHING
- KEEP CONCEALED AT ALL COSTS

5.

Andrea has been collecting data on typical house prices in three neighborhoods. She has data for 2016, 2017, and 2018. She puts this data into a matrix, labeled H, where each column represents a different neighborhood and each row represents a certain year (2016 for the first row, etc.)

[math]H = [["812,000", "616,000", "1,212,000"],["856,000", "583,000", "1,108,000"],["881,000", "612,000", "1,190,000"]] [/math]

If she wanted to find the average of the house prices over the three years for each neighborhood, which of the following operations would yield that information in a matrix?

[math]H = [["812,000", "616,000", "1,212,000"],["856,000", "583,000", "1,108,000"],["881,000", "612,000", "1,190,000"]] [/math]

If she wanted to find the average of the house prices over the three years for each neighborhood, which of the following operations would yield that information in a matrix?

- [math]1/3 [[1, 1, 1]]H[/math]
- [math]1/3 [[1],[1],[1]] H[/math]
- [math]1/3 H [[1, 1, 1]] [/math]
- [math]1/3 H [[1],[1],[1]] [/math]

6.

Kiera has a few apple trees, peach trees, and pear trees. She has kept track of the total volume of fruit, in bushels, each fruit tree has produced for the years 2016, 2017, and 2018. She has put this in a matrix, where each type of fruit tree is in a different column (apples, peaches, and pears, respectively), and each row is a certain year, starting with 2016 as the first row. Let this be matrix F.

[math]F =[[45, 6, 12],[40, 3, 10],[50, 5, 15]] [/math]

Which operation would give the total volume of fruit produced, in bushels, for each year?

[math]F =[[45, 6, 12],[40, 3, 10],[50, 5, 15]] [/math]

Which operation would give the total volume of fruit produced, in bushels, for each year?

- [math][[1,1,1]] F[/math]
- [math][[1],[1],[1]] F[/math]
- [math]F [[1,1,1]][/math]
- [math]F [[1],[1],[1]][/math]

7.

Matrices are widely used in image processing, where images are taken and manipulated in some way. To simplify this, consider a grayscale image (an image without color, but with varying hues of gray). Each pixel in the image has an assigned value, from 0 (completely black) to 255 (completely white). Usually, an image would be comprised of thousands or more pixels, but again, for simplification, consider a 3-by-3 matrix. Let the image be represented by the matrix A, as follows.

[math]A = [[124, 127, 129], [118, 120, 124], [115, 119, 121]][/math]

Which of the following operations would "invert" the grayscale image- that is, give the opposite intensity of each pixel? For example, if the original image has a pixel that was almost white, 4, the same pixel in the resulting image would be 251, almost black.

[math]A = [[124, 127, 129], [118, 120, 124], [115, 119, 121]][/math]

Which of the following operations would "invert" the grayscale image- that is, give the opposite intensity of each pixel? For example, if the original image has a pixel that was almost white, 4, the same pixel in the resulting image would be 251, almost black.

- [math]A^{-1}[/math] (inverse of matrix A)
- [math]A^T[/math] (transpose of matrix A)
- [math]255*[[1,1,1],[1,1,1],[1,1,1]] - A[/math]
- [math]A - 255*[[1,1,1],[1,1,1],[1,1,1]][/math]

8.

The following matrix, A, lists 5 sets of points, where the first column is the x coordinate and the second column is the y coordinate.

[math]A = [[3,2],[4,1],[5,9],[7,-1],[1,8]] [/math]

The following questions will use matrix operations to find the distance between the first and third points.

[math]A = [[3,2],[4,1],[5,9],[7,-1],[1,8]] [/math]

The following questions will use matrix operations to find the distance between the first and third points.

A.

Which of the following operations would result in a 2-by-2 matrix, with only the first and third points as elements? Let this matrix be called B.

- [math]B = [[1,0,1,0,0],[1,0,1,0,0]] A[/math]
- [math]B = A [[1,1],[0,0],[1,1],[0,0],[0,0]][/math]
- [math]B = A [[1,0],[0,0],[0,1],[0,0],[0,0]][/math]
- [math]B = [[1,0,0,0,0],[0,0,1,0,0]] A[/math]

B.

Which of the following operations would create a matrix, called C, where each element is the difference of the respective coordinates of the two points? I.e., the first element is the difference of the two x-coordinates.

- [math]C = B[[1,-1]][/math]
- [math]C = [[1,-1]] B[/math]
- [math]C = [[1],[-1]] B[/math]
- [math]C = B [[1],[-1]][/math]

C.

The transpose of a matrix is when the rows and columns are switched. For a given matrix, [math]M[/math], and its transpose, [math]M^T[/math], the columns of [math]M[/math] correspond to the rows of [math]M^T[/math]. This means that the dimensions of the matrix are switched; a 2-by-4 matrix becomes a 4-by-2 matrix. For a 1-by-n or m-by-1 matrix, the single column becomes a single row (or vice-versa).

Which of the following operations would result in a matrix of only one element which is the square of the distance between the first and third points in the original matrix A? (Taking the square root of this element would therefore give the distance between these points).

Which of the following operations would result in a matrix of only one element which is the square of the distance between the first and third points in the original matrix A? (Taking the square root of this element would therefore give the distance between these points).

- [math]C^T C[/math]
- [math]C C^T[/math]
- [math](C^T C)^2[/math]
- [math](C C^T)^2[/math]

You need to be a HelpTeaching.com member to access free printables.

Already a member? Log in for access. | Go Back To Previous Page

Already a member? Log in for access. | Go Back To Previous Page