Unit-9 (1)
Unit-9 (1)
Structure
9.0 Objectives
9.1 Introduction
9.2 Finding the Stationary Values
9.2.1 The Method of Substitution
9.2.2 The Lagrange Multiplier Method
9.3 Second Order Conditions
9.4 Economic Applications
9.4.1 Consumer Equilibrium
9.5 Let Us Sum Up
9.6 Answers/Hints to Check Your Progress Exercises
9.0 OBJECTIVES
After reading the Unit you should be able to:
9.1 INTRODUCTION
In the previous unit, you studied the topic of optimisation. This finds
numerous applications in economics. You were made familiar with the case
where the dependent variable is a function of several independent variables.
However, the optimisation was unconstrained. In economic applications,
unconstrained optimisation is a relatively rare case. More often, we find
instances of constrained optimisation, that is optimisation subject to a
constraint. What this means is that there is a side condition on the
optimisation exercise. The domain of the function that is sought to be
optimised is restricted by one or more side relations. Consider the case of
utility maximization by a consumer. An individual as consumer has unlimited
wants. But she is constrained by her budget set. So she maximizes her utility
subject to her budget constraint. Similarly a producer would want to
minimize her cost subject to a given level of output.
167
Multivariate
This unit is concerned with an exposition of constrained optimisation. The
Optimisation
unit begins with a discussion of how to find stationary values of the objective
function. It is shown that in simple cases we can use the method of
substitution. But in more complex cases, different methods have to be
employed. We will see the importance of the Lagrangian multiplier and how
it is used in static constrained optimization. After this the unit discusses
second-order conditions for constrained optimization. After discussing these
conditions, the unit will go on to discuss some economic applications.
Consider a simple example. Find the smallest circle centred on (0,0) which
has a point common with the straight line x+y = 10.
The equation for the circle is x2+y2 = r2. The smallest circle will be one with
the smallest radius. The restriction is that the circle must have a point in
common with a given straight line. Without this restriction, the smallest
circle can easily be seen to be a circle with radius zero, i.e. a point.
Here the unconstrained solution x=0, y=0 will not be available. The
constraint prohibits this solution. What we have to do is to consider as the
domain only those values of x and y for which x + y = 10. So we see that the
constraint has diminished the domain. How to find the solution? From the
constraint we find =y 10 − x . Now if we substitute this into the minimand x2
+ y2 we get x 2 + (10 − x ) , which incorporates the constraint. Let us now
2
d2 2
x + (10 − x) 2
dx 2
168
d Constrained
= (4 x − 20) Optimisation with
dx Equality
Constraints
= 4>0
Let us check on the method used for the problem above, and see whether we
can formulate a general method for all such problems. We have a function,
in general f ( x, y ) which we shall call the objective function. This is to be
maximised or minimised (as specified), subject to the constraint equation
which has the general form g ( x, y ) = 0 . (The actual constraint above should
be written as x + y − 10 =0 to conform to the general form).
Step 2 : Substitute this solution in the objective function to ensure that the
domain of the function is a set of pairs of values of x and y which
satisfy the constraint. Note that the objective function thus
modified is a function of x only.
Step 3 : Differentiate this modified function to get the first derivative.
Find the value of x for which this derivative equals zero.
Step 4 : Put this value of x in the constraint to find the value of y.
Step 5 : Calculate the value of the objective function for this pair of
values of x and y.
Step 6 : Check the second order condition to find whether the stationary
point is an extremum.
When the mathematician finds the solution it will be of the form y = h(x).
Let us proceed to the next step. In step(2) the objective function f(x,y) is
transformed into f(x,h(x)). Step(3) requires to differentiate this function and
dh( x) dh( x)
what we shall get is fx + fy . If we know then we set the
dx dx
expression equal to zero and solve for x, completing step (3). The rest of the
steps present no problem.
169
Multivariate
Note that the exact form of the function h(x) is not necessary in the solution
Optimisation
of our problem. What we need is the derivative of this problem in order to
follow our method of steps (1) to (6). But how could we find the derivative
of a function without knowing the function itself?
Strangely enough there is a theorem which tells us how and the conditions
when this is possible. It is the implicit function theorem.
We shall not prove this theorem here, but let us translate the theorem into
informal language. Let us go back to our problem of finding y in terms of x
from our constraint equation whose general form is g(x,y) = 0. Thus our
problem is to maximize (or minimize) F(x,y), Fy≠0 subject to g(x,y)=0. The
theorem says that if
170
Constrained
By the implicit function theorem whenever gy≠0, we can express y as a Optimisation with
function of x, namely y=h(x) (even though we do not know the exact form). Equality
Constraints
Substituting into f(x,y) we get
dz g
=2x +2h(x)(h’(x))=2x+2y(h’(x))=2x+2y(- t )
dx gy
2x − 4
=2x + 2y (− ) =-x + 2y
2y − 2
We now discuss a method which uses a round-about mode and derives the
answer by initially complicating the problem further by introducing another
variable. This is known as the Lagrange multiplier method.
gx + gyh’(x) =0 ……..(ii)
fy
Now define λ = . Multiplying (ii) by λ , we get
gy
171
Multivariate λg x + f y h' ( x) = 0 …….(iii)
Optimisation
We started this exercise with the assumption gy (x, y) ≠ 0. You should work
out the consequences of this proceeding in the same way as above, except
f
that now one should define λ = x . The result is that we land with the same
gx
set of equation as (1), (2) and (3) above. In a problem a large number of
variables, say x1, x2, ……………,x17, as long as one partial derivative of
constraint function with respect to some variable is non-zero we shall get the
same set of equations which are symmetrical with respect to all variables.
Example
Minimise f(x,y) = (x-1)2 + y2 subject to g (x,y) = y2-4x = 0.
Define a new function L(x,y, λ )=f(x,y) - λ g(x,y)
= (x-1)2 + y2- λ (y2-4x)
Note carefully that we have not suggested that the stationary values of L (x,
y, λ ) is either a maximum or minimum. Indeed where a constrained
extremum can be found, the associated lagrangean function does not have
either a maximum or minimum point. For the function L (x, y, λ ) the
172 stationary point is saddle-point, a minimum in one direction and a maximum
Constrained
from another direction. A saddle point is a higher dimensional analogue of an Optimisation with
inflection point. Equality
Constraints
Also note that function L has been artfully devised so that its first order
conditions coincide with the conditions necessary for the solutions of the
constrained extremum. It offers the desirable characteristic of symmetry with
respect to all variables .
fx gx
We see that the stationary value, = . This really means for x, y which
fy gy
solve the problem we have tangency between the constraint and a level curve
of the function f(x, y) obtained from the equation (x, y) = c. For various
values of c we get various level curves of f and the constrained extremum
occurs at appoint where a level curve of f just touches the constraint curve.
Now let us see how this method is useful in Economics. Constrained
optimization problems abound in Economics. Frequently some function is
maximized subject to some constraint. For example, in consumer
equilibrium, we maximise satisfaction subject to income or budget constraint
similarly, for producer equilibrium, we obtain a given output at minimum
factor cost subject to resource constraint. For constrained optimisation we use
langragean multiplier. We explain below the various steps needed for this.
1) State clearly the function to be optimized. This is called the objective
function (OF)
2) Identify the constraint function (CF) and reduce it to C ax by 0
form (i.e. implicit function)
3) Create another function ( z or v ) such that v OF CF where is
some proportion ( is read as lamda)
4) Find Vx 0, Vy 0 and solve for x and y . If clear values of x and y
are not obtainable, then find V 0 (This will be the constraint
function). With the help of Vx 0 , u y 0 and V 0 , the required
solution (i.e. values of x, y ) can be obtained.
173
Multivariate 2
Optimisation From (13) and (14) we get 20 x 2 y 12 y x x y (3)
3
Since we do not get clear values of x and y ,
therefore we find v 2u x 2 y 0 (4)
2
From (15) x 9 6
3
Hence constrained maximization takes place when x 6 and y 9
CF : 51 2 x 5 y 0
or v = xy + x + 2 y + 2 + λ ( 51 − 2 x − 5 y )
= xy + x + 2 y + 2 + 51λ − 2λ x − 5λ y
y 1
vx y 1 2 0 0 or = (5)
2 2
x 2
vy x 0 2 0 0 0 5 0 or (6)
5 5
y 1 x 2 y 1 x 2
From (17) and (18), we get or
2 2 5 5 2 5
5y 1
5y 5 2x 4 or x (7)
2
Since no clear solution emerges, therefore, we find v .
v 51 2 x 5 y 0 (8)
5y 1 5 5 1 26
x 13
2 2 2
174
Therefore, the solution is x 13, y 5 . That is the consumer will consumer Constrained
Optimisation with
13 units x and 5 units of y . Equality
Constraints
Another example:
Use the method of langragean multiplier to find equilibrium consumption of
two goods x and y on the basis of the following information.
1
vx y 2 0 4 0 0 or 2 x or x (9)
2
1
vy x 0 0 0 2 0 or 2 x or x (10)
2
1 y 1 y
From (9) and (10), we get x or x 1 (11)
2 4 2 2
Since no clear solution emerges, therefore, we find v as.
v 60 4 x 2 y 0 (12)
y
From (11) and (12), we get, 60 4 1 2y 0
2
6
or y 14
4
y 14
x 1 1 8 . Thus solution is x 8, y 14 . Consumer is in
2 2
equilibrium (or gets maximum satisfaction) when he purchases 8 units of
good x and 14 units of y .
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
175
Multivariate
2) Outline the method of substitution in obtaining a solution to a
Optimisation
constrained optimisation problem.
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
Total Differential
The concept of total differential is very useful in constrained optimisation. In
discussing the concept of total differential, remember that if we have a
∂f
function f ( x, y ) then the symbol f x stands for
∂x
If z f x, y is a homogeneous function of first degree, then the total
differential dz can be expressed as:
176
z z Constrained
dz fxdx fyd y dx d y approximately Optimisation with
x y Equality
Constraints
It may be noted that this formula holds good whether x and y are dependent
or independent variables. The expression dz shows the increment in the
function z f x, y when there is an infinitesimal increments in x and well
as y . For example
The following rules on total differential will be found useful. Let z and w
represent two functions of x and y , then
1) d w z dw dz
fxdx f ydy gxdx g yd y
2) d wz w.dz z dw
w gxdx gyd y z fxdx f yd y (Product rule)
w z.dw wdz
3) d
z z2
z fxdx f ydy w gxdx gx d y
(Quotient Rule)
z2
4) z f u and u g x, y , then
dz f u du , where du is differential of u which in turn is a function
of x and y .
Example. z u n , where u f x, y , then
d n
dz u du nu n 1 du
dx
Let us now solve some problems on total differentials.
1) Find du when u 3x3 2 y2 y3
x2 y2 2
y2
a) u b) w ex c) u log x 2 y2
x2 y2
177
Multivariate
x2 y2
Optimisation Sol. a) u , apply quotient rule
x2 y2
z fxdx f ydz w g u du fyd y
z2
x2 y 2 d x2 y2 x2 y2 d x2 y2
2
x2 y
x2 y 2 2 xdx 2 ydy x2 y 2 2 xdx 2 ydy
2
x2 y2
4 xy 2 dx 4 x 2 ydy
2
x2 y2
2
y2
b) w ex
Put u x2 y 2 so that w eu and dw eu du (13)
c) u log x 2 y2
z = f ( x, y )
178
Constrained
subject to the constraint Optimisation with
Equality
g ( x, y ) = c Constraints
Here c is a constant.
L f ( x, y ) + λ c − g ( x, y )
=
Ly =f y − λ g y =0
c − g ( x, y ) =
Lλ = 0
d 2 z = f xx dx 2 + 2 f xy dxdy + f yy dy 2 + f y d 2 y .
Now recall the first-order conditions that we mentioned a little while ago:
179
Multivariate Lx =f x − λ g x =0
Optimisation
Ly =f y − λ g y =0
c − g ( x, y ) =
Lλ = 0
L=
yy f yy − λ g yy
Lxy =f xy − λ g xy =Lyx
When we apply the bordered Hessian to the above case, we get the conditions
0 gx gy
d 2 z is positive definite subject to dg = 0 if g x Lxx Lxy (determinant) < 0
gy Lyx Lyy
The condition for negative definiteness is similar with the sign of bordered
Hessian reversed (> 0)
For the n-variable, general case, the condition for relative constrained
extremum for
z = f ( x1 ,..., xn )
subject to g ( x1 ,..., xn ) = c
with
= L f ( x1 ,..., xn ) + λ c − g ( x1 ,..., xn )
Here the subscript denotes partial derivative of L with respect to that variable.
H1 , H 2 ,..., H n < 0
Here the H with the bar on top stands for the bordered Hessian, and the
subscripts stand for various order of the determinant.
180
Constrained
Check Your Progress 2 Optimisation with
Equality
1) What is a bordered Hessian? Constraints
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
181
Multivariate
Optimisation
2
py py
u xx dy + 2u xy dy dy + u yy dy 2
p
x p
x
p2 p
= 2 y u xx − 2 y u yy dy 2
p x px
(u xx p y2 − 2u xy px p y + u xy p y2
=
0 px py
dy 2
= − px u xx u xy 2
p
py u yx u yy x
Z = wL + rK + λ Qo − Q ( L, K ) .
This says that the ratio of marginal products, which is the marginal rate of
technical substitution is equal to the input prices.
183
Multivariate
Check Your Progress 3
Optimisation
1) Briefly set out how the consumer’s equilibrium can be found using the
Lagrange multiplier method.
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
185