Math 259 Winter Recitation Handout 9: Lagrange Multipliers

Similar documents
ANSWER KEY. (a) For each of the following partials derivatives, use the contour plot to decide whether they are positive, negative, or zero.

LECTURE 19 - LAGRANGE MULTIPLIERS

MATH Exam 2 Solutions November 16, 2015

MATH 105: Midterm #1 Practice Problems

Solutions to the problems from Written assignment 2 Math 222 Winter 2015

SOLUTIONS 2. PRACTICE EXAM 2. HOURLY. Problem 1) TF questions (20 points) Circle the correct letter. No justifications are needed.

Goals: To study constrained optimization; that is, the maximizing or minimizing of a function subject to a constraint (or side condition).

SYDE 112, LECTURE 34 & 35: Optimization on Restricted Domains and Lagrange Multipliers

Lecture 15. Global extrema and Lagrange multipliers. Dan Nichols MATH 233, Spring 2018 University of Massachusetts

Review guide for midterm 2 in Math 233 March 30, 2009

Name: ID: Section: Math 233 Exam 2. Page 1. This exam has 17 questions:

MATH 259 FINAL EXAM. Friday, May 8, Alexandra Oleksii Reshma Stephen William Klimova Mostovyi Ramadurai Russel Boney A C D G H B F E

WESI 205 Workbook. 1 Review. 2 Graphing in 3D

University of California, Berkeley Department of Mathematics 5 th November, 2012, 12:10-12:55 pm MATH 53 - Test #2

Exam 2 Summary. 1. The domain of a function is the set of all possible inputes of the function and the range is the set of all outputs.

Practice problems from old exams for math 233

11.7 Maximum and Minimum Values

Math 259 Winter Recitation Handout 6: Limits in Two Dimensions

FUNCTIONS OF SEVERAL VARIABLES AND PARTIAL DIFFERENTIATION

Math 2321 Review for Test 2 Fall 11

Calculus 3 Exam 2 31 October 2017

MATH Review Exam II 03/06/11

Definitions and claims functions of several variables

CHAPTER 11 PARTIAL DERIVATIVES

4 to find the dimensions of the rectangle that have the maximum area. 2y A =?? f(x, y) = (2x)(2y) = 4xy

Review Sheet for Math 230, Midterm exam 2. Fall 2006

266&deployment= &UserPass=b3733cde68af274d036da170749a68f6

Sect 4.5 Inequalities Involving Quadratic Function


Maxima and Minima. Chapter Local and Global extrema. 5.2 Continuous functions on closed and bounded sets Definition of global extrema

MULTI-VARIABLE OPTIMIZATION NOTES. 1. Identifying Critical Points

I II III IV V VI VII VIII IX X Total

Practice problems from old exams for math 233

Math 148 Exam III Practice Problems

1.6. QUADRIC SURFACES 53. Figure 1.18: Parabola y = 2x 2. Figure 1.19: Parabola x = 2y 2

Maxima and Minima. Terminology note: Do not confuse the maximum f(a, b) (a number) with the point (a, b) where the maximum occurs.

MATH 261 EXAM II PRACTICE PROBLEMS

MATH 253 Page 1 of 7 Student-No.: Midterm 2 November 16, 2016 Duration: 50 minutes This test has 4 questions on 7 pages, for a total of 40 points.

Lecture 4 : Monday April 6th

Review Problems. Calculus IIIA: page 1 of??

MATH 20C: FUNDAMENTALS OF CALCULUS II FINAL EXAM

MATH 8 FALL 2010 CLASS 27, 11/19/ Directional derivatives Recall that the definitions of partial derivatives of f(x, y) involved limits

Final Exam Review Problems. P 1. Find the critical points of f(x, y) = x 2 y + 2y 2 8xy + 11 and classify them.

Discussion 8 Solution Thursday, February 10th. Consider the function f(x, y) := y 2 x 2.

C.2 Equations and Graphs of Conic Sections

Math 233. Extrema of Functions of Two Variables Basics

MATH 234 THIRD SEMESTER CALCULUS

EXERCISES CHAPTER 11. z = f(x, y) = A x α 1. x y ; (3) z = x2 + 4x + 2y. Graph the domain of the function and isoquants for z = 1 and z = 2.

Mathematics 205 HWK 19b Solutions Section 16.2 p750. (x 2 y) dy dx. 2x 2 3

Examples: Find the domain and range of the function f(x, y) = 1 x y 2.

Section 15.3 Partial Derivatives

Test Yourself. 11. The angle in degrees between u and w. 12. A vector parallel to v, but of length 2.

Math 32, October 22 & 27: Maxima & Minima

PART I: Emmett s teacher asked him to analyze the table of values of a quadratic function to find key features. The table of values is shown below:

TILINGS at Berkeley Math Circle! Inspired by Activities of Julia Robinson Math Festival and Nina Cerutti and Leo B. of SFMC.

2.1 Partial Derivatives

7/26/2018 SECOND HOURLY PRACTICE I Maths 21a, O.Knill, Summer Name:

i + u 2 j be the unit vector that has its initial point at (a, b) and points in the desired direction. It determines a line in the xy-plane:

[f(t)] 2 + [g(t)] 2 + [h(t)] 2 dt. [f(u)] 2 + [g(u)] 2 + [h(u)] 2 du. The Fundamental Theorem of Calculus implies that s(t) is differentiable and

Section 7.2 Logarithmic Functions

We like to depict a vector field by drawing the outputs as vectors with their tails at the input (see below).

Partial Differentiation 1 Introduction

DIFFERENTIAL EQUATIONS. A principal model of physical phenomena.

Math 2411 Calc III Practice Exam 2

Chapter 5. Drawing a cube. 5.1 One and two-point perspective. Math 4520, Spring 2015

Part Design. Sketcher - Basic 1 13,0600,1488,1586(SP6)

Math 5BI: Problem Set 1 Linearizing functions of several variables

6.1 - Introduction to Periodic Functions

Section 14.3 Partial Derivatives

RECTANGULAR EQUATIONS OF CONICS. A quick overview of the 4 conic sections in rectangular coordinates is presented below.

11/2/2016 Second Hourly Practice I Math 21a, Fall Name:

(3,4) focus. y=1 directrix

This early Greek study was largely concerned with the geometric properties of conics.

This exam contains 9 problems. CHECK THAT YOU HAVE A COMPLETE EXAM.

Similarly, the point marked in red below is a local minimum for the function, since there are no points nearby that are lower than it:

Review for Mastery. Identifying Linear Functions

Autodesk Inventor 2016 Creating Sketches

Calculus I Handout: Curves and Surfaces in R 3. 1 Curves in R Curves in R 2 1 of 21

33. Riemann Summation over Rectangular Regions

BIG IDEA 1: Develop an understanding of and fluency with multiplication and division of fractions and decimals BIG IDEA 1:

Modeling a Rubik s Cube in 3D

Lesson 6.1 Linear Equation Review

11/1/2017 Second Hourly Practice 2 Math 21a, Fall Name:

Math for Economics 1 New York University FINAL EXAM, Fall 2013 VERSION A

Conic and Quadric Surface Lab page 4. NORTHEASTERN UNIVERSITY Department of Mathematics Fall 03 Conic Sections and Quadratic Surface Lab

Secondary Math Amplitude, Midline, and Period of Waves

Functions of several variables

11/18/2008 SECOND HOURLY FIRST PRACTICE Math 21a, Fall Name:

Unit 7 Partial Derivatives and Optimization

Math + 4 (Red) SEMESTER 1. { Pg. 1 } Unit 1: Whole Number Sense. Unit 2: Whole Number Operations. Unit 3: Applications of Operations

Analytic Geometry ةيليلحتلا ةسدنھلا

Chapter 9 Linear equations/graphing. 1) Be able to graph points on coordinate plane 2) Determine the quadrant for a point on coordinate plane

Analytic Geometry. The x and y axes divide the Cartesian plane into four regions called quadrants.

Math Final Exam - 6/11/2015

A slope of a line is the ratio between the change in a vertical distance (rise) to the change in a horizontal

1. Vector Fields. f 1 (x, y, z)i + f 2 (x, y, z)j + f 3 (x, y, z)k.

(d) If a particle moves at a constant speed, then its velocity and acceleration are perpendicular.

NUMBERS & OPERATIONS. 1. Understand numbers, ways of representing numbers, relationships among numbers and number systems.

Mathematics Test. Go on to next page

1. Let f(x, y) = 4x 2 4xy + 4y 2, and suppose x = cos t and y = sin t. Find df dt using the chain rule.

Transcription:

Math 259 Winter 2009 Recitation Handout 9: Lagrange Multipliers The method of Lagrange Multipliers is an excellent technique for finding the global maximum and global minimum values of a function f(x, y) when the values of x and y that need to be considered are subject to some form of constraint, usually expressed as an equation g(x, y) = 0. The image included here, for example, shows a graphical solution of the constrained optimization problem: Find the global maximum and global minimum of f(x, y) = x + y subject to the constraint x 2 + y 2 = 1 (or g(x, y) = x 2 + y 2 1 = 0). The constraint x 2 + y 2 = 1 can be visualized as a circle in the xy-plane which is then projected onto the graph of z = f(x, y) = x + y. The points we are looking for are the points on this projected circle that have the highest and lowest z-values. As indicated in the diagram, these are the global maximum z = 2 (which is attained at the point (x, y) = ( 2/2, 2/2)) and the global minimum z = 2 (which is attained at the point (x, y) = ( 2/2, 2/2)).

Steps in Solving a Problem Using Lagrange Multipliers To solve a Lagrange Multiplier problem to find the global maximum and global minimum of f(x, y) subject to the constraint g(x, y) = 0, you can find the following steps. Step 1: Step 2: Step 3: Step 4: Calculate the gradient vectors "f and "g. Write out the system of equations "f = # $ "g. Solve the system of equations to find all points (x, y) that satisfy "f = # $ "g and g(x, y) = 0. Evaluate f(x, y) at each of the points found in Step 3. The largest value of f obtained will be the global maximum and the smallest value of f obtained will be the global minimum. Example Find the global maximum and global minimum of f(x, y) = x 2 y subject to the constraint: Solution In this problem, g(x, y) = x 2 + y 2 3, so that: x 2 + y 2 = 3. "f =< 2xy,x 2 > and "g =< 2x,2y >. The system of equations "f = # $ "g is equivalent to: 2xy = 2λx and x 2 = 2λy. If λ = 0 then x 2 = 0 so that x = 0. Substituting this into the constraint equation given that y = ± 3. Next, if λ 0 then x 2 = 2y 2. Substituting this into the constraint equation gives y = ±1 and x = ± 2. The collection of points that solve the Lagrange multiplier equations and the values of the function f are summarized in the table given below. x y f(x, y) 2 1 2 2 1 2 2 1 2 2 1 2 0 3 0 0 3 0 The global maximum of f is 2 and the global minimum of f is 0. This problem and these points are illustrated on the next page.

Note that (as indicated by the table) the global maximum and global minimum are not attained at unique points. In Lagrange multiplier problems with a certain level of geometrical symmetry, it is common for the global maximum and global minimum of f to be attained at several points that satisfy g(x, y) = 0. Example In this example you will calculate the minimum distance from the rectangular hyperbola xy = 1 to the origin. (Because this problem probably appeals very strongly to your geometric intuition, you will have a good way to check if your final answer is correct.) Here is the problem expressed as a Lagrange multipliers problem: Find: The global minimum of f(x, y) = x 2 + y 2 subject to the constraint g(x, y) = xy 1 = 0.

Solution 1. Use the diagram provided below to explain why finding the global minimum of f(x, y) = x 2 + y 2 subject to the constraint g(x, y) = xy 1 = 0 will calculate the minimum distance between the hyperbola and the origin (0, 0). ( x, y) ( 0,0) x y =1 2. Calculate the two gradient vectors: "f = "g =

3. Create and solve the system of equations "f = # $ "g. 4. Copy the solutions of "f = # $ "g that you found in Question 3 into the table given below and evaluate f(x, y) = x 2 + y 2 at each point. x y f(x, y) 5. What is the minimum distance from the hyperbola to the point (0, 0)? Does this agree with your geometrical intuition?

Lagrange Multipliers in Three Dimensions When solving a Lagrange multiplier problem for a function with three input values, say f(x, y, z), and a constraint equation that also involves the three variables, say g(x, y, z) = 0, the steps that you carry out are exactly the same. However, now you will have one additional equation to solve, namely: "f "z = # $ "g "z. Example In this example you will solve a problem of classical geometry what is the volume of the largest rectangular box that can fit entirely within a given closed surface. In this case, the closed surface will be the ellipsoid: x 2 a + y 2 2 b + z2 2 c =1. 2 Solution 6. The object of this calculation will be to find the global maximum of the function: f ( x, y,z) = 8xyz. Use the diagram given below to explain why this formula will give the volume of a rectangular box that just fits inside the ellipsoid. (Hint: Use (x, y, z) to represent the coordinates of the point in the positive octant where the corner of the box touches the ellipsoid.)

7. What is the constraint function g(x, y, z) in this problem? 8. Calculate the two gradient vectors: "f = "g = 9. Create and solve the system of equations "f = # $ "g. (Additional space is provided on the next page.)

10. Copy the solutions of "f = # $ "g that you found in Question 3 into the table given below and evaluate f(x, y, z) at each point. x y z f(x, y, z)