Definition (polynomial ring)
Let $R$ be a ring.
The polynomial ring $R[X]$ is the set of all polynomials in $X$ with coefficients in $R$ $$ \begin{align*} R[X] = \sb{\sum_{i=0}^{n} a_i X^i}{n\geq 0, \, a_i\in R} \end{align*} $$ where $X^i$ are formal symbols, with $0_{R[X]} = 0_R$, $1_{R[X]} = 1_R$ and the usual operations $$ \begin{align*} \sum_{i=0}^{n} a_i X^i + \sum_{i=0}^{m} b_i X^i ={}& \sum_{i=0}^{\max\set{n,m}} (a_i + b_i )X^i, \\ \left(\sum_{i=0}^{n} a_i X^i\right) \cdot \left(\sum_{i=0}^{m} b_i X^i\right) ={}& \sum_{i=0}^{n+m} \left(\sum_{j=0}^{i} a_j b_{i-j}\right) X^i. \\ \end{align*} $$
The polynomial ring of two variables $R[X,Y] \isom (R[X])[Y]$ is constructed similarly, etc.