Skip to content

Commit 0774777

Browse files
authored
[intro_supply_demand] Update spellings and example admonitions (#543)
* [intro_supply_demand] Update typos * [intro_supply_demand] example admonition add two example admonitions
1 parent 20a3b6c commit 0774777

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

lectures/intro_supply_demand.md

+15-7
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Exports were regarded as good because they brought in bullion (gold flowed into
3333

3434
Imports were regarded as bad because bullion was required to pay for them (gold flowed out).
3535

36-
This [zero-sum](https://en.wikipedia.org/wiki/Zero-sum_game) view of economics was eventually overturned by the work of the classical economists such as [Adam Smith](https://en.wikipedia.org/wiki/Adam_Smith) and [David Ricado](https://en.wikipedia.org/wiki/David_Ricardo), who showed how freeing domestic and international trade can enhance welfare.
36+
This [zero-sum](https://en.wikipedia.org/wiki/Zero-sum_game) view of economics was eventually overturned by the work of the classical economists such as [Adam Smith](https://en.wikipedia.org/wiki/Adam_Smith) and [David Ricardo](https://en.wikipedia.org/wiki/David_Ricardo), who showed how freeing domestic and international trade can enhance welfare.
3737

3838
There are many different expressions of this idea in economics.
3939

@@ -68,6 +68,9 @@ Before we look at the model of supply and demand, it will be helpful to have som
6868

6969
### A discrete example
7070

71+
```{prf:example}
72+
:label: isd_ex_cs
73+
7174
Regarding consumer surplus, suppose that we have a single good and 10 consumers.
7275
7376
These 10 consumers have different preferences; in particular, the amount they would be willing to pay for one unit of the good differs.
@@ -79,6 +82,7 @@ Suppose that the willingness to pay for each of the 10 consumers is as follows:
7982
| willing to pay | 98 | 72 | 41 | 38 | 29 | 21 | 17 | 12 | 11 | 10 |
8083
8184
(We have ordered consumers by willingness to pay, in descending order.)
85+
```
8286

8387
If $p$ is the price of the good and $w_i$ is the amount that consumer $i$ is willing to pay, then $i$ buys when $w_i \geq p$.
8488

@@ -253,6 +257,9 @@ Let $v_i$ be the price at which producer $i$ is willing to sell the good.
253257

254258
When the price is $p$, producer surplus for producer $i$ is $\max\{p - v_i, 0\}$.
255259

260+
```{prf:example}
261+
:label: isd_ex_dc
262+
256263
For example, a producer willing to sell at \$10 and selling at price \$20 makes a surplus of \$10.
257264
258265
Total producer surplus is given by
@@ -273,6 +280,7 @@ p = 2 q^2
273280
$$
274281
275282
The shaded area is the total producer surplus in this continuous model.
283+
```
276284

277285
```{code-cell} ipython3
278286
---
@@ -351,7 +359,7 @@ Many of these rules relate to one of the most beautiful and powerful results in
351359

352360
We will not try to cover these ideas here, partly because the subject is too big, and partly because you only need to know one rule for this lecture, stated below.
353361

354-
If $f(x) = c + \mathrm{d} x$, then
362+
If $f(x) = c + dx$, then
355363

356364
$$
357365
\int_a^b f(x) \mathrm{d} x = c (b - a) + \frac{d}{2}(b^2 - a^2)
@@ -670,7 +678,7 @@ This is the competitive equilibrium quantity.
670678
Observe that the equilibrium quantity equals the same $q$ given by equation {eq}`eq:old1`.
671679
672680
The outcome that the quantity determined by equation {eq}`eq:old1` equates
673-
supply to demand brings us a **key finding:**
681+
supply to demand brings us a *key finding*:
674682
675683
* a competitive equilibrium quantity maximizes our welfare criterion
676684
@@ -689,11 +697,11 @@ Our generalizations will extend the preceding analysis of a market for a single
689697
690698
In addition
691699
692-
* we'll derive **demand curves** from a consumer problem that maximizes a
693-
**utility function** subject to a **budget constraint**.
700+
* we'll derive *demand curves* from a consumer problem that maximizes a
701+
*utility function* subject to a *budget constraint*.
694702
695-
* we'll derive **supply curves** from the problem of a producer who is price
696-
taker and maximizes his profits minus total costs that are described by a **cost function**.
703+
* we'll derive *supply curves* from the problem of a producer who is price
704+
taker and maximizes his profits minus total costs that are described by a *cost function*.
697705
698706
## Exercises
699707

0 commit comments

Comments
 (0)