Finding Absolute Extrema of Functions: A Comprehensive Guide with Examples, Slides of Calculus

Finding absolute extrema on a closed interval. In this section we concern ourselves with that of absolute extrema. Let f be some function and recall.

Typology: Slides

2022/2023

Uploaded on 02/28/2023

anum
anum 🇺🇸

4.6

(8)

243 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Absolute Extrema
Finding absolute extrema on a closed interval
In this section we concern ourselves with that of absolute extrema. Let fbe some function and recall
that f(x) is said to be a relative extrema for some value xif, when focused locally enough on x,f
appears to have a maximum or minimum in this zoomed in version of the function. We extend this idea
to what we usual consider the maximum or minimum of something.
Definition (Absolute Extrema).Let fbe some function defined on some set Iand csome point.
1. If f(x)f(c) for all xin I, then f(c) is said to be an absolute maximum.
2. If f(x)f(c) for all xin I, then f(c) is said to be an absolute minimum.
If f(c) satisfies either condition, then f(c) is said to be an absolute extremum of fon I.
Example. Let f(x) = x2. We concern ourselves in finding the absolute extrema of fon [1,1].
Note that f(x)>0 for all points xin [1,1] so long as x6= 0, since squaring any nonzero number in
[1,1] returns a positive number. Moreover f(0) = 0 and so, f(x)f(0) for all xin [1,1] and so we
conclude that f(0) is an absolute minimum of fon [1,1].
Next note that f(x)1 for all x[1,1] since squaring a non-whole number returns a positive
non-whole number and f(±1) = (±1)2= 1. That is to say f(x)f(±1) for all x[1,1] and so both
f(1) and f(1) are absolute maxima of fon [1,1].
It turns out that given a continuous function fand closed interval [a, b] that we may always find
absolute extrema.
Theorem (Extrem Value Theorem).Let fbe a continuous function defined on [a, b]. Then fattains
an absolute extrema on [a, b].
The only use for this theorem is to check our sanity. For example, if we are given a continuous
function fon some closed interval and find no absolute extrema, we know we have done something
wrong.
There happens to be a procedure for finding the absolute extrema of continuous functions on closed
intervals. We list this out here.
Procedure for finding absolute extrema on a closed interval
Let fbe a continuous function on [a, b] and suppose we wish to find the absolute extrema here.
1. Find critical values of fon [a, b]
2. Tabulate the relative extremal values of fusing this information.
3. Include f(a) and f(b) in this table.
4. Locate the smallest number, which will be the absolute minimum of fon [a, b]
5. Locate the largest number, which will be the absolute maximum of fon [a, b].
Example. Find the absolute extrema of the following functions on the indicated intervals.
1. f(x) = (x+ 1)exon [3,3].
2. g(x) = x+1
xon [1,2]
3. h(x) = x2+ ln(x) on [2,3]
Solution. We shall just use the procedure enumerated above.
1
pf3
pf4

Partial preview of the text

Download Finding Absolute Extrema of Functions: A Comprehensive Guide with Examples and more Slides Calculus in PDF only on Docsity!

Absolute Extrema

Finding absolute extrema on a closed interval

In this section we concern ourselves with that of absolute extrema. Let f be some function and recall that f (x) is said to be a relative extrema for some value x if, when focused locally enough on x, f appears to have a maximum or minimum in this zoomed in version of the function. We extend this idea to what we usual consider the maximum or minimum of something.

Definition (Absolute Extrema). Let f be some function defined on some set I and c some point.

  1. If f (x) ≤ f (c) for all x in I, then f (c) is said to be an absolute maximum.
  2. If f (x) ≥ f (c) for all x in I, then f (c) is said to be an absolute minimum.

If f (c) satisfies either condition, then f (c) is said to be an absolute extremum of f on I.

Example. Let f (x) = x^2. We concern ourselves in finding the absolute extrema of f on [− 1 , 1]. Note that f (x) > 0 for all points x in [− 1 , 1] so long as x 6 = 0, since squaring any nonzero number in [− 1 , 1] returns a positive number. Moreover f (0) = 0 and so, f (x) ≥ f (0) for all x in [− 1 , 1] and so we conclude that f (0) is an absolute minimum of f on [− 1 , 1]. Next note that f (x) ≤ 1 for all x ∈ [− 1 , 1] since squaring a non-whole number returns a positive non-whole number and f (±1) = (±1)^2 = 1. That is to say f (x) ≤ f (±1) for all x ∈ [− 1 , 1] and so both f (−1) and f (1) are absolute maxima of f on [− 1 , 1].

It turns out that given a continuous function f and closed interval [a, b] that we may always find absolute extrema.

Theorem (Extrem Value Theorem). Let f be a continuous function defined on [a, b]. Then f attains an absolute extrema on [a, b].

The only use for this theorem is to check our sanity. For example, if we are given a continuous function f on some closed interval and find no absolute extrema, we know we have done something wrong. There happens to be a procedure for finding the absolute extrema of continuous functions on closed intervals. We list this out here.

Procedure for finding absolute extrema on a closed interval

Let f be a continuous function on [a, b] and suppose we wish to find the absolute extrema here.

  1. Find critical values of f on [a, b]
  2. Tabulate the relative extremal values of f using this information.
  3. Include f (a) and f (b) in this table.
  4. Locate the smallest number, which will be the absolute minimum of f on [a, b]
  5. Locate the largest number, which will be the absolute maximum of f on [a, b].

Example. Find the absolute extrema of the following functions on the indicated intervals.

  1. f (x) = (x + 1)ex^ on [− 3 , 3].
  2. g(x) = x + (^1) x on [1, 2]
  3. h(x) = x^2 + ln(x) on [2, 3]

Solution. We shall just use the procedure enumerated above.

  1. First note that f is continuous on [− 3 , 3] and so must have absolute extrema here. We find f ′(x) = (x + 2)ex) by the product rule. Thus f ′(x) = 0 only when x = −2 since ex^ is never zero. Thus our only critical value if x = −2. We find

f (−3) = − 2 e−^3 f (−2) = −e−^2 f (3) = 4e^3.

We find immediately that f (3) is the absolute maximum of f on [− 3 , 3] since it is the only positive number of the bunch. Next, note that −e < −2 and so −e−^2 < − 2 e−^3 by multiplying through by e−^3 (you could of course use a calculator instead). Therefore, f (−2) < f (−3) < f (3) and so f (−2) is the absolute minimum of f on [− 3 , 3].

  1. Note that g is continuous everywhere on [1, 2]–that is, we needn’t worry about x = 0 since 0 is not in [1, 2]. We find g′(x) = 1 − (^) x^12. Setting g′(x) to zero we find

x^2

and so, after multiplying through by x^2 ,

x^2 − 1 = 0.

It follows that g′(x) = 0 only at x = 1 and x = −1, but −1 is not in [1, 2], and so we ignore it. We find

g(1) = 2

g(2) = 2 +

It follows that g(1) is the absolute minimum of g on [1, 2] and g(2) is the absolute maximum of g on [1, 2].

  1. Note that h is continuous on [2, 3] since ln(x) is continuous on (0, ∞). We find h′(x) = 2x + (^1) x. Setting this to zero 2 x +

x

and then multiplying through by x, we find

2 x^2 + 1 = 0.

Now, since this quadratic does not have any real roots (that is, this equation is never satisfied for any x in [2, 3]), h does not have any critical points. Therefore, we need only check the end points of [2, 3]. We find

h(2) = 2 + ln(2) h(3) = 3 + ln(3).

We note that ln(x) is an increasing function and so h(2) < h(3). It follows that h(2) is the absolute minimum of h on [2, 3] and h(3) is the absolute maximum of h on [2, 3].

Finding absolute extrema on non-closed interval

We next consider finding absolute extrema of some function on an interval that is not closed. We do this by example.

Example. Find the absolute extrema of the following functions if they exist.

and therefore, since e^2 −x^ is never zero, the only critical point of f is x = 1. We shall use the second derivative test to determine if x = 1 maximize xey^. Firstly

f ′′(x) = −e^2 −x^ − (1 − x)e^2 −x^ = (x − 2)e^2 −x.

We find f ′′(1) = −e, and so f (1) is a relative maximum of f. Lastly, note that

lim x→∞ f (x) = 0

lim x→−∞ f (x) = −∞

which tells us that f (1) is in fact the absolute maximum of f. Therefore, since y = 1 is the corresponding y value for x + y = 2 given x = 1, we conclude that x = 1 and y = 1 are the x and y such that the expression xey^ is maximized given the condition x + y = 2.

  1. We are given the task of maximizing the product of x and y, namely xy, given the condition x + y = 2. We do as we did above by considering xy as a function of x after substituting 2 − x for y. Thus, let f (x) = x(2 − x), which is now the function we wish to maximize. Firstly,

f ′(x) = 2 − 2 x,

and so x = 1 is the only critical point of f. We use the second derivative to determine if x = 1 is a relative maximum. We find f ′′(x) = − 2 and so, f ′′(x) < 0 showing us that f (1) is in fact a relative maximum. Moreover,

lim x→∞ f (x) = −∞

lim x→−∞ f (x) = −∞,

which shows us that f (1) is in fact a global maximum. Therefore, since y = 1 is the corresponding y value for x + y = 2 given x = 1, we conclude that x = 1 and y = 1 are the x and y such that their product, xy, is maximized given the condition x + y = 2.