Professional Documents
Culture Documents
Ferguson Part2
Ferguson Part2
Thomas S. Ferguson
II 3
for example, is a complete description of how to play the game, of what move to make in
every possible situation that could occur. It is rather time-consuming to write down even
one strategy, good or bad, for the game of chess. However, several dierent programs for
instructing a machine to play chess well have been written. Each program constitutes one
strategy. The program Deep Blue, that beat then world chess champion Gary Kasparov
in a match in 1997, represents one strategy. The set of all such strategies for Player I is
denoted by X. Naturally, in the game of chess it is physically impossible to describe all
possible strategies since there are too many; in fact, there are more strategies than there
are atoms in the known universe. On the other hand, the number of games of tic-tac-toe
is rather small, so that it is possible to study all strategies and find an optimal strategy
for each player. Later, when we study the extensive form of a game, we will see that many
other types of games may be modeled and described in strategic form.
To illustrate the notions involved in games, let us consider the simplest non-trivial
case when both X and Y consist of two elements. As an example, take the game called
Odd-or-Even.
1.2 Example: Odd or Even. Players I and II simultaneously call out one of the
numbers one or two. Player Is name is Odd; he wins if the sum of the numbers is odd.
Player IIs name is Even; she wins if the sum of the numbers is even. The amount paid to
the winner by the loser is always the sum of the numbers in dollars. To put this game in
strategic form we must specify X, Y and A. Here we may choose X = {1, 2}, Y = {1, 2},
and A as given in the following table.
II (even)
I (odd)
1
!
1 2
2 +3
2
"
+3
4
Let p denote the proportion of times that Player I calls one. Let us try to choose p
so that Player I wins the same amount on the average whether II calls one or two. Then
since Is average winnings when II calls one is 2p + 3(1 p), and his average winnings
when II calls two is 3p 4(1 p) Player I should choose p so that
2p + 3(1 p) = 3p 4(1 p)
3 5p = 7p 4
12p = 7
p = 7/12.
Hence, I should call one with probability 7/12, and two with probability 5/12. On the
average, I wins 2(7/12) + 3(5/12) = 1/12, or 8 13 cents every time he plays the game, no
matter what II does. Such a strategy that produces the same average winnings no matter
what the opponent does is called an equalizing strategy.
Therefore, the game is clearly in Is favor. Can he do better than 8 13 cents per game
on the average? The answer is: Not if II plays properly. In fact, II could use the same
procedure:
call one with probability 7/12
call two with probability 5/12.
If I calls one, IIs average loss is 2(7/12) + 3(5/12) = 1/12. If I calls two, IIs average
loss is 3(7/12) 4(5/12) = 1/12.
Hence, I has a procedure that guarantees him at least 1/12 on the average, and II has
a procedure that keeps her average loss to at most 1/12. 1/12 is called the value of the
game, and the procedure each uses to insure this return is called an optimal strategy or
a minimax strategy.
If instead of playing the game, the players agree to call in an arbitrator to settle this
conflict, it seems reasonable that the arbitrator should require II to pay 8 13 cents to I. For
I could argue that he should receive at least 8 13 cents since his optimal strategy guarantees
him that much on the average no matter what II does. On the other hand II could argue
that she should not have to pay more than 8 13 cents since she has a strategy that keeps
her average loss to at most that amount no matter what I does.
1.3 Pure Strategies and Mixed Strategies. It is useful to make a distinction
between a pure strategy and a mixed strategy. We refer to elements of X or Y as pure
strategies. The more complex entity that chooses among the pure strategies at random in
various proportions is called a mixed strategy. Thus, Is optimal strategy in the game of
Odd-or-Even is a mixed strategy; it mixes the pure strategies one and two with probabilities
7/12 and 5/12 respectively. Of course every pure strategy, x X, can be considered as
the mixed strategy that chooses the pure strategy x with probability 1.
In our analysis, we made a rather subtle assumption. We assumed that when a player
uses a mixed strategy, he is only interested in his average return. He does not care about his
II 6
maximum possible winnings or losses only the average. This is actually a rather drastic
assumption. We are evidently assuming that a player is indierent between receiving 5
million dollars outright, and receiving 10 million dollars with probability 1/2 and nothing
with probability 1/2. I think nearly everyone would prefer the $5,000,000 outright. This is
because the utility of having 10 megabucks is not twice the utility of having 5 megabucks.
The main justification for this assumption comes from utility theory and is treated
in Appendix 1. The basic premise of utility theory is that one should evaluate a payo by
its utility to the player rather than on its numerical monetary value. Generally a players
utility of money will not be linear in the amount. The main theorem of utility theory
states that under certain reasonable assumptions, a players preferences among outcomes
are consistent with the existence of a utility function and the player judges an outcome
only on the basis of the average utility of the outcome.
However, utilizing utility theory to justify the above assumption raises a new diculty.
Namely, the two players may have dierent utility functions. The same outcome may be
perceived in quite dierent ways. This means that the game is no longer zero-sum. We
need an assumption that says the utility functions of two players are the same (up to
change of location and scale). This is a rather strong assumption, but for moderate to
small monetary amounts, we believe it is a reasonable one.
A mixed strategy may be implemented with the aid of a suitable outside random
mechanism, such as tossing a coin, rolling dice, drawing a number out of a hat and so
on. The seconds indicator of a watch provides a simple personal method of randomization
provided it is not used too frequently. For example, Player I of Odd-or-Even wants an
outside random event with probability 7/12 to implement his optimal strategy. Since
7/12 = 35/60, he could take a quick glance at his watch; if the seconds indicator showed
a number between 0 and 35, he would call one, while if it were between 35 and 60, he
would call two.
1.4 The Minimax Theorem. A two-person zero-sum game (X, Y, A) is said to be
a finite game if both strategy sets X and Y are finite sets. The fundamental theorem
of game theory due to von Neumann states that the situation encountered in the game of
Odd-or-Even holds for all finite two-person zero-sum games. Specifically,
The Minimax Theorem. For every finite two-person zero-sum game,
(1) there is a number V , called the value of the game,
(2) there is a mixed strategy for Player I such that Is average gain is at least V no
matter what II does, and
(3) there is a mixed strategy for Player II such that IIs average loss is at most V no
matter what I does.
This is one form of the minimax theorem to be stated more precisely and discussed in
greater depth later. If V is zero we say the game is fair. If V is positive, we say the game
favors Player I, while if V is negative, we say the game favors Player II.
II 7
1.5 Exercises.
1. Consider the game of Odd-or-Even with the sole change that the loser pays the
winner the product, rather than the sum, of the numbers chosen (who wins still depends
on the sum). Find the table for the payo function A, and analyze the game to find the
value and optimal strategies of the players. Is the game fair?
2. Player I holds a black Ace and a red 8. Player II holds a red 2 and a black 7. The
players simultaneously choose a card to play. If the chosen cards are of the same color,
Player I wins. Player II wins if the cards are of dierent colors. The amount won is a
number of dollars equal to the number on the winners card (Ace counts as 1.) Set up the
payo function, find the value of the game and the optimal mixed strategies of the players.
3. Sherlock Holmes boards the train from London to Dover in an eort to reach the
continent and so escape from Professor Moriarty. Moriarty can take an express train and
catch Holmes at Dover. However, there is an intermediate station at Canterbury at which
Holmes may detrain to avoid such a disaster. But of course, Moriarty is aware of this too
and may himself stop instead at Canterbury. Von Neumann and Morgenstern (loc. cit.)
estimate the value to Moriarty of these four possibilities to be given in the following matrix
(in some unspecified units).
Moriarty
Holmes
Canterbury Dover
!
"
Canterbury
100
50
Dover
0
100
What are the optimal strategies for Holmes and Moriarty, and what is the value? (Historically, as related by Dr. Watson in The Final Problem in Arthur Conan Doyles The
Memoires of Sherlock Holmes, Holmes detrained at Canterbury and Moriarty went on to
Dover.)
4. The entertaining book The Compleat Strategyst by John Williams contains many
simple examples and informative discussion of strategic form games. Here is one of his
problems.
I know a good game, says Alex. We point fingers at each other; either
one finger or two fingers. If we match with one finger, you buy me one Daiquiri,
If we match with two fingers, you buy me two Daiquiris. If we dont match I let
you o with a payment of a dime. Itll help pass the time.
Olaf appears quite unmoved. That sounds like a very dull game at least
in its early stages. His eyes glaze on the ceiling for a moment and his lips flutter
briefly; he returns to the conversation with: Now if youd care to pay me 42
cents before each game, as a partial compensation for all those 55-cent drinks Ill
have to buy you, then Id be happy to pass the time with you.
Olaf could see that the game was inherently unfair to him so he insisted on a side
payment as compensation. Does this side payment make the game fair? What are the
optimal strategies and the value of the game?
II 8
a11 a1n
.
..
A = ..
where aij = A(xi , yj ),
.
am1
amn
In this form, Player I chooses a row, Player II chooses a column, and II pays I the entry
in the chosen row and column. Note that the entries of the matrix are the winnings of the
row chooser and losses of the column chooser.
A mixed strategy for Player I may be represented by an m-tuple, p = (p1 , p2 , . . . , pm )T
of probabilities that add to 1. If I uses the mixed'strategy p = (p1 , p2 , . . . , pm )T and II
m
chooses column j, then the (average) payo to I is i=1 pi aij . Similarly, a mixed strategy
T
for Player
'n II is an n-tuple q = (q1 , q2 , . . . , qn ) . If II uses q and I uses row i the payo
to I is j=1 aij qj . More generally, if I uses the mixed strategy p and II uses the mixed
'm 'n
strategy q, the (average) payo to I is pTAq = i=1 j=1 pi aij qj .
Note that the pure strategy for Player I of choosing row i may be represented as the
mixed strategy ei , the unit vector with a 1 in the ith position and 0s elsewhere. Similarly,
the pure strategy for II of choosing the jth column may be represented by ej . In the
following, we shall be attempting to solve games. This means finding the value, and at
least one optimal strategy for each player. Occasionally, we shall be interested in finding
all optimal strategies for a player.
2.1 Saddle points. Occasionally it is easy to solve the game. If some entry aij of
the matrix A has the property that
(1) aij is the minimum of the ith row, and
(2) aij is the maximum of the jth column,
then we say aij is a saddle point. If aij is a saddle point, then Player I can then win at
least aij by choosing row i, and Player II can keep her loss to at most aij by choosing
column j. Hence aij is the value of the game.
Example 1.
4
A= 3
0
1 3
2
5
1
6
The central entry, 2, is a saddle point, since it is a minimum of its row and maximum
of its column. Thus it is optimal for I to choose the second row, and for II to choose the
second column. The value of the game is 2, and (0, 1, 0) is an optimal mixed strategy for
both players.
II 9
For large m n matrices it is tedious to check each entry of the matrix to see if it
has the saddle point property. It is easier to compute the minimum of each row and the
maximum of each column to see if there is a match. Here is an example of the method.
3
0
A=
1
3
col max
2
1
0
1
1
2
2
2
2 2
row min
0
0
0 0
0
1
1
2
2
3
0
B=
1
3
col max
1
1
0
1
1
2
2
2
0
0
1
2
row min
0
0
0
1
In equations (1), (2) and (3) below, we develop formulas for the optimal strategies
and value of the general 2 2 game. If I chooses the first row with probability p (i.e. uses
the mixed strategy (p, 1 p)), we equate his average return when II uses columns 1 and 2.
ap + d(1 p) = bp + c(1 p).
Solving for p, we find
p=
cd
.
(a b) + (c d)
II 10
(1)
Since there is no saddle point, (a b) and (c d) are either both positive or both negative;
hence, 0 < p < 1. Player Is average return using this strategy is
v = ap + d(1 p) =
ac bd
.
ab+cd
If II chooses the first column with probability q (i.e. uses the strategy (q, 1 q)), we equate
his average losses when I uses rows 1 and 2.
aq + b(1 q) = dq + c(1 q)
Hence,
q=
cb
.
ab+cd
(2)
Again, since there is no saddle point, 0 < q < 1. Player IIs average loss using this strategy
is
ac bd
= v,
(3)
aq + b(1 q) =
ab+cd
the same value achievable by I. This shows that the game has a value, and that the players
have optimal strategies. (something the minimax theorem says holds for all finite games).
Example 2.
A=
A=
2
3
3
4
"
Example 3.
0
1
10
2
"
4 3
= 7/12
2 3 4 3
q = same
89
= 1/12
v=
2 3 4 3
p=
21
= 1/11
0 + 10 + 2 1
2 + 10
= 12/11.
q=
0 + 10 + 2 1
p=
But q must be between zero and one. What happened? The trouble is we forgot to test
this matrix for a saddle point, so of course it has one. (J. D. Williams The Compleat
Strategyst Revised Edition, 1966, McGraw-Hill, page 56.) The lower left corner is a saddle
point. So p = 0 and q = 1 are optimal strategies, and the value is v = 1.
2.3 Removing Dominated Strategies. Sometimes, large matrix games may be
reduced in size (hopefully to the 22 case) by deleting rows and columns that are obviously
bad for the player who uses them.
Definition. We say the ith row of a matrix A = (aij ) dominates the kth row if
aij akj for all j. We say the ith row of A strictly dominates the kth row if aij > akj
for all j. Similarly, the jth column of A dominates (strictly dominates) the kth column if
aij aik (resp. aij < aik ) for all i.
II 11
Anything Player I can achieve using a dominated row can be achieved at least as well
using the row that dominates it. Hence dominated rows may be deleted from the matrix.
A similar argument shows that dominated columns may be removed. To be more precise,
removal of a dominated row or column does not change the value of a game. However, there
may exist an optimal strategy that uses a dominated row or column (see Exercise 9). If so,
removal of that row or column will also remove the use of that optimal strategy (although
there will still be at least one optimal strategy left). However, in the case of removal of a
strictly dominated row or column, the set of optimal strategies does not change.
We may iterate this procedure and successively remove several rows and columns. As
an example, consider the matrix, A.
2 0 4
The last column is dominated by the middle
A = 1 2 3
column. Deleting the last column we obtain:
4 1 2
2 0
1 2
Now the top row is dominated by the bottom
row. (Note this is not the case in the original
4 1
matrix). Deleting the top row we obtain:
!
"
1 2
This 2 2 matrix does not have a saddle point, so p = 3/4,
4 1
q = 1/4 and v = 7/4. Is optimal strategy in the original game is
(0, 3/4, 1/4); IIs is (1/4, 3/4, 0).
A row (column) may also be removed if it is dominated by a probability combination
of other rows (columns).
If for some 0 < p < 1, pai1 j + (1 p)ai2 j akj for all j, then the kth row is dominated
by the mixed strategy that chooses row i1 with probability p and row i2 with probability
1 p. Player I can do at least as well using this mixed strategy instead of choosing row
k. (In addition, any mixed strategy choosing row k with probability pk may be replaced
by the one in which ks probability is split between i1 and i2 . That is, i1 s probability is
increased by ppk and i2 s probability is increased by (1 p)pk .) A similar argument may
be used for columns.
0 4 6
Consider the matrix A = 5 7 4 .
9 6 3
The middle column is dominated by the outside columns taken with probability 1/2
each. With the central column deleted, the middle row is dominated by the combination
of the top
! row with
" probability 1/3 and the bottom row with probability 2/3. The reduced
0 6
matrix,
, is easily solved. The value is V = 54/12 = 9/2.
9 3
Of course, mixtures of more than two rows (columns) may be used to dominate and
remove other rows (columns). For example,the mixture
of columns one two and three
1 3 5 3
with probabilities 1/3 each in matrix B = 4 0 2 2 dominates the last column,
3 7 3 5
II 12
col. 4
5
4
3
col. 2
col. 1
col. 3
5/7
The accuracy of the drawing may be checked: Given any guess at a solution to a
game, there is a sure-fire test to see if the guess is correct, as follows. If I uses the strategy
(5/7, 2/7), his average payo if II uses Columns 1, 2, 3 and 4, is 18/7, 17/7, 17/7, and 25/7
II 13
respectively. Thus his average payo is at least 17/7 no matter what II does. Similarly,
if II uses (0, 5/7, 2/7, 0), her average loss is (at most) 17/7. Thus, 17/7 is the value, and
these strategies are optimal.
We note that the line for Column 1 plays no role in the lower envelope (that is, the
lower envelope would be unchanged if the line for Column 1 were removed from the graph).
This is a test for domination. Column 1 is, in fact, dominated by Columns 2 and 3 taken
with probability 1/2 each. The line for Column 4 does appear in the lower envelope, and
hence Column 4 cannot be dominated.
As an example of a m 2 game, consider the matrix associated with Figure 2.2. If
q is the probability that II chooses Column 1, then IIs average loss for Is three possible
choices of rows is given in the accompanying graph. Here, Player II looks at the largest
of her average losses for a given q. This is the upper envelope of the function. II wants
to find q that minimizes this upper envelope. From the graph, we see that any value of q
between 1/4 and 1/3 inclusive achieves this minimum. The value of the game is 4, and I
has an optimal pure strategy: row 2.
Fig 2.2
q
1
4
6
1q
5
4
2
row 3
row 2
3
2
row 1
1
0
1/4
1/2
a b c d e
b e a c d
c a d e b
d c e b a
e d b a c
a = 1, b = 2,
1 2
2 6
3 1
3 3
6 3
c = d = 3, e = 6
3 3 6
1 3 3
3 6 2
6 2 1
2 1 3
In the example above, the value is V = (1+2+3+3+6)/5 = 3, and the mixed strategy
p = q = (1/5, 1/5, 1/5, 1/5, 1/5) is optimal for both players. The game of matching pennies
is a Latin square game. Its value is zero and (1/2, 1/2) is optimal for both players.
2.6 Exercises.
1. Solve the game with matrix
(mixed) strategy for both players.
"
1 3
, that is find the value and an optimal
2
2
"
0 2
2. Solve the game with matrix
for an arbitrary real number t. (Dont forget
t 1
to check for a saddle point!) Draw the graph of v(t), the value of the game, as a function
of t, for < t < .
3. Show that if a game with m n matrix has two saddle points, then they have equal
values.
4. Reduce by dominance to 2 2 games and solve.
5
4
1
0
10
3
2 1
4
(a)
(b)
2
0 1
4
3
6
1 2
1
2
!
3
2
4
5. (a) Solve the game with matrix
2
1 4
0
6
3
"
0
.
5
7
4
3
1
7 .
5
0
8
(b) Reduce by dominance to a 3 2 matrix game and solve: 8
4
12 4
5
6 .
3
6. Players I and II choose integers i and j respectively from the set {1, 2, . . . , n} for
some n 2. Player I wins 1 if |i j| = 1. Otherwise there is no payo. If n = 7, for
example, the game matrix is
0 1 0 0 0 0 0
1 0 1 0 0 0 0
0 1 0 1 0 0 0
0 0 1 0 1 0 0
0 0 0 1 0 1 0
0 0 0 0 1 0 1
0 0 0 0 0 1 0
II 15
(a) Using dominance to reduce the size of the matrix, solve the game for n = 7 (i.e.
find the value and one optimal strategy for each player).
(b) See if you can solve the game for arbitrary n.
7. In general, the sure-fire test may be stated thus: For a given game, conjectured
optimal strategies (p1 , . . . , pm ) and (q1 , . . . , qn ) are indeed optimal if the minimum of Is
average payos using (p1 , . . . , pm ) is equal to the maximum of IIs average payos using (q1 , . . . , qn ). Show that for the game with the following matrix the mixed strategies
p = (6/37, 20/37, 0, 11/37) and q = (14/37, 4/37, 0, 19/37, 0) are optimal for I and II respectively. What is the value?
5 8 3 1 6
4 2 6 3 5
2 4 6 4 1
1 3 2 5 3
8. Given that p = (52/143, 50/143, 41/143) is optimal for I in the game with the
following matrix, what is the value?
0
5
3
0
6 4
2
4
0
9. Player I secretly chooses one of the numbers, 1, 2 and 3, and Player II tries to guess
which. If II guesses correctly, she loses nothing; otherwise, she loses the absolute value of
the dierence of Is choice and her guess. Set up the matrix and reduce it by dominance
to a 2 by 2 game and solve. Note that II has an optimal pure strategy that was eliminated
by dominance. Moreover, this strategy dominates the optimal mixed strategy in the 2 by
2 game.
10. Magic Square Games. A magic square is an n n array of the first n integers
with the property that all row and column sums are equal. Show how to solve all games
with magic square game matrices. Solve the example,
16 3
5 10
9
6
4 15
2 13
11 8
.
7 12
14 1
1 13 29 8
2
18 22 21
3
18 22 31
4
11 22 12
5 18 16 19
6 23 22 19
E
16
29
27
21
19
30
23
31
37
26
28
34
(a) Assuming this is a matrix of a six by six game, reduce by dominance and solve.
(b) The historical defense by the Germans was B, and the historical attack by the Allies
was 1. Criticize these choices.
II 17
for all j = 1, . . . , n.
pi aij V
(1)
for all i = 1, . . . , m.
aij qj V
When both players use their optimal strategies the average payo,
V . This may be seen from the inequalities
V =
n
*
j=1
(2)
' '
i
n *
m
m *
n
*
*
V qj
(
pi aij )qj =
pi aij qj
j=1 i=1
m
n
*
*
pi (
i=1
j=1
aij qj )
i=1 j=1
m
*
pi aij qj , is exactly
(3)
pi V = V.
i=1
Since this begins and ends with V we must have equality throughout.
3.1 The Equilibrium Theorem. The following simple theorem the Equilibrium
Theorem gives conditions for equality to be achieved in (1) for certain values of j, and
in (2) for certain values of i.
Theorem 3.1. Consider a game with m n matrix A and value V . Let p = (p1 , . . . , pm )T
be any optimal strategy for I and q = (q1 , . . . , qn )T be any optimal strategy for II. Then
n
*
aij qj = V
(4)
pi aij = V
(5)
j=1
and
m
*
i=1
'n
Proof. Suppose there is a k such that pk > 0 and j=1 akj qj = V . Then from (2),
'n
j=1 akj qj < V . But then from (3) with equality throughout
V =
m
*
i=1
n
m
*
*
pi (
aij qj ) <
pi V = V.
j=1
i=1
II 18
The inequality is strict since it is strict for the kth term of the sum. This contradiction
proves the first conclusion. The second conclusion follows analogously.
Another way of stating the first conclusion of this theorem is: If there exists an optimal
strategy for I giving positive probability to row i, then every optimal strategy of II gives
I the value of the game if he uses row i.
This theorem is useful in certain classes of games for helping direct us toward the
solution. The procedure this theorem suggests for Player 1 is to try to find a solution to
the set of equations (5) formed by those j for which you think it likely that qj > 0. One
way of saying this is that Player 1 searches for a strategy that makes Player 2 indierent
as to which of the (good) pure strategies to use. Similarly, Player 2 should play in such a
way to make Player 1 indierent among his (good) strategies. This is called the Principle
of Indierence.
Example. As an example of this consider the game of Odd-or-Even in which both
players simultaneously call out one of the numbers zero, one, or two. The matrix is
Odd
Even
0
1 2
1 2
3
2
3 4
Again it is dicult to guess who has the advantage. If we play the game a few times we
might become convinced that Evens optimal strategy gives positive weight (probability)
to each of the columns. If this assumption is true, Odd should play to make Player 2
indierent; that is, Odds optimal strategy p must satisfy
p2 2p3 = V
p1 2p2 + 3p3 = V
(6)
(8)
(9)
Taken together (8) and (9) imply that V = 0. Adding (7) to (9), we find 2p2 = 1, so that
p2 = 1/2. The first equation of (6) implies p3 = 1/4 and (7) implies p1 = 1/4. Therefore
p = (1/4, 1/2, 1/4)T
II 19
(10)
is a strategy for I that keeps his average gain to zero no matter what II does. Hence the
value of the game is at least zero, and V = 0 if our assumption that IIs optimal strategy
gives positive weight to all columns is correct. To complete the solution, we note that if the
optimal p for I gives positive weight to all rows, then IIs optimal strategy q must satisfy
the same set of equations (6) and (7) with p replaced by q (because the game matrix here
is symmetric). Therefore,
q = (1/4, 1/2, 1/4)T
(11)
is a strategy for II that keeps his average loss to zero no matter what I does. Thus the
value of the game is zero and (10) and (11) are optimal for I and II respectively. The game
is fair.
3.2 Nonsingular Game Matrices. Let us extend the method used to solve this
example to arbitrary nonsingular square matrices. Let the game matrix A be m m,
and suppose that A is nonsingular. Assume that I has an optimal strategy giving positive
weight to each of the rows. (This is called the all-strategies-active case.) Then by the
principle of indierence, every optimal strategy q for II satisfies (4), or
m
*
aij qj = V
for i = 1, . . . , m.
(12)
j=1
(14)
(16)
However, if some component, qj , turns out to be negative, then our assumption that I has
an optimal strategy giving positive weight to each row is false.
However, if qj 0 for all j, we may seek an optimal strategy for I by the same method.
The result would be
(17)
pT = 1TA1 /1TA1 1.
II 20
Now, if in addition pi 0 for all i, then both p and q are optimal since both guarantee an
average payo of V no matter what the other player does. Note that we do not require the
pi to be strictly positive as was required by our original all-strategies-active assumption.
We summarize this discussion as a theorem.
Theorem 3.2. Assume the square matrix A is nonsingular and 1TA1 1 = 0. Then the
game with matrix A has value V = 1/1TA1 1 and optimal strategies pT = V 1TA1 and
q = V A1 1, provided both p 0 and q 0.
If the value of a game is zero, this method cannot work directly since (13) implies
that A is singular. However, the addition of a positive constant to all entries of the matrix
to make the value positive, may change the game matrix into being nonsingular. The
previous example of Odd-or-Even is a case in point. The matrix is singular so it would
seem that the above method would not work. Yet if 1, say, were added to each entry of
the matrix to obtain the matrix A below, then A is nonsingular and we may apply the
above method. Let us carry through the computations. By some method or another A1
is obtained.
1
2 1
13 2 7
1
A1 =
4
2
4
6
A = 2 1
16
1
4 3
7
6
5
d1 0 . . . 0
0 d2 . . . 0
(18)
A=
.. . .
..
..
.
.
.
.
0 0 . . . dm
II 21
Suppose all diagonal terms are positive, di > 0 for all i. (The other cases are treated in
Exercise 2.) One may apply Theorem 3.2 to find the solution, but it is as easy to proceed
directly. The set of equations (12) becomes
pi di = V
for i = 1, . . . , m
(19)
pi = V /di
for i = 1, . . . , m.
(20)
m
*
1/di
or
i=1
(21)
i=1
m
*
V =(
1/di )1 .
for i = 1, . . . , m.
(22)
Since V is positive from (21), we have pi > 0 and qi > 0 for all i, so that (20) and (22)
give optimal strategies for I and II respectively, and (21) gives the value of the game.
As an example, consider the game with
1
0
C=
0
0
matrix C.
0 0 0
2 0 0
0 3 0
0 0 4
From (20) and (22) the optimal strategy is proportional to the reciprocals of the diagonal
elements. The sum of these reciprocals is 1 + 1/2 + 1/3 + 1/4 = 25/12. Therefore, the
value is V = 12/25, and the optimal strategies are p = q = (12/25, 6/25, 4/25, 3/25)T.
3.4 Triangular Games. Another class of games for which the equations (12) are
easy to solve are the games with triangular matrices - matrices with zeros above or below
the main diagonal. Unlike for diagonal games, the method does not always work to solve
triangular games because the resulting p or q may have negative components. Nevertheless,
it works often enough to merit special mention. Consider the game with triangular matrix
T.
1 2
3 4
1 2
3
0
T =
0
0
1 2
0
0
0
1
The equations (12) become
p1
2p1 + p2
3p1 2p2 + p3
4p1 + 3p2 2p3 + p4
II 22
=
=
=
=
V
V
V
V.
These equations may be solved one at a time from the top down to give
p1 = V
Since
are
'
p2 = 3V
p3 = 4V
p4 = 4V.
pi = 1, we find V = 1/12 and p = (1/12, 1/4, 1/3, 1/3). The equations for the qs
q1 2q2 + 3q3 4q4 =
q2 2q3 + 3q4 =
q3 2q4 =
q4 =
The solution is
q1 = 4V
q2 = 4V
q3 = 3V
V
V
V
V.
q4 = V.
Since the ps and qs are non-negative, V = 1/12 is the value, p = (1/12, 1/4, 1/3, 1/3) is
optimal for I, and q = (1/3, 1/3, 1/4, 1/12) is optimal for II.
3.5 Symmetric Games. A game is symmetric if the rules do not distinguish between
the players. For symmetric games, both players have the same options (the game matrix
is square), and the payo if I uses i and II uses j is the negative of the payo if I uses j
and II uses i. This means that the game matrix should be skew-symmetric: A = AT,
or aij = aji for all i and j.
Definition 3.1. A finite game is said to be symmetric if its game matrix is square and
skew-symmetric.
Speaking more generally, we may say that a game is symmetric if after some rearrangement of the rows or columns the game matrix is skew-symmetric.
The game of paper-scissors-rock is an example. In this game, Players I and II simultaneously display one of the three objects: paper, scissors, or rock. If they both choose the
same object to display, there is no payo. If they choose dierent objects, then scissors win
over paper (scissors cut paper), rock wins over scissors (rock breaks scissors), and paper
wins over rock (paper covers rock). If the payo upon winning or losing is one unit, then
the matrix of the game is as follows.
II
paper scissors rock
paper
0
1
1
scissors
1
0
1
rock
1
1
0
players, say Player I, wins if the choices match. The other player, Player II, wins if the
choices dier. Although there is a great deal of symmetry in this game, we do not call it
a symmetric game. Its matrix is
II
heads tails
"
!
heads
1
1
tails
1
1
3 2
1
4 2 2
5 2 2
..
..
.
.
3
4
5
2
2
2
1
2
2
0 1
2
1
0 1
2
1
0
..
.
(24)
The game is symmetric so the value is zero and the players have identical optimal strategies.
We see that row 1 dominates rows 4, 5, 6, . . . so we may restrict attention to the upper left
II 24
3 3 submatrix. We suspect that there is an optimal strategy for I with p1 > 0, p2 > 0
and p3 > 0. If so, it would follow from the principle of indierence (since q1 = p1 > 0,
q2 = p2 > 0 q3 = p3 > 0 is optimal for II) that
p2 2p3 = 0
p1
+ p3 = 0
2p1 p2
= 0.
(25)
We find p2 = 2p3 and p1 = p3 from the first two equations, and the third equation is
redundant. Since p1 + p2 + p3 = 1, we have 4p3 = 1; so p1 = 1/4, p2 = 1/2, and p3 = 1/4.
Since p1 , p2 and p3 are positive, this gives the solution: p = q = (1/4, 1/2, 1/4, 0, 0, . . .)T is
optimal for both players.
3.6 Invariance. Consider the game of matching pennies: Two players simultaneously
choose heads or tails. Player I wins if the choices match and Player II wins otherwise.
There doesnt seem to be much of a reason for either player to choose heads instead of
tails. In fact, the problem is the same if the names of heads and tails are interchanged. In
other words, the problem is invariant under interchanging the names of the pure strategies.
In this section, we make the notion of invariance precise. We then define the notion of
an invariant strategy and show that in the search for a minimax strategy, a player may
restrict attention to invariant strategies. Use of this result greatly simplifies the search for
minimax strategies in many games. In the game of matching pennies for example, there is
only one invariant strategy for either player, namely, choose heads or tails with probability
1/2 each. Therefore this strategy is minimax without any further computation.
We look at the problem from Player IIs viewpoint. Let Y denote the pure strategy
space of Player II, assumed finite. A transformation, g of Y into Y is said to be onto Y
if the range of g is the whole of Y , that is, if for every y1 Y there is y2 Y such that
g(y2 ) = y1 . A transformation, g, of Y into itself is said to be one-to-one if g(y1 ) = g(y2 )
implies y1 = y2 .
Definition 3.2. Let G = (X, Y, A) be a finite game, and let g be a one-to-one transformation of Y onto itself. The game G is said to be invariant under g if for every x X
there is a unique x X such that
A(x, y) = A(x , g(y))
for all y Y .
(26)
The requirement that x be unique is not restrictive, for if there were another point
x X such that
A(x, y) = A(x , g(y))
for all y Y ,
(27)
then, we would have A(x , g(y)) = A(x , g(y)) for all y Y , and since g is onto,
A(x , y) = A(x , y)
for all y Y .
(28)
Thus the strategies x and x have identical payos and we could remove one of them from
X without changing the problem at all.
II 25
To keep things simple, we assume without loss of generality that all duplicate pure
strategies have been eliminated. That is, we assume
A(x , y) = A(x , y)
A(x, y ) = A(x, y )
(29)
(26 )
(30)
for all y Y , which implies x1 = x2 from assumption (29). Therefore the inverse, g 1 , of
g, defined by g 1 (g(x)) = g(g 1 (x)) = x, exists. Moreover, any one-to-one transformation
of a finite set is automatically onto, so g is a one-to-one transformation of X onto itself.
Lemma 1. If a finite game, G = (X, Y, A), is invariant under a one-to-one transformation,
g, then G is also invariant under g 1 .
Proof. We are given A(x, y) = A(g(x), g(y)) for all x X and all y Y . Since true for
all x and y, it is true if y is replaced by g 1 (y) and x is replaced by g 1 (x). This gives
A(g 1 (x), g 1 (y)) = A(x, y) for all x X and all y Y . This shows that G is invariant
under g 1 .
Lemma 2. If a finite game, G = (X, Y, A), is invariant under two one-to-one transformations, g1 and g2 , then G is also invariant under under the composition transformation,
g2 g1 , defined by g2 g1 (y) = g2 (g1 (y)).
Proof. We are given A(x, y) = A(g 1 (x), g1 (y)) for all x X and all y Y , and A(x, y) =
A(g 2 (x), g2 (y)) for all x X and all y Y . Therefore,
A(x, y) = A(g 2 (g1 (x)), g2 (g1 (y))) = A(g 2 (g 1 (x)), g2 g1 (y))
and
g 1 = g 1 .
(32)
Thus the class of transformations, g on Y , under which the problem is invariant forms a
group, G, with composition as the multiplication operator. The identity element, e of the
group is the identity transformation, e(y) = y for all y Y . The set, G of corresponding
transformations g on X is also a group, with identity e(x) = x for all x X. Equations
(32) say that G is isomorphic to G; as groups, they are indistinguishable.
This shows that we could have analyzed the problem from Player Is viewpoint and
arrived at the same groups G and G.
II 26
(33)
Similarly a mixed strategy p = (p(1), . . . , p(m)), for Player I is said to be invariant under
G (or G) if
p(g(x)) = p(x)
for all x X and all g G.
(34)
Two points y1 and y2 in Y are said to be equivalent if there exists a g in G such that
g(y2 ) = y1 . It is an easy exercise to show that this is an equivalence relation. The set of
points, Ey = {y : g(y ) = y for some g G}, is called an equivalence class, or an orbit.
Thus, y1 and y2 are equivalent if they lie in the same orbit. Definition 3.4 says that a mixed
strategy q for Player II is invariant if it is constant on orbits, that is, if it assigns the same
probability to all pure strategies in the orbit. The power of this notion is contained in the
following theorem.
Theorem 3.4. If a finite game G = (X, Y, A) is invariant under a group G, then there
exist invariant optimal strategies for the players.
Proof. It is sucient to show that Player II has an invariant optimal strategy. Since the
game is finite, there exists a value, V , and an optimal mixed strategy for player II, q .
This is to say that
*
A(x, y)q (y) V
for all x X.
(35)
yY
(This takes each orbit and replaces each probability by the average of the probabilities in
is invariant since for any g G,
the orbit.) Then q
1 *
q (g(g (y)))
q(g (y)) =
N
gG
(37)
1 *
q (g(y)) = q(y)
=
N
gG
II 27
since applying g to Y = {1, 2, . . . , n} is just a reordering of the points of Y . Moreover, q
satisfies (35) since
*
A(x, y)
q (y) =
yY
A(x, y)
yY
1 *
q (g(y))
N
gG
1 **
A(x, y)q (g(y))
=
N
gG yY
1 **
A(g(x), g(y))q (g(y))
N
(38)
gG yY
1 **
A(g(x), y)q (y)
N
gG yY
1 *
V = V.
N
gG
number two. Lieutenant Kije has 4 pure strategies, Y = {(3, 0), (2, 1), (1, 2), (0, 3)}. The
payo matrix is
(3, 0) (2, 1) (1, 2) (0, 3)
(4, 0)
4
2
1
0
(3, 1)
3
0
1
1
(2, 2) 2
2
2
2
(39)
(1, 3) 1
0
3
1
(0, 4)
0
1
2
4
(4, 0)
2
(3, 1)
0
(2, 2)
2
(2, 1)
1.5
1.5
2
(40)
As an example of the computations used to arrive at these payos, consider the upper
left entry. If Blotto uses (4,0) and (0,4) with probability 1/2 each, and if Kije uses (3,0)
II 29
and (0,3) with probability 1/2 each, then the four corners of the matrix (39) occur with
probability 1/4 each, so the expected payo is the average of the four numbers, 4, 0, 0, 4,
namely 2.
To complete the analysis, we solve the game with matrix (40). We first note that
the middle row is dominated by the top row (even though there was no domination in the
original matrix). Removal of the middle row reduces the game to a 2 by 2 matrix game
whose solution is easily found. The mixed strategy (8/9,0,1/9) is optimal for Blotto, the
mixed strategy (1/9,8/9) is optimal for Kije, and the value is V = 14/9.
Returning now to the original matrix (39), we find that (4/9,0,1/9,0,4/9) is optimal
for Blotto, (1/18,4/9,4/9,1/18) is optimal for Kije, and V = 14/9 is the value.
3.7 Exercises.
2
1. Consider the game with matrix 1
3
2
1
0
1
1 .
1
the matrix and solve. Hint: If An =+(aij ) denotes the game matrix, then show the inverse
1
if i = j
ij
ij
=
(a
),
where
a
=
matrix is A1
b
if
i = j + 1 , and use Theorem 3.2.
n
0
otherwise
7. The Pascal Matrix Game. The Pascal matrix of order n is the n n matrix
Bn of elements bij , where
bij =
i1
j1
"
The ith row of Bn consists of the binomial coecients in the expansion of (x + y)i . Call
and Velleman (1993) show that the inverse of Bn is the the matrix An with entries aij ,
where aij = (1)i+j bij . Using this, find the value and optimal strategies for the matrix
game with matrix An .
8. Solve the games with the following matrices.
(a)
1
0
0
1 1
2
1
0
3
(c)
(b)
2
0
0
1
0
3
0
1
0
0
4
0
2 1
1 3/2
1 1
1 1
2
0
3
1
1
1
1
1
4/3 1
1 5/4
3 matrix.
(b) Solve.
11. Solve the following games.
0
1 2
0
3
(a) 1
2 3
0
(c)
1
4
5
2
0
(b) 2
1
4 1
5
1
5
1
5
1
4
1
4 1
2
2
2
1 2
0
1
2
0
12. Run the original Blotto matrix (39) through the Matrix Game Solver, on the
web at: http://www.math.ucla.edu/ tom/gamesolve.html, and note that it gives dierent
optimal strategies than those found in the text. What does this mean? Show that (3, 1) is
strictly dominated in (40). This means that no optimal strategy can give weight to (3, 1) .
Is this true for the solution found?
13. (a) Suppose Blotto has 2 units and Kije just 1 unit, with 2 posts to capture.
Solve.
(b) Suppose Blotto has 3 units and Kije 2 units, with 2 posts to capture. Solve.
14. (a) Suppose there are 3 posts to capture. Blotto has 4 units and Kije has 3. Solve.
(Reduction by invariance leads to a 4 by 3 matrix, reducible further by domination to 2
by 2.)
(b) Suppose there are 4 posts to capture. Blotto has 4 units and Kije has 3. Solve.
(A 5 by 3 reduced matrix, reducible by domination to 4 by 3. But you may as well use
the Matrix Game Solver to solve it.)
15. Battleship. The game of Battleship, sometimes called Salvo, is played on two
square boards, usually 10 by 10. Each player hides a fleet of ships on his own board and
tries to sink the opponents ships before the opponent sinks his. (For one set of rules, see
http://www.kielack.de/games/destroya.htm, and while you are there, have a game.)
For simplicity, consider a 3 by 3 board and suppose that Player I hides a destroyer
(length 2 squares) horizontally or vertically on this board. Then Player II shoots by calling
out squares of the board, one at a time. After each shot, Player I says whether the shot
was a hit or a miss. Player II continues until both squares of the destroyer have been hit.
The payo to Player I is the number of shots that Player II has made. Let us label the
squares from 1 to 9 as follows.
1
4
7
2
5
8
II 32
3
6
9
The problem is invariant under rotations and reflections of the board. In fact, of
the 12 possible positions for the destroyer, there are only two distinct invariant choices
available to Player I: the strategy, [1, 2] , that chooses one of [1,2], [2,3], [3,6], [6,9], [8,9],
[7,8], [4,7], and [1,4], at random with probability 1/8 each, and the strategy, [2, 5] , that
chooses one of [2,5], [5,6], [5,8], and [4,5], at random with probability 1/4 each. This means
that invariance reduces the game to a 2 by n game where n is the number of invariant
strategies of Player II. Domination may reduce it somewhat further. Solve the game.
16. Dreshers Guessing Game. Player I secretly writes down one of the numbers
1, 2, . . . , n. Player II must repeatedly guess what Is number is until she guesses correctly,
losing 1 for each guess. After each guess, Player I must say whether the guess is correct,
too high, or too low. Solve this game for n = 3. (This game was investigated by Dresher
(1961) and solved for n 11 by Johnson (1964). A related problem is treated in Gal
(1974).)
17. Thievery. Player I wants to steal one of m 2 items from Player II. Player II
can only guard one item at a time. Item i is worth ui > 0, for i = 1, . . . , m. This leads to
a matrix game with m m matrix,
Solve!
A=
0
u2
u3
..
.
u1
0
u3
..
.
u1
u2
0
..
.
...
...
...
..
.
um
um
um
...
u1
u2
u3
..
.
0
Hint: It might be expected that for some k m Player I will give all his probability
to stealing one of the k most expensive items. Order the items from most expensive to
least expensive, u1 u2 . . . um > 0, and use the principle of indierence on the upper
left k k submatrix of A for some k.
18. Player II chooses a number j {1, 2, . . . , n}, n 2, and Player I tries to guess
what it is by guessing some i {1, 2, . . . , n}. If he guesses correctly, i.e. i = j, he wins 2.
If he misses by exactly 1, i.e. |i j| = 1, then he loses 1. Otherwise there is no payo.
Solve. Hint: Let An denote the n by n payo matrix, and show that A1
n = Bn = (bij ),
where bij = i(n + 1 j)/(n + 1) for i j, and bij = bji for i > j.
19. The Number Hides Game. The Number Hides Game, introduced by Ruckle
(1983) and solved by Baston, Bostock and Ferguson (1989), may be described as follows.
From the set S = {1, 2, . . . , k}, Player I chooses an interval of m1 consecutive integers
and Player II chooses an interval of m2 consecutive integers. The payo to Player I is
the number of integers in the intersection of the two intervals. When k = n + 1 and
m1 = m2 = 2, this game is equivalent to the game with n n matrix An = (aij ), where
aij =
2 if i = j
1 if |i j| = 1
0 otherwise.
II 33
[In this form, the game is also a special case of the Helicopter versus Submarine
Game, solved in the book of Garnaev (2000), in which the payo for |i j| = 1 is allowed
to be an arbitrary number a, 0 a 1.] Since A1
n is just Bn of the previous exercise
with bij replaced by (1)i+j bij , the solution can be derived as in that exercise. Instead,
just show the following.
(a) For n odd, the value is Vn = 4/(n + 1). There is an optimal equalizing strategy
(the same for both players) that is proportional to (1, 0, 1, 0, . . . , 0, 1).
(b) For n even, the value is 4(n+1)/(n(n+2)). There is an optimal equalizing strategy
(the same for both players) that is proportional to (k, 1, k 1, 2, k 2, 3, . . . , 2, k 1, 1, k),
where k = n/2.
II 34
The m-dimensional unit vector ek X with a one for the kth component and zeros
elsewhere may be identified with the pure strategy of choosing row k. Thus, we may
consider the set of Player Is pure strategies, X, to be a subset of X . Similarly, Y may
be considered to be a subset of Y . We could if we like consider the game (X, Y, A) in
which the players are allowed to use mixed strategies as a new game (X , Y , A), where
A(p, q) = pTAq, though we would no longer call this game a finite game.
In this section, we give an algorithm for solving finite games; that is, we show how to
find the value and at least one optimal strategy for each player. Occasionally, we shall be
interested in finding all optimal strategies for a player.
4.1 Best Responses. Suppose that Player II chooses a column at random using
q Y . If Player I chooses row i, the average payo to I is
n
*
aij qj = (Aq)i ,
(1)
j=1
the ith component of the vector Aq. Similarly, if Player I uses p X and Player II
chooses column j, Then Is average payo is
n
*
pi aij = (pTA)j ,
(2)
i=1
the jth component of the vector pTA. More generally, if Player I uses p X and Player
II uses q Y , the average payo to I becomes
m
n
m *
n
* *
*
aij qj pi =
pi aij qj = pTAq.
(3)
i=1
j=1
i=1 j=1
1im
n
*
j=1
II 35
(4)
To see that these quantities are equal, note that the left side is the maximum of pTAq over
p X , and so, since X X , must be less than or equal to the right side. The reverse
inequality follows since (3) is an average of the quantities in (1) and so must be less than
or equal to the largest of the values in (1).
Any p X that achieves the maximum of (3) is called a best response or a Bayes
strategy against q. In particular, any row i that achieves the maximum of (1) is a (pure)
Bayes strategy against q. There always exist pure Bayes strategies against q for every
q Y in finite games.
1jn
m
*
i=1
(5)
Any q Y that achieves the minimum in (5) is called a best response or a Bayes strategy
for Player II against p.
The notion of a best response presents a practical way of playing a game: Make a
guess at the probabilities that you think your opponent will play his/her various pure
strategies, and choose a best response against this. This method is available in quite
complex situations. In addition, it allows a player to take advantage of an opponents
perceived weaknesses. Of course this may be a dangerous procedure. Your opponent may
be better at this type of guessing than you. (See Exercise 1.)
4.2 Upper and Lower Values of a Game. Suppose now that II is required to
announce her choice of a mixed strategy q Y before I makes his choice. This changes
the game to make it apparently more favorable to I. If II announces q, then certainly I
would use a Bayes strategy against q and II would lose the quantity (4) on the average.
Therefore, II would choose to announce that q that minimizes (4). The minimum of (4)
over all q Y is denoted by V and called the upper value of the game (X, Y, A).
V = min max
qY
1im
n
*
j=1
pX
(6)
Any q Y that achieves the minimum in (6) is called a minimax strategy for II. It
minimizes her maximum loss. There always exists a minimax strategy in finite games: the
quantity (4), being the maximum of m linear functions of q, is a continuous function of q
and since Y is a closed bounded set, this function assumes its minimum over Y at some
point of Y .
In words, V as the smallest average loss that Player II can assure for herself no matter
what I does.
A similar analysis may be carried out assuming that I must announce his choice of a
mixed strategy p X before II makes her choice. If I announces p, then II would choose
II 36
that column with the smallest average payo, or equivalently that q Y that minimizes
the average payo (5). Given that (5) is the average payo to I if he announces p, he
would therefore choose p to maximize (5) and obtain on the average
V = max min
pX 1jn
m
*
i=1
(7)
The quantity V is called the lower value of the game. It is the maximum amount that I can
guarantee himself no matter what II does. Any p X that achieves the maximum in (7)
is called a minimax strategy for I. Perhaps maximin strategy would be more appropriate
terminology in view of (7), but from symmetry (either player may consider himself Player
II for purposes of analysis) the same word to describe the same idea may be preferable
and it is certainly the customary terminology. As in the analysis for Player II, we see that
Player I always has a minimax strategy. The existence of minimax strategies in matrix
games is worth stating as a lemma.
Lemma 1. In a finite game, both players have minimax strategies.
It is easy to argue that the lower value is less than or equal to the upper value. For if
V < V and if I can assure himself of winning at least V , Player II cannot assure herself of
not losing more than V , an obvious contradiction. It is worth stating this fact as a lemma
too.
Lemma 2. The lower value is less than or equal to the upper value,
V V.
This lemma also follows from the general mathematical principle that for any realvalued function, f(x, y), and any sets, X and Y ,
max min f(x, y) min max f(x, y).
xX yY
yY
xX
To see this general principle, note that miny f(x, y ) f(x, y) maxx f(x , y) for every
fixed x and y. Then, taking maxx on the left does not change the inequality, nor does
taking miny on the right, which gives the result.
If V < V , the average payo should fall between V and V . Player II can keep it from
getting larger than V and Player I can keep it from getting smaller than V . When V = V ,
a very nice stable situation exists.
Definition. If V = V , we say the value of the game exists and is equal to the common
value of V and V , denoted simply by V . If the value of the game exists, we refer to
minimax strategies as optimal strategies.
The Minimax Theorem, stated in Chapter 1, may be expressed simply by saying that
for finite games, V = V .
II 37
The Minimax Theorem. Every finite game has a value, and both players have minimax
strategies.
We note one remarkable corollary of this theorem. If the rules of the game are changed
so that Player II is required to announce her choice of a mixed strategy before Player I
makes his choice, then the apparent advantage given to Player I by this is illusory. Player
II can simply announce her minimax strategy.
4.3 Invariance under Change of Location and Scale. Another simple observation is useful in this regard. This concerns the invariance of the minimax strategies under
the operations of adding a constant to each entry of the game matrix, and of multiplying
each entry of the game matrix by a positive constant. The game having matrix A = (aij )
and the game having matrix A = (aij ) with aij = aij + b, where b is an arbitrary real
number, are very closely related. In fact, the game with matrix A is equivalent to the
game in which II pays I the amount b, and then I and II play the game with matrix A.
Clearly any strategies used in the game with matrix A give Player I b plus the payo
using the same strategies in the game with matrix A. Thus, any minimax strategy for
either player in one game is also minimax in the other, and the upper (lower) value of the
game with matrix A is b plus the upper (lower) value of the game with matrix A.
Similarly, the game having matrix A = (aij ) with aij = caij , where c is a positive
constant, may be considered as the game with matrix A with a change of scale (a change
of monetary unit if you prefer). Again, minimax strategies do not change, and the upper
(lower) value of A is c times the upper (lower) value of A. We combine these observations
as follows. (See Exercise 2.)
Lemma 3. If A = (aij ) and A = (aij ) are matrices with aij = caij + b, where c > 0,
then the game with matrix A has the same minimax strategies for I and II as the game
with matrix A . Also, if V denotes the value of the game with matrix A, then the value
V of the game with matrix A satisfies V = cV + b.
4.4 Reduction to a Linear Programming Problem. There are several nice proofs
of the Minimax Theorem. The simplest proof from scratch seems to be that of G. Owen
(1982). However, that proof is by contradiction using induction on the size of the matrix.
It gives no insight into properties of the solution or on how to find the value and optimal
strategies. Other proofs, based on the Separating Hyperplane Theorem or the Brouwer
Fixed Point Theorem, give some insight but are based on nontrivial theorems not known
to all students.
Here we use a proof based on linear programming. Although based on material not
known to all students, it has the advantage of leading to a simple algorithm for solving
finite games. For a background in linear programming, the book by Chv
atal (1983) can be
recommended. A short course on Linear Programming more in tune with the material as
it is presented here may be found on the web at http://www.math.ucla.edu/tom/LP.pdf.
A Linear Program is defined as the problem of choosing real variables to maximize or
minimize a linear function of the variables, called the objective function, subject to linear
II 38
maximize
subject to the constraints
a11 y1 + + a1n yn c1
..
.
(8)
(9)
am1 y1 + + amn yn cm
and
yj 0
for j = 1, . . . , n.
Let us consider the game problem from Player Is point of view. He wants to choose
p1 , . . . , pm to maximize (5) subject to the constraint p X . This becomes the mathematical program: choose p1 , . . . , pm to
maximize
min
1jn
m
*
pi aij
(10)
i=1
(11)
and
pi 0
for i = 1, . . . , m.
Although the constraints are linear, the objective function is not a linear function of
the ps because of the min operator, so this is not a linear program. However, it can be
changed into a linear program through a trick. Add one new variable v to '
Player Is list of
m
variables, restrict it to be less than the objective function, v min1jn i=1 pi aij , and
try to make v as large as possible subject to this new constraint. The problem becomes:
Choose v and p1 , . . . , pm to
maximize v
m
*
(12)
pi ai1
i=1
m
*
(13)
pi ain
i=1
p1 + + pm = 1
II 39
and
pi 0
for i = 1, . . . , m.
This is indeed a linear program. For solving such problems, there exists a simple algorithm
known as the simplex method.
In a similar way, one may view the problem from Player IIs point of view and arrive
at a similar linear program. IIs problem is: choose w and q1 , . . . , qn to
minimize w
subject to the constraints
w
..
.
w
and
n
*
(14)
a1j qj
j=1
n
*
(15)
amj qj
j=1
q1 + + qn = 1
qj 0 for j = 1, . . . , n.
In Linear Programming, there is a theory of duality that says these two programs,
(12)-(13), and (14)-(15), are dual programs. And there is a remarkable theorem, called the
Duality Theorem, that says dual programs have the same value. The maximum Player I
can achieve in (14) is equal to the minimum that Player II can achieve in (12). But this is
exactly the claim of the Minimax Theorem. In other words, the Duality Theorem implies
the Minimax Theorem.
There is another way to transform the linear program, (12)-(13), into a linear program
that is somewhat simpler for computations when it is known that the value of the game
is positive. So suppose v > 0 and let xi = pi /v. Then the constraint p1 + + pm = 1
becomes x1 + + xm = 1/v, which looks nonlinear. But maximizing v is equivalent to
minimizing 1/v, so we can remove v from the problem by minimizing x1 + + xm instead.
The problem, (12)-(13), becomes: choose x1 , . . . , xm to
minimize x1 + + xm
subject to the constraints
1
..
.
1
m
*
xi ai1
m
*
xi ain
(16)
i=1
(17)
i=1
II 40
and
xi 0
for i = 1, . . . , m.
When we have solved this problem, the solution of the original game may be easily found.
The value will be v = 1/(x1 + + xm ) and the optimal strategy for Player I will be
pi = vxi for i = 1, . . . .m.
4.5 Description of the Pivot Method for Solving Games The following algorithm for solving finite games is essentially the simplex method for solving (16)-(17) as
described in Williams (1966).
Step 1. Add a constant to all elements of the game matrix if necessary to insure that the
value is positive. (If you do, you must remember at the end to subtract this constant from
the value of the new matrix game to get the value of the original matrix game.)
Step 2. Create a tableau by augmenting the game matrix with a border of 1s along
the lower edge, +1s along the right edge, and zero in the lower right corner. Label Is
strategies on the left from x1 to xm and IIs strategies on the top from y1 to yn .
x1
x2
..
.
xm
y1
a11
a21
..
.
y2
a12
a22
..
.
yn
a1n
a2n
..
.
am1
1
am2
1
amn
1
1
1
..
.
1
0
Step 3. Select any entry in the interior of the tableau to be the pivot , say row p column q,
subject to the properties:
a. The border number in the pivot column, a(m + 1, q), must be negative.
b. The pivot, a(p, q), itself must be positive.
c. The pivot row, p, must be chosen to give the smallest of the ratios the border
number in the pivot row to the pivot, a(p, n + 1)/a(p, q), among all positive pivots for that
column.
Step 4. Pivot as follows:
a. Replace each entry, a(i, j), not in the row or column of the pivot by a(i, j) a(p, j)
a(i, q)/a(p, q).
b. Replace each entry in the pivot row, except for the pivot, by its value divided by
the pivot value.
c. Replace each entry in the pivot column, except for the pivot, by the negative of its
value divided by the pivot value.
d. Replace the pivot value by its reciprocal.
This may be represented symbolically by
p r
c q
1/p
r/p
c/p q (rc/p)
II 41
where p stands for the pivot, r represents any number in the same row as the pivot, c
represents any number in the same column as the pivot, and q is an arbitrary entry not in
the same row or column as the pivot.
Step 5. Exchange the label on the left of the pivot row with the label on the top of the
pivot column.
Step 6. If there are any negative numbers remaining in the lower border row, go back to
step 3.
Step 7. Otherwise, a solution may now be read out:
a. The value, v, is the reciprocal of the number in the lower right corner. (If you
subtracted a number from each entry of the matrix in step 1, it must be added to v here.)
b. Is optimal strategy is constructed as follows. Those variables of Player I that end
up on the left side receive probability zero. Those that end up on the top receive the value
of the bottom edge in the same column divided by the lower right corner.
c. IIs optimal strategy is constructed as follows. Those variables of Player II that
end up on the top receive probability zero. Those that end up on the left receive the value
of the right edge in the same row divided by the lower right corner.
4.6 A Numerical Example. Let us illustrate these steps using an example. Lets
take a three-by-three matrix since that is the simplest example one we cannot solve using
previous methods. Consider the matrix game with the following matrix,
B=
0
2
1 6
1 1
2
1
We might check for a saddle point (there is none) and we might check for domination
(there is none). Is the value positive? We might be able to guess by staring at the matrix
long enough, but why dont we simply make the first row positive by adding 2 to each
entry of the matrix:
4 1 8
B = 2 3 1
0 4 3
The value of this game is at least one since Player I can guarantee at least 1 by using the
first (or second) row. We will have to remember to subtract 2 from the value of B to get
the value of B. This completes Step 1 of the algorithm.
In Step 2, we set up the tableau for the matrix B as follows.
x1
x2
x3
y1 y2 y3
4 1
8
2 3
1
0 4
3
1 1 1
II 42
1
1
1
0
In Step 3, we must choose the pivot. Since all three columns have a negative number
in the lower edge, we may choose any of these columns as the pivot column. Suppose we
choose column 1. The pivot row must have a positive number in this column, so it must be
one of the top two rows. To decide which row, we compute the ratios of border numbers
to pivot. For the first row it is 1/4; for the second row it is 1/2. the former is smaller, so
the pivot is in row 1. We pivot about the 4 in the upper left corner.
Step 4 tells us how to pivot. The pivot itself gets replaced by its reciprocal, namely
1/4. The rest of the numbers in the pivot row are simply divided by the pivot, giving 1/4,
2, and 1/4. Then the rest of the numbers in the pivot column are divided by the pivot and
changed in sign. The remaining nine numbers are modified by subtracting r c/p for the
corresponding r and c. For example, from the 1 in second row third column we subtract
8 2/4 = 4, leaving 3. The complete pivoting operation is
x1
x2
x3
y1 y2 y3
4
1
8
2
3
1
0
4
3
1 1 1
1
1
1
0
y1
x2
x3
x1
y2
1/4 1/4
1/2 5/2
0
4
1/4 3/4
y3
2
3
3
1
1/4
1/2
1
1/4
In the fifth step, we interchange the labels of the pivot row and column. Here we
interchange x1 and y1 . This has been done in the display.
For Step 6, we check for negative entries in the lower edge. Since there is one, we
return to Step 3.
This time, we must pivot in column 2 since it has the unique negative number in the
lower edge. All three numbers in this column are positive. We find the ratios of border
numbers to pivot for rows 1, 2 and 3 to be 1, 1/5, and 1/4. The smallest occurs in the
second row, so we pivot about the 5/2 in the second row, second column. Completing
Steps 4 and 5, we obtain
y1
x2
x3
x1
y2
1/4 1/4
1/2
5/2
0
4
1/4 3/4
y3
2
3
3
1
1/4
1/2
1
1/4
y1
y2
x3
x1
x2
y3
.3 .1
2.3
.2
.4 1.2
.8 1.6
7.8
.1
.3
.1
.2
.2
.2
.4
At Step 6 this time, all values on the lower edge are non-negative so we pass to Step
7. We may now read the solution to the game with matrix B .
The value is the reciprocal of .4, namely 5/2.
Since x3 is on the left in the final tableau, the optimal p3 is zero. The optimal p1
and p2 are the ratios, .1/.4 and .3/.4, namely 1/4 and 3/4. Therefore, Is optimal mixed
strategy is (p1 , p2 , p3 ) = (.25, .75, 0).
II 43
Since y3 is on the top in the final tableau, the optimal q3 is zero. The optimal q1
and q2 are the ratios, .2/.4 and .2/.4, namely 1/2 and 1/2. Therefore, IIs optimal mixed
strategy is (q1 , q2 , q3 ) = (.5, .5, 0).
The game with matrix B has the same optimal mixed strategies but the value is
5/2 2 = 1/2.
Remarks. 1. The reason that the pivot row is chosen according to the rule in Step
3(c) is so that the numbers in the resulting right edge of the tableau stay non-negative. If
after pivoting you find a negative number in the last column, you have made a mistake,
either in the choice of the pivot row, or in your numerical calculations for pivoting.
2. There may be ties in comparing the ratios to choose the pivot row. The rule given
allows you to choose among those rows with the smallest ratios. The smallest ratio may
be zero.
3. The value of the number in the lower right corner never decreases. (Can you see
why this is?) In fact, the lower right corner is always equal to the sum of the values in the
lower edge corresponding to Player Is labels along the top. Similarly, it is also the sum
of the values on the right edge corresponding to Player IIs labels on the left. This gives
another small check on your arithmetic.
4. One only pivots around numbers in the main body of the tableau, never in the
lower or right edges.
5. This method gives one optimal strategy for each player. If other optimal strategies
exist, there will be one or more zeros in the bottom edge or right edge in the final tableau.
Other optimal basic strategies can be found by pivoting further, in a column with a zero
in the bottom edge or a row with a zero in the right edge, in such a way that the bottom
row and right edge stay nonnegative.
4.7 Approximating the Solution: Fictitious Play.
As an alternative to the simplex method, the method of fictitious play may be used to
approximate the value and optimal strategies of a finite game. It is a sequential procedure
that approximates the value of a game as closely as desired, giving upper and lower bounds
that converge to the value and strategies for the players that achieve these bounds.
The advantage of the simplex method is that it gives answers that are accurate,
generally to machine accuracy, and for small size problems is extremely fast. The advantage
of the method of fictitious play is its simplicity, both to program and understand, and the
fact that you can stop it at any time and obtain answers whose accuracy you know. The
simplex method only gives answers when it is finished. For large size problems, say a
matrix 50 by 50 or greater, the method of fictitious play will generally give a suciently
accurate answer in a shorter time than the simplex method. For very large problems, it is
the only way to proceed.
Let A(i, j) be an m by n payo matrix. The method starts with an arbitrary initial
pure strategy 1 i1 m for Player I. Alternatively from then on, each player chooses his
II 44
next pure strategy as a best reply assuming the other player chooses among his previous
choices at random equally likely. For example, if i1 , . . . , ik have already been chosen by
Player'I for some k 1, then jk is chosen as that j that minimizes the expectation
k
(1/k) =1 A(i , j). Similarly, if j1, . . . , jk have already been chosen, ik+1 is then chosen
'k
as that i that maximizes the expectation (1/k) =1 A(i, j ). To be specific, we define
sk (j) =
k
*
A(i , j)
and
=1
tk (i) =
k
*
A(i, j )
(1)
(2)
=1
and
If the maximum of tk (i) is assumed at several dierent values of i, then it does not matter
which of these is taken as ik+1 . To be specific, we choose ik+1 as the smallest value of i
that maximizes tk (i). Similarly jk is taken as the smallest j that minimizes sk (j). In this
way, the sequences ik and jk are defined deterministically once i1 is given.
Notice that Vk = (1/k)tk (ik+1 ) is an upper bound to the value of the game since
Player II can use the strategy that chooses j randomly and equally likely from j1 , . . . , jk
and keep Player Is expected return to be at most Vk . Similarly, Vk = (1/k)sk (jk ) is a
lower bound to the value of the game. It is rather surprising that these upper and lower
bounds to the value converge to the value of the game as k tends to infinity.
Theorem. If V denotes the value of the game, then Vk V , Vk V , and Vk V Vk ,
for all k.
This approximation method was suggested by George Brown (1951), and the proof
of convergence was provided by Julia Robinson (1951).
The convergence of Vk and Vk to
2 1 6
A= 0
1 1
2 2
1
This is the game solved in Section 4.6. It has value .5, and optimal mixed strategies,
(.25, .75, 0) and (.5, .5, 0) for Player I and Player II respectively. It is easy to set up a
program to perform the calculations. In particular, the computations, (1), may be made
recursively in the simpler form
sk (j) = sk1 (j) + A(ik , j)
and
(3)
ik
1
3
1
2
3
2
1
1
1
2
2
2
2
3
2
sk (1)
2
0
2
2
0
0
2
4
6
6
6
6
6
4
4
sk (2) sk (3)
1
6
1
7
0
13
1
12
3
13
4
12
3
18
2
24
1
30
2
29
3
28
4
27
5
26
7
27
8
26
Vk
1
0
0
0.25
0
0
0.2857
0.25
0.1111
0.2
0.2727
0.3333
0.3846
0.2857
0.2667
jk
2
1
2
2
1
1
1
2
2
2
2
2
2
1
1
Vk
2
0.5
0.6667
1
0.6
0.5
0.7143
0.5
0.5556
0.6
0.6364
0.6667
0.7692
0.6429
0.6
The initial choice of i1 = 1 gives (s1 (1), s1 (2), s1 (3)) as the first row of A, which has a
minimum at s1 (2). Therefore, j1 = 2. The second column of A has t1 (3) as the maximum,
so i2 = 3. Then the third row of A is added to the s1 to produce the s2 and so on. The
minimums of the sk and the maximums of the tk are indicated in boldface. The largest
of the Vk found so far occurs at k = 13 and has value sk (jk )/k = 5/13 = 0.3846 . . .. This
value can be guaranteed to Player I by using the mixed strategy (5/13,6/13,2/13), since in
the first 13 of the ik there are 5 1s, 6 2s and 2 3s. The smallest of the Vk occurs several
times and has value .5. It can be achieved by Player II using the first and second columns
equally likely. So far we know that .3846 V .5, although we know from Section 4.6
that V = .5.
Computing further, we can find that V91 = 44/91 = .4835 . . . and is achieved by
the mixed strategy (25/91, 63/91, 3/91). From row 9 on, the dierence between the boldface numbers in each row seems to be bounded between 4 and 6. This implies that the
convergence is of order 1/k.
II 46
4.8 Exercises.
1. Consider the game with matrix A. Past experience in playing the game with Player
II enables Player I to arrive at a set of probabilities reflecting his belief of the column that II
will choose. I thinks that with probabilities 1/5, 1/5, 1/5, and 2/5, II will choose columns
1, 2, 3, and 4 respectively.
0
7
2
4
A= 1
4
8
2.
9
3 1
6
(a) Find for I a Bayes strategy (best response) against (1/5, 1/5, 1/5, 2/5).
(b) Suppose II guesses correctly that I is going to use a Bayes strategy against
(1/5, 1/5, 1/5, 2/5). Instruct II on the strategy she should use - that is, find IIs Bayes
strategy against Is Bayes strategy against (1/5, 1/5, 1/5, 2/5).
2. The game with matrix A has value zero, and (6/11, 3/11, 2/11) is optimal for I.
0 1
1
5
3
7
A= 2
0 2
B= 9
5
1
3
3
0
1 11
5
(a) Find the value of the game with matrix B and an optimal strategy for I.
(b) Find an optimal strategy for II in both games.
3. A game without a value. Let X = {1, 2, 3, . . .}, let Y = {1, 2, 3, . . .} and
A(i, j) =
+1 if i > j
0 if i = j
1 if i < j
This is the game The player that chooses the larger integer wins. Here we may take for
the space X of mixed strategies of Player I
X = {(p1 , p2 , . . .) : pi 0 for all i, and
Similarly,
*
i=1 j=1
II 47
pi A(i, j)qj .
pi = 1}.
i=1
j=1
qj = 1}.
'
j=1
0
1
2
A = 2 1 2 .
3 3
0
Either argue that the value is positive, or add +1 to the elements of the matrix. To go
easy on the homework grader, make the first pivot in the second column.
5. An Example In Which the Lower Value is Greater than the Upper
Value? Consider the infinite game with strategy spaces X = Y = {0, 1, 2, . . .}, and payo
function,
+
0
if i = j
A(i, j) = 4j
if i > j
4i if i < j.
Note that the game is symmetric. Let p = (p0 , p1 , p2 , . . .)T = (1/2, 1/4, 1/8, . . .)T be be a
mixed strategy for Player I, pi = 2(i+1).
'
(a) Show that if Player I uses this strategy, his average return, i=0 pi A(i, j), is equal
to 1/2 for all pure strategies j for Player II.
(b) So p is an equalizer strategy that guarantees Player I at least 1/2. So the lower
value is at least 1/2. Perhaps he can do better. In fact he can, but . . . Wait a minute! The
game is symmetric. Shouldnt the value be zero? Worse, suppose Player II uses the same
strategy. By symmetry, she can keep Player Is winnings down to 1/2 no matter what
pure strategy he chooses. So the upper value is at most 1/2. What is wrong? What
if both players use the mixed strategy, p? We havent talked much about infinite games,
but what restrictions would you place on infinite games to avoid such absurd examples?
Should the restrictions be placed on the payo function, A, or on the notion of a mixed
strategy?
!
"
1 1
6. Carry out the fictitious play algorithm on the matrix A =
through step
0 2
k = 4. Find the upper and lower bounds on the value of the game that this gives.
!
"
2 0
7. Suppose the game with matrix,
is played repeatedly. On the first round
0 1
the players make any choices.
(a) Thereafter Player I makes a best response to his opponents imagined strategy of
choosing among her previous choice at random. If Player II knows this, what should she
do? What are the limiting average frequencies of the choices of the players?
(b) Suppose Player II is required to play a best response to her opponents previous
choices. What should Player I do, and what would his limiting average payo be?
II 48
N
winning
1/4
I
bet
II
losing
3/4
I
check
bet
II
check
call
fold
call
fold
3
Figure 1.
two positions in a closed curve, and we say that these two vertices constitute an information
set. The two vertices at which I is to move constitute two separate information sets since
he is told the outcome of the chance move. To be complete, this must also be indicated
on the diagram by drawing small circles about these vertices. We may delete one of the
labels indicating IIs vertices since they belong to the same information set. It is really
the information set that must be labeled. The completed game tree becomes
N
winning
1/4
I
II
bet
3/4
check
losing
bet
check
1
call
fold
call
fold
3
Figure 2.
The diagram now contains all the essential rules of the game.
5.3 The Kuhn Tree. The game tree with all the payos, information sets, and labels
for the edges and vertices included is known as the Kuhn Tree. We now give the formal
definition of a Kuhn tree.
Not every set of vertices can form an information set. In order for a player not to
be aware of which vertex of a given information set the game has come to, each vertex in
that information set must have the same number of edges leaving it. Furthermore, it is
important that the edges from each vertex of an information set have the same set of labels.
The player moving from such an information set really chooses a label. It is presumed that
a player makes just one choice from each information set.
II 51
4) a partition of the rest of the vertices (not terminal and not in T0 ) into two groups
of information sets T11 , T12 , . . . , T1k1 (for Player I) and T21 , T22 , . . . , T2k2 (for Player II),
and
5) for each information set Tjk for player j, a set of labels Ljk , and for each t Tjk ,
a one-to-one mapping of Ljk onto the set of edges leading from t.
The information structure in a game in extensive form can be quite complex. It may
involve lack of knowledge of the other players moves or of some of the chance moves. It
may indicate a lack of knowledge of how many moves have already been made in the game
(as is the case With Player II in Figure 3).
I
A
II
a
II
d
I
0
D
Figure 3.
1
D
It may describe situations in which one player has forgotten a move he has made
earlier (as is the case With Player I in Figures 3 or 4). In fact, one way to try to model
the game of bridge as a two-person zero-sum game involves the use of this idea. In bridge,
there are four individuals forming two teams or partnerships of two players each. The
interests of the members of a partnership are identical, so it makes sense to describe this
as a two-person game. But the members of one partnership make bids alternately based
on cards that one member knows and the other does not. This may be described as a
single player who alternately remembers and forgets the outcomes of some of the previous
random moves. Games in which players remember all past information they once knew
and all past moves they made are called games of perfect recall.
A kind of degenerate situation exists when an information set contains two vertices
which are joined by a path, as is the case with Is information set in Figure 5.
II 52
I
f
g
II
b
I
2
c
1
d
1
Figure 4.
We take it as a convention that a player makes one choice from each information set
during a game. That choice is used no matter how many times the information set is
reached. In Figure 5, if I chooses option a there is no problem. If I chooses option b, then
in the lower of Is two vertices the a is superfluous, and the tree is really equivalent to
Figure 6. Instead of using the above convention, we may if we like assume in the definition
of a game in extensive form that no information set contains two vertices joined by a path.
I
II
c
II
d
d
I
2
a
0
Figure 5.
Figure 6.
Games in which both players know the rules of the game, that is, in which both players
know the Kuhn tree, are called games of complete information. Games in which one or
both of the players do not know some of the payos, or some of the probabilities of chance
moves, or some of the information sets, or even whole branches of the tree, are called
games with incomplete information, or pseudogames. We assume in the following
that we are dealing with games of complete information.
5.4 The Representation of a Strategic Form Game in Extensive Form. The
notion of a game in strategic form is quite simple. It is described by a triplet (X, Y, A) as in
Section 1. The extensive form of a game on the other hand is quite complex. It is described
II 53
by the game tree with each non-terminal vertex labeled as a chance move or as a move
of one of the players, with all information sets specified, with probability distributions
given for all chance moves, and with a payo attached to each terminal vertex. It would
seem that the theory of games in extensive is much more comprehensive than the theory
of games in strategic form. However, by taking a game in extensive form and considering
only the strategies and average payos, we may reduce the game to strategic form.
First, let us check that a game in strategic form can be put into extensive form. In the
strategic form of a game, the players are considered to make their choices simultaneously,
while in the extensive form of a game simultaneous moves are not allowed. However,
simultaneous moves may be made sequentially as follows. We let one of the players, say
Player I, move first, and then let player II move without knowing the outcome of Is move.
This lack of knowledge may be described by the use of an appropriate information set.
The example below illustrates this.
I
1
2
II
3 0
1 2
1
0
"
Matrix Form
1
3
2
0
1
1
2
2
3
0
Player I has 2 pure strategies and Player II has 3. We pretend that Player I moves first by
choosing row 1 or row 2. Then Player II moves, not knowing the choice of Player I. This is
indicated by the information set for Player II. Then Player II moves by choosing column
1, 2 or 3, and the appropriate payo is made.
5.5 Reduction of a Game in Extensive Form to Strategic Form. To go in
the reverse direction, from the extensive form of a game to the strategic form, requires the
consideration of pure strategies and the usual convention regarding random payos.
Pure strategies. Given a game in extensive form, we first find X and Y , the sets of
pure strategies of the players to be used in the strategic form. A pure strategy for Player
I is a rule that tells him exactly what move to make in each of his information sets. Let
T11 , . . . , T1k1 be the information sets for Player I and let L11 , . . . , L1k1 be the corresponding
sets of labels. A pure strategy for I is a k1 -tuple x = (xl , ..., xk1 ) where for each i, xi is one
of the elements of L1i . If there are mi elements in L1i , the number of such kl -tuples and
hence the number of I s pure strategies is the product m1 m2 mk . The set of all such
strategies is X. Similarly, if T21 , . . . , T2k2 represent IIs information sets and L21 , . . . , L2k2
the corresponding sets of labels, a pure strategy for II is a k2 -tuple, y = (y1 , . . . , yk2 ) where
yj L2j for each j. Player II has n1 n2 nk2 pure strategies if there are nj elements in
L2j . Y denotes the set of these strategies.
Random payos. A referee, given x X and y Y , could play the game, playing the
appropriate move from x whenever the game enters one of Is information sets, playing the
II 54
appropriate move from y whenever the game enters one of IIs information sets, and playing
the moves at random with the indicated probabilities at each chance move. The actual
outcome of the game for given x X and y Y depends on the chance moves selected,
and is therefore a random quantity. Strictly speaking, random payos were not provided
for in our definition of games in normal form. However, we are quite used to replacing
random payos by their average values (expected values) when the randomness is due to
the use of mixed strategies by the players. We adopt the same convention in dealing with
random payos when the randomness is due to the chance moves. The justification of this
comes from utility theory.
Convention. If for fixed pure strategies of the players, x X and y Y , the payo is
a random quantity, we replace the payo by the average value, and denote this average
value by A(x, y).
For example, if for given strategies x X and y Y , Player I wins 3 with probability
1/4, wins 1 with probability 1/4, and loses 1 with probability 1/2, then his average payo
is 14 (3) + 14 (1) + 12 (1) = 1/2 so we let A(x, y) = 1/2.
Therefore, given a game in extensive form, we say (X, Y, A) is the equivalent strategic
form of the game if X and Y are the pure strategy spaces of players I and II respectively,
and if A(x, y) is the average payo for x X and y Y .
5.6 Example. Let us find the equivalent strategic form to Basic Endgame in Poker
described in the Section 5.2, whose tree is given in Figure 2. Player I has two information
sets. In each set he must make a choice from among two options. He therefore has 2 2 = 4
pure strategies. We may denote them by
(b, b): bet with a winning card or a losing card.
(b, c): bet with a winning card, check with a losing card.
(c, b): check with a winning card, bet with a losing card.
(c, c): check with a winning card or a losing card.
Therefore, X = {(b, b), (b, c), (c, b), (c, c)}. We include in X all pure strategies whether
good or bad (in particular, (c, b) seems a rather perverse sort of strategy.)
Player II has only one information set. Therefore, Y = {c, f}, where
c: if I bets, call.
f: if I bets, fold.
Now we find the payo matrix. Suppose I uses (b, b) and II uses c. Then if I gets a
winning card (which happens with probability 1/4), he bets, II calls, and I wins 3 dollars.
But if I gets a losing card (which happens with probability 3/4), he bets, II calls, and I
loses 3 dollars. Is average or expected winnings is
A((b, b), c) =
3
3
1
(3) + (3) = .
4
4
2
II 55
This gives the upper left entry in the following matrix. The other entries may be computed
similarly and are left as exercises.
c
f
(b, b) 3/2
1
(b, c)
1/2
0
(c, b) 2
1
(c, c) 1/2 1/2
Let us solve this 4 by 2 game. The third row is dominated by the first row, and the
fourth row is dominated by the second row. In terms of the original form of the game, this
says something you may already have suspected: that if I gets a winning card, it cannot
be good for him to check. By betting he will win at least
! as much, and"maybe more. With
3/2
1
the bottom two rows eliminated the matrix becomes
, whose solution is
0
1/2
easily found. The value is V = 1/4. Is optimal strategy is to mix (b, b) and (b, c) with
probabilities 1/6 and 5/6 respectively, while IIs optimal strategy is to mix c and f with
equal probabilities 1/2 each. The strategy (b, b) is Player Is blung strategy. Its use
entails betting with a losing hand. The strategy (b, c) is Player Is honest strategy, bet
with a winning hand and check with a losing hand. Is optimal strategy requires some
blung and some honesty.
In Exercise 4, there are six information sets for I each with two choices. The number
of Is pure strategies is therefore 26 = 64. II has 2 information sets each with two choices.
Therefore, II has 22 = 4 pure strategies. The game matrix for the equivalent strategic
form has dimension 64 by 4. Dominance can help reduce the dimension to a 2 by 3 game!
(See Exercise 10(d).)
5.7 Games of Perfect Information. Now that a game in extensive form has been
defined, we may make precise the notion of a game of perfect information.
Definition. A game of perfect information is a game in extensive form in which each
information set of every player contains a single vertex.
In a game of perfect information, each player when called upon to make a move knows
the exact position in the tree. In particular, each player knows all the past moves of the
game including the chance ones. Examples include tic-tac-toe, chess, backgammon, craps,
etc.
Games of perfect information have a particularly simple mathematical structure. The
main result is that every game of perfect information when reduced to strategic form has
a saddle point ; both players have optimal pure strategies. Moreover, the saddle point can
be found by removing dominated rows and columns. This has an interesting implication
for the game of chess for example. Since there are no chance moves, every entry of the
game matrix for chess must be either +1 (a win for Player I), or 1 (a win for Player
II 56
II), or 0 (a draw). A saddle point must be one of these numbers. Thus, either Player
I can guarantee himself a win, or Player II can guarantee himself a win, or both players
can assure themselves at least a draw. From the game-theoretic viewpoint, chess is a very
simple game. One needs only to write down the matrix of the game. If there is a row of all
+1s, Player I can win. If there is a column of all 1s, then Player II can win. Otherwise,
there is a row with all +1s and 0s and a column with all 1s and 0s, and so the game is
drawn with best play. Of course, the real game of chess is so complicated, there is virtually
no hope of ever finding an optimal strategy. In fact, it is not yet understood how humans
can play the game so well.
5.8 Behavioral Strategies. For games in extensive form, it is useful to consider a
dierent method of randomization for choosing among pure strategies. All a player really
needs to do is to make one choice of an edge for each of his information sets in the game.
A behavioral strategy is a strategy that assigns to each information set a probability
distributions over the choices of that set.
For example, suppose the first move of a game is the deal of one card from a deck of
52 cards to Player I. After seeing his card, Player I either bets or passes, and then Player
II takes some action. Player I has 52 information sets each with 2 choices of action, and
so he has 252 pure strategies. Thus, a mixed strategy for I is a vector of 252 components
adding to 1. On the other hand, a behavioral strategy for I simply given by the probability
of betting for each card he may receive, and so is specified by only 52 numbers.
In general, the dimension of the space of behavioral strategies is much smaller than
the dimension of the space of mixed strategies. The question arises Can we do as well
with behavioral strategies as we can with mixed strategies? The answer is we can if both
players in the game have perfect recall . The basic theorem, due to Kuhn in 1953 says that
in finite games with perfect recall, any distribution over the payos achievable by mixed
strategies is achievable by behavioral strategies as well.
To see that behavioral strategies are not always sucient, consider the game of imperfect recall of Figure 4. Upon reducing the game to strategic form, we find the matrix
a
(f, c)
1
(f, d) 1
(g, c) 0
(g, d) 1
1
0
2
2
The top and bottom rows may be removed by domination, so it is easy to see that the
unique optimal mixed strategies for I and II are (0, 2/3, 1/3, 0) and (2/3, 1/3) respectively.
The value is 2/3. However, Player Is optimal strategy is not achievable by behavioral
strategies. A behavioral strategy for I is given by two numbers, pf , the probability of choice
f in the first information set, and pc , the probability of choice c in the second information
set. This leads to the mixed strategy, (pf pc , pf (1 pc ), (1 pf )pc , (1 pf )(1 pc )). The
strategy (0, 2/3, 1/3, 0) is not of this form since if the first component is zero, that is if
II 57
game of incomplete information. There is a large literature concerning such games; see for
example, the books of Aumann and Maschler (1995) and Sorin (2002).)
6. Basic Endgame in Poker. Generalize Basic Endgame in poker by letting the
probability of receiving a winning card be an arbitrary number p, 0 p 1, and by letting
the bet size be an arbitrary number b > 0. (In Figure 2, 1/4 is replaced by p and 3/4 is
replaced by 1 p. Also 3 is replaced by 1 + b and 3 is replaced by (1 + b).) Find the
value and optimal strategies. (Be careful. For p (2 + b)/(2 + 2b) there is a saddle point.
When you are finished, note that for p < (2 + b)/(2 + 2b), Player IIs optimal strategy does
not depend on p!) For other generalizations, see Ferguson and Ferguson (2007).
7. (a) Find the equivalent strategic form of the game with the game tree:
N
1/3
2/3
I
a
II
c
e
II
3
f
1/2
II
II
she wins 1 dollar from I. If II guesses incorrectly and Is prediction was right, I wins 2
dollars from II. If both are wrong there is no payo.
(a) Draw the game tree.
(b) Find the equivalent strategic form of the game.
(c) Solve.
10. Find the equivalent strategic form and solve the game of
(a) Exercise 1.
(b) Exercise 2.
(c) Exercise 3.
(d) Exercise 4.
(e) Exercise 5.
11. Suppose, in the game of Figure 4, that Player I is required to use behavioral
strategies. Show that if Player I is required to announce his behavioral strategy first, he
can only achieve a lower value of 1/2. Whereas, if Player II is required to announce her
strategy first, Player I has a behavioral strategy reply that achieves the upper value of 2/3
at least.
12. (Beasley (1990), Chap. 6.) Player I draws a card at random from a full deck of
52 cards. After looking at the card, he bets either 1 or 5 that the card he drew is a face
card (king, queen or jack, probability 3/13). Then Player II either concedes or doubles. If
she concedes, she pays I the amount bet (no matter what the card was). If she doubles,
the card is shown to her, and Player I wins twice his bet if the card is a face card, and
loses twice his bet otherwise.
(a) Draw the game tree. (You may argue first that Player I always bets 5 with a face card
and Player II always doubles if Player I bets 1.)
(b) Find the equivalent normal form.
(c) Solve.
II 60
1
3
"
G2 :
If after playing the game G the players end up playing G1 , then they can expect a payo
of the value of G1 , namely 1, on the average. If the players end up playing G2 , they can
expect an average payo of the value of G2 , namely 3. Therefore, the game G can be
considered equivalent to the game with matrix
!
"
1 4
5 3
G:
This method of solving the game G may be summarized as follows. If the matrix of
a game G has other games as components, the solution of G is the solution of the game
whose matrix is obtained by replacing each game in the matrix of G by its value.
II 61
Decomposition. This example may be written as a 44 matrix game. The four pure
strategies of Player I may be denoted {(1, 1), (1, 2), (2, 1), (1, 2)}, where (i, j) represents:
use row i in G, and if this results in Gi being played use row j. A similar notation may
be used for Player II. The 4 4 game matrix becomes
0 3
4 4
G=
4
0
4
2 1
5 5
5 5
4
1
3
Conversely, suppose we are given a game G and suppose after some rearrangement of
the rows and of the columns the matrix may be decomposed into the form
"
!
G11
G12
G=
G21
G22
where G11 and G22 are arbitrary matrices and G12 and G21 are constant matrices. (A
constant matrix has the same numerical value for all of its entries.) Then we can solve
G by the above method, pretending that as the first move the players choose a row and
column from the 2 2 decomposed matrix. See Exercise 1(b).
6.2 Multistage Games. Of course, a game that is the component of some matrix
game may itself have other games as components, in which case one has to iterate the
above method to obtain the solution. This works if there are a finite number of stages.
Example 1. The Inspection Game. (M. Dresher (1962)) Player II must try to perform
some forbidden action in one of the next n time periods. Player I is allowed to inspect II
secretly just once in the next n time periods. If II acts while I is inspecting, II loses 1 unit
to I. If I is not inspecting when II acts, the payo is zero.
Let Gn denote this game. We obtain the iterative equations
Gn =
inspect
wait
act wait
"
1
0
0 Gn1
for n = 2, 3, . . .
1
0
1
0
1
0
0
1
"
= 1/2
"
0
= 1/3
1/2
0
1/(n 1)
II 62
"
= 1/n
1
1
since inductively, Val(Gn ) = n1
/(1 + n1
) = 1/n. The optimal strategy in the game Gn
for both players is (1/n, (n 1)/n). For other games of this sort, see the book by Garnaev
(2000).
Example 2. Guess it! (Rufus Isaacs (1955); see also Martin Gardner (1978), p. 40.) As
a more complex example of a multistage game, consider the following game loosely related
to the game Cluedo. From a deck with m + n + 1 distinct cards, m cards are dealt to
Player I, n cards are dealt to Player II, and the remaining card, called the target card,
is placed face down on the table. Players knows their own cards but not those of their
opponent. The objective is to guess correctly the target card. Players alternate moves,
with Player I starting. At each move, a player may either
(1) guess at the target card, in which case the game ends, with the winner being the player
who guessed if the guess is correct, and his opponent if the guess is incorrect, or
(2) ask if the other player holds a certain card. If the other player has the card, that card
must be shown and is removed from play.
With a deck of say 11 cards and each player receiving 5 cards, this is a nice playable
game that illustrates need for blung in a clear way. If a player asks about a card that is
in his own hand, he knows what the answer will be. We call such a play a blu . If a player
asks about a card not in his hand, we say he is honest . If a player is always honest and
the card he asks about is the target card, the other player will know that the requested
card is the target card and so will win. Thus a player must blu occasionally. Blung
may also lure the opponent into a wrong guess at the target card.
Let us denote this game with Player I to move by Gm,n . The game Gm,0 is easy to
play. Player I can win immediately. Since his opponent has no cards, he can tell what the
target card is. Similarly, the game G0,n is easy to solve. If Player I does not make a guess
immediately, his opponent will win on the next move. However, his probability of guessing
correctly is only 1/(n + 1). Valuing 1 for a win and 0 for a loss from Player Is viewpoint,
the value of the game is just the probability I wins under optimal play. We have
Val(Gm,0 ) = 1
for all m 0,
and Val(G0,n ) =
1
n+1
for all n 0.
(1)
If Player I asks for a card that Player II has, that card is removed from play and it is
Player IIs turn to move, holding n 1 cards to her opponents m cards. This is exactly
the game Gn1,m but with Player II to move. We denote this game by G n1,m . Since the
probability that Player I wins is one minus the probability that Player II wins, we have
Val(G n,m ) = 1 Val(Gn,m ) for all m and n.
(2)
Suppose Player I asks for a card that Player II does not have. Player II must immediately decide whether or not Player I was blung. If she decides Player I was honest, she
will announce the card Player I asked for as her guess at the target card, and win if she
was right and lose if she was wrong. If she decides Player I was blung and she is wrong,
Player I will win on his turn. If she is correct, the card Player I asked for is removed from
his hand, and the game played next is G n,m1 .
II 63
Using such considerations, we may write the game as a multistage game in which
a stage consists of three pure strategies for Player I (honest, blu, guess) and two pure
strategies for Player II (ignore the asked card, call the blu by guessing the asked card).
The game matrix becomes, for m 1 and n 1,
Gm,n
honest
= blu
guess
ignore
+
G n,m1
n
n+1 G n1,m
call
1
n+1
1
n+1
n
n+1 G n1,m
1
n+1
(3)
This assumes that if Player I asks honestly, he chooses among the n + 1 unknown
cards with probability 1/(n + 1) each; also if he blus, he chooses among his m cards with
probability 1/m each. That this may be done follows from the invariance considerations
of Section 3.6.
As an example, the upper left entry of the matrix is found as follows. With probability
n/(n + 1), Player I asks a card that is in Player IIs hand and the game becomes G n1,m ;
with probability 1/(n + 1), Player I asks the target card, Player II ignors it and Player I
wins on his next turn, i.e. gets 1. The upper right entry is similar, except this time if the
asked card is the target card, Player II guesses it and Player I gets 0.
It is reasonable to assume that if m 1 and n 1, Player I should not guess,
because the probability of winning is too small. In fact if m 1 and n 1, there is a
strategy for Player I that dominates guessing, so that the last row of the matrix may be
deleted. This strategy is: On the first move, ask any of the m + n + 1 cards with equal
probability 1/(m + n + 1) (i.e. use row 1 with probability (n + 1)/(m + n + 1) and row
2 with probability m/(m + n + 1)), and if Player II doesnt guess at her turn, then guess
at the next turn. We must show that Player I wins with probability at least 1/(n + 1)
whether or not Player II guesses at her next turn. If Player II guesses, her probability of
win is exactly 1/(m + 1) whether or not the asked card is one of hers. So Player Is win
probability is m/(m + 1) 1/2 1/(n + 1). If Player II does not guess, then at Player
Is next turn, Player II has at most n cards (she may have n 1) so again Player Is win
probability is at least 1/(n + 1).
So the third row may be removed in (3) and the games reduce to
Gm,n
honest
=
blu
ignore
+
G n,m1
n
n+1 G n1,m
call
1
n+1
n
n+1 G n1,m
"
(4)
for m 1 and n 1. These 2 by 2 games are easily solved recursively, using the boundary
conditions (1). One can find the value and optimal strategies of Gm,n after one finds the
values of Gn,m1 and
! Gn1,m "and uses (2). For example, the game G1,1 reduces to the
3/4 1/4
game with matrix
. The value of this game is 1/2, an optimal strategy for
0
1
II 64
Player I is (2/3,1/3) (i.e. blu with probability 1/3), and the optimal strategy of player
II is (1/2,1/2).
One can also show that for all m 1 and n 1 these games do not have saddle points.
In fact, one can show more: that Val(Gm,n ) is nondecreasing in m and nonincreasing in n.
(The
! more "cards you have in your hand, the better.) Let Vm,n = Val(Gm,n ). Then using
a b
Val
= (ad bc)/(a + d b c), we have after some algebra
c d
Vm,n = Val
=
n
(1
n+1
Vn1,m ) +
(1 Vn,m1 )
1
n+1
n
(1
n+1
Vn1,m )
1
"
for m 1 and n 1. This provides a simple direct way to compute the values recursively.
The following table gives the computed values as well as the optimal strategies for the
players for small values of m and n.
1
0.5000
0.3333
0.5000
0.5000
0.2500
0.5000
0.4000
0.2000
0.4000
0.3750
0.1667
0.3750
0.3333
0.1429
0.3333
0.3125
0.1250
0.3125
0.6667
0.5000
0.3333
0.5556
0.3333
0.3333
0.5111
0.2667
0.2889
0.4500
0.2143
0.2500
0.4225
0.1818
0.2301
0.3871
0.1563
0.2055
0.6875
0.5000
0.3750
0.6250
0.3750
0.3250
0.5476
0.2857
0.2762
0.5126
0.2361
0.2466
0.4667
0.1967
0.2167
0.4411
0.1701
0.1984
0.7333
0.5556
0.3333
0.6469
0.3947
0.3092
0.5966
0.3134
0.2634
0.5431
0.2511
0.2342
0.5121
0.2122
0.2118
0.4749
0.1806
0.1899
0.7500
0.5714
0.3333
0.6809
0.4255
0.2908
0.6189
0.3278
0.2566
0.5810
0.2691
0.2284
0.5389
0.2229
0.2062
0.5112
0.1917
0.1885
0.7714
0.6000
0.3143
0.6972
0.4410
0.2834
0.6482
0.3488
0.2461
0.6024
0.2808
0.2236
0.5704
0.2362
0.2028
0.5353
0.2003
0.1854
m\n
Table of values and optimal strategies of Gm,n for 1 m, n 6. The top number in each
box is the value, the middle number is the probability with which Player I should blu,
and the bottom number is the probability with which Player II should call the asked card.
II 65
This is an infinite game. If the players always play the first row and first column, the game
will be played forever. No matter how unlikely such a possibility is, the mathematical
definition is not complete until we say what the payo is if G is played forever. Let us say
that II pays I Q units if they both choose their first pure strategy forever, and write
G=
G
1
1
0
"
, Q.
We are not automatically assured the existence of a value or the existence of optimal
strategies in infinite games. However, it is easy to see that the value of G exists and is
equal to 1 no matter what the value of the number Q is. The analysis can be made as
follows.
II can restrict her losses to at most 1 by choosing the second column. If Q 1, I can
guarantee winning at least 1 by playing his first row forever. But if Q < 1, this wont work.
It turns out that an optimal strategy for I, guaranteeing him at least 1, does not exist in
this case. However, for any > 0 there is a strategy for I that guarantees him an average
gain of at least 1 . Such a strategy, that guarantees a player an average payo within
of the value, is called -optimal. In this case, the strategy that continually uses the
mixed strategy (1 , ) (top row with probability 1 and bottom row with probability
) is -optimal for I. The use of such a strategy by I insures that he will eventually choose
row 2, so that the payo is bound to be 0 or 1 and never Q. The best that Player II can
do against this strategy is to choose column 2 immediately, hoping that I chooses row 2.
The expected payo would then be 1 (1 ) + 0 = 1 .
In summary, for the game G above, the value is 1; Player II has an optimal strategy,
namely column 2; If Q 1, the first row forever is optimal for I; if Q < 1, there is no
optimal strategy for I, but the strategy (1 , ) forever is -optimal for I.
Consider now the game
G0 =
G0
1
5
0
"
, Q.
For this game, the value depends on Q. If Q 1, the first row forever is optimal for I,
and the value is Q if 1 Q 5, and the value is 5 if Q 5. For Q < 1, the value is 1;
however, in contrast to the game G above, I has an optimal strategy for the game G0 , for
example (1/2, 1/2) forever. IIs optimal strategy is the first column forever if Q < 5, the
second column if Q > 5 and anything if Q = 5.
In analogy to what we did for games with games as components, we might attempt
to find the value v of such a game by replacing G0 by v in the matrix and solving the
II 66
equation
v = Val
v
1
5
0
"
for v. Here there are many solutions to this equation. The set of all solutions to this
equation is the set of numbers v in the interval 1 v 5. (Check this!)
This illustrates a general result that the equation, given by equating v to the value of
the game obtained by replacing the game in the matrix by v, always has a solution equal
to the value of the game. It may have more solutions but the value of the game is that
solution that is closest to Q. For more information on these points, consult the papers of
Everett (1957) and of Milnor and Shapley (1957).
Example 3. Let
G= 1
0
v = Val 1
0
0
G , Q.
1
1
0
G
1
0
v
0
1+v
.
v =
3
1
This equation has a unique solution, v = 1/2. This must be the value for all Q. The
strategy (1/3,1/3,1/3) forever is optimal for both players.
Example 4. The basic game of Dare is played as follows. Player I, the leader, and Player
II, the challenger, simultaneously pass or dare. If both pass, the payo is zero (and
the game is over). If I passes and II dares, I wins 1. If I dares and II passes, I wins 3. If
both dare, the basic game is played over with the roles of the players reversed (the leader
becomes the challenger and vice versa). If the players keep daring forever, let the payo
be zero. We might write
pass dare
!
"
pass
0
1
G=
dare
3
GT
where GT represents the game with the roles of the players reversed. (Its matrix is the
negative of the transpose of the matrix G.) The value of GT is the negative of the value
of G.
If v represents the value of G, then v 0 because of the top row. Therefore the matrix
for G with GT replaced by v does not have a saddle point, and we have
!
"
3
0 1
.
v = Val
=
3 v
4+v
solution is
Thisgives the quadratic equation, v 2 + 4v 3 = 0. The only
nonnegative
optimal
strategy
for
I
is
((5
7)/3,
(
7
2)/3)
and the
v = 7 2 = .64575 . The
games.
"
!
1
G1
G3 =
0
2
2
0
"
and suppose the payo if the games are played forever is Q. Let us attempt to solve these
games. Let v1 = Val(G1 ), v2 = Val(G2 ), and v3 = Val(G3 ). Player I can guarantee that
v1 > 0, v2 > 0 and v3 > 0 by playing (1/2, 1/2) forever. In addition, v2 1 and v3 2,
which implies v1 < 1. Therefore none of the games has a saddle point and we may write
v1 =
v2 v3
,
v2 + v3
v2 =
1
,
2 v1
v3 =
4
.
4 v1
value
2/5
5/8
10/9
eventually the game would end with a payo of 0 or 2. Thus we do not need to specify
any payo if play continues forever. To solve, let vi = Val(Gi ) for i = 1, 2. Then 0 v1 1
and 1 v2 0, so neither game has a saddle point. Hence,
!1
"
4
v2 1
2
v1 = Val
and
=
2
0
6 v2
!2
"
2
2(1 v1 )
v
0
1
3
v2 = Val 3
=
0
1
5 2v1
Thus
v1 =
4
6+
2(1v1 )
52v1
2(5 2v1 )
.
16 7v1
This leads to the quadratic equation, 7v12 20v1 +10 = 0, with solution, v1 =
(10 30)/7 =
.646 . We may substitute back into the equation for v2 to find v2 = (2 30 10)/5 =
.191 . From these values one can easily find the optimal strategies for the two games.
Example 7. A coin with probability 2/3 of heads is tossed. Both players must guess
whether the coin will land heads or tails. If I is right and II is wrong, I wins 1 if the coin
is heads and 4 if the coin is tails and the game is over. If I is wrong and II is right, there
is no payo and the game is over. If both players are right, the game is played over. But
if both players are wrong, the game is played over with the roles of the players reversed.
If the game never ends, the payo is Q.
If we denote this game by G, then
!2
G + 13 (GT )
G = 32
1
3 (0) + 3 (4)
2
(1)
3
+ 13 (0)
2
1
T
3 (G ) + 3 G
"
!1
2
3
13 v
3v
4
3
"
If v 2, then there is a saddle at the upper right corner with v = 2/3. This contradiction
shows that v < 2 and there is no saddle. Therefore,
v=
8 + v2
18
or
v 2 18v + 8 = 0.
73 = .456
73 7
13 73
,
) = (.743 , .256 )
(
6
6
II 69
11 73
73 5
(
,
) = (.409 , .591 ).
6
6
The value and optimal strategies are independent of Q.
6.5 Stochastic Games. If to the features of the games of the previous section is
added the possibility of a payo at each stage until the game ends, the game is called
a Stochastic Game. This seems to be the proper level of generality for theoretical
treatment of multistage games. It is an area of intense contemporary research. See for
example the books of Filar and Vrieze (1997) and Maitra and Sudderth (1996). Stochastic
games were introduced by Shapley in (1953) in a beautiful paper that has been reprinted
in Raghavan et al. (1991), and more recently in Kuhn (1997). In this section, we present
Shapleys main result.
A Stochastic Game, G, consists of a finite set of positions or states, {1, 2, . . . , N}, one
of which is specified as the starting position. We denote by G(k) the game in which k is the
, (k) starting position. Associated with each state, k, is a matrix game, A(k) = aij . If the
stochastic game is in state k, the players simultaneously choose a row and column of A(k) ,
(k)
say i and j. As a result, two things happen. First, Player I wins the amount aij from
Player II. Second, with probabilities that depend on i, j and k, the game either stops, or
it moves to another state (possibly the same one). The probability that the game stops is
(k)
(k)
denoted by sij , and the probability that the next state is is denoted by Pij (), where
(k)
sij
N
*
(k)
Pij () = 1
(5)
=1
(6)
Under this assumption, the probability is one that the game ends in a finite number of
moves. This assumption also makes the expected accumulated payo finite no matter how
the game is played, since if M denotes the largest of the absolute values of the payos,
(k)
M = maxi,j,k |aij |, then the total expected payo to either player is bounded by
M + (1 s)M + (1 s)2 M + = M/s.
(7)
Player I wishes to maximize the total accumulated payo and Player II to minimize
it. We use a modification of the notation of the previous section to describe this game.
II 70
G(k) =
(k)
aij +
N
*
(k)
Pij () G()
=1
(8)
Note that the probabilities in each component of this matrix sum to less than one. It is
(k)
understood that with the remaining probability, sij , the game ends. It should be noted
that in contrast to the previous section, a payo does not end the game. After a payo is
made, it is then decided at random whether the game ends and, if not, which state should
be played next.
Since no upper bound can be placed on the length of the game, this is an infinite
game. A strategy for a player must specify for every n how to choose an action if the game
reaches stage n. In general, theory does not guarantee a value. Moreover, the choice of
what to do at stage n may depend on what happened at all previous stages, so the space
of possible strategies is extremely complex.
Nevertheless, in stochastic games, the value and optimal strategies for the players
exist for every starting position. Moreover, optimal strategies exist that have a very simple
form. Strategies that prescribe for a player a probability distribution over his choices that
depends only on the game, Gk , being played and not on the stage n or past history are
called stationary strategies. The following theorem states that there exist stationary
optimal strategies.
Theorem 1. (Shapley (1952)) Each game G(k) has a value, v(k). These values are the
unique solution of the set of equations,
v(k) = Val
(k)
aij
N
*
(k)
Pij () v()
=1
for k = 1, . . . , N.
(9)
Each player has a stationary optimal strategy that in state k uses the optimal mixed
strategy for the game with matrix
A(k) (v) =
(k)
aij +
N
*
=1
(k)
Pij () v()
(10)
From Player IIs viewpoint, column 1 is better than column 2 in terms of immediate payo,
but column 2 is more likely to end the game sooner than column 1, so that it should entail
smaller future payos. Which column should she choose?
Assume that all strategies are active, i.e. that the game does not have a saddle point.
We must check when we are finished to see if the assumption was correct. Then
v = Val
=
1 + (3/5)v
1 + (4/5)v
3 + (1/5)v
2 + (2/5)v
"
This leads to
(2/25)v 2 = 1.
Solving this quadratic equation gives two possible solutions v = 25/2 = (5/2)
2.
Since the value is obviously positive, we must use the plus sign. This is v = (5/2) 2 =
3.535. If we put this value into the matrix above, it becomes
"
!
1 + (3/2)
2
3
+
(1/2)
2
1+2 2
2+ 2
1,
2
2) = (.414, .586),
and the optimal strategy for Player II is q = (1 2/2, 2/2) = (.293, .707). Since these
are probability
vectors, our assumption is correct and these are the optimal strategies, and
First we make a guess at the solution, call it v0 = (v0 (1), . . . , v0 (N )). Any guess will
do. We may use all zeros as the initial guess, v0 = 0 = (0, . . . , 0). Then given vn , we
define inductively, vn+1, by the equations,
vn+1(k) = Val
(k)
aij
N
*
(k)
Pij () vn ()
=1
for k = 1, . . . , N.
(11)
With v0 = 0, the vn (k) have an easily understood interpretation. vn (k) is the value of the
stochastic game starting in state k if there is forced stopping if the game reaches stage n.
In particular, v1 (k) = Val(Ak ) for all k.
The proof of Theorem 1 shows that vn (k) converges to the true value, v(k), of the
stochastic game starting at k. Two useful facts should be noted. First, the convergence
II 72
is at an exponential rate: the maximum error goes down at least as fast as (1 s)n .
(See Corollary 1 of Appendix 2.) Second, the maximum error at stage n + 1 is at most
the maximum change from stage n to n + 1 multiplied by (1 s)/s. (See Corollary 2 of
Appendix 2.)
Let us take an example of a stochastic game with two positions. The corresponding
games G(1) and G(2), are related as follows.
!
!
"
"
4 + .3G(1) 0 + .4G(2)
0 + .5G(1)
5
(1)
(2)
G =
G =
1 + .4G(2) 3 + .5G(1)
4
1 + .5G(2)
Using v0 = (0, 0) as the initial guess, we find v1 = (2, 2), since
!
"
!
"
4 0
0 5
=2
v1 (2) = Val
= 2.
v1 (1) = Val
1 3
4 1
The next iteration gives
!
"
4.6 .8
= 2.0174
v2 (1) = Val
.2
4
Continuing, we find
v3 (1) = 2.0210
v4 (1) = 2.0220
v5 (1) = 2.0224
v6 (1) = 2.0225
v2 (2) = Val
1 5
4 0
"
= 2.
v3 (2) = 1.9983
v4 (2) = 1.9977
v5 (2) = 1.9974
v6 (2) = 1.9974
The smallest stopping probability is .5, so the rate of convergence is at least (.5)n and the
maximum error of v6 is at most .0002.
The optimal strategies using v6 are easily found. For game G(1), the optimal strategies
are p(1) = (.4134, .5866) for Player I and q (1) = (.5219, .4718) for Player II. For game G(2),
the optimal strategies are p(2) = (.3996, .6004) for Player I and q (2) = (.4995, .5005) for
Player II.
6.7 Exercises
1.(a) Solve the system of games
!
"
"
!
4 3
0 G1
G1 =
G=
1 2
G2 G3
G2 =
0
5
6
1
"
G3 =
0
0
5
1
(b2)
6
3
0
0
0
0
2
4
2
5
0
0
II 73
3
1
1
1
1
3
4
1
1
5
5
1
1
1
2
2
2
6
4
2
2
3
7
0 2
2 0
"
2. The Inspection Game. Let Gm,n denote the inspection game in which I is
allowed m inspections in the n time periods. (Thus, for 1 n m, Val(Gm,n ) = 1, while
for n 1, Val(G0,n ) = 0.) Find the iterative structure of the games and solve.
3 2
1 G1
"
, . . . , Gn =
n+3
n+1
n+2
Gn+1
"
,...
G 1 1
(b) Solve the game G = 1 0 G , Q.
1 G 0
7. Consider the following three related games.
G1 =
G2
1
1
0
"
G2 =
G3
0
0
2
"
G3 =
G1
1
1
0
"
and suppose the payo is Q if the games are played forever. Solve.
8. Consider the following three related games.
G1
G1 = G2
G3
G2
G3
G1
G3
G1
G2
G2 =
G1
0
0
2
"
G3 =
and suppose the payo is Q if the games are played forever. Solve.
II 74
G2
1
1
0
"
9. There is one point to go in the match. The player that wins the last point while
serving wins the match. The server has two strategies, high and low. The receiver has
two strategies, near and far. The probability the server wins the point is given in the
accompanying table.
near
far
high
.8
.5
low
.6
.7
If the server misses the point, the roles of the players are interchanged and the win probabilities for given pure strategies are the same for the new server. Find optimal strategies
for server and receiver, and find the probability the server wins the match.
10. Player I tosses a coin with probability p of heads. For each k = 1, 2, . . ., if I tosses
k heads in a row he may stop and challenge II to toss the same number of heads; then II
tosses the coin and wins if and only if he tosses k heads in a row. If I tosses tails before
challenging II, then the game is repeated with the roles of the players reversed. If neither
player ever challenges, the game is a draw.
(a) Solve when p = 1/2.
(b) For arbitrary p, what are the optimal strategies of the players? Find the limit as p 1
of the probability that I wins.
11. Solve the following stochastic game.
G=
4
0
1 + (1/3)G
1 + (2/3)G
"
2
0
2 + (1/2)G(2)
4 + (1/2)G(2)
"
(2)
4
2 + (1/2)G(1)
0
4 + (1/2)G(1)
"
(a) Solve the equations (9) exactly for the values v(1) and v(2).
(b) Carry out Shapley iteration to find v2 starting with the initial guess v0 = (0, 0),
and compare with the exact values found in (a).
II 75
7. Infinite Games.
In this Chapter, we treat infinite two-person, zero-sum games. These are games
(X, Y, A), in which at least one of the strategy sets, X and Y , is an infinite set. The
famous example of Exercise 4.7.3, he-who-chooses-the-larger-integer-wins, shows that an
infinite game may not have a value. Even worse, the example of Exercise 4.7.5 shows
that the notion of a value may not even make sense in infinite games without further
restrictions. This latter problem will be avoided when we assume that the function A(x, y)
is either bounded above or bounded below.
7.1 The Minimax Theorem for Semi-Finite Games. The minimax theorem for
finite games states that every finite game has a value and both players have optimal mixed
strategies. The first theorem below generalizes this result to the case where only one of
the players has a finite number of pure strategies. The conclusion is that the value exists
and the player with a finite number of pure strategies has an optimal mixed strategy. But
first we must discuss mixed strategies and near optimal strategies for infinite games.
Mixed Strategies for Infinite Games: First note that for infinite games, the notion
of a mixed strategy is somewhat open to choice. Suppose the strategy set, Y , of Player
II is infinite. The simplest choice of a mixed strategy is a finite distribution over Y .
This is a distribution that gives all its probability to a finite number of points. Such a
distribution is described by a finite number of points of Y , say y1 , y2 , . . . , yn , and a set of
probabilities, q1 , q2 , . . . , qn summing to one with the understanding that point yj is chosen
with probability qj . We will denote the set of finite distributions on Y by YF .
When Y is an interval of the real line, we may allow as a mixed strategy any distribution over Y given by its distribution function, F (z). Here, F (z) represents the probabiity
that the randomly chosen pure strategy, y, is less than or equal to z. The advantage of
enlarging the set of mixed strategies is that it then becomes more likely that an optimal
mixed strategy will exist. The payo for using such a strategy is denoted by A(x, F ) for
x X.
Near Optimal Strategies for Infinite Games: When a game has a finite value and
an optimal strategy for a player does not exist, that player must be content to choosing
a strategy that comes within of achieving the value of the game for some small > 0.
Such a strategy is called an -optimal strategy and was discussed in Chapter 6.
**
i
pi A(xi , yj )qj .
(1)
We denote the set of mixed strategies of Player II by Y , but we shall always assume that
YF Y .
Consider the semi-finite two-person zero-sum game, (X, Y, A), in which X is a finite
set, Y is an arbitrary set, and A(x, y) is the payo function the winnings of Player I
if he chooses x X and Player II chooses y Y . To avoid the the possibility that the
average payo does not exist or that the value might be , we assume that the payo
function, A(x, y), is bounded below. By bounded below, we mean that there is a number
M such that A(x, y) > M for all x X and all y Y . This assumption is weak from
the point of view of utility theory because, as mentioned in Appendix 1, it is customary
to assume that utility is bounded.
It is remarkable that the minimax theorem still holds in this situation. Specifically
the value exists and Player I has a minimax strategy. In addition, for every > 0, Player
II has an -minimax strategy within YF .
Theorem 7.1. If X is finite and A is bounded below, then the game (X, Y, A) has a finite
value and Player I has an optimal mixed strategy. In addition, if X has m elements, then
Player II has near optimal strategies that give weight to at most m points of Y .
This theorem is valid without the asumption that A is bounded below provided Player
II is restricted to finite strategies, i.e. Y = YF . See Exercise 1. However, the value may
be , and the notion of near optimal strategies must be extended to this case.
By symmetry, if Y is finite and A is bounded above, then the game (X, Y, A) has a
value and Player II has an optimal mixed strategy.
Solving Semi-Finite Games. Here are two methods that may be used to solve semifinite games. We take X to be the finite set, X = {x1 , . . . , xm }.
METHOD 1. The first method is similar to the method used to solve 2 n games
presented in Section 2.2. For each fixed y '
Y , the payo, A(p, y), is a linear function of p
Example 1. Player I chooses x {x1 , x2 }, Player II chooses y [0, 1], and the payo
1
y
if x = x1
A(x, y) =
2
(1 y) if x = x2
II 77
y=1
y=2/3
y=1/2
A(p, y)
y=.382
y=1/4
0
.553
Figure 7.1
y=0
Let p denote the probability that Player I chooses x1 and let p = (p, 1p). For a given
choice of y Y by Player II, the expected payo to Player I is A(p, y) = py+(1p)(1y)2 .
The minimum of A(p, y) over y occurs at p (1 p)2(1 y) = 0, or y = (2 3p)/(2 2p);
except that for p > 2/3, the minimum occurs at y = 0. So, the lower envelope is
f(p) = min A(p, y) =
y
p 45p
44p
1p
if p 2/3
if p 2/3
Start with some c such that the wedge Wc contains no points of s, i.e. Wc S = . Such
a value of c exists from the assumption that S is bounded below. Now increase c and so
push the wedge up to the right until it just touches S. See Figure 7.2(a). This gives the
value of the game:
v = sup{c : Wc S = }.
Any point s Wv S is an optimal pure strategy for Player II. It guarantees that II will
lose no more than v. Such a strategy will exist if S is closed. If Wv S is empty, then
any point s Wv+ S is an -optimal strategy for Player II. The point (v, . . . , v) is not
necessarily an optimal strategy for Player II. The optimal strategy could be on the side of
the wedge as in Figure 7.2(b).
(v,v)
(v,v)
Wv
(0,0)
Wv
(0,0)
Figure 7.2(a)
Figure 7.2(b)
To find an optimal strategy for Player I, first find a plane that separates Wv and S,
i.e. that keeps Wv on one side and S on the other. Then find the vector perpendicular to
this plane, i.e. the normal vector. The optimal strategy of Player I is the mixed strategy
with components proportional to this normal vector.
Example 2. Let S be the set S = {(y1 , y2 ) : y1 0, y2 (1y1 )2 }. This is essentially
2
the same as Example 1. The wedge first hits S at the
vertex (v, v) when v = (1 v) . The
solution to this equation gives the value, v = (3 5)/2. The point (v, v) is optimal for
2
Player II. To find Player Is optimal strategy, we find the slope of the curve y2 = (1y1 )
at
the point (v, v). The slope of the curve is 2(1y1 ), which at y1 = v is 2(1v)
=
1
5.
Example 1. Consider the game (X, Y, A), where X = Y = [0, 1], the unit interval,
1
g(x y)
if 0 y x
A(x, y) =
g(1 + x y) if 0 x < y 1,
where g is a continuous function defined on [0, 1], with g(0) = g(1). Here, both X and
Y are the set of probability distributions on the unit interval.
Since X and Y are compact and A(x, y) is continuous on [0, 1]2 , we have by Theorem
7.2, that the game has a value and the players have optimal strategies. Let us check that
the optimal strategies for both players is the uniform distribution on [0, 1]. If Player I uses
a uniform on [0,1] to choose x and Player II uses the pure strategy y [0, 1], the expected
payo to Player I is
2
A(x, y) dx =
y
0
g(1 + x y) dx +
1
1y
g(u) du +
1y
0
1
y
g(x y) dx
g(u) du =
g(u) du
0
The dual statement for convex functions is: If Y is compact and convex in Rn , and
if A is bounded above and is convex in y Y for all x X, then the game has a value,
Player II has an optimal pure strategy and Player I has -optimal strategies giving weight
to at most n + 1 points..
These games may be solved by a method similar to Method 1 of Section 7.1. Lets
see how to find the optimal strategy of Player II in the convex functio case. Let g(y) =
supx A(x, y) be the upper envelope. Then g(y) is finite since A is bounded above. It is also
convex since the supremum of any set of convex functions is convex. Then since convex
functions defined on a compact set attain their maximum, there exists a point y at which
g(y) takes on its maximum value, so that
A(x, y ) max A(x, y ) = g(y )
x
for all x X.
Any such point is an optimal pure strategy for Player II. By choosing y , Player II will
lose no more than g(y ) no matter what Player I does. Player Is optimal strategy is
more complex to describe in general; it gives weight only to points that play a role in the
upper envelope at the point y . These are points x such that A(x, y) is tangent (or nearly
tangent if only -optimal strategies exist) to the surface g(y) at y . It is best to consider
examples.
Example 1. Estimation. Player I chooses a point x X = [0, 1], and Player II
tries to choose a point y Y = [0, 1] close to x. Player II loses the square of the distance
from x to y: A(x, y) = (x y)2 . This is a convex function of y [0, 1] for all x X.
For any x, A(x, y) is bounded above by either A(0, y) or A(1, y) so the upper envelope
is g(y) = max{A(0, y), A(1, y)} = max{y 2 , (1 y)2 }. This is minimized at y = 1/2. If
Player II uses y , she is guaranteed to lose no more than g(y ) = 1/4.
Since x = 0 and x = 1 are the only two pure strategies influencing the upper envelope,
and since y 2 and (1 y)2 have slopes at y that are equal in absolute value but opposite in
sign, Player I should mix 0 and 1 with equal probability. This mixed strategy has convex
payo (1/2)(A(0, y) + A(1, y)) with slope zero at y . Player I is guaranteed winning at
least 1/4, so v = 1/4 is the value of the game. The pure strategy y is optimal for Player
II and the mixed strategy, 0 with probability 1/2 and 1 with probability 1/2, is optimal for
Player I. In this example, n = 1, and Player Is optimal strategy mixes 2 = n + 1 points.
Theorem 7.4 may also be stated with the roles of the players reversed. If Y is arbitrary,
and if X is a compact subset of Rm and if A(x, y) is bounded below and concave in x X
for all y Y , then Player I has an optimal pure strategy, and Player II has an -optimal
strategy mixing at most m + 1 pure strategies. It may also happen that A(x, y) is concave
in x for all y, and convex in y for all x. In that case, both players have optimal pure
strategies as in the following example.
Example 2. A Convex-Concave Game. Suppose X = Y = [0, 1], and A(x, y) =
2x2 + 4xy + y 2 2x 3y + 1. The payo is convex in y for all x and concave in x for all y.
Therefore, both players have pure optimal strategies, say x0 and y0 . If Player II uses y0 ,
II 82
A(x, y0 ) = 4x + 4y0 2. So
with respect to x: x
x0 =
if x0 1/4
1
y0 = (1/2)(3 4x0 ) if 1/4 x0 3/4
0
if x0 3/4.
y A(x0 , y)
= 4x0 +
These two equations are satisfied only if x0 = y0 (1/2) and y0 = (1/2)(3 4x0 ). It is
then easily found that x0 = 1/3 and y0 = 5/6. The value is A(x0 , y0 ) = 7/12.
It may be easier here to find the saddle-point of the surface, z = 2x2 + 4xy + y 2
2x 3y + 1, and if the saddle-point is in the unit square, then that is the solution. But
the method used here shows what must be done in general.
7.4 Solving Games. There are many interesting games that are more complex and
that require a good deal of thought and ingenuity to find solutions. There is one tool
for solving such games that is basic. This is the infinite game analog of the principle of
indierence given in Chapter 3: Search for strategies that make the opponent indierent
among all his good pure strategies.
To be more specific, consider the game (X, Y, A) with X = Y = [0, 1] and A(x, y)
continuous. Let v denote the value of the game and let P denote the distribution that
represents the optimal strategy for Player I. Then, A(P, y) must be equal to v for all
good y, which here means for all y in the support of Q for any Q that is optimal for
Player II. (A point y is in the support of Q if the Q probability of the interval (y , y + )
is positive for all > 0.) So to attempt to find the optimal P , we guess at the set, S, of
good points y for Player II and search for a distribution P such that A(P, y) is constant
on S. Such a strategy, P , is called an equalizer strategy on S. The first example shows
what is involved in this.
Example 1. Meeting Someone at the Train Station. A young lady is due to
arrive at a train station at some random time, T, distributed uniformly between noon and
1 PM. She is to wait there until one of her two suitors arrives to pick her up. Each suitor
chooses a time in [0,1] to arrive. If he finds the young lady there, he departs immediately
with her; otherwise, he leaves immediately, disappointed. If either suitor is successful in
meeting the young lady, he receives 1 unit from the other. If they choose the same time
to arrive, there is no payo. Also, if they both arrive before the young lady arrives, the
payo is zero. (She takes a taxi at 1 PM.)
Solution: Denote the suitors by I and II, and their strategy spaces by X = [0, 1]
and Y = [0, 1]. Let us find the function A(x, y) that represents Is expected winnings if I
chooses x X and II chooses y Y . If x < y, I wins 1 if T < x and loses 1 if x < T < y.
II 83
The probability of the first is x and the probability of the second is y x, so A(x, y) is
x (y x) = 2x y when x < y. When y < x, a similar analysis shows A(x, y) = x 2y,
Thus,
+
2x y if x < y
(1)
A(x, y) = x 2y if x > y
0
if x = y.
This payo function is not continuous, nor is it upper semicontinuous or lower semicontinuous. It is symmetric in the players so if it has a value, the value is zero and the players
have the same optimal strategy.
Let us search for an equalizer strategy for Player I and assume it has a density f(x)
on [0,1]. We would have
A(f, y) =
=
y
0
y
(2x y)f(x) dx +
(x + y)f(x) dx +
y
1
(x 2y)f(x) dx
(2)
(x 2y)f(x) dx = constant
f(x) dx 2
f(x) dx = 0
(3)
or
3
f (y)
= .
f(y)
2y
(4)
If we think more about the problem, we can see that it cannot be good to come in very
early. There is too little chance that the young lady has arrived. So perhaps the good
points are only those from some point a > 0 on. That is, we should look for a density
f(x) on [a, 1] that is an equalizer from a on. So in (2) we replace the integrals from 0 to
integrals from a and assume y > a. The derivative with respect to y gives (3) with the
integrals starting from a rather than 0. And the second derivative is (4) exactly. We have
the same solution (5) but for y > a. This time the resulting f(y) on [a, 1] is a density if
k
3/2
dx = 2
1/2
dx
a
II 84
2(1 a)
=
a
(6)
We now need to find a. That may be done by solving equation (3) with the integrals
starting at a.
2 y
3/2
+
kx3/2 dx 2 = 2ky 1/2 2k(y 1/2 a1/2 ) 2 = 2ka1/2 2 = 0
2yky
a
is an equalizer for y > 1/4 and is therefore a good candidate for the optimal strategy. We
should still check at points y less than 1/4. For y < 1/4, we have from (2) and (7)
2 1
2 1
1
1
3/2
dx 2y = 2y.
A(f, y) =
(x 2y)(1/2)x
dx =
2
1/4
1/4 2 x
So
A(f, y) =
(1 4y)/2
0
(8)
This guarantees I at least 0 no matter what II does. Since II can use the same strategy,
The value of the game is 0 and (7) is an optimal strategy for both players.
Example 2. Competing Investors. Two investors compete to see which of them,
starting with the same initial fortune, can end up with the larger fortune. The rules of
the competition require that they invest only in fair games. That is, they can only invest
non-negative amounts in games whose expected return per unit invested is 1.
Suppose the investors start with 1 unit of fortune each (and we assume money is
infinitely divisible). Thus no matter what they do, their expected fortune at the end is
equal to their initial fortune, 1.
Thus the players have the same pure strategy sets. They both choose a distribution
on [0, ) with mean 1, say Player I chooses F with mean 1, and Player II chooses G with
mean 1. Then Z1 is chosen from F and Z2 is chosen from G independently, and I wins
if Z1 > Z2 , II wins if Z2 > Z1 and it is a tie if Z1 = Z2 . What distributions should the
investors choose?
The game is symmetric in the players, so the value if it exists is zero, and both players
have the same optimal strategy. Here the strategy spaces are very large, much larger than
in the Euclidean case. But it turns out that the solution is easy to describe. The optimal
strategy for both players is the uniform distribution on the interval (0,2):
7
F (z) = z/2 for 0 z 2
1
for z > 2
This is a distribution on [0, ] with mean 1 and so it is an element of the strategy space
of both players. Suppose Player I uses F . Then the probability that I loses is
P(Z1 < Z2 ) = E[P(Z1 < Z2 |Z2 )] E[Z2 /2] = (1/2)E[Z2 ] = 1/2.
II 85
So the probability I wins is at least 1/2. Since the game is symmetric, Player II by using
the same strategy can keep Player Is probability of winning to at most 1/2.
7.5 Uniform[0,1] Poker Models. The study of two-person Uniform[0,1] poker
models goes back to Borel (1938) and von Neumann (1944). We present these two models
here. In these models, the set of possible hands of the players is the interval, [0, 1].
Players I and II are dealt hands x and y respectively in [0, 1] according to a uniform
distribution over the interval [0, 1]. Throughout the play, both players know the value of
their own hand, but not that of the opponent. We assume that x and y are independent
random variables; that is, learning the value of his own hand gives a player no information
about the hand of his opponent.
There follows some rounds of betting in which the players take turns acting. After
the dealing of the hands, all actions that the players take are announced. Except for the
dealing of the hands at the start of the game, this would be a game of perfect information.
Games of this sort, where, after an initial random move giving secret information to the
players, the game is played with no further random moves of nature, are called games of
almost perfect information (See Sorin and Ponssard (1980).
It is convenient to study the action part of games of almost complete information by
what we call the betting tree. This is distinct from the Kuhn tree in that it neglects the
information sets that may arise from the initial distribution of hands. The examples below
illustrate this concept.
The Borel Model: La Relance. Both players contribute an ante of 1 unit into the
pot and receive independent uniform hands on the interval [0, 1]. Player I acts first either
by folding and thus conceding the pot to Player II, or by betting a prescribed amount
> 0 which he adds to the pot. If Player I bets, then Player II acts either by folding and
thus conceding the pot to Player I, or by calling and adding to the pot. If Player II calls
the bet of Player I, the hands are compared and the player with the higher hand wins the
entire pot. That is, if x > y then Player I wins the pot; if x < y then Player II wins the
pot. We do not have to consider the case x = y since this occurs with probability 0.
The betting tree is
I
bet
fold
II
call
fold
( +1)
+1
In this diagram, the plus-or-minus sign indicates that the hands are compared, and
the higher hand wins the amount + 1.
II 86
It is easy to see that the optimal strategy for Player II must be of the form for some
number b in the interval [0,1]: fold if y < b and call if y > b. The optimal value of b may be
found using the principle of indierence. Player II chooses b to make I indierent between
betting and folding when I has some hand x < b. If I bets with such an x, he, wins 2 (the
pot) if II has y < b and loses if II has y > b. His expected winnings are in this case,
2b (1 b). On the other hand, if I folds he wins nothing. (This views the game as a
constant-sum game. It views the money already put into the pot as a sunk cost, and so
the sum of the payos of the players is 2 whatever the outcome. This is a minor point but
it is the way most poker players view the pot.) He will be indierent between betting and
folding if
2b (1 b) = 0
from which we conclude
b = /(2 + ).
(1)
Player Is optimal strategy is not unique, but all of his optimal strategies are of the
form: if x > b, bet; and if x < b, do anything provided the total probability that you fold
is b2 . For example, I may fold with his worst hands, i.e. with x < b2 , or he may fold with
the best of his hands less than b, i.e. with b b2 < x < b, or he may, for all 0 < x < b,
simply toss a coin with probability b of heads and fold if the coin comes up heads.
The value of the game may be computed as follows. Suppose Player I folds with any
x < b2 and bets otherwise and suppose Player II folds with y < b. Then the payo in the
unit square has the values given in the following diagram. The values in the upper right
corner cancel and the rest is easy to evaluate. The value is v() = ( + 1)(1 b)(b
b2 ) + (1 b2 )b b2 , or, recalling b = /(2 + ),
v() = b2 =
2
.
(2 + )2
(+1)
(+1)
+1
b
+1
0
x
II 87
(2)
We summarize in
Theorem 7.5. The value of la relance is given by (2). An optimal strategy for Player I
is to bet if x > b b2 and to fold otherwise, where b is given in (1). An optimal strategy
for Player II is to call if y > b and to fold otherwise.
As an example, suppose = 2, where the size of the bet is the size of the pot. Then
b = 1/2. An optimal strategy for Player I is to bet if x > 1/4 and fold otherwise; the
optimal strategy of Player II is to call if y > 1/2. The game favors Player II, whose
expected return is 1/4 unit each time the game is played.
If I bets when x < b, he knows he will lose if called, assuming II is using an optimal
strategy. Such a bet is called a blu. In la relance, it is necessary for I to blu with
probability b2 . Which of the hands below b he chooses to blu with is immaterial as far as
the value of the game is concerned. However, there is a secondary advantage to blung
(betting) with the hands just below b, that is, with the hands from b2 to b. Such a strategy
takes maximum advantage of a mistake the other player may make.
A given strategy for a player is called a mistake if there exists an optimal strategy
for the opponent when used against gives the opponent an expected payo better than
the value of the game. In la relance, it is a mistake for Player II to call with some y < b
or to fold with some y > b. If II calls with some y < b, then I can gain from the mistake
most profitably if he blus only with his best hands below b.
A strategy is said to be admissible for a player if no other strategy for that player
does better against one strategy of the opponent without doing worse against some other
strategy of the opponent. The rule of betting if and only if x > b2 is the unique admissible
optimal strategy for Player I.
The von Neumann Model. The model of von Neumann diers from the model of
Borel in one small but significant respect. If Player I does not bet, he does not necessarily
lose the pot. Instead the hands are immediately compared and the higher hand wins the
pot. We say Player I checks rather than folds. This provides a better approximation to
real poker and a clearer example of the concept of blung in poker. The betting tree of
von Neumanns poker is the same as Borels except that the 1 payo on the right branch
is changed to 1.
bet
check
II
call
fold
( +1)
+1
II 88
This time it is Player I that has a unique optimal strategy. It is of the form for some
numbers a and b with a < b: bet if x < a or if x > b, and check otherwise. Although there
are many optimal strategies for Player II (and von Neumann finds all of them), one can
show that there is a unique admissible one and it has the simple form: call if y > c for
some number c. It turns out that 0 < a < c < b < 1.
I: |
0
II:
bet
|
0
fold
check
|
c
|
b
bet
call
|
1
|
1
The region x < a is the region in which Player I blus. It is noteworthy that Player
I must blu with his worst hands, and not with his moderate hands. It is a mistake for
Player I to do otherwise. Here is a rough explanation of this somewhat counterintuitive
feature. Hands below c may be used for blung or checking. For blung it doesnt matter
much which hands are used; one expects to lose them if called. For checking though it
certainly matters; one is better o checking with the better hands.
Let us apply the principle of indierence to find the optimal values of a, b and c. This
will lead to three equations in three unknowns, known as the indierence equations (not
to be confused with dierence equations). First, Player II should be indierent between
folding and calling with a hand y = c. Again we use the gamblers point of view of the
game as a constant sum game, where winning what is already in the pot is considered as
a bonus. If II folds, she wins zero. If she calls with y = c, she wins ( + 2) if x < a and
loses if x > b. Equating her expected winnings gives the first indierence equation,
( + 2)a (1 b) = 0.
(3)
(4)
2b c = 1.
II 89
(5)
The optimal values of a, b and c can be found by solving equations (4) (5) and (6) in
terms of . The solution is
a=
( + 1)( + 4)
b=
2 + 4 + 2
( + 1)( + 4)
c=
( + 3)
.
( + 1)( + 4)
(6)
The value is
v() = a = /(( + 1)( + 4)).
(7)
2. Simultaneously, Player I chooses x {x1 , x2 }, and Player II chooses y [0, 1]; then
I receives
1
y
if x = x1
A(x, y) =
y
e
if x = x2
from II. Find the value and optimal strategies for the players.
3. Player II chooses a point (y1 , y2 ) in the ellipse (y1 3)2 + 4(y2 2)2 4. Simultaneously, Player I chooses a coordinate k {1, 2} and receives yk from Player II. Find the
value and optimal strategies for the players.
4. Solve the two games of Example 2. Hint: Use domination to remove some pure
strategies.
II 90
1
A(x, y) = +1
1
+1
if
if
if
if
if
x=y
x = 0 and y > 0
y = 0 and x > 0
0<y<x
0<x<y
Note that A(x, y) is not usc in x for all y nor lsc in y for all x. Show the game does not
have a value.
6. The Greedy Game. Each player can demand from the other as much as desired
between zero and one, but there is a penalty for being too greedy. The player who demands
more than his opponent must pay a fine of b to the other, where b is a fixed number,
0 b 1/2. Thus we have the game (X, Y, A) where X = Y = [0, 1], and
A(x, y) = x y +
+b if x < y
0 if x = y
b if x > y
Solve.
7. Find optimal strategies and the value of the following games.
1
(x y)2
if x y
(a) X = Y = [0, 1] and A(x, y) =
(Underestimation is the more
2
2(x y) if x y.
serious error of Player II.)
(b) X = Y = [0, 1] and A(x, y) = xey + (1 x)y.
8. Hide and Seek in a Compact, Convex Set. (a) Let S be the triangle in the
plane with vertices (1, 0), (1, 0), and (0, 2). Player I chooses a point x in S in which to
hide, and Player II chooses a point y in S to seek. The payo to Player I is the square
of Euclidean distance between x and y. Thus, X = S, Y = S, and A(x, y) = x y2 .
Solve.
(b) See if you can formulate a procedure for solving the above game of Hide and Seek
if S is an arbitrary compact, convex set in Rn .
9. The Wallet Game. Two players each put a random amount with mean one into
their wallets. The player whose wallet contains the smaller amount wins the larger amount
from the opponent.
Carroll, Jones and Rykken (2001) show that this game does not have a value. But
suppose we restrict the players to putting at most some amount b in their wallets. Here is
the game:
Player I, resp. Player II, chooses a distribution F , resp. G, on the interval [0, b] with
mean 1, where b > 1. Then independent random variables, X from F and Y from G, are
II 91
chosen. If X < Y , Player I wins Y from Player II. If X > Y , Player II wins X from Player
I, and if X = Y , there is no payo. So the payo function is
A(F, G) = E(Y I(X < Y ) XI(X > Y ))
= E((Y + X)I(X < Y )) 1 + E(XI(X = Y )).
(1)
The game is symmetric, so if the value exists, the value is zero, and the players have the
same optimal strategies. Find an optimal strategy for the players. Hint: Search among
distributions F having a density f on the interval (a, b) for some a < 1. Note that the last
term on the right of Equation (1) disappears for such distributions.
10. The Multiplication Game. (See Kent Morrison (2010).) Players I and II
simutaneously select positive numbers x and y. Player I wins +1 if the product xy, written
in decimal form has initial significant digit 1, 2 or 3. Thus, the pure strategy spaces are
X = Y = (0, ) and the payo function is
7
+1 if the initial significant digit is 1, 2 or 3
A(x, y) =
0 otherwise.
Solve.
Hint:(1) First note that both players may restrict their pure strategy sets to X =
Y = [1, 10). so that
A(x, y) = I{1 xy < 4 or 10 xy < 40}.
(2) Take logs to the base 10. Let u = log10 (x) and v = log10 (y). Now, players I and
II choose u and v in [0,1) with payo
B(u, v) = I{0 u + v < c or 1 u + v < 1 + c}
where c = log10 (4) = .60206 . . .. Solve the game in this form and translate back to the
original game.
11. Suppose, in La Relance, that when Player I checks, Player II is given a choice
between checking in which case there is no payo, and calling in which case the hands are
compared and the higher hand wins the antes.
(a) Draw the betting tree.
(b) Assume optimal strategies of the following form. I checks if and only if 0 < a <
x < b < 1 for some a and b. If I bets, then II calls i y > c, and if Player I checks, Player
II calls i y > d, where a c b and a d b. Find the indierence equations.
(c) Solve the equations when = 2, and find the value in this case. Which player has
the advantage?
12. Last Round Betting. Here is a game that occurs in the last round of blackjack
or baccarat tournaments, and also in the television game show, Final Jeopardy. For the
general game, see Ferguson and Melolidakis (1997).
II 92
In the last round of betting in a contest to see who can end up with the most money,
Player I starts with $70 and Player II starts with $100. Simultaneously, Player I must
choose an amount to bet between $0 and $70 and Player II must choose an amount between
$0 and $100. Then the players independently play games with probability .6 of winning
the bet and .4 of losing it. The player who has the most money at the end wins a big prize.
If they end up with the same amount of money, they share the prize.
We may set this up as a game (X, Y, A), with X = [0, 0.7], Y = [0, 1.0], measured in
units of $100, and assuming money is infinitely divisible. We assume the payo, A(x, y),
is the probability that Player I wins the game plus one-half the probabiity of a tie, when
I bets x and II bets y. The probability that both players win their bets is .6 .6 = .36,
the probability that both players lose their bets is .4 .4 = .16, and the probability that I
wins his bet and II loses her bet is .6 .4 = .24. Therefore,
P(I wins) = .36 I(.7 + x > 1 + y) + .24 I(.7 + x > 1 y) + .16 I(.7 x > 1 y)
= .36 I(x y > .3) + .24 I(x + y > .3) + .16 I(y x > .3)
P(a tie) = .36 I(.7 + x = 1 + y) + .24 I(.7 + x = 1 y) + .16 I(.7 x = 1 y)
= .36 I(x y = .3) + .24 I(x + y = .3) + .16 I(y x = .3)
.60
.40
.00
.24
1
A(x, y) = P(I wins) + P(a tie) = .42
.32
.12
.30
.20
if
if
if
if
if
if
if
if
if
y < x .3
y > x + .3
y + x < .3
y > x .3, y < x + .3, y + x > .3
0 < y = x .3
0 < x = y .3
x + y = .3, x > 0, y > 0
x = .3, y = 0
x = 0, y = .3
Find the value of the game and optimal strategies for both players. (Hint: Both players
have an optimal strategy that give probability to only two points.)
II 93
References.
Robert J. Aumann and Michael B. Maschler (1995) Repeated Games of Incomplete Information, The MIT Press, Cambridge, Mass.
A. Ba
nos (1968) On pseudo-games. Ann. Math. Statist. 39, 1932-1945.
V. J. Baston, F. A. Bostock and T. S. Ferguson (1989) The number hides game, Proc.
Amer. Math. Soc. 107, 437-447.
John D. Beasley (1990) The Mathematics of Games, Oxford University Press.
Emile
Borel (1938) Traite du Calcul des Probabilites et ses Applications Volume IV, Fascicule 2, Applications aux jeux des hazard, Gautier-Villars, Paris.
G. W. Brown (1951) Iterative Solutions of Games by Fictitious Play in Activity Analysis
of Production and Allocation, T.C. Koopmans (Ed.), New York: Wiley.
G. S. Call and D. J. Velleman (1993) Pascals matrices, Amer. Math. Mo. 100, 372-376.
M. T. Carroll, M. A. Jones, E. K.Rykken (2001) The Wallet Paradox Revisited, Math.
Mag. 74, 378-383.
W. H. Cutler (1975) An optimal strategy for pot-limit poker, Amer. Math. Monthly 82,
368-376.
W. H. Cutler (1976) End-Game Poker, Preprint.
Melvin Dresher (1961) Games of Strategy: Theory and Applications, Prentice Hall, Inc.
N.J.
Melvin Dresher (1962) A sampling inspection problem in arms control agreements: a gametheoretic analysis, Memorandum RM-2972-ARPA, The RAND Corporation, Santa
Monica, California.
R. J. Evans (1979) Silvermans game on intervals, Amer. Math. Mo. 86, 277-281.
H. Everett (1957) Recursive games, Contrib. Theor. Games III, Ann. Math. Studies 39,
Princeton Univ. Press, 47-78.
C. Ferguson and T. Ferguson (2007) The Endgame in Poker, in Optimal Play: Mathematical Studies of Games and Gambling, Stuart Ethier and William Eadington, eds.,
Institute for the Study of Gambling and Commercial Gaming, 79-106.
T. S. Ferguson (1967) Mathematical Statistics A Decision-Theoretic Approach, Academic Press, New York.
T. S. Ferguson and C. Melolidakis (1997) Last Round Betting, J. Applied Probability 34
974-987.
J. Filar and K. Vrieze (1997) Competitive Markov Decision Processes, Springer-Verlag,
New York.
L. Friedman (1971) Optimal blung strategies in poker, Man. Sci. 17, B764-B771.
II 94
S. Gal (1974) A discrete search game, SIAM J. Appl. Math. 27, 641-648.
M. Gardner (1978) Mathematical Magic Show, Vintage Books, Random House, New York.
Andrey Garnaev (2000) Search Games and Other Applications of Game Theory, Lecture
Notes in Economics and Mathematical Systems 485, Springer.
G. A. Heuer and U. Leopold-Wildburger (1991) Balanced Silverman Games on General
Discrete Sets, Lecture Notes in Econ. & Math. Syst., No. 365, Springer-Verlag.
R. Isaacs (1955) A card game with blung, Amer. Math. Mo. 62, 99-108.
S. M. Johnson (1964) A search game, Advances in Game Theory, Ann. Math. Studies 52,
Princeton Univ. Press, 39-48.
Samuel Karlin (1959) Mathematical Methods and Theory in Games, Programming and
Economics, in two vols., Reprinted 1992, Dover Publications Inc., New York.
H. W. Kuhn, (1950) A simplified two-person poker, Contrib. Theor. Games I, Ann. Math.
Studies 24, Princeton Univ. Press, 97-103.
H. W. Kuhn (1997) Classics in Game Theory, Princeton University Press.
A. Maitra and W. Sudderth (1996) Discrete Gambling and Stochastic Games, in the Series
Applications in Mathematics 32, Springer.
J. J. C. McKinsey (1952) Introduction to the Theory of Games, McGraw-Hill, New York.
N. S. Mendelsohn (1946) A psychological game, Amer. Math. Mo. 53, 86-88.
J. Milnor and L. S. Shapley (1957) On games of survival, Contrib. Theor. Games III, Ann.
Math. Studies 39, Princeton Univ. Press, 15-45.
Kent E. Morrison (2010) The Multiplication Game, Math. Mag. 83, 100-110.
J. F. Nash and L. S. Shapley (1950) A simple 3-person poker game, Contrib. Theor. Games
I, Ann. Math. Studies 24, Princeton Univ. Press, 105-116.
D. J. Newman (1959) A model for real poker, Oper. Res. 7, 557-560.
Guillermo Owen (1982) Game Theory, 2nd Edition, Academic Press.
T. E. S. Raghavan, T. S. Ferguson, T. Parthasarathy and O. J. Vrieze, eds. (1991) Stochastic Games and Related Topics, Kluwer Academic Publishers.
J. Robinson (1951) An Iterative Method of Solving a Game, Annals of Mathematics 54,
296-301.
W. H. Ruckle (1983) Geometric games and their applications, Research Notes in Mathematics 82, Pitman Publishing Inc.
L. S. Shapley (1953) Stochastic Games, Proc. Nat. Acad. Sci. 39, 1095-1100.
L. S. Shapley and R. N. Snow (1950) Basic solutions of discrete games, Contrib. Theor.
Games I, Ann. Math. Studies 24, Princeton Univ. Press, 27-35.
II 95
S. Sorin and J. P. Ponssard (1980) The LP formulation of finite zero-sum games with
incomplete information, Int. J. Game Theory 9, 99-105.
Philip D. Stran (1993) Game Theory and Strategy, Mathematical Association of America.
John Tukey (1949) A problem in strategy, Econometrica 17, 73.
J. von Neumann and O. Morgenstern (1944) The Theory of Games and Economic Behavior,
Princeton University Press.
J. D. Williams, (1966) The Compleat Strategyst, 2nd Edition, McGraw-Hill, New York.
II 96