Let $K$ be a compact topological space, and denote by $R$ the ring of continuous functions $K \to \mathbb{R}$, with addition and multiplication defined pointwise. We prove that there is a bijection between $K$ and the "maximal spectrum" of $R$ as follows:
- For $p \in K$, let $M_p = \{f \in R | f(p) = 0\}$. Prove that $M_p$ is a maximal ideal in $R$.
- Prove that if $f_1, \dots, f_r \in R$ have no common zeros, then the ideal generated by $f_1, \dots, f_r$ (let's call it $(f_1, \dots, f_r)$) is equal to $R$. (Hint: Consider $f_1^2 + \cdots + f_r^2$)
- Prove that ever maximal ideal $M$ in $R$ is of the form $M_p$ for some $p \in K$. (Hint: you will use compactness of $K$ and part 2)
(This is problem III.4.17 in Paolo Aluffi's Algebra Chapter 0) Part 1 is not difficult, but for part 2 I thought I had a proof, that I now realize is horribly faulty, and didn't use the hint. Am I missing something fairly obvious? Thanks for the help.