Let $R$ be a ring and $f(X) \in R[X], f \ne 0$. Then, $\alpha \in R$ is called multiple root of order $i \in \mathbb{N}^*$ for polynomial $f$ if $(X-\alpha)^i \vert f(X)$ and $(X-\alpha)^{i+1} \not{\vert} f(X)$.
Theorem Let $D$ be an integral domain, $f\in D[X]$.Then, $\alpha \in D$ is a multiple root of order $i$ for $f$ iff there exists $g(X) \in D[X]$ such that $f(X) = (X-\alpha)^i g(X)$ with $g(\alpha) \ne 0$.
I don't understand why there is necesary that $D$ to be integral domain for this to work.