I was asked in homework to think about maximal ideals in polynomial rings $\mathbb{R}[x]$ and $\mathbb{C}[x]$. I have realized that: $\forall c\in\mathbb{R},\;I_c : = \{p(x)\in\mathbb{R}[x]\;|\;p(c) = 0\}$ is an ideal (similar for $\mathbb{C}[x]$), now in order to prove it to be maximal, I need to show: $$I_c\subset J\subsetneq A,\;J\text{ is an ideal}\Longrightarrow I_c = J$$ which I have difficulty showing.
Secondly, I don't know how to show that all maximal ideas are in the form of $I_c$. Some help please. Thank you.