Sketch a function such that:
is defined over all real numbers
has a global max but no global min.
Optimization
5 problems · hints, answers and solutions shown beside each one
Sketch a function such that:
is defined over all real numbers
has a global max but no global min.
One way to avoid a global minimum is to have . Since keeps getting lower and lower, there is no one value that is the lowest.
Two examples are given below, but many are possible.
Two examples are given below, but many are possible.
If or , then has a global maximum at . Since keeps getting more and more strongly negative as gets farther and farther from 0, has no global minimum.
Sketch a function such that:
is defined over all real numbers
is always positive
has no global max and no global min.
Try allowing the function to approach the -axis without ever touching it.
Two examples are given below, but many are possible.
Two examples are given below, but many are possible.
If , then for all . As we move left along the -axis, gets smaller and smaller, approaching 0 but never reaching it. Since gets smaller and smaller as we move left, there is no global minimum. Likewise, increases more and more as we move right, so there is no maximum.
If , then for all .
As we move left along the -axis, gets smaller and smaller, approaching but never reaching it. Since gets smaller and smaller as we move left, there is no global minimum.
Likewise, as we move right along the -axis, gets bigger and bigger, approaching but never reaching it. Since gets bigger and bigger as we move right, there is no global maximum.
Sketch a function such that:
is defined over all real numbers
has a global minimum at
has a global minimum at , too.
Since the global minimum value occurs at and , it must be true that .
One possible answer:
Since is a global minimum, for all , and so in particular .
Similarly, for all , so in particular .
Since AND , it must be true that .
A sketch of one such graph is below.
. Find all global extrema on the interval
Global extrema will either occur at critical points in the interval or at the endpoints .
The global maximum is 45 at and the global minimum is at .
Global extrema will occur at critical or singular points in the interval or at the endpoints .
. Since this is defined for all real numbers, there are no singular points. The only time is when . This is inside the interval . So, our points to check are and .
| type | critical point | endpoint | endpoint |
The global maximum is 45 at and the global minimum is at .
. Find all global extrema on the interval .
You only need to consider critical points that are in the interval
The global maximum over the interval is at , and the global minimum is at .
Global extrema will occur at the endpoints of the interval, and , or at singular or critical points inside the interval. Since is a polynomial, it is differentiable everywhere, so there are no singular points. To find the critical points, we set the derivative equal to zero.
The only critical point inside the interval is .
| type | critical point | endpoint | endpoint |
The global maximum over the interval is at , and the global minimum is at .
From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.