Optimization第二讲

上传人:壹****1 文档编号:584616695 上传时间:2024-08-31 格式:PPT 页数:38 大小:985.50KB
返回 下载 相关 举报
Optimization第二讲_第1页
第1页 / 共38页
Optimization第二讲_第2页
第2页 / 共38页
Optimization第二讲_第3页
第3页 / 共38页
Optimization第二讲_第4页
第4页 / 共38页
Optimization第二讲_第5页
第5页 / 共38页
点击查看更多>>
资源描述

《Optimization第二讲》由会员分享,可在线阅读,更多相关《Optimization第二讲(38页珍藏版)》请在金锄头文库上搜索。

1、Faculty of EconomicsOptimizationLecture 2Marco HaanFebruary 21, 2005Last weekOptimizing a function of more than 1 variable.Determining local minima and local maxima.First and second-order conditions.Determining global extrema with direct restrictions on variables.This weekConstrained problems.The La

2、grange Method.Interpretation of the Lagrange multiplier.Second-order conditions.Existence, uniqueness, and characterization of solutions.2Suppose that we want to maximize some function f(x1,x2) subject to some constraint g(x1,x2) = 0.Example: A consumer wants to maximize utility U(x1,x2) = x1 x2subj

3、ect to budget constraint2x1 + 3x2 = 10.In this case: f(x1,x2) = x1 x2 and g(x1,x2) = 10 2x1 3x2.3Suppose that, from g(x1,x2) = 0 we can write x2 = (x1).Take the total differential: dx2 = (x1 ) dx1Also: g1(x1, x2) dx1 + g2(x1, x2) dx2 = 0We want to maximize f(x1,x2) subject to g(x1,x2) = 0.Hence:We c

4、an now write the objective function as:Weve seen this in Micro 1! 4Theorem 13.1If (x1*, x2*) is a tangency solution to the constrained maximization problemthen we have that x1* and x2* satisfy5Back to the examplef(x1,x2) = x1 x2 and g(x1,x2) = 10 2x1 3x2.We needSoWithHenceThis yieldsNote: this only

5、says that this is a local optimum.6Lagrange MethodAgain, we want toConsider the functionThe first two equalities implyLets maximize this:Hence, we get exactly the conditions we need!7Definition 13.2The Lagrange method of finding a solution (x1*, x2*) to the problem consists of deriving the following

6、 first-order conditions to find the critical point(s) of the Lagrange functionwhich are8Back to the examplef(x1,x2) = x1 x2 and g(x1,x2) = 10 2x1 3x2.Again, this only says that this is a local optimum.9The method also works for finding minima. (Definition 13.2)The Lagrange method of finding a soluti

7、on (x1*, x2*) to the problem consists of deriving the following first-order conditions to find the critical point(s) of the Lagrange functionwhich are10The interpretation of * is the shadow price of the constraint.It tells you by how much your objective function will increase at the margin as the th

8、e constraint is relaxed by 1 unit.Later, we go into more details as to why this is the case.In the consumption example, we had income 10 and * = 0.204.This tells us that as income increases by 1 unit, utility increases by 0.204 units.In this example, this is not very informative, as the “amount of u

9、tility” is not a very informative number.Yet, in the case of e.g. a firm maximizing its profits, this yields information that is much more useful.11The Lagrange method of finding a solution (x1*,., xm*) to the problem consists of deriving the following first-order conditions to find the critical poi

10、nt(s) of the Lagrange functionwhich areIt also works with more variables and more constraints. (Definition 13.3)12Second-Order ConditionsWith regular optimization in more dimensions, we needed some conditions on the Hessian.We now need the same conditions but on the Hessian of the Lagrange function.

11、This is the Bordered Hessian.13Theorem 13.3A stationary value of the Lagrange function yields amaximum if the determinant of the bordered Hessian is positive,minimum if the determinant of the bordered Hessian is negative.14Again back to the earlier examplef(x1,x2) = x1 x2 and g(x1,x2) = 10 2x1 3x2.E

12、valuate in Thus, we now know that this is a local maximum.15With more than two dimensions.(Theorem 13.4)If a Lagrange function has a stationary value, then that stationary value is a maximum if the successive principal minor of |H*| alternate in sign in the following way:It is a maximum if all the p

13、rincipal minors of |H*| are strictly negative.Note: Both theorems only give sufficient conditions.16Theorem 13.6The Lagrange method works (in finding a local extremum) if and only if it is possible to solve the first-order conditions for the Lagrange multipliers.17Weierstrasss Theorem:If f is a cont

14、inuous function, and X is a nonempty, closed, and bounded set, then f has both a minimum and a maximum on X.But when can we be sure that a minimum and a maximum really exist!?18Weierstrasss Theorem:If f is a continuous function, and X is a nonempty, closed, and bounded set, then f has both a minimum

15、 and a maximum on X.But when can we be sure that a minimum and a maximum really exist!?f is continuous if it does not contain any holes, jumps, etc.You cannot maximize the function f(x) = 1/x on the interval -1,1.But you can maximize the function f(x) = 1/x on the interval 1,2. 19Weierstrasss Theore

16、m:If f is a continuous function, and X is a nonempty, closed, and bounded set, then f has both a minimum and a maximum on X.But when can we be sure that a minimum and a maximum really exist!?X is nonempty if it contains at least one element. Otherwise the problem does not make sense. If there is no

17、value, there is also no maximum value.20Weierstrasss Theorem:If f is a continuous function, and X is a nonempty, closed, and bounded set, then f has both a minimum and a maximum on X.But when can we be sure that a minimum and a maximum really exist!?X is closed if the endpoints of the interval are a

18、lso included in X.0 x 1 is an open set. It is not a closed set.0 x 1 is a closed set.You cannot maximize the function f(x) = x on the interval 0 x 0.22But when can we be sure that a local extremum is also a global one!?Not always.g(x)f increasesnot a global maximumglobal maximum23To give a formal de

19、rivation, we need some more mathematics.Convex setConsider some set X.Take any two points in X.Draw a line between these points.If the entire line is within X, and this is true for any two points in the set, then the set is convex.Convex setNot a convex set24NoteA “convex set” is something entirely

20、different than a “convex function”.There is no such thing is a “concave set”.25To give a formal derivation, we need some more mathematics.Quasi-concavityConsider some function f(x).Take some point x1.Consider the set X0 consisting of all points x0 that have f(x0) f(x1).If this set is convex, and thi

21、s is true for all possible x1, then the function is quasi-concave.x1This function is quasi-concave, but not concave!26To give a formal derivation, we need some more mathematics.x1This function is not quasi-concave.Quasi-concavityConsider some function f(x).Take some point x1.Consider the set X0 cons

22、isting of all points x0 that have f(x0) f(x1).If this set is convex, and this is true for all possible x1, then the function is quasi-concave.27To give a formal derivation, we need some more mathematics.Quasi-convexityConsider some function f(x).Take some point x1.Consider the set X0 consisting of a

23、ll points x0 that have f(x0) f(x1).If this set is convex, and this is true for all possible x1, then the function is quasi-convex.x1This function is quasi-convex, but not convex!28Quasi-convexityConsider some function f(x).Take some point x1.Consider the set X0 consisting of all points x0 that have

24、f(x0) f(x1).If this set is convex, and this is true for all possible x1, then the function is quasi-convex.x1This function is not quasi-convex.To give a formal derivation, we need some more mathematics.29Important to note.A function that is concave, is also quasi-concave.A function that is convex, i

25、s also quasi-convex.In almost all of the cases we run into, well have convex and concave functions.Note also that a utility function that is strict quasi-concave if and only if it yields indifference curves that are strictly convex.30Theorem 13.7In a constrained maximization problemIf f is quasiconc

26、ave, all gs are quasiconvex,then any locally optimal solution to the problem is also globally optimal.Thus, if these conditions are satisfied, solving the Lagrange yields the global optimum!31Theorem 13.8: UniquenessIn a constrained maximization problemwhere f and all the gs are increasing, then if

27、f is strictly quasiconcave and the gs are convex, or f is quasiconcave and the gs are strict convex,then a locally optimal solution is unique and also globally optimal.Example: the consumer problem! Utility function is increasing and strictly quasi-concave, Budget constraint is increasing and convex

28、.The theorem says that solving the FOCs yields a unique and global optimum.32Another exampleA firm produces some output using the following production functionThis is a CES production function (constant elasticity of supply).Its general form is:33Another exampleA firm produces some output using the

29、following production functionPrices of inputs: Question: What are the minimal costs of producing 1 unit of output? 34Of course, second order conditions also have to be checked.35ExampleA representative student spends 60 hours per week studying.She takes two subjects.Her objective: allocate time betw

30、een the two subjects such that the average grade is maximized.Subjects differ with respect to their production function.Objective function:36ThusWe have that f is concave and g is convex. So this is a maximum. Spending one hour more studying leads to an increase in grade average of 1.5.37This weeks exercisespg. 615: 1, 3, 5, 7.pg. 622: 1.38

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号