1. Home
  2. Explore
  3. Mathematics
  4. Extreme and Intermediate Value Theorems

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Extreme and Intermediate Value Theorems

Speaker 1Speaker 2

Extreme and Intermediate Value Theorems

7:06
0:00-7:06
  1. Anna

    Welcome to Lecture 13 in real analysis. We have three main ideas today: the Extreme Value Theorem and a sketch of its proof, the intermediate value property—including a surprising fact about derivatives—and uniform continuity.

  2. Michael

    Let’s begin with the Extreme Value Theorem. If a function is continuous on a closed and bounded interval, say [a,b], then its outputs form a closed and bounded interval. In particular, the function has both a global minimum and a global maximum, and it actually reaches both of them.

  3. Anna

    So there are points c and d in [a,b] where those extreme values occur. If the minimum value is alpha and the maximum is beta, then f(c)=alpha, f(d)=beta, and every output f(x) lies between alpha and beta.

  4. Michael

    Right. And because the function is continuous, it also takes every value between alpha and beta. That’s why its image is the entire closed interval [alpha,beta], not just some scattered collection of values.

  5. Anna

    The conditions matter. For example, f(x)=x on the open interval (0,1) never reaches its supremum, 1, so it has no maximum there. And on the whole real line, f(x)=x has no global maximum. The theorem needs a closed and bounded interval.

  6. Michael

    There’s also a broader version of the same idea: in topology, closed and bounded intervals are examples of compact sets, and continuous functions send compact sets to compact sets. For this course, though, we’ll focus on the interval version.

  7. Anna

    The proof has two main steps. First, show that a continuous function on [a,b] is bounded, so its set of outputs has a supremum and an infimum. Second, show that the function actually reaches those values.

  8. Michael

    For the first step, argue by contradiction. Suppose f is not bounded on [a,b]. Then, for every positive integer n, we can choose a point x_n in [a,b] such that the absolute value of f(x_n) is greater than n.

  9. Anna

    Now we have a sequence of points in a closed and bounded interval. The Bolzano–Weierstrass theorem tells us that some subsequence converges to a point z. Since the interval is closed, z is still in [a,b].

  10. Michael

    And continuity now matters: if x_{n_k} converges to z, then f(x_{n_k}) converges to f(z), which is a finite real number. But the way we chose the points makes the absolute values of those outputs grow beyond the corresponding indices, so they cannot converge. That contradiction shows f is bounded.

  11. Anna

    For the second step, let alpha be the infimum of the set of outputs. By the definition of infimum, for each positive integer n we can choose an input x_n in [a,b] whose output is within 1/n above alpha: alpha is less than or equal to f(x_n), and f(x_n) is less than alpha plus 1/n.

  12. Michael

    Again, Bolzano–Weierstrass gives us a convergent subsequence of those inputs, with limit c in [a,b]. Along that subsequence, the outputs approach alpha. Continuity also says those outputs approach f(c), so f(c)=alpha. The function reaches its minimum.

  13. Anna

    The maximum is proved in the same way, using the supremum instead of the infimum. The completeness property of the real numbers gives us those bounds, and the subsequence theorem and continuity help show the bounds are attained.

  14. Michael

    Next is the intermediate value property. A function has this property on an interval if, whenever two inputs have distinct outputs, it takes every value between those outputs somewhere between the inputs.

  15. Anna

    In symbols, if a and b are in the interval and a number y lies between f(a) and f(b), then there is a point c between a and b such that f(c)=y. Notice that we’re talking about the function on a particular interval, not just about a formula in isolation.

  16. Michael

    Continuous functions have the intermediate value property. But continuity is not the only way to have it: a function can be discontinuous and still take every intermediate value.

  17. Anna

    A particularly important example comes from derivatives. Any derivative that is defined throughout an interval has the intermediate value property, even if that derivative is not continuous. This is a surprising feature of derivatives.

  18. Michael

    Here’s an example that shows why those ideas can be different. Define f(x)=x squared times sine of 1 over x when x is not zero, and set f(0)=0. The function oscillates near zero, but the factor x squared makes those oscillations small enough for f to be differentiable at zero.

  19. Anna

    To check the derivative at zero, use the difference quotient: f(h) minus f(0), divided by h. That becomes h times sine of 1 over h. Its absolute value is at most the absolute value of h, so the squeeze theorem gives a limit of zero. Therefore f prime at zero is zero.

  20. Michael

    Away from zero, differentiating gives f prime of x equals 2x sine of 1 over x minus cosine of 1 over x. Near zero, the cosine term keeps oscillating instead of settling down, so the derivative is not continuous at zero.

  21. Anna

    So this example has a derivative that exists throughout the interval but is not continuous at zero. Even so, the derivative still has the intermediate value property. It illustrates that derivatives have a special guarantee that arbitrary discontinuous functions do not.

  22. Michael

    Our final topic is uniform continuity. It’s a property of a function on an entire interval, rather than a property we check at just one point.

  23. Anna

    The definition says that for every epsilon greater than zero, there is a delta greater than zero such that, for all x and y in the interval, if the distance between x and y is less than delta, then the distance between f(x) and f(y) is less than epsilon.

  24. Michael

    The key detail is that one delta must work everywhere on the interval for the chosen epsilon. For ordinary continuity, the delta may depend on the point. For uniform continuity, it can’t vary from point to point.

  25. Anna

    Consider f(x)=x squared on [2,7]. To compare the outputs, factor their difference: the absolute value of x squared minus y squared equals the absolute value of x plus y times the absolute value of x minus y.

  26. Michael

    Because both x and y are in [2,7], the absolute value of x plus y is at most 14. So the output difference is at most 14 times the input difference. Given epsilon, choose delta=epsilon divided by 14; then inputs less than delta apart have outputs less than epsilon apart. That proves uniform continuity on this interval.

  27. Anna

    The interval restriction is doing useful work there: it gives us a bound on the factor x+y. On the whole real line, x squared is continuous but not uniformly continuous. For instance, inputs n and n+1/n get closer together as n grows, while their squared outputs stay roughly two units apart.

  28. Michael

    The central theorem is that every function continuous on a closed and bounded interval is uniformly continuous on that same interval. This is the uniform continuity theorem, and it’s an important result to understand and be able to prove.

  29. Anna

    One major use of the theorem in this course comes later, when we show that continuous functions can be integrated in the Riemann sense. So the big picture is: closed and bounded intervals help guarantee extreme values and uniform continuity, while derivatives retain the intermediate value property even when they are discontinuous.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent