10 Under constraints
Subjects such as consumers and producers often face decisions with specific goals while dealing with various constraints. This process is referred to as decision-making and optimization under constraints. Specifically, we encounter problems related to maximization or minimization within these constraints.
For example, consumers may have a fixed budget to allocate among various items, or consumers have identified a specific basket of items they wish to purchase and now they seek to minimize the costs for that basket. The first is represents a maximization problem and the latter a minimization problem. Similarly, producers typically aim to maximize their profits given a limited amount of production factors, or they seek to minimize costs for a certain level of production.
This section will explore how to approach these optimization problems rationally. We will revisit the concept of utility before discussing two mathematical techniques that can provide solutions: the Lagrangian Multiplier method and Linear Programming.
10.1 Consumption and production choices
In microeconomics, utility maximization (in its simplest form when having just two goods) involves selecting a combination of two goods that satisfies two essential conditions, see Figure 10.1:
- The chosen point of utility maximization must fall within the attainable region defined by the Production Possibility Frontier (PPF) or be affordable within the constraints of a given budget.
- The selected point of utility maximization must lie on the highest indifference curve that is consistent with the first condition.
These conditions ensure that the consumer selects the optimal bundle of goods that maximizes their utility while taking into account the constraints imposed by production capabilities or budget limitations.
By analyzing production possibilities and individual preferences, economists gain insights into how consumers make choices, allocate resources, and achieve utility maximization. Understanding these concepts helps economists explore the trade-offs and decision-making processes that influence consumer behavior and shape market dynamics.
If you are not familiar with the basic principles of the production possibility frontier curve, indifference curves, and budget constraints, I recommend referring to Appendix A for a comprehensive overview. This section provides a detailed explanation and exploration of these concepts.
10.1.1 The role of income and budget
If income increases the budget constraint curve shifts outwards (to the right) as shown in Figure 10.2.
The utility-maximizing choice on the original budget constraint is M. The dashed horizontal and vertical lines extending through point M allow you to see at a glance whether the quantity consumed of goods on the new budget constraint is higher or lower than on the original budget constraint. On the new budget constraint, a choice like N will be made if both goods are normal goods. If good \(x\) is an inferior good, a choice like P will be made. If good \(y\) is an inferior good, a choice like Q will be made.
10.1.2 The role of prices
If price of one good increases then the budget constraint curve. When the price rises, the budget constraint shifts in to the left for that good.
The dashed lines make it possible to see at a glance whether the new consumption choice involves less of both goods, or less of one good and more of the other. The new possible choices would be good \(x\)’s and more good \(y\)’s, like point H, or less of both goods, as at point J. Choice K would mean that the higher price of good \(x\) led to exactly the same quantity of good \(x\) being consumed, but fewer of good \(y\). Choices like L are theoretically possible (if good \(x\) are giffen goods) but highly unlikely in the real world, because they would mean that a higher price for goods \(x\) means a greater quantity consumed of good \(x\).
10.1.3 Substitution and income effect
When prices increase, individuals typically respond by reducing their consumption of the product with the higher price. This reaction is driven by two factors, both of which can occur simultaneously.
The substitution effect occurs when a price change incentivizes consumers to consume less of a good with a relatively higher price and more of a good with a relatively lower price.
The income effect stems from the fact that a higher price effectively reduces the purchasing power of income (even if actual income remains the same). This reduction in purchasing power leads to a decrease in the consumption of the good, particularly when the good is considered normal.
Figure 10.4 illustrates the Hicksian decomposition for a price reduction of good \(A\), which affects the consumption of goods \(A\) and \(B\), shifting the consumption point from \(C\) to \(D\). The point \(C'\) represents the hypothetical consumption point resulting from a rotated budget constraint that reflects the new price relationship.
10.1.4 Consumption, production, and terms of trade
Market prices in a closed economy: The price relation of two goods, the so-called terms of trade, is determined by the slope of the Production Possibility Frontier (PPF) at the point where it is tangent to the indifference curve. This relationship highlights the trade-off between the two goods and their relative scarcity within a closed economy.
Utility maximizing production: The production point that maximizes utility is where the PPF is tangent to the price relation, that is, the terms of trade. This principle applies not only in a closed economy (autarky) but also under free trade (open economy). It implies that producers should allocate resources in a way that balances the trade-off between producing more of one good at the expense of another, while considering consumer preferences. Figure 10.1 depicts this.
10.2 Linear programming
Linear Programming is a common technique for decision making under certainty. It allows to express a desired benefit (such as profit) as a mathematical function of several variables. The solution is the set of values for the independent variables (decision variables) that serves to maximize the benefit or to minimize the negative outcome under consideration of certain limits, a.k.a. constraints. The method usually follows a four step procedure:
- state the problem;
- state the decision variables;
- set up an objective function;
- clarify the constraints.
Example: Consider a factory producing two products, product X and product Y. The problem is this: If you can realize $10.00 profit per unit of product X and $14.00 per unit of product Y, what is the production level of x units of product X and y units of product Y that maximizes the profit P each day? Your production, and therefore your profit, is subject to resource limitations, or constraints. Assume in this example that you employ five workers—three machinists and two assemblers—and that each works only 40 hours a week.1
1 The example is taken from Morse et al. (2014, p. 134f).
- Product X requires three hours of machining and one hour of assembly per unit.
- Product Y requires two hours of machining and two hours of assembly per unit.
- State the problem: How many of product X and product Y to produce to maximize profit?
- Decision variables: Suppose x denotes the number of product X to produce per day and y denotes number of product Y to produce per day
- Objective function: Maximize \[P = 10x + 14y\]
- Constraints:
- machine time=120h
- assembling time=80h
- hours needed for production of one good:
machine time: \(x\rightarrow 3h\) and \(y \rightarrow 2h\)
assembling time: \(x\rightarrow 1h\) and \(y \rightarrow 2h\)
Thus, we get: \[3x + 2y \leq 120 \quad \Leftrightarrow y\leq 60-\frac{3}{2}x \quad \text{(hours of machining time)}\] \[x + 2y \leq 80 \quad \Leftrightarrow y \leq 40-\frac{1}{2}x \quad \text{(hours of assembly time)}\] Since there are only two products, these limitations can be shown on a two-dimensional graph Figure 10.6. Since all relationships are linear, the solution to our problem will fall at one of the corners.
To draw the isoprofit function in a plot with the good \(y\) on the y-axis and good \(x\) on the x-axis, we can re-arrange the objective function to get \[y=\frac{1}{14}P-\frac{10}{14}x\] To illustrate the function let us consider some arbitrarily chosen levels of profit in Figure 10.7:
- $350 by selling 35 units of X or 25 units of Y
- $700 by selling 70 units of X or 50 units of Y
- $620 by selling 62 units of X or 44.3 units of Y.
To find the solution, begin at some feasible solution (satisfying the given constraints) such as \((x,y) = (0,0)\), and proceed in the direction of steepest ascent of the profit function (in this case, by increasing production of Y at $14.00 profit per unit) until some constraint is reached. Since assembly hours are limited to 80, no more than 80/2, or 40, units of Y can be made, earning \(40 \cdot \$14.00\), or $560 profit. Then proceed along the steepest allowable ascent from there (along the assembly constraint line) until another constraint (machining hours) is reached. At that point, (x,y) = (20,30) and profit P = (20 * +10.00) + (30 * +14.00), or $620. Since there is no remaining edge along which profit increases, this is the optimum solution.
10.3 Lagrange multiplier method
The method outlined below requires an understanding of how to take derivatives of functions and solve systems of equations. If readers feel they need a refresher on these topics, I recommend consulting the lecture notes Calculus and Linear Algebra from Huber (2023).
The decision-making process of consumers and producers lies at the core of microeconomic research and is of significant importance for managers. I will not go into detail here, but I will show some examples of how to come to a decision when certain information is given.
For a deeper understanding of the microeconomic preliminaries related to this topic, please read section Appendix A of the appendix.
The Lagrange multiplier method, named after Joseph-Louis Lagrange (see Figure 10.8), is a strategy for finding the local maxima and minima of a function subject to constraints. The red curve in Figure 10.9 represents the constraint \(g(x, y) = c\), while the blue curves depict contours of \(f(x, y)\). The point where the red constraint tangentially intersects a blue contour represents the maximum of \(f(x, y)\) along the constraint, as \(d1 > d2\).
For a detailed visual explanation of the method, you can watch Dr. Trefor Bazett’s YouTube video on Lagrange Multipliers | Geometric Meaning & Full Example, see Figure 10.10.
The Lagrange multiplier method, named after Joseph-Louis Lagrange, is a powerful technique for solving optimization problems with constraints. It allows us to find the local maxima and minima of a function subject to certain conditions. The method involves four key steps:
Step 1: Formulate the Problem
Define the problem you want to solve in mathematical terms. This includes specifying the objective function to be maximized or minimized and the constraints that need to be satisfied.
The problem that we want to solve can be written in the following way, \[ \begin{array}{ll} \max _{x, y} & F(x, y) \\ \text{ s.t. } & g(x, y)=0 \end{array} \] where \(F(x, y)\) is the function to be maximized and \(g(x, y)=0\) is the constraint to be respected. Notice that \(\max _{x, y}\) means that we must solve (maximize) with respect to \(x\) and \(y\).
Step 2: Construct the Lagrangian
Create a new function called the Lagrangian by combining the objective function and the constraints using Lagrange multipliers. The Lagrangian introduces new variables, known as Lagrange multipliers, to account for the constraints. The Lagrangian, \(\mathcal{L}\), is a combination of the functions that explain the problem: The \(\lambda\) is called the Lagrange Multiplier. \[ \mathcal{L}(x, y, \lambda)=F(x, y)-\lambda g(x, y) \]
Step 3: Determine the First-Order Conditions
Differentiate the Lagrangian with respect to the variables of the problem (e.g., x and y) and the Lagrange multipliers. Set the partial derivatives equal to zero to obtain the first-order conditions. These conditions represent the necessary conditions for optimality.
Differentiate \(\mathcal{L}\) w.r.t. \(x, y,\) and \(\lambda\) and equate the partial derivatives to 0: \[\begin{align*} \frac{\partial \mathcal{L}(x, y, \lambda)}{\partial x}=0 & \Leftrightarrow \frac{\partial F(x, y)}{\partial x}-\lambda \frac{\partial g(x, y)}{\partial x}=0 \\ \frac{\partial \mathcal{L}(x, y, \lambda)}{\partial y}=0 & \Leftrightarrow \frac{\partial F(x, y)}{\partial y}-\lambda \frac{\partial g(x, y)}{\partial y}=0 \\ \frac{\partial \mathcal{L}(x, y, \lambda)}{\partial \lambda}=0 & \Leftrightarrow g(x, y)=0 \end{align*}\]
Step 4: Solve the System of Equations
Solve the system of equations obtained from the first-order conditions to find the values of the variables and Lagrange multipliers that satisfy the optimality conditions. The solutions represent the optimal quantities that maximize or minimize the objective function subject to the given constraints.
By following these four steps, you can effectively apply the Lagrange multiplier method to various optimization problems with constraints. It provides a systematic approach to finding the optimal solutions while incorporating the necessary trade-offs imposed by the constraints.
10.4 Exercises
4 Also see: http://www.sfu.ca/~wainwrig/5701/notes-lagrange.pdf