Let $k$ an algebraically closed field. I want to prove the following:
- Every $2$-dimensional $k$-algebra with only one prime ideal is isomorphic to $k[x]/(x^2)$.
- Not every $3$-dimensional $k$-algebra with only one prime ideal is isomorphic to $k[x]/(x^3)$.
For the $2$-dimensional case my attempt goes as follows:
If $A$ is a $2$-dimensional $k$-algebra with exactly one prime ideal then there is a polynomial ring $S$ such that $A=S/I$ for some ideal $I$. Also $A$ is spanned by equivalence classes of monomials, so we can refine it to a basis of two elements $m_1, m_2$. Because $1\in A$ we need one of the monomials to be a unit, and in that case we can replace it by $1$. So, we have that $A$ has a basis of the form $\{1,m\}$ where $m$ is the equivalence class of a monomial. Here I find a fork on the road. There are some possibilities about how to proceed
- I can argue that the ideal generated by $m$ is maximal, so $m$ is in fact the class of a variable, and then $S$ must be a polynomial ring in exactly that variable. I'm not sure of how to prove this but I have a hunch it's true. Then, $S$ being a polynomial in one variable I should prove that $x^2\in I$; I'm not sure how to do it. I know that there would be some $n$ such that $x^n\in I$. I think I could use some argument on the dimension that if $x^2$ is not in $I$ then it cannot be expressed in the form $a+bx+I$, a contradiction.
- In the case that's not true, then I should find a way to make sure that still $x^2\in I$ and that the obvious map $k[x]/(x^2)\to A$ mapping $x$ to itself is an isomorphism. I'm not sure if I can guarantee that. This would be wishful thinking, I think.
For the $3$-dimensional case, I'm not sure how to start. I think that if $A$ is a quotient of a polynomial ring in $1$ variable an argument like the one in 1 should make it isomorphic to $k[x]/(x^3)$, so I think I need a multivariate counterexample. But I'm not sure where to start.
Edit: As diracdeltafunk comments, it's not necesarily true that $S$ must be a polynomial in exactly one variable, but can something similar be said still? Something like that if $S$ has more than one variable, then $I$ is an ideal in which the remaining variables are generators? I mean, there could still be a counterexample.