TheoremBase

The sublevel sets {f < c} are relatively open in K by continuity; if f had no maximum they would cover K, and a finite subcover would bound f strictly below one of its own values. The minimum follows by applying this to -f.

Proof

Let TK\mathcal{T}_{K} be the subspace topology on KK induced by Td\mathcal{T}_{d}. By Compact Topological Space and Compact Subset §compact-subset, the hypothesis on KK says that (K,TK)(K,\mathcal{T}_{K}) is compact. The order of R\mathbb{R} is total, and the rules of Rules of Arithmetic and Order in an Ordered Field apply to it. Steps 1 and 2 use of ff only that it is a map from KK to R\mathbb{R} that is continuous on KK as a map from (X,d)(X,d) to (R,dR)(\mathbb{R},d_{\mathbb{R}}).

Step 1: for every real cc, the set Vc={y∈K:f(y)<c}V_{c}=\{y\in K:f(y)<c\} belongs to TK\mathcal{T}_{K}. Let Sc\mathcal{S}_{c} be the set of all W∈TdW\in\mathcal{T}_{d} with K∩W⊆VcK\cap W\subseteq V_{c}, and put Wc=⋃ScW_{c}=\bigcup\mathcal{S}_{c}. As Td\mathcal{T}_{d} is a topology on XX and Sc⊆Td\mathcal{S}_{c}\subseteq\mathcal{T}_{d}, Topological Space §unions gives Wc∈TdW_{c}\in\mathcal{T}_{d}. If y∈K∩Wcy\in K\cap W_{c}, then y∈Wy\in W for some W∈ScW\in\mathcal{S}_{c}, so y∈K∩W⊆Vcy\in K\cap W\subseteq V_{c}; hence K∩Wc⊆VcK\cap W_{c}\subseteq V_{c}. Conversely, let x∈Vcx\in V_{c}. Then f(x)<cf(x)<c, so ε=c−f(x)\varepsilon=c-f(x) satisfies 0<ε0<\varepsilon by Rules of Arithmetic and Order in an Ordered Field §order-sum. As ff is continuous at xx relative to KK, by Continuous Map Between Metric Spaces §continuous, there is a real δ>0\delta>0 such that every y∈Ky\in K with d(x,y)<δd(x,y)<\delta satisfies dR(f(y),f(x))<εd_{\mathbb{R}}(f(y),f(x))<\varepsilon, that is ∣f(y)−f(x)∣<c−f(x)|f(y)-f(x)|<c-f(x) by The Distance on the Real Numbers §distance. For such yy, Rules of Arithmetic and Order in an Ordered Field §absolute-value gives f(y)−f(x)≤∣f(y)−f(x)∣f(y)-f(x)\le|f(y)-f(x)|, hence f(y)−f(x)<c−f(x)f(y)-f(x)<c-f(x), and adding f(x)f(x) gives f(y)<cf(y)<c by Rules of Arithmetic and Order in an Ordered Field §order-sum. By Open Ball in a Metric Space §membership this says K∩Bd(x,δ)⊆VcK\cap B_{d}(x,\delta)\subseteq V_{c}, where Bd(x,δ)B_{d}(x,\delta) is the open ball. That ball is open in (X,d)(X,d) by Open Ball in a Metric Space is Open §open, so it lies in Td\mathcal{T}_{d} and hence in Sc\mathcal{S}_{c}; and x∈Bd(x,δ)x\in B_{d}(x,\delta) because d(x,x)=0<δd(x,x)=0<\delta by Metric Space §zero. Thus x∈K∩Wcx\in K\cap W_{c}. Hence Vc=K∩WcV_{c}=K\cap W_{c} with Wc∈TdW_{c}\in\mathcal{T}_{d} and Vc∈P(K)V_{c}\in\mathcal{P}(K), so Vc∈TKV_{c}\in\mathcal{T}_{K} by Subspace Topology §subspace-topology.

Step 2: ff attains a maximum. Suppose that there is no xmax⁡∈Kx_{\max}\in K with f(x)≤f(xmax⁡)f(x)\le f(x_{\max}) for every x∈Kx\in K. Then for every x∈Kx\in K there is y∈Ky\in K for which f(y)≤f(x)f(y)\le f(x) fails, so that f(x)<f(y)f(x)<f(y), the order being total. Let U\mathcal{U} be the set of all V∈TKV\in\mathcal{T}_{K} with V=Vf(y)V=V_{f(y)} for some y∈Ky\in K. If x∈Kx\in K and y∈Ky\in K satisfies f(x)<f(y)f(x)<f(y), then x∈Vf(y)x\in V_{f(y)}, and Vf(y)∈UV_{f(y)}\in\mathcal{U} by Step 1; so U\mathcal{U} is a subset of TK\mathcal{T}_{K} with K⊆⋃UK\subseteq\bigcup\mathcal{U}. As (K,TK)(K,\mathcal{T}_{K}) is compact, Compact Topological Space and Compact Subset §compact gives a finite subset V\mathcal{V} of U\mathcal{U} with K⊆⋃VK\subseteq\bigcup\mathcal{V}. For V∈VV\in\mathcal{V} the set CV={y∈K:V=Vf(y)}C_{V}=\{y\in K:V=V_{f(y)}\} is nonempty, so Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice §choice, applied to the finite set V\mathcal{V} and the family (CV)V∈V(C_{V})_{V\in\mathcal{V}}, gives a map φ\varphi on V\mathcal{V} with φ(V)∈CV\varphi(V)\in C_{V} for every V∈VV\in\mathcal{V}. Let EE be the image of V\mathcal{V} under the map V↦f(φ(V))V\mapsto f(\varphi(V)) from V\mathcal{V} to R\mathbb{R}; it is finite by Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice §image. Since KK is nonempty and K⊆⋃VK\subseteq\bigcup\mathcal{V}, the set V\mathcal{V} is nonempty, and so is EE. By Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice §extremes, EE has a greatest element M=max⁡EM=\max E, unique by Bounds, Least and Greatest Elements, Suprema and Infima for a Partial Order §least. Then M=f(φ(V0))M=f(\varphi(V_{0})) for some V0∈VV_{0}\in\mathcal{V}; put y∗=φ(V0)∈Ky^{*}=\varphi(V_{0})\in K. As y∗∈K⊆⋃Vy^{*}\in K\subseteq\bigcup\mathcal{V}, there is V∈VV\in\mathcal{V} with y∗∈V=Vf(φ(V))y^{*}\in V=V_{f(\varphi(V))}, so f(y∗)<f(φ(V))≤M=f(y∗)f(y^{*})<f(\varphi(V))\le M=f(y^{*}), whence f(y∗)<f(y∗)f(y^{*})<f(y^{*}), which is impossible. Hence there exists xmax⁡∈Kx_{\max}\in K with f(x)≤f(xmax⁡)f(x)\le f(x_{\max}) for every x∈Kx\in K.

Step 3: ff attains a minimum. Let g:K→Rg:K\to\mathbb{R} be the map x↦−f(x)x\mapsto-f(x). For x,y∈Kx,y\in K, Rules of Arithmetic and Order in an Ordered Field §signs gives g(y)−g(x)=−(f(y)−f(x))g(y)-g(x)=-(f(y)-f(x)), so dR(g(y),g(x))=∣f(y)−f(x)∣=dR(f(y),f(x))d_{\mathbb{R}}(g(y),g(x))=|f(y)-f(x)|=d_{\mathbb{R}}(f(y),f(x)) by Rules of Arithmetic and Order in an Ordered Field §absolute-value and The Distance on the Real Numbers §distance. Hence, for every x∈Kx\in K and every real ε>0\varepsilon>0, the δ\delta that Continuous Map Between Metric Spaces §continuous-at provides for ff serves for gg, and gg is continuous on KK as a map from (X,d)(X,d) to (R,dR)(\mathbb{R},d_{\mathbb{R}}). Steps 1 and 2 applied to gg give xmin⁡∈Kx_{\min}\in K with g(x)≤g(xmin⁡)g(x)\le g(x_{\min}), that is −f(x)≤−f(xmin⁡)-f(x)\le-f(x_{\min}), for every x∈Kx\in K, and then f(xmin⁡)≤f(x)f(x_{\min})\le f(x) by Rules of Arithmetic and Order in an Ordered Field §order-negative.

Steps 2 and 3 together give the assertion.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…