Shephard's Lemma
Shephard's lemma is a fundamental duality theorem in microeconomic production and consumer theory stating that the partial derivative of a firm's cost function with respect to an input price equals the conditional factor demand for that input, and the partial derivative of a consumer's expenditure function with respect to a commodity price equals the Hicksian compensated demand for that commodity.
Shephard's lemma is a cornerstone duality result in business and economics theory that links the value functions of constrained optimization problems in production and consumption directly to optimal input and commodity demand schedules via first-order partial differentiation. Proved formally by American mathematician and economist Ronald W. Shephard in his seminal 1953 Princeton University Press monograph Cost and Production Functions (and independently applied to consumer expenditure functions by Lionel W. McKenzie in 1957), the lemma states that if a firm's minimum cost function c(w, y) is differentiable at factor price vector w > 0 and output level y, then the unique cost-minimizing conditional factor demand xi*(w, y) for input i is equal to the partial derivative of the cost function with respect to that input's price wi:
In the dual domain of consumer theory, differentiating a household's minimum expenditure function e(p, u) with respect to the price pi of good i at fixed utility level u yields the Hicksian (compensated) demand function hi(p, u) = โe(p, u) / โpi. Together with Hotelling's lemma (for unconstrained profit functions) and Roy's identity (for indirect utility functions), Shephard's lemma forms the analytical engine of modern microeconomic duality theory, allowing econometricians to estimate systems of input and commodity demand equations without having to solve nonlinear systems of first-order Lagrangian tangency conditions.
Envelope Theorem Derivation in Production Theory
The Primal Cost-Minimization Problem
Consider a firm employing n productive inputs x = (x1, x2, โฆ, xn) โ โ+n purchased in competitive factor markets at positive input prices w = (w1, w2, โฆ, wn) โซ 0 to produce a target scalar output y via a continuous, strictly quasi-concave production function f(x) (such as a CobbโDouglas production function or Constant Elasticity of Substitution technology). The firm's primal cost-minimization problem is:
Assuming an interior solution x*(w, y) โซ 0 where the production constraint binds (f(x*) = y), the associated Lagrangian function with shadow multiplier ฮป(w, y) (which represents marginal cost โc / โy) is:
The first-order necessary conditions for an interior cost minimum require that for every input j โ {1, โฆ, n}:
Application of the Envelope Theorem
Substituting the optimal conditional factor demand bundle x*(w, y) into the objective function defines the minimum cost identity c(w, y) โก โj=1n wj ยท xj*(w, y). Differentiating c(w, y) partially with respect to the i-th factor price wi via the chain rule yields both a direct price effect and an indirect factor-reallocation effect:
Substituting the first-order tangency condition wj = ฮป ยท (โf / โxj) into the summation term gives:
However, because output y is held constant along the isoquant f(x*(w, y)) โก y, differentiating the constraint identity f(x*(w, y)) = y with respect to wi implies that the weighted sum of input adjustments along the isoquant is identically zero:
Thus, the indirect factor-substitution term vanishes at the first order (the envelope theorem), leaving Shephard's lemma:
Intuitively, for an infinitesimal increase dwi in the price of input i, the firm's marginal adjustment of its input mix along the isoquant has zero first-order impact on total cost because at the optimum the marginal cost saved by reducing one input equals the marginal cost incurred by increasing its substitute; hence the rate of increase in minimum total cost equals the quantity xi* of input i currently employed.
Consumer Theory Formulation: Expenditure Functions and Hicksian Demand
In consumer choice theory, a household with continuous, locally non-satiated, strictly quasi-concave utility function U(x) facing commodity price vector p = (p1, โฆ, pn) โซ 0 minimizes total monetary expenditure required to attain a target marginal utility and total utility threshold u:
The solution vector h(p, u) = (h1(p, u), โฆ, hn(p, u)) is the Hicksian (or utility-compensated) demand bundle, named after Nobel laureate Sir John Hicks. By the exact same envelope-theorem logic, differentiating the expenditure function e(p, u) partially with respect to commodity price pi yields the Hicksian compensated demand for good i:
This identity provides the cleanest modern proof of the Slutsky equation, which links uncompensated Marshallian demand xi(p, m) to compensated Hicksian demand via the identity hi(p, u) โก xi(p, e(p, u)). Differentiating both sides with respect to pj and substituting โe(p, u) / โpj = hj(p, u) = xj(p, m) immediately yields the Slutsky decomposition without lengthy bordered-Hessian determinant algebra.
| Duality Theorem / Identity | Value Function Differentiated | Independent Variable Differentiated | Resulting Optimal Demand / Supply Schedule | Economic Domain & Constraint Fixed |
|---|---|---|---|---|
| Shephard's Lemma (Production) | Cost Function c(w, y) | Input price wi | Conditional factor demand xi*(w, y) = โc / โwi | Cost minimization at fixed output y |
| Shephard's Lemma (Consumption) | Expenditure Function e(p, u) | Commodity price pi | Hicksian compensated demand hi(p, u) = โe / โpi | Expenditure minimization at fixed utility u |
| Hotelling's Lemma (1932) | Profit Function ฯ(p, w) | Output price p or input price wi | Output supply y*(p, w) = โฯ / โp; unconditional factor demand xi* = โโฯ / โwi | Unconstrained profit maximization |
| Roy's Identity (1947) | Indirect Utility Function v(p, m) | Commodity price pi and income m | Marshallian uncompensated demand xi(p, m) = โ(โv / โpi) รท (โv / โm) | Utility maximization at fixed budget m |
| Logarithmic Shephard Lemma | Log Cost Function ln c(w, y) | Log input price ln wi | Cost share si(w, y) = (wi xi*) / c = โ ln c / โ ln wi | Translog econometric share estimation |
Structural Properties: Concavity, Homogeneity, and Support-Function Geometry
Shephard's lemma reveals why every valid cost function c(w, y) (and expenditure function e(p, u)) must satisfy four structural regularity conditionsโindependent of whether the underlying production function f(x) is differentiable or even quasi-concave:
- Homogeneity of Degree 1 in Prices (Euler's Theorem): Scaling all input prices by ฮป > 0 scales minimum cost by ฮป: c(ฮปw, y) = ฮป ยท c(w, y). By Euler's homogeneous function theorem, differentiating c(w, y) is homogeneous of degree 0 in wโmeaning conditional factor demands xi*(ฮปw, y) = xi*(w, y) depend only on relative factor pricesโand โi=1n wi (โc / โwi) = โi=1n wi xi* = c(w, y).
- Concavity in Prices and Downward-Sloping Conditional Demand: Consider a firm facing initial input prices w0 with optimal input bundle x0 = x*(w0, y). If factor prices change to w, the firm could passively keep using the old bundle x0 at passive linear cost w ยท x0, or it could re-optimize its input mix along the isoquant to achieve true minimum cost c(w, y) โค w ยท x0. Because c(w, y) is the pointwise infimum of a family of linear functions of w (w โฆ w ยท x for x in the input requirement set V(y)), the cost function c(w, y) is globally concave in w.
- Negative Semidefiniteness and Symmetry of the Substitution Matrix: Differentiating Shephard's lemma a second time with respect to wj yields the Hessian matrix of the cost function Hi,j = โ2c(w, y) / (โwi โwj) = โxi*(w, y) / โwj. By Young's theorem on the equality of mixed partial derivatives, cross-price substitution effects are symmetric (โxi* / โwj = โxj* / โwi), and because c(w, y) is concave in w, its Hessian matrix is negative semidefinite, guaranteeing that every diagonal own-price conditional demand derivative is non-positive:
Unlike Marshallian consumer demandโwhich can theoretically slope upward for a Giffen good when a negative income effect outweighs the substitution effectโconditional factor demands and Hicksian compensated demands can never slope upward because output y (or utility u) is held fixed.
Econometric Applications: Translog Cost Shares and Duality
In empirical econometrics and general equilibrium theory, researchers rarely specify a restrictive primal production function and solve for input demands analytically. Instead, following Laurits Christensen, Dale Jorgenson, and Lawrence Lau (1973) and Erwin Diewert (1971), econometricians specify a flexible functional form directly for the cost functionโsuch as the Transcendental Logarithmic (Translog) cost function or the Generalized Leontief cost functionโand apply Shephard's lemma in logarithmic form to derive linear factor cost-share equations:
For a Translog cost function ln c(w, y) = ฮฑ0 + โi ฮฑi ln wi + ยฝ โi โj ฮณi,j ln wi ln wj + ฮฑy ln y, applying logarithmic Shephard's lemma yields a linear system of cost-share equations si = ฮฑi + โj ฮณi,j ln wj that can be estimated directly via Zellner's seemingly unrelated regressions (SUR) while testing cross-equation symmetry (ฮณi,j = ฮณj,i).
Frequently Asked Questions
What happens to Shephard's lemma when the production function has sharp corners (Leontief technology)?
For a fixed-proportions Leontief production function y = min{x1 / a1, x2 / a2}, the isoquants have right-angle kinks where the marginal rate of technical substitution is undefined. Nevertheless, the cost function c(w1, w2, y) = (a1w1 + a2w2)y is completely smooth and linear in input prices! Applying Shephard's lemma โc / โwi = aiy recovers the exact conditional factor demand effortlessly despite the non-differentiability of the primal production function. Conversely, if an isoquant has flat linear segments, the cost function has a kink at the price ratio matching that slope, and the subdifferential โc / โwi yields the convex set of cost-minimizing input bundles.
How is Roy's identity derived from Shephard's lemma?
Let v(p, m) denote the indirect utility function (maximum utility attainable at prices p and income m). By duality between expenditure minimization and utility maximization, v(p, e(p, u)) โก u. Differentiating this identity with respect to pi while holding u constant gives (โv / โpi) + (โv / โm) ยท (โe / โpi) = 0. Substituting Shephard's lemma โe(p, u) / โpi = hi(p, u) = xi(p, m) and rearranging yields Roy's identity: xi(p, m) = โ(โv / โpi) รท (โv / โm).
What is the difference between Shephard's lemma and Hotelling's lemma?
Shephard's lemma applies to cost minimization (where output y is held fixed), differentiating c(w, y) with respect to wi to obtain conditional factor demand xi*(w, y). Hotelling's lemma (proved by Harold Hotelling in 1932) applies to unconstrained profit maximization (where output y adjusts endogenously to output price p), differentiating the maximum profit function ฯ(p, w) with respect to output price p to obtain output supply y*(p, w) = โฯ / โp and with respect to input price wi to obtain unconditional factor demand xi*(p, w) = โโฯ / โwi.
References
- Shephard, R. W. (1953). Cost and Production Functions. Princeton University Press. https://press.princeton.edu/books/hardcover/9780691652252/cost-and-production-functions
- McKenzie, L. W. (1957). "Demand Theory Without a Utility Index." The Review of Economic Studies, 24(3), 185โ189. https://doi.org/10.2307/2296067
- Diewert, W. E. (1971). "An Application of the Shephard Duality Theorem: A Generalized Leontief Production Function." Journal of Political Economy, 79(3), 481โ507. https://doi.org/10.1086/259764
- Christensen, L. R., Jorgenson, D. W., & Lau, L. J. (1973). "Transcendental Logarithmic Production Frontiers." The Review of Economics and Statistics, 55(1), 28โ45. https://doi.org/10.2307/1927992
- Jorgenson, D. W. (1986). "Econometric Methods for Modeling Producer Behavior." In Z. Griliches & M. D. Intriligator (Eds.), Handbook of Econometrics, Vol. 3 (pp. 1841โ1915). Elsevier. https://doi.org/10.1016/S1573-4412(86)03011-803011-8)