Skip to content

Matching Pennies


Definition

Matching Pennies is a two-player normal-form game in which each player shows a coin, HH (heads) or TT (tails), simultaneously. Player 1 wins if the coins match and player 2 wins if they differ; the winner gets 11 and the loser −1-1:

HH TT
HH 1,−11,-1 −1,1-1,1
TT −1,1-1,1 1,−11,-1

The game is zero-sum: v1(s)+v2(s)=0v_1(s)+v_2(s)=0 for every profile ss.


Interpretation

Matching Pennies is the simplest game of pure conflict in which being predictable is costly. If player 2 knew player 1's choice, she would pick the other side and win; the same holds the other way round. It models situations such as a penalty kick (shoot left or right, dive left or right) or a tax inspection (evade or comply, inspect or not).

There is no Nash equilibrium in pure strategies: in every cell the loser wants to switch. The game therefore shows why mixed strategies are needed. In the equilibrium each player randomizes 12\tfrac{1}{2}–12\tfrac{1}{2}, which leaves the opponent with nothing to exploit.

Matching Pennies payoff table with four arrows forming a clockwise cycle: player 2 switches along the rows and player 1 along the columns, so no cell is left without a profitable deviation.

In each cell the arrow shows the loser's profitable switch. At (H,H)(H,H) player 2 moves to TT (red, along the row); at (H,T)(H,T) player 1 moves to TT (blue, down the column); at (T,T)(T,T) player 2 moves back to HH; at (T,H)(T,H) player 1 moves back to HH. The four arrows close into a cycle, so play never settles on a pure profile, and the only equilibrium is the mixed one in which both players play HH with probability 12\tfrac{1}{2}.

The equilibrium probabilities are not chosen to maximize a player's own payoff; any mixture is a best response once the opponent mixes equally. They are pinned down by the requirement that the opponent is indifferent. If player 2 played HH with probability q>12q>\tfrac{1}{2}, player 1's unique best response would be the pure strategy HH, and that cannot be part of an equilibrium.

Drawn as a game tree (Week 3), player 2's two decision nodes form one information set, because she does not see player 1's coin. If she could see it, she would always win.


Key Results

  • Matching Pennies has no pure-strategy Nash equilibrium.
  • No strategy is dominated, so iterated elimination of strictly dominated strategies removes nothing.
  • It has a unique Nash equilibrium in mixed strategies, in which both players play HH with probability 12\tfrac{1}{2}; each player's expected payoff is 00. The equilibrium is not strict: against the opponent's mixture, HH, TT and every mixture give the same payoff.
  • The best-response correspondence of player 1 is HH if q>12q>\tfrac{1}{2}, TT if q<12q<\tfrac{1}{2} and every mixture if q=12q=\tfrac{1}{2}, where qq is player 2's probability of HH; player 2's is the mirror image. The two graphs cross only at (12,12)(\tfrac{1}{2},\tfrac{1}{2}).
  • The equilibrium mixture guarantees each player an expected payoff of 00 whatever the opponent does.
  • The game shows that existence of a pure equilibrium cannot be guaranteed, while the Nash existence theorem guarantees an equilibrium in mixed strategies.

Examples

No pure equilibrium. At (H,H)(H,H) and (T,T)(T,T) player 2 loses and gains 22 by switching; at (H,T)(H,T) and (T,H)(T,H) player 1 loses and gains 22 by switching. No cell survives.

The mixed equilibrium. Let player 1 play HH with probability pp and player 2 with probability qq. By the indifference principle,

v1(H,σ2)=q−(1−q)=2q−1,v1(T,σ2)=−q+(1−q)=1−2q,\begin{aligned} v_1(H,\sigma_2)&=q-(1-q)=2q-1,\\ v_1(T,\sigma_2)&=-q+(1-q)=1-2q, \end{aligned}

which are equal only at q=12q=\tfrac{1}{2}; symmetrically p=12p=\tfrac{1}{2}. With p=12p=\tfrac{1}{2}, player 1's payoff is 12(2q−1)+12(1−2q)=0\tfrac{1}{2}(2q-1)+\tfrac{1}{2}(1-2q)=0 for every qq.

Why other mixtures fail. Suppose player 2 plays HH with probability q=0.7q=0.7. Then HH gives player 1 2(0.7)−1=0.42(0.7)-1=0.4 and TT gives −0.4-0.4, so her unique best response is the pure strategy HH. Against HH, player 2's best response is TT, which contradicts q=0.7q=0.7. The same argument rules out every q≠12q\neq\tfrac{1}{2}, and symmetrically every p≠12p\neq\tfrac{1}{2}.

An unbalanced version. Suppose player 1 wins 22 (and player 2 loses 22) at (H,H)(H,H), all other payoffs unchanged. Player 1 is indifferent when 2q−(1−q)=−q+(1−q)2q-(1-q)=-q+(1-q), so q=25q=\tfrac{2}{5}. Player 2 is indifferent when −2p+(1−p)=p−(1−p)-2p+(1-p)=p-(1-p), so p=25p=\tfrac{2}{5}. Player 1's expected payoff is 3q−1=153q-1=\tfrac{1}{5}. The larger prize at (H,H)(H,H) changes player 2's mixture, who now avoids HH, and also player 1's: she plays HH less often than before, because her probability is set by player 2's payoffs, not her own.


Prerequisites



Sources

  • Game Theory · Week 2 (placement provisional; not yet checked against the lecture slides)

Aliases: matching pennies game, game of matching pennies Keywords: zero-sum game, no pure-strategy equilibrium, heads or tails, mix one half each, unpredictability, penalty kick Symbols: sigma

Last updated: 14 October 2026 08:21