Lecture 11: Extrema. Nathan Pflueger. 2 October 2013

Similar documents
Answers for Calculus Review (Extrema and Concavity)

1 Lecture 25: Extreme values

ExtremeValuesandShapeofCurves

Lecture 20: Further graphing

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

Functions of Several Variables

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

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

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

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)

Section 3.3 Maximum and Minimum Values

Absolute and Local Extrema. Critical Points In the proof of Rolle s Theorem, we actually demonstrated the following

In economics, the amount of a good x demanded is a function of the price of that good. In other words,

Using the Derivative. Chapter Local Max and Mins. Definition. Let x = c be in the domain of f(x).

Absolute and Local Extrema

Math 5a Reading Assignments for Sections

Functions of Several Variables

Slope Fields: Graphing Solutions Without the Solutions

Calculus. Applications of Differentiations (II)

2.1 Definition. Let n be a positive integer. An n-dimensional vector is an ordered list of n real numbers.

18.01 Single Variable Calculus Fall 2006

Lecture 5: Continuity II

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

First Derivative Test

Lecture 4: Training a Classifier

Daily WeBWorK. 1. Below is the graph of the derivative f (x) of a function defined on the interval (0, 8).

Descriptive Statistics (And a little bit on rounding and significant digits)

Lecture 10: Powers of Matrices, Difference Equations

MA 1125 Lecture 15 - The Standard Normal Distribution. Friday, October 6, Objectives: Introduce the standard normal distribution and table.

Extreme values: Maxima and minima. October 16, / 12

Lecture 4: Training a Classifier

Math 211 Lecture Notes: Chapter 2 Graphing

εx 2 + x 1 = 0. (2) Suppose we try a regular perturbation expansion on it. Setting ε = 0 gives x 1 = 0,

The function graphed below is continuous everywhere. The function graphed below is NOT continuous everywhere, it is discontinuous at x 2 and

5.1 Extreme Values of Functions

Chapter 1 Review of Equations and Inequalities

V. Graph Sketching and Max-Min Problems

ARE202A, Fall 2005 CONTENTS. 1. Graphical Overview of Optimization Theory (cont) Separating Hyperplanes 1

The First Derivative Test for Rise and Fall Suppose that a function f has a derivative at every poin x of an interval A. Then

Main topics for the First Midterm Exam

= lim. (1 + h) 1 = lim. = lim. = lim = 1 2. lim

Math 231E, Lecture 13. Area & Riemann Sums

Lesson 3-1: Solving Linear Systems by Graphing

The First Derivative Test

An Invitation to Mathematics Prof. Sankaran Vishwanath Institute of Mathematical Sciences, Chennai. Unit I Polynomials Lecture 1A Introduction

CS173 Lecture B, November 3, 2015

3.5: Issues in Curve Sketching

22: Applications of Differential Calculus

4.2: What Derivatives Tell Us

Unit 4 Applications of Derivatives (Part I)

One-to-one functions and onto functions

Instructor (Brad Osgood)

Analysis of Functions

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations

Extrema and the Extreme Value Theorem

Integer-Valued Polynomials

Maximum and Minimum Values (4.2)

O.K. But what if the chicken didn t have access to a teleporter.

MATH Max-min Theory Fall 2016

Warm-Up. Given f ( x) = x 2 + 3x 5, find the function value when x = 4. Solve for x using two methods: 3x 2 + 7x 20 = 0

3.1 Graphs of Polynomials

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Math 115 Practice for Exam 2

One sided tests. An example of a two sided alternative is what we ve been using for our two sample tests:

Essential facts about NP-completeness:

Sign of derivative test: when does a function decreases or increases:

One-sample categorical data: approximate inference

Precalculus idea: A picture is worth 1,000 words

1.5 Inverse Trigonometric Functions

Understanding Exponents Eric Rasmusen September 18, 2018

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of

5.9 Representations of Functions as a Power Series

#29: Logarithm review May 16, 2009

HOLLOMAN S AP STATISTICS BVD CHAPTER 08, PAGE 1 OF 11. Figure 1 - Variation in the Response Variable

= first derivative evaluated at that point: ( )

Lecture 1: Period Three Implies Chaos

( ) = 0. ( ) does not exist. 4.1 Maximum and Minimum Values Assigned videos: , , , DEFINITION Critical number

Chapter 3: The Derivative in Graphing and Applications

MAT137 - Term 2, Week 2

What makes f '(x) undefined? (set the denominator = 0)

Tangent spaces, normals and extrema

Solutions to Math 41 First Exam October 18, 2012

CS 124 Math Review Section January 29, 2018

Curve Sketching. Warm up

Lecture 3 (Limits and Derivatives)

Calculus Essentials Ebook

Continuity and One-Sided Limits

Math 1314 Lesson 13: Analyzing Other Types of Functions

Lecture 5. 1 Review (Pairwise Independence and Derandomization)

1 Functions, Graphs and Limits

24. Nonlinear programming

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

1S11: Calculus for students in Science

Math 141: Section 4.1 Extreme Values of Functions - Notes

Number Systems III MA1S1. Tristan McLoughlin. December 4, 2013

Let f(x) = x, but the domain of f is the interval 0 x 1. Note

Lesson 59 Rolle s Theorem and the Mean Value Theorem

1.10 Continuity Brian E. Veitch

The Mean Value Theorem

LAGRANGE MULTIPLIERS

Transcription:

Lecture 11: Extrema Nathan Pflueger 2 October 201 1 Introduction In this lecture we begin to consider the notion of extrema of functions on chosen intervals. This discussion will continue in the lectures titled optimization. The basic idea is that the functions constructed in models (e.g. economic models, or models for how a physical system will respond to stimulus) often measure something desirable (profit, or productivity), or something undesirable (like expenses, or waste); a critical second stage in modeling is to identify the high points (for desirable quantities) or low points (for undesirable quantities). For today, we discuss the basic techniques to find the maximum and minimum of a function, and demonstrate these on the functions that we currently know how to differentiate. The reference for today is Stewart section 4.2 and 4.. 2 Key phrases There is a lot of vocabulary in this lecture. None of it is too complicated, but it can be confusing at first. For your reference, here is a list of the key phrases, so that you can make sure you have covered all the bases when you study. Local maximum/minimum. Critical number. The first derivative test. Absolute maximum/minimum. The closed interval method. Local extrema The word extremum (plural extrema ) simply means maximum or minimum. So this lecture is about locating points that are extremal in one sense or another: the largest or the smallest in some domain. First, we consider so-called local extrema. I ll start by stating the main theoretical facts, and then illustrate them all with examples. I suggest that you read the examples in parallel with the general statements. Definition.1. A local maximum is a point (c, f(c) on the graph of a function f(x) such that f(c) f(x) for all x is some interval around c. Similarly, a local minimum is a point (c, f(c)) such that f(c) f(x) for all x in some interval around c. 1

local maximum local minimum Note: remember that a local maximum does not need to be where the function takes its largest possible value. It is just the largest in some region around itself. A basic observation (apparently first described by Fermat) is that a local extremum (max or min) can only occur when the graph either lies perfectly flat, or has some sort of sharp corner. Therefore make the following definition. Definition.2. A critical number is a number c such that the either f (c) = 0 or f (c) is undefined. Two basic facts govern how calculus can be used to locate local extrema: Fermat s theorem and the first derivative test. Theorem. (Fermat s theorem). If (c, f(c)) is a local extremum of f(x), then c is a critical number. Theorem.4 (First derivative test). Suppose that c is a critical number. If f (x) changes sign from positive to negative around c (positive on the left, negative on the right), then (c, f(c)) is a local maximum. If f (x) changes sign from negative to positive around c (negative on the left, positive on the right), then (c, f(c)) is a local minimum. If f (x) has the same sign on both sides of x = c, then there is no local extremum at x = c. The following examples illustrates all the facts and terms mentioned above. Example.5. Let f(x) = x x. Find all critical numbers, and identify all local extrema. 2

Solution. First, to find the critical numbers, use the power rule to obtain the derivative f (x) = x 2. Since f(x) is a polynomial, the derivative is defined everywhere, so the only critical numbers are those values where f (c) = 0. Now, f (x) = 0 x 2 = 0. Solving this equation gives x = ±1. So the critical numbers are 1 and 1. By Fermat s theorem, the only possible local extrema are ( 1, f( 1)) and (1, f(1)), i.e. ( 1, 2) and (1, 2). Use the first derivative test to identify which is which (of course, in this case it is obvious from the picture). The derivative f (x) = (x 2 1) is positive when x 2 > 1 and negative when x 2 < 1. So it is positive for x < 1, negative for 1 < x < 1, and positive again for x > 1. Therefore the derivative changes sign from + to at x = 1; therefore ( 1, 2) is a local maximum. The derivative changes sign from to + at x = 1; therefore (1, 2) is a local minimum. Fermat s theorem shows that there can be no other local extrema. Example.6. Let f(x) = e x x. Find all local extrema. Solution. We can compute that f (x) = e x 1. This is always defined; it is positive for x > 0 (since this is when e x > 1) and negative for x < 0; f (x) = 0 only when x = 0 (since e x 1 = 0 if and only if e x = 1, i.e. x = ln 1 = 0). So the only critical number is 0, around which the derivative changes sign from negative to positive. So there is a local minimum at (0, 1) and no other local extrema. Example.7. Let f(x) = x. Find all critical numbers and local extrema. Solution. By the power rule, f (x) = x 2. This is always defined. f (x) = 0 if and only if x 2 = 0, i.e. x = 0. So the only critical number is 0. The derivative is never negative (since the square of a real number is never negative); in particular it does not change sign around x = 0. So by the third possibility in the first derivative test, 0 is neither a local maximum not a local minimum. There are no other critical numbers, so by Fermat s theorem there are no local extrema at all.

Example.8. Let f(x) = x. Find { all critical numbers and all local extrema. x x 0 Solution. Recall that x = x x < 0. Therefore it follows from this that f (x) = 1 for all x > 0 and f (x) = 1 for all x < 0. However, f (0) is not defined at all, since the function is not even continuous at x = 0. So since f (x) is undefined at x = 0, this is a critical number. There are no other critical numbers since f (x) is never 0. The only critical number is 0. The sign of f (x) changes from negative to positive around x = 0, so the first derivative test tells us that (0, 0) is a local minimum. There are no other critical numbers, hence no other local extrema. 4 Absolute extrema Now, we consider not local extrema, but what are called absolute extrema: those points on a graph that are greater (or less) than all other possible points. In physical situations, there is generally only some small range of possible values of x, so we will generally work on some chosen interval. Recall the standard notation for intervals. Notation The notation ( 1, 1) denotes the interval of all x with 1 < x < 1 (in particular, not including the endpoints). This is called an open interval. The notation [ 1, 1] denotes the interval of all x with 1 x 1 (in particular, this includes the endpoints). This is called a closed interval. The notation [ 1, 1) denotes all x with 1 x < 1 (including one endpoint but not the other), and similarly ( 1, 1] denotes all x with 1 < x 1. These are called half-open intervals. Definition 4.1. Given a function f(x) and an interval I (open, closed, or half-open), we say that (c, f(c) is an absolute maximum if f(c) f(x) for all other x in I. We say that it is an absolute minimum if f(x) f(x) for all other x in I. Note. It is possible that there is a tie for the absolute maximum or absolute minimum. So the maximum and minimum do not have to be unique (though the maximum/minimum value is unique). For example, see the following picture. absolute max local max local and absolute min Absolute extrema are not always local extrema. An absolute extremum does not need to be a local extremum. As we see above, the absolute max is not labelled a local max as well. This is essentially a matter of terminology. The reason we don t call this point a local max is that we only have information about the function on one side but not the other; the word local will be reserved for points in the inside of the interval. For our purposes, just think of a local extremum as only an extremum you can locate by finding a critical number of the function (where the derivative is zero or undefined). A function does not always have absolute extrema on an interval. The following two examples illustrate two of the ways a function could fail to have absolute extrema. Then we will give a criterion for 4

begin sure that it will have absolute extrema. Example 4.2. Consider the function f(x) = 1 x on the interval [ 1, 1]. This function is discontinuous at x = 0. It also has no absolute maximum or minimum. This is because for any input where the function is defined, there is always another input that gives a larger (or smaller) value. Example 4.. Consider the function f(x) = x on the open interval ( 1, 1). Somewhat counterintuitively, this function also has no absolute maximum or minimum. This is counterintuitive because it really looks like the maximum is 1, so why isn t it? The issue here is fairly subtle: the problem is that the maximum ought to be at the endpoint, but the interval is open, meaning it doesn t contain the endpoints. So while f(0.99) = 0.99 is quite close to 1, you can still find a larger value of the function, such as f(0.999). So there isn t single number x in ( 1, 1) such that f(x) is the biggest value possible. These examples show two things that can prevent a function from having a maximum on an interval. The following fact ensures that these are the only things that can go wrong: as long as the function is continuous, and the interval is closed, there is an absolute maximum and absolute minimum. Theorem 4.4 (Extreme value theorem). A continuous function f(x) always has an absolute maximum and an absolute minimum on any closed interval [a, b]. Of course it s all well and good to know just that the absolute maximum exists, but how do we actually find it? It turns out that there s always a pretty short list of candidates: the absolute maximum is always either a local maximum on the inside of the interval (and therefore comes from a critical number), or else it occurs at an endpoint of the interval. The same holds for an absolute minimum. So there is a very straightforward method for finding the absolute extrema. Closed interval method. Suppose f(x) is a continuous function on a closed interval [a, b]. 1. Compute the derivative f (x) where it exists, and find all the critical numbers (that is, write down all the non-differentiable points, then solve f (x) = 0 and add those solutions to the list). 2. Compute f(c) for all critical values c (found in step 1) and also at the two endpoints c = a and c = b of the interval.. Find the maximum and minimum of the values computed in step 2. These are the absolute maximum and absolute minimum on this interval. 5

Here are a few examples of this method. Example 4.5. Find the absolute extrema of f(x) = x 2/5 (x 1/5 1) on [0, 2]. Solution. First, compute the derivative with the power rule as follows. f(x) = x /5 x 2/5 f (x) = 5 x 2/5 2 5 x /5 Note that this is defined everywhere except at x = 0, so 0 is one critical number. To find the others, solve f (x) = 0 as follows. 5 x 2/5 2 5 x /5 = 0 5 x 2/5 = 2 5 x /5 x 2/5 = 2/5 x /5 /5 x 1/5 = 2 ( 2 x = So there are two critical numbers: x = 0 and x = ( 2 ) 5. Now, the two endpoints are 0 and 2. So evaluate f(x) on the critical values and the endpoints (note that 0 is both a critical number and an endpoint). ) 5 ( (2 ) ) 5 f f(0) = 0 2/5 (0 1/5 1) = 0 ( (2 ) ) 5 2/5 ( (2 ) ) 5 1/5 = 1 = ( ) 2 ( ) 2 2 1 = 4 27 f(2) = 2 2/5 (2 1/5 1) = 4(2 1) = 4 So the three values we compute in step 2 of the closed interval method are 0, 4 27, and 4. The maximum of these is the absolute maximum: f(2) = 4. The smallest is the absolute minimum: f( ( 2 5) ) = 4/27. 5 Sign diagrams In this section, I just explore a bit exactly how much you can know about a function if you just know where it is increasing and decreasing. For example, suppose that you have a function f(x) on [1, 4], and all you know about it is that it has critical numbers 2 and, it is increasing on [1, 2], decreasing on [2, ], and increasing on [, 4]. This information can be denoted by a sign diagram. 6

+ Can we conclude from this whether f(x) has absolute extrema, and if so where they must be? To answer this, notice that we certainly know (by the first derivative test) that there is a local minimum at 2 and a local maximum at. Both of these could be absolute extrema, but they also might not. Shown below are some of the several possibilities. In fact, we can reason that there must be a global maximum as follows: there is a global maximum on [1, ] (since this is a closed interval), and f(x) is decreasing after, so it won t get any bigger. So in fact that absolute maximum always exists, and it must occur either at either 1 or. On the other hand, we don t have enough information to tell if there s a global minimum.. Indeed, we can see in the pictures above that sometimes there is a global minimum at 2 (as in the pictures on the right), but sometimes there is no global minimum (as at the pictures on the left). 7