Let $\mathbb{F}$ be a field and let $P:\mathbb{F} \to \mathbb{F}$ be a polynomial (i.e, there exists a finite sequence $a_{0},\dots ,a_{n}$ of scalars in $\mathbb{F}$ such that $P(z)=\sum_{i=0}^{n}a_{i}z^{i}$ for all $z$ in $\mathbb{F}$). How can one prove that the degree of polynomial is unique or in other words ($a_{n} \neq 0,b_{m} \neq 0$ and $\sum_{i=0}^{n}a_{i}z^{i}=\sum_{i=0}^{m}b_{i}z^{i}$ for all $z \in \mathbb{F} \implies n=m $ )
Problem that I am facing:
If $\mathbb{F}$ is $\mathbb{R}$ or $\mathbb{C}$ then it's quite easy because each of these fields are infinite so the polynomial $\sum_{i=0}^{n}a_{i}z^{i}-\sum_{i=0}^{m}b_{i}z^{i}$ cannot have infinite roots due to Fundamental Theorem of Algebra but what if $\mathbb{F}$ is finite.