Chapter 17 was built on a min–max formula: the
Courant–Fischer theorem describes each eigenvalue of a
Hermitian matrix as a minimum of maxima over subspaces.
This section proves a second min–max theorem that looks
similar and works for a completely different reason. It
concerns a game in which two players choose
simultaneously, and it says that if the players are
allowed to randomize, it does not
matter which of them has to reveal a plan first. The
theorem is due to von Neumann, and with linear
programming duality in hand (§06) it takes a page to
prove.
The two theorems are easy to confuse, and a reader
who has just finished Chapter 17 will be tempted to. So
the section also says precisely how they differ.
Courant–Fischer is a statement about
subspaces, and its equality comes from
a dimension count. The minimax theorem
is a statement about simplices, and its
equality comes from convexity.
Throughout, the field is , is the all-ones vector
of whatever length the context requires, and is the
all-ones matrix. Inequalities between vectors are
entrywise, as in §05.
Matrix
games
Two players, Row and Column, play a game described by
a real matrix , the payoff
matrix. Row secretly chooses a row , Column secretly
chooses a column ,
both reveal their choices, and Column pays Row the
amount . A
negative entry means that Row pays Column. Whatever one
player wins, the other loses, so the game is called
zero-sum. Row wants large and Column
wants it small. A choice of a row, or of a column, is a
pure strategy.
Suppose Row must announce a row in advance. Column
will then answer with the smallest entry in that row, so
the best Row can guarantee is If instead Column must announce first, the
best Column can guarantee is to pay at most .
Announcing first is never an advantage, and that holds
for any payoff function whatsoever.
Lemma
18.7.1 (Max–Min Never Exceeds Min–Max)
Let and be sets and a function for which the extrema below
exist. Then
Proof. Let and . Then The left side does not depend on and the right side
does not depend on . Taking the maximum
over on the
left and then the minimum over on the right proves
the lemma.
The inequality can be strict. In the game with Row wins when the two choices match and loses
when they differ. Every row contains a , so .
Every column contains a , so .
Whoever announces first loses a unit, and there is a gap
of between what
the players can guarantee.
Some games have no gap. In the row minima are and , whose maximum is , and the column maxima
are , whose
minimum is also .
The entry is the smallest in its row and the largest in
its column. Such an entry is a saddle
point. If Row plays row 1 and Column plays
column 2, neither can gain by changing unilaterally, and
the game is settled in pure strategies. The first game
has no saddle point, and in that game the natural advice
is: do not be predictable.
Mixed
strategies
The way to be unpredictable is to randomize. Row
chooses row with
probability ,
and Column chooses column with probability , independently. The
probabilities of the rows form a vector with
nonnegative entries summing to , that is, a point of
the standard simplex of Definition 18.1.2,
A mixed strategy is a probability distribution
over the pure strategies, and the simplex is the set of
all of them.
Definition
18.7.1 (Mixed Strategy)
In the game with payoff matrix , a mixed strategy for
Row is a vector , a mixed strategy for Column is a
vector , and the expected
payoff is
In words: a mixed strategy assigns to each pure
strategy a weight that is nonnegative,
and the weights sum to exactly . The payoff occurs with
probability ,
since the two choices are independent, so is
the average payoff over many plays. The pure strategy
“row ” is the
mixed strategy , a vertex of
the simplex, and . So mixed strategies extend pure ones,
and the expected payoff extends the payoff.
Examples. is the segment
from to
in the
plane, whose points with mean “row 1 with probability ”. is the triangle
with vertices in , and its center
is the
uniform strategy. The degenerate case is : a
player with only one pure strategy has no choice, and
the game is a single row or a single column.
Nonexamples by minimal change. has nonnegative entries, but
they sum to , so it is not a
probability distribution. sums to , but it has a negative
entry. It lies on the line through , outside the
segment.
Why this definition. is exactly the
set of convex combinations of , since . So it is the convex hull of the
pure strategies, by Theorem 18.1.3, and in
particular it is a convex set (Definition 18.1.1). That
convexity is what makes the theorem below true. The
convention of Definition 18.1.2, weights for pure strategies, is the
one a game needs. The payoff is
linear in
for fixed ,
and linear in for fixed , so a mixture of
strategies earns the same mixture of payoffs.
Warning. A mixed strategy
is not a compromise move. Playing in the matching game does not
mean playing “half of row 1 and half of row 2” in a
single round. Each round Row plays one actual row,
chosen at random, and is
an average over rounds. In the matching game with , the expected
payoff is , yet
every single round pays or , never .
Against a fixed mixed strategy, the opponent never
needs to randomize. That observation turns every “min
over a simplex” into a min over finitely many
numbers.
Lemma
18.7.2 (A Pure Best Response Exists)
Let . For every ,
and the minimum on the left is attained at
for any attaining the minimum
on the right. Likewise, for every ,
, attained at a vertex .
Idea. For fixed , the payoff
is
an average of the entries of with
weights , and an
average is never below the smallest entry, which the
vertex
attains.
Proof. Write and , a minimum of finitely many numbers.
For , because every and . If , then gives . So is a value of on and a lower
bound for all its values, hence its minimum. The second
statement is the same argument applied to with the
inequality reversed.
So once Row fixes , the amount Row
can guarantee is the smallest entry of . Column, in
the same way, guarantees by the second half of the lemma
to pay at most . In the matching game,
gives
and , and the same holds for Column’s . With mixing, both
players can guarantee , and the gap of has closed. The theorem
says this always happens.
The
minimax theorem
Theorem
18.7.3 (Von Neumann’s Minimax Theorem)
Let . There are , , and such that
(18.7.1)
Consequently where the outer maximum is attained at and the
outer minimum at .
Idea. Row wants the
that maximizes the smallest entry of . If every
entry of is
positive, this can be rescaled into a linear program.
Put , where is the guaranteed
amount. Then “ with , as large as possible”
becomes “, , as small as
possible”. Column’s problem becomes the dual of that
program, by the same substitution. Strong duality (§06)
says the two optimal values agree, and that common value
is . The
plan:
① shift the entries by a constant to make them
positive, which changes every payoff by the same
constant; ② write down the two linear programs, check
that both are feasible, and apply Theorem 18.6.3; ③
rescale the optimal solutions into strategies and read
off Eq. 18.7.1.
Proof. Step 1. We may
assume every . Choose with for all
, and put . For and
, Hence if satisfy Eq. 18.7.1 for , then satisfy it for . So it suffices to
prove Eq. 18.7.1 when every
entry of is
positive, and we assume this from now on. Let .
Step 2. Two linear programs.
Consider (P) is a linear program in the inequality form
of Definition 18.6.1, with
data ,
and (D) is its dual (Definition 18.6.2). (P)
is feasible, with . (D) is feasible, with :
the -th entry of
is
. By Theorem 18.6.3 (a),
there are optimal and
with equal values; call the common value , so that Moreover . Since , we have , and a nonzero vector with nonnegative
entries has a positive entry sum.
Step 3. Strategies from the
programs. Put Then with , so , and likewise . The constraints of the two programs
give For every , therefore, . For every ,
. This is
Eq. 18.7.1.
Step 4. The two extrema. For let
, which
exists by Lemma 18.7.2. By Eq. 18.7.1, , since every value of is at least
. And for every
. So is a value of and an upper bound for
all its values:
exists, equals ,
and is attained at . In the
same way satisfies
for every , so , attained at . This
proves the theorem.
Definition
18.7.2 (Value and Optimal Strategies)
The number of
Theorem 18.7.3 is the
value of the game with payoff matrix
, written . A strategy is
optimal for Row if it guarantees the
value, , and is
optimal for Column if .
The value is well defined: it equals the max–min, and
that depends only on . A strategy is optimal for
Row exactly when every entry of is at least
, and is optimal for
Column exactly when every entry of is at most
; both
statements are Lemma 18.7.2. These are
linear conditions, so each player’s set of optimal
strategies is a convex subset of the simplex. Inequality
Eq. 18.7.1 says that
is a saddle point in
mixed strategies. If Row plays , Column
cannot push the expected payment below . If Column plays , Row
cannot push it above . Neither player gains
by deviating alone, and announcing an optimal strategy
in advance costs nothing.
Alternatively, the theorem can be proved with no
linear programming, by separation. The key fact is an
alternative in the style of Farkas: either some has
, or some has
. To prove it, separate the origin from
the closed convex set using §03, and apply the result
to for
every real . That
route shows most directly that the theorem is about
convexity. It also needs the compactness of , (A3) of Chapter
16’s introduction, to know that the set being separated
is closed. The route taken above hides all of the
analysis inside Farkas’s lemma.
Two
min–max theorems
Theorem 18.7.3 and the
Courant–Fischer theorem of Chapter 17 (Theorem 17.2.3) both
have “min” and “max” in them, and both are called
min–max theorems. They are different theorems, with
different proofs. Put side by side, for a Hermitian
( or ) and a real :
What is being chosen. In
Courant–Fischer the outer variable is a
subspace , and the inner variable
is a vector inside that subspace. The
inner set depends on the outer choice, so the formula is
a nested optimization, not a game between two
independent players. In von Neumann’s theorem the two
variables range over fixed sets, and , neither of
which depends on the other.
What the theorem asserts. Von
Neumann’s theorem is an exchange of
order: the same function, with the max and the
min taken in both orders, gives the same number.
Courant–Fischer exchanges nothing. Its two forms use
different dimensions, and ,
and swapping the order while keeping the dimension gives
,
which differs from unless
or the
two eigenvalues happen to be equal (the warning after Theorem 17.2.3). The
sharpest contrast is in the inequality between the two
forms. In von Neumann’s theorem, “max–min min–max” is Lemma 18.7.1, and it is
free for every function. In Courant–Fischer the
corresponding inequality is not free: it is exactly
the dimension count. Since , any of dimension meets any of dimension in a nonzero
vector (Lemma 17.2.1), and
then .
Where the equality comes from. In
Courant–Fischer it is a dimension
count. Any subspace of dimension must meet the
span of the top
eigenvectors, by Lemma 17.2.1, and on
the shared vector the Rayleigh quotient is pinned.
Convexity plays no role: the subspaces of dimension
do not
form a convex set in any sense used here, and is not linear. In
von Neumann’s theorem it is convexity.
The strategy sets are simplices, the payoff is linear in
each variable separately, and the equality is linear
programming duality, which is Farkas’s lemma, which is a
separating hyperplane. No dimension is counted
anywhere.
What they need. Courant–Fischer
needs a Hermitian matrix, since the spectral theorem
supplies the eigenvectors that are its witnesses. Von
Neumann’s theorem holds for every real
matrix, square or not.
How each fails when its key ingredient is
removed. Replace the simplices by the finite
sets of pure strategies, which are not convex, and von
Neumann’s equality fails, as in the matching game above.
Replace the dimension by , which is possible when , so that the
dimension count no longer forces an intersection, and
Courant–Fischer’s formula returns instead
of .
Solving a
game
Example
(A game with an unused column)
Find the value and optimal strategies for the game
with payoff matrix
Solution. No saddle point.
The row minima are and , so .
The column maxima are , so . The two differ, so both players
must mix.
Row’s side. Write
with .
Then and by Lemma 18.7.2 Row
guarantees . The graph of is the lower envelope
of three lines.
For the first line is the lowest: exactly
when , and exactly when . For the second
line is the lowest: exactly when , which
holds since . So on and on . With
slopes and ,
strictly increases on the first
interval and strictly decreases on the
second, so its maximum
is attained at and nowhere else. The only optimal
strategy for Row is , and .
Column’s side. Against , column
3 costs Column , which is more
than the value, so we expect Column never to use it. Try
: then , and the two entries are
equal when . So , with .
Verification. and . As in Step 3 of the proof, these two
inequalities give Eq. 18.7.1 with . So the value is
, Row’s
optimal strategy is , and is optimal for Column.
Column’s optimal strategy is unique too. If
is optimal
for Column, then , so . But , so
. With ,
the conditions and give and . This is complementary slackness (Theorem 18.6.5) in the
language of games: a column whose payoff against an
optimal
exceeds the value is never used.
Solution. No. , so . Column answers with column 1 and pays
only on
average. The symmetric-looking strategy is not the safe
one.
Warning. “Make the opponent
indifferent between all columns” is not a
method. In Example (A game with an unused column),
no makes all three entries of equal: the
first two are equal only at , where the
third is ,
not . The optimal
equalizes
only the columns that Column actually uses. Deciding
which columns those are is the real
content of solving the game, and it is what the linear
program decides. Equalizing the wrong set of columns
produces a strategy that is not optimal, or a “solution”
with negative probabilities.
Finally, optimal strategies need not be unique,
although in the example both were. Exercise (B3: Many optimal strategies)
gives a game in which Row has a whole segment of optimal
strategies, which is what the convexity of the optimal
set allows.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define the
standard simplex , a mixed
strategy, and the value of a matrix game.
- (b) State von
Neumann’s minimax theorem.
- (c) Determine
whether the following is correct, and justify your
answer: every matrix game has a saddle point in pure
strategies.
- (d) Explain in two
sentences why for every function
for which the
extrema exist.
- (e) Name the
mechanism that produces the equality in Theorem 17.2.3 and the
one that produces it in Theorem 18.7.3.
Solution.
(a) . In a
game with payoff matrix , a mixed strategy for
Row is an and one for Column is a .
The value is .
(b) For every
, , both extrema
being attained. Equivalently, there are and with for all
.
(c) Incorrect. In
the matching game with , . An entry that is smallest
in its row and largest in its column would make these
equal.
(d) For any , . The left side does not
involve and the
right side does not involve , so we may maximize
the left over
and minimize the right over .
(e) For
Courant–Fischer, a dimension count: Lemma 17.2.1 forces
every competing subspace to meet a span of eigenvectors.
For von Neumann, convexity: the strategy sets are
simplices and the payoff is linear in each variable, and
the equality is linear programming duality, which rests
on separation.
B. Practice
Exercise
(B1: A two-by-two game)
Let .
- (a) Show that the
game has no saddle point in pure strategies.
- (b) Find the value
and optimal strategies for both players, and verify the
saddle inequality Eq. 18.7.1.
Solution.
(a) The row
minima are and
, so .
The column maxima are and , so .
These differ, so no entry is both smallest in its row
and largest in its column.
(b) For ,
. The first entry increases and the second
decreases in , so
their minimum is largest where they are equal: , that is,
, with
common value . For ,
, and the entries are equal when , with common
value . So
take , , and . Then and . For every ,
, and, since
, for every we
have . So Eq. 18.7.1 holds with
equality throughout, and . The
game slightly favors Column.
Exercise
(B2: A saddle point)
Let , the second game of this section.
Show that , satisfy Eq. 18.7.1 with , and deduce the
value of the game.
Solution. For ,
, since
. For , . So for all , which
is Eq. 18.7.1 with . By Step 4 of the
proof of Theorem 18.7.3 (whose
argument uses only Eq. 18.7.1), the max–min
and the min–max both equal , so . A pure saddle
point is a special case of a mixed one.
Exercise
(B3: Many optimal strategies)
Let .
- (a) Show that .
- (b) Find
all optimal strategies for Row.
- (c) Show that Column
has exactly one optimal strategy.
Solution.
(a) Column can
play ,
which gives for every . Hence Row can play , with , so by Lemma 18.7.2. By Theorem 18.7.3 both
equal , which
is therefore .
(b) By the remark
after Definition 18.7.2, is
optimal exactly when , that is, and . So the
optimal strategies for Row are the whole segment .
(c) is optimal exactly when : and .
Substituting , these become and . Hence , so , and with we get and then . So is the unique optimal strategy for
Column.
C. Going deeper
Exercise
(C1: Symmetric games)
Let be skew-symmetric, . Such a game
is symmetric: the two players have the
same options, and swapping their roles swaps the
payoff’s sign.
- (a) Prove that
for every , and deduce that .
- (b) Prove that is optimal for
Row if and only if it is optimal for Column.
- (c) In
rock–paper–scissors, with the pure strategies in that
order and payoff
for a win, for a
loss, and for a
tie, Prove that the uniform strategy is the
only optimal strategy.
Solution.
(a) is
a
matrix, so it equals its transpose: . Hence . Let be as in Theorem 18.7.3. Taking
in the right half of Eq. 18.7.1 gives .
Taking in the left half gives .
So .
(b) By the remark
after Definition 18.7.2 and
(a), is
optimal for Row exactly when , and optimal for Column exactly when
. Since , the two conditions are the
same.
(c) With , the condition reads So , all three are equal, and since
they sum to , each
is . By (a)
and (b),
is the unique optimal strategy for either player, and
the value is .
Exercise
(C2: The value depends continuously on the
payoffs)
For , put .
- (a) Prove that .
- (b) Prove also that
if for all , then , and that
for every real .
Solution.
(a) For and
, since . So for all
.
Taking the minimum over preserves this
inequality between two functions of , and so does
taking the maximum over . By Theorem 18.7.3 the
resulting max–mins are the values, so . Exchanging and gives .
(b) If , then
for all strategies, since
every ,
and the same two steps give . For the
shift, for
all strategies, as in Step 1 of the proof of Theorem 18.7.3, and
adding a constant to a function adds it to every minimum
and maximum. So .