5.7 Maximum and Minimum Values

Similar documents
Section 12.6: Directional Derivatives and the Gradient Vector

Math 53 Worksheet Solutions- Minmax and Lagrange

299ReviewProblemSolutions.nb 1. Review Problems. Final Exam: Wednesday, 12/16/2009 1:30PM. Mathematica 6.0 Initializations

SOLUTIONS. f x = 6x 2 6xy 24x, f y = 3x 2 6y. To find the critical points, we solve

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

1 3 4 = 8i + 20j 13k. x + w. y + w

(a) We have x = 3 + 2t, y = 2 t, z = 6 so solving for t we get the symmetric equations. x 3 2. = 2 y, z = 6. t 2 2t + 1 = 0,

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

FINAL EXAM SOLUTIONS Math 21a, Spring 03

Solutions for Review Problems

DERIVATIVES AS MATRICES; CHAIN RULE

This makes sense. t /t 2 dt = 1. t t 2 + 1dt = 2 du = 1 3 u3/2 u=5

Limits and Continuity

COLLEGE ALGEBRA. Paul Dawkins

Solutions to Homework 5

Linear functions Increasing Linear Functions. Decreasing Linear Functions

Math 265 (Butler) Practice Midterm II B (Solutions)

Exam 1 Sample Question SOLUTIONS. y = 2x

REVIEW EXERCISES DAVID J LOWRY

( 1) = 9 = 3 We would like to make the length 6. The only vectors in the same direction as v are those

Solutions to Practice Problems for Test 4

LINES AND PLANES CHRIS JOHNSON

Calculus 1: Sample Questions, Final Exam, Solutions

Linear and quadratic Taylor polynomials for functions of several variables.

2 Integrating Both Sides

Math 241, Exam 1 Information.

Examples of Tasks from CCSS Edition Course 3, Unit 5

Find all of the real numbers x that satisfy the algebraic equation:

MA107 Precalculus Algebra Exam 2 Review Solutions

SECOND DERIVATIVE TEST FOR CONSTRAINED EXTREMA

Find the length of the arc on a circle of radius r intercepted by a central angle θ. Round to two decimal places.

Section 2.4: Equations of Lines and Planes

With the Tan function, you can calculate the angle of a triangle with one corner of 90 degrees, when the smallest sides of the triangle are given:

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

+ 4θ 4. We want to minimize this function, and we know that local minima occur when the derivative equals zero. Then consider

Section 2.7 One-to-One Functions and Their Inverses

Practice Final Math 122 Spring 12 Instructor: Jeff Lang

vector calculus 2 Learning outcomes

Lecture 5 Principal Minors and the Hessian

The Fourth International DERIVE-TI92/89 Conference Liverpool, U.K., July Derive 5: The Easiest... Just Got Better!

Review Sheet for Test 1

Approximating functions by Taylor Polynomials.

Derive 5: The Easiest... Just Got Better!

MATH 381 HOMEWORK 2 SOLUTIONS

A Brief Review of Elementary Ordinary Differential Equations

To give it a definition, an implicit function of x and y is simply any relationship that takes the form:

Equations Involving Lines and Planes Standard equations for lines in space

Review of Matlab for Differential Equations. Lia Vas

Vector and Matrix Norms

constraint. Let us penalize ourselves for making the constraint too big. We end up with a

Copyrighted Material. Chapter 1 DEGREE OF A CURVE

0.8 Rational Expressions and Equations

Chapter 7. Functions and onto. 7.1 Functions

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Objective: Use calculator to comprehend transformations.

3.2 Sources, Sinks, Saddles, and Spirals

H.Calculating Normal Vectors

Name: ID: Discussion Section:

Homework #1 Solutions

Lectures 5-6: Taylor Series

Parametric Curves. (Com S 477/577 Notes) Yan-Bin Jia. Oct 8, 2015

MATH 425, PRACTICE FINAL EXAM SOLUTIONS.

Vector Calculus Solutions to Sample Final Examination #1

Curves and Surfaces. Goals. How do we draw surfaces? How do we specify a surface? How do we approximate a surface?

6 Further differentiation and integration techniques

Analysis of Stresses and Strains

Answers to the Practice Problems for Test 2

2.2 Separable Equations

Solutions to old Exam 1 problems

Answer Key for the Review Packet for Exam #3

1.7 Graphs of Functions

Level Set Framework, Signed Distance Function, and Various Tools

New Higher-Proposed Order-Combined Approach. Block 1. Lines 1.1 App. Vectors 1.4 EF. Quadratics 1.1 RC. Polynomials 1.1 RC

Economics 326: Duality and the Slutsky Decomposition. Ethan Kaplan

Fundamental Theorems of Vector Calculus

To differentiate logarithmic functions with bases other than e, use

Eigenvalues and Eigenvectors

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model

Factoring Trinomials of the Form x 2 bx c

Projectile motion simulator.

1 TRIGONOMETRY. 1.0 Introduction. 1.1 Sum and product formulae. Objectives

Maximizing volume given a surface area constraint

An Application of Analytic Geometry to Designing Machine Parts--and Dresses

Lecture 6. Weight. Tension. Normal Force. Static Friction. Cutnell+Johnson: , second half of section 4.7

Vector Fields and Line Integrals

Gerrit Stols

x(x + 5) x 2 25 (x + 5)(x 5) = x 6(x 4) x ( x 4) + 3

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations

Chapter 4. Spreadsheets

Math 120 Final Exam Practice Problems, Form: A

N Q.3 Choose a level of accuracy appropriate to limitations on measurement when reporting quantities.

Trigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus

Calculus with Parametric Curves

FURTHER VECTORS (MEI)

2.2 Creaseness operator

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

a.) Write the line 2x - 4y = 9 into slope intercept form b.) Find the slope of the line parallel to part a

Introduction to Complex Fourier Series

Transcription:

5.7 Maximum and Minimum Values Objectives Icandefinecriticalpoints. I know the di erence between local and absolute minimums/maximums. I can find local maximum(s), minimum(s), and saddle points for a given function. I can find absolute maximum(s) and minimum(s) for a function over a closed set D. In many physical problems, we re interested in finding the values (x, y) thatmaximizeorminimize f(x, y). Recall from your first course in calculus that critical points are values, x,atwhichthefunction s derivative is zero, f 0 (x) =0. Thesex-values either maximized f(x) (amaximum) orminimized f(x) (aminimum). We did not simply call a critical point a maximum or a minimum, however. Sometimes your critical point is local, meaning it s not the highest/lowest value achieved by the function, but it s the highest/lowest point near by. See the image below for clarification. absolute minimum local max local min absolute maximum 135 of 155

To classify critical points as maximums or minimums, we look at the second derivative. The point was called a minimum if f 00 (x 0 ) > 0anditwascalledamaximumiff 00 (x 0 ) < 0. I like the mnemonic, concave up (+) is like a cup; concave down (-) is like a frown. For functions of two variables, z = f(x, y), we do something similar. Definition 5.7.1 A point (a, b) is a critical point of z = f(x, y) if the gradient, rf, is the zero vector. Critical points in three dimensions can be maximums, minimums, or saddle points. A saddle point mixes a minimum in one direction with a maximum in another direction, so it s neither (see the image below). 4 0 4 1 0 1 0 Once a point is identified as a critical point, we want to be able to classify it as one of the three possibilities. Like you did in calculus, you will look at the second derivative. In higher dimensions, this is the determinant of a matrix containing all possible second derivatives. This matrix is called the Hessian matrix. f det xx (a, b) f xy (a, b) f yx (a, b) f yy (a, b) If you are not comfortable with matrices, you may may memorize the following formula d = f xx (a, b)f yy (a, b) [f xy (a, b)] 136 of 155

The critical point is classified by the value of D. If d>0andf xx (a, b) > 0, then the point is a (local) minimum. For f xx we can think, concave up (+) is like a cup. If d>0andf xx (a, b) < 0, then the point is a (local) maximum. For f xx we can think, concave down (-) is like a frown. If d<0, then the point is a saddle point. If d =0,thenthetestfailsandthepointcouldbeanything. 5.7.1 Examples Example 5.7.1.1 Find and classify all critical values for the following function. f(x, y) =xy x y x y First, we need to find the zeros of the partial derivatives. Those partials are f x (x, y) =y x f y (x, y) =x y Set both of these partial derivatives to zero. 0=y x 0=x y Then we solve the system of equations. x =+y =) y =+(+y) =) y =+4+4y Then 3y =6givesusthaty =. We can plug in to find x x =+( ) = The solution is (, ). That is our critical point. Now, we need to classify it. Let s find the second partial derivatives: 137 of 155

f xx (x, y) = f yy (x, y) = f xy (x, y) =1 Then Since d =3> 0andf xx = d =( )( ) 1=3 < 0, then we have a local maximum. Example 5.7.1. Find and classify all critical values for the following function. f(x, y) =x 3 1xy 8y 3 First, we need to find the zeros of the partial derivatives. Those partials are f x (x, y) =3x 1y f y (x, y) = 1x 4y Set both of these partial derivatives to zero. y =(1/4)x x = y Next, we solve the system of equations. y =(1/4)( y ) =) y = y 4 If y =1,thenx =. If y =0,thenx =0. Thecriticalpoints (, 1) and (0, 0). We now calculate the second derivatives to classify the critical point. f xx (x, y) =6x f yy (x, y) = 48y f xy (x, y) = 1 138 of 155

Then d =(6x)( 48y) (1) = 88xy 144 Now, let s determine d for the point (, 1). d(, 1) = 576 144 = 43 > 0 Since d(, 1) = 43 > 0andf xx (, 1) = 6( ) = 1 < 0, then (, 1) a local maximum. d(0, 0) = 0 144 < 0 Thus, (0, 0) is a saddle point. Example 5.7.1.3 Find and classify all critical values for the following function. f(x, y) =y cos(x) As before, we begin by finding the partial derivatives: f x (x, y) = y sin(x) f y (x, y) =cos(x) Set both of these equations equal to zero. 0= y sin(x) 0=cos(x) For these equations to hold, we have the following conditions: y =0,orx =, 0,, x = 3 /, /, /, 3 /, The only way to make both partial derivatives zero is to choose x = 3 /, /, /, 3 /, y =0 Therefore, the critical values are ( 3 /, 0), ( /, 0), ( /, 0), (3 /, 0) Now, we want to classify these points. To do that, we will calculate d. 139 of 155

f xx (x, y) = f xy (x, y) = y cos(x) sin(x) f yy (x, y) =0 Then d =0 sin (x) apple 0 For the points, ( 3 /, 0), ( /, 0), ( /, 0), (3 /, 0) d is never zero. Therefore, d<0andthatmeansallthesecriticalpointsare saddles. If the domain is a closed set, then f has an absolute minimum and an absolute maximum. A closed set is a set that includes its boundary points. For example D 1 = {(x, y) x + y apple } is closed because it includes its boundary while D = {(x, y) x + y < } is not closed because it does not. D 1 D To find the absolute maximum and absolute minimum, follow these steps: 1. Find the the critical points of f on D.. Find the extreme values of f on the boundary of D. 3. The largest of the values from steps 1 and is the absolute maximum value; the smallest of these values is the absolute minimum value. 140 of 155

The most challenging part of these problems will be considering the values of f on the boundary. You will reduce the problem in one of two ways. Let s consider the domain D 1 above and try to maximize f(x, y) =xy on its boundary. One method is to solve one variable in terms of another. The boundary is = x + y,so we could solve and say y = ± p x. Then we can plug in for y to get f(x, y) =f(x) = ±x p x. The boundary s critical points are precisely those values of x for which 0=f 0 (x) = (x 1) p x This is only true when x = ±1. We then find the corresponding values of y and find the extreme points on the boundary are (1, 1), (1, 1), ( 1, 1), and ( 1, 1) Alternatively, we could parameterize the boundary. That means we pick x = p sint and y = p cost. Then we get f(t) =x(t)y(t) =sint cos t =sint. We find the critical points of f(t) bysolving0=f 0 (t) =cost. Here, we need to consider all values of t between 0and because that is a full rotation around the boundary. Therefore, this is true if t = /4, 3 /4, 5 /4, and 7 /4. That means our extreme points are ( p sint, p cost) for those values of t. Thatis, (1, 1), (1, 1), ( 1, 1), and ( 1, 1) Either approach will work. I recommend you use the one that makes the most sense to you in the given problem. Before we look at examples, let s briefly discuss terminology. When we say critical points, we mean points where the derivative or gradient equals zero (f 0 (x) =0orrf = ~0). We use the term extreme value to just mean the biggest or smallest. The distinction is that an extreme value may not make the derivative zero, but it still may give the largest value. 5.7. Examples Example 5.7..1 Find the absolute maximum and minimum values of the function on D, where D is the enclosed triangular region with vertices (0, 0), (0, ), and (4, 0). f(x, y) =x + y xy Let s first draw a picture of D to help us visualize everything. 141 of 155

x =0 y = x + y =0 First, we find the critical points on D. We begin by finding the partials and setting them equal to zero f x (x, y) =1 y =0 f y (x, y) =1 x =0 The only critical point on D is (1, 1). Notice that f(1, 1) = 1 Now, we find the extreme points on the boundary. We will use the information in our picture to help us. From (0, 0) to (0, ), the line is x =0. Wewillparameterizethislineas(0, t) for0apple t apple 1. We can plug in these values to get f(0, t) =0+t (0)(t) =t The maximum value is, which is achieved at (0, ). The minimum value is 0, which is achieved at (0, 0). From (0, 0) to (4, 0), the line is y =0. Weparametrizethisas(4t, 0) for 0 apple t apple 1. Along this line, the values are f(4t, 0) = 4t The maximum value is 4, which is achieved at (4, 0). The minimum value is 0, which is achieved at (0, 0). From (4, 0) to (0, 3), the line that defines it is y = x/ + for 0 apple x apple 4. Instead or parametrizing, let s plug in. f(x) =x + x + The critical points are the values of x such that 0=f 0 (x) =x x x + = x 3 3x + 14 of 155

The critical point is then (3/, 5/4) and f(3/, 5/4) = 1. We do not need to check the end points since we already know those values. Now, let s take a moment to study all the critical points we ve found: f(1, 1) = 1 f(0, ) = f(0, 0) = 0 f(4, 0) = 4 f(3/, 5/4) = 1 Therefore, the absolute maximum happens at (4, 0) and the absolute minimum happens at (3/, 5/4). Example 5.7.. Find the absolute maximum and minimum values of f on the set D, where f(x, y) =x + y + x y +4 and D = {(x, y) x apple1, y apple1} We start with the same process as before. While it s not required, it s always good to start with apictureofyourdomain. y =1 x = 1 x =1 y = 1 Let us first find the critical points in D. We solve the following equations f x (x, y) =x +xy =x(1 + y) =0 f x (x, y) =y + x =0 143 of 155

The critical points are therefore (0, 0) and ( p, 1). We should take a moment to observe that f(0, 0) = 4 and f( p, 1) = 5. Now, let s consider the extreme points of the boundary. Let s begin with the section x = 1. Then, This function achieves its critical point when f(y) =1+y + y +4=y + y +5 f 0 (y) =y +1=0 =) y = 1/ so at ( 1, 1/) is a critical point on the boundary. Let s take note that f( 1, 1/) = 19/4 or we can think of this as 4.75. It s also important to check the end points, since these are extreme points on the boundary. When we do, we get f( 1, 1) = 5 and f( 1, 1) = 7. Now let s check x =1. Then, f(y) =1+y + y +4=y + y +5 By the exact same work above, we know (1, 1/) will be a critical point for the boundary. We, again, take note that f(1, 1/) = 19/4. We also need to check the corners because these are extreme points: f(1, 1) = 5 and f(1, 1) = 7. At this point, we ve looked at all the corners. For the two remaining boundary lines, we can skip this step. Let us now check y =1. Thisgivesus f(x) =x +1+x +4=x +5 If we consider its derivative, f 0 (x) =4x, weseethatwehaveacriticalpointatx =0. Weshould check that f(0, 1) = 4. Finally, we check y = 1. This gives us This is a flat line, so it has no critical points. Now, let s tally all the points we found. Critical points of the Surface in D f(0, 0) = 4 f( p, 1) = 5 Critical points on the boundary (On x = 1): f( 1, 1/) = 19/4 =4.75 f(x) =x +1 x +4=5 144 of 155

(On x =1): f(1, 1/) = 19/4 (On y =1): f(0, 1) = 4 Corner Values f( 1, 1) = 5 f( 1, 1) = 7 f(1, 1) = 5 f(1, 1) = 7 Therefore, our absolute maximum is at ( ( 1, 1/) and (1, 1/). 1, 1) and (1, 1) and our absolute minimum is at Example 5.7..3 Find the absolute maximum and minimum values of f on the set D, where f(x, y) =xy 3 and D = {(x, y) x 0,y 0,x + y apple 1} This domain will be just a quarter of a circle since we restrict both x and y to be greater than zero. y =0 x + y =1 x =0 Let us first find the critical points of the function. f x (x, y) =y 3 =0 f y (x, y) =3xy =0 145 of 155

Then y =0isasu cientconditiontogetacriticalpoint. Thatis,allpoints(x, 0) are critical! To stay in our domain, we ll consider 0 apple x apple p 1 y =1. f(x, 0) = 0 Now, let s consider the boundary. You may have noticed that we already considered y = 0 above. Let s look at x =0. f(0,y)=0 This doesn t have critical points, and all values are equal to zero (like on y = 0). While this may be a frustrating result, we *know* this problem must have a maximum and minimum. Let s check the last portion of the boundary. To do this portion, we will parametrize. Let x =cost, y =sint, andlet0apple t apple /. Then Let s find the critical points for the function. f(t) =3cos t sin t sin 4 t =sin t(3 cos t sin t) =sin t( cos t +cos t sin t) =sin t( cos t +cos t 1) =sin t(4 cos t 1) f(t) =cost sin 3 t Remember that sin t =0whent =0,whichgivesusthepoint(1, 0). This point also lives on the piece y =0,sowe vealreadylookedatit. We are primarily interested in (4 cos t 1) = 0. That s why we did so much work with trigonometric manipulations. For what value(s) of t will this happen? 4cos t 1=0 =) cos t =1/4 =) t = /3 At t = /3, we have the point (cos /3, sin /3) = (1/ p, 3/ p ). Then f(1/ p, 3/ p ) = 1 p 3 p 3 = 7 4 Therefore the absolute minimum values occur at all points of the form (x, 0) and (0,y). The absolute maximum occurs at (1/ p, 3/ p ). 146 of 155

Summary of Ideas: Maximum and Minimum Values Critical points are those points (x, y) suchthatrf(x, y) =0. They are classified as local maximums, minimums and saddles using the determinant of the Hessian matrix. d =det f xx (a, b) f xy (a, b) f yx (a, b) f yy (a, b) We classify according the following rules: If d>0andf xx (a, b) > 0, then the point is a (local) minimum. If d>0andf xx (a, b) < 0, then the point is a (local) maximum. If d<0, then the point is a saddle point. If d =0,thenthetestfailsandthepointcouldbeanything. Over a closed region D, you can find the absolute minimum and absolute maximum. These are the smallest and largest values achieved by f(x, y), respectively. To find these values, we first find the critical points on D. We then restrict f to the boundary of D and find the extreme values. We can solve one variable in terms of another and plug in the expression or we can parametrize the path and plug in (x(t),y(t)). 147 of 155