Lecture 9: Implicit function theorem, constrained extrema and Lagrange multipliers

Similar documents
Optimization using Calculus. Optimization of Functions of Multiple Variables subject to Equality Constraints

MATH529 Fundamentals of Optimization Constrained Optimization I

HOMEWORK 7 SOLUTIONS

Mechanical Systems II. Method of Lagrange Multipliers

Partial Derivatives. w = f(x, y, z).

Math 212-Lecture Interior critical points of functions of two variables

Math 210, Final Exam, Spring 2012 Problem 1 Solution. (a) Find an equation of the plane passing through the tips of u, v, and w.

Lagrange Multipliers

MATH2070 Optimisation

Lagrange Multipliers

Lecture 4: Partial and Directional derivatives, Differentiability

Introduction to the Calculus of Variations

Lecture Notes for Chapter 12

Lagrange multipliers. Portfolio optimization. The Lagrange multipliers method for finding constrained extrema of multivariable functions.

MATH Midterm 1 Sample 4

Higher order derivative

Math 10C - Fall Final Exam

Lagrange Multipliers

Lecture 8: Maxima and Minima

Solutions to Homework 7

EC /11. Math for Microeconomics September Course, Part II Lecture Notes. Course Outline

LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017

Calculus Overview. f(x) f (x) is slope. I. Single Variable. A. First Order Derivative : Concept : measures slope of curve at a point.

Lecture 13 - Wednesday April 29th

Taylor Series and stationary points

Multivariable Calculus and Matrix Algebra-Summer 2017

Lagrangian Duality. Richard Lusby. Department of Management Engineering Technical University of Denmark

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

Extrema of Functions of Several Variables

APPM 2350 FINAL EXAM FALL 2017

Partial Derivatives Formulas. KristaKingMath.com

DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS. MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 2018

Maxima and Minima. (a, b) of R if

3.7 Constrained Optimization and Lagrange Multipliers

E 600 Chapter 4: Optimization

Solutions to old Exam 3 problems

Lecture 11: Arclength and Line Integrals

Optimization Methods: Optimization using Calculus - Equality constraints 1. Module 2 Lecture Notes 4

Practice Midterm 2 Math 2153

MATH H53 : Final exam

Math 234 Final Exam (with answers) Spring 2017

Name: Instructor: Lecture time: TA: Section time:

II. An Application of Derivatives: Optimization

Math 210, Final Exam, Fall 2010 Problem 1 Solution. v cosθ = u. v Since the magnitudes of the vectors are positive, the sign of the dot product will

1 Lagrange Multiplier Method

Calculus of Variations Summer Term 2014

Final Exam Advanced Mathematics for Economics and Finance

(Most of the material presented in this chapter is taken from Thornton and Marion, Chap. 6)

3. Minimization with constraints Problem III. Minimize f(x) in R n given that x satisfies the equality constraints. g j (x) = c j, j = 1,...

z 2 = 1 4 (x 2) + 1 (y 6)

Faculty of Engineering, Mathematics and Science School of Mathematics

39.1 Absolute maxima/minima

Examination paper for TMA4180 Optimization I

SOLUTIONS TO THE FINAL EXAM. December 14, 2010, 9:00am-12:00 (3 hours)

Math 210, Final Exam, Spring 2010 Problem 1 Solution

Math Maximum and Minimum Values, I

Linearization and Extreme Values of Functions

This exam will be over material covered in class from Monday 14 February through Tuesday 8 March, corresponding to sections in the text.

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the

Chapter 3: Constrained Extrema

Practice problems for Exam 1. a b = (2) 2 + (4) 2 + ( 3) 2 = 29

Robotics. Islam S. M. Khalil. November 15, German University in Cairo

6.1 Matrices. Definition: A Matrix A is a rectangular array of the form. A 11 A 12 A 1n A 21. A 2n. A m1 A m2 A mn A 22.

ENGI Partial Differentiation Page y f x

Math 265H: Calculus III Practice Midterm II: Fall 2014

Optimal control problems with PDE constraints

MATH 228: Calculus III (FALL 2016) Sample Problems for FINAL EXAM SOLUTIONS

g(x,y) = c. For instance (see Figure 1 on the right), consider the optimization problem maximize subject to

8. Constrained Optimization

Constrained optimization.

ECON 186 Class Notes: Optimization Part 2

MATH20132 Calculus of Several Variables. 2018

Implicit Functions, Curves and Surfaces

Convex Optimization. Lecture 12 - Equality Constrained Optimization. Instructor: Yuanzhang Xiao. Fall University of Hawaii at Manoa

Basics of Calculus and Algebra

Physics 6010, Fall 2016 Constraints and Lagrange Multipliers. Relevant Sections in Text:

Optimization: Problem Set Solutions

Optimization. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Optimization 1 / 30

Tangent spaces, normals and extrema

Method of Lagrange Multipliers

3 Applications of partial differentiation

Lagrangian Duality. Evelien van der Hurk. DTU Management Engineering

MTH4100 Calculus I. Week 6 (Thomas Calculus Sections 3.5 to 4.2) Rainer Klages. School of Mathematical Sciences Queen Mary, University of London

Unit #24 - Lagrange Multipliers Section 15.3

APPM 1350 Exam 2 Fall 2016

Solution Methods. Richard Lusby. Department of Management Engineering Technical University of Denmark

Ph.D. Katarína Bellová Page 1 Mathematics 2 (10-PHY-BIPMA2) EXAM - Solutions, 20 July 2017, 10:00 12:00 All answers to be justified.

Computation. For QDA we need to calculate: Lets first consider the case that

Announcements. Topics: Homework: - sections , 6.1 (extreme values) * Read these sections and study solved examples in your textbook!

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

EC /11. Math for Microeconomics September Course, Part II Problem Set 1 with Solutions. a11 a 12. x 2

The University of British Columbia Midterm 1 Solutions - February 3, 2012 Mathematics 105, 2011W T2 Sections 204, 205, 206, 211.

AP Calculus 2004 AB FRQ Solutions

SECTION C: CONTINUOUS OPTIMISATION LECTURE 9: FIRST ORDER OPTIMALITY CONDITIONS FOR CONSTRAINED NONLINEAR PROGRAMMING

Link lecture - Lagrange Multipliers

First-Order ODE: Separable Equations, Exact Equations and Integrating Factor

Generalization to inequality constrained problem. Maximize

Exercises for Multivariable Differential Calculus XM521

Topic III.2: Maximum Entropy Models

Practice problems **********************************************************

Transcription:

Lecture 9: Implicit function theorem, constrained extrema and Lagrange multipliers Rafikul Alam Department of Mathematics IIT Guwahati

What does the Implicit function theorem say? Let F : R 2 R be C 1. Consider the curve V(F ) := {(x, y) R 2 : F (x, y) = 0}. Does there exist f : R R such that V (F ) = Graph(f )? Equivalently, can F (x, y) = 0 be solved either for x or for y? Considering F (x, y) := x 2 + y 2 1, it follows that F (x, y) = 0 cannot be solved for y or x. The implicit function theorem says that if F (a, b) = 0 and F (a, b) (0, 0) then in a neighbourhood of (a, b), we have for some function f. V(F ) = Graph(f )

Implicit function theorem Theorem: Let F : U R 2 R be C 1, where U is open. Consider the curve V(F ) := {(x, y) U : F (x, y) = 0}. Let (a, b) V(F ). Suppose that y F (a, b) 0. Then there exists r > 0 and a C 1 function g : (a r, a + r) R such that F (x, g(x)) = 0 for x (a r, a + r). For W := (a r, a + r) (b r, b + r), we have W V(F ) = Graph(g). Further, x F (a, b) + y F (a, b)g (a) = 0.

Implicit derivative Thus if y f (a, b) 0 then in some disk about (a, b) the set of points (x, y) satisfying F (x, y) = 0 is the graph of a function y = g(x) with dy dx x=a = g (a) = F x (a, b)/f y (a, b). Example: Consider F (x, y) := e x 2+(y 1)2 1 and the equation F (x, y) = 0. Then F (2, 1) = 0, x F (2, 1) = 1, and y F (2, 1) = 0. Hence x = g(y) for some C 1 function g : (2 r, 2 + r) R. Moreover, g (1) = 0.

Implicit function theorem for F : R n R Let F : R n R R be C 1, where U is open. Consider the curve V(F ) := {(x U : F (x, y) = 0}. Let (a, b) V(F ). Suppose that y F (a, b) 0. Then there exists r > 0 and a C 1 function g : B(a, r) R such that F (x, g(x)) = 0 for x B(a, r). For W := B(a, r) (b r, b + r), we have W V(F ) = Graph(g). Further, i F (a, b) + y F (a, b) i g(a) = 0, i = 1, 2,..., n

Constrained extrema of f : R n R Let U R n be open and f, g : U R n R be continuous. Then Maximize or Minimize f (x) Subject to the constraint g(x) = α. Example: Find the extreme values of f (x, y) = x 2 y 2 along the circle x 2 + y 2 = 1. It turns out that f attains maximum at (0, ±1) and minimum at (±1, 0) although f (0, ±1) 0 and f (±1, 0) 0.

Test for constrained extrema of f : R 2 R Theorem: Let f, g : U R 2 R be C 1. Suppose that f has an extremum at (a, b) U such that g(a, b) = α and that g(a, b) (0, 0). Then there is a λ R, called Lagrange multiplier, such that f (a, b) = λ g(a, b). Proof: Let r(t) be a local parametrization of the curve g(x, y) = α such that r(0) = (a, b). Then f (r(t)) has an extremum at t = 0. Therefore df (r(t)) t=0 = f (a, b) r (0) = 0. dt Now g(r(t)) = α g(a, b) r (0) = 0. This shows that r (0) g(a, b) and r (0) f (a, b). Hence f (a, b) = λ g(a, b) for some λ R.

Method of Lagrange multipliers for f : R 2 R To find extremum of f subject to the constraint g(x, y) = α, define L(x, y, λ) := f (x, y) λ(g(x, y) α) and solve the equations L x L y L λ = 0 f x = λ g x, = 0 f y = λ g y, = 0 g(x, y) = α. The auxiliary function L(x, y, λ) is called Lagrangian which converts constrained extrema to unconstrained extrema. Critical points of L are eligible solutions for constrained extrema.

Example Find the extreme values of f (x, y) = x 2 y 2 along the circle x 2 + y 2 = 1. The equations f x = λg x, f y = λg y and g(x, y) = 1 give 2x = λ2x, 2y = λ2y and x 2 + y 2 = 1. The first equation shows either x = 0 or λ = 1. If x = 0 then y = ±1 λ = 1. Thus (x, y, λ) := (0, ±1, 1) are eligible solutions. If λ = 1 then y = 0 x = ±1. Thus (x, y, λ) := (±1, 0, 1) are also eligible solutions. Now f (0, 1) = f (0, 1) = 1 and f (1, 0) = f ( 1, 0) = 1 so that minimum and maximum values are 1 and 1.

Finding global extrema of f : R 2 R Let f : R 2 R and U R 2 be a region with smooth closed boundary curve C. To find global emtremum of f in U : Locate all critical points of f in U. Find eligible global extremum of f on the curve C by using Lagrange multipliers or parametrization. Choose points among eligible solutions in C and the critical points at which f attains extreme values. These extreme values are global extremum.

Example: global extrema Find global maximum and global minimum of the function f (x, y) := (x 2 + y 2 )/2 such that x 2 /2 + y 2 1. Since f x = x and f y = y, (0, 0) is the only critical point. Next, consider L(x, y, λ) := (x 2 + y 2 )/2 λ(x 2 /2 + y 2 1). Then Lagrange multiplier equations are x = λx, y = 2λy, x 2 /2 + y 2 = 1. If x = 0 then y = ±1 and λ = 1/2. If y = 0 then x = ± 2 and λ = 1. If xy 0 then λ = 1 and λ = 1/2 -which is not possible. Thus (0, ±1) and (± 2, 0) are eligible solutions for the boundary curve. We have f (0, ±1) = 1/2, f (± 2, 0) = 1 and f (0, 0) = 0.

Test for constrained extrema of f : R n R Theorem: Let f, g : U R n R be C 1. Suppose that f has an extremum at p U such that g(p) = α and g(p) 0. Then there is a λ R such that f (p) = λ g(p). Proof: Implicit function theorem converts constrained extremum to unconstrained extremum in a neighbourhood of p. We omit the proof. If g(x) = α is a closed surface then global extremum is obtained by finding all points where f (x) = λ g(x) and choosing those where f is largest or smallest. The Lagrangian is given by L(x, λ) := f (x) λ(g(x) α). So, the multiplier equations are L(x, λ) = 0.

Example Maximize the function f (x, y, z) := x + z subject to the constraint x 2 + y 2 + z 2 = 1. The multiplier equations are 1 = 2xλ, 0 = 2yλ, 1 = 2zλ, x 2 + y 2 + z 2 = 1. From first and 3rd equation, λ 0. Thus, by second equation, y = 0. By first and 3rd equations x = z x = z = ±1/ 2. Hence p := (1/ 2, 0, 1/ 2) and q := ( 1/ 2, 0, 1/ 2) are eligible solutions. This shows that f (p) = 2 and f (q) = 2. *** End ***