Background
Example: If $k$ is a field, the ideal $(x)$ is maximal in $k[x]$. In $k[x,y]$, the ideal $(x)$ is not maximal, the ideal $(x,y)$ is maximal. We have $(x)\subseteq (x,y)\subseteq k[x,y]$.
Questions
In the above exampe, where it states why $(x)$ is not maximal in $k[x,y]$, I just want to make sure I understand the notation properly. In the cases of both $(x)$ and $(x,y)$ both being elements of $k[x,y]$, they are defined respectively as $(x)=\{x\cdot f(x,y)\mid f(x,y)=\sum_{i,j}a_{i,j}x^i,y^j\in k[x,y]\}$ and $(x,y)=\{x\cdot g_1(x,y)+y\cdot g_2(x,y)\mid g_1(x,y)=\sum_{i,j}a_{i,j}x^i,y^j\in k[x,y], g_2(x,y)=\sum_{i,j}a_{i,j}x^i,y^j\in k[x,y]\}$. Also both $(x)$ and $(x,y)$ being subset of $k[x,y]$ doesn't explicitly mean $(x)=\{x\cdot f(x,0)\mid f(x,0)=\sum_{i,j}a_{i,j}x^i,0^j\in k[x,y]\}$ and $(x,y)=\{x\cdot g_1(x,0)+y\cdot g_2(0,y)\mid g_1(x,0y)=\sum_{i,j}a_{i,j}x^i,0^j\in k[x,y], g_2(0,y)=\sum_{i,j}a_{i,j}0^i,y^j\in k[x,y]\}$. It seems that $(x)\subseteq k[x]$ and $(x)\subseteq k[x,y]$ along with $(x,y)\subseteq k[x,y]$ could mean different things.