class: center, middle, inverse, title-slide # 1.5: Preferences II: MRS and Utility Functions ## ECON 306 · Microeconomic Analysis · Fall 2019 ### Ryan Safner
Assistant Professor of Economics
safner@hood.edu
ryansafner/microf19
microF19.classes.ryansafner.com
--- # Utility Functions and Indifference Curves I .pull-left[ - Two tools to represent preferences: indifference curves and utility functions - Indifference curve: all equally preferred bundles `\(\iff\)` same utility level - Each indifference curve represents one level (or contour) of utility surface (function) ] .pull-right[ .center[  ] ] --- # Utility Functions and Indifference Curves II .pull-left[ .center[ 3-D Utility Function: `\(u(x,y)=\sqrt{xy}\)`
] ] .pull-right[ .center[ 2-D Indifference Curve Contours: `\(y=\frac{u^2}{x}\)` <img src="05-slides_files/figure-html/unnamed-chunk-2-1.png" width="504" /> ] ] --- class: inverse, center, middle # Marginal Utility --- # MRS and Marginal Utility I .pull-left[ - Recall: .shout[marginal rate of substitution `\\(MRS_{x,y}\\)`] is the slope of the indifference curve - Rate at which `\(y\)` is given up for 1 more `\(x\)` - It would be handy to be able to calculate MRS - Recall it changes (a curve, not a straxfight line)! - We can calculate it using something from the **utility function** ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-4-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility II .pull-left[ - .shout[Marginal utility]: change in (total) utility from a one-unit increase in consumption of a good ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-5-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility II .pull-left[ - .shout[Marginal utility]: change in (total) utility from a one-unit increase in consumption of a good .content-box-green[ .green[**Marginal utility of `\\(x\\)`**]: `\(MU_x = \frac{\Delta u(x,y)}{\Delta x}\)` ] ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-6-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility II .pull-left[ - .shout[Marginal utility]: change in (total) utility from a one-unit increase in consumption of a good .content-box-green[ .green[**Marginal utility of `\\(x\\)`**]: `\(MU_x = \frac{\Delta u(x,y)}{\Delta x}\)` ] .content-box-green[ .green[**Marginal utility of `\\(y\\)`**]: `\(MU_y = \frac{\Delta u(x,y)}{\Delta y}\)` ] ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-7-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility II .pull-left[ - .shout[Marginal utility]: change in (total) utility from a one-unit increase in consumption of a good .content-box-green[ .green[**Marginal utility of `\\(x\\)`**]: `\(MU_x = \frac{\Delta u(x,y)}{\Delta x}\)` ] .content-box-green[ .green[**Marginal utility of `\\(y\\)`**]: `\(MU_y = \frac{\Delta u(x,y)}{\Delta y}\)` ] - Math (calculus): "*marginal*" means "*derivative with respect to*" - I will always derive marginal utility functions for you ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-8-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility: Example .content-box-green[ .green[**Example**:] For an example utility function `$$u(x,y) = x^2+y^3$$` - Marginal utility of x: `\(\quad MU_x = 2x\)` - Marginal utlity of y: `\(\quad MU_y = 3y\)` ] --- # MRS and Marginal Utility III .pull-left[ - How to relate `\(MU\)` and `\(MRS\)`? - Moving along an indifference curve - `\(X\)` and `\(Y\)` will change - `\(MU_x\)` and `\(MU_y\)` will change - *Utility is constant* `\((\Delta u=0)\)` ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-9-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility IV .pull-left[ - How to relate `\(MU\)` and `\(MRS\)`? - Moving along an indifference curve - `\(X\)` and `\(Y\)` will change - `\(MU_x\)` and `\(MU_y\)` will change - *Utility is constant* `\((\Delta u=0)\)` `$$\begin{align*} MU_x \Delta x+MU_y\Delta y&= \Delta u\\ \end{align*}$$` ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-10-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility IV .pull-left[ - How to relate `\(MU\)` and `\(MRS\)`? - Moving along an indifference curve - `\(X\)` and `\(Y\)` will change - `\(MU_x\)` and `\(MU_y\)` will change - *Utility is constant* `\((\Delta u=0)\)` `$$\begin{align*} MU_x \Delta x+MU_y\Delta y&= \Delta u\\ MU_x \Delta x+MU_y \Delta y &=0\\ \end{align*}$$` ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-11-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility IV .pull-left[ - How to relate `\(MU\)` and `\(MRS\)`? - Moving along an indifference curve - `\(X\)` and `\(Y\)` will change - `\(MU_x\)` and `\(MU_y\)` will change - *Utility is constant* `\((\Delta u=0)\)` `$$\begin{align*} MU_x \Delta x+MU_y\Delta y&= \Delta u\\ MU_x \Delta x+MU_y \Delta y &=0\\ MU_y \Delta y&= -MU_{x} \Delta x \\ \end{align*}$$` ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-12-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Marginal Utility IV .pull-left[ - How to relate `\(MU\)` and `\(MRS\)`? - Moving along an indifference curve - `\(X\)` and `\(Y\)` will change - `\(MU_x\)` and `\(MU_y\)` will change - *Utility is constant* `\((\Delta u=0)\)` `$$\begin{align*} MU_x \Delta x+MU_y\Delta y&= \Delta u\\ MU_x \Delta x+MU_y \Delta y &=0\\ MU_y \Delta y&= -MU_{x} \Delta x \\ \underbrace{\frac{\Delta y}{\Delta x}}_{MRS} &= -\frac{MU_{x}}{MU_{y}}\\ \end{align*}$$` ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-13-1.png" width="432" style="display: block; margin: auto;" /> ] --- class: inverse, center, middle # MRS and Preferences --- # MRS and Preferences .pull-left[ `$$MRS=\underbrace{\frac{ \Delta y}{\Delta x}}_{slope} = -\frac{MU_{x}}{MU_{y}}$$` - Observing the choices that consumers make, given their options, give us insight into their preferences - Represented in indifference curves and MRS - .whisper[Steepness] of indifference curves tells us how consumers trade off between goods - Let's look at extremes first ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-14-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Preferences: Steepness I .pull-left[ <img src="05-slides_files/figure-html/unnamed-chunk-15-1.png" width="504" style="display: block; margin: auto;" /> .font90[ - Vertical curves `\(\implies\)` indifference between having more or less Downloads - Downloads are a .shout[neutral] (neither good nor bad) - `\(MRS_{T,D}=\infty\)`; give up `\(\infty\)` (or undefined) Downloads to get more Tickets ] ] -- .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-16-1.png" width="504" style="display: block; margin: auto;" /> .font90[ - Horizontal curves `\(\implies\)` indifference between having more or less Tickets - Tickets are a .shout[neutral] (neither good nor bad) - `\(MRS_{T,D}=0\)`; give up `\(0\)` Downloads to get more Tickets ] ] --- # MRS and Preferences: Steepness II .pull-left[ <img src="05-slides_files/figure-html/unnamed-chunk-17-1.png" width="504" style="display: block; margin: auto;" /> - Flatter `\(\rightarrow\)` willing to give up *few* Downloads per Ticket (and vice versa) - `\(MRS_{T,D}\)` is small ] -- .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-18-1.png" width="504" style="display: block; margin: auto;" /> - Steeper `\(\rightarrow\)` willing to give up *more* Downloads per Ticket (and vice versa) - `\(MRS_{T,D}\)` is large ] --- # MRS and Preferences: Goods, Bads, Neutrals .pull-left[ - Now we have better ways to classify objects: - A .shout[good] enters utility function positively - `\(\uparrow\)` good `\(\implies\)` `\(\uparrow\)` utility (and vice versa) - Willing to pay (give up other goods) to *acquire more* (monotonic) ] .pull-right[ .center[  ] ] --- # MRS and Preferences: Goods, Bads, Neutrals .pull-left[ - Now we have better ways to classify objects: - A .shout[good] enters utility function positively - `\(\uparrow\)` good `\(\implies\)` `\(\uparrow\)` utility (and vice versa) - Willing to pay (give up other goods) to *acquire more* (monotonic) - A .shout[bad] enters utility function negatively - `\(\uparrow\)` good `\(\implies\)` `\(\downarrow\)` utility (and vice versa) - Willing to pay (give up other goods) to *get rid of* ] .pull-right[ .center[  ] ] --- # MRS and Preferences: Goods, Bads, Neutrals .pull-left[ - Now we have better ways to classify objects: - A .shout[good] enters utility function positively - `\(\uparrow\)` good `\(\implies\)` `\(\uparrow\)` utility (and vice versa) - Willing to pay (give up other goods) to *acquire more* (monotonic) - A .shout[bad] enters utility function negatively - `\(\uparrow\)` good `\(\implies\)` `\(\downarrow\)` utility (and vice versa) - Willing to pay (give up other goods) to *get rid of* - A .shout[neutral] does not enter utility function at all - `\(\uparrow, \downarrow\)` has no effect on utility ] .pull-right[ .center[  ] ] --- # MRS and Preferences: Curvature .pull-left[ `$$MRS=\underbrace{\frac{ \Delta y}{\Delta x}}_{slope} = -\frac{MU_{x}}{MU_{y}}$$` - .whisper[Curvature] of indifference curves tells us how goods are related - Relatively **straight** curves: goods are more .shout[substitutable] for one another - Relatively **bent** curves: goods are more .shout[complementary] with one another - Look at extreme cases first to get the idea ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-19-1.png" width="432" style="display: block; margin: auto;" /> ] --- # MRS and Preferences: Curvature II .pull-left[ .content-box-green[ .green[**Example**]: Consider 1-Liter bottles of coke and 2-Liter bottles of coke ] - Always willing to substitute Two 1-Ls:One 2-L - .shout[Perfect substitutes]: goods that can be substituted at same fixed rate and yield same utility - `\(MRS_{1L,2L}=-0.5\)` (a constant!) ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-20-1.png" width="504" style="display: block; margin: auto;" /> ] --- # MRS and Preferences: Curvature III .pull-left[ .content-box-red[ .red[**Math FYI: Utility functions for substitutes**] `$$u(x,y)=w_xx+w_yy$$` - `\(w_i\)`: relative weight (intensity of relative preference) - Known as **linear preferences** ] .content-box-green[ .green[**Example**] `$$u_{L_{1},L_{2}}=1L_{1}+2L_{2}$$` - `\(MRS_{L_{1},L_{2}}=-\frac{w_x}{w_y} = -\frac{1}{2}\)` ] ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-21-1.png" width="504" style="display: block; margin: auto;" /> ] --- # MRS and Preferences: Curvature IV .pull-left[ .content-box-green[ .green[**Example**]: Consider hot dogs and hot dog buns ] - Always consume together in fixed proportions (1:1) - .shout[Perfect complements]: goods that can be consumed together in same fixed proportion and yield same utility - MRS: ? ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-22-1.png" width="504" style="display: block; margin: auto;" /> ] --- # MRS and Preferences: Curvature V .pull-left[ .content-box-red[ .red[**Math FYI: Utility functions for complements**] `$$u(x,y)=min\{w_xx,w_yy\}$$` - `\(w_i\)`: relative weight (intensity of relative preference) - MRS `\(=0, \infty\)`, or undefined - Known as **Leontief preferences** ] .content-box-green[ .green[**Example**] `$$u(H,B)=min\{H,B\}$$` ] ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-23-1.png" width="504" style="display: block; margin: auto;" /> ] --- # MRS and Preferences: Curvature VI .pull-left[ <img src="05-slides_files/figure-html/unnamed-chunk-24-1.png" width="504" style="display: block; margin: auto;" /> - Straighter `\(\rightarrow\)` more substitutable ] -- .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-25-1.png" width="504" style="display: block; margin: auto;" /> - Curved `\(\rightarrow\)` more complementary ] --- # Cobb-Douglas Utility Functions .pull-left[ - A very common functional form in economics is .shout[Cobb-Douglas] `$$u(x,y)=x^ay^b$$` - Where `\(a, b >0\)` (and very often `\(a+b=1\)`) - Extremely useful, you will see it often! - Strictly convex and monotonic indifference curves - Other nice properties (we'll see later) - See the appendix in [today's class page](http://microf19.classes.ryansafner.com/class/05-class) ] .pull-right[ <img src="05-slides_files/figure-html/unnamed-chunk-26-1.png" width="504" /> ] --- # Practice .content-box-green[ .green[**Example**]: Suppose you can consume apples `\((a)\)` and broccoli `\((b)\)`, and earn utility according to the utility function: `$$u(a,b)=2ab$$` Where your marginal utilities are: `$$\begin{align*} MU_a&=2b\\ MU_b&=2a\\ \end{align*}$$` 1. Put `\(a\)` on the horizontal axis and `\(b\)` on the vertical axis. Write an equation for `\(MRS_{a,b}\)`. 2. Would bundles of `\((1, 4)\)` and `\((2, 2)\)` be on the same indifference curve? 3. Sketch a graph of the indifference curve from part 2. (Bonus: find the equation of this indifference curve. See the appendix in [today's class page](http://microf19.classes.ryansafner.com/class/05-class).) 4. Is this curve convex? Hint: Does `\(MRS_{a,b} \downarrow\)` as `\(a \uparrow\)`? ]