4) Existence of Equilibria
4) Existence of Equilibria
LUISS
1/34
(LUISS) Existence of Equilibria for Strategic Games 1 / 34
Games & Strategies Existence of Equilibria
Topics
2/34
(LUISS) Existence of Equilibria for Strategic Games 2 / 34
Games & Strategies Mixed strategies
A player cannot use the same strategy all the time; this would be observed and
the other player could take advantage from this.
It makes sense to play strategies according to some probability scheme.
But these probabilities must be chosen strategically!
3/34
(LUISS) Existence of Equilibria for Strategic Games 3 / 34
Games & Strategies Mixed strategies
Consider a 2-person game with strategy sets I = {1, . . . , n} and J = {1, . . . , m},
and payoff matrices (A, B). In the mixed extension of the game player 1 chooses a
probability distribution x ∈ ΣI and player 2 a probability distribution y ∈ ΣJ .
The probability of observing the outcome ij is the product xi yj and then the
expected payoffs for both players are respectively:
Pn Pm
Player 1: f (x, y ) = i=1 j=1 aij xi yj = x t Ay
Pn Pm
Player 2: g (x, y ) = i=1 j=1 bij xi yj = x t By
5/34
(LUISS) Existence of Equilibria for Strategic Games 5 / 34
Games & Strategies Mixed strategies
Alternatively:
The expected payoff for player 1 when playing the pure strategy i ∈ I against
the mixed strategy y ∈ ΣJ of player 2 is
Pm
ui (y ) = j=1 aij yj
and then Pn
f (x, y ) = i=1 xi ui (y )
The expected payoff for player 2 when playing the pure strategy j ∈ J against
the mixed strategy x ∈ ΣI of player 1 is
Pn
vj (x) = i=1 bij xi
and then Pm
g (x, y ) = j=1 yj vj (x)
6/34
(LUISS) Existence of Equilibria for Strategic Games 6 / 34
Games & Strategies Best response maps
Best responses
Nash equilibrium relies on the assumption that players maximize their payoff with
respect to their own variable, taking for granted the choice of the other player.
Pn Pn
Player 1: max i=1 xi ui (y ) ⇒ BR1 (y ) = Argmax i=1 xi ui (y )
x∈ΣI x∈ΣI
Pm Pm
Player 2: max j=1 yj vj (x) ⇒ BR2 (x) = Argmax j=1 yj vj (x)
y ∈ΣJ y ∈ΣJ
BR1 (y ) is the set of all x’s that maximize f (·, y ) for a fixed y ∈ ΣJ .
BR2 (x) is the set of all y ’s that maximize g (x, ·) for a fixed x ∈ ΣI .
7/34
(LUISS) Existence of Equilibria for Strategic Games 7 / 34
Games & Strategies Best response maps
8/34
(LUISS) Existence of Equilibria for Strategic Games 8 / 34
Games & Strategies Best response maps
2
q> 3 ⇒ uT (q) > uB (q) ⇒ it is optimal for player 1 to choose p = 1.
2
q< 3 ⇒ uT (q) < uB (q) ⇒ it is optimal for player 1 to choose p = 0.
2
q= 3 ⇒ uT (q) = uB (q) ⇒ every p ∈ [0, 1] is equally good for player 1.
9/34
(LUISS) Existence of Equilibria for Strategic Games 9 / 34
Games & Strategies Best response maps
5
p< 6 ⇒ vL (p) > vR (p) ⇒ it is optimal for player 2 to choose q = 1.
5
p> 6 ⇒ vL (p) < vR (p) ⇒ it is optimal for player 2 to choose q = 0.
5
p= 6 ⇒ vL (p) = vR (p) ⇒ every q ∈ [0, 1] is equally good for player 2.
10/34
(LUISS) Existence of Equilibria for Strategic Games 10 / 34
Games & Strategies Best response maps
2
3
5 1 p
6
11/34
(LUISS) Existence of Equilibria for Strategic Games 11 / 34
Games & Strategies Nash theorem
which associates to each possible strategies x-i of the other players the set of xi ’s
that maximize the payoff fi (·, x-i ).
Then: (x̄i )ni=1 is a Nash equilibrium if and only if for each player i = 1, . . . , n we
have x̄i ∈ BRi (x̄-i ).
12/34
(LUISS) Existence of Equilibria for Strategic Games 12 / 34
Games & Strategies Nash theorem
Theorem
Qn game with strategy sets Xi and payoff functions fi : X → R
Given a n-player
where X = i=1 Xi . Suppose:
each Xi is a closed bounded convex subset in a finite dimensional space Rdi
each fi : X → R is continuous
xi 7→ fi (xi , x-i ) is a (quasi) concave function for each fixed x-i ∈ X-i
Then there exists at least one Nash equilibrium.
13/34
(LUISS) Existence of Equilibria for Strategic Games 13 / 34
Games & Strategies Nash theorem
The common strategy set is a closed interval, thus a closed convex bounded set.
The functions are continuous, and concave in one variable when the other is fixed.
We get BR1 (y ) = {max(0, 6 − y )} and BR2 (x) = {min(10, 4 + x)}.
To find an equilibrium we solve
(
x = max(0, 6 − y )
y = min(10, 4 + x)
14/34
(LUISS) Existence of Equilibria for Strategic Games 14 / 34
Games & Strategies Existence of equilibria in mixed strategies
Corollary
Every 2-player finite game has at least one Nash equilibrium in mixed strategies.
In this case
ΣI ⊆ RI and ΣJ ⊆ RJ are simplexes, hence closed bounded and convex
f (x, y ) = x t Ay and g (x, y ) = x t By are jointly continuous w.r.t (x, y )
Pn
f (x, y ) = Pi=1 xi ui (y ) is linear with respect to x (for fixed y ) and
m
g (x, y ) = j=1 yi vj (x) is linear with respect to y (for fixed x)
and thus the assumptions of Nash theorem are fulfilled.
15/34
(LUISS) Existence of Equilibria for Strategic Games 15 / 34
Games & Strategies Existence of equilibria in mixed strategies
Consider an n-person finite game with strategy sets Ai and payoffs fi (a1 , . . . , an ).
In the mixed extension each player i chooses P a probability distribution x i ∈ ΣAi ,
i i
that is to say, xai ≥ 0 for all ai ∈ Ai and ai ∈Ai xai = 1.
Qn
Denote A = i=1 Ai the set of pure strategyQprofiles. The probability of observing
n
an outcome (a1 , . . . , an ) ∈ A is the product i=1 xai i and the expected payoffs are:
X n
Y X
f¯i (x 1 , . . . , x n ) = fi (a1 , . . . , an ) xaj j = xai i ui (ai , x −i )
(a1 ,...,an )∈A j=1 ai ∈Ai
X Y
ui (ai , x −i ) = fi (a1 , . . . , an ) xaj j
aj ∈Aj ,j6=i j6=i
Corollary
Every n-player finite game has at least one Nash equilibrium in mixed strategies.
16/34
(LUISS) Existence of Equilibria for Strategic Games 16 / 34
Games & Strategies Computing mixed equilibria
For every fixed mixed strategy y of the second player, the utility of the first player
is, the following function, where x must be considered as a variable and y as a
parameter
Pn
f (x, y ) = i=1 xi ui (y ).
Thus the first player faces the problem of maximizing f (·, y ), a linear function for
every fixed y , over the simplex of his mixed strategies.
How can this be done?
Let us see it in general.
17/34
(LUISS) Existence of Equilibria for Strategic Games 17 / 34
Games & Strategies Computing mixed equilibria
Consider the problem of maximizing, over the simplex in R4 , the weighted average
Clearly the optimal value is 23 and is attained by putting all the weight on the
variables x3 and x4 , since they have larger coefficients.
In particular (0, 0, 1, 0) and (0, 0, 0, 1) are optimal, as well as (0, 0, 12 , 21 ).
In general the optimal solutions are all vectors (x1 , x2 , x3 , x4 ) with x1 = x2 = 0 and
x3 , x4 ≥ 0 with x3 + x4 = 1.
18/34
(LUISS) Existence of Equilibria for Strategic Games 18 / 34
Games & Strategies Computing mixed equilibria
Note that there is always a best response in pure strategies: choose any a with
maximal ua and set xa = 1 and xa0 = 0 for a0 6= a. 19/34
(LUISS) Existence of Equilibria for Strategic Games 19 / 34
Games & Strategies Computing mixed equilibria
It follows that, given y a mixed strategy of the second player, the first one must
look at the rows, i.e. the pure strategies, which give him the highest expected
utility. So these pure strategies play a crucial role in finding Nash equilibria.
Definition
For a non-negative vector (x1 , . . . , xn ) ≥ 0 we define its support as the set of
indexes of its strictly positive entries, that is
spt(x) = {i : xi > 0}
The support of a mixed strategy then is the set of the pure strategies played with
positive probability.
20/34
(LUISS) Existence of Equilibria for Strategic Games 20 / 34
Games & Strategies Computing mixed equilibria
21/34
(LUISS) Existence of Equilibria for Strategic Games 21 / 34
Games & Strategies Computing mixed equilibria
When finding a Nash equilibrium, a system of inequalities and equalities like that
one above must be solved.
Where are the difficulties in solving such a system?
The key fact is that the support of a (potential) Nash equilibrium is not a priori
known.
So the above system can be easily used only when one looks for a Nash
equilibrium with given support.
22/34
(LUISS) Existence of Equilibria for Strategic Games 22 / 34
Games & Strategies Computing mixed equilibria
Full support
In particular, the above system of equalities/inequalities simplifies and becomes a
linear system of equalities if one looks for fully mixed (meaning that all strategies
are played with positive probability) Nash equilibria.
ai1 ȳ1 + ai2 ȳ2 + · · · + aim ȳm = ak1 ȳ1 + ak2 ȳ2 + · · · + akm ȳm
b1r x̄1 + b2r x̄2 + · · · + bnr x̄n = b1s x̄1 + b2s x̄2 + · · · + bns x̄n
for all r , s = 1, . . . m with the further conditions
n
X m
X
x̄j , ȳj ≥ 0, x̄i = 1, ȳj = 1
i=1 j=1
Pm
Pj=1 yj = 1
n
i=1 bij xi = w for all j ∈ spt(ȳ )
yj = 0 for all j 6∈ spt(ȳ )
Lemke-Howson Algorithm
Enumerating all the possible supports in the brute force algorithm quickly becomes
computationally prohibitive: there are potentially (2n − 1)(2m − 1) options!
For n × n games the number of combinations grow very quickly
n # of potential supports
2 9
3 49
4 225
5 961
10 1.046.529
20 1.099.509.530.625
25/34
(LUISS) Existence of Equilibria for Strategic Games 25 / 34
Games & Strategies Interesting Examples
Hotelling game
Several icecream vendors must place their cart in a beach 1 kilometer long.
People are distributed uniformly on the beach and choose the closest cart to get
icecream. People having several carts at the same distance are split evenly.
26/34
(LUISS) Existence of Equilibria for Strategic Games 26 / 34
Games & Strategies Interesting Examples
Cournot competition
Two firms choose produce a certain good, with a unit production cost of c > 0.
Firm 1 produces a quantity q1 , whereas firm 2 produces a quantity q2 .
The selling price of the good decreases linearly with the total quantity q produced
27/34
(LUISS) Existence of Equilibria for Strategic Games 27 / 34
Games & Strategies Interesting Examples
The monopolist
Clearly it makes no sense to produce more than a, so the optimal production lies
in the interval [0, a]. Hence the firm maximizes the quadratic (a − c)q1 − q12 ,from
which we get the optimal production level as well as the resulting price and utility
qM = 12 [a − c]+ .
28/34
(LUISS) Existence of Equilibria for Strategic Games 28 / 34
Games & Strategies Interesting Examples
The duopoly
Suppose now that Firm 2 is back and produces q2 . Then Firm 1 solves
Assuming that both firms produce a positive quantity, we get the unique solution
q1 = q2 = 13 (a − c). The total production and the resulting price are
Braess Paradox
4.000 people travel from Torino to Milano, each one wants to minimize travel
time. N is the number of people driving in the corresponding road.
What are the Nash equilibria if the Up-Down street between the two small
cities is closed for maintenance work?
30/34
(LUISS) Existence of Equilibria for Strategic Games 30 / 34
Games & Strategies Interesting Examples
El Farol bar
In Santa Fe there are 500 young people, happy to go to the El Farol bar. More
people in the bar, happier they are, till they reach 300 people. They can also
choose to stay at home. So utility function can be assumed to be 0 if they stay at
home, u(x) = x if x ≤ 300, u(x) = 300 − x if x > 300.
Essentially there is a Nash equilibrium, where 300 young people are in the bar, the
other stay at home. An asymmetric situation, notwithstanding the players are
symmetric.
31/34
(LUISS) Existence of Equilibria for Strategic Games 31 / 34
Games & Strategies Interesting Examples
Auctions
Several types of auctions since ancient times: sequential offers, sealed offers, first
price, second price,. . .
There are n bidders, each one has a valuation v for the object, which is kept
as private information. We assume that v1 > v2 > · · · > vn .
Each bidder proposes a (non-negative) bid bi , seen as strategy for the player.
Thus the strategy space of the players is [0, ∞).
An assignment rule and the payment must be decided, including the rule for
handling ties.
Player i gets an utility vi − bi if he wins the auction, and 0 otherwise.
We consider only auctions where the winner is the highest bidder. In case of tie in
the highest bid the winner is the one who values more the object.
32/34
(LUISS) Existence of Equilibria for Strategic Games 32 / 34
Games & Strategies Interesting Examples
In a first price auction the rule is: the player i offering the highest bid bi gets the
object and pays exactly her bid. The other players pay nothing.
33/34
(LUISS) Existence of Equilibria for Strategic Games 33 / 34
Games & Strategies Interesting Examples
In a second price auction the rule is: the player i offering the highest bid bi gets
the object and pays the second highest bid. The other players pay nothing.
34/34
(LUISS) Existence of Equilibria for Strategic Games 34 / 34