I am having some trouble constructing the Stone-Čech compactification of a locally compact Hausdorff space $X$ using theory of $C^*$-algebras. I did some search but could not find a good answer on this.
Let's focus on the case $X=\mathbb{R}$. The space of bounded complex-valued functions $C_b(\mathbb{R})$ is a commutative unital $C^*$-algebra hence $C_b(\mathbb{R})\cong C(\mathcal{M})$, where $\mathcal{M}$ is the maximal ideal space, which is compact and Hausdorff.
It should be the case that $\mathcal{M}\cong\beta\mathbb{R}$, and it is not difficult to show that by identify $t\in\mathbb{R}$ with the evaluation at $t$, we have a homeomorphism between $\mathbb{R}$ and a subspace of $\mathcal{M}$.
But we still need to show this subspace is dense in $\mathcal{M}$. This is where I am having troubles (and I guess this is the whole point of the proof).
Can someone give a hint? Thanks!
The sketch in the other answer takes care of much, except that it doesn't address the question why it is that $i(X)$ is dense in $\mathcal{M}$.
So: let $i \colon X \to \mathcal{M}$ be the map sending $x$ to (the maximal ideal corresponding to) evaluation at $X$. If $i(X)$ were not dense then there would be a function $f \colon \mathcal{M} \to [0,1]$ such that $f|_{i(X)} = 0$ (apply Urysohn's lemma to a point outside of the closure of $i(X)$). But the existence of such a function is impossible since such a function would have to be zero under the identification $C(\mathcal{M}) \cong C_b(X)$.
A detailed proof of the Stone-Čech property of the maximal ideal space of $C_b(X)$ appears in many books treating spectral theory of $C^\ast$-algebras, e.g. Pedersen, Analysis now, Proposition 4.3.18.