General equilibrium models show how prices and allocations emerge when multiple agents interact in a market. In this post, we’ll walk through a classic two-agent, two-good setup using Cobb-Douglas preferences, endowments, and market clearing conditions.
👥 The Setup
We have two agents, A and B, each consuming two goods: X₁ and X₂. Their preferences are represented by Cobb-Douglas utility functions:
Uₐ = X₁ₐ^α · X₂ₐ^(1−α) Uᵦ = X₁ᵦ^β · X₂ᵦ^(1−β)
Prices are given as P₁ = 1 and P₂ (to be determined in equilibrium).
💰 Endowments and Budget Constraints
Each agent begins with an initial endowment of goods:
| Agent | X₁ | X₂ | Value of Endowment |
|---|---|---|---|
| A | A₁ | A₂ | Eₐ = A₁ + P₂·A₂ |
| B | B₁ | B₂ | Eᵦ = B₁ + P₂·B₂ |
Each agent uses their endowment to purchase their optimal bundle of X₁ and X₂.
📈 Utility Maximization
Each agent solves a constrained optimization problem:
Agent A:
Maximize Uₐ = X₁ₐ^α · X₂ₐ^(1−α) Subject to: Eₐ = X₁ₐ + P₂·X₂ₐ
Solution:
X₁ₐ = α·Eₐ X₂ₐ = (1−α)·Eₐ / P₂
Agent B:
Maximize Uᵦ = X₁ᵦ^β · X₂ᵦ^(1−β) Subject to: Eᵦ = X₁ᵦ + P₂·X₂ᵦ
Solution:
X₁ᵦ = β·Eᵦ X₂ᵦ = (1−β)·Eᵦ / P₂
⚖️ Market Clearing Conditions
For equilibrium, total demand must equal total supply:
X₁ₐ + X₁ᵦ = A₁ + B₁ X₂ₐ + X₂ᵦ = A₂ + B₂
Substitute the demand expressions:
α·Eₐ + β·Eᵦ = A₁ + B₁ (1−α)·Eₐ / P₂ + (1−β)·Eᵦ / P₂ = A₂ + B₂
From the first equation, we can solve for equilibrium price P₂ using the second:
[(1−α)·Eₐ + (1−β)·Eᵦ] / P₂ = A₂ + B₂ → P₂ = [(1−α)·Eₐ + (1−β)·Eᵦ] / (A₂ + B₂)
🧠 Why This Matters
This model shows how decentralized decisions — driven by preferences and endowments — lead to market-clearing prices. Cobb-Douglas preferences make the math tractable and highlight key ideas:
- ✔ Budget constraints shape consumption
- ✔ Utility maximization drives demand
- ✔ Prices adjust to clear markets
Need help solving your own general equilibrium model or decoding utility functions? Reach out directly — no middlemen, no delays.

Leave a Reply