Mathematica Notebooks on
Microeconomic Topics
These notebooks feature animated graphics and were written for
students in my introductory and intermediate microeconomics
courses. I will be adding more as I convert my old (version 2)
notebooks.
This first group of notebooks concern the theory of cost.
- Average and Marginal Products of
labor.
- The relationship between the
short run production function and the short run MC curve
(in a two-good world).
- The geometric relationship between FC
and AFC.
- The geometric relationship between VC
and AVC.
- The geometric relationship between TC
and ATC.
- The geometric relationship between TC
and MC.
- AC - AVC and TC - ATC
- VC - AVC and TC - MC.
- VC - AVC, TC - ATC and TC - MC.
- All curves shown simultaneously.
- Long Run Average Total Cost as the
lower envelope of the short run ATC curves.
- Another view of the unit and total
cost curves in the short and long run.
The next set of animations are for the model of perfect
competition.
- Cost and revenue for a firm in a
competitive industry.
- Increase in demand in a
constant-cost industry.
- Decrease in demand in a
constant-cost industry.
- Increase in demand in an
increasing-cost industry.
- Decrease in demand in an
increasing-cost industry.
- Increase in demand in a
decreasing-cost industry.
- Decrease in demand in a
decreasing-cost industry.
The next group of animations adds two additional quadrants to
the competitive model. The demand curve of a representative
consumer is shown below the indifference curve/budget line
diagram. The diagrams show the short and long run effects of
income changes for a normal good.
- Increase in consumer income for
a constant cost industry.
- Increase in consumer income for
an increasing cost industry.
- Increase in consumer income for
a decreasing cost industry.
- Decrease in consumer income for
a constant cost industry.
- Decrease in consumer income for
an increasing cost industry.
- Decrease in consumer income for
a decreasing cost industry.
The following notebooks are for the theory of the consumer and
show income and substitution effects of various price changes.
- The Slutsky equation for a decrease
in the price of good one.
- The Slutsky equation for an
increase in the price of good one.
- The Slutsky equation for a decrease
in the price of good two.
- The Slutsky equation for an
increase in the price of good two.
- The Slutsky equation with
endowments for a decrease in the price of good one--net
buyer of good one.
- The Slutsky equation with
endowments for a decrease in the price of good one--net
seller of good one.
- The Slutsky equation with
endowments for a decrease in the price of good two--net
buyer of good one.
- The Slutsky equation with
endowments for a decrease in the price of good two--net
seller of good one.
- The Slutsky equation with
endowments for an increase in the price of good one--net
buyer of good one.
- The Slutsky equation with
endowments for an increase in the price of good one--net
seller of good one.
- The Slutsky equation with
endowments for an increase in the price of good two--net
buyer of good one.
- The Slutsky equation with
endowments for an increase in the price of good two--net
seller of good one.
Some additional topics from the theory of the consumer.
- The Price-Offer curve.
- The Price-Offer curve and net
demand/supply curves.
- The CES utility function.
- The derivation of leisure demand.
- The derivation of leisure demand and
labor supply.
- The derivation of leisure demand: the
backward-bending case.
- The derivation of leisure demand and
labor supply: the backward-bending case.
- Expected utility for a risk
averse consumer.
- A slightly different (improved?)
version of 8.
- Expected utility for a
risk-lover.
- A slightly different version of
10.
- Deriving the ordinary demand curve
in a two-good world.
- Derive two demand curves for
differenet levels of income.
- Circular Flow diagram.
- Derivation of the Edgeworth box
diagram.
- Price-offer curves and the Edgeworth
Box.
- A closer look at the price-offer
curves.
Here are animated Lorenz curves and Gini
coefficients for twenty countries.