Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Auctions

Auctions allocate goods to the bidders who value them most, without the seller needing to know those values. This chapter analyses first- and second-price sealed-bid auctions, deriving equilibrium bidding strategies and the surprising revenue equivalence between the two formats.

This is the one chapter in which players hold private information, here each bidder’s own valuation, so the games are games of incomplete information. The appropriate solution concept is then the Bayesian Nash equilibrium, in which each bidder best responds in expectation over the others’ unknown valuations. The rest of the book works with complete information, where payoffs are common knowledge. A fuller treatment of Bayesian games and mechanism design is beyond our scope; we use auctions as a first, self-contained encounter with strategic reasoning under private information.

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 maximises
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 h=b(1)(i)h = b_{(1)}^{(-i)} denote the highest bid
among the other players. Since the game is a second-price auction, if player ii
wins they pay the highest of the remaining bids, which is exactly hh. Player
ii’s utility is therefore:

ui={vihif bi>h (player i wins and pays h)0if bi<h (player i loses)u_i = \begin{cases} v_i - h & \text{if } b_i > h \text{ (player } i \text{ wins and pays } h\text{)} \\ 0 & \text{if } b_i < h \text{ (player } i \text{ loses)} \end{cases}

Ties (bi=hb_i = h) occur with probability zero and are broken arbitrarily. Bidding
bi=vib_i = v_i gives utility vih>0v_i - h > 0 when vi>hv_i > h and 0 when vi<hv_i < h. We
compare this with the two possible deviations.


Case 1: bi<vib_i < v_i (the deviation is to a lower bid than the value)

Underbidding therefore never increases the utility.


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

Overbidding therefore never increases the utility.


In both cases, deviating from bi=vib_i = v_i leaves the utility unchanged or
decreases it, whatever the value of hh. Hence bidding truthfully maximises
utility for every viv_i, and truthful bidding is a (weakly) dominant strategy.

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}

It remains to confirm that this stationary point is the global maximum. Player ii never bids above viv_i, since winning at a price bˉ>vi\bar{b} > v_i gives a negative surplus vibˉ<0v_i - \bar{b} < 0, and never below 0, so we may restrict to bˉ[0,vi]\bar{b} \in [0, v_i]. On this interval bˉ<N1N<1\bar{b} < \tfrac{N-1}{N} < 1, so the argument NN1bˉ\tfrac{N}{N-1}\bar{b} of the uniform CDF stays in [0,1][0, 1] and the expression for E[ui]\mathbb{E}[u_i] above is valid throughout. The expected utility (NN1)N1bˉN1(vibˉ)\left(\tfrac{N}{N-1}\right)^{N-1} \bar{b}^{N-1}(v_i - \bar{b}) is zero at both endpoints bˉ=0\bar{b} = 0 and bˉ=vi\bar{b} = v_i and strictly positive in between, so its unique interior stationary point bˉ=N1Nvi\bar{b} = \tfrac{N-1}{N} v_i is the global maximum on [0,vi][0, v_i].

Thus, any deviation bˉN1Nvi\bar{b} \ne \frac{N - 1}{N}v_i does not improve utility, and the symmetric profile in which every player bids N1Nvi\tfrac{N-1}{N} v_i is a Bayesian Nash equilibrium.


Exercises






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)
print(f"Mean utility per bidder: {mean_utilities}")
Mean utility per bidder: [0.17535816 0.18842919 0.47175621]

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 6: 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.

These results underpin some of the most economically significant allocation mechanisms in use today, 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

Solutions

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.