Derivative of Cobb-Douglas Production Function
Marginal Output Per Worker Holding Capital Fixed
Given the following production function:
Assume that K is a number
, We can, following the chain rule, take derivative of Y with respect to L: Matlab symbolic toolbox gives us the same answer:
f(L, K0, alpha) = K0^(alpha)*L^(1-alpha);
diff(f, L)
ans(L, K0, alpha) =

Marginal Productivity Graph at Fixed Capital Level
We can show this graphically using fplot to plot a symbolic function with one variable:
% Note that we have 1 symbolic variable now, the others are numbers
f(L) = K0^(alpha)*L^(1-alpha);
% fplot plots a function with one symbolic variable
fplot(f_diff_L, [0.1, 15])
title('Marginal Product of Labor, with K=1, alpha=0.5')
ylabel({'Marginal Product of additional labor' 'at different level of current L'})
xlabel('Current level of Labor')
Marginal Product of Labor at different Capital Levels
We can show this graphically using fplot to plot a symbolic function with one variable, we loop over different K0 values.
- With higher capital level, the MPL is strictly higher.
- However, note on the graph that the effect of additional capital on labor marginal productivity is different at different current levels of labor (the gap between the three lines differ along the x-axis):
% Note that we have 1 symbolic variable now, the others are numbers
f(L) = K0^(alpha)*L^(1-alpha);
% fplot plots a function with one symbolic variable
fplot(f_diff_L, [0.1, 15])
legend(['k=',num2str(k0a)],...
title('Marginal Product of Labor with different Capital Levels, alpha=0.5')
ylabel({'Marginal Product of additional labor'})
xlabel('Current level of Labor')