SHORT INTRODUCTION TO DYNAMIC PROGRAMMING. 1. Example

Size: px
Start display at page:

Download "SHORT INTRODUCTION TO DYNAMIC PROGRAMMING. 1. Example"

Transcription

1 SHORT INTRODUCTION TO DYNAMIC PROGRAMMING. Example We consider different stages (discrete time events) given by k = 0,..., N. Let x k be the amount of money owned by a consumer at the stage k. At each stage k, the consumer decides the fraction u k of the capital x k that he will use. The amount which is consumed at the stage k is therefore given by c k = u k x k. The rest is spared at a given interest rate. The evolution of the capital is thus given by the equation x k+ = ρ( u k )x k where ρ >. We consider the utility function U(c) = c. In particular, the function U is strictly increasing and also strictly concave. It is increasing because the consumer spends his money with something which increases his satisfaction. However, the marginal increase in satisfaction decreases with the amount of money which is spent. For example, the increase in satisfaction obtained by spending 0 extra kroner is less if it is added to 000 kroner than if it is added to 0 kroner. The concavity assumption takes this fact into account. The consumer wants to maximize J = U(c k ) = xk u k The consumer has to find a good balance between his immediate satisfaction and his future satisfaction. To illustrate this, let us consider two opposite strategies: The consumer uses all his money at the first stage: u 0 = and u k arbitrary for k = 0,..., N. Then, x k = 0 for k =,..., N and J = x 0 The consumer spares his money until the last stage where he spends it all: u k = 0 for k = 0,..., N, u N =. Then, x k = ρ k x 0 and J = ρ N x 0 The first strategy is not optimal because the consumer at stage does not take into account the satisfaction he can get in the future by sparing. In the second strategy, the consumer takes this fact into account and manages to get the highest capital possible but this capital is not used in the optimal way. Indeed, due to the concavity of the utility function, it is not optimal to spend a lot of money at the same time. The optimal strategy is a balance between these two strategies, which we are going to compute.

2 2 DYNAMIC PROGRAMMING 2. Terminology and statement of the problem We consider a system where the events happen in stages and the total number of stages is fixed. At each stage k (where k = 0,..., N), the state variable x k gives a describtion of the system. The evolution of the system is given by a governing equation of the form () x k+ = g k (x k, u k ) where g k is a given function and u k is a control variable. By choosing the control variable, we influence the evolution of the state variable (we cannot, in general, set directly the state variable; some intertia in the system can be modelled by ()). At each stage, there is a profit (or cost) given as a function f k (x k, u k ) of the state variable and of the control variable. The total value (or total cost) is thus (2) J = f k (x k, u k ). We want to find the optimal values for u k (k = 0,..., N) which maximize or minimize J. We denote the optimal value of J by J. We will consider the case where x k and u k belong to R (the scalar case) but the results can be readily extended to the case where x k R n and u k R p for some integer n and p (the vector case). In general the state and control variable cannot just take any value in R and we have u k U where U, the control space, is a given subset of R. It is standard to take U compact (bounded and closed) so that the minimization problems have a solutions. One can also consider a set U k which depends on the stage. We can finally formulate the problem as follows: Given x 0 R, find the optimal sequence, which we denote {u k }N, such that u k U k for k = 0,..., N and () J = where f k (x k, u k) = max {u k } N (4) x k+ = g k (x k, u k ). f k (x k, u k ). The DP algorithm We define the value function J k (x) for each stage k as follows Definition. For any x R, we define J k (x) as (5) J k (x) = max {u k } N f i (x i, u i ) where i=k x k = x and x i+ = g i (x i, u i ) for i = k,..., N.

3 DYNAMIC PROGRAMMING It is clear from the definition of the optimal control () that we have J = J 0 (x 0 ). We want to compute the functions J k (x). We can see J N (x) is easy to obtain. Indeed, we have J N (x) = max f N (x, u) u U N so that J N (x) is obtained by solving a standard maximisation problem (the only unknown is u). The idea is then to compute J k (x) for all value of x by going backwards: We assume that J k+ (x) is given and then, we compute J k (x) by using the following proposition, which constitutes the fundamental principle in dynamic programming. Fundamental principle in dynamic programming. We have (6) J k (x) = max (f k (x, u) + J k+ (g k (x, u))). Proof. Given x R, for any sequence of control {u i } N i=k, we have f i (x i, u i ) = f k (x k, u k ) + f i (x i, u i ) (7) i=k i=k+ f k (x k, u k ) + J k+ (x k+ ) (by definition of J k+ ) = f k (x, u k ) + J k+ (g k (x, u k )) (by (4)) max (f k (x, u) + J k+ (g k (x, u))). The right-hand side of (7) is a number which does not depend on the sequence {u i } N i=k. We take the maximum over all the sequences u i on the left-hand side and obtain that J k (x) max(f k (x, u) + J k+ (g k (x, u))). It remains to prove the inequality in the other direction. From now on, we assume that the maxima are allways attained. Consider u which maximises f k (x, u) + J k+ (g k (x, u)) and then u i (i = k +,..., N) which maximizes N i=k+ f i(x i, u i ) where x k+ = g k (x, u ) and x i+ = g i (x i, u i ). Hence, max(f k (x, u) + J k+ (g k (x, u))) = f k (x, u ) + J k+ (g k (x, u )) = f k (x, u ) + J k (x) i=k+ f i (x i, u i ) The last inequality follows from the definition of J k as a maximum, see (5). To solve the problem, we can use the following algorithm DP algorithm. By using the fundamental principle of dynamic programming, we compute J k (x) for k = N,..., 0 (going backwards in k). The optimal value for J is given by J = J 0 (x 0 ). The optimal control sequence {u k } N is given by for k = 0,..., N. u k = argmax(f k (x, u) + J k (g k (x, u)))

4 4 DYNAMIC PROGRAMMING Let us use the DP algorithm to solve the example of the first section. We compute J N (x); we have J N (x) = max xu = x. u [0,] At the last stage, the consumer spends all the money left. We compute J N (x); we have J N (x) = max u [0,] ( xu + J N (g(x, u))) so that J N (x) = max u [0,] ( xu + ρ( u)x) = x max u [0,] ( u + ρ u). We want to minimize the function φ(u) = u + ρ u. We have φ (u) = ρ 2 u 2 u and φ (u ) = 0 if and only if u = + ρ. Then, we have φ(u ) = + ρ. Since u is the only extrema in (0, ) and φ(u ) φ(0) = ρ and φ(u ) φ() =, then u is the maximum. Hence, We compute J N 2 (x); we have J N (x) = + ρ x. so that J N 2 (x) = max u [0,] ( xu + J N (g(x, u))) J N (x) = max u [0,] ( xu + + ρ ρ( u)x) = x max u [0,] ( u + ρ + ρ 2 u). We want to maximize the function φ(u) = u + ρ + ρ 2 u. We observe that φ is obtained from φ by replacing ρ by ρ + ρ 2. Hence, the maximum of φ is equal to + ρ + ρ 2 and is reached for u = +ρ+ρ 2. Thus, By induction, we prove that Hence, the optimal value is and is obtained by choosing J N 2 (x) = + ρ + ρ 2 x. J N p = + ρ + ρ ρ p x = J = ρ N ρ x u N p = ρ ρ p+. ρ p+ ρ x.

5 DYNAMIC PROGRAMMING 5 4. The shortest path problem We consider N nodes. Some of the nodes are connected. The lengths between the connected nodes are given. There is a starting node that we denote s and an ending node that we denote t. The shortest path problem consists of finding the shortest path between s and t. Figure gives an example of such graph. the length between two connected nodes is indicated in the figure. We order the nodes and give them Figure. Example of a graph for a shortest path problem a number from to N. Let f(i, j) be the length between the connected nodes i and j. A path of p nodes is a sequence of node x k {,..., p} for k =,..., p such that x k and x k+ are connected, x = s and x p = t. The length of the path {x k } p k= is given by (8) p f(x k, x k+ ). k= The solution of the shortest path problem is a path {x k } p which minimizes the length given by (8). We now want to rewrite the shortest path problem as a DP problem. We extend the definition of f(i, j) to any node (not just the connected ones) by setting f(i, j) = if the nodes i and j are not connected and f(i, i) = 0. We make the following assumptions: There does not exist any cyclic path of negative length. If this assumption is not fullfilled and if this cycle path with negative length can be reached from s, then the problem does not admit a solution as any path can allways be improved by taking loops in this cycle. There exist at least one path of finite length which connects s to t. With these assumptions, it is clear that an optimal path exists and its length is at most N. We consider the DP problem given by minimizing (9) J = where x = s, N k= f(x k, u k ) x k+ = u k

6 6 DYNAMIC PROGRAMMING and we take u k U k where U k = {,..., N } for k =,..., N 2 and U N = {t}. This DP problem is equivalent to the shortest path problem. In the DP formulation (9), we have a fixed number of stage N while p was variable in the shortest path problem formulation (8). We find the actual number of nodes in the optimal path by removing the repeated nodes in the solution of the DP problem. Let us consider the example above with s = and t = 6. The function f is given in the Figure 2. By using (6), we compute recursively the value of J k (i) for k =,..., 5 and i =,..., 6 and the result are given in Figure. For illustration purpose, we consider in details the computation of J 4 (). We have J 4 () = min(f(, x) + J 5 (x)). x Since f(, ) + J 5 ( ) = 2 + =, 0 we have J 4 () = 9. From the results in Figure, we get that the optimal length is J = J (s) = J () = 5. To find the optimal path, we have to solve (0) x k+ = argmin (f(x k, x) + J k (x)) x {,...,N} Hence, we get x =, x 2 =, x =, x 4 = 5, x 5 = 4, x 6 = 6. There is one repeated node (x = x 2 ). To compute the shortest path, a straightforward method is to consider all the path, compute the length of each of them and find the smallest. Since there are N nodes, there exist N 2 paths and we can roughly estimate by N N! the number of operation to compute all the lengths. The question is how this method compares with the DP algorithm. In the DP algorithm, we have to find the functions J k, that is, compute J k (x i ) for k =,..., N and i =,..., N (in total N N values to compute). To compute each J k (x i ), we need to solve a minimization problem which requires N operations. Finally, for the DP algorithm, we have a number of operations of order N. Since, for N large, N is smaller that N N!, the DP algorithm is computationally advantageous. However, it requires a lot of memory (all the J k have to be stored), which is not the case in the first approach Figure 2. The value of f(i, j) is given by the element (i, j) in the table.

7 DYNAMIC PROGRAMMING 7 J 5 J 4 J J 2 J Figure. Computation of J k (i) for k =,..., 5 and i =,..., 6

Lecture 4: Optimization. Maximizing a function of a single variable

Lecture 4: Optimization. Maximizing a function of a single variable Lecture 4: Optimization Maximizing or Minimizing a Function of a Single Variable Maximizing or Minimizing a Function of Many Variables Constrained Optimization Maximizing a function of a single variable

More information

Math Advanced Calculus II

Math Advanced Calculus II Math 452 - Advanced Calculus II Manifolds and Lagrange Multipliers In this section, we will investigate the structure of critical points of differentiable functions. In practice, one often is trying to

More information

Shortest paths with negative lengths

Shortest paths with negative lengths Chapter 8 Shortest paths with negative lengths In this chapter we give a linear-space, nearly linear-time algorithm that, given a directed planar graph G with real positive and negative lengths, but no

More information

Applications of Differentiation

Applications of Differentiation Applications of Differentiation Definitions. A function f has an absolute maximum (or global maximum) at c if for all x in the domain D of f, f(c) f(x). The number f(c) is called the maximum value of f

More information

The Principle of Optimality

The Principle of Optimality The Principle of Optimality Sequence Problem and Recursive Problem Sequence problem: Notation: V (x 0 ) sup {x t} β t F (x t, x t+ ) s.t. x t+ Γ (x t ) x 0 given t () Plans: x = {x t } Continuation plans

More information

The Interpretation of λ

The Interpretation of λ The Interpretation of λ Lecture 49 Section 7.5 Robb T. Koether Hampden-Sydney College Wed, Apr 26, 2017 Robb T. Koether (Hampden-Sydney College) The Interpretation of λ Wed, Apr 26, 2017 1 / 6 Objectives

More information

Applied Lagrange Duality for Constrained Optimization

Applied Lagrange Duality for Constrained Optimization Applied Lagrange Duality for Constrained Optimization February 12, 2002 Overview The Practical Importance of Duality ffl Review of Convexity ffl A Separating Hyperplane Theorem ffl Definition of the Dual

More information

3. Find the slope of the tangent line to the curve given by 3x y e x+y = 1 + ln x at (1, 1).

3. Find the slope of the tangent line to the curve given by 3x y e x+y = 1 + ln x at (1, 1). 1. Find the derivative of each of the following: (a) f(x) = 3 2x 1 (b) f(x) = log 4 (x 2 x) 2. Find the slope of the tangent line to f(x) = ln 2 ln x at x = e. 3. Find the slope of the tangent line to

More information

Kevin James. MTHSC 102 Section 4.3 Absolute Extreme Points

Kevin James. MTHSC 102 Section 4.3 Absolute Extreme Points MTHSC 102 Section 4.3 Absolute Extreme Points Definition (Relative Extreme Points and Relative Extreme Values) Suppose that f(x) is a function defined on an interval I (possibly I = (, ). 1 We say that

More information

Seminars on Mathematics for Economics and Finance Topic 5: Optimization Kuhn-Tucker conditions for problems with inequality constraints 1

Seminars on Mathematics for Economics and Finance Topic 5: Optimization Kuhn-Tucker conditions for problems with inequality constraints 1 Seminars on Mathematics for Economics and Finance Topic 5: Optimization Kuhn-Tucker conditions for problems with inequality constraints 1 Session: 15 Aug 2015 (Mon), 10:00am 1:00pm I. Optimization with

More information

Game Theory and its Applications to Networks - Part I: Strict Competition

Game Theory and its Applications to Networks - Part I: Strict Competition Game Theory and its Applications to Networks - Part I: Strict Competition Corinne Touati Master ENS Lyon, Fall 200 What is Game Theory and what is it for? Definition (Roger Myerson, Game Theory, Analysis

More information

Mathematical Economics: Lecture 16

Mathematical Economics: Lecture 16 Mathematical Economics: Lecture 16 Yu Ren WISE, Xiamen University November 26, 2012 Outline 1 Chapter 21: Concave and Quasiconcave Functions New Section Chapter 21: Concave and Quasiconcave Functions Concave

More information

Winter Lecture 10. Convexity and Concavity

Winter Lecture 10. Convexity and Concavity Andrew McLennan February 9, 1999 Economics 5113 Introduction to Mathematical Economics Winter 1999 Lecture 10 Convexity and Concavity I. Introduction A. We now consider convexity, concavity, and the general

More information

Optimization, Part 2 (november to december): mandatory for QEM-IMAEF, and for MMEF or MAEF who have chosen it as an optional course.

Optimization, Part 2 (november to december): mandatory for QEM-IMAEF, and for MMEF or MAEF who have chosen it as an optional course. Paris. Optimization, Part 2 (november to december): mandatory for QEM-IMAEF, and for MMEF or MAEF who have chosen it as an optional course. Philippe Bich (Paris 1 Panthéon-Sorbonne and PSE) Paris, 2016.

More information

where u is the decision-maker s payoff function over her actions and S is the set of her feasible actions.

where u is the decision-maker s payoff function over her actions and S is the set of her feasible actions. Seminars on Mathematics for Economics and Finance Topic 3: Optimization - interior optima 1 Session: 11-12 Aug 2015 (Thu/Fri) 10:00am 1:00pm I. Optimization: introduction Decision-makers (e.g. consumers,

More information

250 (headphones list price) (speaker set s list price) 14 5 apply ( = 14 5-off-60 store coupons) 60 (shopping cart coupon) = 720.

250 (headphones list price) (speaker set s list price) 14 5 apply ( = 14 5-off-60 store coupons) 60 (shopping cart coupon) = 720. The Alibaba Global Mathematics Competition (Hangzhou 08) consists of 3 problems. Each consists of 3 questions: a, b, and c. This document includes answers for your reference. It is important to note that

More information

Solving Dual Problems

Solving Dual Problems Lecture 20 Solving Dual Problems We consider a constrained problem where, in addition to the constraint set X, there are also inequality and linear equality constraints. Specifically the minimization problem

More information

Lecture 5: The Bellman Equation

Lecture 5: The Bellman Equation Lecture 5: The Bellman Equation Florian Scheuer 1 Plan Prove properties of the Bellman equation (In particular, existence and uniqueness of solution) Use this to prove properties of the solution Think

More information

Lakehead University ECON 4117/5111 Mathematical Economics Fall 2002

Lakehead University ECON 4117/5111 Mathematical Economics Fall 2002 Test 1 September 20, 2002 1. Determine whether each of the following is a statement or not (answer yes or no): (a) Some sentences can be labelled true and false. (b) All students should study mathematics.

More information

1 Lecture 25: Extreme values

1 Lecture 25: Extreme values 1 Lecture 25: Extreme values 1.1 Outline Absolute maximum and minimum. Existence on closed, bounded intervals. Local extrema, critical points, Fermat s theorem Extreme values on a closed interval Rolle

More information

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4 Do the following exercises from the text: Chapter (Section 3):, 1, 17(a)-(b), 3 Prove that 1 3 + 3 + + n 3 n (n + 1) for all n N Proof The proof is by induction on n For n N, let S(n) be the statement

More information

Maths 212: Homework Solutions

Maths 212: Homework Solutions Maths 212: Homework Solutions 1. The definition of A ensures that x π for all x A, so π is an upper bound of A. To show it is the least upper bound, suppose x < π and consider two cases. If x < 1, then

More information

The Envelope Theorem

The Envelope Theorem The Envelope Theorem In an optimization problem we often want to know how the value of the objective function will change if one or more of the parameter values changes. Let s consider a simple example:

More information

Dynamic Programming. Shuang Zhao. Microsoft Research Asia September 5, Dynamic Programming. Shuang Zhao. Outline. Introduction.

Dynamic Programming. Shuang Zhao. Microsoft Research Asia September 5, Dynamic Programming. Shuang Zhao. Outline. Introduction. Microsoft Research Asia September 5, 2005 1 2 3 4 Section I What is? Definition is a technique for efficiently recurrence computing by storing partial results. In this slides, I will NOT use too many formal

More information

EC9A0: Pre-sessional Advanced Mathematics Course. Lecture Notes: Unconstrained Optimisation By Pablo F. Beker 1

EC9A0: Pre-sessional Advanced Mathematics Course. Lecture Notes: Unconstrained Optimisation By Pablo F. Beker 1 EC9A0: Pre-sessional Advanced Mathematics Course Lecture Notes: Unconstrained Optimisation By Pablo F. Beker 1 1 Infimum and Supremum Definition 1. Fix a set Y R. A number α R is an upper bound of Y if

More information

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X. MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X. Notation 2 A set can be described using set-builder notation. That is, a set can be described

More information

Convex Analysis and Economic Theory Winter 2018

Convex Analysis and Economic Theory Winter 2018 Division of the Humanities and Social Sciences Ec 181 KC Border Convex Analysis and Economic Theory Winter 2018 Topic 7: Quasiconvex Functions I 7.1 Level sets of functions For an extended real-valued

More information

Division of the Humanities and Social Sciences. Supergradients. KC Border Fall 2001 v ::15.45

Division of the Humanities and Social Sciences. Supergradients. KC Border Fall 2001 v ::15.45 Division of the Humanities and Social Sciences Supergradients KC Border Fall 2001 1 The supergradient of a concave function There is a useful way to characterize the concavity of differentiable functions.

More information

Economics 205, Fall 2002: Final Examination, Possible Answers

Economics 205, Fall 2002: Final Examination, Possible Answers Economics 05, Fall 00: Final Examination, Possible Answers Comments on the Exam Grades: 43 possible; high: 413; median: 34; low: 36 I was generally happy with the answers to questions 3-8, satisfied with

More information

ECON 582: Dynamic Programming (Chapter 6, Acemoglu) Instructor: Dmytro Hryshko

ECON 582: Dynamic Programming (Chapter 6, Acemoglu) Instructor: Dmytro Hryshko ECON 582: Dynamic Programming (Chapter 6, Acemoglu) Instructor: Dmytro Hryshko Indirect Utility Recall: static consumer theory; J goods, p j is the price of good j (j = 1; : : : ; J), c j is consumption

More information

9/21/2018. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions

9/21/2018. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions How can we prove that a function f is one-to-one? Whenever you want to prove something, first take a look at the relevant definition(s): x, y A (f(x) = f(y) x = y) f:r R f(x) = x 2 Disproof by counterexample:

More information

DYNAMIC LECTURE 5: DISCRETE TIME INTERTEMPORAL OPTIMIZATION

DYNAMIC LECTURE 5: DISCRETE TIME INTERTEMPORAL OPTIMIZATION DYNAMIC LECTURE 5: DISCRETE TIME INTERTEMPORAL OPTIMIZATION UNIVERSITY OF MARYLAND: ECON 600. Alternative Methods of Discrete Time Intertemporal Optimization We will start by solving a discrete time intertemporal

More information

Convex analysis and profit/cost/support functions

Convex analysis and profit/cost/support functions Division of the Humanities and Social Sciences Convex analysis and profit/cost/support functions KC Border October 2004 Revised January 2009 Let A be a subset of R m Convex analysts may give one of two

More information

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0 8.7 Taylor s Inequality Math 00 Section 005 Calculus II Name: ANSWER KEY Taylor s Inequality: If f (n+) is continuous and f (n+) < M between the center a and some point x, then f(x) T n (x) M x a n+ (n

More information

Sections 4.1 & 4.2: Using the Derivative to Analyze Functions

Sections 4.1 & 4.2: Using the Derivative to Analyze Functions Sections 4.1 & 4.2: Using the Derivative to Analyze Functions f (x) indicates if the function is: Increasing or Decreasing on certain intervals. Critical Point c is where f (c) = 0 (tangent line is horizontal),

More information

minimize x subject to (x 2)(x 4) u,

minimize x subject to (x 2)(x 4) u, Math 6366/6367: Optimization and Variational Methods Sample Preliminary Exam Questions 1. Suppose that f : [, L] R is a C 2 -function with f () on (, L) and that you have explicit formulae for

More information

A guide to Proof by Induction

A guide to Proof by Induction A guide to Proof by Induction Adapted from L. R. A. Casse, A Bridging Course in Mathematics, The Mathematics Learning Centre, University of Adelaide, 1996. Inductive reasoning is where we observe of a

More information

Tutorial 3: Optimisation

Tutorial 3: Optimisation Tutorial : Optimisation ECO411F 011 1. Find and classify the extrema of the cubic cost function C = C (Q) = Q 5Q +.. Find and classify the extreme values of the following functions (a) y = x 1 + x x 1x

More information

Example 1: Inverse Functions Show that the functions are inverse functions of each other (if they are inverses, )

Example 1: Inverse Functions Show that the functions are inverse functions of each other (if they are inverses, ) p332 Section 5.3: Inverse Functions By switching the x & y coordinates of an ordered pair, the inverse function can be formed. (The domain and range switch places) Denoted by f 1 Definition of Inverse

More information

1 Markov decision processes

1 Markov decision processes 2.997 Decision-Making in Large-Scale Systems February 4 MI, Spring 2004 Handout #1 Lecture Note 1 1 Markov decision processes In this class we will study discrete-time stochastic systems. We can describe

More information

ACO Comprehensive Exam 19 March Graph Theory

ACO Comprehensive Exam 19 March Graph Theory 1. Graph Theory Let G be a connected simple graph that is not a cycle and is not complete. Prove that there exist distinct non-adjacent vertices u, v V (G) such that the graph obtained from G by deleting

More information

Econ 508-A FINITE DIMENSIONAL OPTIMIZATION - NECESSARY CONDITIONS. Carmen Astorne-Figari Washington University in St. Louis.

Econ 508-A FINITE DIMENSIONAL OPTIMIZATION - NECESSARY CONDITIONS. Carmen Astorne-Figari Washington University in St. Louis. Econ 508-A FINITE DIMENSIONAL OPTIMIZATION - NECESSARY CONDITIONS Carmen Astorne-Figari Washington University in St. Louis August 12, 2010 INTRODUCTION General form of an optimization problem: max x f

More information

CHAPTER I THE RIESZ REPRESENTATION THEOREM

CHAPTER I THE RIESZ REPRESENTATION THEOREM CHAPTER I THE RIESZ REPRESENTATION THEOREM We begin our study by identifying certain special kinds of linear functionals on certain special vector spaces of functions. We describe these linear functionals

More information

Structural Properties of Utility Functions Walrasian Demand

Structural Properties of Utility Functions Walrasian Demand Structural Properties of Utility Functions Walrasian Demand Econ 2100 Fall 2017 Lecture 4, September 7 Outline 1 Structural Properties of Utility Functions 1 Local Non Satiation 2 Convexity 3 Quasi-linearity

More information

Algorithms: COMP3121/3821/9101/9801

Algorithms: COMP3121/3821/9101/9801 NEW SOUTH WALES Algorithms: COMP3121/3821/9101/9801 Aleks Ignjatović School of Computer Science and Engineering University of New South Wales LECTURE 9: INTRACTABILITY COMP3121/3821/9101/9801 1 / 29 Feasibility

More information

Week 7 Solution. The two implementations are 1. Approach 1. int fib(int n) { if (n <= 1) return n; return fib(n 1) + fib(n 2); } 2.

Week 7 Solution. The two implementations are 1. Approach 1. int fib(int n) { if (n <= 1) return n; return fib(n 1) + fib(n 2); } 2. Week 7 Solution 1.You are given two implementations for finding the nth Fibonacci number(f Fibonacci numbers are defined by F(n = F(n 1 + F(n 2 with F(0 = 0 and F(1 = 1 The two implementations are 1. Approach

More information

Submodular Functions Properties Algorithms Machine Learning

Submodular Functions Properties Algorithms Machine Learning Submodular Functions Properties Algorithms Machine Learning Rémi Gilleron Inria Lille - Nord Europe & LIFL & Univ Lille Jan. 12 revised Aug. 14 Rémi Gilleron (Mostrare) Submodular Functions Jan. 12 revised

More information

Sample Mathematics 106 Questions

Sample Mathematics 106 Questions Sample Mathematics 106 Questions x 2 + 8x 65 (1) Calculate lim x 5. x 5 (2) Consider an object moving in a straight line for which the distance s (measured in feet) it s travelled from its starting point

More information

Kevin James. MTHSC 102 Section 4.2 Relative Extreme Points

Kevin James. MTHSC 102 Section 4.2 Relative Extreme Points MTHSC 102 Section 4.2 Relative Extreme Points Definition (Relative Extreme Points and Relative Extreme Values) Suppose that f(x) is a function defined on an interval I. 1 We say that f attains a relative

More information

MAT 122 Homework 7 Solutions

MAT 122 Homework 7 Solutions MAT 1 Homework 7 Solutions Section 3.3, Problem 4 For the function w = (t + 1) 100, we take the inside function to be z = t + 1 and the outside function to be z 100. The derivative of the inside function

More information

MTH 241: Business and Social Sciences Calculus

MTH 241: Business and Social Sciences Calculus MTH 241: Business and Social Sciences Calculus F. Patricia Medina Department of Mathematics. Oregon State University January 28, 2015 Section 2.1 Increasing and decreasing Definition 1 A function is increasing

More information

Slides II - Dynamic Programming

Slides II - Dynamic Programming Slides II - Dynamic Programming Julio Garín University of Georgia Macroeconomic Theory II (Ph.D.) Spring 2017 Macroeconomic Theory II Slides II - Dynamic Programming Spring 2017 1 / 32 Outline 1. Lagrangian

More information

Analysis III. Exam 1

Analysis III. Exam 1 Analysis III Math 414 Spring 27 Professor Ben Richert Exam 1 Solutions Problem 1 Let X be the set of all continuous real valued functions on [, 1], and let ρ : X X R be the function ρ(f, g) = sup f g (1)

More information

Chapter 5. Increasing and Decreasing functions Theorem 1: For the interval (a,b) f (x) f(x) Graph of f + Increases Rises - Decreases Falls

Chapter 5. Increasing and Decreasing functions Theorem 1: For the interval (a,b) f (x) f(x) Graph of f + Increases Rises - Decreases Falls Chapter 5 Section 5.1 First Derivative and Graphs Objectives: The student will be able to identify increasing and decreasing functions and local extrema The student will be able to apply the first derivative

More information

ASSIGNMENT 1 SOLUTIONS

ASSIGNMENT 1 SOLUTIONS MATH 271 ASSIGNMENT 1 SOLUTIONS 1. (a) Let S be the statement For all integers n, if n is even then 3n 11 is odd. Is S true? Give a proof or counterexample. (b) Write out the contrapositive of statement

More information

GARP and Afriat s Theorem Production

GARP and Afriat s Theorem Production GARP and Afriat s Theorem Production Econ 2100 Fall 2017 Lecture 8, September 21 Outline 1 Generalized Axiom of Revealed Preferences 2 Afriat s Theorem 3 Production Sets and Production Functions 4 Profits

More information

DEPARTMENT OF ECONOMICS DISCUSSION PAPER SERIES

DEPARTMENT OF ECONOMICS DISCUSSION PAPER SERIES ISSN 1471-0498 DEPARTMENT OF ECONOMICS DISCUSSION PAPER SERIES TESTING FOR PRODUCTION WITH COMPLEMENTARITIES Pawel Dziewulski and John K.-H. Quah Number 722 September 2014 Manor Road Building, Manor Road,

More information

An Application to Growth Theory

An Application to Growth Theory An Application to Growth Theory First let s review the concepts of solution function and value function for a maximization problem. Suppose we have the problem max F (x, α) subject to G(x, β) 0, (P) x

More information

LMI Methods in Optimal and Robust Control

LMI Methods in Optimal and Robust Control LMI Methods in Optimal and Robust Control Matthew M. Peet Arizona State University Lecture 02: Optimization (Convex and Otherwise) What is Optimization? An Optimization Problem has 3 parts. x F f(x) :

More information

(2) Let f(x) = 5x. (3) Say f (x) and f (x) have the following graphs. Sketch a graph of f(x). The graph of f (x) is: 3x 5

(2) Let f(x) = 5x. (3) Say f (x) and f (x) have the following graphs. Sketch a graph of f(x). The graph of f (x) is: 3x 5 The following review sheet is intended to help you study. It does not contain every type of problem you may see. It does not reflect the distribution of problems on the actual midterm. It probably has

More information

Choice under Uncertainty

Choice under Uncertainty In the Name of God Sharif University of Technology Graduate School of Management and Economics Microeconomics 2 44706 (1394-95 2 nd term) Group 2 Dr. S. Farshad Fatemi Chapter 6: Choice under Uncertainty

More information

Mathematics for Decision Making: An Introduction. Lecture 13

Mathematics for Decision Making: An Introduction. Lecture 13 Mathematics for Decision Making: An Introduction Lecture 13 Matthias Köppe UC Davis, Mathematics February 17, 2009 13 1 Reminder: Flows in networks General structure: Flows in networks In general, consider

More information

14 Increasing and decreasing functions

14 Increasing and decreasing functions 14 Increasing and decreasing functions 14.1 Sketching derivatives READING Read Section 3.2 of Rogawski Reading Recall, f (a) is the gradient of the tangent line of f(x) at x = a. We can use this fact to

More information

Name Vetter Midterm REVIEW January 2019

Name Vetter Midterm REVIEW January 2019 Name Vetter Midterm REVIEW January 2019 1. Name the property that justifies each step in the following equation: 3x + 1+ 2x 7 = x + 22 ( 3x + 2x + 1 7 = x + 22 ( (2) x(3 + 2) 6 = x+ 22 5x 6 = x+ 22 (3)

More information

Solve the equation for c: 8 = 9c (c + 24). Solve the equation for x: 7x (6 2x) = 12.

Solve the equation for c: 8 = 9c (c + 24). Solve the equation for x: 7x (6 2x) = 12. 1 Solve the equation f x: 7x (6 2x) = 12. 1a Solve the equation f c: 8 = 9c (c + 24). Inverse Operations 7x (6 2x) = 12 Given 7x 1(6 2x) = 12 Show distributing with 1 Change subtraction to add (-) 9x =

More information

Continuous Functions on Metric Spaces

Continuous Functions on Metric Spaces Continuous Functions on Metric Spaces Math 201A, Fall 2016 1 Continuous functions Definition 1. Let (X, d X ) and (Y, d Y ) be metric spaces. A function f : X Y is continuous at a X if for every ɛ > 0

More information

Higher-Degree Polynomial Functions. Polynomials. Polynomials

Higher-Degree Polynomial Functions. Polynomials. Polynomials Higher-Degree Polynomial Functions 1 Polynomials A polynomial is an expression that is constructed from one or more variables and constants, using only the operations of addition, subtraction, multiplication,

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should

More information

Differentiation. 1. What is a Derivative? CHAPTER 5

Differentiation. 1. What is a Derivative? CHAPTER 5 CHAPTER 5 Differentiation Differentiation is a technique that enables us to find out how a function changes when its argument changes It is an essential tool in economics If you have done A-level maths,

More information

lim sup f(x k ) d k < 0, {α k } K 0. Hence, by the definition of the Armijo rule, we must have for some index k 0

lim sup f(x k ) d k < 0, {α k } K 0. Hence, by the definition of the Armijo rule, we must have for some index k 0 Corrections for the book NONLINEAR PROGRAMMING: 2ND EDITION Athena Scientific 1999 by Dimitri P. Bertsekas Note: Many of these corrections have been incorporated in the 2nd Printing of the book. See the

More information

Numerical Sequences and Series

Numerical Sequences and Series Numerical Sequences and Series Written by Men-Gen Tsai email: b89902089@ntu.edu.tw. Prove that the convergence of {s n } implies convergence of { s n }. Is the converse true? Solution: Since {s n } is

More information

Suppose that f is continuous on [a, b] and differentiable on (a, b). Then

Suppose that f is continuous on [a, b] and differentiable on (a, b). Then Lectures 1/18 Derivatives and Graphs When we have a picture of the graph of a function f(x), we can make a picture of the derivative f (x) using the slopes of the tangents to the graph of f. In this section

More information

s P = f(ξ n )(x i x i 1 ). i=1

s P = f(ξ n )(x i x i 1 ). i=1 Compactness and total boundedness via nets The aim of this chapter is to define the notion of a net (generalized sequence) and to characterize compactness and total boundedness by this important topological

More information

4.1 Real-valued functions of a real variable

4.1 Real-valued functions of a real variable Chapter 4 Functions When introducing relations from a set A to a set B we drew an analogy with co-ordinates in the x-y plane. Instead of coming from R, the first component of an ordered pair comes from

More information

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema Chapter 7 Extremal Problems No matter in theoretical context or in applications many problems can be formulated as problems of finding the maximum or minimum of a function. Whenever this is the case, advanced

More information

4.2: What Derivatives Tell Us

4.2: What Derivatives Tell Us 4.2: What Derivatives Tell Us Problem Fill in the following blanks with the correct choice of the words from this list: Increasing, decreasing, positive, negative, concave up, concave down (a) If you know

More information

Chapter 3: Root Finding. September 26, 2005

Chapter 3: Root Finding. September 26, 2005 Chapter 3: Root Finding September 26, 2005 Outline 1 Root Finding 2 3.1 The Bisection Method 3 3.2 Newton s Method: Derivation and Examples 4 3.3 How To Stop Newton s Method 5 3.4 Application: Division

More information

Scheduling Markovian PERT networks to maximize the net present value: new results

Scheduling Markovian PERT networks to maximize the net present value: new results Scheduling Markovian PERT networks to maximize the net present value: new results Hermans B, Leus R. KBI_1709 Scheduling Markovian PERT networks to maximize the net present value: New results Ben Hermans,a

More information

Week 5 Lectures 13-15

Week 5 Lectures 13-15 Week 5 Lectures 13-15 Lecture 13 Definition 29 Let Y be a subset X. A subset A Y is open in Y if there exists an open set U in X such that A = U Y. It is not difficult to show that the collection of all

More information

Chapter 3. Differentiable Mappings. 1. Differentiable Mappings

Chapter 3. Differentiable Mappings. 1. Differentiable Mappings Chapter 3 Differentiable Mappings 1 Differentiable Mappings Let V and W be two linear spaces over IR A mapping L from V to W is called a linear mapping if L(u + v) = Lu + Lv for all u, v V and L(λv) =

More information

Math Practice Final - solutions

Math Practice Final - solutions Math 151 - Practice Final - solutions 2 1-2 -1 0 1 2 3 Problem 1 Indicate the following from looking at the graph of f(x) above. All answers are small integers, ±, or DNE for does not exist. a) lim x 1

More information

Review Exercise 2. 1 a Chemical A 5x+ Chemical B 2x+ 2y12 [ x+ Chemical C [ 4 12]

Review Exercise 2. 1 a Chemical A 5x+ Chemical B 2x+ 2y12 [ x+ Chemical C [ 4 12] Review Exercise a Chemical A 5x+ y 0 Chemical B x+ y [ x+ y 6] b Chemical C 6 [ ] x+ y x+ y x, y 0 c T = x+ y d ( x, y) = (, ) T = Pearson Education Ltd 08. Copying permitted for purchasing institution

More information

Ch3. Generating Random Variates with Non-Uniform Distributions

Ch3. Generating Random Variates with Non-Uniform Distributions ST4231, Semester I, 2003-2004 Ch3. Generating Random Variates with Non-Uniform Distributions This chapter mainly focuses on methods for generating non-uniform random numbers based on the built-in standard

More information

Course 212: Academic Year Section 1: Metric Spaces

Course 212: Academic Year Section 1: Metric Spaces Course 212: Academic Year 1991-2 Section 1: Metric Spaces D. R. Wilkins Contents 1 Metric Spaces 3 1.1 Distance Functions and Metric Spaces............. 3 1.2 Convergence and Continuity in Metric Spaces.........

More information

CHAPTER 3: OPTIMIZATION

CHAPTER 3: OPTIMIZATION John Riley 8 February 7 CHAPTER 3: OPTIMIZATION 3. TWO VARIABLES 8 Second Order Conditions Implicit Function Theorem 3. UNCONSTRAINED OPTIMIZATION 4 Necessary and Sufficient Conditions 3.3 CONSTRAINED

More information

Chapter 3 Continuous Functions

Chapter 3 Continuous Functions Continuity is a very important concept in analysis. The tool that we shall use to study continuity will be sequences. There are important results concerning the subsets of the real numbers and the continuity

More information

Distributed Optimization. Song Chong EE, KAIST

Distributed Optimization. Song Chong EE, KAIST Distributed Optimization Song Chong EE, KAIST songchong@kaist.edu Dynamic Programming for Path Planning A path-planning problem consists of a weighted directed graph with a set of n nodes N, directed links

More information

Mathematical Preliminaries for Microeconomics: Exercises

Mathematical Preliminaries for Microeconomics: Exercises Mathematical Preliminaries for Microeconomics: Exercises Igor Letina 1 Universität Zürich Fall 2013 1 Based on exercises by Dennis Gärtner, Andreas Hefti and Nick Netzer. How to prove A B Direct proof

More information

INSPECT Algebra I Summative Assessment Summary

INSPECT Algebra I Summative Assessment Summary and Quantity The Real System Quantities Seeing Structure in Use properties of rational and irrational numbers. Reason quantitatively and use units to solve problems. Interpret the structure of expressions.

More information

Constrained Optimization

Constrained Optimization Constrained Optimization Joshua Wilde, revised by Isabel Tecu, Takeshi Suzuki and María José Boccardi August 13, 2013 1 General Problem Consider the following general constrained optimization problem:

More information

Frank-Wolfe Method. Ryan Tibshirani Convex Optimization

Frank-Wolfe Method. Ryan Tibshirani Convex Optimization Frank-Wolfe Method Ryan Tibshirani Convex Optimization 10-725 Last time: ADMM For the problem min x,z f(x) + g(z) subject to Ax + Bz = c we form augmented Lagrangian (scaled form): L ρ (x, z, w) = f(x)

More information

Exercises NP-completeness

Exercises NP-completeness Exercises NP-completeness Exercise 1 Knapsack problem Consider the Knapsack problem. We have n items, each with weight a j (j = 1,..., n) and value c j (j = 1,..., n) and an integer B. All a j and c j

More information

A model for competitive markets

A model for competitive markets A model for competitive markets Manuela Girotti MATH 345 Differential Equations Contents 1 Competitive markets 1 1.1 Competitive market with only one good......................... 2 1.2 Competitive market

More information

CHAPTER 4: HIGHER ORDER DERIVATIVES. Likewise, we may define the higher order derivatives. f(x, y, z) = xy 2 + e zx. y = 2xy.

CHAPTER 4: HIGHER ORDER DERIVATIVES. Likewise, we may define the higher order derivatives. f(x, y, z) = xy 2 + e zx. y = 2xy. April 15, 2009 CHAPTER 4: HIGHER ORDER DERIVATIVES In this chapter D denotes an open subset of R n. 1. Introduction Definition 1.1. Given a function f : D R we define the second partial derivatives as

More information

6.254 : Game Theory with Engineering Applications Lecture 8: Supermodular and Potential Games

6.254 : Game Theory with Engineering Applications Lecture 8: Supermodular and Potential Games 6.254 : Game Theory with Engineering Applications Lecture 8: Supermodular and Asu Ozdaglar MIT March 2, 2010 1 Introduction Outline Review of Supermodular Games Reading: Fudenberg and Tirole, Section 12.3.

More information

Numerical Methods. V. Leclère May 15, x R n

Numerical Methods. V. Leclère May 15, x R n Numerical Methods V. Leclère May 15, 2018 1 Some optimization algorithms Consider the unconstrained optimization problem min f(x). (1) x R n A descent direction algorithm is an algorithm that construct

More information

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set 1 Mathematical Induction We assume that the set Z of integers are well defined, and we are familiar with the addition, subtraction, multiplication, and division. In particular, we assume the following

More information

Lecture 8: Basic convex analysis

Lecture 8: Basic convex analysis Lecture 8: Basic convex analysis 1 Convex sets Both convex sets and functions have general importance in economic theory, not only in optimization. Given two points x; y 2 R n and 2 [0; 1]; the weighted

More information

Graphs with few total dominating sets

Graphs with few total dominating sets Graphs with few total dominating sets Marcin Krzywkowski marcin.krzywkowski@gmail.com Stephan Wagner swagner@sun.ac.za Abstract We give a lower bound for the number of total dominating sets of a graph

More information

Tangent Plane. Nobuyuki TOSE. October 02, Nobuyuki TOSE. Tangent Plane

Tangent Plane. Nobuyuki TOSE. October 02, Nobuyuki TOSE. Tangent Plane October 02, 2017 The Equation of a plane Given a plane α passing through P 0 perpendicular to n( 0). For any point P on α, we have n PP 0 = 0 When P 0 has the coordinates (x 0, y 0, z 0 ), P 0 (x, y, z)

More information