Skip to article frontmatterSkip to article content

Auctions

Motivating Example: Bidding for backstage passes

A popular band, The Algorithms, is playing a one-night-only concert in Cardiff.
To raise money for charity, the band is auctioning off a single backstage pass.

Three fans — Alex, Casey, and Jordan — are each secretly asked to submit a sealed bid
for how much they are willing to pay for the pass. The highest bidder will win the
auction, but they will only pay the second-highest bid.

This is a second-price sealed-bid auction, often called a Vickrey auction.

Each fan has a private valuation for the backstage pass:

Suppose the bids submitted are:

Then Alex wins — but only pays £100, the second-highest bid.

This setup has an interesting strategic property: bidding your true value is a dominant strategy. Even if Alex knew the other bids, they could not do better by bidding higher or lower than £150.

We’ll explore why this is the case formally in what follows.

Theory

Definition: Auction Game


An auction game with NN players (or bidders) is defined by:

The utility of player ii is then given by:

ui=viqipiu_i = v_i \cdot q_i - p_i

where qiq_i is the allocation to player ii, and pip_i is their payment.


Example: The Auction Game for backstage passes

In Motivating Example: Bidding for backstage passes,
the auction game is defined with N=3N = 3 players:

The resulting utilities for each player are:

Definition: Bayesian Nash Equilibrium

A Bayesian Nash equilibrium is a strategy profile in a game with incomplete
information such that, given their own type, each player’s strategy maximizes
their expected utility assuming the strategies of the other players are fixed
and that beliefs about types are correct.

Theorem: Bayesian Nash Equilibrium for Second Pay Auction

In a second price auction the Bayesian Nash equilibrium is for all players to bid their value:

bi=vib_i = v_i

Proof

Let us consider the strategy bi(vi)=vib_i(v_i) = v_i — that is, player ii bids truthfully.

We show that this is a best response to all other players also bidding truthfully.

Fix a valuation viv_i for player ii. Let bib_i denote the bid player ii chooses
(possibly different from viv_i). Let b(1)(i)b_{(1)}^{(-i)} and b(2)(i)b_{(2)}^{(-i)} denote
the highest and second-highest bids among the other players.

We compute the expected utility of deviating from bi=vib_i=v_i to bivib_i\ne v_i:

E[ui]=prob(Win)(vib(2)1)\mathbb{E}[u_i] = \text{prob}(\text{Win})(v_i - b(2)^{-1})

Let us distinguish two cases:


Case 1: bi<vib_i < v_i (the deviation is to a lower bid than the value) This deviation will cause prob(Win)\text{prob}(\text{Win}) to either:

This causes a loss in expected utility compared to bidding viv_i.


Case 2: bi>vib_i > v_i (the deviation is to a higher bid than the value)

This deviation cases no change in prob(Win)\text{prob}(\text{Win}) and no change in the overall utility.


Thus, bidding anything other than viv_i weakly decreases expected utility,
Hence, bidding truthfully maximizes expected utility for all viv_i, given
that others bid truthfully.

Therefore, truthful bidding is a Bayesian Nash equilibrium.

Theorem: Bayesian Nash equilibrium in a first-price auction with uniform values


In a first-price auction with NN players, where each valuation viv_i is drawn
independently from Unif[0,1]\text{Unif}[0, 1], the Bayesian Nash equilibrium is for
each player to shade their bid according to:

bi=N1Nvib_i = \frac{N - 1}{N}v_i

Proof

Suppose all players follow the bidding strategy:

bj=N1Nvjfor all jib_j = \frac{N - 1}{N}v_j \quad \text{for all } j \ne i

Now consider a deviation by player ii who bids bˉN1Nvi\bar{b} \ne \frac{N - 1}{N}v_i.

Let us compute the expected utility for player ii from this deviation.

Player ii wins if their bid bˉ\bar{b} is higher than the bids of all
other players, and receives utility equal to vibˉv_i - \bar{b}. If they lose,
they get zero utility. Thus:

E[ui]=Pr(Win)(vibˉ)\begin{aligned} \mathbb{E}[u_i] &= \Pr(\text{Win}) \cdot (v_i - \bar{b}) \end{aligned}

Since all other players are bidding truthfully according to
bj=N1Nvjb_j = \frac{N - 1}{N}v_j, and vjUnif[0,1]v_j \sim \text{Unif}[0, 1], we find:

Pr(Win)=Pr(bˉN1Nvj for all ji)=Pr(vjNN1bˉ for all ji)=jiPr(vjNN1bˉ)(independence)=(F(NN1bˉ))N1=(NN1bˉ)N1(CDF of Unif[0,1])\begin{aligned} \Pr(\text{Win}) &= \Pr\left( \bar{b} \geq \frac{N - 1}{N}v_j \text{ for all } j \ne i \right) \\ &= \Pr\left( v_j \leq \frac{N}{N - 1} \bar{b} \text{ for all } j \ne i \right) \\ &= \prod_{j \ne i} \Pr\left( v_j \leq \frac{N}{N - 1} \bar{b} \right) \quad \text{(independence)} \\ &= \left( F\left( \frac{N}{N - 1} \bar{b} \right) \right)^{N - 1} \\ &= \left( \frac{N}{N - 1} \bar{b} \right)^{N - 1} \quad \text{(CDF of } \text{Unif}[0,1]) \end{aligned}

Hence, expected utility becomes:

E[ui]=(NN1)N1bˉN1(vibˉ)\mathbb{E}[u_i] = \left( \frac{N}{N - 1} \right)^{N - 1} \bar{b}^{N - 1} (v_i - \bar{b})

To find the optimal deviation, we take the derivative of expected utility
with respect to bˉ\bar{b}:

dE[ui]dbˉ=(NN1)N1ddbˉ(bˉN1(vibˉ))=(NN1)N1((N1)bˉN2(vibˉ)bˉN1)\begin{aligned} \frac{d\mathbb{E}[u_i]}{d\bar{b}} &= \left( \frac{N}{N - 1} \right)^{N - 1} \cdot \frac{d}{d\bar{b}} \left( \bar{b}^{N - 1}(v_i - \bar{b}) \right) \\ &= \left( \frac{N}{N - 1} \right)^{N - 1} \left( (N - 1) \bar{b}^{N - 2}(v_i - \bar{b}) - \bar{b}^{N - 1} \right) \end{aligned}

Setting this derivative equal to zero gives a necessary condition for optimality:

(N1)bˉN2(vibˉ)bˉN1=0(N1)(vibˉ)bˉ=0(divide by bˉN20)(N1)viNbˉ=0bˉ=N1Nvi\begin{aligned} (N - 1) \bar{b}^{N - 2}(v_i - \bar{b}) - \bar{b}^{N - 1} &= 0 \\ (N - 1)(v_i - \bar{b}) - \bar{b} &= 0 \quad \text{(divide by } \bar{b}^{N - 2} \ne 0) \\ (N - 1)v_i - N\bar{b} &= 0 \\ \bar{b} &= \frac{N - 1}{N} v_i \end{aligned}

Thus, any deviation bˉN1Nvi\bar{b} \ne \frac{N - 1}{N}v_i does not improve utility.


Exercises


Exercise: Dominant strategies in second-price auctions

In a second-price auction with two players whose private valuations are:

Each player submits a sealed bid. Show that bidding truthfully is a
dominant strategy for each player, and compute the resulting allocation,
payment, and utility.


Exercise: Overbidding and underbidding

Consider a second-price auction with v1=0.9v_1 = 0.9, v2=0.7v_2 = 0.7, and v3=0.5v_3 = 0.5.

Suppose Player 1 deviates and bids b1=1.0b_1 = 1.0, Player 2 bids truthfully,
and Player 3 bids b3=0.6b_3 = 0.6.


Exercise: Expected utility in a first-price auction

Let N=2N = 2 players, each with valuation viUnif[0,1]v_i \sim \text{Unif}[0,1],
use the symmetric strategy bi=12vib_i = \frac{1}{2}v_i.

Compute the expected utility of Player 1 as a function of their value v1v_1.

Hint: integrate over the opponent’s valuation or bid.


Exercise: Best response derivation

Using the first-price auction model with viUnif[0,1]v_i \sim \text{Unif}[0,1]
and the assumption that all other players bid bj=αvjb_j = \alpha v_j,
show that the best response of Player ii is to bid
bi=N1Nvib_i = \frac{N - 1}{N}v_i when α=N1N\alpha = \frac{N - 1}{N}.


Exercise: Generalising beyond uniform

Suppose players’ values are drawn from an exponential distribution
with CDF F(v)=1eλvF(v) = 1 - e^{-\lambda v}, and each player bids
bi=βvib_i = \beta v_i in a first-price auction.

Challenge: compare the optimal β\beta to the uniform case.


Exercise: Revenue equivalence between first- and second-price auctions

Suppose there are NN symmetric bidders with valuations viUnif[0,1]v_i \sim \text{Unif}[0,1],
drawn independently. In both the first-price and second-price sealed-bid auctions,
assume all players follow the Bayesian Nash equilibrium bidding strategies:

Let RR denote the expected revenue of the seller.

Task: Show that both mechanisms yield the same expected revenue:

E[Rfirst]=E[Rsecond]\mathbb{E}[R_{\text{first}}] = \mathbb{E}[R_{\text{second}}]

Hint:
In Unif[0,1]\text{Unif}[0, 1], the expected value of the kk-th order statistic (i.e., the kk-th highest value) is:

E[v(k)]=kN+1\mathbb{E}[v_{(k)}] = \frac{k}{N + 1}

Programming

There is a python library called sold which allows for the numeric simulation of auctions. The code below builds the valuation distributions and bidding rules for an auction with N=3N=3 players where the first two players bid the true value and the third player uses the strategy of Theorem: Bayesian Nash equilibrium in a first-price auction with uniform values.

import scipy.stats
import numpy as np

import sold
import sold.allocate
import sold.bid
import sold.pay

N = 3
valuation_distributions = [scipy.stats.uniform() for _ in range(N)]
bidding_functions = [sold.bid.true_value for _ in range(N - 1)] + [
    sold.bid.create_shaded_bid_map((N - 1) / N)
]

Now let us simulate this 100 times to confirm that the shaded big strategy gets a higher utility:

repetitions = 100
utilities = []
for seed in range(repetitions):
    allocation, payments, valuations = sold.auction(
        valuation_distributions=valuation_distributions,
        bidding_functions=bidding_functions,
        allocation_rule=sold.allocate.first_price,
        payment_rule=sold.pay.first_price,
        seed=seed,
    )
    utilities.append(valuations - allocation * payments)
mean_utilities = np.mean(utilities, axis=0)
mean_utilities

Notable Research

One of the early important publications in this field is Vickrey, 1961, which not only introduced the second-price auction—often called the Vickrey auction—proving that truth-telling is optimal, but also discusses the first-price auction. Vickrey was awarded the Nobel Prize in Economics in 1996 for this foundational work.

Another foundational contribution is Myerson, 1981, which formulates the design of optimal auctions, introduces the concept of virtual valuations, and proves a generalisation of the result in Exercise: Revenue equivalence between first- and second-price auctions: the revenue equivalence theorem. This theorem shows that all standard auctions yield the same expected revenue when bidders are risk-neutral and have independent private values.

Auction theory is often described as one of game theory’s most successfully applied branches. A striking example is the role of auctions in modern online advertising. This is exemplified in the work of Google’s chief economist Varian, 2007, which provides a theoretical model of position auctions—the type of auctions used to allocate advertising slots in search engines.

Further Nobel-recognised contributions to auction theory come from Paul Milgrom and Robert Wilson, who were awarded the Nobel Prize in Economics in 2020. Their work extends auction theory to settings where bidders’ values are interdependent and shaped by shared information. Wilson’s early work Wilson, 1967 developed models of bidding under common values, where bidders must reason about both their own and others’ information. Milgrom built on this by analysing how different auction formats perform in such settings Milgrom & Weber, 1982, helping to guide the design of real-world mechanisms. Together, they co-designed the simultaneous multiple-round auction (SMRA) used to allocate radio spectrum, which has had significant practical impact.

Conclusion

Auction theory provides a rigorous framework for understanding how goods and resources can be allocated efficiently under conditions of incomplete information. We’ve seen that second-price auctions promote truthful bidding as a dominant strategy, while first-price auctions require bidders to strategically shade their bids. The concept of Bayesian Nash equilibrium allows us to analyse these strategies under uncertainty, and the revenue equivalence theorem links together many of the most commonly used auction formats.

Importantly, these theoretical tools are not merely abstract: they underpin some of the most economically significant allocation mechanisms in the modern world, from government spectrum sales to online advertising platforms.

Table 1 gives a summary of the concepts seen in this chapter as well as a list of other auction types.

Table 1:Different types of auctions and their properties

*Truthful under private values and risk neutrality.

Auction FormatBidding StrategyTruthful?Allocates to Highest Bidder?Typical Use Case
Second-price sealedBid your true valueeBay-style auctions
First-price sealedShade your bidProcurement, real estate
English (ascending)Stay in until your value✅*Art, livestock auctions
Dutch (descending)Accept before price dropsCut flowers, perishable goods
Position auctionRank-based bidding✅ (under assumptions)Online advertising (e.g., Google Ads)
All-pay auctionBid your value (often)Tournaments, lobbying, rent-seeking
References
  1. Vickrey, W. (1961). Counterspeculation, auctions, and competitive sealed tenders. The Journal of Finance, 16(1), 8–37.
  2. Myerson, R. B. (1981). Optimal auction design. Mathematics of Operations Research, 6(1), 58–73.
  3. Varian, H. R. (2007). Position auctions. International Journal of Industrial Organization, 25(6), 1163–1178.
  4. Wilson, R. B. (1967). Competitive bidding with asymmetric information. Management Science, 13(11), 816–820.
  5. Milgrom, P. R., & Weber, R. J. (1982). A theory of auctions and competitive bidding. Econometrica: Journal of the Econometric Society, 1089–1122.