Lecture 7
CONSTRAINED OPTIMIZATION


1. Objective

To find the extremum of a function in the presence of an equality constraint

 

2. The Lagrange-multiplier method

Convert the constrained optimization problem into an unconstrained optimization one.


2.1 First-order conditions

Use the FOC to obtain the extrema of the function.


2.2 Example

Find the extremum of the function z = xy, subject to the constraint x + y = 8.

  1. Obtain the Lagrangian function, L(x,y,λ).
  2. Write down the first-order conditions (3 of them).
  3. Solve the three equations for the three variables.
  4. Obtain the stationary value of z.

    [Note: At this point we do not know if the extremum is a maximum or a minimum. We will develop the SOC later.]


2.3 Second-order conditions

The second-order conditions entail the use of:

 

3. The Bordered Hessian

 

4. The n-variable case

4.1 Finding the extremum
  1. Form the Lagrangian function:

    L(x1, x2,..., xn, λ) = f(x1, x2,..., xn) + λ[c - g(x1, x2,..., xn)]

  2. Obtain the FOC:
    	L1(x1, x2,..., xn, λ) = 0		(1)
    	L2(x1, x2,..., xn, λ) = 0		(2)
    	...
    	Ln(x1, x2,..., xn, λ) = 0		(n)
    	Lλ(x1, x2,..., xn, λ) = 0		(n+1)
    
  3. Solve equations (1), (2),...,(n+1) to obtain x1, x2,..., xn and λ.
  4. Obtain the bordered Hessian:

    H_bar =
    		0	g1	g2	...	gn
    		g1	L11	L12	...	L1n
    		g2	L21	L22	...	L2n
    		...
    		gn	Ln1	Ln2	...	Lnn
    
  5. Obtain the bordered principal minors:
    			0	g1	g2
    	H2_bar = 	g1	L11	L12
    			g2	L21	L22
    
    
    	H3_bar, H4_bar,..., Hn_bar
       
  6. Check the second-order conditions (SOC)

 

5. Interpretation of the Lagrange multiplier

 

6. Application: Utility maximization

The consumer's optimization problem is:
	max 		u(x,y)
	x,y

	s.t. 		pxx + pyy = I
Graphical solution Analytical solution
  1. Form the Lagrangian function.
  2. Obtain the FOC.
  3. Obtain the bordered Hessian.
  4. What restrictions on u(x,y) will ensure that the FOC will yield a maximum?
  5. What is the interpretation of the multiplier?


6.1 Example

Consider the utility function u(x,y) = (x+2)(y+1). The prices of the two goods and the consumer's income are: px = 4, py = 6, I = 130.

  1. Solve for the optimal levels of x and y.
  2. Are the second-order conditions for a maximum satisfied?
  3. What will happen to the optimal levels of x and y in response to an increase in the price of Good X? How about utility? (Assume px increases by 10%.)
  4. What will happen to the optimal levels of x and y in response to an increase in income? What will ahppen to utility? (Assume I increases to 150.)

EC 309 home