viewof g_pre = Inputs.range([0.005, 0.10], {value: 0.02, step: 0.005, label: html`growth rate ${math`g`}`})
viewof T_pre = Inputs.range([20, 150], {value: 100, step: 5, label: html`horizon ${math`T`} (years)`})
viewof scale_pre = Inputs.radio(["linear", "log"], {value: "linear", label: "y-axis scale"})
viewof pinA = Inputs.button("Pin this run for comparison")
import {pinned, ghost, math, mathSvg} from "../theme/im-sim.js"
// --- model (ported 1:1 from the v1 Python notebook) ---
// compounding: Y_T = Y_0 (1 + g)^T
// doubling time: t* = ln 2 / ln(1 + g) ≈ 70 / (100·g) (rule of 70)
Y0_pre = 100
path_pre = {
const pts = [];
for (let t = 0; t <= T_pre; t++) pts.push({t, y: Y0_pre * Math.pow(1 + g_pre, t)});
return pts;
}
tdouble_pre = Math.log(2) / Math.log(1 + g_pre)
rule70_pre = 70 / (100 * g_pre)
{
const base = pinned("Preliminaries-1", {path: path_pre}, pinA);
return mathSvg(Plot.plot({
marginLeft: 60,
x: {label: "years →"},
y: {label: `value $Y$ (${scale_pre} scale)`, type: scale_pre === "log" ? "log" : "linear", grid: true},
marks: [
Plot.line(base.path, {x: "t", y: "y", ...ghost}),
...(tdouble_pre <= T_pre ? [
Plot.ruleY([2 * Y0_pre], {stroke: "#9aa0a6", strokeDasharray: "4 4"}),
Plot.ruleX([tdouble_pre], {stroke: "var(--im-sim)", strokeDasharray: "4 4"}),
Plot.text([{t: tdouble_pre, y: 2 * Y0_pre}], {x: "t", y: "y", text: () => `doubles at $t$ ≈ ${tdouble_pre.toFixed(1)} yrs (rule of 70 says ${rule70_pre.toFixed(1)})`, dx: 8, dy: -10, textAnchor: "start", fill: "var(--im-sim)"})
] : []),
Plot.line(path_pre, {x: "t", y: "y", stroke: "var(--im-accent)", strokeWidth: 2}),
Plot.text([path_pre.at(-1)], {x: "t", y: "y", text: () => `$Y_T$ = ${(Y0_pre * Math.pow(1 + g_pre, T_pre)).toFixed(0)} (${Math.pow(1 + g_pre, T_pre).toFixed(1)}×)`, dx: -8, dy: -8, textAnchor: "end", fill: "var(--im-accent)"})
]
}));
}Preliminaries: The Mathematics of Economic Growth
Growth rates, compounding, and why economists work in logarithms
core model
In 1960 the average person in South Korea produced about $1,000 of output a year, measured in 2015 US dollars. By 2024 that number was about $37,000, roughly 36 times higher. Over the same 64 years the United States went up about 3.5 times. Korea grew about 5.7% a year and the US about 2% a year. How does a gap of under four percentage points turn into 36 times versus 3.5 times?
The big idea. Growth compounds: each year’s growth is a percentage of a base that keeps getting bigger, so a variable growing at rate \(g\) follows \(Y_T = Y_0(1+g)^T\). Given enough years, a small difference in the growth rate becomes a huge difference in the level. Logarithms keep the arithmetic simple: on a log scale constant growth is a straight line, and something growing at \(g\)% a year doubles about every \(70/g\) years.
You’ll be able to
- Compute a percent change, a growth rate, and an average annual (annualized) growth rate between two dates, exactly and with the log shortcut.
- Use the rule of 70 to estimate a doubling time, and say when the estimate is safe to use.
- Read a log-scale chart: a straight line means constant growth, and the slope is the growth rate.
- Use the three growth-rate rules (product, ratio, power) to split one growth rate into its pieces.
Explore the model
Predict first
Before you touch a slider: at the default settings (growth rate \(g = 0.02\), a 100-year horizon) the path starts at 100 and ends at \(Y_T = 724\). You double the growth rate to \(g = 0.04\) (4% a year). Roughly where does the path end after the same 100 years?
a) About 500
No. That would be right if \(Y\) grew by the same amount each year: 4% of the starting 100 is +4 a year, and 100 years of that adds 400. But each year adds 4% of a value that keeps getting larger. Set the growth rate to \(g = 0.04\) below and read the endpoint label.b) About 1,450, twice as much
No. Doubling the rate more than doubles the result, because the extra growth itself grows every year. Set the growth rate to \(g = 0.04\) below and compare the new curve with the dashed comparison run.c) About 5,050, roughly seven times as much
Correct. At 4% the value doubles about every 17.7 years instead of every 35. In a century it doubles almost six times instead of about three: \(100 \times 1.04^{100} \approx 5{,}050\). Set the growth rate to \(g = 0.04\) below and compare the new curve with the dashed comparison run.Drag a slider. The path and the doubling-time marker update as you go. Switch the y-axis to log and watch the curve straighten.
The blue curve is \(Y_t = 100\,(1+g)^t\): a value that starts at 100 and grows at rate \(g\) every year. The dashed red vertical line marks the exact doubling time, and the gray dashed horizontal line marks the doubling level, 200. The gray dashed curve is a comparison run. It starts at the default settings, and Pin this run replaces it with whatever is on screen, so you can compare any two growth rates on the same axes.
The calculator below answers the question you’ll get most often on homework. You know a starting value, an ending value, and the number of years between them. What constant yearly growth rate connects the two? It shows the exact answer and the log shortcut side by side.
Core intuition
Start with a raise
Say you earn $50,000 and get a 4% raise. Your pay goes up by $2,000, to $52,000. Next year you get another 4% raise. This time it’s 4% of $52,000, which is $2,080. The rate is the same and the raise is bigger, because the base grew.
A growth rate is that same calculation: the change, divided by where you started.
\[g = \frac{Y_{t+1} - Y_t}{Y_t}\]
Here \(Y_t\) is the value this year (GDP, income, anything you like), \(Y_{t+1}\) is the value next year, and \(g\) is the growth rate written as a decimal, so 4% is \(g = 0.04\). Move the terms around and you get \(Y_{t+1} = Y_t(1+g)\). In words: to go forward one year, multiply by \((1+g)\).
Growth compounds
Multiply by \((1+g)\) every year for \(T\) years and you get
\[Y_T = Y_0(1+g)^T,\]
where \(Y_0\) is the starting value and \(Y_T\) is the value \(T\) years later. This is compounding: growth on top of earlier growth.
Start at 100 and grow 2% a year for a century, and you end at about 724. Grow 4% a year instead and you end at about 5,050. Doubling the rate multiplied the endpoint by seven. That is the answer to the Korea puzzle at the top of the page: a few extra percentage points, repeated for 64 years, is the difference between 3.5 times and 36 times.
Compounding also means that equal steps in the level are shrinking steps in the growth rate. Look at the last three rows of this table. GDP rises by 2 each year, but each +2 is a smaller share of a bigger base.
| Year | GDP | Change | Growth rate |
|---|---|---|---|
| 2018 | 100 | ||
| 2019 | 104 | +4 | 4.00% |
| 2020 | 98 | −6 | −5.77% |
| 2021 | 103 | +5 | 5.10% |
| 2022 | 105 | +2 | 1.94% |
| 2023 | 107 | +2 | 1.90% |
| 2024 | 109 | +2 | 1.87% |
Why economists plot logs
On an ordinary axis, constant growth looks like a curve that gets steeper and steeper. Nothing about the economy changed. The same 2% just adds more each year because the base is bigger. That makes ordinary charts of GDP hard to read: you can’t tell by eye whether growth sped up or stayed the same.
A log scale fixes this. On a log axis, equal distances mean equal percentage changes: going from 100 to 200 covers the same distance as going from 200 to 400. So constant growth shows up as a straight line, and the slope of the line is the growth rate.
That gives you four reading rules for any log-scale chart:
- A straight line means constant growth.
- A steeper line means faster growth.
- A kink means the growth rate changed.
- Height tells you the level (how rich), and slope tells you the growth rate (how fast it is getting richer).
Logs turn growth into addition
The natural log (written \(\ln\), the “ln” key on your calculator) has one property that does most of the work in this course. For a small number \(g\), \(\ln(1+g)\) is very close to \(g\) itself. Try it on a calculator: \(\ln(1.02) = 0.0198\), which is almost exactly 0.02. So the change in the log of a variable from one year to the next is approximately its growth rate.
Because logs turn multiplication into addition, three rules follow. Each one is easier to see with numbers.
- Product. Nominal GDP is the price level times real GDP. If prices rise 3% and real GDP rises 2%, nominal GDP rises about 3% + 2% = 5%. (The exact answer is 5.06%.)
- Ratio. GDP per person is GDP divided by population. If GDP grows 3% and population grows 1%, GDP per person grows about 3% − 1% = 2%. (Exact: 1.98%.)
- Power. Suppose output depends on capital raised to the power 1/3. If capital grows 6%, that adds about (1/3) × 6% = 2% to output growth. (Exact: 1.96%.)
You will use these three rules in almost every chapter on growth.
The rule of 70
How long does it take something to double? Divide 70 by the growth rate in percent. That is the rule of 70.
At 2% a year, income doubles in about 70/2 = 35 years. At 7% a year, it doubles in about 70/7 = 10 years. A country growing at 7% doubles its income three and a half times in the 35 years it takes a 2% country to double once.
Level and growth rate are different things
How rich a country is (its level) and how fast it is getting richer (its growth rate) are separate facts, and they often point in opposite directions. The United States has been rich and slow-growing for well over a century. China was poor and fast-growing for decades. When a problem asks about one, check that you are not answering about the other.
Show the math (full derivation)
Step 1: percent change and the growth rate. The growth rate is the change divided by the starting value. Solving for next year’s value gives the one-year rule, and repeating it \(T\) times gives the compounding formula. \[g = \frac{Y_{t+1} - Y_t}{Y_t} \quad\Longrightarrow\quad Y_{t+1} = Y_t(1+g), \qquad Y_T = Y_0(1+g)^T.\] Why: each year multiplies by the same factor \((1+g)\), so \(T\) years multiply by \((1+g)^T\).
Step 2: the annualized growth rate between two distant dates. You know \(Y_0\), \(Y_T\) and \(T\), and you want the constant \(g\) that connects them. Solve the compounding formula for \(g\): \[\frac{Y_T}{Y_0} = (1+g)^T \;\Longrightarrow\; g_{\text{annualized}} = \left(\frac{Y_T}{Y_0}\right)^{1/T} - 1.\] Why: taking the \(T\)-th root undoes \(T\) years of compounding.
Step 3: the log approximation. Take logs of \(Y_{t+1} = Y_t(1+g)\): \[\ln Y_{t+1} = \ln Y_t + \ln(1+g).\] The Taylor expansion of \(\ln(1+g)\) around \(g=0\) is \(g - \tfrac{g^2}{2} + \tfrac{g^3}{3} - \cdots\). When \(g\) is small the squared and cubed terms are tiny, so \[\ln(1+g) \approx g \quad\Longrightarrow\quad g \approx \ln Y_{t+1} - \ln Y_t = \Delta \ln Y,\] and the annualized version becomes \[g_{\text{annualized}} \approx \frac{\ln Y_T - \ln Y_0}{T}.\] How good is it? At \(g = 0.02\), \(\ln(1.02) = 0.019803\), an error of about 1% of the rate. At \(g = 0.10\), \(\ln(1.10) = 0.0953\), an error of nearly 5% of the rate. The shortcut gets worse as \(g\) gets bigger.
Step 4: why a log scale straightens the curve. Take logs of the compounding formula: \[\ln Y_t = \ln Y_0 + t\,\ln(1+g).\] Why: this is the equation of a straight line in \(t\), with intercept \(\ln Y_0\) and slope \(\ln(1+g) \approx g\).
Step 5: the growth-rate rules. Apply the log rules \(\ln(xy) = \ln x + \ln y\), \(\ln(x/y) = \ln x - \ln y\) and \(\ln(x^a) = a\ln x\) to changes over time: \[z = xy \;\Rightarrow\; g_z \approx g_x + g_y, \qquad z = x/y \;\Rightarrow\; g_z \approx g_x - g_y, \qquad z = x^a \;\Rightarrow\; g_z \approx a\,g_x.\] These hold exactly for changes in logs and approximately for ordinary percent changes. The power rule is the one that later gives Cobb–Douglas growth accounting.
Step 6: the rule of 70. Doubling means \((1+g)^{t^*} = 2\), where \(t^*\) is the doubling time. Take logs and solve: \[t^* = \frac{\ln 2}{\ln(1+g)} \approx \frac{\ln 2}{g} = \frac{0.693\ldots}{g} \approx \frac{70}{100\,g}.\] Why 70 and not 69.3? 70 divides evenly by more growth rates, and rounding up offsets a little of the error from \(\ln(1+g) \approx g\). At \(g = 2\%\) the exact answer is \(t^* = \ln 2/\ln 1.02 = 35.0\) years and the rule of 70 gives \(70/2 = 35\).
What the simulator showed
- At the defaults (\(g = 2\%\), \(T = 100\)) the endpoint label read \(Y_T = 724\) (7.2×). A century of 2% growth multiplies income more than sevenfold. The red doubling marker sat at \(t \approx 35.0\) years, which is what the rule of 70 predicts (70/2 = 35).
- Raising \(g\) to 4% moved the endpoint to about 5,050 and pulled the doubling marker in to about 17.7 years. The dashed comparison run stayed where it was, so you could see how far apart the two paths end up.
- Switching the y-axis to log turned the same path into a straight line. Nothing about the data changed. A straight line on a log axis is what constant growth looks like.
- Pushing \(g\) to 10% showed the shortcut starting to slip: the exact doubling time was 7.3 years while the rule of 70 said 7.0.
- In the calculator, going from 100 to 200 in 20 years gave an exact annualized rate of 3.53% against a log approximation of 3.47%. The gap is 0.061 percentage points, small enough that economists use the shortcut freely at ordinary growth rates.
Work through it
Worked example: an average annual growth rate
The question. A country’s real GDP per person was $20,000 in 1990 and $50,000 in 2020. What was its average annual growth rate? Give the exact answer and the log approximation.
Step 1: write down what you know. \(Y_0 = 20{,}000\), \(Y_T = 50{,}000\), and \(T = 2020 - 1990 = 30\) years.
Step 2: find the total growth factor. \(Y_T / Y_0 = 50{,}000 / 20{,}000 = 2.5\). Income is 2.5 times what it was.
Step 3: undo 30 years of compounding. \(g = 2.5^{1/30} - 1 = 1.0310 - 1 = 0.0310\), or 3.10% a year. On a calculator: 2.5, then the power key, then (1 ÷ 30).
Step 4: do it again with logs. \(g \approx \ln(2.5)/30 = 0.9163/30 = 0.0305\), or 3.05% a year.
Answer. About 3.1% a year exactly, and 3.05% by the log shortcut.
Sanity check. The rule of 70 says 3.1% growth doubles income every 70/3.1 ≈ 23 years. Thirty years is a bit more than one doubling, and income went up 2.5 times, a bit more than double. ✓ You can also check it in the calculator above: set the initial value to 200, the final value to 500 and the years to 30. It reads 3.10% and 3.05%.
A common wrong answer. Income rose 150% in 30 years, and 150/30 = 5% a year. That ignores compounding. Growing 5% a year for 30 years would multiply income by 4.3, well past 2.5.
Worked example: catching up
The question. Country A has income per person of $10,000 and grows 7% a year. Country B has $40,000 and grows 2% a year. (a) What is each country’s doubling time? (b) Roughly when does A catch up with B?
Step 1: doubling times from the rule of 70. A: 70/7 = 10 years. B: 70/2 = 35 years.
Step 2: estimate with doublings. After 30 years A has doubled three times: 10,000 → 20,000 → 40,000 → 80,000. B needs 35 years to double from 40,000 to 80,000, so after 30 years it is still a little under 80,000. A catches up at about the 30-year mark.
Step 3: get the exact year. Set the two paths equal: \(10{,}000 \times 1.07^t = 40{,}000 \times 1.02^t\). Divide both sides by \(10{,}000 \times 1.02^t\) to get \((1.07/1.02)^t = 4\). Take logs: \(t = \ln 4 / \ln(1.07/1.02) = 1.386 / 0.0479 = 29.0\) years.
Answer. A doubles every 10 years, B every 35, and A catches B after about 29 years.
Sanity check. In the simulator, set \(g = 0.07\) and \(T = 30\): the label reads 7.6×, so A reaches about $76,000. Set \(g = 0.02\) and \(T = 30\): the label reads 1.8×, so B reaches about $72,000. A has just passed B. ✓
In the real world
In the real world: 78 years of roughly 2% in the United States
US real GDP per person was about $15,200 in 1947 and about $70,000 in 2025, both measured in 2017 dollars. That is 4.6 times higher. Run the annualized-growth formula and you get \(4.6^{1/78} - 1 \approx 2.0\%\) a year.
The rule of 70 tells the same story. At 2% a year, income doubles every 35 years. Seventy-eight years is a little over two doublings, and two doublings is 4 times. A rate that sounds small made the average American more than four times richer within one lifetime.
Source: US Bureau of Economic Analysis, real GDP per capita, via FRED series A939RX0Q048SBEA (annual averages for 1947 and 2025).
In the real world: China is fast, the US is rich
Between 1990 and 2024, China’s GDP per person rose from about $900 to about $13,100 (in 2015 US dollars). That is about 14 times higher in 34 years, an average of about 8% a year, which means doubling roughly every 9 years. US GDP per person grew about 1.6% a year over the same period.
Yet in 2024 China’s GDP per person was still only about one fifth of the US figure of about $66,900. This is the level-versus-growth distinction with real numbers: the faster-growing country was still the poorer one.
Source: World Bank, World Development Indicators, GDP per capita in constant 2015 US$ (series NY.GDP.PCAP.KD), data for 1960–2024. The Korea and US figures in the opening come from the same series.
Common confusions
“GDP rose by the same amount each year, so growth was constant.” A lot of people read it this way. The trouble is that a constant change in the level is a falling growth rate. If GDP goes 103 → 105 → 107 → 109, each +2 step is a smaller percentage of a larger base: 1.94%, then 1.90%, then 1.87%. Constant growth means multiplying by the same \((1+g)\) each year, so the amount added keeps rising.
“The log approximation \(\ln(1+g) \approx g\) always works.” It works when \(g\) is small. At \(g = 2\%\), \(\ln(1.02) = 0.0198\), an error of about 1% of the rate. At \(g = 10\%\), \(\ln(1.10) = 0.0953\), an error of nearly 5%, and the rule of 70 gives 7.0 years when the true doubling time is 7.3. For ordinary yearly growth rates of a few percent the shortcut is fine. When the yearly rate is 10% or more (a very fast-growing economy, or high inflation), use the exact formula \((Y_T/Y_0)^{1/T} - 1\). What matters is the size of the yearly rate, not how many years you are covering.
“Ten years of 5% growth is 50% growth.” It is tempting to add the yearly rates. But each year’s 5% applies to a larger base than the year before, so the total is \(1.05^{10} - 1 = 62.9\%\). The reverse mistake is just as common: dividing total growth by the number of years overstates the annual rate. Use the root formula from the first worked example.
“Growth went from 2% to 3%, so it rose 1%.” It rose by one percentage point. As a percent, going from 2 to 3 is a 50% increase in the growth rate. Exam questions and news stories both use “percentage points” for the gap between two rates, so use that phrase when you subtract one rate from another.
On the exam
On the exam
- How it’s asked. “GDP per person was \(X\) in year \(A\) and \(Y\) in year \(B\). Compute the average annual growth rate.” “At this growth rate, how long until income doubles?” “Here is a log-scale plot of two countries: which grew faster, and when did growth change?” “Output is \(Y = AK^{1/3}L^{2/3}\) and you are given the growth rates of the pieces: find the growth rate of \(Y\).”
- Trap: dividing total growth by the number of years. Use \((Y_T/Y_0)^{1/T} - 1\), or the log version.
- Trap: counting years wrong. From 1990 to 2020 is 30 years, not 31. \(T\) is the difference between the two dates.
- Trap: mixing percents and decimals. In the formulas \(g\) is a decimal (0.02). In the rule of 70 it is a percent (2).
- Trap: reading height as growth. On a log chart the higher line is the richer country. The steeper line is the faster-growing one.
- If you only remember three things: (1) \(Y_T = Y_0(1+g)^T\), and its inverse \(g = (Y_T/Y_0)^{1/T} - 1\). (2) Doubling time ≈ 70 divided by the growth rate in percent. (3) Growth rates of products add, of ratios subtract, and of powers get multiplied by the exponent.
Self-check
Q1 · concept
Two countries are plotted on a log-scale chart of GDP per capita. Country A’s line is higher. Country B’s line is steeper. What can you conclude?
a) Country A is growing faster, because its line is higher
No. On a log scale, height is the level (how rich) and slope is the growth rate (how fast it is getting richer). A higher line only tells you A is richer.b) Country B is growing faster, even though it is currently poorer
Correct. Slope on a log axis is the growth rate, so B’s steeper line means faster growth. A’s greater height means a higher level. The two are separate facts.c) Country B will always be poorer than country A
No. If both lines keep their slopes, the steeper one eventually crosses the higher, flatter one. Faster growth from a lower level is what catching up looks like.
Q2 · simulator challenge
In the simulator, set \(g = 2\%\) (the default). Where does the dashed red doubling-time marker sit, and what does the rule of 70 predict?
Reveal answer
The rule of 70 predicts 70/2 = 35 years. The marker sits at the exact value \(t^* = \ln 2 / \ln(1.02) = 35.0\) years, so the two agree to one decimal place at this growth rate. You can check it on the chart: the blue path crosses the gray line at 200 at that moment, since \(100 \times 1.02^{35} = 200.0\).
Q3 · numeric
A country’s GDP per person rises from $20,000 to $80,000 in 40 years. What was its average annual growth rate?
a) 7.5% a year
No. That is the total growth of 300% divided by 40 years, which ignores compounding. Growing 7.5% a year for 40 years would multiply income by about 18, not 4.b) About 3.5% a year
Correct. Income went up 4 times, which is two doublings in 40 years, or one doubling every 20 years. The rule of 70 then gives 70/20 = 3.5%. The exact formula agrees: \(4^{1/40} - 1 = 3.53\%\).c) About 2% a year
No. At 2% a year income doubles every 35 years, so in 40 years it would only be a little more than double. Here it quadrupled.
Q4 · numeric
In one year a country’s nominal GDP grows 6%, its price level rises 2%, and its population grows 1%. Using the growth-rate rules, about how fast did real GDP per person grow? (Real GDP is nominal GDP divided by the price level.)
Reveal answer
About 3%. Real GDP is a ratio, nominal GDP over the price level, so its growth rate is about 6% − 2% = 4%. Real GDP per person is another ratio, real GDP over population, so its growth rate is about 4% − 1% = 3%. The exact answer is \(1.06/(1.02 \times 1.01) - 1 = 2.9\%\), so the shortcut is off by about a tenth of a point.
Q5 · concept
GDP falls 20% in a deep recession and then grows 20% the next year. Is it back where it started?