The computation of maxima of functions remains an important issue in more advanced mathematics. For example, it is often useful to consider real-valued continuous functions on more exotic topological spaces, and ask what their maxima are. Note that some functions do not have maxima: for example, <math>f(x) = x^2</math> takes on arbitrarily large values. A fundamental theorem states that any function defined on a [[compact space]] obtains a maximum value; this is just a consequence of the fact that the image of a compact space under a continuous function is compact, and thus bounded. | The computation of maxima of functions remains an important issue in more advanced mathematics. For example, it is often useful to consider real-valued continuous functions on more exotic topological spaces, and ask what their maxima are. Note that some functions do not have maxima: for example, <math>f(x) = x^2</math> takes on arbitrarily large values. A fundamental theorem states that any function defined on a [[compact space]] obtains a maximum value; this is just a consequence of the fact that the image of a compact space under a continuous function is compact, and thus bounded. |