characteristic function of a clopen set continuous?

387 Views Asked by At

Let $X$ be a compact Hausdorff space, $C(X)$ the continuous functions complex valued on $X$ and $U\subset X$ clopen. Is then the characteristic function $1_U\in C(X)$? $1_U:X\to\mathbb{C}$ is defined by $1_U(x)=1$, if $x\in U$, and zero otherwise.

In general, this function is not continuous. But with $U$ clopen I don't know.

1

There are 1 best solutions below

2
On BEST ANSWER

If $A$ is any subset of $\mathbb{C}$ then

  • $(1_U)^{-1}[A] = U$ iff $1 \in A, 0 \notin A$,
  • $(1_U)^{-1}[A] = X\setminus U$ iff $0 \in A, 1 \notin A$,
  • $(1_U)^{-1}[A] = X$ iff $\{0,1\} \subseteq A$, and
  • $(1_U)^{-1}[A] = \emptyset$ iff $\{0,1\} \cap A = \emptyset$

So for all (open) $A$ the inverse image is open (as $U$ is clopen). So $1_U$ is continuous.