# Numerical algebraic geometry

**Numerical algebraic geometry** is a field of computational mathematics, particularly computational algebraic geometry, which uses methods from numerical analysis to study and manipulate algebraic varieties on a computer.[1][2][3]

## Homotopy continuation

The primary computational method used in numerical algebraic geometry is homotopy continuation, in which a homotopy is formed between two polynomial systems, and the isolated solutions (points) of one are continued to the other. This is a specification of the more general method of numerical continuation.

Let represent the variables of the system. By abuse of notation, and to facilitate the spectrum of ambient spaces over which one can solve system, we do not use vector notation for . Similarly for the polynomial systems and .

Current canonical notation calls the start system , and the target system, i.e., the system to solve, .[4][5] A very common homotopy, the straight-line homotopy, between and is

In the above homotopy, one starts the path variable at and continues toward . Another common choice is to run from to . In principle, the choice is completely arbitrary. In practice, regarding endgame methods for computing singular solutions using homotopy continuation, the target time being can significantly ease analysis, so this perspective is here taken.

Regardless of the choice of start and target times, the ought to be formulated such that , and .

One has a choice in , including

- Roots of unity
- Total degree
- Polyhedral
- Multi-homogeneous

and beyond these, specific start systems that closely mirror the structure of may be formed for particular systems. The choice of start system impacts the computational time it takes to solve , in that those that are easy to formulate (such as total degree) tend to have higher numbers of paths to track, and those that take significant effort (such as the polyhedral method) are much sharper. There is currently no good way to predict which will lead to the quickest time to solve.

Actual continuation is typically done using predictor–corrector methods, with additional features as implemented. Predicting is done using a standard ODE predictor method, such as Runge–Kutta, and correction often uses Newton–Raphson iteration.

Because and are polynomial, homotopy continuation in this context is theoretically guaranteed to compute all solutions of , due to Bertini's theorem. However, this guarantee is not always achieved in practice, because of issues arising from limitations of the modern computer, most namely finite precision. That is, despite the strength of the probability-1 argument underlying this theory, without using a priori certified tracking methods, some paths may fail to track perfectly for various reasons.

## Witness set

A witness set is a data structure used to describe algebraic varieties. The witness set for an affine variety that is equidimensional consists of three pieces of information. The first piece of information is a system of equations . These equations define the algebraic variety that is being studied. The second piece of information is a linear space . The dimension of is the codimension of , and chosen to intersect transversely. The third piece of information is the list of points in the intersection . This intersection has finitely many points and the number of points is the degree of the algebraic variety . Thus, witness sets encode the answer to the first two questions one asks about an algebraic variety: What is the dimension, and what is the degree? Witness sets also allow one to perform a numerical irreducible decomposition, component membership tests, and component sampling. This makes witness sets a good description of an algebraic variety.

## Certification

Solutions to polynomial systems computed using numerical algebraic geometric methods can be certified, meaning that the approximate solution is "correct". This can be achieved in several ways, either a priori using a certified tracker,[6][7] or a posteriori by showing that the point is, say, in the basin of convergence for Newton's method.[8]

## Software

Several software packages implement portions of the theoretical body of numerical algebraic geometry. These include, in alphabetic order:

## Theorem Star

Often researchers use results from both probabilistic symbolic computations and numerical computations to prove theorems. The notation *Theorem Star* is often used to indicate the reliance on such computations.

Our methods include probabilistic symbolic computations and numerical computations. Though they have been carefully tested and produce completely reproducible results, they are technically only true with high probability, or up to the numerical precision of the computers we use. To indicate reliance on such computations, we designate those theorems, corollaries, and propositions with a star.[13]

## References

- Jonathan D. Hauenstein, Andrew J. Sommese, What is numerical algebraic geometry?, Journal of Symbolic Computation, Volume 79, Part 3, March–April 2017, pages 499–507
- Sommese, Andrew J.; Verschelde, Jan; Wampler, Charles W. "Introduction to Numerical Algebraic Geometry" (PDF).
- Leykin, Anton (2000-01-01). "Numerical algebraic geometry".
*Journal of Software for Algebra and Geometry*.**3**(1): 5–10. doi:10.2140/jsag.2011.3.5. ISSN 1948-7916. - Andrew J. Sommese, Charles W. Wampler, The Numerical Solution of Systems of Polynomials Arising in Engineering and Science, World Scientific, 2005
- Daniel J. Bates, Jonathan D. Hauenstein, Andrew J. Sommese, Charles W. Wampler, Numerically solving polynomial systems with Bertini, SIAM, 2013
- Beltrán, Carlos; Leykin, Anton (2012-03-01). "Certified Numerical Homotopy Tracking".
*Experimental Mathematics*.**21**(1): 69–83. arXiv:0912.0920. doi:10.1080/10586458.2011.606184. ISSN 1058-6458. - Beltrán, Carlos; Leykin, Anton (2013-02-01). "Robust Certified Numerical Homotopy Tracking".
*Foundations of Computational Mathematics*.**13**(2): 253–295. arXiv:1105.5992. doi:10.1007/s10208-013-9143-2. ISSN 1615-3375. - Hauenstein, Jonathan D., and Sottile, Frank. "Algorithm 921: alphaCertified: certifying solutions to polynomial systems." ACM Transactions on Mathematical Software (TOMS) 38.4 (2012): 28.
- Available at http://bertini.nd.edu
- Available at http://www.hom4ps3.org/store/c1/Featured_Products.html
- Available at https://www.JuliaHomotopyContinuation.org
- Verschelde, Jan. "PHCPACK: A general-purpose solver for polynomial systems by homotopy continuation." Preprint (1997).
- Oeding, Luke; Sam, Steven (2016). "Equations for the fifth secant variety of Segre products of projective spaces".
*Experimental Mathematics*.**25**(1): 94–99. arXiv:1502.00203. doi:10.1080/10586458.2015.1037872.