viewof Acd = Inputs.range([0.5, 3.0], {value: 1.0, step: 0.1, label: html`TFP ${math`A`}`})
viewof Lcd = Inputs.range([10, 300], {value: 100, step: 10, label: html`labor ${math`L`}`})
viewof alphacd = Inputs.range([0.05, 0.95], {value: 0.33, step: 0.01, label: html`capital share ${math`\alpha`}`})
viewof Kcd = Inputs.range([10, 300], {value: 100, step: 10, label: html`capital ${math`K`} (the marked point)`})
viewof pinA = Inputs.button("Pin this run for comparison")
import {pinned, ghost, math, mathSvg} from "../theme/im-sim.js"
Ycd = (k) => Acd * Math.pow(k, alphacd) * Math.pow(Lcd, 1 - alphacd)
Ypoint = Ycd(Kcd)
MPK = alphacd * Ypoint / Kcd
APK = Ypoint / Kcd
MPL = (1 - alphacd) * Ypoint / Lcd
curve = d3.range(1, 301, 2).map(k => ({k, Y: Ycd(k)}))
tangent = {
const left = Math.max(1, Kcd - 60); // clamp to the plot, then derive Y
const right = Math.min(300, Kcd + 60); // from the SAME clamped distance
return [{k: left, Y: Ypoint - MPK * (Kcd - left)},
{k: right, Y: Ypoint + MPK * (right - Kcd)}];
}
{
const base = pinned("cobb_d_prod-1", {curve, tangent, pt: {k: Kcd, Y: Ypoint}}, pinA);
return mathSvg(Plot.plot({
marginLeft: 55,
x: {label: "capital $K$ →", domain: [0, 300]},
y: {label: "output $Y$", grid: true},
marks: [
Plot.line(base.curve, {x: "k", y: "Y", ...ghost}),
Plot.line(base.tangent, {x: "k", y: "Y", ...ghost}),
Plot.dot([base.pt], {x: "k", y: "Y", r: 5, fill: "none", stroke: "var(--im-fg-muted)", strokeWidth: 1.5}),
Plot.line(curve, {x: "k", y: "Y", stroke: "var(--im-accent)", strokeWidth: 2.5}),
Plot.line(tangent, {x: "k", y: "Y", stroke: "var(--im-sim)", strokeDasharray: "4 4"}),
Plot.dot([{k: Kcd, Y: Ypoint}], {x: "k", y: "Y", fill: "var(--im-danger)", r: 5}),
Plot.text([{k: Kcd, Y: Ypoint}], {x: "k", y: "Y", text: d => `MPK = ${MPK.toFixed(2)}`, dy: -16, fill: "var(--im-sim)", fontWeight: "bold"})
]
}));
}Cobb-Douglas Production
Turning capital and labor into output, with diminishing returns and constant returns to scale
A coffee shop with two baristas buys a second espresso machine and sales jump. It buys a third and a fourth, and sales barely move, because there are still only two baristas. Yet if the owner opens an identical second shop, with its own machines and its own baristas, sales double. One short formula captures both facts, and it is the production function behind almost every growth model in this course.
The big idea. \(Y = A\,K^{\alpha}L^{1-\alpha}\) turns capital \(K\) and labor \(L\) into output \(Y\). Add more of one input and each extra unit helps less (diminishing returns). Scale both inputs by the same factor and output scales by exactly that factor (constant returns to scale). The exponent \(\alpha\) is also the share of income that goes to capital.
You’ll be able to
- Compute output, the marginal product of capital (MPK) and the marginal product of labor (MPL) from a Cobb-Douglas function.
- Explain why the production curve flattens as capital rises, and use \(MPK = \alpha \cdot Y/K\).
- Show that doubling both inputs doubles output, and say why that doesn’t contradict diminishing returns.
- Explain why \(\alpha\) is capital’s share of income, and rewrite the function in per-worker form, \(y = Ak^{\alpha}\).
Explore the model
Predict first
Before you touch a slider: at the defaults the economy has 100 units of capital and 100 workers, and produces output \(Y = 100\). The MPK label shows the slope of the curve at the red dot: how much extra output one more unit of capital adds (0.33 here). Keep the workers fixed and move capital \(K\) (the marked point) from 100 to 200. What happens?
a) Output doubles to 200, and MPK stays at 0.33
No. That would mean every extra machine is just as useful as the last. But the same 100 workers have to share the extra machines, so each new one adds less. Move capital \(K\) to 200 below and compare the red dot with the gray comparison dot.b) Output falls, because of diminishing returns
No. Diminishing returns means each extra unit of capital adds less output. It doesn’t mean output goes down. The curve keeps rising and gets flatter. Move capital \(K\) to 200 below and watch the dot climb the curve.c) Output rises, to about 126, but MPK falls, to about 0.21
Correct. More capital still means more output, but the curve flattens: the slope (MPK) drops from 0.33 to about 0.21. That is diminishing returns. Move capital \(K\) to 200 below and compare the tangent line with the gray dashed comparison tangent.Move capital and watch the slope (MPK) shrink
The curve is output for every level of capital, holding labor and TFP fixed. The dashed line touching it at the red dot is the tangent, and its slope is the MPK. The gray dashed curve, gray dashed tangent and hollow gray dot are a comparison run: they start at the default settings, and Pin this run replaces them with whatever is on screen, so you can compare any two points or curves.
Now try scaling. The slider below multiplies the inputs you chose above by a factor \(\lambda\).
Core intuition
Go back to the coffee shop. Output (drinks sold) comes from combining capital (espresso machines) with labor (baristas). The production function is the recipe that says how much output you get from any combination.
One input at a time: diminishing returns. Hold the number of workers fixed and keep adding machines. The first machine is used all day. The tenth mostly sits idle, because there aren’t enough hands to run it. Each new machine still adds some output, but less than the one before. That is diminishing returns. On the graph the curve keeps rising and gets flatter. Its slope at any point is the marginal product of capital, or MPK: the extra output from one more unit of capital.
Both inputs together: constant returns to scale. Now double the machines and the baristas, which is like opening an identical second shop. Output doubles. That is constant returns to scale. In the formula it holds because the two exponents, \(\alpha\) and \(1-\alpha\), add up to one.
What the letters mean. \(Y\) is output (real GDP). \(K\) is the capital stock: machines, buildings, equipment. \(L\) is labor: workers or hours. \(A\) is total factor productivity, a catch-all for how well the economy turns inputs into output. A higher \(A\) means more output from the same \(K\) and \(L\). And \(\alpha\), a number between 0 and 1, controls how much output responds to capital.
Why \(\alpha\) is capital’s share of income. Suppose firms are competitive, so each input is paid what one more unit of it produces. Then capital’s total earnings are \(MPK \times K\), and with this formula that works out to exactly \(\alpha Y\). Labor gets the rest, \((1-\alpha)Y\). With \(\alpha = 1/3\), a third of national income goes to owners of capital and two-thirds to workers, whatever the size of the economy. The capital share is why textbooks so often set \(\alpha = 1/3\).
Show the math (marginal products, returns to scale, factor shares)
Start from \(Y = A K^{\alpha} L^{1-\alpha}\) with \(0 < \alpha < 1\).
Step 1: the marginal product of capital. Take the derivative with respect to \(K\), holding \(L\) fixed. Why: MPK is the extra output from a little more capital and nothing else. \[MPK = \frac{\partial Y}{\partial K} = \alpha A K^{\alpha-1} L^{1-\alpha} = \alpha A\left(\frac{L}{K}\right)^{1-\alpha} = \alpha\,\frac{Y}{K}.\] \(Y/K\) is the average product of capital (APK), so \(MPK = \alpha \cdot APK\).
Step 2: diminishing returns. In the middle expression, \(K\) is in the denominator with a positive power. As \(K\) rises with \(L\) fixed, \(L/K\) falls and so does MPK. Formally, \(\partial^2 Y/\partial K^2 = \alpha(\alpha-1)AK^{\alpha-2}L^{1-\alpha} < 0\) because \(\alpha - 1 < 0\).
Step 3: the marginal product of labor. The same steps for \(L\): \[MPL = \frac{\partial Y}{\partial L} = (1-\alpha) A K^{\alpha} L^{-\alpha} = (1-\alpha) A\left(\frac{K}{L}\right)^{\alpha} = (1-\alpha)\,\frac{Y}{L}.\] MPL falls as \(L\) rises with \(K\) fixed, and it rises when workers have more capital each.
Step 4: constant returns to scale. Multiply both inputs by any \(\lambda > 0\): \[A(\lambda K)^{\alpha}(\lambda L)^{1-\alpha} = \lambda^{\alpha}\lambda^{1-\alpha}\,A K^{\alpha}L^{1-\alpha} = \lambda^{\alpha+1-\alpha}\,Y = \lambda Y.\] Why it works: the exponents sum to one. If you scale only \(K\), you get \(\lambda^{\alpha}Y\), which is less than \(\lambda Y\) when \(\lambda > 1\).
Step 5: factor shares. If capital is paid its marginal product, the rental rate is \(r = MPK\) and capital income is \[rK = \alpha\,\frac{Y}{K}\cdot K = \alpha Y.\] If labor is paid its marginal product, the wage is \(w = MPL\) and labor income is \(wL = (1-\alpha)Y\). Together, \(rK + wL = Y\): paying each input its marginal product uses up exactly all of output. That only works out because of constant returns to scale.
Step 6: per-worker form. Use Step 4 with \(\lambda = 1/L\). Write \(y = Y/L\) for output per worker and \(k = K/L\) for capital per worker: \[y = \frac{Y}{L} = A\left(\frac{K}{L}\right)^{\alpha}\left(\frac{L}{L}\right)^{1-\alpha} = A k^{\alpha}.\] In words: output per worker depends only on productivity and capital per worker. This is the form the Solow model uses. (Some Solow chapters attach \(A\) to labor instead and write \(Y = K^{\alpha}(AL)^{1-\alpha}\). That is the same function with \(A\) relabeled: the \(A\) on this page equals that one raised to the power \(1-\alpha\).)
What the simulator showed
When you slid capital \(K\) from 100 to 200, output rose from 100 to about 126, and the MPK label fell from 0.33 to 0.21. The dashed tangent got flatter. Doubling one input alone raised output by only about 26%.
Raising TFP \(A\) or labor \(L\) lifted the whole curve, and it also raised MPK at every level of capital. More workers or better technology make each machine more useful.
The capital share \(\alpha\) slider controls the curvature. Push \(\alpha\) toward 1 and the curve is almost a straight line, so returns to capital barely diminish. Push it toward 0 and the curve flattens almost at once.
The scale factor \(\lambda\) readout showed the two experiments side by side. With \(\lambda = 2\) at the defaults, scaling both inputs gave \(Y = 200\), exactly double. Scaling capital alone gave about 125.7.
At every setting the readout showed \(MPK = \alpha \times APK\), and capital income plus labor income added up to \(Y\).
Work through it
Worked example 1: more capital, same workers
The question. An economy has \(Y = AK^{\alpha}L^{1-\alpha}\) with \(A = 1\), \(\alpha = 0.33\) and \(L = 100\). Capital rises from \(K = 100\) to \(K = 200\). Find output and MPK before and after.
Step 1: output before. \(Y = 100^{0.33}\times 100^{0.67} = 100^{1} = 100\). Why: same base, so the exponents add.
Step 2: MPK before. \(MPK = \alpha Y/K = 0.33 \times 100/100 = 0.33\).
Step 3: output after. Only \(K\) changed, by a factor of 2, so output changes by \(2^{0.33} \approx 1.257\). \(Y \approx 125.7\).
Step 4: MPK after. \(MPK = 0.33 \times 125.7/200 \approx 0.21\).
Answer. Output rises from 100 to about 126. MPK falls from 0.33 to about 0.21.
Sanity check. The 100 extra units of capital added 25.7 units of output, an average of 0.257 each. That sits between the starting MPK (0.33) and the ending MPK (0.21), as it should ✓. The simulator shows the same numbers at \(K = 200\).
In the real world
In the real world: does labor really get about two-thirds?
The formula predicts that labor’s share of income stays fixed at \(1-\alpha\) even as the economy grows many times over. The Penn World Table’s estimate for the United States is close to that for most of the postwar period. Labor’s share was about 0.63 in 1950, 0.62 in 1980 and 0.64 in 2000, while real GDP per person more than tripled. That stability is the main reason economists use this production function, and why \(\alpha\) is usually set near one-third.
The fit is not perfect. The same series falls to about 0.59 in 2010 and about 0.57 in 2023. A constant \(\alpha\) cannot explain that decline, and economists are still debating its causes. For this course, treat \(\alpha \approx 1/3\) as a good approximation over long periods, and remember that it is an approximation.
Source: Penn World Table (University of Groningen and UC Davis), share of labour compensation in GDP for the United States, 1950–2023, via FRED series LABSHPUSA156NRUG. Real GDP per person from the US Bureau of Economic Analysis, via FRED series A939RX0Q048SBEA.
Common confusions
“Diminishing returns means output falls.” A lot of people read it that way. Output keeps rising as you add capital. What falls is the size of each extra gain. Total output goes up while the marginal product goes down.
“Constant returns to scale contradicts diminishing returns.” They describe two different experiments. Diminishing returns is about adding one input while the other stays fixed. Constant returns to scale is about increasing all inputs in the same proportion. Both are true of this function at once.
“Doubling \(A\) is like doubling \(K\).” Doubling \(A\) doubles output, because \(A\) multiplies everything. Doubling \(K\) alone raises output by only \(2^{\alpha}\), about 26% when \(\alpha = 1/3\). That difference is why later chapters find that long-run growth has to come from \(A\).
“MPK and the average product \(Y/K\) are the same thing.” The average product is output per unit of capital over the whole stock. The marginal product is what the last unit adds. Here the marginal is always the smaller of the two: \(MPK = \alpha \times Y/K\).
On the exam
On the exam
- How it’s asked. Compute \(Y\), MPK and MPL from given numbers. Show whether a production function has constant returns to scale by replacing \(K\) and \(L\) with \(\lambda K\) and \(\lambda L\). Find the wage, the rental rate and each input’s share of income. Say what happens to output, MPK or the wage when \(K\), \(L\) or \(A\) changes.
- Trap: doubling one input. Doubling \(K\) alone multiplies output by \(2^{\alpha}\). Only doubling both doubles output.
- Trap: returns to scale when the exponents don’t sum to one. For \(Y = K^{a}L^{b}\), scaling both inputs by \(\lambda\) scales output by \(\lambda^{a+b}\). If \(a+b = 1\), returns are constant. If \(a+b > 1\) they are increasing, and if \(a+b < 1\) they are decreasing.
- Shortcut. Use \(MPK = \alpha Y/K\) and \(MPL = (1-\alpha)Y/L\) once you have \(Y\). It is faster than differentiating from scratch.
- Remember: (1) one input up gives diminishing returns. (2) All inputs up together gives constant returns. (3) \(\alpha\) is capital’s share of income and \(1-\alpha\) is labor’s.
Self-check
Q1 · concept
With \(Y = A K^{\alpha} L^{1-\alpha}\) and \(\alpha = 0.33\), you double only capital \(K\). Output:
a) doubles
No. Doubling only one input gives less than double, because of diminishing returns. Output rises by a factor of \(2^{0.33} \approx 1.26\).b) rises by about 26%
Correct. \(Y\) scales by \(2^{\alpha} = 2^{0.33} \approx 1.26\), a 26% gain.c) more than doubles
No. That would be increasing returns to a single input. With an exponent below 1, each extra unit of capital adds less than the last.
Q2 · simulator challenge
Set \(A = 1\), \(L = 100\), \(\alpha = 0.33\), \(K = 100\). What is output \(Y\) (to the nearest whole number), and what are APK and MPK?
Reveal answer
\(Y = 1\cdot 100^{0.33}\cdot 100^{0.67} = 100^{1} = 100\). The readout shows \(Y\) = 100, APK = 100/100 = 1.00 and MPK = 0.33 × 1.00 = 0.33.
Q3 · concept
In a Cobb-Douglas economy with competitive firms, the capital stock doubles while labor and technology stay the same. What happens to capital’s share of total income?
a) It rises, because there is more capital to be paid
No. There is more capital, but each unit now earns less because MPK has fallen. With this function the two effects cancel exactly.b) It falls, because of diminishing returns
No. Diminishing returns lowers the payment per unit of capital, but there are more units. Total capital income is still \(\alpha Y\).c) It stays at \(\alpha\)
Correct. Capital income is \(MPK \times K = (\alpha Y/K) \times K = \alpha Y\), so the share is \(\alpha\) whatever the levels of \(K\) and \(L\).
Q4 · numeric
\(Y = K^{0.5}L^{0.5}\) with \(K = 100\) and \(L = 25\). What is the marginal product of labor?
a) 0.25
No. That is the MPK: \(0.5 \times Y/K = 0.5 \times 50/100 = 0.25\). The question asks about labor.b) 1
Correct. \(Y = 10 \times 5 = 50\). \(MPL = (1-\alpha)Y/L = 0.5 \times 50/25 = 1\).c) 2
No. That is the average product of labor, \(Y/L = 50/25 = 2\). The marginal product is \((1-\alpha)\) times the average.
Q5 · numeric
A firm’s production function is \(Y = K^{0.4}L^{0.8}\). If it triples both \(K\) and \(L\), by what factor does output change? Does this function have constant returns to scale?