Math 233. Extrema of Functions of Two Variables Basics

Similar documents
11.7 Maximum and Minimum Values

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:

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

Lecture 19 - Partial Derivatives and Extrema of Functions of Two Variables

MULTI-VARIABLE OPTIMIZATION NOTES. 1. Identifying Critical Points

MATH 105: Midterm #1 Practice Problems

Math 32, October 22 & 27: Maxima & Minima

CHAPTER 11 PARTIAL DERIVATIVES

18.3. Stationary Points. Introduction. Prerequisites. Learning Outcomes

Math 148 Exam III Practice Problems

Functions of several variables

Unit 7 Partial Derivatives and Optimization

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

MATH Exam 2 Solutions November 16, 2015

2.1 Partial Derivatives

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

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

Math 2411 Calc III Practice Exam 2

[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

Practice problems from old exams for math 233

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

Partial Differentiation 1 Introduction

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

FUNCTIONS OF SEVERAL VARIABLES AND PARTIAL DIFFERENTIATION

The Chain Rule, Higher Partial Derivatives & Opti- mization

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

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

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

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.

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


Free extrema of two variables functions

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

Calculus 3 Exam 2 31 October 2017

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

14.7 Maximum and Minimum Values

Instructions: Good luck! Math 21a Second Midterm Exam Spring, 2009

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

Math 232. Calculus III Limits and Continuity. Updated: January 13, 2016 Calculus III Section 14.2

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

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

Independence of Path and Conservative Vector Fields

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

Section 15.3 Partial Derivatives

Section 14.3 Partial Derivatives

Calculus II Fall 2014

11.2 LIMITS AND CONTINUITY

Practice problems from old exams for math 233

Exam 2 Review Sheet. r(t) = x(t), y(t), z(t)

Math 259 Winter Recitation Handout 6: Limits in Two Dimensions

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.

Mock final exam Math fall 2007

Review Problems. Calculus IIIA: page 1 of??

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

Definitions and claims functions of several variables

MATH 261 EXAM II PRACTICE PROBLEMS

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

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

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

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.

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:

Section 7.2 Logarithmic Functions

Math 2321 Review for Test 2 Fall 11

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

MATH 20C: FUNDAMENTALS OF CALCULUS II FINAL EXAM

Math 259 Winter Recitation Handout 9: Lagrange Multipliers

Review #Final Exam MATH 142-Drost

Calculus of Several Variables

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

14.2 Limits and Continuity

F13 Study Guide/Practice Exam 3

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

Math Final Exam - 6/11/2015

14.4. Tangent Planes. Tangent Planes. Tangent Planes. Tangent Planes. Partial Derivatives. Tangent Planes and Linear Approximations

MATH Review Exam II 03/06/11

4 The Cartesian Coordinate System- Pictures of Equations

MATH 234 THIRD SEMESTER CALCULUS

Sect 4.5 Inequalities Involving Quadratic Function

Lesson 16. Opening Exploration A Special Case

(3,4) focus. y=1 directrix

266&deployment= &UserPass=b3733cde68af274d036da170749a68f6

Exam 1 Study Guide. Math 223 Section 12 Fall Student s Name

MATH 12 CLASS 9 NOTES, OCT Contents 1. Tangent planes 1 2. Definition of differentiability 3 3. Differentials 4

Double Integrals over More General Regions

Multivariate Calculus

10.1 Curves defined by parametric equations

Independent of path Green s Theorem Surface Integrals. MATH203 Calculus. Dr. Bandar Al-Mohsin. School of Mathematics, KSU 20/4/14

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

VectorPlot[{y^2-2x*y,3x*y-6*x^2},{x,-5,5},{y,-5,5}]

Math 206 First Midterm February 1, 2012

Lesson 3A. Opening Exercise. Identify which dilation figures were created using r = 1, using r > 1, and using 0 < r < 1.

33. Riemann Summation over Rectangular Regions

REVIEW SHEET FOR MIDTERM 2: ADVANCED

I II III IV V VI VII VIII IX X Total

Differentiable functions (Sec. 14.4)

Limits and Continuity

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

2.3: The Human Cannonball

Roots of Quadratic Functions

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

Transcription:

Math 233. Extrema of Functions of Two Variables Basics Theorem (Extreme Value Theorem) Let f be a continuous function of two variables x and y defined on a closed bounded region R in the xy-plane. Then f attains its maximum and minimum value on R. Example 1.(a) Let R = {(x, y) : 1/2 x 1, 0 y 1}. The function f(x, y) = 1/x 2 + y 3 is continuous on R so it has a maximum and minimum on R because R is a closed and bounded region. Let R = {(x, y) : 0 < x < 1, 0 y 1}. The function f(x, y) = 1/x 2 + y 3 is continuous on R, but R is not closed so there is no guaranted that f has a maximum and minimum (or even that f is bounded) on R. (Relative Extrema) Let f be a function defined on a region R containing (x 0, y 0 ). (a) The function f has a relative minimum at (x 0, y 0 ) if f(x, y) f(x 0, y 0 ) for all (x, y) in an open disk containing (x 0, y 0 ). (b) The function f has a relative maximum at (x 0, y 0 ) if f(x, y) f(x 0, y 0 ) for all (x, y) in an open disk containing (x 0, y 0 ). (Critical Points) Let f be defined on an open region R containing (x 0, y 0 ), then (x 0, y 0 ) is said to be a critical point of f if one of the following is true. (a) f x (x 0, y 0 ) = 0 and f y (x 0, y 0 ) = 0 (b) f x (x 0, y 0 ) or f y (x 0, y 0 ) does not exist. Example 2. The function f(x, y) = x 2 + y 2 and the function g(x, y) = x 2 + y 2 both have critical points at (0, 0), but for different reasons. Theorem. If f has a relative extremum at (x 0, y 0 ) on an open region R, then (x 0, y 0 ) is a critical point of f This follows from the one dimensional result by looking at the traces of f: If f(x, y 0 ) has a relative extremum at x 0, then either the derivative is 0, or does not exist. Similarly, if f(x 0, y) has a relative extremum at y 0, then either the derivative is 0 or does not exist. Theorem. (Second Derivative Test) Suppose f has continuous second partial derivatives on an open region containing a point (a, b) for which f x (a, b) = 0 and f y (a, b) = 0.

Consider the quantity d = f xx (a, b)f yy (a, b) [f xy (a, b)] 2 (a) If d > 0 and f xx (a, b) > 0, then f has a relative minimum at (a, b). (b) If d > 0 and f xx (a, b) < 0, then f has a relative maximum at (a, b). (c) If d < 0, then f has a saddle point at (a, b). (d) If d = 0, then the test is inconclusive. Some easy baseline examples to keep in mind with this theorem are the functions f(x, y) = x 2 +y 2, f(x, y) = x 2 y 2, f(x, y) = x 2 y 2 that have minimum, maximum and saddle at (0, 0) as confirmed by the test; however, the test is inconclusive on the functions f(x, y) = x 4 + y 4, f(x, y) = x 4 y 4 and f(x, y) = x 4 y 4 which respectively have minimum, maximum and saddle at (0, 0). Example 3. Find and classify the relative extrema of f(x, y) = 4xy x 4 y 4. Answer. Use the second derivative test to classify the extrema of f(x, y) = 4xy x 4 + y 4. First find the critcal points by solving f x = 4y 4x 3 = 0 and f y = 4x 4y 3 = 0. The first equation implies y = x 3, and we substitute this into the second equation to obtain 4x 4x 9 = 0, or 4x(1 x 8 ) = 0. This implies x = 0, x = 1, or x = 1. Therefore (0, 0) and ( 1, 1) and (1, 1) are the critical points. Now compute f xx = 12x 2, f yy = 12y 2, and f xy = 4 and recall, D = f xx f yy f 2 xy. At (0, 0), D = 0 16 = 0, and so f has a saddle point at (0, 0). At (1, 1), D = 144 16 > 0, and f xx < 0, and so f has a relative maximum at (1, 1). At ( 1, 1), D = 144 16 > 0 and f xx < 0, and so f has a relative maximum at ( 1, 1). The Extreme Value Theorem ensures a continuous function has a maximim and minimum on a closed bounded region. One process for finding the extrema is to first find critical points in the region, and then try to reduce the problem to a one variable problem on the boundary of the region. This is illustrated in the following: Example 4. Find the maximum and minimum values of the function f(x, y) = 3x 2 + 2y 2 4y over the region in the xy-plane bounded by the graphs of y = x 2 and y = 9. Answer. First, the critial point of f is where 6x = 0 and 4y 4 = 0, and so the critical point is (0, 1), and f(0, 1) = 2. Now find maxima and minima of f along the boundary of the region. When y = 9 and 3 x 3, f(x, 9) = 3x 2 + 2(81) 36 = 3x 2 + 126. This is a parabola opening upward, so its minimum is at the vertex x = 0, and the maxima are at the endpoints

x = ±3. Thus on this boundary, the minimum is f(0, 9) = 126, and the maxima are f(±3, 9) = 27 + 126 = 153. When y = x 2 and 3 x 3, then f(x, x 2 ) = 3x 2 + 2x 4 4x 2 = 2x 4 x 2. Setting the derivative equal to 0, we find 8x 3 2x = 0, or 2x(4x 2 1) = 0, so x = 0, or x = ± 1. Thus 2 along this curve, at the critical points f(0) = 0, f(± 1) = 1 1 = 1, and at the endpoints 2 8 4 8 f(±3) = 2(81) 9 = 153 (which should agree with endpoints of other boundary, as they are the same endpoints). Thus the maximum value that f takes on the region is f(±3, 9) = 153, and the minimum value f takes on the region is f(0, 1) = 2.

Practice Exercises on Extrema 1. Find and classify the relative extrema of f(x, y) = x 5 5xy + 5 2 y2. 2. Find and classify the critical points of f(x, y) = xy 8x 2 y 10xy 2. 3. Find the maximum and minimum values of the function f(x, y) = 3x 2 + 2y 2 8y + 5 over the region in the xy-plane bounded by the graphs of y = x 2 and y = 16.

Practice Exercises on Extrema with Solutions. 1. Find and classify the relative extrema of f(x, y) = x 5 5xy + 5 2 y2. Solution: First, we find the critical points f x = 5x 4 5y = 0 and f y = 5x+5y = 0. The second equation implies y = x; substituting this into the first implies 5x 4 5x = 0, and so x(x 3 1) = 0 which implies x = 0 or x = 1. Thus the critcial points are (0, 0) and (1, 1). Next, f xx = 20x 3, f yy = 5 and f xy = 5. Therefore, D = f xx f yy f 2 xy = 80x 3 25. At the critical point (0, 0), D = 25 < 0 and so f has a saddle at (0, 0). At the critical point (1, 1), D = 55 > 0, and f xx = 20 > 0, and so f has a relative minimum at (1, 1). 2. Find and classify the critical points of f(x, y) = xy 8x 2 y 10xy 2. Solution: To find the critical points we solve f x = 0 and f y = 0. Thus and f x = y 16xy 10y 2 = y(1 16x 10y) = 0 f y = x 8x 2 20xy = x(1 8x 20y) = 0 The first equation implies y = 0 or 16x + 10y = 1. We plug y = 0 into the second equation and obtain x(1 8x) = 0, and thus we obtain critical points (0, 0) and (1/8, 0). In the event 16x + 10y = 1, we substitute 10y = 1 16x into the second equation and so x(1 8x 2(1 16x)) = 0 = x(24x 1) = 0 and x = 0 implies y = 1/10, and x = 1/24 implies y = 1/30. Altogether the critical points are (0, 0), (1/8, 0), (0, 1/10) and (1/24, 1/30). The second partials needed for the second derivative test are f xx = 16y, f yy = 20x and f xy = 1 16x 20y. To apply the second derivative test for each critical point we compute D = f xx f yy f 2 xy At (0, 0): D(0, 0) = (0)(0) 1 2 < 0 and so f has a saddle at (0, 0).

At (1/8, 0): f xx = 0, f xy = 1 so D(1/8, 0) = 0 ( 1) 2 < 0, and so f has a saddle at (1/8, 0). At (0, 1/10): f yy = 0, f xy = 1 so D(0, 1/10) = 0 ( 1) 2 < 0, and so f has a saddle at (0, 1/10). At (1/24, 1/30): f xx = 16 30, f yy = 20 24 and f xy = 1 3 D(1/24, 1/30) = 4 9 1 9 > 0 and then Because D > 0 and f xx < 0, f has a local maximum at (1/24, 1/30). 3. Find the maximum and minimum values of the function f(x, y) = 3x 2 + 2y 2 8y + 5 over the region in the xy-plane bounded by the graphs of y = x 2 and y = 16. Solution: First, the critial point of f is where 6x = 0 and 4y 8 = 0, and so the critical point is (0, 2), and f(0, 2) = 3. (If you look carefully at the original function, you can conclude this is the absolute minimum of the function). Now find maxima and minima of f along the boundary of the region. When y = 16 and 4 x 4, f(x, 16) = 3x 2 + 2(16 2 ) (8)(16) + 5 = 389 + 3x 2. This is a parabola opening upward, so its minimum is at the vertex x = 0, and the maxima are at the endpoints x = ±4. Thus on this boundary, the minimum is f(0, 16) = 389, and the maxima are f(±4, 16) = 389 + 3(4 2 ) = 437. When y = x 2 and 4 x 4, then f(x, x 2 ) = 3x 2 + 2x 4 8x 2 + 5 = 5 5x 2 + 2x 4 Again, set the derivative equal to 0 and check the critical points (the endpoints of this curve are the same as the endpoints above). Thus setting the derivative equal to 0, we find 4(2)x 3 2(5)x = 0, or 2x(4x 2 5) = 0, so x = 0, or x = ± 5/4. Checking the values of f at these critical points and comparing to the values above we find the extreme values of f over the region are F (0, 2) = 3 (minimum) and f(±4, 16) = 437 (maximum)