Skip to Main Content

Real Numerical Algebraic Geometry

Jonathan D. Hauenstein
Dhagash Mehta
Margaret H. Regan
Samantha N. Sherman
Charles W. Wampler

The authors are hosting an AMS sponsored Mathematics Research Community (MRC) on real numerical algebraic geometry. The research program developed by the authors will focus on theory and algorithm design for real numerical algebraic geometry along with solving problems arising in applications such as kinematics and chemical reaction networks. This article provides some background and an introduction to the themes of this MRC. Interested pure and applied researchers in mathematics and fields related to the applications are encouraged to apply.

1. Real Numerical Algebraic Geometry

Numerical algebraic geometry (65H14 in MSC2020) is the mathematical subject area focused on numerically computing and manipulating solution sets to systems of polynomial equations. The name numerical algebraic geometry was coined in 1996 in a paper by Sommese and Wampler 21. By performing computations over the complex numbers, which is algebraically closed, one can prove many results regarding polynomial system solving leading to computationally feasible algorithms that can be implemented using floating-point arithmetic. For example, one can compute the irreducible components of the solution set of a given polynomial system and represent it on a computer via a so-called numerical irreducible decomposition with witness sets. The books 322 provide a general overview of numerical algebraic geometry.

For most applications of polynomial systems in science and engineering, only real solutions are of interest. Some examples include computing the equilibria of a dynamical system, synthesizing a mechanism to perform given tasks, and reconstructing three-dimensional models from two-dimensional images in computer vision. Of course, if a polynomial system has only finitely many solutions over the complex numbers, then one approach is to compute all of the complex solutions and retain only the real subset of solutions. Although such an approach has been used effectively on problems of modest size, the number of real solutions are typically only a very small fraction of the number of complex solutions, so much computation is wasted. For example, a problem in four-bar synthesis has only 384 real solutions out of 8652 complex solutions 24 while a problem in computing equilibria of a dynamical system has only 2 equilibria out of complex solutions 9. Thus, a key research area is to develop numerical approaches for computing and manipulating only the real solution set to a system of polynomial equations yielding real numerical algebraic geometry.

Since the real numbers are not algebraically closed, much of the theory underpinning techniques in numerical algebraic geometry no longer holds when considering only the real solutions. However, there is a growing body of algorithms for numerically computing and manipulating the real solution set to a system of polynomial equations. This includes critical-point methods for sampling real points, routing functions and road-maps for deciding connectivity, and cell decompositions to provide a full description.

Figure 1.

A curve traced by a Griffis-Duffy platform, an exceptional Stewart-Gough platform.

Graphic without alt text

2. Exploring the Real Parameter Space

Polynomial systems arising in science and engineering typically depend upon parameters such as reaction rates, lengths, and temperature. Since the behavior of the real solution sets can change as the parameters vary, one can explore the parameter space to determine the different behaviors. One tool for exploration is a parameter homotopy of the form

Moving from to deforms the parameters from the starting parameters to the target parameters . A parameter homotopy allows for efficient computation of solutions to for many different parameters . Such information can be used to provide insight into the geography of the parameter space. Figure 2 presents a decomposition of the parameter space based on the number of real solutions when the lengths of two legs of a 3RPR mechanism are changed 16. The color represents the number of real solutions such that the darker the color, the more real solutions there are. The boundaries correspond with the discriminant locus.

Figure 2.

Parameter space decomposition for 3RPR mechanism based on number of real solutions.

Graphic without alt text

If one performs a real parameter homotopy inside of a connected component in the complement of the discriminant locus, then there must be a bijection between real solutions for the start and target parameters. Parameter space exploration coupled with learning the boundaries has showed that corresponding real parameter homotopies significantly decrease the computational cost of computing the real solutions 4, especially when the number of real solutions is small in comparison to the total number of complex solutions. For example, in the trifocal pose geometry problem illustrated in Figure 3, there are a total of 312 nonsingular, isolated solutions, yet only about 35 of them are real on average 13. Computer vision showcases minimal problems where the number of real solutions is drastically smaller than the total degree. Therefore, continuing to expand current methods to focus on just real solutions can have a large impact on efficient and fast solving for many parameter instances within applications.

Figure 3.

Trifocal pose geometry: three pinhole cameras view a point-plus-tangent 13.

Graphic without alt text

When using a sequence of parameter homotopies, it is natural to consider what happens to the solutions when one performs a loop in parameter space and returns to the original set of parameters. Classically, the monodromy group encapsulates all the possible permutations of the isolated solutions. A simple example of a nontrivial monodromy loop is demonstrated using the complex square root via . As shown in Figure 4, starting at and tracking the solution for as goes from to will return to . Thus, the monodromy group is the symmetric group on two elements since the two solutions at can be interchanged.

Although the monodromy group captures some structure within the solutions over the complex numbers, it can fail to capture interesting behavior about the real solutions. For example, returning to the 3RPR mechanism whose parameter space decomposition is provided in Figure 2, a nontrivial monodromy action corresponds with a nonsingular assembly mode change. This is important for engineers to understand when controlling parallel manipulators due to the possible change of pose at the “home” position. Although the complex monodromy group is the full symmetric group, the six real solutions in the red region actually break into two subsets of 3 that can only permute amongst themselves 16. In particular, starting with a “home” position pose, it is possible to return to two other poses. Since this behavior is not captured with the classical monodromy group over the complex number, this exemplifies the impact of having methods that focus on the real numbers to understand the behavior of the real solutions.

Figure 4.

Monodromy loop: as circles in around 0, interchanges between and .

Graphic without alt text

For positive-dimensional real solution sets, sampling techniques combined with topological data analysis can be used to build graphs that approximate the topological structure. For example, Figure 5 shows the configuration space of a parallel five-bar manipulator 12 which can be used for path planning to efficiently connect different configurations while avoiding configurations that are problematic from a mechanical perspective.

Figure 5.

Path planning in configuration space for a parallel five-bar manipulator.

Graphic without alt text

In addition to sampling, other approaches for numerically computing positive-dimensional real solution sets include cell decompositions 5 and decompositions using routing functions 1018, which will be explored as part of this MRC.

3. Number of Real Solutions

A natural question to ask of any parameterized system with generically finitely many complex solutions is the minimum and maximum number of real solutions. For example, assembling a Stewart-Gough platform corresponds with solving a parameterized polynomial system which generically has 40 complex solutions. In 1998, a set of parameters was found such that all 40 solutions are real, meaning that the corresponding Stewart-Gough platform robot can be assembled in 40 different ways 11. Similar questions arise in many application areas including parameters for a chemical reaction network to have multiple real equilibria.

Another example is to determine the maximum number of equilibria for the Kuramoto model, which is a mathematical model used to describe synchronization. With three oscillators, the maximum number of real equilibria matches the generic root count over the complex numbers, namely . With four oscillators, it was conjectured using parameter space exploration that the maximum number of real equilibria was , which is strictly smaller than the generic complex root count of . This upper bound of for four oscillators was proven in 15 with Figure 6 illustrating the approach which computed at least one sample point in each component. The cases with five or more oscillators remain open.

Figure 6.

Parameter space decomposition arising from Kuramoto with sample points in each component 15.

Graphic without alt text

A natural question concerning parameterized families is whether there always exists a real solution, i.e., if the minimum number of real solutions is positive. Of course, if there is an odd number of nonsingular complex solutions to a polynomial system with real coefficients, then there is always a real solution since nonreal solutions arise in complex conjugate pairs. For problems with an even number, the answer can be quite challenging. This is relevant, for example, in computer vision, in which one may want to determine if there always exists a real reconstruction given any location of the image features. An open problem in real enumerative geometry is to determine if there always exists a real plane conic that passes through the origin and intersects each of six given real lines. Over the complex numbers, there are 18 such plane conics generically and all experimental evidence to date suggests that at least two of them are always real, e.g., 1417, while a proof remains elusive. An instance of this problem is shown in Figure 7.

Figure 7.

Real plane conic intersecting six given real lines and passing through the origin (green).

Graphic without alt text

4. Software

Software packages implementing various numerical algebraic geometric algorithms include Bertini 2,Hom4PS2 19, HomotopyContinuation.jl 8, NAG4M2 20, and PHCpack 23. Paramotopy 1 provides efficient methods for parameterized polynomial systems using Bertini. Some examples of software in real numerical algebraic geometry are Bertini_real 5 for computing a cell decomposition of curves and surfaces, polyTop 6 for computing topological information of a real surface, and HypersurfaceRegions.jl 7 for computing complements of an arrangement of real hypersurfaces from 1018.

5. You are Invited!

The authors invite early-career applicants to join our AMS MRC during the summer of 2025 on these topics. The goal of this collaborative workshop is to bring together mathematicians and domain experts in kinematics, computer vision, and chemical reaction networks to develop new methods and to solve problems using real numerical algebraic geometry. The problems to be undertaken in the workshop generally fall into one or more of the following categories:

development and refinement of algorithms characterizing the real solution set, such as counting connected components, sampling points on connected components, and capturing monodromy structures;

approaches for quickly computing real solutions;

methods for exploring the behavior of real solutions over a parameter space; and

exploration of applications, such as robot kinematics, computer vision, or chemical equilibrium. Among these, the characterization of robot and mechanism workspaces, singularities, and connectivity is an especially rich source of interesting problems.

In addition to research collaborations, there will be professional development opportunities to learn about research in industry and expand professional networks. We invite you to apply and join us in exploring real numerical algebraic geometry!

References

[1]
D. J. Bates, D. Brake, and M. Niemerg, Paramotopy: Parameter homotopies in parallel, LNCS 10931 (2018), 28–35.
[2]
D. J. Bates, J. D. Hauenstein, A. J. Sommese, and C. W. Wampler, Bertini: Software for numerical algebraic geometry, available at bertini.nd.edu.
[3]
D. J. Bates, J. D. Hauenstein, A. J. Sommese, and C. W. Wampler, Numerically solving polynomial systems with Bertini, Software, Environments, and Tools, vol. 25, Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, 2013. MR3155500,
Show rawAMSref \bib{BHSW13}{book}{ label={3}, author={Bates, D. J.}, author={Hauenstein, J. D.}, author={Sommese, A. J.}, author={Wampler, C. W.}, title={Numerically solving polynomial systems with Bertini}, series={Software, Environments, and Tools}, volume={25}, publisher={Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA}, date={2013}, pages={xx+352}, isbn={978-1-611972-69-6}, review={\MR {3155500}}, }
[4]
E. A. Bernal, J. D. Hauenstein, D. Mehta, M. H. Regan, and T. Tang, Machine learning the real discriminant locus, J. Symbolic Comput. 115 (2023), 409–426, DOI 10.1016/j.jsc.2022.08.001. MR4476021,
Show rawAMSref \bib{LearningBdry}{article}{ label={4}, author={Bernal, E. A.}, author={Hauenstein, J. D.}, author={Mehta, D.}, author={Regan, M. H.}, author={Tang, T.}, title={Machine learning the real discriminant locus}, journal={J. Symbolic Comput.}, volume={115}, date={2023}, pages={409--426}, issn={0747-7171}, review={\MR {4476021}}, doi={10.1016/j.jsc.2022.08.001}, }
[5]
D. A. Brake, D. J. Bates, W. Hao, J. D. Hauenstein, A. J. Sommese, and C. W. Wampler, Algorithm 976: Bertini_real: numerical decomposition of real algebraic curves and surfaces, ACM Trans. Math. Software 44 (2017), no. 1, Art. 10, 30, DOI 10.1145/3056528. MR3685393,
Show rawAMSref \bib{BertiniReal}{article}{ label={5}, author={Brake, D. A.}, author={Bates, D. J.}, author={Hao, W.}, author={Hauenstein, J. D.}, author={Sommese, A. J.}, author={Wampler, C. W.}, title={Algorithm 976: {\tt Bertini\_real}: numerical decomposition of real algebraic curves and surfaces}, journal={ACM Trans. Math. Software}, volume={44}, date={2017}, number={1}, pages={Art. 10, 30}, issn={0098-3500}, review={\MR {3685393}}, doi={10.1145/3056528}, }
[6]
D. A. Brake, J. D. Hauenstein, and M. H. Regan, polyTop: Software for computing topology of smooth real surfaces, LNCS 10931 (2018), 397–404.
[7]
P. Breiding, B. Sturmfels, and K. Wang, Computing arrangements of hypersurfaces, arXiv:2409.09622, 2024.
[8]
P. Breiding and S. Timme, HomotopyContinuation.jl: A package for homotopy continuation in Julia, LNCS 10931 (2018), 458–465.
[9]
O. Coss, J. D. Hauenstein, H. Hong, and D. K. Molzahn, Locating and counting equilibria of the Kuramoto model with rank-one coupling, SIAM J. Appl. Algebra Geom. 2 (2018), no. 1, 45–71, DOI 10.1137/17M1128198. MR3755653,
Show rawAMSref \bib{Kuramoto}{article}{ label={9}, author={Coss, O.}, author={Hauenstein, J. D.}, author={Hong, H.}, author={Molzahn, D. K.}, title={Locating and counting equilibria of the Kuramoto model with rank-one coupling}, journal={SIAM J. Appl. Algebra Geom.}, volume={2}, date={2018}, number={1}, pages={45--71}, review={\MR {3755653}}, doi={10.1137/17M1128198}, }
[10]
J. Cummings, J. D. Hauenstein, H. Hong, and C. D. Smyth, Smooth connectivity in real algebraic varieties, Numerical Algorithms, to appear.
[11]
P. Dietmaier, The Stewart-Gough platform of general geometry can have 40 real postures, Advances in robot kinematics: analysis and control (Salzburg, 1998), Kluwer Acad. Publ., Dordrecht, 1998, pp. 7–16, DOI 10.1007/978-94-015-9064-8_1. MR1643130,
Show rawAMSref \bib{Dietmaier}{article}{ label={11}, author={Dietmaier, P.}, title={The Stewart-Gough platform of general geometry can have 40 real postures}, conference={ title={Advances in robot kinematics: analysis and control}, address={Salzburg}, date={1998}, }, book={ publisher={Kluwer Acad. Publ., Dordrecht}, }, date={1998}, pages={7--16}, review={\MR {1643130}}, doi={10.1007/978-94-015-9064-8\_1}, }
[12]
P. B. Edwards, A. Baskar, C. Hills, M. Plecnik, and J. D. Hauenstein, Output mode switching for parallel five-bar manipulators using a graph-based path planner, 2023 IEEE International Conference on Robotics and Automation (ICRA), London, UK, 9735–9741, 2023.
[13]
R. Fabbri, T. Duff, H. Fan, M. H. Regan, D. da Costa de Pinho, E. Tsigaridas, C. W. Wampler, J. D. Hauenstein, P. J. Giblin, B. B. Kimia, A. Leykin, and T. Pajdla, Trifocal Relative Pose From Lines at Points, IEEE Transactions on Pattern Analysis and Machine Intelligence 45 (2023), no. 6, 7870–7884.
[14]
Z. A. Griffin and J. D. Hauenstein, Real solutions to systems of polynomial equations and parameter continuation, Adv. Geom. 15 (2015), no. 2, 173–187, DOI 10.1515/advgeom-2015-0004. MR3334023,
Show rawAMSref \bib{RealSolutions}{article}{ label={14}, author={Griffin, Z. A.}, author={Hauenstein, J. D.}, title={Real solutions to systems of polynomial equations and parameter continuation}, journal={Adv. Geom.}, volume={15}, date={2015}, number={2}, pages={173--187}, issn={1615-715X}, review={\MR {3334023}}, doi={10.1515/advgeom-2015-0004}, }
[15]
K. Harris, J. D. Hauenstein, and A. Szanto, Smooth points on semi-algebraic sets, J. Symbolic Comput. 116 (2023), 183–212, DOI 10.1016/j.jsc.2022.09.003. MR4493195,
Show rawAMSref \bib{Harris_Kuramoto}{article}{ label={15}, author={Harris, K.}, author={Hauenstein, J. D.}, author={Szanto, A.}, title={Smooth points on semi-algebraic sets}, journal={J. Symbolic Comput.}, volume={116}, date={2023}, pages={183--212}, issn={0747-7171}, review={\MR {4493195}}, doi={10.1016/j.jsc.2022.09.003}, }
[16]
J. D. Hauenstein and M. H. Regan, Real monodromy action, Appl. Math. Comput. 373 (2020), 124983, 13, DOI 10.1016/j.amc.2019.124983. MR4051883,
Show rawAMSref \bib{realMonodromy}{article}{ label={16}, author={Hauenstein, J. D.}, author={Regan, M. H.}, title={Real monodromy action}, journal={Appl. Math. Comput.}, volume={373}, date={2020}, pages={124983, 13}, issn={0096-3003}, review={\MR {4051883}}, doi={10.1016/j.amc.2019.124983}, }
[17]
J. D. Hauenstein and F. Sottile, Algorithm 921: alphaCertified: certifying solutions to polynomial systems, ACM Trans. Math. Software 38 (2012), no. 4, Art. 28, 20, DOI 10.1145/2331130.2331136. MR2972672,
Show rawAMSref \bib{alphaCertified}{article}{ label={17}, author={Hauenstein, J. D.}, author={Sottile, F.}, title={Algorithm 921: alphaCertified: certifying solutions to polynomial systems}, journal={ACM Trans. Math. Software}, volume={38}, date={2012}, number={4}, pages={Art. 28, 20}, issn={0098-3500}, review={\MR {2972672}}, doi={10.1145/2331130.2331136}, }
[18]
H. Hong, J. Rohal, M. Safey El Din, and E. Schost, Connectivity in semi-algebraic sets I, arXiv:2011.02162, 2020.
[19]
T. L. Lee, T. Y. Li, and C. H. Tsai, HOM4PS-2.0: a software package for solving polynomial systems by the polyhedral homotopy continuation method, Computing 83 (2008), no. 2-3, 109–133, DOI 10.1007/s00607-008-0015-6. MR2457354,
Show rawAMSref \bib{Hom4PS2}{article}{ label={19}, author={Lee, T. L.}, author={Li, T. Y.}, author={Tsai, C. H.}, title={HOM4PS-2.0: a software package for solving polynomial systems by the polyhedral homotopy continuation method}, journal={Computing}, volume={83}, date={2008}, number={2-3}, pages={109--133}, issn={0010-485X}, review={\MR {2457354}}, doi={10.1007/s00607-008-0015-6}, }
[20]
A. Leykin, Numerical algebraic geometry, J. Softw. Algebra Geom. 3 (2011), 5–10, DOI 10.2140/jsag.2011.3.5. MR2881262,
Show rawAMSref \bib{NAG4M2}{article}{ label={20}, author={Leykin, A.}, title={Numerical algebraic geometry}, journal={J. Softw. Algebra Geom.}, volume={3}, date={2011}, pages={5--10}, issn={1948-7916}, review={\MR {2881262}}, doi={10.2140/jsag.2011.3.5}, }
[21]
A. J. Sommese and C. W. Wampler, Numerical algebraic geometry, The mathematics of numerical analysis (Park City, UT, 1995), Lectures in Appl. Math., vol. 32, Amer. Math. Soc., Providence, RI, 1996, pp. 749–763. MR1421365,
Show rawAMSref \bib{NAG}{article}{ label={21}, author={Sommese, A. J.}, author={Wampler, C. W.}, title={Numerical algebraic geometry}, conference={ title={The mathematics of numerical analysis}, address={Park City, UT}, date={1995}, }, book={ series={Lectures in Appl. Math.}, volume={32}, publisher={Amer. Math. Soc., Providence, RI}, }, date={1996}, pages={749--763}, review={\MR {1421365}}, }
[22]
A. J. Sommese and C. W. Wampler II, The numerical solution of systems of polynomials arising in engineering and science, World Scientific Publishing Co. Pte. Ltd., Hackensack, NJ, 2005, DOI 10.1142/9789812567727. MR2160078,
Show rawAMSref \bib{SW05}{book}{ label={22}, author={Sommese, A. J.}, author={Wampler, C. W., II}, title={The numerical solution of systems of polynomials arising in engineering and science}, publisher={World Scientific Publishing Co. Pte. Ltd., Hackensack, NJ}, date={2005}, pages={xxii+401}, isbn={981-256-184-6}, review={\MR {2160078}}, doi={10.1142/9789812567727}, }
[23]
J. Verschelde, Algorithm 795: PHCpack: A general-purpose solver for polynomial systems by homotopy continuation, ACM Transactions on Mathematical Software 25 (1999), no. 2, 251–276.
[24]
C. W. Wampler, A. Morgan, and A. J. Sommese, Complete solution of the nine-point path synthesis problem for four-bar linkages, Journal of Mechanical Design 114 (1992), no. 1, 153–159.

Credits

Figures 1, 2, 4, 5, and 7 are courtesy of the authors.

Figure 3 is from [13], used with permission.

Figure 6 is from [15], used with permission.