What is supply and demand?
The model in which a market price settles where the quantity buyers want equals the quantity sellers offer.
Supply and demand diagram example
Supply and demand is the basic model of how prices form. Demand describes how much buyers want at each price and usually falls as price rises. Supply describes how much sellers offer at each price and usually rises as price rises. The price where the two are equal is the equilibrium.
How it works
If the price is above the equilibrium, sellers offer more than buyers want, and the surplus pushes the price down. If it is below, buyers want more than is offered, and the shortage pushes it up. The price moves until the two sides meet.
A shift in either curve moves the equilibrium. More buyers or higher income shift demand up and raise the price, while lower production costs shift supply up and lower the price. How much quantity and price change depends on the steepness of the curves. The model is a simplification. It assumes many buyers and sellers, similar goods and prices that adjust freely, which is rarely exact, but it remains the standard first tool for judging which way a price will move when conditions change.
Example
Say a city market has demand of 1,000 - 50 x price and supply of 200 + 50 x price. They are equal when 1,000 - 50p = 200 + 50p, so p = 8 and quantity is 600. If a new cost raises the supply line by 100 fewer units at every price, supply becomes 100 + 50p, and the new equilibrium is p = 9 with quantity 550. Illustrative numbers only.
In a game economy, players trading items on an auction house create supply and demand, and prices settle where listings meet purchases, which designers read as a sign of balance.
How to model it in Machinations
Use a Source for supply and a Drain for demand, each driven by a State connection from a price Register that adjusts according to the gap between them. Make the supply and demand slopes Levers. Play and chart the price and quantity to watch them settle.
Selected models to Play and remix: Selected game economy models.
See supply and demand in a system you can Play
Build the rules in a Machinations diagram, change a value and Play it to watch how the system responds.