Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson...

85
Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC PRINCIPLES AND EXTENSIONS EIGHTH EDITION WALTER NICHOLSON
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    229
  • download

    0

Transcript of Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson...

Page 1: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Chapter 2

THE MATHEMATICS OF OPTIMIZATION

Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved.

MICROECONOMIC THEORYBASIC PRINCIPLES AND EXTENSIONS

EIGHTH EDITION

WALTER NICHOLSON

Page 2: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Mathematics of Optimization

• Many economic theories begin with the assumption that an economic agent is seeking to find the optimal value of some function– Consumers seek to maximize utility– Firms seek to maximize profit

• This chapter introduces the mathematics common to these problems

Page 3: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Maximization of a Function of One Variable

• Simple example: Manager of a firm wishes to maximize profits

)(qf

= f(q)

Quantity

*

q*

Maximum profits of* occur at q*

Page 4: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Maximization of a Function of One Variable

• The manager will likely try to vary q to see where the maximum profit occurs– An increase from q1 to q2 leads to a rise in

= f(q)

Quantity

*

q*

1

q1

2

q2

0q

Page 5: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Maximization of a Function of One Variable

• If output is increased beyond q*, profit will decline– An increase from q* to q3 leads to a drop in

= f(q)

Quantity

*

q*

0q

3

q3

Page 6: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Derivatives

• The derivative of = f(q) is the limit of /q for very small changes in q

h

qfhqf

dq

df

dq

dh

)()(lim 11

0

• Note that the value of this ratio depends on the value of q1

Page 7: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Value of a Derivative at a Point

• The evaluation of the derivative at the point q = q1 can be denoted

1qqdq

d

• In our previous example,

01

qqdq

d0

3

qqdq

d0

*qqdq

d

Page 8: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

First Order Condition for a Maximum

• For a function of one variable to attain its maximum value at some point, the derivative at that point must be zero

0 *qq

dq

df

Page 9: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions• The first order condition (d/dq) is a

necessary condition for a maximum, but it is not a sufficient condition

Quantity

*

q*

If the profit function was u-shaped,the first order condition would result

in q* being chosen and wouldbe minimized

Page 10: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions

• This must mean that, in order for q* to be the optimum,

*qqdq

d

for 0 and *qq

dq

d

for 0

• Therefore, at q*, d/dq must be decreasing

Page 11: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Derivatives

• The derivative of a derivative is called a second derivative

• The second derivative can be denoted by

)('' qfdq

fd

dq

d or or

2

2

2

2

Page 12: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Condition

• The second order condition to represent a (local) maximum is

02

2

*qqdq

d

Page 13: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Rules for Finding Derivatives

.0dx

dbb then constant, a is If 1.

.1

0

bb

baxdx

daxbba

then

, and constants are and If 2.

xdx

xd 1

ln 3.

.ln aaadx

da xx

constantany for 4.

Page 14: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Rules for Finding Derivatives

)(')(')]()([

xgxfdx

xgxfd

5.

)()(')(')()]()([

xgxfxgxfdx

xgxfd

6.

.)()]([

)(')()()(')()(

0

2

xgxg

xgxfxgxf

dx

xgxf

d

that

provided 7.

Page 15: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Rules for Finding Derivatives

dz

dg

dx

df

dz

dx

dx

dy

dz

dyzg

xfzgxxfy

then exist, and

both if and and If 8.

)('

)(')()(

This is called the chain rule. The chain ruleallows us to study how one variable (z) affectsanother variable (y) through its influence on some intermediate variable (x).

Page 16: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Example of Profit MaximizationSuppose that the relationship between

profit and output is

= 1,000q - 5q2

The first order condition for a maximum is

d/dq = 1,000 - 10q = 0

q* = 100

Since the second derivative is always -10, q=100 is a global maximum.

Page 17: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Functions of Several Variables

• Most goals of economic agents depend on several variables

– Trade-offs must be made

• The dependence of one variable (y) on a series of other variables (x1,x2,…,xn) is denoted by

),...,,( nxxxfy 21

Page 18: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

• The partial derivative of y with respect to x1 is denoted by

Partial Derivatives

1

111

ffx

f

x

yx or or or

• It is understood that in calculating the partial derivative, all of the other x’s are held constant.

Page 19: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Partial Derivatives• Partial derivatives are the mathematical

expression of the ceteris paribus assumption– They show how changes in one variable

affect some outcome when other influences are held constant

Page 20: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Calculating Partial Derivatives

212

2

211

1

2221

2121

2

2

cxbxfx

f

bxaxfx

fcxxbxaxxxfy

and

then ,),( If 1.

2121

21

2

2

1

1

21

bxaxbxax

bxax

befx

faef

x

fexxfy

and

then If 2. ,),(

Page 21: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Calculating Partial Derivatives

2

2

21

1

1

2121

x

bf

x

f

x

af

x

fxbxaxxfy

and

then If 3. ,lnln),(

Page 22: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second-Order Partial Derivatives

• The partial derivative of a partial derivative is called a second-order partial derivative

ij

jij

i fxx

f

x

xf

2)/(

Page 23: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Young’s Theorem

• Under general conditions, the order in which partial differentiation is conducted to evaluate second-order partial derivatives does not matter

jiij ff

Page 24: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Total Differential• Suppose that y = f(x1,x2,…,xn)

• If all x’s are varied by a small amount, the total effect on y will be

n

n

dxx

fdx

x

fdx

x

fdy

...2

2

1

1

nndxfdxfdxfdy ...2211

Page 25: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

First-Order Condition for a Maximum (or Minimum)

• A necessary condition for a maximum (or minimum) of the function f(x1,x2,…,xn) is that dy = 0 for any combination of small changes in the x’s

• The only way for this to be true is if021 nfff ...

• A point where this condition holds is called a critical point

Page 26: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second-Order Conditions

• The second-order partial derivatives must meet certain restrictions for the critical point to be a local maximum

• These restrictions will be discussed later in this chapter

Page 27: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Finding a MaximumSuppose that y is a function of x1 and x2

y = - (x1 - 1)2 - (x2 - 2)2 + 10

y = - x12 + 2x1 - x2

2 + 4x2 + 5

First-order conditions imply that

042

022

2

2

1

1

xx

y

xx

y

OR2

1

2

1

*

*

x

x

Page 28: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Implicit Functions• The equation y = mx + b is an explicit

function– y is considered the dependent variable– x is the independent variable

• The equation f(x,y,m,b) = 0 is an implicit function– The relationships between the variables

and the parameters are implicitly present in the equation but not explicitly stated

Page 29: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Derivatives from Implicit Functions

• In many circumstances, it will be helpful to compute derivatives directly from implicit functions

• If f(x,y)=0, then its total differential of f1dx + f2dy = 0

• Thus,0 y

y

x ff

f

dx

dy for

Page 30: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Production Possibility Frontier• Earlier example: 2x2 + y2 = 225

• Can be rewritten: f(x,y) = 2x2 + y2 - 225 = 0

• Then, the opportunity cost trade-off between x and y is

y

x

y

x

f

f

dx

dy

y

x 2

2

4

Because fx = 4x and fy = 2y

Page 31: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Implicit Function Theorem• It may not always be possible to solve

implicit functions of the form g(x,y)=0 for unique explicit functions of the form y = f(x)– Mathematicians have derived the necessary

conditions– In many economic applications, these

conditions are the same as the second-order conditions for a maximum (or minimum)

Page 32: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem

• The envelope theorem concerns how the optimal value for a particular function changes when a parameter of the function changes

• This is easiest to see by using an example

Page 33: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• Suppose that y is a function of x

y = -x2 + ax

• For different values of a, this function represents a family of inverted parabolas

• If a is assigned a value, then y becomes a function of x only and the value of x that maximizes y can be calculated

Page 34: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem

Value of a Value of x* Value of y*0 0 01 1/2 1/42 1 13 3/2 9/44 2 45 5/2 25/46 3 9

Optimal Values of x and y for alternative values of a

Page 35: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem

0

1

2

3

4

5

6

7

8

9

10

0 1 2 3 4 5 6 7a

y*

As a increases,the maximal valuefor y (y*) increases

The relationshipbetween a and yis quadratic

Page 36: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• Suppose we are interested in how y*

changes as a changes

• There are two ways we can do this– calculate the slope of y directly– hold x constant at its optimal value and

calculate y/a directly

Page 37: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• To calculate the slope of the function, we

must solve for the optimal value of x for any value of a

dy/dx = -2x + a = 0

x* = a/2

• Substituting, we get

y* = -(x*)2 + a(x*) = -(a/2)2 + a(a/2)

y* = -a2/4 + a2/2 = a2/4

Page 38: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• Therefore,

dy*/da = 2a/4 = a/2 = x*

• But, we can save time by using the envelope theorem– For small changes in a, dy*/da can be

computed by holding x at x* and calculating y/ a directly from y

Page 39: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem

y/ a = x

Holding x = x*

y/ a = x* = a/2

This is the same result found earlier.

Page 40: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• The envelope theorem states that the

change in the optimal value of a function with respect to a parameter of that function can be found by partially differentiating the objective function while holding x (or several x’s) at its optimal value

)}(*{*

axxa

y

da

dy

Page 41: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• The envelope theorem can be extended to

the case where y is a function of several variables

y = f(x1,…xn,a)

• Finding an optimal value for y would consist of solving n first-order equations

y/xi = 0 (i = 1,…,n)

Page 42: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• Optimal values for theses x’s would be

determined that are a function of a

x1* = x1*(a)x2* = x2*(a)

xn*= xn*(a)

.

.

.

Page 43: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• Substituting into the original objective

function yields an expression for the optimal value of y (y*)

y* = f [x1*(a), x2*(a),…,xn*(a),a]

• Differentiating yields

a

f

da

dx

x

f

da

dx

x

f

da

dx

x

f

da

dy n

n

...* 2

2

1

1

Page 44: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

The Envelope Theorem• Because of first-order conditions, all terms

except f/a are equal to zero if the x’s are at their optimal values

• Therefore,

)}(*{*

axxa

f

da

dy

Page 45: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• What if all values for the x’s are not

feasible?– The values of x may all have to be positive– A consumer’s choices are limited by the

amount of purchasing power available

• One method used to solve constrained maximization problems is the Lagrangian multiplier method

Page 46: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• Suppose that we wish to find the values

of x1, x2,…, xn that maximize

y = f(x1, x2,…, xn)

subject to a constraint that permits only certain values of the x’s to be used

g(x1, x2,…, xn) = 0

Page 47: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• The Lagrangian multiplier method starts

with setting up the expression

L = f(x1, x2,…, xn ) + g(x1, x2,…, xn)

where is an additional variable called a Lagrangian multiplier

• When the constraint holds, L = f because g(x1, x2,…, xn) = 0

Page 48: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• First-Order Conditions

L/x1 = f1 + g1 = 0

L/x2 = f2 + g2 = 0

.

L/xn = fn + gn = 0

.

.

L/ = g(x1, x2,…, xn) = 0

Page 49: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• The first-order conditions can be solved

for x1, x2,…, xn and

• The solution will have two properties:– The x’s will obey the constraint– These x’s will make the value of L (and

therefore f) as large as possible

Page 50: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• The Lagrangian multiplier () has an

important economic interpretation• The first-order conditions imply that

f1/-g1 = f2/-g2 =…= fn/-gn = – The numerators above measure the marginal

benefit that one more unit of xi will have for the function f

– The denominators reflect the added burden on the constraint of using more xi

Page 51: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• At the optimal choices for the x’s, the

ratio of the marginal benefit of increasing xi to the marginal cost of increasing xi should be the same for every x

is the common cost-benefit ratio for all of the x’s

i

i

x

x

of cost marginal

of benefit marginal

Page 52: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• If the constraint was relaxed slightly, it

would not matter which x is changed• The Lagrangian multiplier provides a

measure of how the relaxation in the constraint will affect the value of y

provides a “shadow price” to the constraint

Page 53: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Lagrangian Multiplier Method• A high value of indicates that y could be

increased substantially by relaxing the constraint– each x has a high cost-benefit ratio

• A low value of indicates that there is not much to be gained by relaxing the constraint

=0 implies that the constraint is not binding

Page 54: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Duality

• Any constrained maximization problem has associated with it a dual problem in constrained minimization that focuses attention on the constraints in the original problem

Page 55: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Duality• Individuals maximize utility subject to a

budget constraint– Dual problem: individuals minimize the

expenditure needed to achieve a given level of utility

• Firms minimize cost of inputs to produce a given level of output– Dual problem: firms maximize output for a

given cost of inputs purchased

Page 56: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Suppose a farmer had a certain length of

fence (P) and wished to enclose the largest possible rectangular shape

• Let x be the length of one side• Let y be the length of the other side• Problem: choose x and y so as to maximize

the area (A = x·y) subject to the constraint that the perimeter is fixed at P = 2x + 2y

Page 57: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Setting up the Lagrangian multiplier

L = x·y + (P - 2x - 2y)

• The first-order conditions for a maximum are

L/x = y - 2 = 0

L/y = x - 2 = 0

L/ = P - 2x - 2y = 0

Page 58: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Since y/2 = x/2 = , x must be equal to y

– The field should be square– x and y should be chosen so that the ratio of

marginal benefits to marginal costs should be the same

• Since x = y and y = 2, we can use the constraint to show that

x = y = P/4

= P/8

Page 59: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Interpretation of the Lagrangian multiplier:

– If the farmer was interested in knowing how much more field could be fenced by adding an extra yard of fence, suggests that he could find out by dividing the present perimeter (P) by 8

– The Lagrangian multiplier provides information about the implicit value of the constraint

Page 60: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Dual problem: choose x and y to minimize

the amount of fence required to surround a field of a given size

minimize P = 2x + 2y subject to A = x·y

• Setting up the Lagrangian:

LD = 2x + 2y + D(A - x - y)

Page 61: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• First-order conditions:

LD/x = 2 - D·y = 0

LD/y = 2 - D·x = 0

LD/D = A - x ·y = 0

• Solving, we getx = y = A1/2

• The Lagrangian multiplier (D) = 2A-1/2

Page 62: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Envelope Theorem & Constrained Maximization

• Suppose that we want to maximize

y = f(x1, x2,…, xn)

subject to the constraint

g(x1, x2,…, xn; a) = 0

• One way to solve would be to set up the Lagrangian expression and solve the first-order conditions

Page 63: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Envelope Theorem & Constrained Maximization

• Alternatively, it can be shown that

dy*/da = L/a(x1*, x2*,…, xn*;a)

• The change in the maximal value of y that results when a changes can be found by partially differentiating L and evaluating the partial derivative at the optimal point

Page 64: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Maximization without Calculus• Not all economic maximization problems

can be solved using calculus– If a manager does not know the profit function,

but can approximate parts of it by straight lines

Quantity

*

q*

= f(q)d/dq does not exist at q*

Page 65: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Maximization without Calculus• Calculus also cannot be used in the

case where a firm cannot produce fractional values of output

• d/dq does not exist at q*

Page 66: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of One Variable

• Let y = f(x)

• A necessary condition for a maximum is that

dy/dx = f ’(x) = 0

• To ensure that the point is a maximum, y must be decreasing for movements away from it

Page 67: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of One Variable

• The total differential measures the change in y

dy = f ‘(x) dx

• To be at a maximum, dy must be decreasing for small increases in x

• To see the changes in dy, we must use the second derivative of y

Page 68: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of One Variable

• Note that d 2y < 0 implies that f ’’(x)dx2 < 0

• Since dx2 must be positive, f ’’(x) < 0

• This means that the function f must have a concave shape at the critical point

22 dxxfdxdxxfdxdx

dxxfdyd )('')(''

])('[

Page 69: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of Two Variables

• Suppose that y = f(x1, x2)

• First order conditions for a maximum are

y/x1 = f1 = 0

y/x2 = f2 = 0

• To ensure that the point is a maximum, y must diminish for movements in any direction away from the critical point

Page 70: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of Two Variables

• The slope in the x1 direction (f1) must be diminishing at the critical point

• The slope in the x2 direction (f2) must be diminishing at the critical point

• But, conditions must also be placed on the cross-partial derivative (f12 = f21) to ensure that dy is decreasing for all movements through the critical point

Page 71: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of Two Variables

• The total differential of y is given by

dy = f1 dx1 + f2 dx2

• The differential of that function is

d 2y = (f11dx1 + f12dx2)dx1 + (f21dx1 + f22dx2)dx2

d 2y = f11dx12 + f12dx2dx1 + f21dx1 dx2 + f22dx2

2

• By Young’s theorem, f12 = f21 and

d 2y = f11dx12 + 2f12dx2dx1 + f22dx2

2

Page 72: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of Two Variables

d 2y = f11dx12 + 2f12dx2dx1 + f22dx2

2

• For this equation to be unambiguously negative for any change in the x’s, f11 and f22 must be negative

• If dx2 = 0, then d 2y = f11 dx12

– For d 2y < 0, f11 < 0

• If dx1 = 0, then d 2y = f22 dx22

– For d 2y < 0, f22 < 0

Page 73: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Second Order Conditions - Functions of Two Variables

d 2y = f11dx12 + 2f12dx2dx1 + f22dx2

2

• If neither dx1 nor dx2 is zero, then d 2y will be

unambiguously negative only if

f11 f22 - f122 > 0

– The second partial derivatives (f11 and f22) must be

sufficiently large that they outweigh any possible perverse effects from the cross-partial derivatives (f12 =

f21)

Page 74: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization

• Suppose we want to choose x1 and x2 to maximize

y = f(x1, x2)

• subject to the linear constraint

c - b1x1 - b2x2 = 0

• We can set up the Lagrangian

L = f(x1, x2) - (c - b1x1 - b2x2)

Page 75: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization

• The first-order conditions are

f1 - b1 = 0

f2 - b2 = 0

c - b1x1 - b2x2 = 0

• To ensure we have a maximum, we must use the “second” total differential

d 2y = f11dx12 + 2f12dx2dx1 + f22dx2

2

Page 76: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Only the values of x1 and x2 that satisfy the

constraint can be considered valid alternatives to the critical point

• Thus, we must calculate the total differential of the constraint

-b1 dx1 - b2 dx2 = 0

dx2 = -(b1/b2)dx1

• These are the allowable relative changes in x1 and x2

Page 77: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Because the first-order conditions imply

that f1/f2 = b1/b2, we can substitute and get

dx2 = -(f1/f2) dx1

• Since

d 2y = f11dx12 + 2f12dx2dx1 + f22dx2

2

we can substitute for dx2 and get

d 2y = f11dx12 - 2f12(f1/f2)dx1 + f22(f1

2/f22)dx1

2

Page 78: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Combining terms and rearranging

d 2y = f11 f22

- 2f12f1f2 + f22f12 [dx1

2/ f22]

• Therefore, for d 2y < 0, it must be true thatf11 f2

2 - 2f12f1f2 + f22f1

2 < 0

• This equation characterizes a set of functions termed quasi-concave functions– Any two points within the set can be joined by

a line contained completely in the set

Page 79: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Recall the fence problem: Maximize A

= f(x,y) = xy subject to the constraint P - 2x - 2y = 0

• Setting up the Lagrangian [L = x·y + (P - 2x - 2y)] yields the following first-order conditions:

L/x = y - 2 = 0L/y = x - 2 = 0

L/ = P - 2x - 2y = 0

Page 80: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Solving for the optimal values of x, y,

and yields

x = y = P/4 and = P/8

• To examine the second-order conditions, we compute

f1 = fx = y f2 = fy = x

f11 = fxx = 0 f12 = fxy = 1

f22 = fyy = 0

Page 81: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Constrained Maximization• Substituting into

f11 f22

- 2f12f1f2 + f22f12

we get

0 ·x2 - 2 ·1 ·y ·x + 0 ·y2 = -2xy

• Since x and y are both positive in this problem, the second-order conditions are satisfied

Page 82: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Important Points to Note:• Using mathematics provides a convenient,

short-hand way for economists to develop their models

• Derivatives are often used in economics because economists are often interested in how marginal changes in one variable affect another– Partial derivatives incorporate the ceteris

paribus assumption used in most economic models

Page 83: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Important Points to Note:• The mathematics of optimization is an

important tool for the development of models that assume that economic agents rationally pursue some goal– The first-order condition for a maximum

requires that all partial derivatives equal zero

• Most economic optimization problems involve constraints on the choices that agents can make

Page 84: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Important Points to Note:• The Lagrangian multiplier is used to help

solve constrained maximization problems– The Lagrangian multiplier can be interpreted

as the implicit value (shadow price) of the constraint

• The implicit function theorem illustrates the dependence of the choices that result from an optimization problem on the parameters of that problem

Page 85: Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2002 by South-Western, a division of Thomson Learning. All rights reserved. MICROECONOMIC THEORY BASIC.

Important Points to Note:• The envelope theorem examines how

optimal choices will change as the problem’s parameters change

• First-order conditions are necessary but not sufficient for ensuring a maximum or minimum– Second-order conditions that describe the

curvature of the function must be checked