= Polynomial identity
{title2=$P(x)=Q(x)$}
A polynomial identity is equality of formal <polynomials>: every corresponding <polynomial coefficient> agrees. For example, $(X+Y)^2=X^2+2XY+Y^2$ holds in the <polynomial ring> over every <commutative ring>. <Polynomial evaluation> preserves such an identity, so it gives an equality of values at every allowed substitution.
The converse requires a hypothesis on the coefficient <field>. Over an infinite <field>, a <polynomial> that vanishes at every point is zero: use the <Lagrange root bound over a field> in one variable, and induction on the number of variables. Over the <finite field> $\mathbb F_q$, the nonzero formal <polynomial> $X^q-X$ induces the zero <polynomial function>. Thus equality of <polynomial functions> on a finite domain need not be a formal polynomial identity. Coefficient comparison, as used with the <binomial theorem>, concerns formal <polynomial identities>.
Back to article page