Lesson 1
Payoff Matrices and Dominant Strategies
A payoff matrix shows every outcome that results from two players' combined choices, so each player's result depends on what the other does. A player has a dominant strategy if one choice always gives them a better outcome, whatever the opponent chooses.
Payoff matrices
- Two players each pick one of two actions (A or B), which gives four possible outcomes.
- Each cell lists both players' payoffs: the first number belongs to the row (left) player, the second to the column (top) player.
- Players are interdependent: the final outcome is decided by both players' choices together.
- Once the other player makes a choice, some outcomes are no longer possible for you.
How players choose
- Each player picks the outcome that is best for themselves.
- The goal is to make yourself better off, not to hold back your opponent.
- What the actions are (pricing, advertising, etc.) does not matter; only the payoffs do.
Finding a dominant strategy
- A dominant strategy is a choice that is always best, no matter what the other player does.
- Method: pretend the other player moves first. Find your best response to their A, then your best response to their B.
- If your best response is the same in both cases, that choice is your dominant strategy.
- If your best response differs, you have no dominant strategy.
- There are three possible patterns: both players have a dominant strategy, only one does, or neither does.
Link to Nash equilibrium
- A Nash equilibrium is an outcome where no player can gain by changing only their own decision.
- Every game of this kind has at least one Nash equilibrium.
- If both players have dominant strategies, the Nash equilibrium is the cell where both play them.
Key terms
- Payoff matrix
- A table showing each player's payoff for every combination of choices.
- Interdependence
- The outcome depends on the decisions of all players.
- Dominant strategy
- A choice that gives a player a better outcome whatever the other player chooses.
- Nash equilibrium
- An outcome where no player has an incentive to change their decision on their own.
Lesson 2
Nash Equilibrium and the Prisoner's Dilemma
Game theory models strategic situations in which rational players' choices depend on each other. In the prisoner's dilemma, each player acting in their own self-interest leads both to confess. That outcome is the Nash equilibrium, even though both would be better off if both denied.
Game theory
- Game theory is a framework for modelling interactive situations between rational players.
- Each player's best choice depends on what the other players choose.
- It is used in economics (for example, pricing strategies), politics, war, psychology and evolutionary biology.
Prisoner's dilemma setup
- Two suspects are interrogated separately and cannot communicate.
- Both deny: 2 years each.
- One confesses and the other denies: the confessor gets 1 year, the denier gets 10 years.
- Both confess: 3 years each.
Reasoning to the outcome
- If the partner confesses: confessing gives 3 years versus 10 for denying, so confess.
- If the partner denies: confessing gives 1 year versus 2 for denying, so confess.
- Confessing is therefore a dominant strategy for both prisoners.
- Result: both confess and serve 3 years each, which is worse than the 2 years each from both denying.
Nash equilibrium
- A Nash equilibrium is reached when each player's strategy is optimal given the other players' decisions.
- In the prisoner's dilemma, (Confess, Confess) is the Nash equilibrium.
- A Nash equilibrium need not be the best outcome for the group (the globally optimal outcome).
Key terms
- Game theory
- The study of strategic interaction between rational players.
- Prisoner's dilemma
- A game in which individually rational choices lead to an outcome that is worse for both players.
- Nash equilibrium
- A set of strategies where each player's choice is optimal given the others' choices.
- Globally optimal outcome
- The outcome that is best for the players taken together (here, both deny).
Lesson 3
Mixed Strategy Nash Equilibrium
Some games, such as matching pennies, have no pure strategy Nash equilibrium. Nash's theorem guarantees that every finite game has at least one equilibrium, so such games must have a mixed strategy equilibrium, in which players randomize in a way that makes them best responses to each other.
Matching pennies
- Two players reveal a penny at the same time.
- If the pennies match, player 1 wins $1 from player 2; if they mismatch, player 2 wins $1 from player 1.
- It is a zero-sum game: in every cell the payoffs add up to 0.
- Similar situations include penalty kicks in soccer (striker versus goalie).
No pure strategy equilibrium
- In every one of the four cells, one player would want to switch their choice.
- Because someone always has an incentive to deviate, no pure strategy Nash equilibrium exists.
Nash's theorem and mixed strategies
- Every finite game (finite number of players and strategies) has at least one Nash equilibrium.
- If no pure strategy equilibrium exists, an equilibrium must exist in mixed strategies.
- A mixed strategy is a probability distribution over two or more pure strategies.
- A mixed strategy Nash equilibrium is a set of mixtures that are mutual best responses.
Solving matching pennies
- If player 2 plays heads 1/2 of the time, player 1 wins half the time and loses half the time whatever they choose, so player 1 is indifferent.
- Each player plays heads and tails with probability 1/2 each in equilibrium.
- Randomizing protects you even against a mind reader: they can win at most half the time.
- With unequal (weighted) payoffs, a 50/50 split is generally not the equilibrium; the mixed strategy algorithm is needed to find it.
Key terms
- Zero-sum game
- A game in which the players' payoffs add up to zero in every outcome.
- Pure strategy
- Choosing a single action with certainty.
- Mixed strategy
- A probability distribution over two or more pure strategies.
- Nash's theorem
- Every finite game has at least one Nash equilibrium.
- Mixed strategy Nash equilibrium
- Mixed strategies that are mutual best responses.
Lesson 4
Backward Induction and Subgame Perfect Equilibrium
Backward induction solves finite extensive-form games of perfect information by finding optimal moves starting from the last movers and working back to the root. Stringing together the optimal choice at every decision node gives a complete strategy profile, the subgame perfect Nash equilibrium (SPNE), which can be verified to be a Nash equilibrium.
Why not just use the normal form?
- Any extensive-form game can be written as a normal-form game and solved for Nash equilibria, but the matrices become large.
- A strategy must specify an action at every decision node of the player, even nodes never reached.
- Number of strategies = product of the number of actions at each of the player's nodes, e.g. 3 actions then 2 actions gives 3 x 2 = 6 strategies (AM, AN, BM, BN, CM, CN); two nodes with 2 actions each gives 2^2 = 4 strategies.
- Example: 6 rows (player 1) x 2 columns (player 2) x 4 matrices (player 3); mixed equilibria in such a setting are very hard to find.
Backward induction procedure
- Start with the last movers (nodes followed only by terminal payoffs); order among last movers does not matter.
- At each node, pick the action maximising that player's own payoff (read the player's own entry in the payoff vector).
- Sequential rationality: players act optimally at every node/subgame, even ones they believe will never be reached.
- Move to second-to-last movers, who anticipate the choices already determined, and repeat up to the first mover.
- Mark the optimal action at each node with an arrow; ties are possible (e.g. 3 vs 3).
Building the equilibrium strategy profile
- Outcome: follow the arrows from the root (in the example C, W, N giving payoffs (7, 0, 6)).
- Strategy profile: for each player, collect the arrow at every one of their nodes (example: player 1 CN, player 2 Y, player 3 WV).
- An outcome alone is not an equilibrium; the full strategy profile is needed.
Verifying it is a Nash equilibrium
- Fix the other players' strategies and check whether any deviation by one player raises their payoff.
- Player 1: 7 is his highest possible payoff, so CN is a best response; deviations via A or B give 3.
- Player 2: given C, W, N she never moves, so X and Y yield the same payoff (0); Y is a best response.
- Player 3: T gives 4 < 6; WU and WV both give 6, so WV is a best response.
- All players best-respond, so the backward-induction profile is a Nash equilibrium.
Key terms
- Backward induction
- Solving a sequential game by determining optimal actions from the last decision nodes back to the first.
- Sequential rationality
- The assumption that a player chooses optimally at every decision node, whether or not it is reached.
- Strategy (extensive form)
- A complete plan specifying an action at every decision node of a player.
- Subgame perfect Nash equilibrium (SPNE)
- A strategy profile that is a Nash equilibrium in every subgame; found by backward induction in finite perfect-information games.
- Best response
- A strategy that maximises a player's payoff given the others' strategies.
Lesson 5
Repeated Games and the Folk Theorem
The folk theorem shows that infinitely repeated games have a very large set of subgame perfect equilibria. If some strategy profile gives every player a strictly higher payoff than a stage-game Nash equilibrium, it can be sustained in an SPE when the discount factor is high enough, using reversion to the stage Nash equilibrium as punishment.
Background
- In the infinitely repeated prisoner's dilemma: grim trigger is an SPE for high enough delta, always defect is always an SPE, tit-for-tat generally is not.
- The folk theorem asks whether there are other SPE: there are infinitely many.
- Called 'folk' because many people discovered it at about the same time; it is really a family of theorems for different settings (discounting, Nash vs SPE).
Statement of the folk theorem (one version)
- Take a finite stage game repeated infinitely with discount factor delta, and a Nash equilibrium of the stage game.
- Take any alternative strategies giving every player a strictly greater expected payoff than that Nash equilibrium.
- If delta is sufficiently high, an SPE exists in which the alternative strategies are played on the equilibrium path.
Why it works: generalised grim trigger
- Play the alternative strategies; if anyone ever deviates, play the stage Nash equilibrium forever.
- The punishment is credible because repeating a stage Nash equilibrium every period is itself an SPE.
- No profitable deviation condition: u_alt/(1-delta) >= u_dev + delta*u_NE/(1-delta), where u_dev is the maximum one-shot deviation payoff.
- Solving gives the cut point delta >= (u_dev - u_alt)/(u_dev - u_NE).
- Prisoner's dilemma with grim trigger (u_alt = 3, u_dev = 4, u_NE = 2) gives the grim trigger cut point.
Examples and intuition
- Alternative need not be mutual cooperation: e.g. I always cooperate, you cooperate 95% and defect 5%; both still expect more than 2.
- Deviation gives a gain today but lower payoffs forever after; patient players (delta near 1) value the future losses more, so they don't deviate.
- Hence infinitely many equilibria exist; this is mathematically neat but problematic for prediction in social science.
Key terms
- Folk theorem
- Result that any payoff strictly better than a stage Nash equilibrium for all players can be sustained in equilibrium of an infinitely repeated game with patient enough players.
- Stage game
- The single game played in every period of a repeated game.
- Discount factor (delta)
- Weight placed on next period's payoff relative to today's; higher means more patient.
- Grim trigger
- Cooperate until anyone deviates, then play the stage Nash equilibrium forever.
- Maximum deviation payoff
- The best one-period payoff a player can get by breaking from the agreed strategies.
