Abstract
Computing the Bézout matrix is a fundamental task in resultant theory, used to determine common roots between polynomials. While traditionally computed in the standard monomial basis, many applications in numerical analysis utilize the Newton basis. Conventional methods require transforming Newton polynomials into the monomial basis, a process that is both computationally expensive ($O(n^3)$) and numerically unstable. This paper presents a novel basis-preserving algorithm that computes the Bézout matrix directly in the Newton basis with $O(n^2)$ complexity. By leveraging a recursive relationship (Theorem 7), the algorithm achieves significant speedups and improved numerical stability.
1. Introduction
In the field of computer algebra, resultant theory provides the mathematical framework for identifying common roots between polynomials. The Bézout matrix is a central component of this theory. While the "standard" monomial basis ($1, x, x^2, \dots$) is the most common representation, practical applications in interpolation and numerical analysis often favor the Newton basis, defined by a set of nodes $\lambda_i$.
Historically, computing the Bézout matrix for polynomials in the Newton basis involved a three-step "sandwich" approach: converting the polynomials to the monomial basis, computing the matrix, and then converting the result back to the Newton basis. This paper identifies the inherent inefficiencies and instabilities of this approach and proposes a direct, basis-preserving alternative.
2. The Computational Challenge
The traditional transformation-based approach suffers from two primary defects:
- Computational Complexity: The transformations between bases typically require $O(n^3)$ operations, making them prohibitive for high-degree polynomials.
- Numerical Instability: When the Newton nodes $\lambda_i$ are large or poorly distributed, rounding errors accumulate rapidly during the basis conversion. This often leads to catastrophic loss of precision, rendering the resulting Bézout matrix useless for subsequent numerical computations.
3. The BezNewton_preserving Algorithm
The authors introduce BezNewton_preserving, an algorithm designed to bypass the monomial basis entirely. The innovation lies in exploiting the internal recursive structure of the Bézout matrix when formulated specifically for the Newton basis.
3.1 Recursive Construction
The mathematical foundation of the algorithm is Theorem 7, which establishes a direct recursive formula for the matrix entries. Instead of performing matrix multiplications or basis transformations, the algorithm builds the matrix element-by-element. This process utilizes only the coefficients of the input polynomials and the associated Newton nodes.
3.2 Complexity and Efficiency
By utilizing this recursion, the algorithm reduces the total computational cost to $O(n^2)$. The construction involves initializing the matrix with simple determinants and then populating the remaining entries through recursion and symmetrization. This direct approach ensures that the computation remains entirely within the Newton basis, preserving the numerical properties of the original polynomials.
4. Experimental Results
The algorithm was evaluated using both synthetic numeric polynomials (up to degree 500) and parametric polynomials with symbolic coefficients.
4.1 Performance Gains
The empirical results demonstrate a dramatic reduction in computation time. For numeric polynomials of degree 500, the traditional transformation-based method required 5,355 seconds (approximately 1.5 hours). In contrast, the BezNewton_preserving algorithm completed the same task in just 0.515 seconds.
4.2 Scalability
The data indicates that the performance gap widens as the degree of the polynomials increases. The ratio of time saved ($t_{trans} / t_{preserving}$) grows significantly, confirming that the $O(n^2)$ approach scales far more effectively than the $O(n^3)$ alternative for large-scale algebraic problems.
4.3 Practical Application
The authors further validated the algorithm by applying it to the construction of "confederate resultant matrices" used in subresultant theory. Their implementation consistently outperformed standard matrix polynomial evaluation methods, demonstrating the practical utility of the basis-preserving approach.
5. Conclusion and Future Directions
This paper provides a robust solution to a long-standing efficiency problem in computer algebra. By eliminating the need for basis transformation, the BezNewton_preserving algorithm offers a path toward faster and more stable polynomial root-finding.
While the current optimization is specifically tailored to the Newton basis, future research may focus on extending these recursive techniques to other non-standard bases, such as Lagrange or Bernstein bases. Additionally, the authors suggest that the structural insights gained here could be applied to accelerate the computation of subresultant polynomial chains, which are essential for calculating Greatest Common Divisors (GCDs) in symbolic computation.
Summary updated