Supremum of group combined with continuous function

95 Views Asked by At

Let $f(x)$ be continuous in $[a,b]$

Let $A$ be the set defined as: $$A = \{ x \in [a,b] \mid f(x) = f(a) \}$$

  1. Does $A$ have a maximum? I guess it it is the max value in $[a,b]$ which $f$ sends to $f(a)$ but I don't know how to prove it.

  2. Would it still have a maximum if $[a,b]$ would turn into $[a,b)$?

2

There are 2 best solutions below

4
On BEST ANSWER

Since $A$ is a subset of the bounded set $[a,b]$, $A$ is also bounded, and since $a\in A$, $A$ is not empty. Consequently, $A$ has a supremum, $s$, say. Note that this reasoning does neither require $f$ be continuous nor that $b$ is contained in the interval (as long as $a<b$, but if $a=b$, $[a,b)$ doesn't make any sense.).

However, if you are interested in showing that (or if) $s$ is also a maximum, you need to use the continuity: Since $A=f^{-1}(\{f(a)\})$ is the preimage of a closed set under a continuous function, $A$ is closed and hence contains $s$. Thus, $s$ is even the maximum.

Here is another way to show this: Since $s=\sup(A)$, there is a sequence $(x_k)\subset A$ converging to $s$. Thus, $f(x_k)=f(a)$ for all $k$, and since $f$ is continuous, $f(s)=f(a)$, showing that $s\in A$, so $s$ is indeed the maximum of $A$.

2
On

$A$ its a closed set because $A=f^{-1}(f(a))$ and $f$ continous, so $A$ has a supremum and $\sup(A)=\max(A)$, because morever $A$ is bounded in this case. more precisely in a separate localy compact spaces, compact sets are whom bounded and closed, so $[a,b]$ is compacte, because the point $f(a)$ is closed and $f$ continous so $f^{-1}(f(a))$ is colsed and bounded by the continuity of $f$, so it's also compact. and will steel in the secode case because $A$ steel closed.