Let $Y=V(x^2-y)$ be the affine variety $y=x^2$. We know that this is an irreducible variety, so $I(Y)$ is a prime ideal of $K[x,y]$ with affine coordinate ring $K[x,y]/I(Y)$, where since this is a radical ideal, Hilbert's nullstellensatz tells us that $I(Y)=(x^2-y)$, so we really have: $$A(Y)=K[x,y]/(x^2-y).$$
I just want to deduce that this is a polynomial ring in one variable. I could explicitly use the first isomorphism theorem to see $K[x,y]/(x^2-y)=K[x]$, but I should be able to do this with less work?
Actually I guess now that I think about it, my stuff (prior to edit) drew out what I really want to ask:
If $Y$ is an irreducible variety, then I know that the dimension of $Y$ is the same as the dimension of $A(Y)=K[X_1,\cdots, X_n]/I(Y)$, so I know in my case that $A(Y)$ is $1$-dimensional, and since $I(Y)$ is prime, I know that $A(Y)$ is an integral domain.
Can I immediately deduce that $A(Y)$ is a one variable polynomial ring over $K$?