# Worksheet: Applications on Representing Data Using Matrices

In this worksheet, we will practice using matrices to model some applications like the payoff matrix of a game and the incidence and adjacency matrices of a graph.

**Q1: **

Write down the adjacency matrix of the network shown.

- A
- B
- C
- D
- E

**Q2: **

When a connection in a network does not have an arrow, it is said to be ‘undirected’. An undirected connection between nodes and is equivalent to a directed connection from to together with a directed connection from to . Determine the adjacency matrix of the network shown.

- A
- B
- C
- D
- E

**Q3: **

Players and play a game in which they both call “heads” or “tails” at the same time. They use the payoff matrix , where the first row and column represent “heads” and the second row and column represent “tails.” Describe the payoff rules for this game.

- AIf both players call “heads,” player gets 1 point from player ; if both players call “tails,” player gets 2 points from player ; and if both players call different sides, player gets 2 points from player if he calls “heads” or 1 point if he calls “tails.”
- BIf both players call “heads,” player gets 2 points from player ; if both players call “tails,” player gets 1 point from player ; and if both players call different sides, player gets 2 points from player if he calls “heads” or 1 point if he calls “tails.”
- CIf both players call “heads,” player gets 2 points from player ; if both players call “tails,” player gets 1 point from player ; and if both players call different sides, player gets 1 point from player if he calls “heads” or 2 points if he calls “tails.”
- DIf both players call “heads,” player gets 1 point from player ; if both players call “tails,” player gets 2 points from player ; and if both players call different sides, player gets 1 point from player if he calls “heads” or 2 points if he calls “tails.”
- EIf both players call “heads,” player gets 2 points from player ; if both players call “tails,” player gets 2 points from player ; and if both players call different sides, player gets 1 point from player if he calls “heads” or 1 point if he calls “tails.”

**Q4: **

Players and play a game in which they both call “heads” or “tails” at the same time. If they both call the same thing, player wins one point from player . If they call different things, player wins one point from player . Write the payoff matrix for this game.

- A
- B
- C
- D
- E

**Q5: **

In a soccer league, there are 3 teams. Every team played 4 games.

The first team won 1 game, lost 3 games, and drew no games.

The second team won 2 games, lost 1 game, and drew 1 game.

The third team won 2 games, lost 1 game, and drew 1 game.

Write down the matrix that represents the results of the league. Every team is represented by a different row. The first column contains the number of wins, the second contains the number of losses, and the third contains the number of draws.

- A
- B
- C
- D
- E

**Q6: **

The table below shows the prices, in pounds, of 3 types of sandwiches in 3 different sizes in a fast-food restaurant. Arrange this data in a matrix such that the prices for each type of sandwich are arranged in the rows, with the small in the first column, medium in the second column, and large in the third column. The rows of the matrix should also be arranged in ascending order.

Small | Medium | Large | |
---|---|---|---|

Burger | 8 | 12 | 18 |

Hot Dog | 9 | 15 | 20 |

Fried Chicken | 7 | 10 | 16 |

- A
- B
- C
- D
- E

**Q7: **

Rock, paper, scissors is a 2-player game where players make gestures with their hands in the shapes of either a rock, a paper, or a pair of scissors. It is played as follows:

- Rock beats scissors.
- Scissors beat paper.
- Paper beats rock.
- If the two players make the same gesture, it is a tie.

Write down the payoff matrix that represents the outcome of the game such that every choice made by player 1 is represented by a different row and every choice made by player 2 is represented by a different column. The first row/column represents rock, the second row/column represents paper, and the third row/column represents scissors. 1 represents a win for player 1, 0 represents a tie, and -1 represents a loss for player 1.

- A
- B
- C
- D
- E