Let $A$ be the ring of continuous functions from $\mathbb{R}$ to $\mathbb{R}$ and let $I_c$ denote the functions that vanish at some fixed $c\in\mathbb{R}$. Is $I_c$ a maximal ideal? Give an example of a proper non-zero ideal of $A$ that is not of the form $I_c$ for some $c\in\mathbb{R}$.
My attempt: I think $I_c$ is not maximal, because we can consider the ideal $I_{c,d}$ of functions that vanish at fixed $c,d\in\mathbb{R}$. $I_c$ is clearly contained in $I_{c,d}$, but $I_{c,d}\neq A$ because $f(x)=1$ is not in $I_{c,d}$. Also, I think this ideal $I_{c,d}$ can answer the second part of the question, but it seems like there ought to exist a better example.
Is this right? Or at least a start in the right direction?
Any help appreciated!
Consider the ring homomorphism $A \to \mathbb{R}, f \mapsto f(c)$. This homomorphism is surjective and its kernel is $I_c$. By the first isomorphism theorem, we have $A / I_c \cong \mathbb{R}$, as the quotient by $I_c$ is a field, $I_c$ must be maximal.