We know that a unital commutative Banach algebra $\mathcal{A}$ has a compact maximal ideal space $M_{\mathcal{A}}$. But I am curious about the converse. If the maximal ideal space $M_{\mathcal{A}}$ is compact, can we say that the commutative Banach algebra $\mathcal{A}$ is unital?
Let $\mathcal{A}$ be a non-unital commutative Banach algebra. We know that $\mathcal{A}$ can be viewed as an maximal ideal in $\tilde{\mathcal{A}}$ (its unitalization) and $M_{\mathcal{A}}$ can be identified with $M_{\tilde{\mathcal{A}}}\setminus \{\phi_0\}$, where $\phi_0$ is the multiplication functional which associate to the ideal $\mathcal{A}$. Because of this, we can say that $M_{\mathcal{A}}$ is a locally compact space. But several notes in the internet farther says that it is non-compact. How can we confirm that $\phi_0$ is not an isolated point in $M_{\tilde{\mathcal{A}}}$?
My attempt:
To say that $\phi_0$ is not an isolated point in $M_{\tilde{\mathcal{A}}}$. It is equivalent to say that there's a net $\{\phi_{\alpha}\}$ in $M_{\mathcal{A}}$ converge to $0$ weakly. But I have no idea to do this.
But If $\mathcal{A}$ is a commutative C*-algebra with compact maximal ideal space $M_{\mathcal{A}}$, it is easy to derive the unitalness of $\mathcal{A}$ by the fact that $\mathcal{A}$ is isometrically *-isomorphic to $C_0(M_{\mathcal{A}})=C(M_{\mathcal{A}})$, since $M_{\mathcal{A}}$ is compact.
Can any one enlighten me for advance?
If I'm wrong, please give me some references or counterexamples if possible.
Thanks a lot!