I'm going through Arithmetics in extensions of $\textbf Q$ and I've come across this notation a few times (i.e. $\textbf Z[i]$ or $\textbf Z[w]$).
"Let $\alpha$ be an algebraic integer and $p(x)$ be its minimal (monic) polynomial $$p(x)=\sum_{i=0}^{n} a_ix^i $$
Such that $p(\alpha) = 0$ and $a_i \in \textbf Z$ ($\textbf Z$ is the set of integers) and $a_n = 1$.
"The extension of a ring $A$ by the element $a$ is the set $A[\alpha]$ of all complex numbers of the form $$\sum_{j=0}^{n-1} c_j\alpha^j $$ such that $c_j \in A$, with all the operations inherited from $A$.
"The degree of the extension is the degree of the polynomial."
I completely understand the 'algebraic integer' and the 'minimal polynomial' and the concept of set/ring extension, at least I think. My issue is mostly with the middle sentence; when it says 'all the complex numbers of form', but isn't there only one minimal polynomial so there's only one element in the set $A[\alpha]$? Is that single element basically just $p(\alpha) - x^n$ ? Or are the $c_j$ related to the $a_i$ at all? The same $n$ is mentioned twice. If not then why introduce $p(x)$ at all? And what is ring $A$? Is that an initially empty set? And what does 'all the operations inherited from $A$' mean? Honestly, I can't find an explanation online for the $A[\alpha]$ sort of notation or any of my other questions online?
P.S. I know that $\textbf Z[i]$ represents the Gaussian integers which kind of makes sense since but not entirely for the same reasons as mentioned above.
Welcome to Mathematics Stack Exchange.
$A$ is a ring such as $\Bbb Z$.
$\alpha$ is an algebraic integer such as $i$, whose minimal polynomial is $x^2+1$.
The extension $A[\alpha]$ has numbers of the form $c_0+c_1\alpha+c_2\alpha^2+...+c_{n-1}a^{n-1},$ with $c_j\in A$.
In the example with $\alpha=i,$ the elements of $\mathbb Z[i]$ have the form $c_0+c_1i$.
The $c_j$ are not related to the $a_i$.
Note that, if $\alpha$ is a root of an $n^{th}$ degree polynomial,
then $\alpha ^n$ can be expressed as a linear combination of $1, \alpha, \alpha^2, ..., \alpha^{n-1}$.
In the example with $\alpha=i$, $\alpha^2=-1(1)+0(\alpha)$.
That is why, in the sum for $p(x),$ the index goes up to $n$,
whereas in the sum for an element of $A[\alpha],$ the index goes up to $n-1$.
Operations inherited from $A$ means that when we add or multiply two elements of $A[\alpha]$,
say $(c_0+c_1\alpha+c_2\alpha^2+...+c_{n-1}\alpha^{n-1})+(d_0+d_1\alpha+d_2\alpha^2+...+d_{n-1}\alpha^{n-1}),$
the result is $(c_0+d_0)+(c_1+d_1)\alpha+(c_2+d_2)\alpha^2+...+(c_{n-1}+d_{n-1})\alpha^{n-1},$
where $c_j+d_j$ is computed in $A$.
And when we multiply $(c_0+c_1i)(d_0+d_1i),$
the result is $c_0d_0+(c_0d_1+c_1d_9)i+c_1d_1i^2=c_0d_0-c_1d_1+(c_0d_1+d_1c_0)i, $
where again products and sums of terms involving $c_j$ and $d_j$ are computed in $A$.