Skip to content

Main content

Duopoly Firm Residual Demand Term Tool

Subtract supplied rival quantity from market quantity at one explicit price without estimating a demand curve or equilibrium.

Loading tool…

Description

Calculate raw and nonnegative residual demand after rival quantity.

Game-theoretic calculations depend on specified players, actions, payoff direction, probabilities and continuation assumptions. A single incentive term, coalition inequality or candidate best response is only part of a complete equilibrium argument. Supplied preferences and payoffs are model inputs rather than observed behavior or a moral allocation rule.

Calculate raw and nonnegative residual demand after rival quantity.

When to use this tool

Use Duopoly Firm Residual Demand Term when checking the stated local payoff, strategy, matching or repeated-game condition.

How to use the tool and how it works

  1. Enter marketQuantityAtPrice, rivalQuantity. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read rawResidualQuantity, nonnegativeResidualQuantity. Use the output convention below.

Require nonnegative market quantity and rival quantity. Return market-rival and its positive part separately.1

Input fieldMeaning and unitsAccepted input
marketQuantityAtPriceMarket Quantity At PriceRequired. Finite number; minimum 0.
rivalQuantityRival QuantityRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
rawResidualQuantityRaw Residual QuantityRequired. Finite number.
nonnegativeResidualQuantityNonnegative Residual QuantityRequired. Finite number.
json
{
  "input": {
    "marketQuantityAtPrice": 100,
    "rivalQuantity": 30
  },
  "output": {
    "rawResidualQuantity": 70,
    "nonnegativeResidualQuantity": 70
  }
}

Limitations and assumptions

  • Residual demand is evaluated at a caller-supplied price scenario; no demand curve, market clearing, capacity or equilibrium quantity is inferred.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use the complete game, feasible strategy space and justified information/continuation assumptions for equilibrium, welfare or actual decision analysis.

References

  1. Calculation and input contract: game-theory/duopoly-firm-residual-demand-term — tool.io

Similar or alternative tools