Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
RootFinding[Homotopy] - find numerical approximations to roots of systems of polynomial equations
Calling Sequence
Homotopy(eqns, options)
Parameters
eqns
-
set or list of polynomial equations or polynomials
options
(optional) equations of the form option=value where option is one of MaxPredictorSteps, MinimumStepSize, or Tolerance; control solution method
Description
The Homotopy(eqns, options) function finds isolated non-repeated roots of square systems of polynomial equations, returning them as a list.
Homotopy attempts to find all isolated multiplicity one roots for the system of equations eqns that are not part of a solution manifold.
The basic concepts used by the algorithm are straightforward.
Computation of the roots is by a homotopy, which is a continuous map from a set of known solutions to the solutions of the input system. The known solutions are generated by Homotopy from a simple random start system.
For an input system and automatically generated random start system }, this map is of the form , which is called the homotopy system. When , solutions of are solutions of the generated system, and when , solutions of are solutions of the input system.
Once this map is created, then follow each path from a known solution to a possible solution of the input system by varying from 0 to 1.
Homotopy then differentiates the homotopy system, turning the problem into the integration of an ODE system over . The path is then followed by discrete steps, using an ODE solution method as a predictor for each step, and an application of Newton's method as a corrector for each step, thus ensuring the computed solution stays on the path.
Potential difficulties include paths that are close at some time, or isolated roots that are close. The default for Homotopy is to compute the roots that it can obtain easily, and stop for more expensive roots indicating that the computation becomes too difficult for the current settings. These settings can be controlled through a number of options.
MaxPredictorSteps = M controls the maximum number of steps taken from , and by default has a value of M=400. As an option, M must be in the range .
MinimumStepSize = m controls the smallest step that can be taken on any path before abandoning it. The default value is , but can be set in the range . The smaller the value, the harder Homotopy works.
Tolerance = tol is used as a partial criterion throughout the computation of a path for when the correction steps have sufficiently converged. It also has a second purpose, which is to provide a strict limit for the accuracy of the output isolated roots, in that these should satisfy the normalized input polynomials (that is, each polynomial is divided by the modulus of its largest coefficient) to within a maximum error of tol. The default value is , but it can be set in the range . There is an additional constraint that the tolerance value must be smaller than 1/10 the minimum step size m.
In summary, the default settings are sufficient for many problems, but for difficult problems a combination of increasing the maximum number of predictor steps and decreasing the minimum step size and tolerance may produce the desired solutions when the default values are insufficient.
In addition, for cases in which only a few solutions are needed, these can be obtained more efficiently by increasing the minimum step size and tolerance.
Examples
Intersection points of a line and circle:
Random system:
Tighter tolerance:
See Also
dsolve, evalf, fsolve, Groebner[Solve], LinearAlgebra[LinearSolve], randpoly, RootFinding[BivariatePolynomial], solve
References
Allgower, E.L., and Georg, K. "Numerical path following." Handbook of Numerical Analysis, Vol. 5. North-Holland, 1997.
Verschelde, J. "Algorithm 795: PHCpack: A general-purpose solver for polynomial systems by homotopy continuation." Transactions on Mathematical Software, Vol. 25, No. 2 (1999): 251-276.
Download Help Document