Abstract
The common zeros of two bivariate functions can be computed by finding the common zeros of their polynomial interpolants expressed in a tensor Chebyshev basis. From here we develop a bivariate rootfinding algorithm based on the hidden variable resultant method and Bézout matrices with polynomial entries. Using techniques including domain subdivision, Bézoutian regularization, and local refinement we are able to reliably and accurately compute the simple common zeros of two smooth functions with polynomial interpolants of very high degree (\(\ge \!1{,}000\)). We analyze the resultant method and its conditioning by noting that the Bézout matrices are matrix polynomials. Two implementations are available: one on the Matlab Central File Exchange and another in the roots command in Chebfun2 that is adapted to suit Chebfun’s methodology.
Similar content being viewed by others
Notes
Historically, this functional viewpoint of a Bézout matrix is in fact due to Cayley, who modified the original method of Bézout, both in the monomial basis [43, Lesson IX].
This includes those at infinity. The requirement can be formalized, but the algebraic details are beyond the scope of this paper.
We use \(r_x \approx -0.004\) and \(r_y\approx -0.0005\). There is no special significance of these constants apart from that they are small and arbitrary.
Strictly speaking, \(D\) needs to be allowed to have \(2\times 2\) blocks, since an \(LDL^T\) factorization with \(D\) diagonal may not exist, as the example illustrates. It is possible to extend the argument to such cases, but most symmetric matrices do permit \(D\) to be diagonal, and our purpose is to explain the behavior observed in practice.
References
Aruliah, D.A., Corless, R.M., Gonzalez-Vega, L., Shakoori, A.: Geometric applications of the Bezout matrix in the Lagrange basis. In: Proceedings of the 2007 International Workshop on Symbolic-Numeric Computation, pp. 55–64. ACM Press, New York (2007)
Asakura, J., Sakurai, T., Tadano, H., Ikegami, T., Kimura, K.: A numerical method for nonlinear eigenvalue problems using contour integrals. JSIAM Lett. 1, 52–55 (2009)
Atkinson, F.V.: Multiparameter Eigenvalue Problems. Academic Press, New York (1972)
Bai, Z., Demmel, J., Dongarra, J., Ruhe, A., van der Vorst, H.: Templates for the Solution of Algebraic Eigenvalue Problems: A Practical Guide. SIAM, Philadelphia (2000)
Barnett, S.: Greatest common divisors from generalized sylvester resultant matrices. Linear Multilinear Algebra 8, 271–279 (1980)
Bates, D.J., Hauenstein, J.D., Sommese, A.J., Wampler, C.W.: Numerically Solving Polynomial Systems with Bertini. SIAM, Philadelphia (2013)
Beyn, W.-J.: An integral method for solving nonlinear eigenvalue problems. Linear Algebra Appl. 436(10), 3839–3863 (2012)
Bézout, É.: Théorie Générale des Équations Algébriques. PhD thesis, Pierres, Paris (1779)
Bini, D.A., Gemignani, L.: Bernstein-bezoutian matrices. Theor. Comput. Sci. 315(2), 319–333 (2004)
Bini, D.A., Marco, A.: Computing curve intersection by means of simultaneous iterations. Numer. Algorithms 43, 151–175 (2006)
Bini, D.A., Noferini, V.: Solving polynomial eigenvalue problems by means of the Ehrlich–Aberth method. Linear Algebra Appl. 439, 1130–1149 (2013)
Bornemann, F., Laurie, D., Wagon, S., Waldvogel, H.: The SIAM 100-Digit Challenge: A Study in High-Accuracy Numerical Computing. SIAM, Philadelphia (2004)
Boyd, J.P.: Computing zeros on a real interval through chebyshev expansion and polynomial rootfinding. SIAM J. Numer. Anal. 40, 1666–1682 (2002)
Boyd, J.P.: Computing real roots of a polynomial in chebyshev series form through subdivision. Appl. Numer. Math. 56, 1077–1091 (2006)
Boyd, J.P.: Computing real roots of a polynomial in chebyshev series form through subdivision with linear testing and cubic solves. Appl. Math. Comput. 174, 1642–1658 (2006)
Boyd, J.P., Gally, D.H.: Numerical experiments on the accuracy of the chebyshev-frobenius companion matrix method for finding the zeros of a truncated series of chebyshev polynomials. J. Comput. Appl. Math. 205(1), 281–295 (2007)
Buchberger, B.: Introduction to Gröbner bases. In: Gröbner Basis and Applications, vol. 251, pp. 3–31. Cambridge University Press, Cambridge (1998)
Cox, D.A., Little, J.B., O’Shea, D.: Ideals, Varieties, and Algorithms: Introduction to Computational Algebraic Geometry and Commutative Algebra, 3rd edn. Springer, Berlin (2007)
Diaz-Toca, G.M., Fioravanti, M., Gonzalez-Vega, L., Shakoori, A.: Using implicit equations of parametric curves and surfaces without computing them: polynomial algebra by values. Comput. Aided Geom. D. 30, 116–139 (2013)
Dreesen, P., Batselier, K., De Moor, B.: Back to the roots: Polynomial system solving, linear algebra, systems theory. In: Proceedings of 16th IFAC Symposium on System Identification, pp. 1203–1208 (2012)
Emiris, I.Z., Mourrai, B.: Matrices in elimination theory. J. Symb. Comput. 28, 3–44 (1999)
Gohberg, I., Lancaster, P., Rodman, L.: Matrix Polynomials. SIAM, Philadelphia (unabridged republication of book first published by academic press in 1982) edition (2009)
Golub, G.H., Van Loan, C.F.: Matrix Computations. The Johns Hopkins University Press, Baltimore (1996)
Harnack, C.G.A.: Über vieltheiligkeit der ebenen algebraischen curven. Math. Ann. 10, 189–199 (1876)
Higham, N.J.: Accuracy and Stability of Numerical Algorithms, 2nd edn. SIAM, Philadelphia (2002)
Hilton, A., Stoddart, A.J., Illingwort, J., Windeatt, T.: Marching triangles: range image fusion for complex object modelling. In: International Conference on Image Processing, vol. 1 (1996)
Hochstenbach, M.E., Košir, T., Plestenjak, B.: A jacobi-davidson type method for the two-parameter eigenvalue problem. SIAM J. Matrix Anal. Appl. 26(2), 477–497 (2004)
Jónsson, G., Vavasis, S.: Accurate solution of polynomial equations using macaulay resultant matrices. Math. Comp. 74, 221–262 (2005)
Kapur, D., Saxena, T.: Comparison of various multivariate resultant formulations. In: Levelt, A. (ed) Proceedings of International Symposium on Symbolic and Algebraic Computation, pp. 187–194. Montreal (1995)
Kirwan, F.C.: Complex Algebraic Curves. Cambridge University Press, Cambridge (1992)
Kravitsky, N.: On the discriminant function of two commuting nonselfadjoint operators. Integr. Equ. Oper. Theory 3, 97–125 (1980)
Li, R.-C., Nakatsukasa, Y., Truhar, N., Wang, W.: Perturbation of multiple eigenvalues of hermitian matrices. Linear Algebra Appl. 437, 202–213 (2012)
Mackey, D.S., Mackey, N., Mehl, C., Mehrmann, V.: Vector spaces of linearizations for matrix polynomials. SIAM J. Matrix Anal. Appl. 28, 971–1004 (2006)
Manocha, D., Demmel, J.: Algorithms for intersecting parametric and algebraic curves I: simple intersections. ACM Trans. Graph. 13, 73–100 (1994)
Marks II, R.J.: Introduction to Shannon Sampling and Interpolation Theory. Springer, New York (1991)
Mehrmann, V., Voss, H.: Nonlinear eigenvalue problems: A challenge for modern eigenvalue methods. Mitt. der Ges. fr Angewandte Mathematik and Mechanik 27, 121–151 (2005)
Muhič, A., Plestenjak, B.: On the quaratic two-parameter eigenvalue problem and its linearization. Linear Algebra Appl. 432, 2529–2542 (2010)
Nakatsukasa, Y., Noferini, V., Townsend, A.: Computing common zeros of two bivariate functions. MATLAB Central File Exchange (2013). http://www.mathworks.com/matlabcentral/fileexchange/44084
Nakatsukasa, Y., Noferini, V., Townsend, A.: Vector spaces of linearizations for matrix polynomials: a bivariate polynomial approach. Preprint (2014)
Parlett, B.N.: The Symmetric Eigenvalue Problem. SIAM, Philadelphia (1998)
Plaumann, D., Sturmfels, B., Vinzant, C.: Computing linear matrix representations of Helton–Vinnikov curves. Math. Methods Syst. Optim. Control Oper. Theory 222, 259–277 (2012)
Sagraloff, M. et al.: Gallery of algebraic curves and their arrangements. http://exacus.mpi-inf.mpg.de/gallery.html
Salmon, G.: Lessons Introductory to the Modern Higher Algebra. G. E. Stechert & Co., New York (1885)
Sommese, A.J., Wampler, C.W.: The Numerical Solution of Systems of Polynomials. World Scientific, Singapore (2005)
Sorber, L., Van Barel, M., De Lathauwer, L.: Numerical solution of bivariate and polyanalytic polynomial systems. Preprint (2013)
Sun, J.-G.: On condition numbers of a nondefective multiple eigenvalue. Numer. Math. 61, 265–275 (1992)
Tisseur, F.: Backward error and condition of polynomial eigenvalue problems. Linear Algebra Appl. 309, 339–361 (2000)
Townsend, A., Trefethen, L.N.: An extension of chebfun to two dimensions. SIAM J. Sci. Comput. 35(6), C495–C518 (2013)
Trefethen, L.N.: A hundred-dollar, hundred-digit challenge. SIAM News, 35 (2002)
Trefethen, L.N.: Approximation Theory and Approximation Practice. SIAM, Philadelphia (2013)
Trefethen, L.N. et al.: Chebfun version 4.2.2949. Software. The Chebfun Development Team (2013)
Wilkinson, J.H.: The perfidious polynomial. In: Golub, G.H. (ed) Studies in Numerical Analysis. Mathematical Association of America (1984)
Xie, H., Dai, H.: On the sensitivity of multiple eigenvalues of nonsymmetric matrix pencils. Linear Algebra Appl. 374, 143–158 (2003)
Acknowledgments
We are grateful to John Boyd for making us aware of contouring algorithms and to Rob Corless for a fruitful discussion. We would like to thank Nick Higham, Françoise Tisseur, and Nick Trefethen for their support throughout our collaboration. We thank the anonymous referees for their useful comments that have led to improvements in the paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
Yuji Nakatsukasa was partially supported by EPSRC grant EP/I005293/1.
Vanni Noferini was supported by ERC Advanced Grant MATFUN (267526).
Alex Townsend was supported by EPSRC grant EP/P505666/1 and the ERC grant FP7/2007-2013 to
L. N. Trefethen.
Rights and permissions
About this article
Cite this article
Nakatsukasa, Y., Noferini, V. & Townsend, A. Computing the common zeros of two bivariate functions via Bézout resultants. Numer. Math. 129, 181–209 (2015). https://doi.org/10.1007/s00211-014-0635-z
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00211-014-0635-z