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_2$ on $X$ with the following properties:
(a) $0\leq h_j \leq1$, $1\leq j \leq m$,
(b) $\Sigma 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, $\exists$ some $U_{\alpha}$ in the open cover s.t. $x\in U_{\alpha}$. The complement, $X-U_{\alpha}$ is closed.
Further by normality, $\exists$ open sets $V,W$ s.t $V \cap W=\emptyset$ and s.t. {$x$}$\subseteq V$ and {$X-U_{\alpha}$}$\subseteq W$. $W$ is open hence $X-W$ is closed. Further $U_{\alpha}\subseteq X-W$ and $V\subseteq U_{\alpha} \subseteq X-W$. $\overline{V}$ is the smalest closed set containing V hence $\overline{V}\subseteq \overline{U_{\alpha}} \subseteq {X-W}$.
Now I want to apply Urysohn's Lemma which would say here that $\exists$ a continuous function $g$ s.t. $g$({x})=1 and $g$({$X-W$})=0. 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 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.