Demand, supply, and market equilibrium