Studies decision making between agents (players) whose outcomes depend on each other’s choices, not just their own.
Assumptions
The models in this note rely on the following assumptions.
- Finite options
Each player has a finite list of options. - Simultaneous choice
Each player picks an option without observing the opponent’s choice. - Complete information
Both players know every option and outcome available to each player, and each knows the other knows it. - Rational players
Each player maximizes their own expected outcome. - Expected outcome
Randomizing over options gives the probability-weighted average of the outcomes. - Independent randomization
Each player’s randomization does not depend on the other player’s. - Repeated play
The game is played over many periods, such as weekly decisions. A player’s randomization describes how often each option is used over time.
Zero-Sum Game
A game with players where the sum of each player’s gain and loss equals 0.
When , it is a two-player zero-sum game.
Value of a Game
The game value is the average payoff to the row player per play when both players play optimally. It lies between the maximin and minimax values, and equals both when a saddle point exists.
Payoff Matrix
A table of the row player’s payoffs for every pair of strategies. Rows are the row player’s pure strategies, columns are the column player’s pure strategies.
- number of row player strategies
- number of column player strategies
-
row player’s payoff when the row player picks and the column player picks
In a two-player zero-sum game, the column-player’s payoff is . In that case, the matrix defines the whole game.
| Col 1 (B plays 1) | Col 2 (B plays 2) | Row min | |
|---|---|---|---|
| Row 1 (A plays 1) | 3 | -1 | -1 |
| Row 2 (A plays 2) | 2 | 4 | 2 |
| Col max | 3 | 4 |
Maximin 2 (row 2) and minimax 3 (column 1).
Strategy Types
A strategy is a rule a player uses to choose among their options. Each player’s strategy is either pure or mixed.
- Pure strategy
A probability distribution that puts probability on one strategy, so the player always picks that strategy. - Mixed strategy
A probability distribution over a player’s pure strategies. - Optimal strategy
A strategy that guarantees an expected payoff of at least against every opposing strategy, where is the game’s value. - Dominant strategy
A strategy that gives a payoff at least as good as every other strategy against every opposing strategy.
Pure Strategy Solution
A game is solved with pure strategies when its maximin and minimax values match.
Maximin Criterion
The row player picks the strategy maximizing their guaranteed minimum payoff: .
Minimax Criterion
The column player picks the strategy minimizing the row player’s guaranteed maximum payoff: .
Saddle Point
Exists when . The corresponding entry is the game’s value, and both players have an optimal pure strategy: neither benefits from deviating alone.
If the maximin and minimax values differ, no saddle point exists, and pure strategies alone don’t give an optimal solution.
Mixed Strategy Solution
When a game has no saddle point, players randomize over their strategies (a mixed strategy) instead of committing to one.
Work through these steps in order and stop at the first one that applies.
- Check for a saddle point. If the row maximin equals the column minimax, play safe and stop.
- Remove dominated rows and columns to shrink the matrix.
- Solve a 2x2 game algebraically by equalizing the payoffs.
- Solve a 2xn or mx2 game graphically.
- Otherwise, use linear programming with the simplex method.
Dominance
A strategy is dominated if another strategy gives the same player a payoff at least as good against every opposing strategy. Dominated strategies are removed before solving, reducing the payoff matrix.
2x2 Game Without a Saddle Point
Solved algebraically: for optimal mixed strategy probabilities (row) and (column), the row player’s expected payoff is equalized across the column player’s 2 strategies, and vice versa. Solving the resulting linear equations gives , , and the game’s value.
2xn and mx2 Games
Solved graphically: plot each of the smaller player’s strategies as a line over the opponent’s mixing probability, take the upper envelope (row player) or lower envelope (column player), and read off the optimal point. Reduces the game to an equivalent 2x2 game at that point.
Game Theory as a Linear Program
An two-person zero-sum game is solved by formulating it as a pair of dual linear programs.
Row Player’s LP
Subject to for every column , , .
Column Player’s LP
Subject to for every row , , .
The column player’s LP is solved after the substitution , which requires . Dividing the constraints by gives , and maximizing equals . Positivity is ensured by adding a constant to every entry, which shifts the game value to and leaves the strategies unchanged. Choose so that the shifted maximin is positive.
The 2 LPs are duals of each other. Solving one with the simplex algorithm gives that player’s optimal mixed strategy and the game’s value. The other player’s strategy is read from the dual values in the final tableau, so only one LP needs solving.
To convert a game into a linear program:
- Shift every entry by so the shifted value is positive.
- Substitute , so each constraint becomes and the objective is .
- Add slack variables and solve with the simplex method.
- The column strategy follows from and .
- The row strategy follows from the dual values in the final tableau, using .
- Subtract from to get the original game value.
For the LP approach used in this course, formulate the game and solve it with Solver. Manual iteration is not required. After obtaining Player A’s optimal strategy, determine the corresponding optimal strategy for Player B from the dual solution.
Prisoner’s Dilemma
A 2-player, non-zero-sum game illustrating that individually rational choices can produce a jointly worse outcome than cooperation would.
Worked Example
Saddle Point Game
Given the payoff matrix
Find the value of the game and its saddle point.
Solution Reveal Hide
| Col 1 | Col 2 | Col 3 | Row min | |
|---|---|---|---|---|
| Row 1 | 1 | 4 | 2 | 1 |
| Row 2 | 3 | 5 | 2 | 2 |
| Col max | 3 | 5 | 2 |
Maximin 2 (row 2) and minimax 2 (column 3).
Row minimums are and , so the maximin is , attained by row 2. Column maximums are , and , so the minimax is , attained by column 3.
Maximin equals minimax, so a saddle point exists at .
Result: . Row player plays row 2 and column player plays column 3, both with probability .
Dominance Reduction
Given the payoff matrix
Reduce the game by removing dominated strategies, then check whether a saddle point exists.
Solution Reveal Hide
The column player minimizes, so column 3 is dominated by column 2, since and . Removing column 3 gives
The maximin is and the minimax is , so no saddle point exists.
2x2 Mixed Game
Solve the reduced matrix .
Solution Reveal Hide
Let the row player play row 1 with probability . Equalizing the payoffs against both columns gives , so .
Let the column player play column 1 with probability . Equalizing the payoffs against both rows gives , so .
The value is .
Result: . Row mix . Column mix on the original columns.
Graphical 2x2 Game
Given the payoff matrix
Find the value of the game and the optimal mixed strategies of both players.
Solution Reveal Hide
Let the row player play row 1 with probability . Column 1 gives , and column 2 gives . The lower envelope peaks where the 2 lines cross: , so and .
The envelope is the lowest line at each p, and its peak is at p = 4/7, where the column 2 and column 3 lines cross.
Let the column player play column 1 with probability . Row 1 gives , and row 2 gives . Equalizing gives .
Result: . Row mix . Column mix .
2xn Game
Given the payoff matrix
Find the value of the game and the optimal mixed strategies of both players.
Solution Reveal Hide
Let the row player play row 1 with probability . The payoffs for the columns are , and .
The envelope is the lowest line at each p, and its peak is at p = 4/7, where the column 2 and column 3 lines cross.
The illustration shows where the lowest payoff per column peaks, . Column 1 never participates in the lowest payoff curve. Hence it can be removed.
Reduce to the 2x2 game on columns 2 and 3: . Let the column player play column 2 with probability . Equalizing the payoffs against both rows gives , so .
Result: . Row mix . Column mix .
Linear Program Solution
Given the payoff matrix , solve the row player’s LP.
Solution Reveal Hide
The row player’s constraints are and . Both bind at the optimum. Substituting and equating gives , so and .
The column player’s constraints are and . Substituting and equating gives , so .
Result: . Row mix . Column mix .
3x3 Game with Linear Programming
Given the payoff matrix
Find the value of the game and the optimal mixed strategies of both players.
Solution Reveal Hide
Row minimums are , and , so the maximin is . Column maximums are , and , so the minimax is . The two differ, so no saddle point exists and the value lies strictly between them.
The smallest entry is , so add to every entry to make them all strictly positive. This adds to the value and leaves the optimal strategies unchanged:
Let be the value of and the probability that the column player plays column . The column player wants every row to give the row player at most , so for each row . Substitute . Dividing by gives:
These constraints are linear because the right-hand side is now the constant . Since , the scaled variables satisfy . The column player wants the smallest , which is the same as the largest . The column player’s LP is therefore to maximize subject to the three constraints above and .
The simplex method gives , and . The first and third constraints are tight. The second has slack .
The optimal sum is , so . Then gives the column mix .
The row mix is , where are the optimal dual values of the LP. Complementary slackness gives , since the second constraint is not tight. Also and must satisfy the dual constraints with equality for columns 1 and 2, which are used by the column player. Solving gives , and so .
Result: the original value is . Row mix . Column mix .
4x3 Game Without a Stable Solution
Given the payoff matrix
Find the maximin, the minimax and whether a saddle point exists.
Solution Reveal Hide
Row minimums are , , and , so the maximin is . Column maximums are , and , so the minimax is . They differ, so no saddle point exists and both players need mixed strategies.
2x2 Game with Dual Payoff Matrix
Given the payoff matrix for A
Find the maximin and minimax of , and write the payoff matrix for .
Solution Reveal Hide
Row minimums are and , so the maximin is . Column maximums are and , so the minimax is . No saddle point exists.
The payoff matrix for B is the negative transpose of :
Row Dominance Reduction
Given the payoff matrix
Reduce the game by removing dominated rows.
Solution Reveal Hide
Row 1 dominates row 3 for A, since and . Removing row 3 gives .
Column Dominance Reduction
Given the payoff matrix
Reduce the game by removing dominated columns.
Solution Reveal Hide
B minimizes A’s payoff, so column 2 is dominated by column 3, since and . Removing column 2 gives .
2x2 Mixed Game with Dual Payoff Matrix
Solve the game with payoff matrix from the previous example.
Solution Reveal Hide
Let the row player play row 1 with probability . Column 1 gives , and column 2 gives . Equalizing gives , so .
Let the column player play column 1 with probability . Row 1 gives B , and row 2 gives B . Equalizing gives , so B’s value is .
Result: . Row mix . Column mix .
2x3 Graphical Game
Given the payoff matrix
Find the value of the game and the optimal mix for the row player.
Solution Reveal Hide
Row minimums are and , so the maximin is . Column maximums are , and , so the minimax is . No saddle point exists.
Let the row player play row 1 with probability . Column 1 gives , column 2 gives and column 3 gives . The lower envelope peaks where the first 2 lines cross: , so .
Column 3 gives here, which is above the value, so it does not bind. The value is .
Result: . Row mix .
3x2 Graphical Game
Given the payoff matrix for A
Find the value of the game and the optimal mix for the column player.
Solution Reveal Hide
Row minimums are , and , so the maximin is . Column maximums are and , so the minimax is . No saddle point exists.
Let the column player play column 1 with probability . Winnings for B are for row 1, for row 2 and for row 3.
The lower envelope peaks where rows 1 and 2 cross: , so . Row 3 gives here, which is above the value, so it does not bind. The crossing of rows 1 and 3 is not the answer, since row 2 is lower there.
Result: column mix . Value to B .