We model most situations as a constrained optimization problem:
People optimize: make tradeoffs to achieve their objective as best as they can
Subject to constraints: limited resources (income, time, attention, etc)

One of the most generally useful mathematical models
Endless applications: how we model nearly every decision-maker
consumer, business firm, politician, judge, bureaucrat, voter, dictator, pirate, drug cartel, drug addict, parent, child, etc




Choose: < some alternative >
In order to maximize: < some objective >

Choose: < some alternative >
In order to maximize: < some objective >
Subject to: < some constraints >

Example: A Hood student picking courses hoping to achieve the highest GPA while getting an Econ major.
Choose:
In order to maximize:
Subject to:

Example: How should FedEx plan its delivery route?
Choose:
In order to maximize:
Subject to:

Example: The U.S. government wants to remain economically competitive but reduce emissions by 25%.
Choose:
In order to maximize:
Subject to:

Example: How do elected officials make decisions in politics?
Choose:
In order to maximize:
Subject to:

Choose: < a consumption bundle >
In order to maximize: < utility >
Subject to: < income and market prices >

We now have the tools to understand individual choices:
Budget constraint: individual’s constraints of income and market prices
Utility function: individual’s objective to maximize, based on their preferences
choose a bundle of goods to maximize utility, subject to income and market prices
$$\max_{x,y \geq0} u(x,y)$$ $$s.t. p_xx+p_yy=m$$

† See the mathematical appendix in today's class notes on how to solve it with calculus, and an example.

Graphical solution: Highest indifference curve tangent to budget constraint
B or C spend all income, but a better combination exists

Graphical solution: Highest indifference curve tangent to budget constraint
B or C spend all income, but a better combination exists
D is higher utility, but not affordable at current income & prices

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &> \color{#D7250E}{\text{budget constr. slope}} \\ \end{align*}$$

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &> \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &> \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{2} &> \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 2 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &> \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &> \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{2} &> \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 2 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)
Can spend less on y, more on x for more utility!

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &< \color{#D7250E}{\text{budget constr. slope}} \\ \\\end{align*}$$

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &< \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &< \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{0.125} &< \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 0.125 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &< \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &< \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{0.125} &< \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 0.125 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)
Can spend less on y, more on x for more utility!

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &= \color{#D7250E}{\text{budget constr. slope}} \\\end{align*}$$

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &= \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &= \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{0.5} &= \color{#D7250E}{0.5} \\\end{align*}$$
Marginal benefit = Marginal cost
No other combination of (x,y) exists that could increase utility!†
† At current income and market prices!

$$\frac{MU_x}{MU_y} = \frac{p_x}{p_y}$$

$$\frac{MU_x}{MU_y} = \frac{p_x}{p_y}$$
$$\frac{MU_x}{p_x} = \frac{MU_y}{p_y}$$

$$\frac{MU_x}{p_x} = \frac{MU_y}{p_y} = \cdots = \frac{MU_n}{p_n}$$
Equimarginal Rule: consumption is optimized where the marginal utility per dollar spent is equalized across all \(n\) possible goods/decisions
Always choose an option that gives higher marginal utility (e.g. if \(MU_x < MU_y)\), consume more \(y\)!
Any optimum in economics: no better alternatives exist under current constraints
No possible change in your consumption that would increase your utility

Example: You can get utility from consuming bags of Almonds \((a)\) and bunches of Bananas \((b)\), according to the utility function:
$$\begin{align*} u(a,b)&=ab\\ MU_a&=b \\ MU_b&=a \\ \end{align*}$$
You have an income of $50, the price of Almonds is $10, and the price of Bananas is $2. Put Almonds on the horizontal axis and Bananas on the vertical axis.
Example: You can get utility from consuming Burgers \((b)\) and Fries \((f)\), according to the utility function:
$$\begin{align*} u(b,f)&=\sqrt{bf} \\ MU_b&=0.5b^{-0.5}f^{0.5} \\ MU_f&=0.5b^{0.5}f^{-0.5} \\ \end{align*}$$
You have an income of $20, the price of Burgers is $5, and the price of Fries is $2. Put Burgers on the horizontal axis and Fries on the vertical axis.
Keyboard shortcuts
| ↑, ←, Pg Up, k | Go to previous slide |
| ↓, →, Pg Dn, Space, j | Go to next slide |
| Home | Go to first slide |
| End | Go to last slide |
| Number + Return | Go to specific slide |
| b / m / f | Toggle blackout / mirrored / fullscreen mode |
| c | Clone slideshow |
| p | Toggle presenter mode |
| t | Restart the presentation timer |
| ?, h | Toggle this help |
| o | Tile View: Overview of Slides |
| Esc | Back to slideshow |
We model most situations as a constrained optimization problem:
People optimize: make tradeoffs to achieve their objective as best as they can
Subject to constraints: limited resources (income, time, attention, etc)

One of the most generally useful mathematical models
Endless applications: how we model nearly every decision-maker
consumer, business firm, politician, judge, bureaucrat, voter, dictator, pirate, drug cartel, drug addict, parent, child, etc




Choose: < some alternative >
In order to maximize: < some objective >

Choose: < some alternative >
In order to maximize: < some objective >
Subject to: < some constraints >

Example: A Hood student picking courses hoping to achieve the highest GPA while getting an Econ major.
Choose:
In order to maximize:
Subject to:

Example: How should FedEx plan its delivery route?
Choose:
In order to maximize:
Subject to:

Example: The U.S. government wants to remain economically competitive but reduce emissions by 25%.
Choose:
In order to maximize:
Subject to:

Example: How do elected officials make decisions in politics?
Choose:
In order to maximize:
Subject to:

Choose: < a consumption bundle >
In order to maximize: < utility >
Subject to: < income and market prices >

We now have the tools to understand individual choices:
Budget constraint: individual’s constraints of income and market prices
Utility function: individual’s objective to maximize, based on their preferences
choose a bundle of goods to maximize utility, subject to income and market prices
$$\max_{x,y \geq0} u(x,y)$$ $$s.t. p_xx+p_yy=m$$

† See the mathematical appendix in today's class notes on how to solve it with calculus, and an example.

Graphical solution: Highest indifference curve tangent to budget constraint
B or C spend all income, but a better combination exists

Graphical solution: Highest indifference curve tangent to budget constraint
B or C spend all income, but a better combination exists
D is higher utility, but not affordable at current income & prices

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &> \color{#D7250E}{\text{budget constr. slope}} \\ \end{align*}$$

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &> \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &> \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{2} &> \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 2 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &> \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &> \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{2} &> \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 2 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)
Can spend less on y, more on x for more utility!

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &< \color{#D7250E}{\text{budget constr. slope}} \\ \\\end{align*}$$

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &< \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &< \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{0.125} &< \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 0.125 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &< \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &< \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{0.125} &< \color{#D7250E}{0.5} \\\end{align*}$$
Consumer views MB of \(x\) is 0.125 units of \(y\)
Market-determined MC of \(x\) is 0.5 units of \(y\)
Can spend less on y, more on x for more utility!

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &= \color{#D7250E}{\text{budget constr. slope}} \\\end{align*}$$

$$\begin{align*} \color{#047806}{\text{indiff. curve slope}} &= \color{#D7250E}{\text{budget constr. slope}} \\ \color{#047806}{\frac{MU_x}{MU_y}} &= \color{#D7250E}{\frac{p_x}{p_y}} \\ \color{#047806}{0.5} &= \color{#D7250E}{0.5} \\\end{align*}$$
Marginal benefit = Marginal cost
No other combination of (x,y) exists that could increase utility!†
† At current income and market prices!

$$\frac{MU_x}{MU_y} = \frac{p_x}{p_y}$$

$$\frac{MU_x}{MU_y} = \frac{p_x}{p_y}$$
$$\frac{MU_x}{p_x} = \frac{MU_y}{p_y}$$

$$\frac{MU_x}{p_x} = \frac{MU_y}{p_y} = \cdots = \frac{MU_n}{p_n}$$
Equimarginal Rule: consumption is optimized where the marginal utility per dollar spent is equalized across all \(n\) possible goods/decisions
Always choose an option that gives higher marginal utility (e.g. if \(MU_x < MU_y)\), consume more \(y\)!
Any optimum in economics: no better alternatives exist under current constraints
No possible change in your consumption that would increase your utility

Example: You can get utility from consuming bags of Almonds \((a)\) and bunches of Bananas \((b)\), according to the utility function:
$$\begin{align*} u(a,b)&=ab\\ MU_a&=b \\ MU_b&=a \\ \end{align*}$$
You have an income of $50, the price of Almonds is $10, and the price of Bananas is $2. Put Almonds on the horizontal axis and Bananas on the vertical axis.
Example: You can get utility from consuming Burgers \((b)\) and Fries \((f)\), according to the utility function:
$$\begin{align*} u(b,f)&=\sqrt{bf} \\ MU_b&=0.5b^{-0.5}f^{0.5} \\ MU_f&=0.5b^{0.5}f^{-0.5} \\ \end{align*}$$
You have an income of $20, the price of Burgers is $5, and the price of Fries is $2. Put Burgers on the horizontal axis and Fries on the vertical axis.