Professional Documents
Culture Documents
Constrained Optimization 1
Constrained Optimization 1
University of Hohenheim
Chapter 5
Constrained Optimization I (One Constraint)
Learning goals
Students
Understand the general structure of constrained optimization problems
Can apply the Lagrangian method to solve constrained optimization problems with
two variables and one constraint
Can provide an economic interpretation of the Lagrange multiplier
Function of a real variable: A critical point is a point in the domain of the function
where the function is either not differentiable or the derivative is equal to zero.
Function of several real variables: A critical point is a value in its domain where
the gradient is undefined or is equal to zero.
df ∗
(x ) = 0 for all i = 1, . . . , n
dxi
A sufficient condition for
A local minimum at x∗ : D 2 f (x∗ ) is positive definite
A local maximum at x∗ : D 2 f (x∗ ) is negative definite
A global minimum at x∗ : D 2 f (x) is positive definite for all x
A global maximum at x∗ : D 2 f (x) is negative definite for all x
A simplified model
Consider the utility max’n problem with just two goods (variables)
maximize U(x1 , x2 )
subject to H(x1 , x2 ) = p1 x1 + p2 x2 = I
We ignore for a moment that consumption should be nonnegative
and the possibility that not all income I may be spent, i.e., we consider
one equality constraint.
Geometric solution to the problem: Tangency condition
Draw the constraint set (budget line) in the x1 x2 -plane.
Find the highest-valued level curve of the objective function ( =
indifference curve) which meets the constraint.
dx2 p1
dH(x1 , x2 ) = p1 dx1 + p
2 dx2 = dI = 0 ⇔ =−
|{z} |{z} dx1 p2
H1 (x1 ,x2 ) H2 (x1 ,x2 )
where the partial derivatives H1 (x1 , x2 ) = p1 and H2 (x1 , x2 ) = p2
do not depend on (x1 , x2 )
dx2 MU1
⇔ =− (= MRS)
dx1 MU2
Optimality condition
F1 (x1 , x2 ) H1 (x1 , x2 ) F1 (x1 , x2 ) F2 (x1 , x2 )
= or =
F2 (x1 , x2 ) H2 (x1 , x2 ) H1 (x1 , x2 ) H2 (x1 , x2 )
Example: Utility maximization
MU1 MU2
=
p1 p2
which means that in optimum, the marginal utility of income is equalized
(Gossen’s Second Law).
Suppose that the common value of both sides in the optimality condition from
slide 14 is λ: F1 (x1 , x2 ) F2 (x1 , x2 )
= =λ
H1 (x1 , x2 ) H2 (x1 , x2 )
Rewriting this as two equations, we have
F1 (x1 , x2 ) − λH1 (x1 , x2 ) = 0
F2 (x1 , x2 ) − λH2 (x1 , x2 ) = 0
How to solve a system of 2 equations for 3 unknowns (x1 , x2 , λ)?
Including the constraint equation, we obtain
F1 (x1 , x2 ) − λH1 (x1 , x2 ) = 0
F2 (x1 , x2 ) − λH2 (x1 , x2 ) = 0
H(x1 , x2 ) − c = 0
MU1 − λp1 = 0
MU2 − λp2 = 0
I − p1 x1 − p2 x2 = 0
The Lagrange multiplier λ measures the sensitivity of the optimal value of the
objective function to changes on the right hand side of the constraint
Utility maximization example: λ measures the effect of a small increase in income
I (relaxing the budget constraint) on the utility (the value of the objective
function): dU/dI = λ
To see this, let (x̄1 , x̄2 ) be the optimal choice and ν = F (x̄1 , x̄2 ) the highest
attainable value of the objective function, and compute the effect of a change in c
on ν.
Formal derivation
Since we have a small change, we consider the first order Taylor series
approximation to the changes in the objective function F
dν = F (x̄ + dx̄) − F (x̄) = F1 (x̄)d x̄1 + F2 (x̄)d x̄2
Using the opti’ty cond’ns Fj (x̄) = λHj (x̄), we can rewrite this eq’n as
dν = λ [H1 (x̄)d x̄1 + H2 (x̄)d x̄2 ]
Using the definition of a Taylor series approximation for the constraint H(x) = c,
we can rewrite this expression as
dν = λ [H(x̄ + dx̄) − H(x̄)] = λdc
dν
Hence, we have dc
=λ
Consider a consumer who chooses between two goods x and y that cost p and q,
respectively. The consumer has income I.
The budget constraint is px + qy = I.
Suppose the utility function is logarithmic:
Concluding remarks