Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Solution to Practice Problems of Game Theory, Exercises of Game Theory

Explain in modeling situation as a game, finding solutions, finding mixed strategies nash equilibria for zero sum games.

Typology: Exercises

2021/2022

Uploaded on 03/31/2022

larryp
larryp 🇺🇸

4.8

(34)

353 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Solution to Practice Problems:
Game Theory
1. Modeling a situation as a game
For each of the following situations, come up with a game (in normal form the matrix
representation we have been using) to describe the situation. For each one, decide if the
game is zero-sum or not. Also, if the game appears to be equivalent to some game we've
already seen in lecture, indicate which one.
There are many possible solutions to these. The important thing is NOT to get the exact
same numbers as I have. But you should try to get the same relative ordering between the
payoffs.
a. Two gentlemen are engaged in a duel. They each have two choices: shoot straight (to
try to kill the other) or duck (to try to avoid being killed). If they both shoot straight,
they both die; if they both duck, they live, but both lose some "face". If one ducks and
one shoots straight, they both live, but the one who shoots earns "honor" and "respect"
from his peers, while the one who ducks loses "face" and is branded a coward. Shooting
and living gives a higher reward than ducking and living, regardless of what the other
person does.
Shoot Duck
-10, -10
-1, +1
+1, -1
-1, -1
This is essentially a variant of the game of Chicken, which I showed in class.
Duck
Shoot
pf3
pf4
pf5
pf8

Partial preview of the text

Download Solution to Practice Problems of Game Theory and more Exercises Game Theory in PDF only on Docsity!

Solution to Practice Problems:

Game Theory

1. Modeling a situation as a game For each of the following situations, come up with a game (in normal form – the matrix representation we have been using) to describe the situation. For each one, decide if the game is zero-sum or not. Also, if the game appears to be equivalent to some game we've already seen in lecture, indicate which one.

There are many possible solutions to these. The important thing is NOT to get the exact same numbers as I have. But you should try to get the same relative ordering between the payoffs.

a. Two gentlemen are engaged in a duel. They each have two choices: shoot straight (to try to kill the other) or duck (to try to avoid being killed). If they both shoot straight, they both die; if they both duck, they live, but both lose some "face". If one ducks and one shoots straight, they both live, but the one who shoots earns "honor" and "respect" from his peers, while the one who ducks loses "face" and is branded a coward. Shooting and living gives a higher reward than ducking and living, regardless of what the other person does.

Shoot Duck

This is essentially a variant of the game of Chicken, which I showed in class.

Duck

Shoot

b. A river flows through two countries, A and B. It starts in country A, and then flows through B to the ocean. Both countries can either dam the river (and get electricity) or fish the river. If either country dams the river, it hurts the fish population in the river (either by decreasing the water flow downstream, or preventing fish from swimming upstream). So if one dams and the other fishes, it's bad for the one who fishes. If they both fish, it's good for both, but not as good as if they both dam, since the electric power is worth more than the fish.

A Dams A Fishes

+2, + 0 , + 2

  • 2 , 0 +1, +

c. Minority game: Three agents each have two possible actions. Whichever agent ends up in the minority (choosing a different action from the other two) wins. (This one is tricky because there are three players – you'll need to modify the matrix representation that we've been using to solve this.)

C: 1 C: 2

A: 1 A: 2 A: 1 A: 2

A: 0 , B:0,

C:

A:1, B:0,

C:

A:0, B:1,

C:

A:0, B:0,

C:

A:0, B:0,

C:

A:0, B:1,

C:

A:1, B:0,

C:

A:0, B:0,

C:

B Fishes

B Dams

B

B: 1

B:

B: 1

The row player again has a dominant strategy, and again it is row 2: 2 > 0 in column 1, and 4 > 2 in column 2.

This time, the column player also has a dominant strategy: column 1. In row 1, 5 > 3. In row 2, 3 > 1.

This game is constant-sum (all 4 squares add up to 5). As is usual in constant-sum games, every square is a pareto optimum. There's no square where both players are better off or at least as well off with one being better off, since then it couldn't be constant-sum.

The intersection of the dominant strategies gives the only Nash equilibrium.

6 , 6 4 , 0

0 , 4 5 ,^5

This game is a variant of the "Stag Hunt" coordination game. Neither player has a dominant strategy: the best row for the row player depends on what the column player does, and the best column for the column player depends on what the row player does.

There is only one pareto optimum: the upper-left. In every other square, both players would benefit by moving to the upper-left, so no other square can be a pareto optimum.

There's two pure-strategy Nash equilibria (as well as mixed-strategy ones, but we won't do those here). In the upper-left, neither player has an incentive to switch if the other player sticks to their strategy, and the same for the lower-right.

5 , 0 3 , 2

3 , (^2 1) , 4

This game looks a lot like a coordination game, but it's not. The difference is that the payoffs in the lower-left and upper-right give both agents an incentive to move away from the lower- right.

As a result, each player has a dominant strategy: player 1's strategy is to play column 1. Player 2's strategy is to play row 1.

There is only one pareto optimum, the top-left.

There is only one Nash equilibrium, the top-left (the intersection of the dominant strategies).

6 , (^6 0) , 5

5 , 0 4 , 4

So the mixed-strategy Nash equilibrium is:

player 1 chooses column 1 with probability 5/8, and column 2 with probability 3/

player 2 chooses row 1 with probability 9/16, and row 2 with probability 7/

The value of the game for player 1 is:

6 r1 + -5 (1-r1) = 69/16 – 57/16 = 1.

The value of the game for player 2 is -1.1875.

Let c1 = the probability that the column player (player 1) plays column 1.

Let r1 = the probability that the row player plays row 1.

For an equilibrium, the column player needs to choose c1 so that the row player's two rows give equal payoff. So:

-1 c1 -3 (1-c1) (the payoff to player 2 for playing row 1)

=

-2 c1 + 6 (1-c1) (the payoff to player 2 for playing row 2)

 10c1 = 9  c1 = 9/

By the same line of reasoning, for an equilibrium, the row player needs to choose r1 so that the column player's two columns give equal payoff. So:

1 r1 + 2 (1-r1) (the payoff to player 1 for playing column 1)

1 , - 1 3 , - 3

2, - 2 - 6 , 6

3 r1 + -6 (1-r1) (the payoff to player 1 for playing column 2)

 10r1 = 8  r1 = 8/10 = 4/

So the mixed-strategy Nash equilibrium is:

player 1 chooses column 1 with probability 9/10, and column 2 with probability 1/

player 2 chooses row 1 with probability 4/5, and row 2 with probability 1/

The value of the game for player 1 is:

1 r1 + 2 (1-r1) = 1* 4/5 + 2*1/5 = 6/5 = 1.2.

The value of the game for player 2 is -1.2.