Polynomials and Gröbner Bases

Similar documents
POLYNOMIAL DIVISION AND GRÖBNER BASES. Samira Zeada

1 xa 2. 2 xan n. + c 2 x α 2

Groebner Bases and Applications

Groebner Bases, Toric Ideals and Integer Programming: An Application to Economics. Tan Tran Junior Major-Economics& Mathematics

PREMUR Seminar Week 2 Discussions - Polynomial Division, Gröbner Bases, First Applications

ABSTRACT. Department of Mathematics. interesting results. A graph on n vertices is represented by a polynomial in n

Unit 3: Ra.onal and Radical Expressions. 3.1 Product Rule M1 5.8, M , M , 6.5,8. Objec.ve. Vocabulary o Base. o Scien.fic Nota.

Polynomials, Ideals, and Gröbner Bases

Lesson 14 Properties of Groebner Bases

Anatomy of SINGULAR talk at p. 1

Combinatorics Sec/on of Rosen Ques/ons

Rela%ons and Their Proper%es. Slides by A. Bloomfield

Summer Project. August 10, 2001

On the minimal free resolution of a monomial ideal.

Computing Minimal Polynomial of Matrices over Algebraic Extension Fields

A decoding algorithm for binary linear codes using Groebner bases

W3203 Discrete Mathema1cs. Number Theory. Spring 2015 Instructor: Ilia Vovsha. hcp://

Unit 1 Part 1. Order of Opera*ons Factoring Frac*ons

Lecture 1. (i,j) N 2 kx i y j, and this makes k[x, y]

Lecture 2: Gröbner Basis and SAGBI Basis

MCS 563 Spring 2014 Analytic Symbolic Computation Monday 27 January. Gröbner bases

CS6750: Cryptography and Communica7on Security

CSCI 1010 Models of Computa3on. Lecture 02 Func3ons and Circuits

The generic Gröbner walk

Computing Free Resolutions in Macaulay2

GRÖBNER BASES AND POLYNOMIAL EQUATIONS. 1. Introduction and preliminaries on Gróbner bases

Math 4370 Exam 1. Handed out March 9th 2010 Due March 18th 2010

Abstract Algebra for Polynomial Operations. Maya Mohsin Ahmed

Lecture 15: Algebraic Geometry II

4 Hilbert s Basis Theorem and Gröbner basis

Lecture 4 February 5

Math 615: Lecture of January 10, 2007

ODEs + Singulari0es + Monodromies + Boundary condi0ons. Kerr BH ScaRering: a systema0c study. Schwarzschild BH ScaRering: Quasi- normal modes

The generic Gröbner walk

Singular in Sage. MCS 507 Lecture 40 Mathematical, Statistical and Scientific Software Jan Verschelde, 23 November 2011

Least Square Es?ma?on, Filtering, and Predic?on: ECE 5/639 Sta?s?cal Signal Processing II: Linear Es?ma?on

Definition For a set F, a polynomial over F with variable x is of the form

FOR GRASSMAN ALGEBRAS IN A MAPLE PACKAGE MR. TROY BRACHEY. Tennessee Tech University OCTOBER No

Unit 5. Matrix diagonaliza1on

Rewriting Polynomials

Extremal Behaviour in Sectional Matrices

Introduction to Gröbner Bases for Geometric Modeling. Geometric & Solid Modeling 1989 Christoph M. Hoffmann

New developments in Singular

Lesson 76 Introduction to Complex Numbers

Sec$on The Use of Exponen$al Weigh$ng Exponen$al weigh$ng of a sequence x(n) is defined by. (equa$on 13.70)

5 The existence of Gröbner basis

Gröbner Bases. eliminating the leading term Buchberger s criterion and algorithm. construct wavelet filters

Prime Factorizaon. Algebra with Career Applicaons. Find GCF using Prime Factorizaon. Greatest Common Factor. Unit7Vol1.notebook.

MCS 563 Spring 2014 Analytic Symbolic Computation Monday 14 April. Binomial Ideals

Galois groups of polynomials and the construction of finite fields

From Mathema+cs to Generic Programming

Problem Set 1 Solutions

Algebra Homework, Edition 2 9 September 2010

Standard Bases for Linear Codes over Prime Fields

An Introduction to Computer Algebra System SINGULAR. Part I

Overview of Computer Algebra

Non-commutative reduction rings

CSE P 501 Compilers. Value Numbering & Op;miza;ons Hal Perkins Winter UW CSE P 501 Winter 2016 S-1

CSCI 1010 Models of Computa3on. Lecture 11 Proving Languages NP-Complete

Journal of Algebra 226, (2000) doi: /jabr , available online at on. Artin Level Modules.

Computational methods in the study of symplectic quotients

16.41 NCPOLY: Non commutative polynomial ideals

On the Inoue invariants of the puzzles of Sudoku type

CS 161: Design and Analysis of Algorithms

Algebraic Varieties. Notes by Mateusz Micha lek for the lecture on April 17, 2018, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra

Monomial orderings, rewriting systems, and Gröbner bases for the commutator ideal of a free algebra

Gröbner Bases: A Short Introduction for Systems Theorists

On the BMS Algorithm

Convex Regions and Phonological Frequency:

Modelling of Equipment, Processes, and Systems

g(x) = 1 1 x = 1 + x + x2 + x 3 + is not a polynomial, since it doesn t have finite degree. g(x) is an example of a power series.

SJÄLVSTÄNDIGA ARBETEN I MATEMATIK

Streaming - 2. Bloom Filters, Distinct Item counting, Computing moments. credits:

Tangent cone algorithm for homogenized differential operators

MTH 310, Section 001 Abstract Algebra I and Number Theory. Sample Midterm 1

M3P23, M4P23, M5P23: COMPUTATIONAL ALGEBRA & GEOMETRY REVISION SOLUTIONS

Coding Theory: A Gröbner Basis Approach

S-Polynomials and Buchberger s Algorithm

RUDIMENTARY GALOIS THEORY

On a class of squarefree monomial ideals of linear type

Gröbner Complexes and Tropical Bases

Toric Ideals, an Introduction

MATH 431 PART 2: POLYNOMIAL RINGS AND FACTORIZATION

WORKING WITH MULTIVARIATE POLYNOMIALS IN MAPLE

21073 Hamburg, GERMANY

Math 121 Homework 2 Solutions

1. Definition of a Polynomial

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Bellman s Curse of Dimensionality

Computing syzygies with Gröbner bases

COMPONENTWISE REGULARITY (I)

Algorithmic Aspects of Gröbner Fans and Tropical Varieties

Chapter 14: Divisibility and factorization

Modern Computer Algebra

Hamiltonian Tournaments and Gorenstein Rings

Outline. Part 5. Computa0onal Complexity (3) Compound Interest 2/15/12. Recurrence Rela0ons: An Overview. Recurrence Rela0ons: Formal Defini0on

Minimal-span bases, linear system theory, and the invariant factor theorem

Lecture 7: Polynomial rings

Teaching Commutative Algebra and Algebraic Geometry using Computer Algebra Systems

Robert P. LeBoeuf- Mathematics (BS) Undergraduate Advisors: Prof. Saeja Kim, Gary Davis, Steven Leon

Transcription:

Alice Feldmann 16th December 2014 ETH Zürich Student Seminar in Combinatorics: Mathema:cal So<ware Prof. K. Fukuda Autumn Semester 2014

Talk Outline I. Introduc:on: Computa:onal Algebra II. a. b. c. III. a. Singular b. CoCoA c. Gfan IV. V. References

Introduc9on: Computa9onal Algebra Tackling problems with algebraic methods using the computer... For example... I. Solving inhomogeneous Systems of Linear Equa9ons Everybody knows the Gauss algorithm for solving systems of linear equa:ons! Use matrices as algebraic tool and an appropriate so<ware (for example MATLAB) to analyse whether there exists a unique solu:on for an inhomogeneous system (which happens if and only if det(m) 0). II.... provide solu:ons to basic problems in ring theory, for example: Let R be a ring and I be an ideal in R. Given r R, is r I? Membership Problem... provide an approach for solving systems of non- linear equa:ons (reduc:on of number of variables)

Let s remember some basic algebraic defini:ons and concepts... I. Monomial over a collec:on of variables II. Total degree of a monomial III. IV. Term: product of nonzero element c of a field F and a monomial. Polynomial p in n variables: sum of a finite number of terms with coefficients in F for

V. Polynomial Ring: set of all polynomials in n variables with coefficients in F VI. Field of Ra9onal Func9ons: VII. Ideal: non- empty subset of field F, such that a. for and b. For for an arbitrary polynomial VIII. Ideal generated by polynomials Remark: is the smallest ideal, which contains

Example Consider the polynomials: Observe: Conclude:

Remarks I. Hilbert Basis Theorem Every ideal I in has a finite genera:ng set. This means, for any given ideal I, there exists a finite set of polynomials such that. II. Division Algorithm in Given two polynomials, we can divide f by g, producing a unique quo:ent q and remainder r such that and it is either r = 0, or r has degree strictly smaller than the degree of g. If there exists a division algorithm for polynomials in just one variable, is there one for polynomials in many variables?

Monomial Orders Formal defini9on: A monomial order on is any rela:on > on the set of monomials in sa:sfying: I. > is a total (linear) ordering rela:on. II. > is compa4ble with mul4plica4on in. III. > is a well- ordering, i.e. every non- empty collec:on of monomials has a smallest element under >. Examples: I. Lexicographic Order II. Graded Reverse Lexicographic Order

Examples I. Lexicographic Order Let and be monomials in. We say, if in the difference the le<- most nonzero entry is posi:ve. Example I: For, we have, because the le<- most entry of the difference vector must be posi:ve:. Example II: We have, because. II. Graded Reverse Lexicographic Order Let and be monomials in. We say, if either, or in case the sums are equal, the right- most entry is nega:ve in the difference. Example I: We have, because the of the total degrees. Example II: We have, because the right- most entry of the difference vector must be nega:ve:.

Leading Term of a Polynomial Let be a polynomial in. Fix any monomial order >. The leading term of f with respect to > is the product, where is the largest monomial appearing in in the ordering >. Denote the leading term by. Example: Consider. For the lexicographic order, we have:. However, for the Graded Reverse Lexicographic Order, we have:.

Division Algorithm in Fix any monomial order > in and let be an ordered s- tuple of polynomials in. Then every can be wriien as where, and either r = 0, or r is a linear combina:on of monomials, of which none is divisible by any of. Remarks: I. r is called the remainder of f on division by F and is some:mes denoted by. II. The division algorithm allows to divide f by an s- tuple of polynomials. III. The outcome of the division depends on the choice of the monomial order.

Mo9va9on By applying the division algorithm, one can decide whether a given is a member of a given ideal. If the remainder of f on division by F is zero, then we have, and by defini:on. Recall on of our previous examples, where we defined. We have already showed, that but if we divide p by using our division algorithm, we obtain a nonzero remainder:. The reason is that none of the leading terms of or divides the leading term of p.,

Defini9on Fix a monomial order > on and let be an ideal. A Gröbner Basis for I (with respect to >) is a finite collec:on of polynomials with the property that for every nonzero polynomial is divisible by for some i. A Gröbner Basis G for an ideal I is called reduced, if for all dis:nct, no monomial appearing in is a mul:ple of. monic, if it is reduced and if the leading coefficient of all polynomials is 1. Remarks I. A Gröbner Basis G is indeed a basis for I, i.e. II. Let G be a Gröbner Basis for I and then the remainder of f divided by G is zero, i.e. III. The remainder obtained through division by polynomials of a Gröbner Basis for an ideal is unique.

Mo9va9on Takes an arbitrary genera:ng set Basis G for I from it. for an ideal I and produces a Gröbner How does it work? Let be nonzero polynomials. Fix a monomial order and let and, where Furthermore, define as the least common mul:ple of the leading terms. Now define the S- polynomial of f and g as: Apply Buchberger s Criterion: A finite set is a Gröbner Basis of I if and only if for all pairs. (Observe: )

Input: Output: a Gröbner Basis for with REPEAT FOR each pair in G DO UNTIL IF THEN

Example Consider the polynomials and. Fix the monomial ordering to be the lexicographic ordering. We have that, which yields Let s divide the S- polynomial by : we obtain the remainder Note that the leading term is not divisible by the leading terms of f and g. Hence, adjoin to our set of polynomials F and consider the two new S- polynomials and. Con:nue with this procedure and adjoin the remainders of further divisions if there are nonzero...

Singular CoCoA Gfan Mathema9cal SoRware for Computa9onal Algebra Introduc9on there exist a lot of possibili:es for execu:ng computa:onal algebra see list on wikipedia: hip://en.wikipedia.org/wiki/list_of_computer_algebra_systems (not complete...) Examples: Singular CoCoA Gfan

Singular CoCoA Gfan SINGULAR computer algebra system for polynomial computa:ons emphasis on commuta4ve algebra, algebraic geometry and singularity theory started in 1984 (Berlin), now: seiled at the University of Kaiserslautern free and open- source so<ware under the GNU General Public Licence main objects: ideals and modules in polynomial rings over fields or quo:ent rings features: computa:on of Gröbner bases (Buchberger s and Mora s Algorithm), polynomial factoriza:on, resultants, characteris:c sets and gcd opera:ons, classifica:on of singulari:es wriien in C

Singular CoCoA Gfan CoCoA Computa:ons in Commuta:ve Algebra emphasis on computa:ons in mul4variate polynomial rings over ra:onal integers and on their ideals and modules ini:ated in 1987 to perform calcula:ons using Buchberger s algorithm (Genova) free so<ware features CoCoALib (open- source C++ GPL library) libraries available for applica:ons in various areas (sta:s:cs, integer programming,...) kernel is wriien in C, user writes in Pascal- like syntax features efficient calcula:ons with very big integers and ra:onal numbers and implementa:ons of Buchberger s algorithm using different orderings

Singular CoCoA Gfan Gfan so<ware package for compu:ng Gröbner fans of polynomial ideals in and tropical varie4es based on Buchberger s algorithm emphasis on tropical and polyhedral geometry using algebraic methods started in 2003, wriien by A. N. Jensen (University of Aarhus, Denmark), supported by Prof. Fukuda wriien in C++ high performance (calcula:ng 3000 reduced Gröbner bases in 12s) various subprograms enable fast computa:ons and easy handling

Implementa9on: in Singular Programming Basics language very similar to C/C++ (all inputs must be terminated by ;, types for variables, loops, func:ons etc.) non- trivial algorithms always require the defini:on of a ring at the beginning! ring syntax: ring name = (coefficients), (name of ring variables), (ordering) ; implemented algorithms for opera:ons on ideals, polynomials, etc. for example: factoriza:on of polynomials into irreducible factors (Cantor- Zassenhaus Algorithm), compu:ng the determinant of a square matrix, calcula:ng the greatest common divisor of polynomials most interes:ng feature: computa:on of Gröbner bases standard features like characteriza:on- func:on (typeof), type conversion,... include libraries with LIB library name ; various orderings: grevlex ordering dp, lex ordering lp, block ordering possibility of execu:ng the division algorithm, returns quo:ent and remainder

References Computa9onal Algebra K. G. Fischer, P. Loustaunau, J. Shapiro, E. L. Green, D. Farkas: Lecture Notes in Pure and Applied Mathema:cs Computa:onal Algebra (1994) : David A. Cox, John Liile, Donal O Shea: Graduate Texts in Mathema:cs - Using Algebraic Geometry (2005) Ralf Fröberg: An Introduc:on to (1997) SoRware: hip://www.singular.uni- kl.de hip://cocoa.dima.unige.it/flyer4.html hip://home.math.au.dk/jensen/so<ware/gfan/gfan.html hip://en.wikipedia.org/wiki/list_of_computer_algebra_systems Implementa9on: Groebner Bases Sta:s:cs and So<ware Systems. Takayuki Hibi, Springer Japan, 2013 Singular Manual (online)