Skip to main content

Walrasian equilibrium with endowments only

Author
Affiliation

Department of Economics, University of Houston

Published

November 29, 2026

Part of Production, Preferences, and Equilibrium: Theory and Applications.
Main Micro4Econ site | View this section in the book | Author: Fan Wang
Date: 2026-11-29 | HTML | PDF | QMD

1 Walrasian equilibrium with endowments only

1.1 Decentralization and prices

In a bartering economy, equilibrium requires potentially a lot of interactions among agents to trade their endowments to reach an optimal allocation. However, in a Walrasian economy, a central price system can be used to coordinate trades. Each agent looks at the prices of goods, decides how much to consume given them, and equilibrium prices are prices that clear the markets. At market clearing prices, the total demand for each good equals the total supply (endowment) of that good. Are the allocations arrived in this “decentralized” way “good”? They will be optimal from each agent’s perspective, given the prices. Would there be allocations that could be Pareto improving over decentralized allocations with equilibrium prices?

1.2 Two agents, two goods, log utility: Marshallian demands

We proceed now to solve for the market clearing prices of an economy. In this economy, we have:

  1. Two agents, \(j=1,2\)
  2. Both have \(u^j(x_{1},x_{2})=ln(x_{1})+ln(x_{2})\) utility functions
  3. Endowments for individual \(j\) are denoted by \(e^j=(e_{1}^j,e_{2}^j)\)
  4. Total endowment for good 1 is \(e_1 = e_{1}^1 + e_{1}^2\) and for good 2 is \(e_2 = e_{2}^1 + e_{2}^2\).
  5. Prices are denoted by \(p=(p_{1},p_{2})\)

The utility maximization problem is:

\[ \begin{aligned} \max_{x_{1}^j,x_{2}^j} \quad & ln(x_{1}^j)+ln(x_{2}^j) \\ \text{s.t.} \quad & p_{1}x_{1}^j + p_{2}x_{2}^j \leq p_{1}e_{1}^j + p_{2}e_{2}^j \end{aligned} \]

With positive prices and strictly positive endowment income for each person, the solution is:

\[ \begin{aligned} x_{1}^{j*} &= \frac{p_{1}e_{1}^j + p_{2}e_{2}^j}{2p_{1}} \\ x_{2}^{j*} &= \frac{p_{1}e_{1}^j + p_{2}e_{2}^j}{2p_{2}} \end{aligned} \]

The individual sells her endowments at market prices and uses the proceeds to buy the optimal bundle.

1.3 Two agents, two goods, log utility: Market clearing and equilibrium prices

The market clearing conditions are:

\[ \begin{aligned} \sum_{j=1}^{2} x_{1}^{j*} &= \sum_{j=1}^{2} e_{1}^j \\ \sum_{j=1}^{2} x_{2}^{j*} &= \sum_{j=1}^{2} e_{2}^j \end{aligned} \]

Given our optimal Marshallian demands, we can substitute and solve for prices.

\[ \begin{aligned} \sum_{j=1}^{2} \frac{p_{1}e_{1}^j + p_{2}e_{2}^j}{2p_{1}} &= \sum_{j=1}^{2} e_{1}^j \\ \sum_{j=1}^{2} \frac{p_{1}e_{1}^j + p_{2}e_{2}^j}{2p_{2}} &= \sum_{j=1}^{2} e_{2}^j \end{aligned} \]

Even though there are two prices, only relative prices matter. Using the equation for good 1, we expand and rearrange, and solve for the relative price of good 2 in terms of good 1:

\[ \begin{aligned} \sum_{j=1}^{2} \frac{p_{1}e_{1}^j + p_{2}e_{2}^j}{2p_{1}} &= \sum_{j=1}^{2} e_{1}^j \\ \sum_{j=1}^{2} \left( \frac{e_{1}^j}{2} + \frac{p_{2}e_{2}^j}{2p_{1}} \right) &= \sum_{j=1}^{2} e_{1}^j \\ \sum_{j=1}^{2} \frac{p_{2}e_{2}^j}{2p_{1}} &= \sum_{j=1}^{2} e_{1}^j - \sum_{j=1}^{2} \frac{e_{1}^j}{2} \\ \sum_{j=1}^{2} \frac{p_{2}e_{2}^j}{2p_{1}} &= \sum_{j=1}^{2} \frac{e_{1}^j}{2} \\ \frac{p_{2}}{p_{1}} &= \frac{\sum_{j=1}^{2} e_{1}^j}{\sum_{j=1}^{2} e_{2}^j} \end{aligned} \]

Note that the price of \(p_1\) does not matter, only the relative price \(\frac{p_2}{p_1}\) matters. We can normalize \(p_1 = 1\), but we can also set it to any other positive number.

1.4 Walras’ Law and market clearing

In solving the equilibrium, we only used one of the two market clearing conditions. Why is that? This is due to Walras’ Law.

Let’s define excess demand for each good as:

\[ \begin{aligned} Z_{1}(p) &= \sum_{j=1}^{2} x_{1}^{j*} - \sum_{j=1}^{2} e_{1}^j \\ Z_{2}(p) &= \sum_{j=1}^{2} x_{2}^{j*} - \sum_{j=1}^{2} e_{2}^j \end{aligned} \]

Walras’ law states that the product of prices and excess demands across all markets must equal zero. In our setting this means:

\[ \begin{aligned} p_{1}Z_{1}(p) + p_{2}Z_{2}(p) = 0 \end{aligned} \]

When we solve for the market clearing relative prices using only one of the market clearing conditions, we have found \(\frac{p_2}{p_1}\) such that \(Z_{1}(p) = 0\). By Walras’ law, this implies that \(Z_{2}(p) = 0\) as well, meaning that both markets clear at these prices.

Conveniently, in a setting with \(N\) goods, we only need to solve for \(N-1\) market clearing conditions to find the equilibrium prices, as the last one will be automatically satisfied due to Walras’ law.

1.5 Marginal rate of substitution, contract curve, and bartering equilibria

At our equilibrium prices, the marginal rate of substitution (MRS) for each agent equals the ratio of prices. The MRS is given by:

\[ \begin{aligned} MRS^j = \frac{\partial u^j / \partial x_{1}^j}{\partial u^j / \partial x_{2}^j} = \frac{x_{2}^j}{x_{1}^j} \end{aligned} \]

When there are two individuals and \(J=2\), we can write the MRS for the \(j=1\)st individual as \(\frac{x^1_2}{x^1_1}\) and for the \(j=2\)nd individual as \(\frac{e_2 - x^1_2}{e_1 - x^1_1}\). Along the contract curve , the MRSs are equalized across individuals, hence:

\[ \begin{aligned} \frac{x^1_2}{x^1_1} = \frac{e_2 - x^1_2}{e_1 - x^1_1} \end{aligned} \]

We cross-multiply and rearrange to get an expression for \(x^1_2\) in terms of \(x^1_1\):

\[ \begin{aligned} x^1_2 = \frac{e_2}{e_1} \cdot x^1_1 \end{aligned} \]

This function represents the interior contract curve, a straight line with slope \(\frac{e_2}{e_1}\) in the Edgeworth box. It approaches the two opposite origins, but these endpoints are excluded because log utility is undefined at zero consumption.

Assume each agent’s endowment contains a strictly positive quantity of each good, so utility at the initial endowment is defined. Bartering equilibria occur on the segment of the contract curve where neither agent is worse off than at the initial endowment. This segment is a continuum when the endowment is inefficient; if the endowment is already efficient, it reduces to that allocation. Specifically:

The set of bartering equilibrium allocations is given by:

\[ \begin{aligned} \left\{ (x_{1}^1,x_{2}^1) \mid x_{2}^1 = \frac{e_2}{e_1} \cdot x_{1}^1 \quad \text{and} \quad u^j(x_{1}^j,x_{2}^j) \ge u^j(e_{1}^j,e_{2}^j) \quad \text{for } j=1,2 \right\} \end{aligned} \]

In this setting with log utility functions, the bartering equilibria can be explicitly characterized as:

\[ \begin{aligned} \left\{ (x_{1}^1,x_{2}^1) \mid x_{2}^1 = \frac{e_2}{e_1} \cdot x_{1}^1 \quad \text{and} \quad x_{1}^1 x_{2}^1 \ge e_{1}^1 e_{2}^1 \quad \text{and} \quad (e_1 - x_{1}^1)(e_2 - x_{2}^1) \ge e_{1}^2 e_{2}^2 \right\} \end{aligned} \]

Note that we exponentiated both sides of the utility inequalities to get the conditions on the products of goods consumed by each agent.

1.6 Bartering equilibria and Walrasian equilibrium

The Walrasian equilibrium allocations given the equilibrium prices we found earlier satisfy the conditions that (1) MRS are equalized across agents, and (2) both agents are not worse off than their initial endowments. Therefore, the Walrasian equilibrium allocation lies on the contract curve segment that defines the set of bartering equilibria.

The Walrasian equilibrium allocations we found, hence is Pareto optimal, as it lies on the contract curve, and all points on the contract curve are pareto optimal (because the MRS are equalized across agents).

The Walrasian prices are not unique, because \(p_1\) can be any positive number, and only the relative price \(\frac{p_2}{p_1}\) matters. However, the Walrasian equilibrium allocations are unique in this setting with log utility functions, because the Marshallian demands are unique given prices, and market clears uniquely when the relative price \(\frac{p_2}{p_1}\) is equal to the ratio of sum of endowments between good 1 and good 2.