RatMath ShelfCourse guide

University: upper level

Game theory

Use the left and right arrow keys to turn pages.

Course summary

Where RatMath helps

82.5%

33 of 40 focal problems use RatMath for a calculation or a substantive step.

Direct calculation
31 · 77.5%
Assisted
2 · 5%
Worked by hand
7 · 17.5%

Using the packages

Exact payoff arithmetic and equilibrium routines are helpful once utilities and allowed moves are explicit. Credible threats, information sets and strategic assumptions require interpretation.

Calculator interface

Provide a payoff editor with row and column players named. Highlight unilateral deviations, trace information sets and display support conditions together with mixed-strategy probabilities.

Packages used in the lessons

@ratmath/discrete (28 days) · @ratmath/core (5 days) · @ratmath/stats (1 days)

How to read the percentages

Each of the 40 focal problems has equal weight. Direct means the displayed package calculation answers the computational question after the inputs are set up. Assisted means it contributes a step and the worked solution supplies essential reasoning, interpretation or selection. Worked by hand means the guide relies on a construction, argument or judgment for that task. The helpful share combines direct and assisted days. Courses and instructors assign different mixes of problems. The percentages describe this syllabus.

Classroom inputs and practical limits

33 of 40 days include a checked executable example. On 11 days the measured size sweep exercises a named API used in the lesson. Each day identifies its tested inputs and the mathematical property checked. Hand-worked days give the input scale and the argument to verify.

Ranges across the five units

Days 1–8 · Normal form and best response. Two-player normal forms usually have 2–4 strategies each and integer or modest rational payoffs.

Unit benchmark · discrete.matrixGame, strategies per player. Largest passing sample 20 (19.80 ms, 79.3 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 9–16 · Zero-sum play. Payoff matrices commonly 2×2 to 5×5; support enumeration and linear-program formulations have different costs.

Unit benchmark · discrete.matrixGame, strategies per player. Largest passing sample 20 (19.80 ms, 79.3 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 17–24 · Sequential and combinatorial games. Short game trees of depth about 2–6 or a few small heaps; both branching and depth control tree size.

Unit benchmark · logic.binaryIncrement.run, input bits. Largest passing sample 2,048 (21.81 ms, 75.1 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 25–32 · Cooperation and collective choice. Coalitions or voters often number 3–10 for explicit enumeration; there are 2ⁿ coalitions before computing their values.

Unit benchmark · discrete.binomial, objects. Largest passing sample 10,000 (8.36 ms, 88 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 33–40 · Matching and assignments. Two to ten people, jobs or alternatives per side; stable matchings and minimum-cost assignments answer different questions.

Unit benchmark · discrete.assignment, rows and columns. Largest passing sample 16 (565 ms, 127.2 MiB peak process RSS). Time cutoff at 32, 64, 128. The first sampled passing call above 100 ms used 16 (565 ms).

Accuracy notes (1)

Open · Two distinct categorical tuples can merge. A uniform table on the two arrays [‘a,sb’,‘c’] and [‘a’,‘b,sc’] should give each probability 1/2. The table reports one outcome with probability 1 because the composite string keys collide. Use unambiguous scalar IDs for such labels. Ordinary numeric dice faces have distinct keys.

Measurement method, runtime limits and complete workload results

Lecture and problem-set sequence

Days 1–8 Normal form and best response

Identify dominance, best responses, Nash equilibria and Pareto improvements.

6 direct calculation · 0 assisted · 2 worked by hand

  1. Day 1 Prisoner's dilemma
  2. Day 2 Matching pennies
  3. Day 3 Battle of the sexes
  4. Day 4 Iterated dominance
  5. Day 5 Mixed strategies by indifference
  6. Day 6 Pure equilibria
  7. Day 7 Pareto improvement
  8. Day 8 Nash versus welfare
Days 9–16 Zero-sum play

Relate minimax to linear programming and compute guaranteed payoffs.

6 direct calculation · 1 assisted · 1 worked by hand

  1. Day 9 A 2×2 zero-sum game
  2. Day 10 Saddle points
  3. Day 11 Rock, paper, scissors
  4. Day 12 A linear program
  5. Day 13 Shadow prices
  6. Day 14 Duality
  7. Day 15 Expected payoff
  8. Day 16 Invariance under translation
Days 17–24 Sequential and combinatorial games

Roll back a tree, use credibility and classify impartial positions.

6 direct calculation · 0 assisted · 2 worked by hand

  1. Day 17 Backward induction
  2. Day 18 Nim
  3. Day 19 Sprague–Grundy values
  4. Day 20 Partizan games
  5. Day 21 Linear recurrence
  6. Day 22 Noncredible threats
  7. Day 23 Information sets
  8. Day 24 Repeated play
Days 25–32 Cooperation and collective choice

Compare worths, core constraints, marginal contributions and voting rules.

7 direct calculation · 0 assisted · 1 worked by hand

  1. Day 25 Shapley value
  2. Day 26 The core
  3. Day 27 Voting power
  4. Day 28 Voting methods
  5. Day 29 Apportionment
  6. Day 30 Burnside counting
  7. Day 31 Coalitional rationality
  8. Day 32 Arrangements with repetition
Days 33–40 Matching and assignments

Distinguish stability, efficiency, feasibility and distributional assumptions.

6 direct calculation · 1 assisted · 1 worked by hand

  1. Day 33 Stable matching
  2. Day 34 Assignment problem
  3. Day 35 Matchings
  4. Day 36 Max flow, min cut
  5. Day 37 Blocking coalitions
  6. Day 38 Conditioning
  7. Day 39 Blocking pairs
  8. Day 40 Bayesian actions

Start day 1 →