I'm working on this proof in Gamelin "Introduction to Topology" and I think I'm almost at the result, I'm just a little stuck with how to proceed.
It is this. Let $X$ be a be compact Hausdorff space and let $\{U_\alpha\}_{\alpha \in A}$ be an open cover of $X$. Show that there exist a finite number of continuous valued functions $h_1, . . ., h_m$ on $X$ with the following properties:
(a) $0\leq h_j \leq1$, $1\leq j \leq m$,
(b) $\sum_{j=1}^m h_{j} = 1$
(c) For each $1\leq j \leq m$, there is an index $\alpha_{j}$ s.t. the closure of the set $\{x : h_{j}(x) > 0\}$ is contained in $U_{\alpha_{j}}$
So I know by a theorem in the book that compact Hausdorff spaces are normal. I took a point $x\in X$ and noted that the $\{ x \}$ is closed since the space is Hausdorff. By definition of open cover, there exists some $U_{\alpha_x}$ in the open cover s.t. $x\in U_{\alpha_x}$. The complement, $X\setminus U_{\alpha_x}$ is closed.
Further by normality, there exist disjoint open sets $V,W$ s.t. $\{x\} \subset V$ and $X\setminus U_{\alpha_x} \subset W$. $W$ is open hence $X\setminus W$ is closed. Furthermore, since $\overline{V}$ is the smallest closed set containing $V$ and $X\setminus W$ is closed,
$$V \subset \overline{V} \subset X \setminus W \subset U_{\alpha_x}$$
Now I want to apply Urysohn's Lemma which would say here that there exists a continuous function $g_x : X \to [0,1]$ s.t. $g_x \equiv 1$ on the set $\{x\}$ and $g_x \equiv 0$ on the set $X \setminus V$. Clearly, we have that $\text{supp}(g_x) = \{ y \in X \ | \ g_x(y) > 0 \}\subset V$, hence, $\overline{\text{supp}(g_x)} \subset U_{\alpha_x}$.
So I think I've shown properties (a) and (c), but I'm not sure where to go to show that there is only a finite number of these functions. Couldn't I just do this same process at all points $x \in X$ and find perhaps infinitely many of these functions?
Thanks for any help you can offer.
Edit: So I considered and thought about what you suggested and I think I can continue from where I left off with some of your input and some of the "Remark" from the textbook.
I think my construction would suggest that $\text{supp}(g_{x})=V_{x}=\{y\in X : g_{y}(x) > 0\}$. For each $x\in X$ I can find another such function $g_{i}$ and another supporting set $V_{x_{i}}$. Since $X$ is compact, I can choose $x_{1}, x_{2}, ... , x_{n}$ s.t. the resulting collection $\{V_{x_{i}}\}$ is a finite sub-cover of $X$. Hence, I have finite number of functions with these properties?
Thanks again.