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

Slides:



Advertisements
Similar presentations
The Complex Number System
Advertisements

5.4 Basis And Dimension.
5.1 Real Vector Spaces.
Splash Screen.
Mathematics of Cryptography Part II: Algebraic Structures
1 A camera is modeled as a map from a space pt (X,Y,Z) to a pixel (u,v) by ‘homogeneous coordinates’ have been used to ‘treat’ translations ‘multiplicatively’
Cryptography and Network Security
Degenerations of algebras. José-Antonio de la Peña UNAM, México Advanced School and Conference on Homological and Geometrical Methods in Representation.
Narapong Srivisal, Swarthmore College Class of 2007 Division Algorithm Fix a monomial order > in k[x 1, …, x n ]. Let F = (f 1, …, f s ) be an ordered.
Curves Locus of a point moving with one degree of freedom
Gröbner Bases Bernd Sturmfels Mathematics and Computer Science University of California at Berkeley.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Linear Systems The definition of a linear equation given in Chapter 1 can be extended to more variables; any equation of the form for real numbers.
Multiplying, Dividing, and Simplifying Radicals
MATH – High School Common Core Vs Kansas Standards.
2010 New Math Standards. Mathematical Practices 1. Attend to precision 2. Construct viable arguments and critique the reasoning of others 3. Make sense.
Quantum One: Lecture 8. Continuously Indexed Basis Sets.
LIAL HORNSBY SCHNEIDER
The Rational Zero Theorem
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
The Fundamental Theorem of Algebra And Zeros of Polynomials
1 1.0 Students solve equations and inequalities involving absolute value. Algebra 2 Standards.
Complex Numbers MATH 018 Combined Algebra S. Rook.
Chapter 1 Foundations for Algebra
Real Numbers and Their Properties รายวิชา ค ความรู้พื้นฐานสำหรับแคลคูลัส 1 ภาคเรียนที่ 1 ปีการศึกษา 2552.
1 Preliminaries Precalculus Review I Precalculus Review II
The Common Core Comes to Arkansas or Teaching the New Algebra I Saturday January 29, :15-11:45 a.m. - Room 2506 David A. Young T 3 National Instructor.
Math 002 College Algebra Final Exam Review.
Mathematics Review Exponents Logarithms Series Modular arithmetic Proofs.
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
Bell Ringer 1. What is the Rational Root Theorem (search your notebook…Unit 2). 2. What is the Fundamental Theorem of Algebra (search your notebook…Unit.
MATH – High School Common Core Vs Tested Kansas Standards Please note: For informational purposes, all Common Core standards are listed, and the tested.
Section 2.1 Functions. 1. Relations A relation is any set of ordered pairs Definition DOMAINRANGE independent variable dependent variable.
Chapter P Prerequisites: Fundamental Concepts of Algebra P.4: Polynomials.
Copyright © 2014, 2010 Pearson Education, Inc. Chapter 2 Polynomials and Rational Functions Copyright © 2014, 2010 Pearson Education, Inc.
Pareto Linear Programming The Problem: P-opt Cx s.t Ax ≤ b x ≥ 0 where C is a kxn matrix so that Cx = (c (1) x, c (2) x,..., c (k) x) where c.
Algebra Form and Function by McCallum Connally Hughes-Hallett et al. Copyright 2010 by John Wiley & Sons. All rights reserved. 3.1 Solving Equations Section.
Chapter 3 Polynomial and Rational Functions Copyright © 2014, 2010, 2007 Pearson Education, Inc Zeros of Polynomial Functions.
P.1 Real Numbers. 2 What You Should Learn Represent and classify real numbers. Order real numbers and use inequalities. Find the absolute values of real.
Section 2-8 First Applications of Groebner Bases by Pablo Spivakovsky-Gonzalez We started this chapter with 4 problems: 1.Ideal Description Problem: Does.
Data Security and Encryption (CSE348) 1. Lecture # 12 2.
Section 2.3 Properties of Solution Sets
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
ALGEBRA REVIEW FOR MIDTERM FALL CHAPTER 1: FOUNDATIONS FOR ALGEBRA 1.Variables and Expressions 2.Adding and Subtracting Real Numbers 3.Multiplying.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 3 Polynomial and Rational Functions.
Lesson 76 – Introduction to Complex Numbers HL2 MATH - SANTOWSKI.
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Changing Bases. Base 10: example number ³ 10² 10¹ 10 ⁰ ₁₀ 10³∙2 + 10²∙1 + 10¹∙ ⁰ ∙0 = 2120 ₁₀ Implied base 10 Base 8: 4110 ₈ 8³ 8².
Copyright © Cengage Learning. All rights reserved Inequalities 2. Equations and Inequalities.
Basic Theory (for curve 01). 1.1 Points and Vectors  Real life methods for constructing curves and surfaces often start with points and vectors, which.
4. Affine transformations. Reading Required:  Watt, Section 1.1. Further reading:  Foley, et al, Chapter  David F. Rogers and J. Alan Adams,
Algebra 2 Complex Numbers Lesson 4-8 Part 1. Goals Goal To identify, graph, and perform operations with complex numbers. Rubric Level 1 – Know the goals.
Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar Dr Nazir A. Zafar Advanced Algorithms Analysis and Design.
Precalculus Fifth Edition Mathematics for Calculus James Stewart Lothar Redlin Saleem Watson.
3.3 Dividing Polynomials.
Computation of the solutions of nonlinear polynomial systems
Real Numbers and Algebraic Expressions
The Rational Zero Theorem
Trigonometric Identities
3.3 Dividing Polynomials.
Splash Screen.
Section 9.7 Complex Numbers.
Lial/Hungerford/Holcomb: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All right.
Precalculus Mathematics for Calculus Fifth Edition
The Fundamental Theorem of Algebra And Zeros of Polynomials
The Rational Zero Theorem
Arab Open University Faculty of Computer Studies Dr
Find (x3 + 2x2 – 5x – 6) ÷ (x – 2) using synthetic division.
Presentation transcript:

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

Algebraic Geometry Branch of mathematics. Express geometric facts in algebraic terms in order to interpret algebraic theorems geometrically. Computations for geometric objects using symbolic manipulation. –Surface intersection, finding singularities, and more… Historically, methods have been computationally intensive, so they have been used with discretion. source: Hoffmann

Goal Operate on geometric object(s) by solving systems of algebraic equations. “Ideal”: (informal partial definition) Set of polynomials describing a geometric object symbolically. –Considering algebraic combinations of algebraic equations (without changing solution) can facilitate solution. –Ideal is the set of algebraic combinations (to be defined more rigorously later). –Gröbner basis of an ideal: special set of polynomials defining the ideal. Many algorithmic problems can be solved easily with this basis. One example (focus of our lecture): abstract ideal membership problem: –Is a given polynomial g in a given ideal I ? –Equivalently: can g be expressed as an algebraic combination of the f j for some polynomials h j ? –Answer this using Gröbner basis of the ideal. –Rough geometric interpretation: g can be expressed this way when surface g = 0 contains all points that are common intersection of surfaces f j = 0. source: Hoffmann

Overview Algebraic Concepts –Fields, rings, polynomials –Field extension –Multivariate polynomials and ideals –Algebraic sets and varieties Gröbner Bases –Lexicographic term ordering and leading terms –Rewriting and normal-form algorithms –Membership test for ideals –Buchberger’s theorem and construction of Gröbner bases For discussion of geometric modeling applications of Gröbner bases, see Hoffmann’s book. –e.g. Solving simultaneous algebraic expressions to find: surface intersections singularities source: Hoffmann

Algebraic Concepts: Fields, Rings, and Polynomials Consider single algebraic equation: Values of x i ’s are from a field. (Recall from earlier in semester.) –Elements can be added, subtracted, multiplied, divided*. –Ground field k is the choice of field. Univariate polynomial over k is of form: –Coefficients are numbers in k. – k[x] = all univariate polynomials using x ’s. It is a ring (recall from earlier in semester): addition, subtraction, multiplication, but not necessarily division. Can a given polynomial be factored? –Depends on ground field e.g. x 2 +1 factors over complex numbers but not real numbers. –Reducible: polynomial can be factored over ground field. –Irreducible: polynomial cannot be factored over ground field. source: Hoffmann * for non-0 elements

Algebraic Concepts: Field Extension Field extension: enlarging a field by adjoining (adding) new element(s) to it. –Algebraic Extension: Adjoin an element u that is a root of a polynomial (of degree m ) in k[x]. –Resulting elements in extended field k(u) are of form: –e.g. extending real numbers to complex numbers by adjoining i »i is root of x 2 +1, so m=2 and extended field elements are of form a + bi –e.g. extending rational numbers to algebraic numbers by adjoining roots of all univariate polynomials (with rational coefficients) –Transcendental Extension: Adjoin an element (such as  ) that is not the root of any polynomial in k[x]. source: Hoffmann

Algebraic Concepts: Multivariate Polynomials Multivariate polynomial over k is of form: –Coefficients are numbers in k. –Exponents are nonnegative integers. – k[x 1,…,x n ] = all multivariate polynomials using x ’s. It is a ring: addition, subtraction, multiplication, but not necessarily division. Can a given polynomial be factored? –Depends on ground field (as in univariate case) –Reducible: polynomial can be factored over ground field. –Irreducible: polynomial cannot be factored over ground field. –Absolutely Irreducible: polynomial cannot be factored over any ground field. e.g. source: Hoffmann

Algebraic Concepts: Ideals For ground field k, let: – k n be the n -dimensional affine space over k. mathematical physicist John Baez: "An affine space is a vector space that's forgotten its origin”. –Points in k n are n -tuples ( x 1,…,x n ), with x i ’s having values in k. –f be an irreducible multivariate polynomial in k[x 1,…,x n ] –g be a multivariate polynomial in k[x 1,…,x n ] –f = 0 be the hypersurface in k n defined by f Since hypersurface gf = 0 includes f = 0, view f as intersection of all surfaces of form gf = 0 is an ideal* –g varies over k[x 1,…,x n ] –Consider the ideal as the description of the surface f. –Ideal is closed under addition and subtraction. –Product of an element of k[x 1,…,x n ] with a polynomial in the ideal is in the ideal. source: Hoffmann and others *Ideals are defined more generally in algebra.

Algebraic Concepts: Ideals (continued) Let F be a finite set of polynomials f 1, f 2,…, f r in k[x 1,…,x n ] Algebraic combinations of the f i form an ideal generated by F (a generating set*): –generators: { f, g } Goal: find generating sets, with special properties, that are useful for solving geometric problems. source: Hoffmann * Not necessarily unique.

Algebraic Concepts: Algebraic Sets Let be the ideal generated by the finite set of polynomials F = { f 1, f 2,…, f r }. Let p = ( a 1,…, a n ) be a point in k n such that g ( p ) = 0 for every g in I. Set of all such points p is the algebraic set V ( I ) of I. –It is sufficient that f i ( p ) = 0 for every generator f i in F. In 3D, the algebraic surface f = 0 is the algebraic set of the ideal. source: Hoffmann

Algebraic Concepts: Algebraic Sets (cont.) Intersection of two algebraic surfaces f, g in 3D is an algebraic space curve. –The curve is the algebraic set of the ideal. But, not every algebraic space curve can be defined as the intersection of 2 surfaces. Example where 3 are needed*: twisted cubic (in parametric form): Can define twisted cubic using 3 surfaces: paraboloid with two cubic surfaces: Motivation for considering ideals with generating sets containing > 2 polynomials. source: Hoffmann* see Hoffman’s Section for subtleties related to this statement.

Algebraic Concepts: Algebraic Sets and Varieties (cont.) Given generators F = { f 1, f 2,…, f r }, the algebraic set defined by F in k n has dimension n-r –If equations f i = 0 are algebraically independent. –Complication: some of ideal’s components may have different dimensions. source: Hoffmann

Algebraic Concepts: Algebraic Sets and Varieties (cont.) source: Hoffmann Consider algebraic set V ( I ) for ideal I in k n. V ( I ) is reducible when V ( I ) is union of > 2 point sets, each defined separately by an ideal. –Analogous to polynomial factorization: Multivariate polynomial f that factors describes surface consisting of several components –Each component is an irreducible factor of f. V ( I ) is irreducible implies V ( I ) is a variety.

Algebraic Concepts: Algebraic Sets and Varieties (cont.) Example: Intersection curve of 2 cylinders: Intersection lies in 2 planes: and Irreducible ellipse in plane is is algebraic set in ideal generated by { f 1, g 1 }. Irreducible ellipse in plane is is algebraic set in ideal generated by { f 1, g 2 }. Ideal is reducible. –Decomposes into and Algebraic set –Varieties: V ( I 2 ) and V ( I 3 ) source: Hoffmann

Algebraic Concepts: Algebraic Sets and Varieties (cont.) Example: Intersection curve of 2 cylinders: –Intersection curve is not reducible These 2 component curves cannot be defined separately by polynomials. Rationale: Bezout’s Theorem implies intersection curve has degree 4. Furthermore: –Union of 2 curves of degree m and n is a reducible curve of degree m + n. –If intersection curve were reducible, then consider degree combinations for component curves (total = 4): »1 + 3: illegal since neither has degree 1. »2 + 2: illegal since neither is planar. »Conclusion: intersection curve irreducible. Bezout’s Theorem also implies that twisted cubic cannot be defined algebraically as intersection of 2 surfaces: Twisted cubic has degree 3. Bezout’s Theorem would imply it is intersection of plane and cubic surface. But twisted cubic is not planar; hence contradiction. source: Hoffmann Bezout’s Theorem*: 2 irreducible surfaces of degree m and n intersect in a curve of degree mn. * allowing complex coordinates, points at infinity

Gröbner Bases: Formulating Ideal Membership Problem Can help to solve geometric modeling problems such as intersection of implicit surfaces (see Hoffmann Sections ). Here we only treat the ideal membership problem for illustrative purposes: –“Given a finite set of polynomials F = { f 1, f 2,…, f r }, and a polynomial g, decide whether g is in the ideal generated by F ; that is, whether g can be written in the form where the h i are polynomials.” Strategy: rewrite g until original question can be easily answered. source: Hoffmann

Gröbner Bases: Lexicographic Term Ordering and Leading Terms Need to judge if “this polynomial is simpler than that one.” Power Product: Lexicographic ordering of power products: 1.x 2.If then for all power products w. 3.If u and v are not yet ordered by rules 1 and 2, then order them lexicographically as strings. source: Hoffmann

Gröbner Bases: Lexicographic Term Ordering and Leading Terms Each term in a polynomial g is a coefficient combined with a power product. –Leading term lt ( g) of g : term whose power product is largest with respect to ordering lcf ( g) =leading coefficient of lt ( g) lpp ( g) =leading power product of lt ( g) Definition: Polynomial f is simpler than polynomial g if: source: Hoffmann

Gröbner Bases: Rewriting and Normal-Form Algorithms Given polynomial g and set of polynomials F = { f 1, f 2,…, f r } –Rewrite/simplify g using polynomials in F. –g is in normal form NF ( g, F ) if it cannot be reduced further. Note: normal form need not be unique. source: Hoffmann

Gröbner Bases: Rewriting and Normal-Form Algorithms If normal form from rewriting algorithm is unique –then g is in ideal when NF ( g, F ) = 0. This motivates search for generating sets that produce unique normal forms. source: Hoffmann

Gröbner Bases: A Membership Test for Ideals Goal: Rewrite g to decide whether g is in the ideal generated by F. –Gröbner basis G of ideal Set of polynomials generating F. Rewriting algorithm using G produces unique normal forms. –Ideal membership algorithm using G: source: Hoffmann

Gröbner Bases: Buchberger’s Theorem & Construction Algorithm will consist of 2 operations: 1.Consider a polynomial, and bring it into normal form with respect to some set of generators G. 2.From certain generator pairs, compute S - polynomials (see definition on next slide) and add their normal forms to the generator set. G starts as input set F of polynomials G is transformed into a Gröbner basis. Some Implementation Issues: –Coefficient arithmetic must be exact. Rational arithmetic can be used. –Size of generator set can be large. Reduced Gröbner bases can be developed. source: Hoffmann

Gröbner Bases: Buchberger’s Theorem & Construction (continued) source: Hoffmann

Gröbner Bases: Buchberger’s Theorem & Construction (continued) Buchberger’s Theorem: foundation of algorithm source: Hoffmann Gröbner basis construction algorithm