economics

Import it with @use:economics, then call its constructs under that name.

@use:economics

Constructs

economics.supply-demand
Supply and demand crossing, with the equilibrium marked and dropped to both axes.
Default10
label
inline
content all
Default$E$
supply-label
inline
content all
Default$S$
demand-label
inline
content all
Default$D$
price-label
inline
content all
Default$p^*$
quantity-label
inline
content all
Default$q^*$
colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultgrey
supply-colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultblue
demand-colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultred
economics.demand-shift
Demand shifted, drawn dashed over the original with the new equilibrium marked: by is how far up the price axis the whole curve moves, positive for an increase in demand.
Default10
label
inline
content all
Default$D'$
point-label
inline
content all
Default$E'$
colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultorange
economics.supply-shift
Supply shifted, the same way: by positive is a rise in costs, which moves the curve UP and the equilibrium quantity down.
Default10
label
inline
content all
Default$S'$
point-label
inline
content all
Default$E'$
colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultpurple
economics.surplus
Consumer and producer surplus as the two triangles they are: everything between the curve and the equilibrium price, either side of it. Shaded polygons rather than integrals, because an integral shades down to the AXIS and a surplus stops at the price.
consumer-label
inline
content all
Default$CS$
producer-label
inline
content all
Default$PS$
consumer-colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultteal
producer-colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultorange
economics.tax-wedge
A per-unit tax: supply shifted up by the tax, the price the buyer pays and the price the seller keeps ruled across, and the deadweight loss between them as its own triangle. The wedge is the tax itself — the two rules are exactly t apart, because the seller's price is the buyer's less the tax and nothing here rounds.
Default10
label
inline
content all
Default$S + t$
buyer-label
inline
content all
Default$p_b$
seller-label
inline
content all
Default$p_s$
loss-label
inline
content all
Default$DWL$
colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultgrey
loss-colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultred
economics.budget-line
A budget line: everything an income of mm buys at two prices, with both intercepts dotted. Inside it is affordable, beyond it is not.
label
inline
content all
Default
x-label
inline
content all
Default$m/p_1$
y-label
inline
content all
Default$m/p_2$
colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultblue
economics.ppf
A production possibility frontier — the concave arc of everything an economy can make at once — with one efficient point on it dropped to both axes, which is the trade-off the diagram exists to show. A quarter ellipse, so the frontier bows outward and the opportunity cost of the first good rises as more of it is made. at is how far round the arc the point sits, as a fraction. filled shades everything inside it — the attainable set. The region closes through the origin, because that is what "attainable" means here: making less of both is always possible.
Default10
Default8
Default0.4
filled
bool
Defaultfalse
label
inline
content all
Default$PPF$
point-label
inline
content all
Default$A$
colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultblue
point-colour
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Defaultorange