Let $ p \in \mathbb{C}[x] $ be of degree $ n $ with pairwise different roots $ a_1, \ldots, a_n \in \mathbb{C}.$
I read in a script that $ (x-a_1) \cap \ldots \cap (x-a_n) = (p) $ because $ \mathbb{C}[x] $ is a principal ideal domain.
I understand the reasoning approach, because of the principal ideal property $(x-a_1) \cap \ldots \cap (x-a_n) $ can be generated from a single $q \in \mathbb{C}[x] $.
I have two questions:
is the above reasoning even sufficient? Doesn't it just show that $(x-a_1) \cap \ldots \cap (x-a_n) \subseteq (p) $? Or does $ (a) \subseteq (b) \implies (a) = (b) $ apply in the main ideal ring? No, right?
instead, I wonder whether the equality actually applies anyway, regardless of the fact that $ \mathbb{C}[x] $ is a principal ideal domain:
$ p = (x-a_1) \cdot \ldots \cdot (x-a_n) $ holds. So $ (p) = \{ t \cdot (x-a_1) \cdot \ldots \cdot (x-a_n) \mid t \in \mathbb{C}[x] \} = (x-a_1) \cap \ldots \cap (x-a_n).$ (You could also easily show both inclusions without making use of the fact that $ \mathbb{C}[x] $ is a principal ideal domain... Or did I miss something?)
Thank you very much.