To compute the resultant of two univariate polynomials efficiently, the most effective algorithms leverage fast polynomial arithmetic, particularly Fast Fourier Transform (FFT)-based methods. These algorithms reduce the problem to polynomial multiplication and division, achieving time complexities comparable to the fastest known algorithms for these operations.
Overview of the Resultant
Given two univariate polynomials ( f(x) ) and ( g(x) ) over a field ( K ), their resultant, denoted as ( \text{Res}(f, g) ), is a scalar quantity in ( K ) that is zero if and only if ( f ) and ( g ) have a common root in the algebraic closure of ( K ). The resultant can be expressed in terms of the coefficients of ( f ) and ( g ) and encapsulates information about their common roots without explicitly finding them.
Traditional Methods
-
Sylvester Matrix and Determinant: Construct the Sylvester matrix of ( f ) and ( g ) and compute its determinant. However, for polynomials of degrees ( n ) and ( m ), this method has a time complexity of ( O((n + m)^3) ), which is impractical for large degrees.
-
Subresultant Polynomial Remainder Sequences (PRS): This method involves computing a sequence of remainders (subresultants) of polynomial divisions. While more efficient than the direct determinant computation, it still isn't optimal for very large polynomials.
-
Modular Methods: Compute the resultant modulo several primes or polynomials and reconstruct the result using the Chinese Remainder Theorem. This method can be efficient but may involve managing numerous modular computations and reconstructions.
Efficient Algorithms Using Fast Polynomial Arithmetic
The most efficient algorithms take advantage of the following strategies:
-
Reduction to Polynomial Multiplication: The key is to express the resultant in terms of operations that can be computed efficiently, such as polynomial multiplication and GCD computations.
-
Fast Fourier Transform (FFT): Utilize the FFT for rapid polynomial multiplication. When the coefficients are in a field where FFT-based multiplication is applicable (e.g., complex numbers, finite fields of suitable size), this dramatically reduces the time complexity.
-
Divide and Conquer: Break down the problem into smaller subproblems that can be solved independently and combined efficiently.
Fast Algorithm Outline
Here is an outline of an FFT-based algorithm to compute the resultant:
-
Compute Polynomial Evaluations: Evaluate one polynomial at the roots of the other. This can be done efficiently using techniques like multipoint evaluation, which can be accelerated using FFT.
-
Polynomial Multiplication: Multiply polynomials in ( O(n \log n) ) time using FFT-based multiplication, where ( n ) is the maximum degree of the polynomials.
-
Leverage Properties of Resultants: Utilize properties such as ( \text{Res}(f, g) = a_n^m \prod_{i=1}^n g(\alpha_i) ), where ( \alpha_i ) are the roots of ( f(x) ) and ( a_n ) is the leading coefficient of ( f(x) ). This formula relates the resultant to the product of evaluations of ( g ) at the roots of ( f ).
-
Utilize Subproduct Trees: Build subproduct trees to facilitate fast multipoint evaluations and interpolations, which are necessary for evaluating polynomials at multiple points and reconstructing polynomials from values.
Time Complexity
The FFT-based algorithms achieve a time complexity of ( O(n \log n) ), where ( n ) is the degree of the polynomials. This is comparable to the fastest known algorithms for polynomial multiplication and is significantly faster than traditional methods for large degrees.
Conclusion
By reducing the computation of the resultant to efficient polynomial arithmetic operations and leveraging FFT-based methods, one achieves the most efficient algorithm currently known for computing the resultant of two univariate polynomials. This approach is optimal in terms of asymptotic computational complexity and practical for implementations requiring high performance.
References:
- von zur Gathen, J., & Gerhard, J. (2013). Modern Computer Algebra (3rd ed.). Cambridge University Press.
- Bostan, A., & Schost, É. (2003). Polynomial evaluation and interpolation on special sets of points. Journal of Complexity, 21(4), 420-446.