class: title-slide # 1.2 — Budget Constraint ## ECON 306 • Microeconomic Analysis • Fall 2022 ### Ryan Safner<br> Associate Professor of Economics <br> <a href="mailto:safner@hood.edu"><i class="fa fa-paper-plane fa-fw"></i>safner@hood.edu</a> <br> <a href="https://github.com/ryansafner/microF22"><i class="fa fa-github fa-fw"></i>ryansafner/microF22</a><br> <a href="https://microF22.classes.ryansafner.com"> <i class="fa fa-globe fa-fw"></i>microF22.classes.ryansafner.com</a><br> --- class: inverse # Outline ### [Rational Choice Theory](#4) ### [The Budget Constraint](#17) ### [Opportunity Cost](#31) ### [Changes in Market Conditions](#41) --- # The Two Major Models of Economics as a “Science” .pull-left[ ## Optimization - Agents have .hi[objectives] they value - Agents face .hi[constraints] - Make .hi[tradeoffs] to maximize objectives within constraints .center[ ![](../images/optimize.jpeg) ] ] .pull-right[ ## Equilibrium - Agents .hi[compete] with others over **scarce** resources - Agents .hi[adjust] behaviors based on prices - .hi[Stable outcomes] when adjustments stop .center[ ![](../images/equilibriumbalance.png) ] ] --- class: inverse, center, middle # Rational Choice Theory --- # The Logic of Choice: Ends and Means .pull-left[ - Each of us acts .hi-purple[purposefully] - We have .hi[ends], goals, desires, objectives - *Anything* you value! - We use .hi[means] in the world that we *believe* will achieve our ends - .hi-purple[“utility”] when we .hi[consume] services, or - if scarce physical object: .hi[“economic good”] or .hi[resource] ] .pull-right[ ![](../images/goal.png) ![](../images/happiness.png) ] --- # The Logic of Choice: Purpose .pull-left[ - Acting with .hi-purple[purpose] distinguishes humans from everything else in the universe - Artificial intelligence researchers face .hi-turquoise[“the frame problem”] - Perception requires motivational goals to determine how to filter reality ] .pull-right[ .center[ ![](../images/ai.png) ] ] --- # Causal Inference I .pull-left[ - Machine learning and artificial intelligence are “dumb” - Data can never “speak for itself!” - With the right models and research designs, we *can* say “X causes Y” and quantify it! - Economists are in a unique position to make *causal* claims that mere statistics cannot ] .pull-right[ ![](../images/coding.jpeg) ] .source[For more, see [my blog post](https://ryansafner.com/post/econometrics-data-science-and-causal-inference/), and Pearl & MacKenzie (2018), *The Book of Why*] --- # Causal Inference II .pull-left[ .center[ ![](../images/econtechcompanies.png) [Harvard Business Review](https://hbr.org/2019/02/why-tech-companies-hire-so-many-economists) ] ] .pull-right[ .smallest[ “First, the field of economics has spent decades developing a toolkit aimed at investigating empirical relationships, focusing on techniques to help understand which correlations speak to a causal relationship and which do not. This comes up all the time — does Uber Express Pool grow the full Uber user base, or simply draw in users from other Uber products? Should eBay advertise on Google, or does this simply syphon off people who would have come through organic search anyway? Are African-American Airbnb users rejected on the basis of their race? These are just a few of the countless questions that tech companies are grappling with, investing heavily in understanding the extent of a causal relationship.” ] ] --- # The Law of Demand .pull-left[ - Perhaps the most fundamental economic “law” is the .hi[law of demand]: - **inverse relationship between price and quantity consumed** - i.e. demand curves slope downwards - We investigate its source, and derive more useful properties - First, we will need to develop a more rigorous framework ] .pull-right[ .center[ ![](../images/pricetag.jpg) ] ] --- # Rational Choice Theory .pull-left[ - How do people decide: - which products to buy - which activities to dedicate their time to - how to save or invest/plan for the future - .hi[Rational choice theory]: assume that they .hi[optimize] within constraints - A model of behavior we can extend to most scenarios ] .pull-right[ .center[ ![:scale 100%](../images/groceryaisle.jpg) ] ] --- # Rational Choice Theory: Beyond Consumers .pull-left[ - Often called .hi[“Consumer Theory”] in textbooks, but realize: - .hi-turquoise[*Everyone* is “a consumer”] - "Goods and services" aren't just food, clothing, etc, but *anything* that you value! (free time, friendship, reputation, etc.) - Producers demand productive inputs - We are really modeling how **individuals** make choices in almost *any* context! ] .pull-right[ .center[ ![:scale 100%](../images/groceryaisle.jpg) ] ] --- # Consumption Bundles .pull-left[ - Imagine a (very strange) supermarket sells `\(x\)` and `\(y\)` - Your choices: amounts of `\(\{x, y\}\)` to consume as a .hi-purple[bundle] ] .pull-right[ .center[ ![:scale 100%](../images/groceryaisle.jpg) ] ] --- # Consumption Bundles: Graphically .pull-left[ - We can represent bundles graphically - We’ll stick with 2 goods `\((x, y)\)` in 2-dimensions<sup>.magenta[†]</sup> .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ .hi-green[Example]: - `\(x\)`: 2 units - `\(y\)`: 3 units ] ] .pull-right[ <img src="1.2-slides_files/figure-html/unnamed-chunk-1-1.png" width="504" style="display: block; margin: auto;" /> ] .footnote[<sup>.magenta[†]</sup> See [appendix](resources/appendices/1.2-appendix) in today's class page to extend to *n* goods!] --- class: inverse, center, middle # The Budget Constraint --- # Affordability .pull-left[ - If you had $100 to spend, what bundles of goods `\(\{x, y\}\)` would you buy? - Only those bundles that are .hi-purple[affordable] - Denote prices of each good as `\(\{\color{#e64173}{p_x}, \color{#e64173}{p_y}\}\)` - Let `\(\color{#e64173}{m}\)` be the amount of income a person has ] .pull-right[ .center[ ![:scale 100%](../images/groceryaisle.jpg) ] ] --- # Affordability .pull-left[ - If you had $100 to spend, what bundles of goods `\(\{x, y\}\)` would you buy? - Only those bundles that are .hi-purple[affordable] - Denote prices of each good as `\(\{\color{#e64173}{p_x}, \color{#e64173}{p_y}\}\)` - Let `\(\color{#e64173}{m}\)` be the amount of income a person has - A bundle `\(\{x, y\}\)` is .hi-purple[affordable] at given prices `\(\{p_x,p_y\}\)` when: `$$p_x x+p_y y \leq m$$` ] .pull-right[ .center[ ![:scale 100%](../images/groceryaisle.jpg) ] ] --- # The Budget Set .pull-left[ - The set of *all* affordable bundles that a consumer can choose is called the .hi[budget set] or .hi[choice set] `$$p_x x+p_y y \leq m$$` ] .pull-right[ .center[ ![:scale 100%](../images/groceryaisle.jpg) ] ] --- # The Budget Set & the Budget Constraint .pull-left[ - The set of *all* affordable bundles that a consumer can choose is called the .hi[budget set] or .hi[choice set] `$$p_x x+p_y y \leq m$$` - The .hi[budget *constraint*] is the set of all bundles that spend *all income* `\(m\)`:<sup>.hi[†]</sup> `$$p_x x+p_y y = m$$` ] .pull-right[ .center[ ![:scale 100%](../images/groceryaisle.jpg) ] ] .footnote[<sup>.hi[†]</sup> Note the difference (the in/equality): budget *constraint* is the **subset** of the *budget set* that *spends all income*.] --- # The Budget Constraint, Graphically .pull-left[ - For 2 goods, `\((x, y)\)` `$$p_xx+p_yy=m$$` ] --- # The Budget Constraint, Graphically .pull-left[ - For 2 goods, `\((x, y)\)` `$$p_xx+p_yy=m$$` - Solve for `\(y\)` to graph `$$y=\frac{m}{p_y}-\frac{p_x}{p_y}x$$` ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-plot0-1.png" width="432" style="display: block; margin: auto;" /> ] --- # The Budget Constraint, Graphically .pull-left[ - For 2 goods, `\((x, y)\)` `$$p_xx+p_yy=m$$` - Solve for `\(y\)` to graph `$$y=\frac{m}{p_y}-\frac{p_x}{p_y}x$$` - `\(y\)`-intercept: `\(\frac{m}{p_y}\)` - `\(x\)`-intercept: `\(\frac{m}{p_x}\)` ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-plot1-1.png" width="432" style="display: block; margin: auto;" /> ] --- # The Budget Constraint, Graphically .pull-left[ - For 2 goods, `\((x, y)\)` `$$p_xx+p_yy=m$$` - Solve for `\(y\)` to graph `$$y=\frac{m}{p_y}-\frac{p_x}{p_y}x$$` - `\(y\)`-intercept: `\(\frac{m}{p_y}\)` - `\(x\)`-intercept: `\(\frac{m}{p_x}\)` - slope: `\(-\frac{p_x}{p_y}\)` ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-plot2-1.png" width="432" style="display: block; margin: auto;" /> ] --- # The Budget Constraint, Graphically .pull-left[ - For 2 goods, `\((x, y)\)` `$$p_xx+p_yy=m$$` - Solve for `\(y\)` to graph `$$y=\frac{m}{p_y}-\frac{p_x}{p_y}x$$` - `\(y\)`-intercept: `\(\frac{m}{p_y}\)` - `\(x\)`-intercept: `\(\frac{m}{p_x}\)` - slope: `\(-\frac{p_x}{p_y}\)` ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-plot3-1.png" width="432" style="display: block; margin: auto;" /> ] --- # The Budget Constraint: Example .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ .hi-green[**Example**]: Suppose you have an income of $50 to spend on lattes `\((l)\)` and burritos `\((b)\)`. The price of lattes is $5 and the price of burritos is $10. Let `\(l\)` be on the horizontal axis and `\(b\)` be on the vertical axis. 1. Write an equation for the budget constraint (in graphable form). 2. Graph the budget constraint. ] --- # Interpreting the Budget Constraint .pull-left[ - Points .hi-blue[on the line] spend all income - A: \\($5(0x)+$10(5y) = $50\\) - B: \\($5(10x)+$10(0y) = $50\\) - C: \\($5(2x)+$10(4y) = $50\\) - D: \\($5(6x)+$10(2y) = $50\\) ] .pull-right[ <img src="1.2-slides_files/figure-html/BC2-plot1-1.png" width="432" style="display: block; margin: auto;" /> ] --- # Interpreting the Budget Constraint .pull-left[ - Points .hi-blue[on the line] spend all income - A: \\($5(0x)+$10(5y) = $50\\) - B: \\($5(10x)+$10(0y) = $50\\) - C: \\($5(2x)+$10(4y) = $50\\) - D: \\($5(6x)+$10(2y) = $50\\) - Points .hi-green[beneath] the line are .hi-green[affordable] but don't use all income - E: \\($5(3x)+$10(2y) = $35\\) ] .pull-right[ <img src="1.2-slides_files/figure-html/BC2-plot2-1.png" width="432" style="display: block; margin: auto;" /> ] --- # Interpreting the Budget Constraint .pull-left[ - Points .hi-blue[on the line] spend all income - A: \\($5(0x)+$10(5y) = $50\\) - B: \\($5(10x)+$10(0y) = $50\\) - C: \\($5(2x)+$10(4y) = $50\\) - D: \\($5(6x)+$10(2y) = $50\\) - Points .hi-green[beneath] the line are .hi-green[affordable] but don't use all income - E: \\($5(3x)+$10(2y) = $35\\) - Points .hi-red[above] the line are .hi-red[unaffordable] (at current income and prices) - F: \\($5(6x)+$10(4y) = $70\\) ] .pull-right[ <img src="1.2-slides_files/figure-html/BC2-plot3-1.png" width="432" style="display: block; margin: auto;" /> ] --- class: inverse, center, middle # Opportunity Cost --- # Interpretting the Slope .pull-left[ - **Slope**: .hi-purple[tradeoff] between `\(x\)` and `\(y\)` at market prices - Market .hi-purple[“exchange rate”] between `\(x\)` and `\(y\)`: `\(\frac{p_x}{p_y}y:1x\)` - .hi-purple[*Relative* price] of `\(x\)`, or the .hi-purple[opportunity cost] of `\(x\)`: > Consuming 1 more unit of `\(x\)` requires giving up `\(\frac{p_x}{p_y}\)` units of `\(y\)` ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-slope-plot-1.png" width="432" style="display: block; margin: auto;" /> ] --- # Opportunity Cost .pull-left[ - .hi[Opportunity cost]: value of next best foregone opportunity - Even though we use money for prices, when you consume x, you’re really giving up .hi-turquoise[the opportunity to consume y]! ] .pull-right[ <img src="1.2-slides_files/figure-html/unnamed-chunk-2-1.png" width="432" style="display: block; margin: auto;" /> ] --- # The Parable of the Broken Window .left-column[ .center[ ![:scale 85%](../images/bastiat.png) Frederic Bastiat 1801-1850 ] ] .right-column[ - *That Which is Seen and That Which is Not Seen* ] --- # The Parable of the Broken Window .left-column[ .center[ ![:scale 85%](../images/bastiat.png) Frederic Bastiat 1801-1850 ] ] .right-column[ - *That Which is Seen and That Which is Not Seen* - “That which is seen” - The broken window - Resources diverted into glassmaking ] --- # The Parable of the Broken Window .left-column[ .center[ ![:scale 85%](../images/bastiat.png) Frederic Bastiat 1801-1850 ] ] .right-column[ - *That Which is Seen and That Which is Not Seen* - “That which is seen” - The broken window - Resources diverted into glassmaking - “That which is not seen” - Opportunity cost of fixing the window - Resources diverted *away* from other opportunities ] --- # Applying the Parable of the Broken Window .pull-left[ - What does it mean to say that **“spending money 'stimulates' the economy”?** ] .pull-right[ .center[ ![:scale 100%](../images/disappear.jpg) ] ] --- # Applying the Parable of the Broken Window .pull-left[ - What does it mean to say that **“spending money 'stimulates' the economy”?** - Scarce resources used in one industry can **not** be used in other industries - .hi-purple[Every (visible) decision to spend on X yields more X, and destroys an (invisible) opportunity to spend on Y] ] .pull-right[ .center[ ![:scale 100%](../images/disappear.jpg) ] ] --- # Could It Be Opportunity Cost (of Skilled Labor)? .pull-left[ .center[ ![:scale 80%](../images/prices_cost_disease.png) ] .source[Source: Perry, Mark, 2022, [“Chart of the Day...Or Century?”](https://www.aei.org/carpe-diem/chart-of-the-day-or-century-8/) *American Enterprise Institute*] ] .pull-right[ .center[ ![](../images/why_are_the_prices.png) ] ] --- # Could It Be Opportunity Cost (of Skilled Labor)? .left-column[ .center[ ![](../images/why_are_the_prices.png) ] ] .right-column[ .smaller[ > “The Baumol effect is easy to explain but difficult to grasp. In 1826, when Beethoven’s String Quartet No. 14 was first played, it took four people 40 minutes to produce a performance. In 2010, it still took four people 40 minutes to produce a performance. Stated differently, in the nearly 200 years between 1826 and 2010, there was no growth in string quartet labor productivity. In 1826 it took 2.66 labor hours to produce one unit of output, and it took 2.66 labor hours to produce one unit of output in 2010.” ] .source[Sources: Helland, Eric and Alexander Tabarrok, 2019, [“Why Are The Prices So Damn High?”](https://www.mercatus.org/publications/healthcare/why-are-prices-so-damn-high) *Mercatus Center* Good summaries on [Marginal Revolution](https://marginalrevolution.com/?s=d*mn) ] ] --- # Could It Be Opportunity Cost (of Skilled Labor)? .left-column[ .center[ ![](../images/why_are_the_prices.png) ] ] .right-column[ .smallest[ > “Fortunately, most other sectors of the economy have experienced substantial growth in labor productivity since 1826...In 1826 the average hourly wage for a production worker was $1.14. In 2010 the average hourly wage for a production worker was $26.44, approximately 23 times higher in real (inflation-adjusted) terms. .hi[Growth in average labor productivity has a surprising implication: it makes the output of slow productivity-growth sectors (relatively) more expensive.] In 1826, the average wage of $1.14 meant that the 2.66 hours needed to produce a performance of Beethoven’s String Quartet No. 14 had an opportunity cost of just $3.02. At a wage of $26.44, the 2.66 hours of labor in music production had an opportunity cost of $70.33. .hi[Thus, in 2010 it was 23 times...more expensive to produce a performance of Beethoven’s String Quartet No. 14 than in 1826.]” ] .source[Sources: Helland, Eric and Alexander Tabarrok, 2019, [“Why Are The Prices So Damn High?”](https://www.mercatus.org/publications/healthcare/why-are-prices-so-damn-high) *Mercatus Center* Good summaries on [Marginal Revolution](https://marginalrevolution.com/?s=d*mn)] ] --- # Could It Be Opportunity Cost (of Skilled Labor)? .left-column[ .center[ ![](../images/why_are_the_prices.png) ] ] .right-column[ .smallest[ > “In other words, one had to give up more other goods and services to produce a music performance in 2010 than one did in 1826. Why? Simply because in 2010, society was better at producing other goods and services than in 1826.” ] .source[Sources: Helland, Eric and Alexander Tabarrok, 2019, [“Why Are The Prices So Damn High?”](https://www.mercatus.org/publications/healthcare/why-are-prices-so-damn-high) *Mercatus Center* Good summaries on [Marginal Revolution](https://marginalrevolution.com/?s=d*mn)] ] --- # Could It Be Opportunity Cost (of Skilled Labor)? .left-column[ .center[ ![](../images/why_are_the_prices.png) ] ] .right-column[ .smaller[ > “The 23 times increase in the relative price of the string quartet is the driving force of Baumol’s cost disease. The focus on relative prices tells us that the cost disease is misnamed. The cost disease is not a disease but a blessing. To be sure, it would be better if productivity increased in all industries, but that is just to say that more is better. There is nothing negative about productivity growth, even if it is unbalanced.” ] .source[Sources: Helland, Eric and Alexander Tabarrok, 2019, [“Why Are The Prices So Damn High?”](https://www.mercatus.org/publications/healthcare/why-are-prices-so-damn-high) *Mercatus Center* Good summaries on [Marginal Revolution](https://marginalrevolution.com/?s=d*mn)] ] --- class: inverse, center, middle # Changes in Market Conditions --- # Changes in Market Conditions .pull-left[ `$$\begin{aligned} \color{#e64173}{m} &= \color{#e64173}{p_x} x + \color{#e64173}{p_y} y\\ y &= \frac{\color{#e64173}{m}}{\color{#e64173}{p_y}}-\frac{\color{#e64173}{p_x}}{\color{#e64173}{p_y}}x\\ \end{aligned}$$` - Budget constraint is a function of specific .hi-purple[parameters] - `\(\color{#e64173}{m}\)`: income - `\(\color{#e64173}{p_x}, \color{#e64173}{p_y}\)`: market prices - Economic analysis: .hi-turquoise[how changes in constraints affect people's choices] - “incentives” ] .pull-right[ .center[ ![](../images/choices.jpg) ] ] --- # Changes in Income, `\(m\)` .pull-left[ - Changes in .hi-purple[income] .ul[shift] the budget constraint .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ .hi-green[**Example**]: - Income .hi-green[increases] `\(m_1 \rightarrow m_2\)` - Income .hi-red[decreases] `\(m_1 \rightarrow m_3\)` ] - Slope unchanged (no change in prices!) - .hi-green[Gain]/.hi-red[loss] **of affordable bundles** ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-m-change-plot-1.png" width="432" style="display: block; margin: auto;" /> ] --- # Changes in Income, `\(m\)`: Example .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ .hi-green[Example]: Continuing the lattes and burritos example, (income is $50, lattes are $5, burritos are $10), suppose your income doubles to $100. 1. Find the equation of the new budget constraint (in graphable form). 2. Graph the new budget constraint. ] --- # Changes in Relative Prices, `\(p_x\)` or `\(p_y\)` .pull-left[ - Change in .hi-purple[*relative* prices] .ul[rotate] the budget constraint .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ .hi-green[**Example**]: - Price of `\(x\)` .hi-green[increases] `\(p_x \rightarrow p_x'\)` - Price of `\(x\)` .hi-red[decreases] `\(p_x \rightarrow p_x''\)` ] - Change in slope: `\\(-\frac{p_x'}{p_y}\\)`, `\\(-\frac{p_x''}{p_y}\\)` - .hi-green[Gain]/.hi-red[loss] **of affordable bundles** ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-x-change-plot-1.png" width="432" style="display: block; margin: auto;" /> ] --- # Changes in Relative Prices, `\(p_x\)` or `\(p_y\)` .pull-left[ - Change in .hi-purple[*relative* prices] .ul[rotate] the budget constraint .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ .hi-green[**Example**]: - Price of `\(y\)` .hi-green[increases] `\(p_y \rightarrow p_y'\)` - Price of `\(y\)` .hi-red[decreases] `\(p_y \rightarrow p_y''\)` ] - Change in slope: `\\(-\frac{p_x}{p_y'}\\)`, `\\(-\frac{p_x}{p_y''}\\)` - .hi-green[Gain]/.hi-red[loss] **of affordable bundles** ] .pull-right[ <img src="1.2-slides_files/figure-html/BC-y-change-plot-1.png" width="432" style="display: block; margin: auto;" /> ] --- # Economics is About (Changes in) *Relative* Prices .pull-left[ - .hi-purple[Economic analysis is about (changes in) *relative* prices] - Budget constraint slope (opportunity cost of `\(x)\)` is `\(-\frac{p_x}{p_y}\)` - Only .hi-turquoise[“real”] changes in .ul[*relative*] prices (from changes in market conditions) change consumer constraints (and alter behavior) - i.e. not “the price of `\(x\)`,” its about “the price of x *relative to the price of y*”! ] .pull-right[ .center[ ![:scale 80%](../images/scale.png) ] ] --- # Economics is About (Changes in) *Relative* Prices .pull-left[ - .hi-turquoise[“Nominal”] prices are often meaningless! - Need to make *comparisons* between prices of different goods .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ .hi-green[Example]: Imagine yourself in a strange country. All you know is that the price of bread, in local currency, is “6”... ] ] .pull-right[ .center[ ![:scale 80%](../images/scale.png) ] ] --- # Changes in Relative Prices: Example .bg-washed-green.b--dark-green.ba.bw2.br3.shadow-5.ph4.mt5[ **Example**: Continuing the lattes and burritos example (income is $50, lattes are $5, burritos are $10). 1. Suppose the price of lattes doubles from $5 to $10. Find the equation of the new budget constraint and graph it. 2. Return to the original price of lattes ($5) and suppose the price of burritos falls from $10 to $5. Find the equation of the new budget constraint and graph it. ] --- # Budget Constraint and the Law of Demand .pull-left[ - Recall the .hi[law of demand] - We can derive it right off the budget constraint! - As `\(\uparrow p_x\)`, person can consume less `\(x\)` - As `\(\downarrow p_x\)`, person can consume more `\(x\)` - Notice I have made **no assumptions** about rationality, preferences, utility, etc to get this! ] .pull-right[ <img src="1.2-slides_files/figure-html/unnamed-chunk-3-1.png" width="504" style="display: block; margin: auto;" /> ] --- # Markets Do Not Require Individual Rationality .pull-left[ - A lot of griping about "rationality" and whether people are truly "rational" - [Behavioral economics](https://en.wikipedia.org/wiki/Behavioral_economics), for example - The law of demand does not require rational people! (utility-maximizers, etc) - or markets, for that matter, it's the direct result of .hi[scarcity] - This is important: .hi-turquoise[markets don't *require* rational people, they *make* people rational!] ] .pull-right[ .center[ ![](../images/mind.png) ] ]