ArticleslgStudy

mathematics

Minimax

Minimax is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Minimax rather than just read about it. In short: Minimax (sometimes Minmax, MM or saddle point) is a decision rule used in artificial intelligence, decision theory, combinatorial game theory, statistics, and philosophy for minimizing the possible loss for a worst case (maximum loss) scenario. When dealing with gains, it is referred to as "maximin" – to maximize the minimum gain.

Minimax — main illustration
Minimax — illustration

Key takeaways

  • Minimax belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Minimax to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Minimax from memory before moving on to harder problems.

Reference excerpt

Minimax (sometimes Minmax, MM or saddle point) is a decision rule used in artificial intelligence, decision theory, combinatorial game theory, statistics, and philosophy for minimizing the possible loss for a worst case (maximum loss) scenario. When dealing with gains, it is referred to as "maximin" – to maximize the minimum gain. Originally formulated for several-player zero-sum game theory, covering both the cases where players take alternate moves and those where they make simultaneous moves, it has also been extended to more complex games and to general decision-making in the presence of uncertainty.

Game theory

In general games The maximin value is the highest value that the player can be sure to get without knowing the actions of the other players; equivalently, it is the lowest value the other players can force the player to receive when they know the player's action. Its formal definition is:

vi_=maxaimina−ivi(ai,a−i) Where:

i is the index of the player of interest. −i denotes all other players except player i. ai is the action taken by player i. a−i denotes the actions taken by all other players. vi is the value function of player i. Calculating the maximin value of a player is done in a worst-case approach: for each possible action of the player, we check all possible actions of the other players and determine the worst possible combination of actions – the one that gives player i the smallest value. Then, we determine which action player i can take in order to make sure that this smallest value is the highest possible. For example, consider the following game for two players, where the first player ("row player") may choose any of three moves, labelled T, M, or B, and the second player ("column player") may choose either of two moves, L or R. The result of the combination of both moves is expressed in a payoff table:

LRT3,12,−20M5,0−10,1B−100,24,4 (where the first number in each of the cell is the pay-out of the row player and the second number is the pay-out of the column player). For the sake of example, we consider only pure strategies. Check each player in turn:

The row player can play T, which guarantees them a payoff of at least 2 (playing B is risky since it can lead to payoff −100, and playing M can result in a payoff of −10). Hence: vrow_=2. The column player can play L and secure a payoff of at least 0 (playing R puts them in the risk of getting −20). Hence: vcol_=0. If both players play their respective maximin strategies (T,L), the payoff vector is (3,1). The minimax value of a player is the smallest value that the other players can force the player to receive, without knowing the player's actions; equivalently, it is the largest value the player can be sure to get when they know the actions of the other players. Its formal definition is:

vi‾=mina−imaxaivi(ai,a−i) The definition is very similar to that of the maximin value – only the order of the maximum and minimum operators is inverse. In the above example:

The row player can get a maximum value of 4 (if the other player plays R) or 5 (if the other player plays L), so: vrow‾=4 . The column player can get a maximum value of 1 (if the other player plays T), 1 (if M) or 4 (if B). Hence: vcol‾=1 . For every player i, the maximin is at most the minimax:

vi_≤vi‾ Intuitively, in maximin the maximization comes after the minimization, so player i tries to maximize their value before knowing what the others will do; in minimax the maximization comes before the minimization, so player i is in a much better position – they maximize their value knowing what the others did. Another way to understand the notation is by reading from right to left: When we write

vi‾=mina−imaxaivi(ai,a−i)=mina−i(maxaivi(ai,a−i)) the initial set of outcomes vi(ai,a−i) depends on both ai and a−i . We first marginalize away ai from vi(ai,a−i), by maximizing over ai (for every possible value of a−i) to yield a set of marginal outcomes v'i(a−i), which depends only on a−i . We then minimize over a−i over these outcomes. (Conversely for maximin.) Although it is always the case that vrow_≤vrow‾ and vcol_≤vcol‾, the payoff vector resulting from both players playing their minimax strategies, (2,−20) in the case of (T,R) or (−10,1) in the case of (M,R), cannot similarly be ranked against the payoff vector (3,1) resulting from both players playing their maximin strategy.

In zero-sum games

In two-player zero-sum games, the minimax solution is the same as the Nash equilibrium. In the context of zero-sum games, the minimax theorem is equivalent to:

For every two-person zero-sum game with finitely many strategies, there exists a value V and a mixed strategy for each player, such that (a) Given Player 2's strategy, the best payoff possible for Player 1 is V, and (b) Given Player 1's strategy, the best payoff possible for Player 2 is −V.

Equivalently, Player 1's strategy guarantees them a payoff of V regardless of Player 2's strategy, and similarly Player 2 can guarantee themselves a payoff of −V. The name minimax arises because each player minimizes the maximum payoff possible for the other – since the game is zero-sum, they also minimize their own maximum loss (i.e., maximize their minimum payoff). See also example of a game without a value.

Example

… excerpt ends here. Continue reading the full article.

Illustrations

Minimax: An animated pedagogical example that attempts to be human-friendly by substituting initial infinite (or arbitrarily large) values for emptiness and by avoiding using the negamax coding simplifications.
An animated pedagogical example that attempts to be human-friendly by substituting initial infinite (or arbitrarily large) values for emptiness and by avoiding using the negamax coding simplifications.

Worked examples

Example 1 — a first encounter with Minimax

Start with the simplest possible case. Write down what Minimax claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Minimax before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Minimax ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Minimax

In research
Minimax appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Minimax in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Minimax is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorial game theory, Decision theory, Detection theory, so understanding it makes those chapters shorter.
In everyday life
Look for Minimax outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Minimax” →

How to study Minimax in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Minimax means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Minimax out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Minimax in simple terms?

Minimax (sometimes Minmax, MM or saddle point) is a decision rule used in artificial intelligence, decision theory, combinatorial game theory, statistics, and philosophy for minimizing the possible loss for a worst case (maximum loss) scenario. When dealing with gains, it is referred to as "maximin…

Why does Minimax matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Minimax?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Minimax.

Tags

  • Combinatorial game theory
  • Decision theory
  • Detection theory
  • Fixed points (mathematics)
  • Game artificial intelligence
  • Graph algorithms
  • Optimization algorithms and methods
  • Search algorithms
  • Theorems in discrete mathematics

Keep exploring