'Let $X$ Hausdorff locally compact space such that every continuous map $f: X \to \mathbb R$ can be extended to a continuous map $g: X^{\ast} \to \mathbb R$.
Prove that $X^{\ast} = \beta (X)$.
I have two ideas:
i) $X$ Hausdorff locally compact, then $X$ is completely regular and this is eqivalent to $X$ is homeomorphic to a subspace of $\displaystyle \prod_{h\in H} [0,1]$ with
$H$ = { $h:X\to [0,1]: h\ \text{continuous}$}, and $X^{\ast}$ is Hausdorff compact, then normal, and normal implies completely regular (and then is homeomorphic to a subspace of $\displaystyle \prod_{h\in H^{\ast}} [0,1]$ with $H^{\ast}$ = { $h:X^{\ast}\to [0,1]: h\ \text{continuous}$}). If I could prove that $|H| = |H^{\ast}|$, then I can finish the proof.
ii) Let $i: X\to \beta(X)$ and $f:X \to K$ continuous with $K$ Hausdorff compact space, then exists only one continuous function $g: \beta(X) \to K$ such that $g\circ i = f$ and $\beta(X)$ is the unique compactification that meets this property. So, if i can replace $\beta(X)$ with $X^{\ast}$ and $X^{\ast}$ meets the previous property, then $\beta(X) = X^{\ast}$
I don't know if my ideas are the best, but in both cases i'm not sure how to use the hypotesis of the continuous extension of the functions $f:X\to\mathbb R$
Edit: Let $i:X \to \displaystyle \prod_{h\in H} [0,1]$ with $H$ = { $h:X\to [0,1]: h\ \text{continuous}$} defined by $(i(x))_h = h(x)$, then $\overline{i(X)} = \beta(X)$ is the Stone-Čech compactification