MATH Lagrange multipliers in 3 variables Fall 2016

Similar documents
x 6 + λ 2 x 6 = for the curve y = 1 2 x3 gives f(1, 1 2 ) = λ actually has another solution besides λ = 1 2 = However, the equation λ

Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers

Constrained Optimization and Lagrange Multipliers

Lagrange multipliers October 2013

Lagrange multipliers 14.8

Math 209 (Fall 2007) Calculus III. Solution #5. 1. Find the minimum and maximum values of the following functions f under the given constraints:

Math 21a Tangent Lines and Planes Fall, What do we know about the gradient f? Tangent Lines to Curves in the Plane.

REVIEW I MATH 254 Calculus IV. Exam I (Friday, April 29) will cover sections

Math 21a Homework 22 Solutions Spring, 2014

Math 253, Section 102, Fall 2006 Practice Final Solutions

Updated: January 11, 2016 Calculus III Section Math 232. Calculus III. Brian Veitch Fall 2015 Northern Illinois University

1. Show that the rectangle of maximum area that has a given perimeter p is a square.

Math 113 Calculus III Final Exam Practice Problems Spring 2003

3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers

Paul's Online Math Notes Calculus III (Notes) / Applications of Partial Derivatives / Lagrange Multipliers Problems][Assignment Problems]

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines

Total. Math 2130 Practice Final (Spring 2017) (1) (2) (3) (4) (5) (6) (7) (8)

14.5 Directional Derivatives and the Gradient Vector

Dr. Allen Back. Aug. 27, 2014

Multivariate Calculus Review Problems for Examination Two

MATH 19520/51 Class 10

LECTURE 18 - OPTIMIZATION

. Tutorial Class V 3-10/10/2012 First Order Partial Derivatives;...

Let s write this out as an explicit equation. Suppose that the point P 0 = (x 0, y 0, z 0 ), P = (x, y, z) and n = (A, B, C).

we wish to minimize this function; to make life easier, we may minimize

Vectors. Section 1: Lines and planes

Section 2.1 Graphs. The Coordinate Plane

Multivariate Calculus: Review Problems for Examination Two

Lagrange Multipliers

Math 233. Lagrange Multipliers Basics

Winter 2012 Math 255 Section 006. Problem Set 7

(c) 0 (d) (a) 27 (b) (e) x 2 3x2

MATH 200 (Fall 2016) Exam 1 Solutions (a) (10 points) Find an equation of the sphere with center ( 2, 1, 4).

Bounded, Closed, and Compact Sets

Instructions and information

Three Dimensional Geometry. Linear Programming

Calculus III Meets the Final

Appendix E Calculating Normal Vectors

Math 241, Final Exam. 12/11/12.

= w. w u. u ; u + w. x x. z z. y y. v + w. . Remark. The formula stated above is very important in the theory of. surface integral.

MATH 2400, Analytic Geometry and Calculus 3

5 Day 5: Maxima and minima for n variables.

Daily WeBWorK, #1. This means the two planes normal vectors must be multiples of each other.

Quadric Surfaces. Philippe B. Laval. Today KSU. Philippe B. Laval (KSU) Quadric Surfaces Today 1 / 24

Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives

A small review, Second Midterm, Calculus 3, Prof. Montero 3450: , Fall 2008

Quadric Surfaces. Philippe B. Laval. Spring 2012 KSU. Philippe B. Laval (KSU) Quadric Surfaces Spring /

21-256: Lagrange multipliers

1.5 Equations of Lines and Planes in 3-D

Math 213 Exam 2. Each question is followed by a space to write your answer. Please write your answer neatly in the space provided.

d f(g(t), h(t)) = x dt + f ( y dt = 0. Notice that we can rewrite the relationship on the left hand side of the equality using the dot product: ( f

Meeting 1 Introduction to Functions. Part 1 Graphing Points on a Plane (REVIEW) Part 2 What is a function?

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

GEOMETRY IN THREE DIMENSIONS

Constrained extrema of two variables functions

Introduction to Functions of Several Variables

. 1. Chain rules. Directional derivative. Gradient Vector Field. Most Rapid Increase. Implicit Function Theorem, Implicit Differentiation

MAT175 Overview and Sample Problems

Review Exercise. 1. Determine vector and parametric equations of the plane that contains the

MAT203 OVERVIEW OF CONTENTS AND SAMPLE PROBLEMS

Let and be a differentiable function. Let Then be the level surface given by

1.6 Quadric Surfaces Brief review of Conic Sections 74 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. Figure 1.18: Parabola y = 2x 2

EXTRA-CREDIT PROBLEMS ON SURFACES, MULTIVARIABLE FUNCTIONS AND PARTIAL DERIVATIVES

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives

SPM Add Math Form 5 Chapter 3 Integration

18.02 Final Exam. y = 0

12.7 Tangent Planes and Normal Lines

Grad operator, triple and line integrals. Notice: this material must not be used as a substitute for attending the lectures

The Three Dimensional Coordinate System

6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z.

Lecture 2 - Introduction to Polytopes

Solution of final examination

30. Constrained Optimization

1 EquationsofLinesandPlanesin 3-D

Math 233. Lagrange Multipliers Basics

Worksheet 2.1: Introduction to Multivariate Functions (Functions of Two or More Independent Variables)

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

302 CHAPTER 3. FUNCTIONS OF SEVERAL VARIABLES. 4. Function of several variables, their domain. 6. Limit of a function of several variables

LINEAR ALGEBRA AND VECTOR ANALYSIS MATH 22A

Math 326 Assignment 3. Due Wednesday, October 17, 2012.

7/28/2011 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2011

22. LECTURE 22. I can define critical points. I know the difference between local and absolute minimums/maximums.

1. Suppose that the equation F (x, y, z) = 0 implicitly defines each of the three variables x, y, and z as functions of the other two:

Functions of Several Variables

Sec 4.1 Coordinates and Scatter Plots. Coordinate Plane: Formed by two real number lines that intersect at a right angle.

MATH2111 Higher Several Variable Calculus Lagrange Multipliers

Chapter 15: Functions of Several Variables

Review for Mastery Using Graphs and Tables to Solve Linear Systems

Math 414 Lecture 2 Everyone have a laptop?

Worksheet 2.7: Critical Points, Local Extrema, and the Second Derivative Test

Answer sheet: Second Midterm for Math 2339

MATH 2023 Multivariable Calculus

Second Midterm Exam Math 212 Fall 2010

A Short SVM (Support Vector Machine) Tutorial

Gradient and Directional Derivatives

MATH 230 FALL 2004 FINAL EXAM DECEMBER 13, :20-2:10 PM

Practice problems. 1. Given a = 3i 2j and b = 2i + j. Write c = i + j in terms of a and b.

Optimization problems with constraints - the method of Lagrange multipliers

Linear Transformations

OPERATIONS RESEARCH. Linear Programming Problem

Transcription:

MATH 20550 Lagrange multipliers in 3 variables Fall 2016 1. The one constraint they The problem is to find the extrema of a function f(x, y, z) subject to the constraint g(x, y, z) = c. The book gives a derivation of the they below, but here is a second way to understand the result. Parametrize the constraint surface r(s, t) so g ( r(s, t) ) = c. Then we want to study the extrema of the function h(s, t) = f ( r(s, t) ). As we saw, this involves locating the critical points of h, the points where h = 0. h(s, t) = f ( r(s, t) ) The immediate problem is that we don t know, f ( r(s, t) ) = 0, but we know they are perpen- dicular to the gradient of g. The critical point equation says f is also perpendicular to and and since we are in three dimensions, the critical points of h occur when (1) f = λ g This is not quite right since it is possible that g might vanish at point on the constraint surface and these could be critical points of h. To be sure you have all the critical points, find all solutions to f = λ g and all solutions to g = 0 that lie on the critical surface. This wks in any number of variables, not just 2 3. In this course we will not pursue how to determine what st of critical point we have: local extrema, saddle point not sure. 2. The two constraint they In max/min problems one often has a boundary. We dealt with this situation in two ways. First we parametrized the boundary curve and did one variable max/min they on it. This still wks. F the second method we introduced Lagrange multipliers in two variables. The cresponding method here is to require the boundary curve to be the intersection of two constraint surfaces, g 1 (x, y, z) = c 1 and g 2 (x, y, z) = c 2. If you parametrize the intersection curve by r(t) you need to compute h (t) where h = f ( r(t) ). h (t) = f ( r(t) ) r (t) 1

2 ( ) Recall r is parallel to g 1 g 2 so the triple scalar product vanishes at the critical points det z z = 0 z If we agree that the preferred direction on the curve is the direction given by g 1 g 2, then the determinant in ( ) is positive if f is increasing along the curve in the preferred direction negative if f is decreasing along the curve in the preferred direction 0 if we have a critical point of f ( r (t) ). If you have had me linear algebra you would know that this means either that f = λ g 1 + µ g 2 that you are at a critical point of g i which lies on g i (x, y, z) = c i. As in the one constraint case, in this course we will not pursue how to determine what st of critical point we have: local extrema not sure. 3. Some topology Since we have no methods f analyzing what st of critical points we have we need to fall back on the result that any continuous function on a closed bounded set has a minimum value and a maximum value and if the function is differentiable these must occur at critical points. We will sometimes use a special result f distance functions, and hence squares of distance functions, which says that the distance function from a point to any set closed set has a minimum. Hence to find the minimum value, write down a list which includes the critical points and plug in these into f. The smallest number you see is the minimum value. You can find the maximum value similarly. Meditate on how dangerous this method is if your list does not contain all the critical points. Here are some useful results to determine if you are wking on a closed bounded set. Level sets of continuous functions are closed. The intersection of closed sets is closed. The union of a finite number of closed sets is closed. These results have the practical consequence of implying that the sets that come up in Lagrange multipliers are closed. A subset of a bounded set is bounded. The intersection of bounded sets is bounded. The union of a finite number of bounded sets is bounded. A subset is bounded if and only if it is bounded in each codinate. Bounded is me problematic: x 2 + y 2 = 1 is bounded, xy = 1 is not. Lines and planes are never bounded.

4. Examples Find the minimum distance from a point (x 0, y 0, z 0 ) to the plane ax + by + cz + d = 0. As usual we can minimize the distance squared so f(x, y, z) = (x x 0 ) 2 + (y y 0 ) 2 + (z z 0 ) 2 and g(x, y, z) = ax + by + cz + d so the constriant surface is g = 0. g = a, b, c and f = 2(x x 0 ), 2(y y 0 ), 2(z z 0 ) so 2(x x 0 ) = λa 2(y y 0 ) = λb 2(z z 0 ) = λc ax + by + cz + d = 0 x = x 0 + λ 2 a y = y 0 + λ 2 b z = z 0 + λ 2 c ax + by + cz + d = 0 so (ax 0 + λ2 ) a2 + (by 0 + λ2 ) b2 + (cz 0 + λ2 ) c2 + d = 0 Hence so at the critical point ax 0 + by 0 + cz 0 + d + λ 2 (a2 + b 2 + c 2 ) = 0 λ = 2(ax 0 + by 0 + cz 0 + d) x = x 0 a ax 0 + by 0 + cz 0 + d y = y 0 b ax 0 + by 0 + cz 0 + d z = z 0 c ax 0 + by 0 + cz 0 + d f(x, y, z) = a 2 (ax 0 + by 0 + cz 0 + d) 2 + b 2 (ax 0 + by 0 + cz 0 + d) 2 + c 2 (ax 0 + by 0 + cz 0 + d) 2 ( ) 2 ( ) 2 ( ) 2 Hence the distance is f(x, y, z) = (ax 0 + by 0 + cz 0 + d) 2 ax 0 + by 0 + cz 0 + d a2 + b 2 + c 2 3

4 Maximize f(x, y, z) = 4y 2z subject to g 1 (x, y, z) = 2x y z = 2 and g 2 (x, y, z) = x 2 + y 2 = 1. Since x 2 +y 2 = 1, the x and y codinates of the intersection curve are bounded. Since 2x y z = 2, the z codinate of the intersection curve is also bounded. Hence the intersection curve is closed and bounded. f = 0, 4, 2 g 1 = 2, 1, 1 g 2 = 2x, 2y, 0 2x y z = 2 x 2 + y 2 = 1 Hence 0 = 2λ + 2µx 4 = λ + 2µy 2 = λ 2x y z = 2 x 2 + y 2 = 1 Hence x = 2 µ, y = 3 µ. Then 4 µ 2 + 9 µ 2 = 1 so µ = ±. If µ =, x = 2, y = 3 and finally z = 2 7 If µ =, x = 2, y = 3 and finally z = 2 + 7 f f ( 2, 3, 2 7 ) = 4 + 26 ( 2, 3, 2 + 7 ) = 4 26 I do not get full marks f the exposition above! Befe you scroll down to the next page you might want to think about why not.

The problem comes when I wrote x = 2 µ, y = 3 µ. This assumes µ 0 and if there are critical points with µ = 0 I may have lost them. This is germane to the meditation in 3. However, I did get the right answer this time since if µ = 0, 0 = 2λ + 2µx implies λ = 0 and we already know λ = 2. This contradiction implies µ 0. 5