Alternative Representation of Polynomials
A degree-d polynomial is uniquely characterized by its values at any distinct points.
We can specify a degree-d polynomial by any of the following ways:
- Use coefficients
- Use points
The second is more attractive for polynomial multiplication. Since product has degree , it is fully determined by points. Its value at any given point is just , so polynomial multiplication is linear in its value representation.
But usually polynomials are given with their coefficients so we have to do a bit of translation
Evaluating a polynomial of degree d ≤ n at a single point takes O(n) steps, and so the baseline for n points is . We’ll now see that the fast Fourier transform (FFT) does it in just time, for a particularly clever choice of in which the computations required by the individual points overlap with one another and can be shared.