In my textbook there is an example of how the kernel can be found, but I am very unsure how the argument for finding the kernel holds
Let $n\gt1$ describe a natural number and let $\alpha \in \mathbb{R}$ be a real scalar. Observe the subset $$ V = \{p\in P_n(\mathbb{R}):p(\alpha)=0\}$$ of the real vector space $P_n(\mathbb{R})$
Now observe the map $$T: P_{n-1}(\mathbb{R}) \to P_n(\mathbb{R})$$ $$p \to p\cdot(X-\alpha)$$
Show that the $\operatorname{Ker}(T)$ is the zero-vector space and show that the image of $T$ has the dimension $n-1$
The $\operatorname{Ker}(T)$ is given by: $$\operatorname{Ker}(T) = \{p\in p_{n-1}(\mathbb{R})\mid p\cdot(X-\alpha)=0\}$$
It must then be shown that $p\cdot(X-\alpha)=0$, which is only the case when $p=0$, which proves that the $\operatorname{Ker}(T)=\{0\}$.
In order to find show that the dimension $\operatorname{Im}(T)=n-1$ it is possible to use the rank-nullity theorem as $\operatorname{Ker}(T)=\{0\}$: $$\dim(\operatorname{Im}(T)) + \dim(\operatorname{Ker}(T)) = \dim(P_{n-1}(\mathbb{R})$$ Therefore, $\dim(\operatorname{Im}(T)) = \dim(P_{n-1}(\mathbb{R})=n-1$
What I don't really understand is the argument for proving that $\operatorname{Ker}(T)=\{0\}$. Why is it only possible when $p=0$ and not when $(X-\alpha)=0$? I hope that someone can explain the part about how the kernel is found in greater detail.