SlideShare a Scribd company logo
1 of 110
1
Chapter 2
THE MATHEMATICS OF
OPTIMIZATION
Copyright ©2005 by South-Western, a division of Thomson Learning. All rights reserved.
2
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
3
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*
4
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
0


q
5
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*
0


q
3
q3
6
Derivatives
• The derivative of  = f(q) is the limit of
/q for very small changes in q
h
qfhqf
dq
df
dq
d
h
)()(
lim 11
0




• The value of this ratio depends on the
value of q1
7
Value of a Derivative at a Point
• The evaluation of the derivative at the
point q = q1 can be denoted
1qq
dq
d


• In our previous example,
0
1


qq
dq
d
0
3


qq
dq
d
0

 *qq
dq
d
8
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
9
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  would
be minimized
10
Second Order Conditions
• This must mean that, in order for q* to
be the optimum,
*qq
dq
d


for0 and *qq
dq
d


for0
• Therefore, at q*, d/dq must be
decreasing
11
Second Derivatives
• The derivative of a derivative is called a
second derivative
• The second derivative can be denoted
by
)("oror 2
2
2
2
qf
dq
fd
dq
d 
12
Second Order Condition
• The second order condition to represent
a (local) maximum is
0)(" *
*
2
2




qq
qq
qf
dq
d
13
Rules for Finding Derivatives
0thenconstant,aisIf1. 
dx
db
b
)('
)]([
thenconstant,aisIf2. xbf
dx
xbfd
b 
1
thenconstant,isIf3. 
 b
b
bx
dx
dx
b
xdx
xd 1ln
4. 
14
Rules for Finding Derivatives
aaa
dx
da x
x
constantanyforln5. 
– a special case of this rule is dex/dx = ex
15
Rules for Finding Derivatives
)(')('
)]()([
6. xgxf
dx
xgxfd


)()(')(')(
)]()([
7. xgxfxgxf
dx
xgxfd


• Suppose that f(x) and g(x) are two
functions of x and f’(x) and g’(x) exist
• Then
16
Rules for Finding Derivatives
0)(thatprovided
)]([
)(')()()(')(
)(
8. 2









xg
xg
xgxfxgxf
dx
xg
xf
d
17
Rules for Finding Derivatives
dz
dg
dx
df
dz
dx
dx
dy
dz
dy
9.
• If y = f(x) and x = g(z) and if both f’(x)
and g’(x) exist, then:
• This is called the chain rule. The chain
rule allows us to study how one variable
(z) affects another variable (y) through
its influence on some intermediate
variable (x)
18
Rules for Finding Derivatives
axax
axax
aeae
dx
axd
axd
de
dx
de

)(
)(
10.
• Some examples of the chain rule
include
)ln()ln(
)(
)(
)][ln()][ln(
11. axaaax
dx
axd
axd
axd
dx
axd

x
x
xdx
xd
xd
xd
dx
xd 2
2
1)(
)(
)][ln()][ln(
12. 2
2
2
22

19
Example of Profit Maximization
• Suppose 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
20
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
21
• The partial derivative of y with respect
to x1 is denoted by
Partial Derivatives
1
11
1
ff
x
f
x
y
x ororor




• It is understood that in calculating the
partial derivative, all of the other x’s are
held constant
22
• A more formal definition of the partial
derivative is
Partial Derivatives
h
xxxfxxhxf
x
f nn
h
xx n
),...,,(),...,,(
lim
2121
0
,...,1 2





23
Calculating Partial Derivatives
212
2
211
1
2
221
2
121
2
2
cxbxf
x
f
bxaxf
x
f
cxxbxaxxxfy







and
then,),(If1.
2121
21
2
2
1
1
21
bxaxbxax
bxax
bef
x
f
aef
x
f
exxfy









and
thenIf2. ,),(
24
Calculating Partial Derivatives
2
2
21
1
1
2121
x
b
f
x
f
x
a
f
x
f
xbxaxxfy







and
thenIf3. ,lnln),(
25
Partial Derivatives
• Partial derivatives are the mathematical
expression of the ceteris paribus
assumption
– show how changes in one variable affect
some outcome when other influences are
held constant
26
Partial Derivatives
• We must be concerned with how
variables are measured
– if q represents the quantity of gasoline
demanded (measured in billions of gallons)
and p represents the price in dollars per
gallon, then q/p will measure the change
in demand (in billiions of gallons per year)
for a dollar per gallon change in price
27
Elasticity
• Elasticities measure the proportional
effect of a change in one variable on
another
– unit free
• The elasticity of y with respect to x is
y
x
x
y
y
x
x
y
x
x
y
y
e xy 








,
28
Elasticity and Functional Form
• Suppose that
y = a + bx + other terms
• In this case,





bxa
x
b
y
x
b
y
x
x
y
e xy,
• ey,x is not constant
– it is important to note the point at which the
elasticity is to be computed
29
Elasticity and Functional Form
• Suppose that
y = axb
• In this case,
b
ax
x
abx
y
x
x
y
e b
b
xy 


 1
,
30
Elasticity and Functional Form
• Suppose that
ln y = ln a + b ln x
• In this case,
x
y
b
y
x
x
y
e xy
ln
ln
,






• Elasticities can be calculated through
logarithmic differentiation
31
Second-Order Partial Derivatives
• The partial derivative of a partial
derivative is called a second-order
partial derivative
ij
ijj
i
f
xx
f
x
xf





 2
)/(
32
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 
33
Use of Second-Order Partials
• Second-order partials play an important
role in many economic theories
• One of the most important is a
variable’s own second-order partial, fii
– shows how the marginal influence of xi on
y(y/xi) changes as the value of xi
increases
– a value of fii < 0 indicates diminishing
marginal effectiveness
34
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
dx
x
f
dx
x
f
dx
x
f
dy








 ...2
2
1
1
nndxfdxfdxfdy  ...2211
35
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 if
0...21  nfff
• A point where this condition holds is
called a critical point
36
Finding a Maximum
• Suppose that y is a function of x1 and x2
y = - (x1 - 1)2 - (x2 - 2)2 + 10
y = - x1
2 + 2x1 - x2
2 + 4x2 + 5
• First-order conditions imply that
042
022
2
2
1
1






x
x
y
x
x
y
OR
2
1
2
1


*
*
x
x
37
Production Possibility Frontier
• Earlier example: 2x2 + y2 = 225
• Can be rewritten: f(x,y) = 2x2 + y2 - 225 = 0
• Because fx = 4x and fy = 2y, the opportunity
cost trade-off between x and y is
y
x
y
x
f
f
dx
dy
y
x 2
2
4 





38
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)
39
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
40
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 specific value, then y
becomes a function of x only and the value
of x that maximizes y can be calculated
41
The Envelope Theorem
Value of a Value of x* Value of y*
0 0 0
1 1/2 1/4
2 1 1
3 3/2 9/4
4 2 4
5 5/2 25/4
6 3 9
Optimal Values of x and y for alternative values of a
42
The Envelope Theorem
0
1
2
3
4
5
6
7
8
9
10
0 1 2 3 4 5 6 7
a
y*
As a increases,
the maximal value
for y (y*) increases
The relationship
between a and y
is quadratic
43
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
44
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
45
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
46
The Envelope Theorem
y/ a = x
• Holding x = x*
y/ a = x* = a/2
• This is the same result found earlier
47
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
)}(*{
*
axx
a
y
da
dy




48
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)
49
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)
.
.
.
50
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
51
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,
)}(*{
*
axx
a
f
da
dy




52
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
53
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
54
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
55
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
56
Lagrangian Multiplier Method
• The first-order conditions can generally
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
57
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
58
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
ofcostmarginal
ofbenefitmarginal

59
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
60
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
61
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
62
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 the cost of inputs to
produce a given level of output
– dual problem: firms maximize output for a
given cost of inputs purchased
63
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
64
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
65
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
66
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
– thus, the Lagrangian multiplier provides
information about the implicit value of the
constraint
67
Constrained Maximization
• Dual problem: choose x and y to minimize
the amount of fence required to surround
the field
minimize P = 2x + 2y subject to A = x·y
• Setting up the Lagrangian:
LD = 2x + 2y + D(A - xy)
68
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 get
x = y = A1/2
• The Lagrangian multiplier (D) = 2A-1/2
69
Envelope Theorem &
Constrained Maximization
• Suppose that we want to maximize
y = f(x1,…,xn;a)
subject to the constraint
g(x1,…,xn;a) = 0
• One way to solve would be to set up the
Lagrangian expression and solve the first-
order conditions
70
Envelope Theorem &
Constrained Maximization
• Alternatively, it can be shown that
dy*/da = L/a(x1*,…,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
71
Inequality Constraints
• In some economic problems the
constraints need not hold exactly
• For example, suppose we seek to
maximize y = f(x1,x2) subject to
g(x1,x2)  0,
x1  0, and
x2  0
72
Inequality Constraints
• One way to solve this problem is to
introduce three new variables (a, b, and
c) that convert the inequalities into
equalities
• To ensure that the inequalities continue
to hold, we will square these new
variables to ensure that their values are
positive
73
Inequality Constraints
g(x1,x2) - a2 = 0;
x1 - b2 = 0; and
x2 - c2 = 0
• Any solution that obeys these three
equality constraints will also obey the
inequality constraints
74
Inequality Constraints
• We can set up the Lagrangian
L = f(x1,x2) + 1[g(x1,x2) - a2] + 2[x1 - b2] +
3[x2 - c2]
• This will lead to eight first-order
conditions
75
Inequality Constraints
L/x1 = f1 + 1g1 + 2 = 0
L/x2 = f1 + 1g2 + 3 = 0
L/a = -2a1 = 0
L/b = -2b2 = 0
L/c = -2c3 = 0
L/1 = g(x1,x2) - a2 = 0
L/2 = x1 - b2 = 0
L/3 = x2 - c2 = 0
76
Inequality Constraints
• According to the third condition, either a
or 1 = 0
– if a = 0, the constraint g(x1,x2) holds exactly
– if 1 = 0, the availability of some slackness
of the constraint implies that its value to the
objective function is 0
• Similar complemetary slackness
relationships also hold for x1 and x2
77
Inequality Constraints
• These results are sometimes called
Kuhn-Tucker conditions
– they show that solutions to optimization
problems involving inequality constraints
will differ from similar problems involving
equality constraints in rather simple ways
– we cannot go wrong by working primarily
with constraints involving equalities
78
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
79
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
80
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
)(")("
])('[
dxxfdxdxxfdx
dx
dxxfd
yd 
81
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
82
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
83
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 = f11dx1
2 + f12dx2dx1 + f21dx1 dx2 + f22dx2
2
• By Young’s theorem, f12 = f21 and
d 2y = f11dx1
2 + 2f12dx1dx2 + f22dx2
2
84
Second Order Conditions -
Functions of Two Variables
d 2y = f11dx1
2 + 2f12dx1dx2 + 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 dx1
2
– for d 2y < 0, f11 < 0
• If dx1 = 0, then d 2y = f22 dx2
2
– for d 2y < 0, f22 < 0
85
Second Order Conditions -
Functions of Two Variables
d 2y = f11dx1
2 + 2f12dx1dx2 + f22dx2
2
• If neither dx1 nor dx2 is zero, then d 2y will
be unambiguously negative only if
f11 f22 - f12
2 > 0
– the second partial derivatives (f11 and f22) must
be sufficiently negative so that they outweigh
any possible perverse effects from the cross-
partial derivatives (f12 = f21)
86
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)
87
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 = f11dx1
2 + 2f12dx1dx2 + f22dx2
2
88
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
89
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 = f11dx1
2 + 2f12dx1dx2 + f22dx2
2
we can substitute for dx2 and get
d 2y = f11dx1
2 - 2f12(f1/f2)dx1
2 + f22(f1
2/f2
2)dx1
2
90
Constrained Maximization
• Combining terms and rearranging
d 2y = f11 f2
2 - 2f12f1f2 + f22f1
2 [dx1
2/ f2
2]
• Therefore, for d 2y < 0, it must be true
that
f11 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
91
Concave and Quasi-
Concave Functions
• The differences between concave and
quasi-concave functions can be
illustrated with the function
y = f(x1,x2) = (x1x2)k
where the x’s take on only positive
values and k can take on a variety of
positive values
92
Concave and Quasi-
Concave Functions
• No matter what value k takes, this
function is quasi-concave
• Whether or not the function is concave
depends on the value of k
– if k < 0.5, the function is concave
– if k > 0.5, the function is convex
93
Homogeneous Functions
• A function f(x1,x2,…xn) is said to be
homogeneous of degree k if
f(tx1,tx2,…txn) = tk f(x1,x2,…xn)
– when a function is homogeneous of degree
one, a doubling of all of its arguments
doubles the value of the function itself
– when a function is homogeneous of degree
zero, a doubling of all of its arguments
leaves the value of the function unchanged
94
Homogeneous Functions
• If a function is homogeneous of degree
k, the partial derivatives of the function
will be homogeneous of degree k-1
95
Euler’s Theorem
• If we differentiate the definition for
homogeneity with respect to the
proportionality factor t, we get
ktk-1f(x1,…,xn) = x1f1(tx1,…,txn) + … + xnfn(x1,…,xn)
• This relationship is called Euler’s theorem
96
Euler’s Theorem
• Euler’s theorem shows that, for
homogeneous functions, there is a
definite relationship between the
values of the function and the values of
its partial derivatives
97
Homothetic Functions
• A homothetic function is one that is
formed by taking a monotonic
transformation of a homogeneous
function
– they do not possess the homogeneity
properties of their underlying functions
98
Homothetic Functions
• For both homogeneous and homothetic
functions, the implicit trade-offs among
the variables in the function depend
only on the ratios of those variables, not
on their absolute values
99
Homothetic Functions
• Suppose we are examining the simple,
two variable implicit function f(x,y) = 0
• The implicit trade-off between x and y
for a two-variable function is
dy/dx = -fx/fy
• If we assume f is homogeneous of
degree k, its partial derivatives will be
homogeneous of degree k-1
100
Homothetic Functions
• The implicit trade-off between x and y is
),(
),(
),(
),(
1
1
tytxf
tytxf
tytxft
tytxft
dx
dy
y
x
y
k
x
k
 

• If t = 1/y,


























1,
1,
1,'
1,'
y
x
f
y
x
f
y
x
fF
y
x
fF
dx
dy
y
x
y
x
101
Homothetic Functions
• The trade-off is unaffected by the
monotonic transformation and remains
a function only of the ratio x to y
102
Important Points to Note:
• Using mathematics provides a
convenient, short-hand way for
economists to develop their models
– implications of various economic
assumptions can be studied in a
simplified setting through the use of such
mathematical tools
103
Important Points to Note:
• Derivatives are often used in economics
because economists are interested in
how marginal changes in one variable
affect another
– partial derivatives incorporate the ceteris
paribus assumption used in most economic
models
104
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
105
Important Points to Note:
• Most economic optimization
problems involve constraints on the
choices that agents can make
– the first-order conditions for a
maximum suggest that each activity be
operated at a level at which the ratio of
the marginal benefit of the activity to its
marginal cost
106
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
107
Important Points to Note:
• The implicit function theorem illustrates
the dependence of the choices that
result from an optimization problem on
the parameters of that problem
108
Important Points to Note:
• The envelope theorem examines
how optimal choices will change as
the problem’s parameters change
• Some optimization problems may
involve constraints that are
inequalities rather than equalities
109
Important Points to Note:
• 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
110
Important Points to Note:
• Certain types of functions occur in
many economic problems
– quasi-concave functions obey the
second-order conditions of constrained
maximum or minimum problems when
the constraints are linear
– homothetic functions have the property
that implicit trade-offs among the
variables depend only on the ratios of
these variables

More Related Content

What's hot

05 price elasticity of demand and supply
05 price elasticity of demand and supply05 price elasticity of demand and supply
05 price elasticity of demand and supply
NepDevWiki
 
Income and Sustitution Effects
Income and Sustitution EffectsIncome and Sustitution Effects
Income and Sustitution Effects
night seem
 
Varian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution bookVarian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution book
José Antonio PAYANO YALE
 
1 marshall hicks-slutsky
1 marshall hicks-slutsky1 marshall hicks-slutsky
1 marshall hicks-slutsky
Anbul Tariq
 
Production function
Production  functionProduction  function
Production function
Tinku Kumar
 
Micro ppt of hicks n slutsky
Micro ppt of hicks n slutskyMicro ppt of hicks n slutsky
Micro ppt of hicks n slutsky
Manishmatkar
 
Modulo 10 Maximizacion de beneficios
Modulo 10 Maximizacion de beneficiosModulo 10 Maximizacion de beneficios
Modulo 10 Maximizacion de beneficios
Horacio Santander
 

What's hot (20)

05 price elasticity of demand and supply
05 price elasticity of demand and supply05 price elasticity of demand and supply
05 price elasticity of demand and supply
 
Income and Sustitution Effects
Income and Sustitution EffectsIncome and Sustitution Effects
Income and Sustitution Effects
 
Ch05
Ch05Ch05
Ch05
 
Linear expenditure system
Linear expenditure systemLinear expenditure system
Linear expenditure system
 
INDIRECT UTILITY FUNCTION AND ROY’S IDENTITIY by Maryam Lone
INDIRECT UTILITY FUNCTION AND ROY’S IDENTITIY by Maryam LoneINDIRECT UTILITY FUNCTION AND ROY’S IDENTITIY by Maryam Lone
INDIRECT UTILITY FUNCTION AND ROY’S IDENTITIY by Maryam Lone
 
Varian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution bookVarian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution book
 
Measuring Economic Growth and GDP
Measuring Economic Growth and GDPMeasuring Economic Growth and GDP
Measuring Economic Growth and GDP
 
MACROECONOMICS-CH9
MACROECONOMICS-CH9MACROECONOMICS-CH9
MACROECONOMICS-CH9
 
1 marshall hicks-slutsky
1 marshall hicks-slutsky1 marshall hicks-slutsky
1 marshall hicks-slutsky
 
Revealed Preference Theory
Revealed Preference TheoryRevealed Preference Theory
Revealed Preference Theory
 
Economics positive and normative sciences
Economics positive and normative sciencesEconomics positive and normative sciences
Economics positive and normative sciences
 
Production function
Production  functionProduction  function
Production function
 
Micro ppt of hicks n slutsky
Micro ppt of hicks n slutskyMicro ppt of hicks n slutsky
Micro ppt of hicks n slutsky
 
Elasticity of substitution
Elasticity of substitutionElasticity of substitution
Elasticity of substitution
 
7 utility
7 utility7 utility
7 utility
 
Introduction to Decision Making Theory
Introduction to Decision Making TheoryIntroduction to Decision Making Theory
Introduction to Decision Making Theory
 
CES UTILITY FUNCTION.ppt
CES UTILITY FUNCTION.pptCES UTILITY FUNCTION.ppt
CES UTILITY FUNCTION.ppt
 
Marginal-analysis.pptx
Marginal-analysis.pptxMarginal-analysis.pptx
Marginal-analysis.pptx
 
Pareto optimality 2
Pareto optimality 2 Pareto optimality 2
Pareto optimality 2
 
Modulo 10 Maximizacion de beneficios
Modulo 10 Maximizacion de beneficiosModulo 10 Maximizacion de beneficios
Modulo 10 Maximizacion de beneficios
 

Similar to Ch02

Lesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functionsLesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functions
Rnold Wilson
 
Quadratic Function Presentation
Quadratic Function PresentationQuadratic Function Presentation
Quadratic Function Presentation
RyanWatt
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
Krishna Gali
 

Similar to Ch02 (20)

DIFFERENTIATION Integration and limits (1).pptx
DIFFERENTIATION Integration and limits (1).pptxDIFFERENTIATION Integration and limits (1).pptx
DIFFERENTIATION Integration and limits (1).pptx
 
Topic5
Topic5Topic5
Topic5
 
Website designing company in delhi ncr
Website designing company in delhi ncrWebsite designing company in delhi ncr
Website designing company in delhi ncr
 
Website designing company in delhi ncr
Website designing company in delhi ncrWebsite designing company in delhi ncr
Website designing company in delhi ncr
 
Quadratic functions
Quadratic functionsQuadratic functions
Quadratic functions
 
Differential calculus
Differential calculusDifferential calculus
Differential calculus
 
Lesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functionsLesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functions
 
Application of derivatives 2 maxima and minima
Application of derivatives 2  maxima and minimaApplication of derivatives 2  maxima and minima
Application of derivatives 2 maxima and minima
 
ALGEBRA (3).pptx
ALGEBRA (3).pptxALGEBRA (3).pptx
ALGEBRA (3).pptx
 
Singlevaropt
SinglevaroptSinglevaropt
Singlevaropt
 
Quadratic Function Presentation
Quadratic Function PresentationQuadratic Function Presentation
Quadratic Function Presentation
 
Fractional programming (A tool for optimization)
Fractional programming (A tool for optimization)Fractional programming (A tool for optimization)
Fractional programming (A tool for optimization)
 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
 
exponen dan logaritma
exponen dan logaritmaexponen dan logaritma
exponen dan logaritma
 
Derivatives
DerivativesDerivatives
Derivatives
 
Constrained Maximization
Constrained MaximizationConstrained Maximization
Constrained Maximization
 
267 handout 2_partial_derivatives_v2.60
267 handout 2_partial_derivatives_v2.60267 handout 2_partial_derivatives_v2.60
267 handout 2_partial_derivatives_v2.60
 
Introduction to differentiation
Introduction to differentiationIntroduction to differentiation
Introduction to differentiation
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
 
Differentiation
DifferentiationDifferentiation
Differentiation
 

More from waiwai28 (16)

Ch20
Ch20Ch20
Ch20
 
Ch19
Ch19Ch19
Ch19
 
Ch18
Ch18Ch18
Ch18
 
Ch17
Ch17Ch17
Ch17
 
Ch16
Ch16Ch16
Ch16
 
Ch15
Ch15Ch15
Ch15
 
Ch14
Ch14Ch14
Ch14
 
Ch13
Ch13Ch13
Ch13
 
Ch12
Ch12Ch12
Ch12
 
Ch11
Ch11Ch11
Ch11
 
Ch10
Ch10Ch10
Ch10
 
Ch09
Ch09Ch09
Ch09
 
Ch08
Ch08Ch08
Ch08
 
Ch06
Ch06Ch06
Ch06
 
Ch07
Ch07Ch07
Ch07
 
Ch04
Ch04Ch04
Ch04
 

Recently uploaded

TriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentationTriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentation
Adnet Communications
 
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Klinik kandungan
 
APPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFH
APPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFHAPPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFH
APPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFH
geloencina777
 

Recently uploaded (20)

Significant AI Trends for the Financial Industry in 2024 and How to Utilize Them
Significant AI Trends for the Financial Industry in 2024 and How to Utilize ThemSignificant AI Trends for the Financial Industry in 2024 and How to Utilize Them
Significant AI Trends for the Financial Industry in 2024 and How to Utilize Them
 
asli amil baba bengali black magic kala jadu expert in uk usa canada france c...
asli amil baba bengali black magic kala jadu expert in uk usa canada france c...asli amil baba bengali black magic kala jadu expert in uk usa canada france c...
asli amil baba bengali black magic kala jadu expert in uk usa canada france c...
 
Strategic Resources May 2024 Corporate Presentation
Strategic Resources May 2024 Corporate PresentationStrategic Resources May 2024 Corporate Presentation
Strategic Resources May 2024 Corporate Presentation
 
Benefits & Risk Of Stock Loans
Benefits & Risk Of Stock LoansBenefits & Risk Of Stock Loans
Benefits & Risk Of Stock Loans
 
uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...
uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...
uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...
 
Collecting banker, Capacity of collecting Banker, conditions under section 13...
Collecting banker, Capacity of collecting Banker, conditions under section 13...Collecting banker, Capacity of collecting Banker, conditions under section 13...
Collecting banker, Capacity of collecting Banker, conditions under section 13...
 
劳伦森大学毕业证
劳伦森大学毕业证劳伦森大学毕业证
劳伦森大学毕业证
 
Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...
Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...
Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...
 
amil baba in australia amil baba in canada amil baba in london amil baba in g...
amil baba in australia amil baba in canada amil baba in london amil baba in g...amil baba in australia amil baba in canada amil baba in london amil baba in g...
amil baba in australia amil baba in canada amil baba in london amil baba in g...
 
TriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentationTriStar Gold- 05-13-2024 corporate presentation
TriStar Gold- 05-13-2024 corporate presentation
 
The Pfandbrief Roundtable 2024 - Covered Bonds
The Pfandbrief Roundtable 2024 - Covered BondsThe Pfandbrief Roundtable 2024 - Covered Bonds
The Pfandbrief Roundtable 2024 - Covered Bonds
 
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
 
Black magic specialist in Canada (Kala ilam specialist in UK) Bangali Amil ba...
Black magic specialist in Canada (Kala ilam specialist in UK) Bangali Amil ba...Black magic specialist in Canada (Kala ilam specialist in UK) Bangali Amil ba...
Black magic specialist in Canada (Kala ilam specialist in UK) Bangali Amil ba...
 
Current scenario of Energy Retail utilities market in UK
Current scenario of Energy Retail utilities market in UKCurrent scenario of Energy Retail utilities market in UK
Current scenario of Energy Retail utilities market in UK
 
20240514-Calibre-Q1-2024-Conference-Call-Presentation.pdf
20240514-Calibre-Q1-2024-Conference-Call-Presentation.pdf20240514-Calibre-Q1-2024-Conference-Call-Presentation.pdf
20240514-Calibre-Q1-2024-Conference-Call-Presentation.pdf
 
cost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptxcost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptx
 
Test bank for advanced assessment interpreting findings and formulating diffe...
Test bank for advanced assessment interpreting findings and formulating diffe...Test bank for advanced assessment interpreting findings and formulating diffe...
Test bank for advanced assessment interpreting findings and formulating diffe...
 
APPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFH
APPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFHAPPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFH
APPLIED ECONOMICS Sept 9FGHFGHFHGFGHFHGFHGFH
 
No 1 Top Love marriage specialist baba ji amil baba kala ilam powerful vashik...
No 1 Top Love marriage specialist baba ji amil baba kala ilam powerful vashik...No 1 Top Love marriage specialist baba ji amil baba kala ilam powerful vashik...
No 1 Top Love marriage specialist baba ji amil baba kala ilam powerful vashik...
 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdf
 

Ch02

  • 1. 1 Chapter 2 THE MATHEMATICS OF OPTIMIZATION Copyright ©2005 by South-Western, a division of Thomson Learning. All rights reserved.
  • 2. 2 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
  • 3. 3 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*
  • 4. 4 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 0   q
  • 5. 5 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* 0   q 3 q3
  • 6. 6 Derivatives • The derivative of  = f(q) is the limit of /q for very small changes in q h qfhqf dq df dq d h )()( lim 11 0     • The value of this ratio depends on the value of q1
  • 7. 7 Value of a Derivative at a Point • The evaluation of the derivative at the point q = q1 can be denoted 1qq dq d   • In our previous example, 0 1   qq dq d 0 3   qq dq d 0   *qq dq d
  • 8. 8 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
  • 9. 9 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  would be minimized
  • 10. 10 Second Order Conditions • This must mean that, in order for q* to be the optimum, *qq dq d   for0 and *qq dq d   for0 • Therefore, at q*, d/dq must be decreasing
  • 11. 11 Second Derivatives • The derivative of a derivative is called a second derivative • The second derivative can be denoted by )("oror 2 2 2 2 qf dq fd dq d 
  • 12. 12 Second Order Condition • The second order condition to represent a (local) maximum is 0)(" * * 2 2     qq qq qf dq d
  • 13. 13 Rules for Finding Derivatives 0thenconstant,aisIf1.  dx db b )(' )]([ thenconstant,aisIf2. xbf dx xbfd b  1 thenconstant,isIf3.   b b bx dx dx b xdx xd 1ln 4. 
  • 14. 14 Rules for Finding Derivatives aaa dx da x x constantanyforln5.  – a special case of this rule is dex/dx = ex
  • 15. 15 Rules for Finding Derivatives )(')(' )]()([ 6. xgxf dx xgxfd   )()(')(')( )]()([ 7. xgxfxgxf dx xgxfd   • Suppose that f(x) and g(x) are two functions of x and f’(x) and g’(x) exist • Then
  • 16. 16 Rules for Finding Derivatives 0)(thatprovided )]([ )(')()()(')( )( 8. 2          xg xg xgxfxgxf dx xg xf d
  • 17. 17 Rules for Finding Derivatives dz dg dx df dz dx dx dy dz dy 9. • If y = f(x) and x = g(z) and if both f’(x) and g’(x) exist, then: • This is called the chain rule. The chain rule allows us to study how one variable (z) affects another variable (y) through its influence on some intermediate variable (x)
  • 18. 18 Rules for Finding Derivatives axax axax aeae dx axd axd de dx de  )( )( 10. • Some examples of the chain rule include )ln()ln( )( )( )][ln()][ln( 11. axaaax dx axd axd axd dx axd  x x xdx xd xd xd dx xd 2 2 1)( )( )][ln()][ln( 12. 2 2 2 22 
  • 19. 19 Example of Profit Maximization • Suppose 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
  • 20. 20 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
  • 21. 21 • The partial derivative of y with respect to x1 is denoted by Partial Derivatives 1 11 1 ff x f x y x ororor     • It is understood that in calculating the partial derivative, all of the other x’s are held constant
  • 22. 22 • A more formal definition of the partial derivative is Partial Derivatives h xxxfxxhxf x f nn h xx n ),...,,(),...,,( lim 2121 0 ,...,1 2     
  • 25. 25 Partial Derivatives • Partial derivatives are the mathematical expression of the ceteris paribus assumption – show how changes in one variable affect some outcome when other influences are held constant
  • 26. 26 Partial Derivatives • We must be concerned with how variables are measured – if q represents the quantity of gasoline demanded (measured in billions of gallons) and p represents the price in dollars per gallon, then q/p will measure the change in demand (in billiions of gallons per year) for a dollar per gallon change in price
  • 27. 27 Elasticity • Elasticities measure the proportional effect of a change in one variable on another – unit free • The elasticity of y with respect to x is y x x y y x x y x x y y e xy          ,
  • 28. 28 Elasticity and Functional Form • Suppose that y = a + bx + other terms • In this case,      bxa x b y x b y x x y e xy, • ey,x is not constant – it is important to note the point at which the elasticity is to be computed
  • 29. 29 Elasticity and Functional Form • Suppose that y = axb • In this case, b ax x abx y x x y e b b xy     1 ,
  • 30. 30 Elasticity and Functional Form • Suppose that ln y = ln a + b ln x • In this case, x y b y x x y e xy ln ln ,       • Elasticities can be calculated through logarithmic differentiation
  • 31. 31 Second-Order Partial Derivatives • The partial derivative of a partial derivative is called a second-order partial derivative ij ijj i f xx f x xf       2 )/(
  • 32. 32 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 
  • 33. 33 Use of Second-Order Partials • Second-order partials play an important role in many economic theories • One of the most important is a variable’s own second-order partial, fii – shows how the marginal influence of xi on y(y/xi) changes as the value of xi increases – a value of fii < 0 indicates diminishing marginal effectiveness
  • 34. 34 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 dx x f dx x f dx x f dy          ...2 2 1 1 nndxfdxfdxfdy  ...2211
  • 35. 35 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 if 0...21  nfff • A point where this condition holds is called a critical point
  • 36. 36 Finding a Maximum • Suppose that y is a function of x1 and x2 y = - (x1 - 1)2 - (x2 - 2)2 + 10 y = - x1 2 + 2x1 - x2 2 + 4x2 + 5 • First-order conditions imply that 042 022 2 2 1 1       x x y x x y OR 2 1 2 1   * * x x
  • 37. 37 Production Possibility Frontier • Earlier example: 2x2 + y2 = 225 • Can be rewritten: f(x,y) = 2x2 + y2 - 225 = 0 • Because fx = 4x and fy = 2y, the opportunity cost trade-off between x and y is y x y x f f dx dy y x 2 2 4      
  • 38. 38 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)
  • 39. 39 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
  • 40. 40 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 specific value, then y becomes a function of x only and the value of x that maximizes y can be calculated
  • 41. 41 The Envelope Theorem Value of a Value of x* Value of y* 0 0 0 1 1/2 1/4 2 1 1 3 3/2 9/4 4 2 4 5 5/2 25/4 6 3 9 Optimal Values of x and y for alternative values of a
  • 42. 42 The Envelope Theorem 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 a y* As a increases, the maximal value for y (y*) increases The relationship between a and y is quadratic
  • 43. 43 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
  • 44. 44 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
  • 45. 45 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
  • 46. 46 The Envelope Theorem y/ a = x • Holding x = x* y/ a = x* = a/2 • This is the same result found earlier
  • 47. 47 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 )}(*{ * axx a y da dy    
  • 48. 48 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)
  • 49. 49 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) . . .
  • 50. 50 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
  • 51. 51 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, )}(*{ * axx a f da dy    
  • 52. 52 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
  • 53. 53 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
  • 54. 54 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
  • 55. 55 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
  • 56. 56 Lagrangian Multiplier Method • The first-order conditions can generally 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
  • 57. 57 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
  • 58. 58 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 ofcostmarginal ofbenefitmarginal 
  • 59. 59 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
  • 60. 60 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
  • 61. 61 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
  • 62. 62 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 the cost of inputs to produce a given level of output – dual problem: firms maximize output for a given cost of inputs purchased
  • 63. 63 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
  • 64. 64 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
  • 65. 65 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
  • 66. 66 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 – thus, the Lagrangian multiplier provides information about the implicit value of the constraint
  • 67. 67 Constrained Maximization • Dual problem: choose x and y to minimize the amount of fence required to surround the field minimize P = 2x + 2y subject to A = x·y • Setting up the Lagrangian: LD = 2x + 2y + D(A - xy)
  • 68. 68 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 get x = y = A1/2 • The Lagrangian multiplier (D) = 2A-1/2
  • 69. 69 Envelope Theorem & Constrained Maximization • Suppose that we want to maximize y = f(x1,…,xn;a) subject to the constraint g(x1,…,xn;a) = 0 • One way to solve would be to set up the Lagrangian expression and solve the first- order conditions
  • 70. 70 Envelope Theorem & Constrained Maximization • Alternatively, it can be shown that dy*/da = L/a(x1*,…,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
  • 71. 71 Inequality Constraints • In some economic problems the constraints need not hold exactly • For example, suppose we seek to maximize y = f(x1,x2) subject to g(x1,x2)  0, x1  0, and x2  0
  • 72. 72 Inequality Constraints • One way to solve this problem is to introduce three new variables (a, b, and c) that convert the inequalities into equalities • To ensure that the inequalities continue to hold, we will square these new variables to ensure that their values are positive
  • 73. 73 Inequality Constraints g(x1,x2) - a2 = 0; x1 - b2 = 0; and x2 - c2 = 0 • Any solution that obeys these three equality constraints will also obey the inequality constraints
  • 74. 74 Inequality Constraints • We can set up the Lagrangian L = f(x1,x2) + 1[g(x1,x2) - a2] + 2[x1 - b2] + 3[x2 - c2] • This will lead to eight first-order conditions
  • 75. 75 Inequality Constraints L/x1 = f1 + 1g1 + 2 = 0 L/x2 = f1 + 1g2 + 3 = 0 L/a = -2a1 = 0 L/b = -2b2 = 0 L/c = -2c3 = 0 L/1 = g(x1,x2) - a2 = 0 L/2 = x1 - b2 = 0 L/3 = x2 - c2 = 0
  • 76. 76 Inequality Constraints • According to the third condition, either a or 1 = 0 – if a = 0, the constraint g(x1,x2) holds exactly – if 1 = 0, the availability of some slackness of the constraint implies that its value to the objective function is 0 • Similar complemetary slackness relationships also hold for x1 and x2
  • 77. 77 Inequality Constraints • These results are sometimes called Kuhn-Tucker conditions – they show that solutions to optimization problems involving inequality constraints will differ from similar problems involving equality constraints in rather simple ways – we cannot go wrong by working primarily with constraints involving equalities
  • 78. 78 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
  • 79. 79 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
  • 80. 80 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 )(")(" ])('[ dxxfdxdxxfdx dx dxxfd yd 
  • 81. 81 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
  • 82. 82 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
  • 83. 83 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 = f11dx1 2 + f12dx2dx1 + f21dx1 dx2 + f22dx2 2 • By Young’s theorem, f12 = f21 and d 2y = f11dx1 2 + 2f12dx1dx2 + f22dx2 2
  • 84. 84 Second Order Conditions - Functions of Two Variables d 2y = f11dx1 2 + 2f12dx1dx2 + 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 dx1 2 – for d 2y < 0, f11 < 0 • If dx1 = 0, then d 2y = f22 dx2 2 – for d 2y < 0, f22 < 0
  • 85. 85 Second Order Conditions - Functions of Two Variables d 2y = f11dx1 2 + 2f12dx1dx2 + f22dx2 2 • If neither dx1 nor dx2 is zero, then d 2y will be unambiguously negative only if f11 f22 - f12 2 > 0 – the second partial derivatives (f11 and f22) must be sufficiently negative so that they outweigh any possible perverse effects from the cross- partial derivatives (f12 = f21)
  • 86. 86 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)
  • 87. 87 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 = f11dx1 2 + 2f12dx1dx2 + f22dx2 2
  • 88. 88 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
  • 89. 89 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 = f11dx1 2 + 2f12dx1dx2 + f22dx2 2 we can substitute for dx2 and get d 2y = f11dx1 2 - 2f12(f1/f2)dx1 2 + f22(f1 2/f2 2)dx1 2
  • 90. 90 Constrained Maximization • Combining terms and rearranging d 2y = f11 f2 2 - 2f12f1f2 + f22f1 2 [dx1 2/ f2 2] • Therefore, for d 2y < 0, it must be true that f11 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
  • 91. 91 Concave and Quasi- Concave Functions • The differences between concave and quasi-concave functions can be illustrated with the function y = f(x1,x2) = (x1x2)k where the x’s take on only positive values and k can take on a variety of positive values
  • 92. 92 Concave and Quasi- Concave Functions • No matter what value k takes, this function is quasi-concave • Whether or not the function is concave depends on the value of k – if k < 0.5, the function is concave – if k > 0.5, the function is convex
  • 93. 93 Homogeneous Functions • A function f(x1,x2,…xn) is said to be homogeneous of degree k if f(tx1,tx2,…txn) = tk f(x1,x2,…xn) – when a function is homogeneous of degree one, a doubling of all of its arguments doubles the value of the function itself – when a function is homogeneous of degree zero, a doubling of all of its arguments leaves the value of the function unchanged
  • 94. 94 Homogeneous Functions • If a function is homogeneous of degree k, the partial derivatives of the function will be homogeneous of degree k-1
  • 95. 95 Euler’s Theorem • If we differentiate the definition for homogeneity with respect to the proportionality factor t, we get ktk-1f(x1,…,xn) = x1f1(tx1,…,txn) + … + xnfn(x1,…,xn) • This relationship is called Euler’s theorem
  • 96. 96 Euler’s Theorem • Euler’s theorem shows that, for homogeneous functions, there is a definite relationship between the values of the function and the values of its partial derivatives
  • 97. 97 Homothetic Functions • A homothetic function is one that is formed by taking a monotonic transformation of a homogeneous function – they do not possess the homogeneity properties of their underlying functions
  • 98. 98 Homothetic Functions • For both homogeneous and homothetic functions, the implicit trade-offs among the variables in the function depend only on the ratios of those variables, not on their absolute values
  • 99. 99 Homothetic Functions • Suppose we are examining the simple, two variable implicit function f(x,y) = 0 • The implicit trade-off between x and y for a two-variable function is dy/dx = -fx/fy • If we assume f is homogeneous of degree k, its partial derivatives will be homogeneous of degree k-1
  • 100. 100 Homothetic Functions • The implicit trade-off between x and y is ),( ),( ),( ),( 1 1 tytxf tytxf tytxft tytxft dx dy y x y k x k    • If t = 1/y,                           1, 1, 1,' 1,' y x f y x f y x fF y x fF dx dy y x y x
  • 101. 101 Homothetic Functions • The trade-off is unaffected by the monotonic transformation and remains a function only of the ratio x to y
  • 102. 102 Important Points to Note: • Using mathematics provides a convenient, short-hand way for economists to develop their models – implications of various economic assumptions can be studied in a simplified setting through the use of such mathematical tools
  • 103. 103 Important Points to Note: • Derivatives are often used in economics because economists are interested in how marginal changes in one variable affect another – partial derivatives incorporate the ceteris paribus assumption used in most economic models
  • 104. 104 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
  • 105. 105 Important Points to Note: • Most economic optimization problems involve constraints on the choices that agents can make – the first-order conditions for a maximum suggest that each activity be operated at a level at which the ratio of the marginal benefit of the activity to its marginal cost
  • 106. 106 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
  • 107. 107 Important Points to Note: • The implicit function theorem illustrates the dependence of the choices that result from an optimization problem on the parameters of that problem
  • 108. 108 Important Points to Note: • The envelope theorem examines how optimal choices will change as the problem’s parameters change • Some optimization problems may involve constraints that are inequalities rather than equalities
  • 109. 109 Important Points to Note: • 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
  • 110. 110 Important Points to Note: • Certain types of functions occur in many economic problems – quasi-concave functions obey the second-order conditions of constrained maximum or minimum problems when the constraints are linear – homothetic functions have the property that implicit trade-offs among the variables depend only on the ratios of these variables