Local Maximums and Local Minimums of Functions. f(x, y) has a local minimum at the point (x 0, y 0 ) if f(x 0, y 0 ) f(x, y) for

Similar documents
MATH College Algebra Review for Test 2

MATH College Algebra Review for Test 2

Bob Brown Math 251 Calculus 1 Chapter 4, Section 1 Completed 1 CCBC Dundalk

Sect The Slope-Intercept Form

Polynomial functions right- and left-hand behavior (end behavior):

Graph the linear system and estimate the solution. Then check the solution algebraically.

5. Zeros. We deduce that the graph crosses the x-axis at the points x = 0, 1, 2 and 4, and nowhere else. And that s exactly what we see in the graph.

Week #6 - Taylor Series, Derivatives and Graphs Section 4.1

Section 4.1 Increasing and Decreasing Functions

4.2: What Derivatives Tell Us

Precalculus Lesson 4.1 Polynomial Functions and Models Mrs. Snow, Instructor

MAC College Algebra

1 x

And as h is a column vector, recall that h t is the transpose of h, that is, the corresponding row vector, and so the computation becomes

LESSON 23: EXTREMA OF FUNCTIONS OF 2 VARIABLES OCTOBER 25, 2017

( ) 2 3x=0 3x(x 3 1)=0 x=0 x=1

ES.182A Problem Section 11, Fall 2018 Solutions

Calculus 2502A - Advanced Calculus I Fall : Local minima and maxima

Algebra 2 Notes AII.7 Polynomials Part 2

3.4 Using the First Derivative to Test Critical Numbers (4.3)

Mathematics 309 Conic sections and their applicationsn. Chapter 2. Quadric figures. ai,j x i x j + b i x i + c =0. 1. Coordinate changes

AP Calculus AB. Chapter IV Lesson B. Curve Sketching

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

1.2 Functions and Their Properties PreCalculus

ExtremeValuesandShapeofCurves

Autonomous Equations / Stability of Equilibrium Solutions. y = f (y).

Calculus 221 worksheet

MATH Max-min Theory Fall 2016

8 Differential Calculus 1 Introduction

f x, y x 2 y 2 2x 6y 14. Then

P1 Chapter 4 :: Graphs & Transformations

It has neither a local maximum value nor an absolute maximum value

14 Increasing and decreasing functions

MAT 122 Homework 7 Solutions

Solve the problem. Determine the center and radius of the circle. Use the given information about a circle to find its equation.

2015 Math Camp Calculus Exam Solution

Georgia Department of Education Common Core Georgia Performance Standards Framework CCGPS Advanced Algebra Unit 2

PLC Papers. Created For:

Mathematics. Polynomials and Quadratics. hsn.uk.net. Higher. Contents. Polynomials and Quadratics 52 HSN22100

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

Math (P)refresher Lecture 8: Unconstrained Optimization

Lecture 9 - Increasing and Decreasing Functions, Extrema, and the First Derivative Test

Conic Section: Circles

MAXIMA AND MINIMA CHAPTER 7.1 INTRODUCTION 7.2 CONCEPT OF LOCAL MAXIMA AND LOCAL MINIMA

Math 2204 Multivariable Calculus Chapter 14: Partial Derivatives Sec. 14.7: Maximum and Minimum Values

We first review various rules for easy differentiation of common functions: The same procedure works for a larger number of terms.

5.6 RATIOnAl FUnCTIOnS. Using Arrow notation. learning ObjeCTIveS

Graphs of Polynomial Functions

Mathematic 108, Fall 2015: Solutions to assignment #7

Smooth Structure. lies on the boundary, then it is determined up to the identifications it 1 2

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 2 (Local maxima and local minima) & (Points of inflexion) A.J.Hobson

1.2. Functions and Their Properties. Copyright 2011 Pearson, Inc.

D u f f x h f y k. Applying this theorem a second time, we have. f xx h f yx k h f xy h f yy k k. f xx h 2 2 f xy hk f yy k 2

Kevin James. MTHSC 102 Section 4.3 Absolute Extreme Points

Math 1314 Lesson 24 Maxima and Minima of Functions of Several Variables

Bob Brown Math 251 Calculus 1 Chapter 4, Section 4 1 CCBC Dundalk

National 5 Learning Checklist Expressions & Formulae

Mathematics (MEI) Advanced Subsidiary GCE Core 1 (4751) May 2010

Functions of Several Variables

Section 3.1. ; X = (0, 1]. (i) f : R R R, f (x, y) = x y

9 11 Solve the initial-value problem Evaluate the integral. 1. y sin 3 x cos 2 x dx. calculation. 1 + i i23

UNCORRECTED SAMPLE PAGES. 3Quadratics. Chapter 3. Objectives

( ) ( ) ( ) ( )( ) ( ) ( ) ( )( ) ( ) ( ) ( )( ) ( ) ( ) ( ) Math 3435 Homework Set 4 Solutions 10 Points. 1. (2 pts) First we need the gradient

Chapter 3 Prerequisite Skills. Chapter 3 Prerequisite Skills Question 1 Page 148. a) Let f (x) = x 3 + 2x 2 + 2x +1. b) Let f (z) = z 3 6z 4.

ZETA MATHS. National 5 Mathematics Revision Checklist

Chapter 4.4:Slope-Intercept and Point Slope Forms of Linear Equations. Graphing Linear Equations Using slopes and Intercepts. 1.

4 3A : Increasing and Decreasing Functions and the First Derivative. Increasing and Decreasing. then

1. Which one of the following points is a singular point of. f(x) = (x 1) 2/3? f(x) = 3x 3 4x 2 5x + 6? (C)

Differentiation and applications

Kevin James. MTHSC 102 Section 4.2 Relative Extreme Points

ALGEBRA 2 MIDTERM REVIEW. Simplify and evaluate the expression for the given value of the variable:

Chapter 18 Quadratic Function 2

Chapter Five Notes N P U2C5

MATH LECTURE NOTES FIRST ORDER SEPARABLE DIFFERENTIAL EQUATIONS OVERVIEW

Section 1.2: A Catalog of Functions

Section 2.3 Properties of Functions

Algebra II Unit #2 4.6 NOTES: Solving Quadratic Equations (More Methods) Block:

National 5 Learning Checklist - Relationships

National 5 Learning Checklist Expressions & Formulae

Unit 2 Review. No Calculator Allowed. 1. Find the domain of each function. (1.2)

Pre-Calculus: Functions and Their Properties (Solving equations algebraically and graphically, matching graphs, tables, and equations, and

Simultaneous equations

4.7. Newton s Method. Procedure for Newton s Method HISTORICAL BIOGRAPHY

Section 3.3 Maximum and Minimum Values

Analysis of Functions

Functions of Several Variables

Mathematics (MEI) Advanced Subsidiary GCE Core 1 (4751) June 2010

1.2. Characteristics of Polynomial Functions. What are the key features of the graphs of polynomial functions?

1.2 Functions and Their Properties PreCalculus

What do derivatives tell us about functions?

Exercise 1: Let z = f(x, y) be a function, graphed as a contour map below. Let A and B correspond to points in the domain of f.

Math 1010 Lesson 1-4 (Textbook 1.7 and 1.8) Different equations of Lines

Mat 241 Homework Set 7key Due Professor David Schultz

Roots are: Solving Quadratics. Graph: y = 2x 2 2 y = x 2 x 12 y = x 2 + 6x + 9 y = x 2 + 6x + 3. real, rational. real, rational. real, rational, equal

WEEK 7 NOTES AND EXERCISES

AP Calculus AB Worksheet - Differentiability

MATH 115: Final Exam Review. Can you find the distance between two points and the midpoint of a line segment? (1.1)

Lesson 9 Exploring Graphs of Quadratic Functions

Test 3 Review. y f(a) = f (a)(x a) y = f (a)(x a) + f(a) L(x) = f (a)(x a) + f(a)

Math 115 Spring 11 Written Homework 10 Solutions

Transcription:

Local Extrema Previousl we have taken the partial derivative of a function f(x, ). But those partial derivatives were themselves functions and so we can take their partial derivatives. Local Maximums and Local Minimums of Functions f(x, ) has a local maximum at the point (x 0, 0 ) if f(x 0, 0 ) f(x, ) for all points (x, ) near (x 0, 0 ) f(x, ) has a local minimum at the point (x 0, 0 ) if f(x 0, 0 ) f(x, ) for all points (x, ) near (x 0, 0 ) Recall that the gradient vector points in a direction where the function increases. Suppose that the point (x 0, 0 ) is a local maximum of the function f(x, ) which is not on the boundar of the domain. If the vector f(x 0, 0 ) is defined and non-zero, then we can increase f(x, ) b moving in the direction of f(x 0, 0 ). But we just said that the point (x 0, 0 ) is a local maximum, thus there is no direction that we can travel in to make the function larger. Hence, we must have that f(x 0, 0 ) = 0. Similarl, if (x 0, 0 ) were a local minimum, it would follow that f(x 0, 0 ) = 0 as well. Using our results from above, we also have a useful relation between local maxima and local minima to first-order partial derivatives. Local Extrema Theorem If f(x, ) has a local maximum or a local minimum at (x 0, 0 ) and the first-order partial derivatives of f(x, ) exist there, then f x (x 0, 0 ) = 0 and f (x 0, 0 ) = 0. This leads us to the definition of a critical point for a function. As is the case with onevariable calculus, we allow for the possibilit that a point is neither a local maximum nor a local minimum. Critical Points of a Function A point (x 0, 0 ) is said to be a critical point of the function f(x, ) if the gradient, f(x 0, 0 ), is either 0 or undefined.

Example : Find and analze the critical point(s) of f(x, ) = x + x +. f x (x, ) = x + and f (x, ) = x +. Setting these equations equal to 0, we have two equations: x + = 0 and x + = 0 We can solve for x and b multipling the second equation b - and adding the equations. Doing this, we have that - = 0, and so = 0. Plugging that into the first equation, we see that x = 0. Thus, the onl critical point is (0, 0). Notice that f(0, 0) = 0. Thus, if f(x, ) is alwas positive or zero near (0, 0), then we would have that (0, 0) is a local minimum. If f(x, ) is alwas negative or zero near (0, 0), then we would have a local maximum. Looking at a sketch of the graph (Figure below), it would appear that (0, 0, 0) is a local minimum. Figure : Sketch of f(x, ) = x + x + We can confirm our suspicion b completing the square on the function. That is, we have that f ( x, ) x x x. Notice that this is a sum of two 4 squares, so it is alwas greater than or equal to zero. Thus, the critical point is a local (and in fact, global) minimum. In Example, solving for x and was fairl straightforward. We had two linear equations with two unknowns. We were able to solve for x and b solving the equations simultaneousl or b the method substitution.

In some instances, though, a bit more algebra is required. Often times, it is best to substitute the result of one of equations into the other equation to solve for the variables, as the next example shows. Example : Find the local extrema of the function f ( x, ) x x. f x (x, ) = x and f (x, ) = x +. Setting these equal to 0, we have the following equations: x = 0 and x + = 0 Solving for x in both equations, we have x = and x =. Setting the two equations equal to each other, we have that =. Solving for, we have that = 0 or =. If = 0, then x = 0. And if =, then x =. So, we end up with the critical points (0, 0) and (, ). We can use a contour diagram to help classif critical points. Let us begin b looking at some critical points and classif them. 9 8 0 6 4 7 0 0.5 A 0.5 - x 6 8 0 5-9 9 7 Figure : A local minimum at the point A = (0, 0) 0 In Figure, the level curves are circular around the point A. This suggests that we are dealing with a local maximum or a local minimum. Moreover, as we move awa from the point A, the level curves are getting larger. This means that A is a local minimum.

- -0.5-6 - -6 - -4 C - - -0.5-0.5 B -0.5 - -4 x Figure : Local maximums at the points B = (-, 0) and C = (, ) In Figure, the level curves are circular around the points B and C. This suggests that we are dealing with local maxima or a local minima. Moreover, as we move awa from the points, the level curves are getting smaller (more negative). This means that B and C are local maxima. -.5 0 - -.5 -.5 - -0.5.5 -.5.5 D -0.5 0 0.5.5.5 x 0.5 - -.5 - -.5-0.5 -.5 Figure 4: A saddle point at the point D = (0, 0) In Figure 4, the level curves are perpendicular at the point D. As we move in the positive x-direction, the values of the level curves get larger. As we move in the positive -direction, the values of the level curves get smaller. This means that D is a saddle point. From our figures above, we have the following classification of critical points based upon their level curves. 4

Determining Critical Points from a Contour Diagram Suppose that (x 0, 0 ) is a critical point of the function f(x, ). - If the contours around (x 0, 0 ) are circular, (x 0, 0 ) is either a local maximum or a local minimum. + If the values of the level curves decrease as ou move awa from the point (x 0, 0 ), then (x 0, 0 ) is a local maximum. + If the values of the level curves increase as ou move awa from the point (x 0, 0 ), then (x 0, 0 ) is a local minimum. - If two contours meet at a perpendicular angle, (x 0, 0 ) is a saddle point. Example : In Figure 5 (below), classif the points P, Q, and R as local maximum, local minimum, saddle points, or neither. 5.7 Q. 4.7 4. P -. 6 x 0 - R Figure 5: Contour Diagram of f(x, ) = 4 + x + x 4 Since the level curves are perpendicular at P, we see that P is a saddle point. Around the point Q, we notice that the level curves are circular. Also, as we move awa from the point, the values of the level curves are increasing. Thus, Q is a local minimum. None of the defining characteristics occur at the point R, so we conclude that R is not a local extrema nor a saddle point. Recall the Degree Talor Polnomial approximation for a function f(x, ) near the point (x 0, 0 ) was given b 5

f( x, ) f( x, ) f ( x, )( ) f ( x, )( ) 0 0 x 0 0 0 0 0 0 f x f ( x, ) ( 0, 0) ( 0 0 0 ) ( 0, 0 )( 0 )( 0 ) x x fx x x x ( 0) If f(x 0, 0 ) = 0, then we have that f x (x 0, 0 ) = 0 and f (x 0, 0 ) = 0. For the sake of simplicit of notation, if we were to assume that x 0 = 0 and 0 = 0, then the right-hand side will reduce to f(x, ) º ax + bx + c, for some constants a, b, and c. For this reason, we shall investigate this function in more detail. It is fairl straightforward to see that ax + bx + c onl has a critical point at (0, 0). (The reasoning is exactl the same as we used in Example.) And like Example, we shall proceed b completing the square. Provided that a 0, we have that a a a a 4a b c b c b ax bx c a x x a x b 4ac b ax a 4a Notice that the shape of the graph of ax + bx + c will depend on whether the coefficient of is positive, negative or zero. Since 4a > 0, we have that the sign of the coefficient depends on the value of D = 4ac b. We call D the discriminant. If D > 0, then the expression inside of the brackets is positive or zero, so the function has a local maximum or a local minimum (depending on the sign of a). That is, if a > 0, the function has a local minimum and if a < 0, the function has a local maximum. If D < 0, the function goes up in some directions and goes down in others. The point is thus classified as a saddle point. Now, let us return to the Degree Talor Polnomial approximation. Again, for the sake of simplicit, we shall suppose that f(0, 0) = 0. Thus, we have that f ( x, ) f(0,0) f(0,0) x f(0,0) x x f( x, ) f(0,0) x fx (0,0) x x x where we used the fact that f(0, 0) = 0 gives us that f x (0, 0) = 0 and f (0, 0) = 0. 6

Looking at the discriminant of this quadratic polnomial, we have that D = 4ac b, where a, b f x (0,0), and c. This simplifies to D [ (0,0)] f x. If the critical point was at (x 0, 0 ) instead of (0, 0), then we would end up with the following result: Second-Derivative Test for Functions of Two Variables Suppose (x 0, 0 ) is a point where f(x 0, 0 ) = 0. Let D = f (x 0, 0 )f (x 0, 0 ) [f x (x 0, 0 )] If D > 0 and f (x 0, 0 ) > 0, then f(x, ) has a local minimum at (x 0, 0 ). If D > 0 and f (x 0, 0 ) < 0, then f(x, ) has a local maximum at (x 0, 0 ). If D < 0, then f(x, ) has a saddle point at (x 0, 0 ) If D = 0, then we cannot sa what happens at (x 0, 0 ) Example 4: Suppose that (, ) is a critical point of a function f(x, ) with continuous second derivatives. In each case, what can ou sa about f(x, )? (a) f (, ) = 4, f x (, ) =, f (, ) = (b) f (, ) = 4, f x (, ) =, f (, ) = For (a), D = f (, )f (, ) [f x (, )] = (4)() () = 8 > 0 and f (, ) = 4 > 0. Thus, we have that f(x, ) has a local minimum at (, ). For (b), D = f (, )f (, ) [f x (, )] = (4)() () = < 0. Thus, we have that f(x, ) has a saddle point at (, ). The second-derivative test is rather useful, but some times we end up with the fourth case, where D = 0. In those instances, we are left scratching our head as to what is going on at that point, as the next example illustrates. 7

Example 5: Draw the contour diagram of f(x, ) = x x + 4. Then find and classif the critical points of f(x, ) using the second-derivative test. The contour diagram of f(x, ) appears below in Figure 6..9 0.5 - -.9 -.5 -.7.5.9 -.5.7.7 -.9 -.5 -.9 -.7 - - -.7.9.5.5.7 -.5 -.5 -.9 -.7 0 - x -.7 --.9 -.5 Figure 6: Contour diagram of f(x, ) = x x + 4 The contour diagram suggests that there are six critical points at (, ), and (, 0). We can confirm this algebraicall. f x (x, ) = x and f (x, ) = 4 + 4. Setting these equal to 0, we have the equations: x = 0 and 4 + 4 = 0 The first equation tells us that x = - or while the second equation tells us that = 0, - or. This gives us a total of six different combinations for points, which corresponds precisel to the six points the contour diagram revealed. Looking at the contour diagram, it would appear that (-, ) and (-, -) are local minimums, (, 0) is a local maximum, and (-, 0), (, ), and (, -) are saddle points. We can use the second derivative test to confirm our suspicions. Notice that f (x, ) = -6x, f x (x, ) = 0 and f (x, ) = 4 +. This gives rise to the following table: 8

Critical Point (,) (, ) (,0) (,0) (,) (, ) D 0 0 0 0 0 0 f ( x, ) 0 0 0 0 0 0 0 0 Local Local Saddle Saddle Classification???? Minimum Minimum Point Point And so, we see that we were able to correctl identif four of the critical points, but since two of them returned D values equal to 0, we were unable to classif them. This example points out that the second-derivative test can be useful, but it is not a magic bullet that alwas work. 9