Workshop on Software for Algebraic Geometry October 23-27, 2006 What should a software package for Numerical Algebraic Geometry be? Charles Wampler General.

Slides:



Advertisements
Similar presentations
1.3 Linear Functions.
Advertisements

Polynomial Approximation PSCI 702 October 05, 2005.
CSE 330: Numerical Methods
Today’s class Romberg integration Gauss quadrature Numerical Methods
Colloquium, School of Mathematcs University of Minnesota, October 5, 2006 Computing the Genus of a Curve Numerically Andrew Sommese University of Notre.
Trajectory Planning.  Goal: to generate the reference inputs to the motion control system which ensures that the manipulator executes the planned trajectory.
Solving Quadratic Equations Algebraically Lesson 2.2.
Chapter 4 Roots of Equations
Algebraic Geometry and Applications Seminar IMA, September 13, 2006 Solving Polynomial Systems by Homotopy Continuation Andrew Sommese University of Notre.
Satellite Conference on Algebraic Geometry Segovia, Spain, August 16, 2006 Numerical Algebraic Geometry Andrew Sommese University of Notre Dame.
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
Komplexe Analysis, Oberwolfach, August 31, 2006 Exceptional Sets and Fiber Products Andrew Sommese University of Notre Dame Charles Wampler General Motors.
Chapter 6 Numerical Interpolation
Principle of Functional Verification Chapter 1~3 Presenter : Fu-Ching Yang.
Upper and Lower Bounds for Roots
MATH 175: NUMERICAL ANALYSIS II Lecturer: Jomar Fajardo Rabajante IMSP, UPLB 2 nd Semester AY
Warm up Use the Rational Root Theorem to determine the Roots of : x³ – 5x² + 8x – 6 = 0.
Geometric Design of Mechanically Reachable Surfaces J. Michael McCarthy and HaiJun Su University of California, Irvine Mathematics Seminar California State.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Bertini: A software package for numerical algebraic geometry Developed by: Dan Bates Jon Hauenstein Andrew Sommese Charles Wampler.
Simpson Rule For Integration.
Aim: What are the higher degree function and equation? Do Now: a) Graph f(x) = x 3 + x 2 – x – 1 on the calculator b) How many times does the graph intersect.
Chapter 8 With Question/Answer Animations 1. Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence.
Chapter 2: First Steps in MuPAD MATLAB for Scientist and Engineers Using Symbolic Toolbox.
FoCM 2008, Hong Kong Regeneration: A New Algorithm in Numerical Algebraic Geometry Charles Wampler General Motors R&D Center (Adjunct, Univ. Notre Dame)
Unit 1 Expressions, Equations and Inequalities Copyright © 2014, 2010, 2007 Pearson Education, Inc Quadratic Equations.
Robustness in Numerical Computation I Root Finding Kwanghee Ko School of Mechatronics Gwnagju Institute of Science and Technology.
3.6 Polynomial and Rational Inequalities Introduce infant mortality module.
On the Use of Sparse Direct Solver in a Projection Method for Generalized Eigenvalue Problems Using Numerical Integration Takamitsu Watanabe and Yusaku.
Dan Bates University of Notre Dame Charles Wampler GM Research & Development Bertini: A new software package for computations in numerical algebraic geometry.
Numerical Methods.
Copyright © Cengage Learning. All rights reserved. Polynomial And Rational Functions.
Section 5.5 The Real Zeros of a Polynomial Function.
Lec 9. Root Locus Analysis I From last lecture, the locations of the closed loop poles have important implication in –Stability –Transient behavior –Steady.
Polynomials, Curve Fitting and Interpolation. In this chapter will study Polynomials – functions of a special form that arise often in science and engineering.
The numerical computation of the multiplicity of a component of an algebraic set Dan Bates (IMA) Joint work with: Chris Peterson (Colorado State) Andrew.
Solving Systems of Equations
On Computing Multiple Eigenvalues, the Jordan Structure and their Sensitivity Zhonggang Zeng Northeastern Illinois University Sixth International Workshop.
Mathematical Analysis of Recursive Algorithm CSG3F3 Lecture 7.
Section 8 Numerical Analysis CSCI E-24 José Luis Ramírez Herrán October 20, 2015.
Vector Equations IB Mathematics. Today Vector Equations of Lines Two and Three Dimensions Next week: Parameters, Parametric Equations The Algebra of Vector.
CSG523/ Desain dan Analisis Algoritma
CSG523/ Desain dan Analisis Algoritma
3.6 Rational Functions.
Digital and Non-Linear Control
Numerical Polynomial Algebra and Algebraic Geometry
The Fundamental Theorem of Algebra and Complete Factorization
Control Systems With Embedded Implementation (CSEI)
Solving Polynomial Functions
Solution of Nonlinear Equations
Lec 9. Root Locus Analysis I
Class Notes 18: Numerical Methods (1/2)
Solution of Equations by Iteration
Qun Huang, Patrick P. C. Lee, Yungang Bao
Root-Locus Analysis (1)
6-8 Roots and Zeros – Day 1 SWBAT
College Algebra Chapter 3 Polynomial and Rational Functions
Sec. 1.4 Quadratic Equations.
Solving Polynomial Equations
Engineering Tools for Electrical and Computer Engineers
Warm-up: Find all real solutions of the equation X4 – 3x2 + 2 = 0
Asst. Dr.Surasak Mungsing
Software Requirements Specification (SRS) Template.
Solving Polynomial Equations in Factored Form
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Apply the Fundamental Theorem of Algebra
Solving Special Cases.
N-port Network Port reference Line Impedance Port Voltage & Current.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Numerical Modeling Ramaz Botchorishvili
Presentation transcript:

Workshop on Software for Algebraic Geometry October 23-27, 2006 What should a software package for Numerical Algebraic Geometry be? Charles Wampler General Motors R&D Center Including joint work with Andrew Sommese, University of Notre Dame Dan Bates,IMA Jon Hauenstein, University of Notre Dame

2 Workshop on Software for Algebraic Geometry October 23-27, 2006 Outline Characteristics of good (numerical) software Reliable, Accurate, Fast, Modular, User Friendly What does it mean to “solve” equations Double precision, multiprecision, adaptive multiprecision Functionality of a NumAlgGeom package Base level operations Numeric & symbolic Mezzo level operations Algorithms for solving polynomial systems Zero dimensional vs. positive dimensional Reduced and non-reduced solutions Higher level algorithms Intersections, extraction of reals, computing genera Interfaces How should this be packaged for widest/best usability?

3 Workshop on Software for Algebraic Geometry October 23-27, 2006 Characteristics of good software Reliable with clear failure signals As fast as possible with time to completion estimates on big jobs Accurate With error estimates Modular User friendly

4 Workshop on Software for Algebraic Geometry October 23-27, 2006 Trade-offs Reliability and accuracy cost speed Numerical accuracy depends on precision High degree systems or bad scaling may require multiprecision Expensive, but available Affordable if used judiciously Two approaches Do the best you can in fixed precision If double precision fails, try more digits Adaptive Multiprecision Adjust precision as necessary using computable bounds on the numerical behavior of the system

5 Workshop on Software for Algebraic Geometry October 23-27, 2006 What does “solve” mean? Given p(z)  C[z], “solve” p(z)=0. “solve” #1 Specify ε  R + Find z  S, S={s  C : |p(s)|≤ε} One point in each connected component? Note: p(z)=0 and f(z)=2p(z)=0 may have different solutions “solve” #2 Specify ε  R + Find z  C such that |z-s|≤ε where p(s)=0 One z near each distinct solution s m z’s near each solution s of multiplicity m Note: p(z)=0 and f(z)=p(2z)=0 may have different solutions Weak version: do your best at the above and report an estimate of |z-s|.

6 Workshop on Software for Algebraic Geometry October 23-27, 2006 Ex 1: Monic Chebyshev Polynomials

7 Workshop on Software for Algebraic Geometry October 23-27, 2006 log 10 |T 11 (z)| contour plot At ε=.001, 1 solution zone. At ε=.0001, 11 solution zones. Precision matters.

8 Workshop on Software for Algebraic Geometry October 23-27, 2006 Wilkinson polynomials >> disp( double(w11) - single(w11) )

9 Workshop on Software for Algebraic Geometry October 23-27, 2006 Symbolic results Solving W 11 (z)=0 maple('solve(expand((z-1)*(z-2)*(z-3)* (z-4)*(z-5)*(z-6)*(z-7)*(z-8)*(z-9)*(z-10)*(z-11)))') 1,2,3,4,5,6,7,8,9,10,11 Beautiful! Solving W 11 (z)+1=0 maple('solve(expand((z-1)*(z-2)*(z-3)* (z-4)*(z-5)*(z-6)*(z-7)*(z-8)*(z-9)*(z-10)*(z-11)+1))') RootOf(_Z^11-66*_Z^10+… ,index = 1), …RootOf(…,index = 11) Not so useful… Numerically, these are of the same difficulty

10 Workshop on Software for Algebraic Geometry October 23-27, 2006 Numeric roots of W 11 (z)=0 (Matlab) *=double o=single Plot of Matlab results >> roots(single(w11)) and >> roots(double(w11)) Accuracy: single = 0.8 double = 0.8e-8

11 Workshop on Software for Algebraic Geometry October 23-27, 2006 Adaptive Precision Accuracy depends on precision How much precision is needed for a specified accuracy? Shouldn’t the software figure this out for me? Adaptive multiple precision Inputs: Desired accuracy Degrees of polynomials Magnitude of the coefficients Result: Precision set to guarantee the desired accuracy

12 Workshop on Software for Algebraic Geometry October 23-27, 2006 Adaptive Formula There is a similar formula to guarantee path tracking and accuracy for multivariate systems Bates, Sommese, Wampler, “Multiprecision path tracking”, preprint.

13 Workshop on Software for Algebraic Geometry October 23-27, 2006 Application to Wilkinson W 11 Worst root is one near z=8 ||J -1 (8)|| = 1/30240  ≈5x10 9 ||z||=8 Result: we need P>  + 5 Single precision P=8  3 good digits predicted, 1 obtained Double precision P=16  11 good digits predicted, 8 obtained

14 Workshop on Software for Algebraic Geometry October 23-27, 2006 Functionality: Top Level Solve n polynomials f(z) in C[z 1,…,z N ] N and n not necessarily equal System f(z) might be a straight-line program We want all solutions “solve” definition #2 Higher-dimensional sets should be decomposed into irreducibles Solutions at infinity should cause no harm Should handle non-reduced components Should solve ab initio and parameter homotopies Should have a parallel version Should have the characteristics of Reliable, Accurate, Fast  Adaptive Multiprecision Modular, User Friendly Let’s discuss the modules…

15 Workshop on Software for Algebraic Geometry October 23-27, 2006 User Friendly & Flexibility of Usage What form should the software take to be most useful and user friendly? Possibilities Black box with switches & configs (accuracy ε, etc.) File(s) in, file(s) out Toolbox Suite of C routines Interface to X, where X = (Maple, Matlab, ?) Scripting language Engine for specialized wrappers Example: kinematics with CAD/GUI interface Open discussion