Rewriting Polynomials

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

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

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

gap> G:=ReducedGroebnerBasis(B,MonomialGrlexOrdering(y,x)); [ x^2-x, x*y-x, y^2-x ]

MCS 563 Spring 2014 Analytic Symbolic Computation Friday 31 January. Quotient Rings

Polynomials, Ideals, and Gröbner Bases

Hilbert Polynomials. dimension and counting monomials. a Gröbner basis for I reduces to in > (I)

Lecture 2: Gröbner Basis and SAGBI Basis

5 The existence of Gröbner basis

4 Hilbert s Basis Theorem and Gröbner basis

Rational Univariate Representation

Lesson 14 Properties of Groebner Bases

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

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

POLYNOMIAL DIVISION AND GRÖBNER BASES. Samira Zeada

Abstract Algebra for Polynomial Operations. Maya Mohsin Ahmed

Problem Set 1 Solutions

Solving systems of polynomial equations and minimization of multivariate polynomials

Summer Project. August 10, 2001

Math 615: Lecture of January 10, 2007

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

Lecture 15: Algebraic Geometry II

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

( ) y 2! 4. ( )( y! 2)

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

12. Hilbert Polynomials and Bézout s Theorem

A decoding algorithm for binary linear codes using Groebner bases

Algorithms for Algebraic Geometry

AN INTRODUCTION TO AFFINE TORIC VARIETIES: EMBEDDINGS AND IDEALS

Tropical Algebraic Geometry 3

(II.B) Basis and dimension

Topics in linear algebra

TEST CODE: MMA (Objective type) 2015 SYLLABUS

Extra Problems for Math 2050 Linear Algebra I

Tropical Algebraic Geometry

LESSON 9.1 ROOTS AND RADICALS

MATH 497A: INTRODUCTION TO APPLIED ALGEBRAIC GEOMETRY

ISSUED BY KENDRIYA VIDYALAYA - DOWNLOADED FROM Chapter - 2. (Polynomials)

Ready To Go On? Skills Intervention 7-1 Integer Exponents

R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member

Honors Algebra 4, MATH 371 Winter 2010 Assignment 3 Due Friday, February 5 at 08:35

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

Linear Algebra Homework and Study Guide

Properties of Linear Transformations from R n to R m

Math 418 Algebraic Geometry Notes

We say that a polynomial is in the standard form if it is written in the order of decreasing exponents of x. Operations on polynomials:

1. Introduction to commutative rings and fields

CHMMC 2015 Individual Round Problems

NONCOMMUTATIVE POLYNOMIAL EQUATIONS. Edward S. Letzter. Introduction

10. Noether Normalization and Hilbert s Nullstellensatz

Reading Mathematical Expressions & Arithmetic Operations Expression Reads Note

Class IX Chapter 2 Polynomials Maths

1. Introduction to commutative rings and fields

Lecture 5. 1 Goermans-Williamson Algorithm for the maxcut problem

MATHEMATICS CONTENT ASSESSED ON THE ALGEBRA 1 EOC ASSESSMENT AND ITEM TYPES BY BENCHMARK

MATH III CCR MATH STANDARDS

Circles in F 2 q. Jacob Haddock, Wesley Perkins, and John Pope Faculty Adviser: Dr. Jeremy Chapman

REVIEW Chapter 1 The Real Number System

University of Colorado at Denver Mathematics Department Applied Linear Algebra Preliminary Exam With Solutions 16 January 2009, 10:00 am 2:00 pm

Section Summary. Relations and Functions Properties of Relations. Combining Relations

IRREDUCIBLE REPRESENTATIONS OF SEMISIMPLE LIE ALGEBRAS. Contents

RECURSIVE RELATIONS FOR THE HILBERT SERIES FOR CERTAIN QUADRATIC IDEALS. 1. Introduction

MA 323 Geometric Modelling Course Notes: Day 12 de Casteljau s Algorithm and Subdivision

Solutions to Problem Set 1

A connection between number theory and linear algebra

PURE Math Residents Program Gröbner Bases and Applications Week 3 Lectures

27 Wyner Math 2 Spring 2019

Lines, parabolas, distances and inequalities an enrichment class

Groebner Bases and Applications

On the minimal free resolution of a monomial ideal.

1 Hilbert function. 1.1 Graded rings. 1.2 Graded modules. 1.3 Hilbert function

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM

Ohio s Learning Standards-Extended. Mathematics. The Real Number System Complexity a Complexity b Complexity c

Homework 1 Elena Davidson (B) (C) (D) (E) (F) (G) (H) (I)

... z = (2x y) 2 2y 2 3y.

Analytic Geometry MAT 1035

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

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

Spring Nikos Apostolakis

Chapter 5: Exponents and Polynomials

Computational methods in the study of symplectic quotients

Maths Higher Prelim Content

TEST CODE: MIII (Objective type) 2010 SYLLABUS

Analytic Geometry MAT 1035

45-th Moldova Mathematical Olympiad 2001

4-1 The Algebraic-Geometric Dictionary P. Parrilo and S. Lall, ECC

Gröbner bases for the polynomial ring with infinite variables and their applications

Algebra II Learning Targets

SOLUTIONS: ASSIGNMENT Use Gaussian elimination to find the determinant of the matrix. = det. = det = 1 ( 2) 3 6 = 36. v 4.

1. Find all solutions to 1 + x = x + 1 x and provide all algebra for full credit.

Algebra Homework, Edition 2 9 September 2010

Correlation: California State Curriculum Standards of Mathematics for Grade 6 SUCCESS IN MATH: BASIC ALGEBRA

IMO Training Camp Mock Olympiad #2

0 Sets and Induction. Sets

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

Lagrange s polynomial

Syllabus. + + x + n 1 n. + x + 2

Reversely Well-Ordered Valuations on Polynomial Rings in Two Variables

The 3rd Olympiad of Metropolises

CO-ORDINATE GEOMETRY. 1. Find the points on the y axis whose distances from the points (6, 7) and (4,-3) are in the. ratio 1:2.

Transcription:

Rewriting Polynomials 1 Roots and Eigenvalues the companion matrix of a polynomial the ideal membership problem 2 Automatic Geometric Theorem Proving the circle theorem of Appolonius 3 The Division Algorithm monomial orderings 4 Monomial Ideals staircase representation Dickson s Lemma MCS 563 Lecture 4 Analytic Symbolic Computation Jan Verschelde, 22 January 2014 Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 1 / 26

Rewriting Polynomials 1 Roots and Eigenvalues the companion matrix of a polynomial the ideal membership problem 2 Automatic Geometric Theorem Proving the circle theorem of Appolonius 3 The Division Algorithm monomial orderings 4 Monomial Ideals staircase representation Dickson s Lemma Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 2 / 26

roots and eigenvalues For example, consider p(x) = x 4 5x 3 + 7x 2 x + 3 C[x] = (x z 1 )(x z 2 )(x z 3 )(x z 4 ), we can identify p with its roots z 1, z 2, z 3, z 4. Algebraically, p(x) =0 implies x 4 = 5x 3 7x 2 + x 3. As x 4 is a linear combination of 1, x, x 2, x 3, wecanalsowritex 5, x 6, etc. as cubic polynomials. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 3 / 26

the quotient ring The relation x 4 = 5x 3 7x 2 + x 3 maps every polynomial in C[x] onto the quotient ring C[x]/ p = { a 0 + a 1 x + a 2 x 2 + a 3 x 3 a i C }, is a 4-dimensional vector space with basis {1, x, x 2, x 3 }. By this vector space a problem of polynomial algebra becomes a problem of linear algebra. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 4 / 26

the companion matrix The relation as a matrix equation 1 x x x 2 x 3 x 4 = 5x 3 7x 2 + x 3 = 0 1 0 0 0 0 1 0 0 0 0 1 3 1 7 5 The matrix above is the companion matrix C p of p. Denote by X =[1 xx 2 x 3 ] T and use λ for x, then λx = C p X the 4 eigenvalues of C p are the 4 roots of p. 1 x x 2 x 3. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 5 / 26

Rewriting Polynomials 1 Roots and Eigenvalues the companion matrix of a polynomial the ideal membership problem 2 Automatic Geometric Theorem Proving the circle theorem of Appolonius 3 The Division Algorithm monomial orderings 4 Monomial Ideals staircase representation Dickson s Lemma Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 6 / 26

the ideal generated by f For a system f (x) =0, withf =(f 1, f 2,...,f N ), we define the ideal generated by f as f = { a 1 f 1 + a 2 f 2 + + a N f N a i C[x] }. The ideal membership problem: for a given ideal I and polynomial p, determine whether p I. The solution to the membership problem is the map C[x] C[x]/I p p mod I where p mod I is p modulo the ideal I. If we can rewrite (or reduce) p modulo I in a unique way then p mod I = 0 p I. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 7 / 26

Rewriting Polynomials 1 Roots and Eigenvalues the companion matrix of a polynomial the ideal membership problem 2 Automatic Geometric Theorem Proving the circle theorem of Appolonius 3 The Division Algorithm monomial orderings 4 Monomial Ideals staircase representation Dickson s Lemma Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 8 / 26

the circle theorem of Appolonius C M 2 H M 3 A M 1 B Theorem (The Circle Theorem of Appolonius) Consider a right triangle spanned by A, B, and C, with the right angle at A. The midpoints of the three sides of the triangle, and the foot of the altitude drawn from A to the edge spanned by B and C all lie on one circle. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 9 / 26

coordinates and equations The triangle spanned by A, B, C has midpoints M 1, M 2, M 3 : Corners: A =(0, 0), B =(u 1, 0), and C =(0, u 2 ), where u 1 and u 2 are arbitrary. Midpoints: M 1 =(x 1, 0), M 2 =(0, x 2 ), M 3 =(x 3, x 4 ). M 1 is the midpoint of the edge spanned by A and B h 1 = 2x 1 u 1 = 0. Similarly, h 2 = 2x 2 u 2 = 0 expresses that M 2 is the midpoint of the edge spanned by A and C. For M 3 we have two conditions: h 3 = 2x 3 u 1 = 0 and h 4 = 2x 4 u 2 = 0. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 10 / 26

coordinates and hypotheses For the foot of the altitude H we choose coordinates (x 5, x 6 ). The line segment AH is perpendicular to the edge BC: h 5 = x 5 u 1 x 6 u 2 = 0. The points B, H, and C are collinear: h 6 = x 5 u 2 + x 6 u 1 u 1 u 2 = 0. The circle through the three midpoints must also contain H. Let (x 7, x 8 ) be the coordinates of the center O of the circle. M 1 O = M 2 O and M 1 O = M 3 O is respectively equal to h 7 =(x 1 x 7 ) 2 + x8 2 x 7 2 (x 8 x 2 ) 2 = 0 and h 8 =(x 1 x 7 ) 2 + x8 2 (x 3 x 7 ) 2 (x 4 x 8 ) 2 = 0. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 11 / 26

an ideal membership problem The eight hypothesis form the following system f (u, x) = 2x 1 u 1 = 0 2x 2 u 2 = 0 2x 3 u 1 = 0 2x 4 u 2 = 0 x 5 u 1 x 6 u 2 = 0 x 5 u 2 + x 6 u 1 u 1 u 2 = 0 (x 1 x 7 ) 2 + x 2 8 x 2 7 (x 8 x 2 ) 2 = 0 (x 1 x 7 ) 2 + x 2 8 (x 3 x 7 ) 2 (x 4 x 8 ) 2 = 0. With respect to these eight hypotheses, the conclusion must then be that HO = M 1 O, expressed by g =(x 5 x 7 ) 2 +(x 6 x 8 ) 2 (x 1 x 7 ) 2 x 2 8 = 0. Theorem is true g f. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 12 / 26

Rewriting Polynomials 1 Roots and Eigenvalues the companion matrix of a polynomial the ideal membership problem 2 Automatic Geometric Theorem Proving the circle theorem of Appolonius 3 The Division Algorithm monomial orderings 4 Monomial Ideals staircase representation Dickson s Lemma Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 13 / 26

quotient and remainder We want to solve the ideal membership problem. For g C[x] and an ideal generated by f =(f 1, f 2,...,f N ): Find so that q i C[x], i = 1, 2,...,N and r C[x] g = q 1 f 1 + q 2 f 2 + + q N f N + r. Obviously, if r = 0, then g f, but the opposite is not necessarily true. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 14 / 26

ordering monomials First, order the variables: x 1 > x 2 > > x n. Then, there are several monomial orderings: lexicographic: We sort as in a dictionary. x a > lex x b if the leftmost nonzero entry in a b is positive. For example: x1 2x 2 > lex x 1 x2 3. graded lexicographic: We first sort the monomials according to their total degree and sort monomials with the same degree lexicographically. We have x a > tdeg x b if deg(x a ) > deg(x b ) or if deg(x a )=deg(x b ) and x a > lex x b. For example: x 2 1 x 2 > tdeg x 1 x 2 2. weighted lexicographic: For ω Z n \{0}, denote a,ω = a 1 ω 1 + a 2 ω 2 + + a n ω n. Then: x a > ω x b if a,ω > b,ω or a,ω = b,ω and x a > lex x b. Denote the leading term of a polynomial g by LT(g). Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 15 / 26

the division algorithm The division algorithm to compute the remainder: Input: f =(f 1, f 2,...,f N ) and p C[x]. Output: r, the remainder of p modulo f, denoted by p f r. r := p; repeat k := 0; for i from 1 to N do if LT(f i ) divides LT(r) then k := i; exit for loop; end if; end for; if k 0 then r := r LT(r) LT(f k ) f k ; end if; until r = 0ork = 0. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 16 / 26

an example Take > lex as monomial order and g = xy 2 x with respect to the ideal generated by f 1 = xy + 1 and f 2 = y 2 1. f 1, f 2 : LT(g) =ylt(f 1 ) g := g yf 1 = xy 2 x y(xy + 1) = x y. But when we swap the order of the polynomials in f : f 2, f 1 : LT(g) =xlt(f 2 ) g := g xf 2 = xy 2 x x(y 2 x) = 0, we see that g f. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 17 / 26

Rewriting Polynomials 1 Roots and Eigenvalues the companion matrix of a polynomial the ideal membership problem 2 Automatic Geometric Theorem Proving the circle theorem of Appolonius 3 The Division Algorithm monomial orderings 4 Monomial Ideals staircase representation Dickson s Lemma Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 18 / 26

monomial ideals A monomial ideal is generated by monomials. For example: x 2 y 5, x 3 y 4, x 4 y 2. Identifying exponents with lattice points, leads to a staircase: 1 1 Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 19 / 26

Rewriting Polynomials 1 Roots and Eigenvalues the companion matrix of a polynomial the ideal membership problem 2 Automatic Geometric Theorem Proving the circle theorem of Appolonius 3 The Division Algorithm monomial orderings 4 Monomial Ideals staircase representation Dickson s Lemma Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 20 / 26

Dickson s Lemma Lemma (Dickson s Lemma) Every monomial ideal is finitely generated. Proof. We need to show that for every monomial ideal I, there exists a finite subset S so that for all x a I there is a monomial x b S that divides x a. We proceed by induction on n, the number of variables. For n = 1, d = min x a I x a is unique, so S = {x d }. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 21 / 26

applying induction For n > 1, take x b I. Every monomial in I not divisible by x b belongs to one of the following sets: R i,j = { x a I a i = j }, i = 1, 2,...,n, j = 0, 1,...,b i 1. Denote R i,j = { x a xi =1 xa R i,j } (x i removed from R i,j ). By the induction hypothesis, there is a finite set Ŝi,j that generates I i = { x a xi =1 xa I }. Define S i,j = { x j i xa x a Ŝi,j } and let n b i 1 S = {x b }. S i,j i=1 j=0 S generates x b and every x a I not divisible by x b. Thus S generates I. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 22 / 26

Groebner Basis A Groebner basis G for an ideal I is 1 a basis for the ideal, i.e.: G = I; 2 the output of the division algorithm is unique: p G = p I. With a Groebner basis G for I, ther in p G r is the normal form of p with respect to I. An algorithm to compute a Groebner basis leads to Theorem (Hilbert s basis theorem) Every ideal has a finite generating set. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 23 / 26

Summary + Exercises We introduced the division algorithm and defined the ideal membership problem. Exercises: 1 For the polynomial p(x) =x 4 5x 3 + 7x 2 x + 3, use MATLAB (Octave will do as well) or Maple to define the companion matrix and to compute its eigenvalues. What are the eigenvectors? 2 Consider the polynomial p(x) =(x 1) 3 (x 2) and describe the eigenvalues and eigenvectors of the companion matrix, using MATLAB or Maple. Can you recognize the multiplicies of the two roots? Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 24 / 26

more exercises 3 Write a Maple procedure to implement the division algorithm. Extend your implementation so that in addition to the remainder r the algorithm also returns the quotients q i in the combination f = q 1 g 1 + q 2 g 2 + + q N g N + r, for any basis g and input polynomial f. You may also use another computer algebra system. 4 Consider the monomial ideal I = x 3 y, x 2 y 2, xy 6.Drawthe exponent vectors of the monomials in the plane and visualize the staircase and all elements generated by I. 5 How can you see from the staircase that the monomial ideal has only finitely many solutions? Give examples and justify your observation. Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 25 / 26

and more exercises 6 For some finite support set A, leti = x a a A be the monomial ideal defined by A. Show that x b I if and only if x b is divisible by some monomial x a for some a A. 7 Let f =(x a 1, x a 2,...,x a N ) define a monomial ideal. Show that p f p f 0. 8 Use Maple or Sage (in particular: Singular) to compute a Groebner basis of the ideal generated by the polynomial in the system f (u, x) (of the circle theorem of Appolonius), using a lexicographic order on the monomials. Does the form of the Groebner basis allow you to reduce the conclusion g to zero? Analytic Symbolic Computation (MCS 563) Rewriting Polynomials L-4 22 January 2014 26 / 26