# An example of a commutative infinitely generated algebra having zero divisors [closed]

Let $$R$$ be a commutative $$k$$-algebra, where $$k$$ is a field of characteristic zero.

Could one please give an example of such $$R$$ which is also:

(i) Not affine (= infinitely generated as a $$k$$-algebra).

and

(ii) Not an integral domain (= has zero divisors).

My first thought was $$k[x_1,x_2,\ldots]$$, the polynomial ring over $$k$$ in infinitely many variables, but unfortunately, it satisfies condition (i) only. It is not difficult to see that it is an integral domain: If $$fg=0$$ for some $$f,g \in k[x_1,x_2,\ldots]$$, then there exists $$M \in \mathbb{N}$$ such that $$f,g \in k[x_1,\ldots,x_M]$$, so if we think of $$fg=0$$ in $$k[x_1,\ldots,x_M]$$, we get that $$f=0$$ or $$g=0$$, and we are done.

Thank you very much!

## closed as off-topic by KReiser, user10354138, Saad, user26857, choco_addictedNov 22 '18 at 6:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – KReiser, user10354138, Saad, user26857, choco_addicted
If this question can be reworded to fit the rules in the help center, please edit the question.

• This post is missing your thoughts on the problem: what have you tried? This should be relatively straightforwards. – KReiser Nov 22 '18 at 0:12
• Truly, I thought to add a remark which says that $k[x_i]_{i \in \mathbb{N}}$ is not an example, since it (ii) is not satisfied. – user237522 Nov 22 '18 at 0:15
• Can you think of something that satisfies the first? Can you think of something that satisfies the second? How can you put these two things together to get something that works? – user3482749 Nov 22 '18 at 0:16
• @user3482749, thank you. After I have seen the answer, I have also figured out the ideas of your comment. – user237522 Nov 22 '18 at 0:21
• In regards to your edited generalization, it is not within the community standards to alter the question so dramatically after you've accepted an answer. You should ask your generalization as a new question. – KReiser Nov 22 '18 at 1:07

For instance, $$k[X_n\,:\, n\in\Bbb N]/(X_n^2\,:\, n\in\Bbb N)$$: the ring of polynomials in infinitely many variables quotiented by the ideal generated by the square of the variables.