Section 35.3 Interpretation of duality in microeconomics
The following example is adapted from Wikipedia article Dual linear program, available under the Creative Commons Attribution-ShareAlike License.
Consider a farmer who may grow wheat and barley with the set provision of some \(L\) land, \(F\) fertilizer and \(P\) pesticide. To grow one unit of wheat, one unit of land, \(F_1\) units of fertilizer and \(P_1\) units of pesticide must be used. Similarly, to grow one unit of barley, one unit of land, \(F_2\) units of fertilizer and \(P_2\) units of pesticide must be used.
The primal problem would be the farmer deciding how much wheat (\(x_1\)) and barley (\(x_2\)) to grow if their sell prices are \(S_1\) and \(S_2\) per unit. The goal is to maximize the total revenue:
subject to constraints:
- \(x_1 + x_2 \leq L\) (cannot use more land than available)
- \(F_1 x_1 + F_2 x_2 \leq F\) (cannot use more fertilizer than available)
- \(P_1 x_1 + P_2 x_2 \leq P\) (cannot use more pesticide than available)
- \(x_1, x_2 \geq 0\) (cannot grow negative amounts)
For the dual problem assume that \(y\) unit prices for each of these means of production (inputs) are set by a planning board. The planning board's job is to minimize the total cost of procuring the set amounts of inputs while providing the farmer with a floor on the unit price of each of his crops (outputs), \(S_1\) for wheat and \(S_2\) for barley. This corresponds to the following problem: minimize the total cost
subject to constraints:
- \(y_L+F_1 y_F+P_1 y_P\geq S_1\) (the farmer must receive at least \(S_1\) for each unit of wheat)
- \(y_L+F_2 y_F+P_2 y_P\geq S_2\) (the farmer must receive at least \(S_2\) for each unit of barley)
- \(y_L, y_F, y_P\geq 0\) (prices cannot be negative)
In matrix form this becomes: minimize
subject to:
and
The primal problem deals with physical quantities. With all inputs available in limited quantities, and assuming the unit prices of all outputs is known, what quantities of outputs to produce so as to maximize total revenue? The dual problem deals with economic values. With floor guarantees on all output unit prices, and assuming the available quantity of all inputs is known, what input unit pricing scheme to set so as to minimize total expenditure?
To each variable in the primal space corresponds an inequality to satisfy in the dual space, both indexed by output type. To each inequality to satisfy in the primal space corresponds a variable in the dual space, both indexed by input type.
The coefficients that bound the inequalities in the primal space are used to compute the objective in the dual space, input quantities in this example. The coefficients used to compute the objective in the primal space bound the inequalities in the dual space, output unit prices in this example.
Both the primal and the dual problems make use of the same matrix. In the primal space, this matrix expresses the consumption of physical quantities of inputs necessary to produce set quantities of outputs. In the dual space, it expresses the creation of the economic values associated with the outputs from set input unit prices.