I am recently struggling with a question presented to me by a friend:
I need to write: $2 + xy − x^2y + 3x^2y^2 + 8x^2y^4 − x^3y ∈ Z[x, y]$ as an element in $Z[x][y]$ and as an element in $Z[y][x]$ where they are polynomial rings.
However, I unsure of how to proceed, any help? I was thinking that $Z[x][y] = Z[y][x]$ but I am not certain. Any help would be appreciated.
$2+(x-x^2-x^3)y+(3x^2)y^2+(8x^2)y^4 \in \mathbb{Z}[x][y]$ and $2+(y)x+(-y+3y^2+8y^4)x^2+(-y)x^3 \in \mathbb{Z}[y][x]$.