Search topics and sections

The minimax theorem is a result in game theory about games where two players have exactly opposite goals, so one player's gain is the other player's loss. It says that when players may pick their moves at random, each game has a single number called its value. The first player can make sure of winning at least that much on average, and the second player can make sure of losing no more than that much on average.

John von Neumann published the proof in 1928. His paper is often credited with starting game theory as a field.[1] The theorem is closely tied to linear programming, which is also how optimal strategies are computed in practice.[2]

Two-player zero-sum games

The theorem covers finite two-player zero-sum games. Such a game can be written as a table of numbers, a matrix AA with mm rows and nn columns, which is its normal form.[2]

  • The row player (Player I) picks a row ii.
  • The column player (Player II) picks a column jj at the same time.
  • The entry aija_{ij} is the amount the column player pays the row player. A negative entry means the payment goes the other way.

The row player's gain is always the column player's loss, which is why the game is called zero-sum. So the row player wants large entries and the column player wants small ones.[2] Choosing one row or one column for certain is called a pure strategy.[3]

Maximin and minimax

A careful player can ask what they can guarantee no matter what the opponent does. The answers are called the maximin and the minimax.

  • If the row player picks row ii, the worst result is the smallest entry in that row. The best guarantee is the largest of these row minimums, max⁡imin⁡jaij\max_i \min_j a_{ij}. This is the maximin.
  • If the column player picks column jj, the worst result is the largest entry in that column. The best guarantee is the smallest of these column maximums, min⁡jmax⁡iaij\min_j \max_i a_{ij}. This is the minimax.

The maximin is never larger than the minimax. This holds for any function and any sets of choices, not only for games.[3] The section on the easy half of the proof shows why.

Saddle points

Sometimes the two guarantees meet. An entry that is the smallest in its row and the largest in its column is called a saddle point, and then both players have an optimal pure strategy.[3] In the matrix below, the center entry 2 is a saddle point.

Column 1 Column 2 Column 3 Row minimum
Row 1 4 1 6 1
Row 2 3 2 5 2
Row 3 0 1 7 0
Column maximum 4 2 7

The largest row minimum is 2 and the smallest column maximum is also 2. Neither player gains by moving away from row 2 and column 2.

Games without a saddle point

Many games have no saddle point, and then the two pure guarantees differ. A simple example is the game Odd or Even.[3]

  1. Both players call out "one" or "two" at the same time.
  2. Player I (Odd) wins if the sum is odd. Player II (Even) wins if the sum is even.
  3. The loser pays the winner the sum in dollars.
Odd or Even payoff matrix with pure maximin and minimaxPlayer II (Even)Even calls oneEven calls twoRow min−233−4−2−433Player I (Odd)Odd calls oneOdd calls twoColumn maxmaximin = −2minimax = 3−4−3−2−10123pure maximin (Odd's pure guarantee)mixed value V = 1/12pure minimax (Even's pure guarantee)gap with pure strategies
Payoff matrix for Odd or Even, with entries as payments to Odd. With pure strategies Odd can guarantee only −2-2 and Even can hold Odd to 33, while the mixed-strategy value is V=1/12V = 1/12.

With pure strategies, Odd can only guarantee −2-2 (always call "one"), while Even can only hold her loss to 33. The gap between −2-2 and 33 is what mixed strategies close.

Mixed strategies

A mixed strategy is a rule for picking a pure strategy at random with fixed probabilities. In Odd or Even, Odd might call "one" with probability pp and "two" with probability 1−p1-p.[3] The theory assumes each player cares only about their average payoff.[3]

A mixed strategy for the row player is a list x=(x1,…,xm)x = (x_1, \dots, x_m) of probabilities, one per row. The set of all such lists is

Δm={x∈Rm:xi≥0 for all i, ∑i=1mxi=1}.\Delta_m = \Big\{ x \in \mathbb{R}^m : x_i \ge 0 \text{ for all } i,\ \textstyle\sum_{i=1}^m x_i = 1 \Big\}.

The column player's mixed strategies yy form the set Δn\Delta_n in the same way. A pure strategy is the special case that puts probability 1 on a single row or column.[3]

The players randomize independently. So the row player's average payoff, its expected value, is

xTAy=∑i=1m∑j=1nxi aij yj,x^{\mathsf T} A y = \sum_{i=1}^{m} \sum_{j=1}^{n} x_i \, a_{ij} \, y_j ,

where xiyjx_i y_j is the probability that row ii and column jj are played together.[2]

Statement of the theorem

Von Neumann's minimax theorem says that for every finite two-player zero-sum game with payoff matrix AA,[2]

max⁡x∈Δm  min⁡y∈Δn  xTAy  =  min⁡y∈Δn  max⁡x∈Δm  xTAy.\max_{x \in \Delta_m} \; \min_{y \in \Delta_n} \; x^{\mathsf T} A y \;=\; \min_{y \in \Delta_n} \; \max_{x \in \Delta_m} \; x^{\mathsf T} A y .

The left side is the best average payoff the row player can guarantee. The right side is the smallest average loss the column player can guarantee. The common number is called the value of the game, written VV.[2]

In plain terms the theorem makes three claims for every finite two-player zero-sum game.[3]

  1. There is a number VV, the value of the game.
  2. Player I has a mixed strategy whose average gain is at least VV, whatever Player II does.
  3. Player II has a mixed strategy whose average loss is at most VV, whatever Player I does.

Strategies that achieve these guarantees are called optimal strategies or minimax strategies, and in a finite game both players always have them.[3] A game with V=0V = 0 is called fair. A positive value favors Player I and a negative value favors Player II.[3]

What the theorem means

The two sides of the equation describe two orders of play. On the left, the row player announces a mixed strategy first and the column player answers it; on the right, the roles are swapped.[2] One would expect announcing first to be a disadvantage, but the theorem says that with optimal play it makes no difference.[2]

Order of commitment in a zero-sum gameRow player commits firstColumn player commits firstRow player announcesmixed strategy xColumn player picksbest reply yRow player getsmaxx miny = VColumn player announcesmixed strategy yRow player picksbest reply xRow player getsminy maxx = Vsame value(minimax theorem)
When the row player commits to a mixed strategy first, it secures max⁡xmin⁡y\max_x \min_y. When the column player commits first, the row player gets min⁡ymax⁡x\min_y \max_x. The minimax theorem says both orders give the same value VV.

A game is called symmetric when aij=−ajia_{ij} = -a_{ji} for all ii and jj, so the two players face the same situation. Every finite symmetric game has value zero, and a strategy that is optimal for one player is also optimal for the other.[3]

Worked example: Odd or Even

Odd or Even shows how the value is found in a small game. Odd chooses a probability pp of calling "one" that makes his average payoff the same whatever Even does.[3]

  1. If Even calls "one", Odd's average payoff is −2p+3(1−p)=3−5p-2p + 3(1-p) = 3 - 5p.
  2. If Even calls "two", Odd's average payoff is 3p−4(1−p)=7p−43p - 4(1-p) = 7p - 4.
  3. Setting these equal gives 3−5p=7p−43 - 5p = 7p - 4, so 12p=712p = 7 and p=7/12p = 7/12.
  4. With p=7/12p = 7/12, Odd's average payoff is 1/121/12 dollar per game against either call.
Odd's payoff lines in the odd-even game 3 1/12 0 −2 −4 0 0.5 7/12 1 Probability p that Odd calls one V = 1/12 at p = 7/12 Odd's payoff ($) Even calls two: 7p − 4 Even calls one: 3 − 5p Pure maximin −2 Odd's guaranteed payoff
Odd's average payoff against pp, the probability that Odd calls one. The lines 3−5p3 - 5p and 7p−47p - 4 cross at p=7/12p = 7/12, where the lower envelope peaks at the game value V=1/12V = 1/12. The pure strategy 'always one' guarantees only −2-2.

A strategy that gives the same average result whatever the opponent does is called an equalizing strategy.[3] Even can use the same method. If she calls "one" with probability 7/127/12, her average loss is 1/121/12 against either of Odd's calls.[3]

So the value of Odd or Even is V=1/12V = 1/12 and the game slightly favors Odd. The value lies between the pure guarantees, since −2<1/12<3-2 < 1/12 < 3.

In rock paper scissors, both sides of the theorem equal 0. A player who picks each move with probability 1/31/3 is equally likely to win, lose, or tie against anything.[2]

Relation to Nash equilibrium

The minimax theorem is a special case of a broader result. A Nash equilibrium is a pair of strategies in which neither player can do better by changing only their own strategy. John Nash later proved that every finite game has at least one Nash equilibrium, and von Neumann's theorem is the two-player zero-sum case.[1]

In a two-player zero-sum game, a pair of optimal strategies is a Nash equilibrium, and every Nash equilibrium is such a pair, so these equilibria are also called minimax equilibria.[1] They have properties that equilibria of general games lack.

  • Every equilibrium gives the row player the same payoff, which is the value VV.[1]
  • Equilibria are interchangeable. Taking one player's strategy from one equilibrium and the other player's from another still gives an equilibrium.[4]

Proofs

The theorem has two halves. One inequality is true for any function, and the other needs the special structure of mixed strategies.

The easy half

For any function f(x,y)f(x, y), the maximin is at most the minimax.[3] Take any x′x' and y′y'. Then

min⁡yf(x′,y)  ≤  f(x′,y′)  ≤  max⁡xf(x,y′).\min_{y} f(x', y) \;\le\; f(x', y') \;\le\; \max_{x} f(x, y') .

The left end does not depend on y′y' and the right end does not depend on x′x'. Taking the maximum over x′x' on the left and the minimum over y′y' on the right gives max⁡xmin⁡yf≤min⁡ymax⁡xf\max_x \min_y f \le \min_y \max_x f.

Proof by linear programming duality

The hard half, that the two sides are equal, follows from strong duality in linear programming.[2] The first step is to note that the player who moves second never needs to randomize. Against a fixed xx, the column player can simply pick the column with the lowest average payoff, so[2]

max⁡xmin⁡yxTAy=max⁡x min⁡j∑i=1maijxi.\max_{x} \min_{y} x^{\mathsf T} A y = \max_{x} \, \min_{j} \sum_{i=1}^{m} a_{ij} x_i .

The row player's problem then becomes a linear program, an optimization with a linear goal and linear constraints.[2]

maximize vsubject to v≤∑i=1maijxifor j=1,…,n,∑i=1mxi=1,xi≥0.\begin{aligned} \text{maximize } & v \\ \text{subject to } & v \le \textstyle\sum_{i=1}^{m} a_{ij} x_i \quad \text{for } j = 1, \dots, n, \\ & \textstyle\sum_{i=1}^{m} x_i = 1, \quad x_i \ge 0 . \end{aligned}

Here vv is the payoff the row player is sure to get, and each constraint says that column jj cannot push the average below vv. The column player's problem is the mirror image.[2]

minimize wsubject to w≥∑j=1naijyjfor i=1,…,m,∑j=1nyj=1,yj≥0.\begin{aligned} \text{minimize } & w \\ \text{subject to } & w \ge \textstyle\sum_{j=1}^{n} a_{ij} y_j \quad \text{for } i = 1, \dots, m, \\ & \textstyle\sum_{j=1}^{n} y_j = 1, \quad y_j \ge 0 . \end{aligned}

These two linear programs are duals of each other. Strong duality says their optimal values are equal, v∗=w∗v^* = w^*, which is exactly the minimax theorem.[2]

Other proofs

The theorem has several other proofs, and they come from different parts of mathematics.

  • Von Neumann's 1928 proof used topological methods. Harold Kuhn and Albert Tucker later described it as based on extensions of the Brouwer fixed-point theorem.[5]
  • One classic proof uses the separating hyperplane theorem, which says a closed convex set and a point outside it can be split by a flat boundary.[4]
  • The proof in von Neumann and Morgenstern's 1944 book is purely algebraic. Its key tool, the "theorem of the alternative for matrices", says that exactly one of two systems of linear inequalities has a solution.[5]

Computing optimal strategies

The linear programs above do more than prove the theorem. Solving them gives the value of the game and an optimal strategy for each player.[2]

Linear programs can be solved efficiently. George Dantzig invented the simplex method in 1947.[6] In 1979 Leonid Khachiyan showed that the ellipsoid method solves linear programs in polynomial time.[2] As a result, finding optimal strategies in two-player zero-sum games can be done in polynomial time.[1]

The link also runs the other way. Dantzig proposed a way to turn any linear program into a zero-sum game, but his 1951 reduction does not work for every linear program.[7] Ilan Adler gave a complete reduction in 2013, showing that the minimax theorem and strong linear programming duality are equivalent.[1]

Generalizations

Many later theorems give conditions under which max⁡min⁡=min⁡max⁡\max \min = \min \max holds beyond finite matrix games. They matter for games where players choose from infinitely many options, and for optimization problems that have the same form.

Sion's minimax theorem

Maurice Sion proved a widely used general version in 1958.[8] It uses two terms from topology.

  • A topological vector space is a space of vectors, which can be added and scaled, with a notion of nearness that makes these operations continuous. Ordinary space Rn\mathbb{R}^n is the basic example.
  • A compact set is one that, in Rn\mathbb{R}^n, is closed and bounded. The strategy set Δm\Delta_m is an example.

Let XX and YY be convex subsets of topological vector spaces, with at least one of them compact. Let ff be a real-valued function on X×YX \times Y such that:[8]

  • for each fixed yy, f(⋅,y)f(\cdot, y) is upper semicontinuous and quasi-concave in xx, and
  • for each fixed xx, f(x,⋅)f(x, \cdot) is lower semicontinuous and quasi-convex in yy.

Then

sup⁡x∈Xinf⁡y∈Yf(x,y)=inf⁡y∈Ysup⁡x∈Xf(x,y).\sup_{x \in X} \inf_{y \in Y} f(x, y) = \inf_{y \in Y} \sup_{x \in X} f(x, y) .

Here sup and inf are the least upper bound and greatest lower bound, used because a maximum or minimum may not be reached. A function is quasi-concave when every set of the form {x:f(x,y)≥c}\{x : f(x, y) \ge c\} is convex, and quasi-convex when every set {y:f(x,y)≤c}\{y : f(x, y) \le c\} is convex.

Von Neumann's theorem is a special case. The payoff xTAyx^{\mathsf T} A y is continuous and linear in each player's strategy, and the strategy sets Δm\Delta_m and Δn\Delta_n are compact and convex.

Why the conditions matter

The conditions cannot simply be dropped. Sion gave an example on the square [0,1]×[0,1][0, 1] \times [0, 1] in which the function is quasi-concave-convex but not upper semicontinuous in xx. There the sup-inf is 0 while the inf-sup is 1.[8]

Applications

The theorem is used outside game theory.

Yao's principle treats algorithm design as a zero-sum game in which one player picks a deterministic algorithm and the other picks an input. In the version used for query complexity, the cost is 1 if the algorithm answers wrongly and 0 otherwise.[10] By the minimax theorem, a hard random distribution of inputs for every deterministic algorithm gives a worst-case lower bound for every randomized algorithm.[10]

History

The theorem grew out of work on games in the 1920s and was reproved several times as new tools appeared.

Timeline of the minimax theorem 1920 2015 1921-1927 Borel's noteson games 1937 von Neumann:generalization of Brouwerfixed-point theorem 1944 Theory of Games andEconomic Behavior (vonNeumann and Morgenstern) 1958 Sion:general minimaxtheorem 1979 Khachiyan: linearprograms in polynomial time 1947 Dantzig inventssimplex method 1977 Yao's principle 1938 Ville: firstalgebraic proof 2013 Adler: full equivalencewith LP duality 1928 von Neumann provesminimax theorem
Timeline of the minimax theorem from Borel's notes on games (1921 to 1927) and von Neumann's 1928 proof to Adler's 2013 proof of full equivalence with linear programming duality.

Borel and von Neumann

The French mathematician Émile Borel published a series of notes on games from 1921 to 1927. He was the first to try to build a mathematical theory of games.[5] Von Neumann proved the minimax theorem in "Zur Theorie der Gesellschaftsspiele" (On the theory of parlor games), published in Mathematische Annalen in 1928.[5]

The historian Tinne Hoff Kjeldsen doubts that von Neumann saw the link to fixed points in 1928.[5] In a 1937 paper on an economic model, he did prove a lemma that generalizes Brouwer's fixed-point theorem and derived a saddle point result from it.[5]

Algebraic proofs

The first algebraic proof was by Jean Ville, published in 1938 as a note in Borel's treatise on probability.[5] Morgenstern found Ville's note by chance in the library of the Institute for Advanced Study. He and von Neumann then adopted a similar elementary approach for their 1944 book.[5]

Linear programming

The tie to linear programming came in the late 1940s. When Dantzig explained his new ideas on linear programming to von Neumann, von Neumann was able to outline the theory of linear programming duality on the spot.[2]

Later generalizations

Sion's general theorem of 1958 extended the result well beyond finite games, as described in the section on generalizations.[8]

References

  1. 6.853 Lecture 2: Two-player zero-sum games, MIT 6.853 Topics in Algorithmic Game Theory, 2019.
  2. CS261 Lecture 10: The Minimax Theorem and Algorithms for Linear Programming, Tim Roughgarden, Stanford University, 2016.
  3. Game Theory, Part II: Two-Person Zero-Sum Games, Thomas S. Ferguson, University of California, Los Angeles (lecture notes).
  4. Lecture 5: 2-Player Zero Sum Games, Yishay Mansour, Tel Aviv University, 2010.
  5. John von Neumann's Conception of the Minimax Theorem: A Journey Through Different Mathematical Contexts, Tinne Hoff Kjeldsen, Archive for History of Exact Sciences, 2001.
  6. George Dantzig, Encyclopaedia Britannica.
  7. Zero-Sum Games and Linear Programming Duality, Bernhard von Stengel, arXiv, 2022.
  8. On General Minimax Theorems, Maurice Sion, Pacific Journal of Mathematics, 1958.
  9. Oskar Morgenstern, Encyclopaedia Britannica.
  10. Lecture 10: Lower Bounds via Yao's Principle, MIT CSAIL (scribe notes, course of Ronitt Rubinfeld), 2019.

Figure