Examples
- x^2-3x+5 has total degree 2. So it can have no more than 2 roots.
- x^3+x^2y^2+y^3 has total degree 4. So it can have no more than 4 roots.
With the above intuition, it seems "obvious" that for any given set of elements (no matter how large or small), at most d elements from that set can satisfy the given equation. So, the probability that a random element from this set will satisfy the equation is no more than d/|S|. And that is exactly the statement of this lemma.
Statement
Let \mathbb{Q}(x_1,\cdots,x_n)\in\mathbb{F}[x_1,\cdots\,x_n] be a multi-variate polynomial of total degree d. Fix any finite set S\subseteq\mathbb{F}, and let r_1,\cdots,r_n be chosen independently and uniformly at random from S. Then \mathbf{Pr}[\mathbb{Q}(r_1,\cdots,r_n)=0\hspace{1mm}|\hspace{1mm}\mathbb{Q}(x_1,\cdots,x_n)\not\equiv 0]\leq\frac{d}{|S|}
References
References
- Wikipedia: Schwartz-Zippel Lemma
- Motwani, R. and Raghavan, P., Randomized Algorithms, 2007.
No comments:
Post a Comment