AL-91 · Selected Studies — Economics

Micro Theory Sandbox

Microeconomics is the study of how individuals and firms make decisions under scarcity, and how those decisions produce market outcomes. This sandbox renders interactive supply-and-demand diagrams and cost curves in SVG — with sliders for demand shifters, supply shifters, price floors/ceilings, and market structure. Grounded in standard ECON 323 microeconomic theory content.

📊 Framework: Varian (2014), Intermediate Microeconomics; Samuelson & Nordhaus (2010), Economics; AP Microeconomics content standards
🔒All inputs are processed locally in your browser. Nothing is transmitted, stored, or logged. Inputs disappear when you close the tab.
Real-World Scenario Presets
Supply & Demand Diagram
Equilibrium Price
$60
Equilibrium Qty
40 units
Consumer Surplus
$800
Producer Surplus
$400
Demand Shifters
Normal good: income ↑ → demand right
Substitutes more expensive → demand right
Complements more expensive → demand left
Positive = demand right
More buyers → demand right
Supply Shifters
Higher costs → supply left
Better tech → supply right
More sellers → supply right
Subsidy → supply right
Tax → supply left
Price Interventions
Dashed line. If above equilibrium → surplus
Dashed line. If below equilibrium → shortage
Market Structure
ATC, AVC, and MC Curves
Min ATC (Efficient Scale)
Min ATC at Qty
Min AVC (Shutdown Pt)
Min AVC at Qty
Comparative Statics: Effect of Shocks on Equilibrium P* and Q*
ShockCurve ShiftEffect on P*Effect on Q*
Consumer income ↑ (normal good)Demand right
Consumer income ↑ (inferior good)Demand left
Substitute price ↑Demand right
Complement price ↑Demand left
Input costs ↑Supply left
Technology improvesSupply right
Number of sellers ↑Supply right
Government subsidySupply right
Government tax/exciseSupply left
Number of buyers ↑Demand right
Elasticity Reference
PED RangeClassificationExamplesInterpretation
|PED| = 0Perfectly inelasticInsulin, emergency surgeryQuantity doesn't respond to price
0 < |PED| < 1InelasticGasoline, basic food, utilities% Δ Q < % Δ P
|PED| = 1Unit elastic% Δ Q = % Δ P (TR unchanged)
|PED| > 1ElasticLuxury goods, vacations, brand names% Δ Q > % Δ P
|PED| = ∞Perfectly elasticPerfectly competitive firm's demandAny price increase → Q = 0
Price Elasticity of Demand formula: PED = (% change in Qd) / (% change in P)
Total Revenue rule: inelastic → raise price to increase TR; elastic → lower price to increase TR.
Surplus Concepts

Consumer Surplus (CS): The area above the equilibrium price and below the demand curve. Represents what consumers would have been willing to pay above what they actually paid. In a linear demand model: CS = ½ × Q* × (P_max – P*).

Producer Surplus (PS): The area below the equilibrium price and above the supply curve. Represents revenue above the minimum the firm would have accepted. In a linear supply model: PS = ½ × Q* × (P* – P_min).

Total Surplus = CS + PS. Competitive equilibrium maximizes total surplus. Price controls and taxes create deadweight loss — the triangle of lost surplus not captured by anyone.

Deadweight Loss (DWL): The reduction in total surplus caused by market inefficiency (price controls, monopoly, taxes). = ½ × ΔQ × ΔP.