โ† Wiki Index / Business & Economics Theory / Shephard's Lemma
๐Ÿ“ˆ Business & Economics Theory

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:

xi*(w, y) = โˆ‚c(w, y) / โˆ‚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:

c(w, y) = minx โ‰ฅ 0 โˆ‘j=1n wj ยท xj     subject to     f(x) โ‰ฅ y

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:

L(x, ฮป; w, y) = โˆ‘j=1n wj ยท xj + ฮป ยท [y โˆ’ f(x)]

The first-order necessary conditions for an interior cost minimum require that for every input j โˆˆ {1, โ€ฆ, n}:

โˆ‚L / โˆ‚xj = wj โˆ’ ฮป ยท [โˆ‚f(x*) / โˆ‚xj] = 0     โŸน     wj = ฮป ยท [โˆ‚f(x*) / โˆ‚xj]

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:

โˆ‚c(w, y) / โˆ‚wi = xi*(w, y) + โˆ‘j=1n wj ยท [โˆ‚xj*(w, y) / โˆ‚wi]

Substituting the first-order tangency condition wj = ฮป ยท (โˆ‚f / โˆ‚xj) into the summation term gives:

โˆ‚c(w, y) / โˆ‚wi = xi*(w, y) + ฮป ยท โˆ‘j=1n [โˆ‚f(x*) / โˆ‚xj] ยท [โˆ‚xj*(w, y) / โˆ‚wi]

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:

โˆ‚f(x*(w, y)) / โˆ‚wi = โˆ‘j=1n [โˆ‚f(x*) / โˆ‚xj] ยท [โˆ‚xj*(w, y) / โˆ‚wi] = 0

Thus, the indirect factor-substitution term vanishes at the first order (the envelope theorem), leaving Shephard's lemma:

โˆ‚c(w, y) / โˆ‚wi = xi*(w, y)

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:

e(p, u) = minx โ‰ฅ 0 โˆ‘j=1n pj ยท xj     subject to     U(x) โ‰ฅ 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:

hi(p, u) = โˆ‚e(p, u) / โˆ‚pi

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 / IdentityValue Function DifferentiatedIndependent Variable DifferentiatedResulting Optimal Demand / Supply ScheduleEconomic Domain & Constraint Fixed
Shephard's Lemma (Production)Cost Function c(w, y)Input price wiConditional factor demand xi*(w, y) = โˆ‚c / โˆ‚wiCost minimization at fixed output y
Shephard's Lemma (Consumption)Expenditure Function e(p, u)Commodity price piHicksian compensated demand hi(p, u) = โˆ‚e / โˆ‚piExpenditure minimization at fixed utility u
Hotelling's Lemma (1932)Profit Function ฯ€(p, w)Output price p or input price wiOutput supply y*(p, w) = โˆ‚ฯ€ / โˆ‚p; unconditional factor demand xi* = โˆ’โˆ‚ฯ€ / โˆ‚wiUnconstrained profit maximization
Roy's Identity (1947)Indirect Utility Function v(p, m)Commodity price pi and income mMarshallian uncompensated demand xi(p, m) = โˆ’(โˆ‚v / โˆ‚pi) รท (โˆ‚v / โˆ‚m)Utility maximization at fixed budget m
Logarithmic Shephard LemmaLog Cost Function ln c(w, y)Log input price ln wiCost share si(w, y) = (wi xi*) / c = โˆ‚ ln c / โˆ‚ ln wiTranslog 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:

  1. 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).
  2. 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.
  3. 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:
โˆ‚xi*(w, y) / โˆ‚wi = โˆ‚2c(w, y) / โˆ‚wi2 โ‰ค 0

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:

si(w, y) โ‰ก [wi ยท xi*(w, y)] รท c(w, y) = [โˆ‚c(w, y) / โˆ‚wi] ยท [wi / c(w, y)] = โˆ‚ ln c(w, y) / โˆ‚ ln wi

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

  1. Shephard, R. W. (1953). Cost and Production Functions. Princeton University Press. https://press.princeton.edu/books/hardcover/9780691652252/cost-and-production-functions
  2. 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
  3. 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
  4. 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
  5. 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)
๐Ÿงฌ Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
๐Ÿ’ก Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision