specific topics in optimisation
TRANSCRIPT
Lecturer: Farzad Javidanrad
Specific Topics in Optimisation(for MSc & PhD Business, Management & Finance Students)
(Autumn 2014-2015)
Envelope Theorem & Optimisation Under Intertemporal Choice
β’ Parameter: The variable that helps in defining a mathematical/statistical model but its values are given or determined outside of the model.
In the linear model π¦ = ππ₯ + π,
π¦ and π₯ variables (their values determined inside the model)
π and π parameters (y-intercept and slope parameter respectively)
Basic Terminologies
Adopted and altered from http://www.met.reading.ac.uk/pplato2/h-flap/math2_2.html
β’ Objective Function: A function which is going to be optimized.
β’ Decision Variables: The independent (or explanatory) variables in a model.
β’ Optimal Values: Maximum or minimum values of variables in a model..
β’ The envelope theorem focus on the relation between the optimal value of the dependent variable in a particular function and the parameter(s) of that function. How the optimal value does change when a parameter (or one of parameters of the model) changes?
Consider the following quadratic function which contains on parameter
π¦ = π₯2 β ππ₯
The optimal value of π₯ = π₯β can be obtained by the first order condition πβ² π₯ = 0:
2π₯ β π = 0 β π₯β =π
2and π¦β = π₯β2 β ππ₯β βΉ π¦β = β
π2
4
Obviously, π₯β and consequently, π¦β are functions of π, i.e. π₯β = π₯ π , π¦β = π¦(π).
Basic Terminologies
β’ The following table shows how the optimal values of π₯ and π¦ change when π changes.
Investigate how the optimal value of the dependent variable in the quadratic function π¦ = ππ₯2 + ππ₯ + π changes when each parameter π, π and π change.
Basic Example
ππβ =
π
ππβ = β
ππ
π
-2 -1 -1
-1 -0.5 -0.25
0 0 0
1 0.5 -0.25
2 1 -1 -1.2
-1
-0.8
-0.6
-0.4
-0.2
0
-3 -2 -1 0 1 2 3
b
π
β’ Case 1 (unconstraint model): Consider a general optimization model with two independent (decision) variables π₯ and π¦ and one parameter πΌ:
π§ = π(π₯, π¦, πΌ)
The first-order necessary conditions are: ππ§
ππ₯= ππ₯ = 0 πππ
ππ§
ππ¦= ππ¦ = 0
Assume the second-order conditions hold, the optimal values of π₯ and π¦ for any given value of πΌ are the function of πΌ, i.e. π₯β = π₯β (πΌ) and π¦β = π¦β πΌ . By substituting these optimal values into the objective function we obtain the indirect objective function, which is an indirect function of the parameter πΌ :
π πΌ = π(π₯β πΌ , π¦β πΌ , πΌ)
The Envelope Theorem (Unconstraint Model)
Objective function with two decision variables and one parameter
π πΌ gives the optimal value of π§, for any given value of πΌ
β’ Some of the properties of the indirect objective functions are:
A. For any given set of parameters, the objective function is optimized (maximized or minimized)
B. When the parameters vary, the indirect objective function outlines the optimum values of the direct objective function.
C. The graph of the indirect objective function is an envelope of the graphs of optimized objective functions when parameters vary.
β’ In order to find the variation of indirect objective function π πΌ in terms of πΌ, we need to differentiate it:
The Envelope Theorem (Unconstraint Model)
ππ
ππΌ= ππ₯
ππ₯β
ππΌ+ ππ¦
ππ¦β
ππΌ+ ππΌ
However, we know that at the optimal values ππ₯ = ππ¦ = 0, so:
ππ
ππΌ= ππΌ
This equation says that the rate of change of the optimal value of the dependent variable π§ in terms of πΌ, where the independent variables π₯ and π¦ are optimally obtained (for any given πΌ), can be calculated directly by differentiating the indirect objective function π in terms of πΌ.
β’ Geometric Interpretation: If we plot π πΌ for various πΌβ²π ,
the plot will be the envelope of the different curves obtained
from the family function π§ = π(π₯, π¦, πΌ), when πΌ changes.
β’ Here we have a function with one variable and one parameter.
The Envelope Theorem (Unconstraint Model)
π§ = π(π₯, πΌ)
πΌ π₯β(πΌ)
π πΌ
Adopted and altered from http://exactitude.tistory.com/229.
Economic Exampleβ’ Here we have the relation between short-run (SR) and long-run (LR) average cost curves when the
size of production (parameter)
changes.
β’ The long-run average cost (LRAC) is the envelope
curve for different short-run average cost (SRAC)
curves when the size of the company changes in
the long-run.
β’ The theorem can be generalised to include more than one parameter. For example, in microeconomics, a price-taker producer face with the following profit function:
π = π. π πΏ, πΎ β π€πΏ β ππΎ
Where π is the output price, π€ and π are factor production prices or simply the cost of employing labour and capital in the production process. They are parameters of the model.
Size of the company (production) increasing
Ad
op
ted
and
altere
d fro
m h
ttp://m
aaw.in
fo/Eco
no
mie
sOfScale
No
te.h
tm
= π πΌ
β’ To know how profit π changes when one of these parameters change, say π€, we can simply differentiate the objective function with respect to that parameter, assuming other parameters and variables constant, i.e.:
ππ
ππ€= βπΏ
β’ Using the envelope theorem leads us to the same result but πΏ should be evaluated at its optimal value, πΏβ (the value that maximise π at any given values of π, π€ and π ), because:
Through profit maximising we reach to the optimal level of demand for labour and capital as:πΏβ = πΏβ π,π€, π πππ πΎβ = πΎβ(π, π€, π)
So, the indirect profit function will be:πβ π,π€, π = π. π πΏβ, πΎβ β π€πΏβ β ππΎβ
Now,ππβ
ππ€= π ππΏ
ππΏβ
ππ€+ ππΎ
ππΎβ
ππ€β π€
ππΏβ
ππ€β πΏβ β π
ππΎβ
ππ€ππβ
ππ€= πππΏ β π€
ππΏβ
ππ€+ πππΎ β π
ππΎβ
ππ€β πΏβ
Knowing that at the optimal values of πΏ and πΎ the terms in parentheses are zero, therefore, we will reach to: ππβ
ππ€= βπΏβ
The Envelope Theorem (Unconstraint Model)
This means if this particular employer faces with the increase in wage rate by Β£1, in case he/she has employed 1000 workers and this is the optimal level of labour which makes the maximum profit, he/she will lose -Β£1000 by Β£1 increase in the wage.
A profit-maximising firm, in this situation would reduce the number of workers up to a point that the increase in cost is compensated by reduce in payment in total.
β’ Case 2 (constraint model): It rarely happens to optimise a function without any constraint. In the real world any optimisation is subject to one or more constraints. Again, imagine a simple example of optimisation with two independent variables and one parameter πΌ:
π = π(π₯, π¦, πΌ)Subject to the constraint
π π₯, π¦, πΌ = πThe Lagrangian Function can be written as:
πΏ(π₯, π¦, π, πΌ) = π π₯, π¦, πΌ + π[π β π π₯, π¦, πΌ ]
Setting the first partial derivatives of πΏ equal to zero,
πΏπ₯ = ππ₯ β πππ₯ = 0πΏπ¦ = ππ¦ β πππ¦ = 0
πΏπ = π(π₯, π¦, πΌ) = π
Assuming the second-order conditions are satisfied, solving these equations gives the optimal values of π₯, π¦ and π, in terms of the parameter πΌ.
The Envelope Theorem (Constraint Model)
A
π is a constant
π is the Lagrange Multiplier
π₯β = π₯β(πΌ)π¦β = π¦β(πΌ)πβ = πβ(πΌ)
And the indirect objective function will be:
πβ = π π₯β πΌ , π¦β πΌ , πΌ = π(πΌ)
π(πΌ) is the maximum value of π for all values of π₯ and π¦ that satisfy the constraint and also it shows the maximum value of π for any value of πΌ.
How does π(πΌ) change when πΌ changes? To answer this, we need somehow to consider the constraint function π π₯, π¦, πΌ = π in our analysis. To do that, we make indirect Lagrangian function πΏβ, using optimal values π₯β and π¦β and then differentiate the new indirect function with respect to πΌ.
πΏβ π₯β πΌ , π¦β πΌ , π, πΌ = π πΌ + π[π β π π₯β πΌ , π¦β πΌ , πΌ ]
By maximising πΏβ we have, in fact, maximised π πΌ , why?
The Envelope Theorem (Constraint Model)
Indirect objective function
= 0
β’ By differentiating πΏβ with respect to πΌ we have:
ππΏβ
ππΌ= ππ₯ β πππ₯
ππ₯β
ππΌ+ ππ¦ β πππ¦
ππ¦β
ππΌ+ ππΌ β πππΌ
Or
ππΏβ
ππΌ= πΏπ₯
ππ₯β
ππΌ+ πΏπ¦
ππ¦β
ππΌ+ πΏπΌ
Where πΏπ is the partial derivative of the Lagrangian function with respect to element π.
Base on the first order conditions , πΏπ₯ and πΏπ¦ are zero, then:
ππΏβ
ππΌ= πΏπΌ = ππΌ β πππΌ
β’ Using the Lagrange method allow us to change the optimisation of a constraint model to the optimisation of an unconstraint model.
β’ Note: If the parameter enters just in the objective function the result for constraint and unconstraint models are similar.
The Envelope Theorem (Constraint Model)
A
β’ Solving the first two equations of , simultaneously (by ignoring πΌ, which means considering it as a fixed value without any variation), gives the value of π as:
π =ππ₯ππ₯
=ππ¦
ππ¦
By re-arranging the terms, we will have:
π =ππ₯ππ¦
=ππ₯ππ¦
This means π is the slope of the level curve of the objective function π(π₯, π¦) at the optimal points
π₯βand π¦β, which should be equal to the slope of the level curve of the constraint function π(π₯, π¦) at those points.
Interpretation of the Lagrange Multiplier A
Both pictures adopted from http://en.wikipedia.org/wiki/Lagrange_multiplier
β’ But more information about π can be obtained through the envelope theorem:
By solving all equations in simultaneously (again consider πΌ as a constant), the optimal values for variables and π will be:
π₯β = π₯β π , π¦β = π¦β π , πβ = πβ π
Substituting these results into the Lagrangian function πΏ(π₯, π¦, π), we have:
πΏβ π₯β π , π¦β π , πβ π = π π₯β π , π¦β π , πβ π + πβ π [π β π π₯β π , π¦β π ]
Differentiating with respect to π, we have:
ππΏβ
ππ= ππ₯
ππ₯β
ππ+ ππ¦
ππ¦β
ππ+ π β π π₯β, π¦β
ππβ
ππ+ πβ [1 β ππ₯
ππ₯β
ππβ ππ¦
ππ¦β
ππ]
By rearranging, we get:
ππΏβ
ππ= ππ₯ β πβππ₯
ππ₯β
ππ+ ππ¦ β πβππ¦
ππ¦β
ππ+ π β π π₯β, π¦β
ππβ
ππ+ πβ
Interpretation of the Lagrange Multiplier
A
β’ The terms in the brackets are zero (why?), so;
ππΏβ
ππ= πβ(π)
β’ Considering the fact that π comes through the constraint (and not through the objective function), the change of the maximum (or minimum) value of the objective function π with respect to change of π (which is the πβ), can be called as the marginal value of the π, and in some cases related to the production function, it can be called as the shadow price of the resources.
β’ If the objective function is the utility function π = π π₯, π¦ and the constraint is the budget line π₯. ππ₯ + π¦. ππ¦ = π, then πβ can be interpreted as the marginal utility of money spent on π₯ and π¦ .
β’ Note: In the dual analysis of the above maximisation, when we try to minimise the expenditure π₯. ππ₯ + π¦. ππ¦ subject to maintain the utility at a specific level π π₯, π¦ = πβ, the new Lagrange
multiplier π is the inverse of the Lagrange multiplier in the primal analysis πβ, i.e.: π = 1 πβ
Interpretation of the Lagrange Multiplier
β’ One of the important optimisation cases in microeconomics is when consumers try to maximise their utilities subject to their wealth constraints. This case has many implications in finance theory when an investor with a multi-period planning horizon is going to split his/her wealth between present consumption and investment on different assets (future consumption).
β’ Here we focus on two period maximization but it can be easily extended to n-period case. So, we can define the followings:
Two periods: Period 1 (the present) and period 2 (the future, e.g. next year)
π¦1=Income of period 1 and π¦2= Income of period 2
π1=Value of the consumption in period 1 and π2= Value of the consumption in period 2
Saving can happen in period 1 but not in period 2 as it is the final period, so the only saving we have is π =π¦1 β π1.
The investor can borrow from or lend to the capital market at the interest rate π. He/she is able to have extreme choices: sacrifice the current consumption and invest all his/her current and future income (wealth) in the financial market (so, he/she is a lender in period 1) or sacrifice the future consumption and use all the life-time money on the present consumption (so, he/she is a borrower in period 1)
Intertemporal Choice
Deriving the Intertemporal Budget Constraint
β’ Period 2 budget constraint is:
π2 = π¦2 + 1 + π π
= π¦2 + 1 + π (π¦1 β π1)
β’ By rearrange the terms, we have:
1 + π π1 + π2 = π¦2 + 1 + π π¦1
By divide through by 1 + π , we have:
π1 +π2
1 + π= π¦1 +
π¦21 + π
= π
present value of lifetime consumption
present value of lifetime income
Total wealth of the investor
The Intertemporal Budget Constraint
β’ The budget constraint shows all combinations of π1and π2that just exhaust the consumerβs resources.
π1
π2
π¦1
π¦2
Borrowing
Saving
Consumption = income (in both periods)
The point (π¦1, π¦2) is always on the
budget line because π1=π¦1, π2=π¦2β’ The Budget Constraint:
π1 +π2
1 + π= π¦1 +
π¦21 + π
Or
(π¦1βπ1) +π¦2 β π21 + π
= 0
π¦2 + 1 + π π¦1
π¦1 +π¦2
1 + πAdopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers
The Intertemporal Budget Constraint
The slope of the budget line
equals ππ2
ππ1= β(1 + π)
π1
π2
π¦1
π¦2
1
π1 +π2
1 + π= π¦1 +
π¦21 + π
Considering no change in income(ππ¦1 = ππ¦2 = 0):
ππ1 +ππ21 + π
= 0
ππ2ππ1
= β(1 + π)
1 + π
Adopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers
Consumer Preferences
β’ The utility function π = π(π1, π2) shows the utility associated to each value of π1and π2.
β’ An indifference curve shows all combinations of π1 and π2 that make the consumer equally happy, i.e. equal level of utility.
π1
π2
IU1
IU2
Higher indifference
curves represent higher
levels of happiness.
Adopted from http://www.cengage.com/economics/book_content/032427470X_nechyba/chapters/partA.html
Adopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers
Without any money constraint, a rational consumer try to reach to the highest possible utility level.
Utility Surface
Indifference Utility Curves
β’ Marginal Rate of Substitution (MRS ): the amount of π2 (in terms of value) that the consumer would be willing to substitute (sacrifice) for getting one unit of π1.
πβ = π π1, π2
ππβ =ππ
ππ1ππ1 +
ππ
ππ2ππ2
As πβ is constant (for indifference curve) so, ππβ = 0, and we have:
ππ
ππ1ππ1 +
ππ
ππ2ππ2 = 0
And
ππ π =ππ2ππ1
= β
ππππ1ππππ2
= βπππ1πππ2
IC1
The slope of an
indifference curve at
any point is the MRS
at that point.1
MRS
Consumer Preferences
Adopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers
π1
π2
Optimization
β’ The optimal O(π1,π2) is where the budget line just touches the highest indifference curve.
β’ At the optimal point the slope of the indifference curve is equal to the slope of the budget line.
π1
π2
O
At the optimal point, MRS = β(1 + π)
Adopted from http://www2.hawaii.edu/~fuleky/anatomy/anatomy.html
Adopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers
Maximisation of the Intertemporal Utilityβ’ Maximise: π = π(π1, π2) , subject to:(π¦1βπ1) +
π¦2βπ2
1+π= 0
β’ The Lagrange function for this problem is:
πΏ π1, π2, Ξ» = π π1, π2 + Ξ»[(π¦1βπ1) +π¦2 β π21 + π
]
Producing the first-order conditions:
πΏ1 =ππ
ππ1β π = 0
πΏ2 =ππ
ππ2β
π
1 + π= 0
πΏπ = (π¦1βπ1) +π¦2 β π21 + π
= 0
Solving for the first two equations:
ππ
ππ1ππ
ππ2
= 1 + π βΉπππ1πππ2
= 1 + πIn the optimal point the slope of the indifference curve should be equal to the slope of the constraint.
β’ Assuming the second-order conditions hold, from the first-order equations we can reach to the consumption (Marshallian demand) functions:
π1 = π1 π, π¦1, π¦2π2 = π2 π, π¦1, π¦2
β’ In these equations, consumption in each period relates inversely to the interest rate π and directly to the levels of present and future incomes. So, the current consumption π1is not confined by the current income π¦1, because individuals can borrow or lend between two periods and they choose their consumption strategy based on the present value of their lifetime income.
β’ If π¦1 or π¦2 increases for any reason, the budget constraint
shifts to the right and allows more consumption in both
periods as the investor can be on the higher level of utility.
Deriving the Intertemporal Consumption Functions
π1
π2
A
The Impact of the Change in Interest Rate
π1
π2
π¦1
π¦2
A
B
β’ But the change of interest rate is different.
β’ An increase in π rotates the budget line
around the point (π¦1, π¦2 ).
β’ This increase encourages the investor to reduce the present consumption and invest the money in the capital market for a higher consumption in the future. This means that the investor is on the new budget line on point B, where π2 is higher than π1.
Adopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers
The new budget line (the red line)is the rotation of the previous line around the
point (π¦1, π¦2 ), such that, lesser π1but
greater π2 available.
Budget Line with a Constraint on Borrowing
π1
π2
π¦1
π¦2
β’ The borrowing constraint does not allow the investor to increase his/her consumption beyond the income limit:
π1 β€ π¦1
β’ So, the extension of the budget line below the point π¦1, π¦2 does not exist. But it does not make any difference for an investor who is more saver than consumer in the first period as it is already π1 β€ π¦1.
c1
c2π΄
Adopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers
Budget Line with a Constraint on Borrowing
β’ If our investor prefer the present consumption to the future consumption he/she wish to be at point D but the borrowing constraint does not allow that therefore, he/she must choose to reduce his/her utility level to point E.
β’ In this case we have a corner solution, π1 = π¦1 and π2 = π¦2.
β’ Point E is the best possible solution for our investor as he/she cannot choose any point below or above E. Why?
π1
π2
π¦1
DE
π¦2
Adopted and altered from Chapter 17 Mankiw produced by Ron Cronovich Β© 2010 Worth Publishers