Continuity and open sets.

68 Views Asked by At

how to solve this exercise:

Let $f: (E,d)\to (\mathbb{R},|.|)$ a map, prove that if for each $\lambda\in \mathbb{R}$ the sets $$ A=\{x\in E, f(x)<\lambda\}, B=\{x\in E, f(x)>\lambda\} $$ are open then $f$ is continuous.

I know that $f$ is continuous if and only if the inverse image of each open set is open,

but how to use the sets $A$ and $B$?

Thank you

2

There are 2 best solutions below

1
On

Let $c \in E.$ Let us choose $\varepsilon > 0$ arbitrarily. Consider two sets $$\begin{align} A & =\{x \in E : f(x) < f(c) + \varepsilon \}\ \text {and}\ B = \{x \in E: f(x) > f(c) - \varepsilon \}. \end{align}$$ Observe that $c \in A \cap B.$ By the given hypothesis both $A$ and $B$ are open. So $\exists$ $\delta_1,\delta_2>0$ such that $f(x) < f(c) + \varepsilon,$ for all $x \in E$ satisfying $d(x,c) < \delta_1$ and $f(x) > f(c) - \varepsilon,$ for all $x \in E$ satisfying $d(x,c) < \delta_2.$ Let $\delta = \min \{\delta_1, \delta_2 \}.$

Can you proceed now?

0
On

Let $x_0 \in E$. Let's prove that $f$ is continuous at $x_0$.

Let $\varepsilon > 0$. By hypothesis, $\lbrace x \in E \text{ } | \text{ } f(x) < f(x_0) + \varepsilon \rbrace$ and $\lbrace x \in E \text{ } | \text{ } f(x) > f(x_0) - \varepsilon \rbrace$, so by intersecting these two open sets, the set $$U =\lbrace x \in E \text{ } | \text{ } f(x_0)-\varepsilon <f(x) < f(x_0) + \varepsilon \rbrace$$

is open.

In particular, you obtain an open set $U$, containing $x_0$, such that for all $x \in U$, $|f(x)-f(x_0)|<\varepsilon$. That means that $f$ is continuous at $x_0$.