Mathwords logoMathwords

Optimal Mixed Strategy — Definition, Formula & Example

An optimal mixed strategy is a set of probabilities over your options that gives you the highest expected payoff you can guarantee, no matter what your opponent does. A mixed strategy can be any probability mix. An optimal one is a mix that protects you best against your opponent's best reply. Some games have more than one.

In a two-player zero-sum game with m×nm \times n payoff matrix A=(aij)A = (a_{ij}) and value vv, a row mixed strategy p∗\mathbf{p}^* is optimal if ∑ipi∗aij≥v\sum_i p_i^* a_{ij} \ge v for every column jj. A column mixed strategy q∗\mathbf{q}^* is optimal if ∑jaijqj∗≤v\sum_j a_{ij} q_j^* \le v for every row ii. Von Neumann's minimax theorem (1928) guarantees that optimal strategies exist and that the two players' best guarantees are equal. The value vv is unique, but optimal strategies need not be.

Key Formula

v=max⁡p min⁡j∑i=1mpiaij=min⁡q max⁡i∑j=1naijqjv = \max_{\mathbf{p}} \, \min_{j} \sum_{i=1}^{m} p_i a_{ij} = \min_{\mathbf{q}} \, \max_{i} \sum_{j=1}^{n} a_{ij} q_j
Where:
  • p\mathbf{p} = Row player's mixed strategy: probabilities p1p_1, ..., pmp_m that sum to 1
  • q\mathbf{q} = Column player's mixed strategy: probabilities q1q_1, ..., qnq_n that sum to 1
  • aija_{ij} = Payoff to Row when Row plays row i and Column plays column j
  • vv = Value of the game, the guaranteed expected payoff under optimal play

Worked Example

Problem: Column pays Row the dollar amount shown. Row picks R1R_1 or R2R_2. Column picks C1C_1, C2C_2, or C3C_3. A=[502174]A = \begin{bmatrix} 5 & 0 & 2 \\ 1 & 7 & 4 \end{bmatrix} The maximin is 1 and the minimax is 4. They differ, so the game has no saddle point. Find each player's optimal mixed strategy and the value of the game.
Step 1: Let Row play R1R_1 with probability pp. Write Row's expected payoff against each column as a function of pp.
E1=5p+1(1−p)=1+4p,E2=7(1−p)=7−7p,E3=2p+4(1−p)=4−2pE_1 = 5p + 1(1-p) = 1+4p,\quad E_2 = 7(1-p) = 7-7p,\quad E_3 = 2p + 4(1-p) = 4-2p
Step 2: Row's guarantee is the smallest of the three. For pp from 0 up to the crossing below, E1E_1 is the smallest, and it rises. E3E_3 falls. The guarantee peaks where they meet. At that point E2E_2 is higher, so C2C_2 cannot pull the guarantee lower.
1+4p=4−2p  ⇒  p=12,E1=E3=3,E2=72>31+4p = 4-2p \;\Rightarrow\; p = \tfrac{1}{2}, \qquad E_1 = E_3 = 3, \quad E_2 = \tfrac{7}{2} > 3
Step 3: Against Row's optimal mix, C2C_2 costs Column more than 3, so Column gives it probability 0. Let Column play C1C_1 with probability qq and C3C_3 with probability 1−q1-q. Make Row's two rows pay the same.
5q+2(1−q)=q+4(1−q)  ⇒  2+3q=4−3q  ⇒  q=13,2+3(13)=35q + 2(1-q) = q + 4(1-q) \;\Rightarrow\; 2+3q = 4-3q \;\Rightarrow\; q = \tfrac{1}{3}, \qquad 2 + 3\left(\tfrac{1}{3}\right) = 3
Answer: Row's optimal mixed strategy is (12,12)(\tfrac{1}{2}, \tfrac{1}{2}). Column's optimal mixed strategy is (13,0,23)(\tfrac{1}{3}, 0, \tfrac{2}{3}). The value is $3. Row is guaranteed an average of at least $3 per round, and Column is guaranteed to pay at most $3.

Why It Matters

For games larger than 2 by n, you find optimal mixed strategies by solving a linear program. The minimax theorem is closely tied to linear programming duality, a core result in operations research courses. The same calculation is used to analyze penalty-kick direction in soccer and to randomize security patrols.

Common Mistakes

Mistake: Setting all three expected payoffs equal, E1=E2=E3E_1 = E_2 = E_3, as if every option must appear in the optimal mix.
Correction: Here E1=E2E_1 = E_2 gives p=611p = \tfrac{6}{11}, but E1=E3E_1 = E_3 gives p=12p = \tfrac{1}{2}. No single pp makes all three equal. Find the two payoff lines that meet at the top of the guarantee. Any option that does worse for its player against the optimal mix gets probability 0.

Related Terms