I encounter the following confusion regarding coprimality in polynomial rings. Let me first give the definition that I consider. Given $(\mathbb{Z}/n\mathbb{Z})[X]$, where $n$ is composite, I think coprimality is commonly defined as follows:
$f,g\in (\mathbb{Z}/n\mathbb{Z})[X]$ are coprime if $(f)+(g)= (\mathbb{Z}/n\mathbb{Z})[X]$.
That is, the sum of the ideals generated by $f$ and $g$ equals $R$. I think we could give the following equivalent definition:
$f,g\in (\mathbb{Z}/n\mathbb{Z})[X]$ are coprime if the only common divisors are units in $\mathbb{Z}/n\mathbb{Z}$.
This makes sense since the first definition is equivalent to the existence of $h_1,\, h_2\in (\mathbb{Z}/n\mathbb{Z})[X]$ such that $fh_1 +g h_2 =1$. Hence any common divisor of $f$ and $g$ must divide $1$, therefore must be a unit in $\mathbb{Z}/n\mathbb{Z}$.
Now comes the question. I was reading through this paper, where it mentioned in the second paragraph of Section 7 that elements that are coprime in $(\mathbb{Z}/n\mathbb{Z})[X]$ are also coprime in $\mathbb{F}_p[X]$, where $p$ is a prime dividing $n$.
However, suppose we have $n=10$, $p=5$, $f=X+7$ and $g=X+2$. Then $f$ and $g$ are coprime in $(\mathbb{Z}/10\mathbb{Z})[X]$, since their difference is nonzero modulo $10$. Hence they should be coprime in $\mathbb{F}_5[X]$. But $f=g$ in $\mathbb{F}_5[X]$, so this is clearly not the case.
What am I missing? Did I define coprimality incorrectly, or misunderstand the statement in the paper?
Any help is appreciated!
Then, you state that for the example we have $(f)+(g)$ is not equal to $\mathbb{F}_p[X]$. With this, do you mean to say that $(f)$ and $(g)$ are not coprime/comaximal in $(\mathbb{Z}/n\mathbb{Z})[X]$?
– DisplayName Jan 22 '24 at 11:36