Basic Elements of Game Theory
Basic Elements of Game Theory
Basic Elements of Game Theory
1
29/04/2019
Definition of a game
2
29/04/2019
3
29/04/2019
4
29/04/2019
Game Trees
• An extensive form game can be represented in a
game tree
• This shows
– who moves when (at the nodes)
– available actions (the branches)
– available information
– the payoffs over all possible outcomes (at the
terminal nodes)
10
5
29/04/2019
Example 1
The preferences can be represented by a payoff
function over the outcomes
Player 1
L R
Player 2 Player 2
l r l r
11
Example 2
This dashed line means that
player 2 does not know the
action played by player 1
Player 1
L R
Player 2 Player 2
l r l r
12
6
29/04/2019
Information set
13
Player 1 Player 1
This could be true only
assuming that player 1
does not remember his
move in the first node
14
7
29/04/2019
Strategies
• A strategy is a complete description of a player’s
actions in all the information sets where he has to
move, e.g.
– for player 2 to choose r after L and l after R, i.e. (r, l) .
– Player 2 has 4 strategies: {(l,l),(l,r),(r,l),(r,r)}
Player 1
L R
Player 2 Player 2
l r l r
Definition of subgame:
A subgame starts at an information set with a single node n
- it contains all decision and terminal nodes following n
- an information set cannot belong to two different
subgames
Note: someone considers the whole game a subgame,
others do not consider the whole game a subgame.
In the following we use the first approach
16
8
29/04/2019
17
Left Right
Player 2
l r l r
9
29/04/2019
9 0 5
1 0 5
19
Example 2
Imperfect information
Player 1 has one information set
Player 2 has one information set
One subgame
Player 1
Left Right
Player 2
l r l r
10
29/04/2019
Example 3
Imperfect information
Player 1 has one information set
Player 2 has two information sets
Two subgames
Player 1
l r l r l r
Example 4
Imperfect information
Challenger: one information set
Incumbent: one information set
One subgame
Challenger
3 1 4 0
3 1 3 2
22
11
29/04/2019
Example 5
Imperfect information
Challenger: two information sets
Challenger
Incumbent: one information set
Two subgames In
Out
Challenger
Ready Unready
Incumbent
3 1 4 0 2
3 1 3 2 4
23
12
29/04/2019
25
Challenger
Example 6
Ready Unready
Incumbent
3 1 4 0
3 1 3 2
26
13
29/04/2019
Incumbent
(A, A) (A, F) (F, A) (F, F)
Ready 3, 3 3, 3 1, 1 1, 1
Challenger
Unready 4, 3 0, 2 4.3 0, 2
27
Example 7
Player 2
l, l l, r r, l r, r
Player 1 Left U1(L,l), U2(L,l) U1(L,l), U2(L,l) U1(L,r), U2(L,r) U1(L,r), U2(L,r)
Centre U1(C,l), U2(C,l) U1(C,l), U2(C,l) U1(C,r), U2(C,r) U1(C,r), U2(C,r)
Right U1(R,l), U2(R,l) U1(R,r), U2(R,r) U1(R,l), U2(R,l) U1(R,r), U2(R,r)
Player 1
l r l r l r
14
29/04/2019
Example 8
Incumbent
Acquiesce Fight
Challenger Ready 3, 3 1,1
Unready 4, 3 0, 2
Out 2, 4 2, 4
Challenger
3 1 4 0
3 1 3 2
29
Example 9
Incumbent
Acquiesce Fight
Challenger In Ready 3, 3 1,1
In Unready 4, 3 0, 2
Out Ready 2, 4 2, 4
Out Unready 2, 4 In 2, 4 Challenger
In
Challenger
Out
Ready Unready
Incumbent
3 1 4 0 2
3 1 3 2 4
30
15
29/04/2019
Simultaneous games
Definition of “Best Response”
The Best Response of a player is his preferred action given
the strategies played by the other players.
• Consider the n-player normal form game
𝐺 = 𝑆1, … . . 𝑆𝑛; 𝑢1 … 𝑢𝑛
• The best response of player i to the strategies
𝑠−𝑖 = (𝑠1, … , 𝑠𝑖−1 , 𝑠𝑖+1 , 𝑠𝑛)
solves the following problem:
max 𝑢(𝑠1, … , 𝑠𝑖, … , 𝑠𝑛)
𝑠𝑖 ∈𝑆𝑖
Example 1
Player 2
L C R
T 2,3 2,2 5,0
Player 1 Y 3,2 5,3 3,1
Z 4,3 1,1 2,2
B 1,2 0,1 4,4
16
29/04/2019
Example 2
Suppose a game with two players, 1 and 2.
payoff of player 1 is
(10 – 𝑎1– 𝑎2) 𝑎1
where 𝑎1 is the action of player 1 and 𝑎2 is the action of
player 2
What is player 1’s best response if player 2 plays 𝑎2 = 3 ?
Nash Equilibrium
17
29/04/2019
18
29/04/2019
19
29/04/2019
Example 4: “Stag-Hunt”
Player 2
Stag Hare
Player 1 Stag 2,2 0,1
Hare 1,0 1,1
20
29/04/2019
Definition:
Subgame perfect Nash equilibrium
A Nash equilibrium is subgame perfect (Nash
equilibrium) if the players’ strategies constitute a
Nash equilibrium in every subgame.
(Selten 1965)
21
29/04/2019
43
Player 1
Left Right
Player 2 Player 2
l r l r
22
29/04/2019
45
46
23
29/04/2019
(9,1) (5,5)
Player 2
a r
9 0 5
1 0 5
47
Player 1
(10,0)
(9,1) (5,5) (0,10)
… …
Player 2
a r a r a r a r
10 0 9 0 5 0 0 0
0 0 1 0 5 0 10 0
48
24
29/04/2019
Player 1
(10,0)
(9,1) (5,5) (0,10)
… …
Player 2
a r a r a r a r
10 0 9 0 5 0 0 0
0 0 1 0 5 0 10 0
49
Player 1
(10,0)
(9,1) (5,5) (0,10)
… …
Player 2
a r a r a r a r
10 0 9 0 5 0 0 0
0 0 1 0 5 0 10 0
50
25
29/04/2019
Challenger
Ready Unready
Incumbent
3 1 4 0
3 1 3 2
Three Nash equilibria
1. Ready, (A, F)
2. Unready, (A, A)
3. Unready, (F, A)
Only {Unready, (A, A)} is subgame perfect
Incumbent
(A, A) (A, F) (F, A) (F, F)
Ready 3, 3 3, 3 1, 1 1, 1
Challenger
Unready 4, 3 0, 2 4.3 0, 2 51
26
29/04/2019
Incumbent
Acquiesce Fight
Challenger In Ready 3, 3 1,1
In Unready 4, 3 0, 2
Out Ready 2, 4 2, 4
Out Unready 2, 4 2, 4
Challenger
In
Challenger
Out
Ready Unready
Incumbent
3 1 4 0 2
3 1 3 2 4
53
3 Nash equilibria:
• (In Unready) (Acquiesce)
• (Out Unready) (Fight)
• (Out ready) (Fight)
Subgame Perfect Nash equilibrium?
Start solving the last subgame
Challenger
Ready Unready
Incumbent
3 1 4 0
3 1 3 2
27
29/04/2019
Challenger
In
4 Out
3
2
4
28