Single Variable Optimization: Extreme Points and Derivatives, Exams of Economics

An introduction to single variable optimization, focusing on extreme points and their relationship with derivatives. Topics covered include the definition of local maxima and minima, the max-min theorem, and the first derivative test for extreme points. The document also discusses the role of critical points and endpoints in finding extreme values.

Typology: Exams

Pre 2010

Uploaded on 09/02/2009

koofers-user-szq
koofers-user-szq 🇺🇸

10 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
SINGLE VARIABLE OPTIMIZATION
1. DEFINITION OF LOCAL MAXIMA AND LOCAL MINIMA
1.1. Note on open and closed intervals.
1.1.1. Open interval. If a and b are two numbers with a <b, then the open interval fromatobis
the collection of all numbers which are both larger than a and smaller than b. The open interval
consists of all numbers between a and b. A compact way of writing this is a <x<b. We denote an
open interval with parentheses as (a, b).
1.1.2. Closed interval. If a and b are two numbers with a <b, then the closed interval from a to b
is the collection of all numbers which are bothgreater than or equal to a and lessthan or equal to
b. The closed interval consists of all points between a and b including a and b. A compact way of
writing this is a xb. We denote a closed interval with brackets as [a, b].
1.1.3. Half-open intervals. Intervals that are closed on one end and open on the other are called
half-open intervals. We can denote these as half openon the right or the left and use a mixture of
brackets and parentheses as appropriate.
1.2. Max-min theorem for continuous functions.
Theorem 1. If f is continuous at every pointof a closed interval[a, b] R, then f assumes both an absolute
maximum value Mand an absolute minimum value msomewhere in [a, b]. That is, there are numbers x1
and x2in [a, b] with f(x1) = m, f(x2) =M, and m f(x) M for every other x in [a, b].
1.3. Absolute (global) extreme values.
1.3.1. Absolute maximum. Let f be a function with domain D. Then f has an absolute maximum
value on D at a point c if
f(x)f(c)for all x D (1)
1.3.2. Absolute minimum. Let f be a function with domain D. Then f has an absolute minimum value
on D at a pointd if
f(x)f(d)for allx D (2)
1.4. Local extreme values.
1.4.1. Local maximum. Consider a real valued function f defined with domain D. Then f is said to
have a local maximum at an interior point xD if there exists a real number δ>0 such that
f(x)f(x)for allx satisfying xx (3)
Date: August 19, 2005.
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Single Variable Optimization: Extreme Points and Derivatives and more Exams Economics in PDF only on Docsity!

1. D EFINITION OF LOCAL MAXIMA AND LOCAL MINIMA

1.1. Note on open and closed intervals.

1.1.1. Open interval. If a and b are two numbers with a < b, then the open interval from a to b is the collection of all numbers which are both larger than a and smaller than b. The open interval consists of all numbers between a and b. A compact way of writing this is a < x < b. We denote an open interval with parentheses as (a, b).

1.1.2. Closed interval. If a and b are two numbers with a < b, then the closed interval from a to b is the collection of all numbers which are both greater than or equal to a and less than or equal to b. The closed interval consists of all points between a and b including a and b. A compact way of writing this is a ≤ x ≤ b. We denote a closed interval with brackets as [a, b].

1.1.3. Half-open intervals. Intervals that are closed on one end and open on the other are called half-open intervals. We can denote these as half open on the right or the left and use a mixture of brackets and parentheses as appropriate.

1.2. Max-min theorem for continuous functions.

Theorem 1. If f is continuous at every point of a closed interval [a, b]R, then f assumes both an absolute maximum value M and an absolute minimum value m somewhere in [a, b]. That is, there are numbers x 1 and x 2 in [a, b] with f(x 1 ) = m, f(x 2 ) = M, and mf(x)M for every other x in [a, b].

1.3. Absolute (global) extreme values.

1.3.1. Absolute maximum. Let f be a function with domain D. Then f has an absolute maximum value on D at a point c if

f (x) ≤ f (c) for all x  D (1)

1.3.2. Absolute minimum. Let f be a function with domain D. Then f has an absolute minimum value on D at a point d if

f (x) ≥ f (d) for all x  D (2)

1.4. Local extreme values.

1.4.1. Local maximum. Consider a real valued function f defined with domain D. Then f is said to have a local maximum at an interior point x∗^  D if there exists a real number δ > 0 such that

f (x) ≤ f (x∗) for all x satisfying ‖ x − x∗‖ < δ (3)

Date : August 19, 2005. 1

1.4.2. Local minimum. Consider a real valued function f defined with domain D. Then f is said to have a local minimum at an interior point x ˜ D if there exists a real number δ > 0 such that

f (x) ≥ f (˜x) ∀ x satisfying ‖ x − ˜x‖ < δ (4)

1.5. Strict maxima and minima, optimal points, and extreme points. If the value of f at x* is strictly larger than at any other point in the interval, the x* is a strict maximum point. Similarly x˜ is a strict minimum point if f (x) > f (˜x) for all x in the interval, x = ˜x. We often refer to maxima and minima as optimal points or extreme points.

2. E XTREME POINTS AND DERIVATIVES

2.1. A first derivative test for extreme points. Let f be a real valued function defined on a domain D. If f has a local maximum or a local minimum at an interior point c ε D, and if f’ is defined at c, then

f (c) =

d f (·) dx

| (^) c = 0. (5)

Proof. To show that f’(c) is zero at a local extremum, we show first that f’(c) cannot be positive and second that it cannot be negative. The only number that is neither positive or negative is zero, so that is what f’(c) must be. Suppose that f has a local maximum value at x = c so that f(x) - f(c) ≤ 0 for all values of x sufficiently close to c. Since c is an interior point of f’s domain, f’(c) is defined by the two-sided limit 

lim x → c

f (x) − f (c) x − c

This means that the right-hand side and left-hand side limits both exist at c and equal f’(c). When we examine these limits separately, we find that

f′(c) = lim x → c+

f (x) − f (c) x − c

because (x − c) > 0 and f (x) ≤ f (c)

Similarly,

f′^ (c) = lim x → c−

f (x) − f (c) x − c

because (x − c) < 0 and f (x) ≤ f (c)

Together 7 and 8 imply that f’(c) = 0. The proof for minimum values is similar.

2.2. Implication of theorem 2. The only places where a function f can possibly have an extreme value (local or global) are

a: interior points where f’(·) = 0, b: interior points where f’(·) is undefined, c: endpoints of the domain of f.

2.5.1. Example 1. Find the absolute maximum and minimum values of f(x) = x^2 , x ∈ [− 2 , 1]. The only critical value of f(x) is at x = 0 because f’(·) = 2x = 0 ⇒ x = 0. At x = 0, f(x) = 0. The endpoint values are f(-2) = 4 and f(1) = 1. So the function has an absolute maximum value of 4 at x = -2 and an absolute minimum value of 0 at x = 0. Figure 3 shows the graph of example 1.

F IGURE 3. Maximum and minimum of function y = x^2 , x ∈ [− 2 , 1]

 3  2  1 1 2 3

x

2

4

6 f  x 

f’  x 

2.5.2. Example 2. Find the absolute maximum and minimum values of f (x) = 8 x − x^4 , x ∈ [− 2 , 1]. Setting the derivative equal to zero we obtain

8 − 4 x^3 = 0 ⇒ 4 x^3 = 8 ⇒ x^3 = 2 ⇒ x = 2 (^13)

= 3

This point is not in the given domain. So we check the endpoints. This yields f(−2) = − 32 and f(1) = 7. So the absolute maximum is 7 at x = 1 and the absolute minimum is -32 at x = -2. Figure 4 shows the graph of example 2.

2.6. Increasing and decreasing functions.

2.6.1. Definitions of increasing and decreasing functions. Let f be a function defined on an interval I and let x 1 and x 2 be any two points in I.

a: f increases on I if x 1 < x 2 ⇒ f(x 1 ) < f(x 2 ). b: f decreases on I if x 1 < x 2 ⇒ f(x 2 ) < f(x 1 ).

2.6.2. First derivative test for increasing and decreasing functions. Suppose that f is continuous on [a, b] and differentiable on (a, b).

a: If f′( ) > 0 at each point of (a, b), then f increases on [a, b]. b: If f′^ < 0 at each point of (a, b), then f decreases on [a, b].

F IGURE 4. Maximum and minimum of function y = 8 − x^2 , x ε [− 2 , 1]

 3  2  1 1 2^1 ^3 2

x

 30

 20

 10

10

f  x 

f’  x 

3. T ESTS FOR LOCAL EXTREME VALUES

3.1. Necessary versus sufficient conditions.

While the zero derivative condition (critical value) is necessary for a maximum or minimum, it is clear that it is not sufficient. In other words, while all local extreme points are critical values, not all critical values are extreme points. Consider the three different cases below.

3.2. Types of critical points.

3.2.1. Unique global minimum. First consider a function where there is a unique global minimum, so that a relative minimum is also the global minimum. The function y = x 2 − 10 x +60 is a parabola that has a global minimum at x = 5. The graph of this function is given in figure 5.

3.2.2. Unique global maximum. Now consider a case where the relative maximum is a global maxi- mum. The function y = 6x − x^2 is a parabola that has a global maximum at x = 3. The graph of this function is given in figure 6.

3.2.3. Local maxima and minima but no global extreme values over the entire domain (in this case the real numbers). Now consider a case where the function has local maxima and minima and there are no global maximums or minimums. Specifically consider the function y = 50 − 6 x +1/ 18 x^3. The graph of this function is given in figure 7. The relative maximum is at x = -6 and the relative minimum is at x = 6.

3.2.4. No relative maxima or minima at critical points. Consider the case where the first derivative is equal to zero but there is no relative maximum or minimum. Such a point is called an inflection point. The second derivative is zero at this point. A graph of a function with an inflection point at a critical value is given in figure 8.

3.3. The first derivative test for local extreme values.

F IGURE 7. Relative minimum and maximum of function y = 50 − 6 x + 1/ 18 x^3

 15  10  5 5 10 15 20

x

 50

50

100

150 f  x 

f’  x  1

f’  x  2

F IGURE 8. Inflection Point of function y = 3x^3 + 200

 20  15  10  5 5 10 15 20

x

 3000

 2000

 1000

1000

2000

3000

f  x 

f’  x 

b: At the right endpoint b, if f’ < 0 (f’ > 0) for x < b, then f has a local minimum (maximum) at b. This case is shown in figure 13.

3.4. The second derivative test for local extreme values.

3.4.1. The second derivative test.

  1. If f’(c) = 0 and f”(c) < 0, then f has a local maximum at x = c.
  2. If f’(c) = 0 and f”(c) > 0, then f has a local minimum at x = c.

3.4.2. Sufficient condition for a maximum or minimum. For some integer n ≥ 1 , let f have a continuous nth^ derivative in the open interval (a,b). Suppose also that for some interior point c ∈ (a,b) we have

F IGURE 9. A local maximum with f’(c) = 0 and with f’(c) undefined

Local Max

f’c  0

f’  0 f’  0

c

Local Max

f’c is undefined

f’  0 f’  0

c

F IGURE 10. A local minimum with f’(c) = 0 and with f’(c) undefined

Local Min

f’c  0

f’  0 f’  0

c

Local Min

f’c is undefined

f’  0 f’  0

c

F IGURE 11. No Local Extreme Value

No Extreme

f’c  0

f’  0 f’  0

c

No Extreme

f’c is undefined

f’  0 f’  0

c

f′^ (c) = f′′(c) = ... = fn−^1 = 0, but fn(c) = 0 (9) Then for n even, f has a local minimum at c if fn^ (c) > 0 , and a local maximum if fn^ (c) < 0. If n is odd, there is neither a local maximum nor a local minimum at c.

3.4.3. Examples.

a: Consider a case where the function has a global minimum.

F IGURE 14. Local minimum of function y = x^2 ]

 3  2  1 1 2 3

x

2

4

6

8

f  x 

f’  x 

F IGURE 15. Global maximum of function y = 6x − x^2

 15  10  5 5 10 15 20

x

 150

 100

 50

50

f  x 

f’  x 

c: Consider a case where the function has no global maximum nor global minimum.

y = f(x) = x^3 f′(x) = 3x^2 = 0 ⇒ x = 0 is an extreme point f′′(x) = 6x which is zero at zero (n is even) f′′′(x) = 6 which is not zero but positive (n is odd) ⇒ x = 0 is neither a local maximum nor a local minimum Figure 16 shows the graph for example c.

F IGURE 16. Function which has no global maximum nor global minimum y = x^3

x

f  x 

f’  x 

3.4.4. Partial converse of second derivative test. Suppose f′′(a) exists. If f has a local minimum at a, then f′′(a) ≥ 0 ; if f has a local maximum at a, then f ′′(a) ≤ 0.