Overview of Computer Algebra

Similar documents
Extremal Behaviour in Sectional Matrices

WORKING WITH MULTIVARIATE POLYNOMIALS IN MAPLE

Computer Algebra: General Principles

GRE Subject test preparation Spring 2016 Topic: Abstract Algebra, Linear Algebra, Number Theory.

Rational Univariate Reduction via Toric Resultants

THE REAL NUMBERS Chapter #4

MIT Algebraic techniques and semidefinite optimization February 16, Lecture 4

Polynomials, Ideals, and Gröbner Bases

Abstract Algebra for Polynomial Operations. Maya Mohsin Ahmed

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

Anatomy of SINGULAR talk at p. 1

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

2.4. Solving ideal problems by Gröbner bases

Ron Paul Curriculum Mathematics 8 Lesson List

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162

1 Number Systems and Errors 1

SPECTRA - a Maple library for solving linear matrix inequalities in exact arithmetic

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

The F 4 Algorithm. Dylan Peifer. 9 May Cornell University

Applied Linear Algebra in Geoscience Using MATLAB

Algebra 2 (2006) Correlation of the ALEKS Course Algebra 2 to the California Content Standards for Algebra 2

Alg Review/Eq & Ineq (50 topics, due on 01/19/2016)

Proving Unsatisfiability in Non-linear Arithmetic by Duality

A finite universal SAGBI basis for the kernel of a derivation. Osaka Journal of Mathematics. 41(4) P.759-P.792

Exact Arithmetic on a Computer

Section 8.3 Partial Fraction Decomposition

Section 1.1 Notes. Real Numbers

4 Hilbert s Basis Theorem and Gröbner basis

Access Algebra Scope and Sequence

3.4. ZEROS OF POLYNOMIAL FUNCTIONS

Advanced Algebra 2 - Assignment Sheet Chapter 1

4.4 Noetherian Rings

Linear Algebra, 3rd day, Wednesday 6/30/04 REU Info:

Introduction to Applied Linear Algebra with MATLAB

Arithmetic, Algebra, Number Theory

Intro to Rings, Fields, Polynomials: Hardware Modeling by Modulo Arithmetic

Algebra I. Unit 1 Connections to Algebra

Between Sparse and Dense Arithmetic

Prentice Hall CME Project, Algebra

Algebra Homework, Edition 2 9 September 2010

Exercise on Continued Fractions

Systems of Equations and Inequalities. College Algebra

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

Prentice Hall: Algebra 2 with Trigonometry 2006 Correlated to: California Mathematics Content Standards for Algebra II (Grades 9-12)

Ack: 1. LD Garcia, MTH 199, Sam Houston State University 2. Linear Algebra and Its Applications - Gilbert Strang

Bare-bones outline of eigenvalue theory and the Jordan canonical form

Finding small factors of integers. Speed of the number-field sieve. D. J. Bernstein University of Illinois at Chicago

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

Secant Varieties of Segre Varieties. M. Catalisano, A.V. Geramita, A. Gimigliano

Algebra II. A2.1.1 Recognize and graph various types of functions, including polynomial, rational, and algebraic functions.

Lecture 4 February 5

ALGEBRA QUALIFYING EXAM SPRING 2012

2 EBERHARD BECKER ET AL. has a real root. Thus our problem can be reduced to the problem of deciding whether or not a polynomial in one more variable

SCORE BOOSTER JAMB PREPARATION SERIES II

Introduction to Arithmetic Geometry Fall 2013 Lecture #2 09/10/2013

12. Hilbert Polynomials and Bézout s Theorem

Elliptic Curve Discrete Logarithm Problem

Computation of the Minimal Associated Primes

where c R and the content of f is one. 1

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

Solving Algebraic Systems of Equations

18.S34 linear algebra problems (2007)

Technical Report

Test 2. Monday, November 12, 2018

Section-A. Short Questions

Global optimization, polynomial optimization, polynomial system solving, real

MATH 8253 ALGEBRAIC GEOMETRY WEEK 12

Section 3.6 Complex Zeros

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

Learning Module 1 - Basic Algebra Review (Appendix A)

Numerical Analysis Fall. Gauss Elimination

Miller Objectives Alignment Math

Algebra 2A Unit 1 Week 1 Day Activity Unit 1 Week 2 Day Activity Unit 1 Week 3 Day Activity Unit 2 Week 1 Day Activity

Oeding (Auburn) tensors of rank 5 December 15, / 24

ADVANCED TOPICS IN ALGEBRAIC GEOMETRY

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

Certifying solutions to overdetermined and singular polynomial systems over Q

On The Belonging Of A Perturbed Vector To A Subspace From A Numerical View Point

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

QUALIFYING EXAM IN ALGEBRA August 2011


Pacing Guide Algebra 1

Cylindrical Algebraic Decomposition in Coq

Classify, graph, and compare real numbers. Find and estimate square roots Identify and apply properties of real numbers.

Spiral Review Probability, Enter Your Grade Online Quiz - Probability Pascal's Triangle, Enter Your Grade

Chapter R - Review of Basic Algebraic Concepts (26 topics, no due date)

MATHEMATICS Lecture. 4 Chapter.8 TECHNIQUES OF INTEGRATION By Dr. Mohammed Ramidh

Algebra I. Course Outline

AIMS Exercise Set # 1

ESCONDIDO UNION HIGH SCHOOL DISTRICT COURSE OF STUDY OUTLINE AND INSTRUCTIONAL OBJECTIVES

4. Noether normalisation

MATH Spring 2010 Topics per Section

Math Precalculus I University of Hawai i at Mānoa Spring

Chapter R - Basic Algebra Operations (94 topics, no due date)

Give algebraic and numeric examples to support your answer. Which property is demonstrated when one combines like terms in an algebraic expression?

Matrix notation. A nm : n m : size of the matrix. m : no of columns, n: no of rows. Row matrix n=1 [b 1, b 2, b 3,. b m ] Column matrix m=1

CCSS Math- Algebra. Domain: Algebra Seeing Structure in Expressions A-SSE. Pacing Guide. Standard: Interpret the structure of expressions.

CHAPTER 7: Systems and Inequalities

Dimension. Eigenvalue and eigenvector

Fully Deterministic ECM

Transcription:

Overview of Computer Algebra http://cocoa.dima.unige.it/ J. Abbott Universität Kassel J. Abbott Computer Algebra Basics Manchester, July 2018 1 / 12

Intro Characteristics of Computer Algebra or Symbolic Computation exact arithmetic (integers, rationals, algebraic numbers) polynomials (non-linear expressions with symbols), rational functions, matrices, ideals,... algebraic extensions (e.g. exact repr. of 2) inequalities, differential equations CoCoA cannot do this. Contrast with so-called Numerical Computing: faster but results are only approximate. good hardware support relatively easy to parallelize uniform data size J. Abbott Computer Algebra Basics Manchester, July 2018 2 / 12

Exact Arithmetic Pros and cons of exact arithmetic: (integer, rational, alg. extn) Pro: answer is correct Con: computation can be slow Example: let S = 1 + 1 2 + 1 3 + + 1 264. Compare S to 384211/62422 floating-point is insufficient. Example: let M be a 100 100 matrix with random integer entries (from 99 to +99). Let V be a vector with random integer entries. Solve M X = V. Takes about 2 sec. each entry in X has denominator with about 250 digits! J. Abbott Computer Algebra Basics Manchester, July 2018 3 / 12

Exact Arithmetic Linear Systems exact solution (also overdetermined or underdetermined) kernel basis, Hilbert basis (of non-neg kernel) det, rank, inverse, eigenvectors (and eigenfactors) No problems with ill-conditioning; not as fast as floating-point; answer may be cumbersome. J. Abbott Computer Algebra Basics Manchester, July 2018 4 / 12

Polynomials: univariate Univariate polynomials polynomials in 1 indeterminate Q[x] = the ring of polynomials in x with coefficients in Q. Examples: x, 3x 3 10x + 1 creation, basic arithmetic Q[x] GCD factorization square-free factors (cf. radical) irreducible factors coprime factor base (or GCD-free-basis) count real roots isolate and approximate real roots CoCoA cannot do: polynomial decomposition, isolate/approximate complex roots. J. Abbott Computer Algebra Basics Manchester, July 2018 5 / 12

Polynomials: multivariate Multivariate polynomials polynomials in many indeterminates Q[x, y, z] = the ring of polys in x, y, z with coeffs in Q. Examples: x, 3x 3 y 10xz 2 + y + 1 Q[x, y, z] Same operations (except for real roots ). Different ways to write one polynomial: x + y and y + x. Important extra ingredient, term-ordering: total ordering on power-products 1 = x 0 y 0 z 0 is smallest element compatible with multiplication: t 1 < t 2 = t t 1 < t t 2 Infinitely many term-orderings; CoCoA default is DegRevLex J. Abbott Computer Algebra Basics Manchester, July 2018 6 / 12

Polynomial systems Polynomial system: non-empty set of polynomials which must simultaneously vanish. Usually interested in the zero set: i.e. all x, y, z values such that f 1 (x, y, z) = 0 f 2 (x, y, z) = 0 f k (x, y, z) = 0 Poly system is zero-dim if the zero set is finitely many points. Example: many equivalent polynomial systems: {f 1, f 2, f 3,...} {f 1 3f 2 8f 3, f 2, f 3,...} {f 1 (f 2 + 1), f 2, f 3...} J. Abbott Computer Algebra Basics Manchester, July 2018 7 / 12

Polynomial systems Mathematical concept ideal = all equivalent polynomial systems. Definition of ideal generated by f 1, f 2,..., f k R: { } f 1, f 2,..., f k = gj f j : g j R An ideal is infinite, but noetherianity ensures there are finite bases. Example xy 1, x 2 + y 2 1 = x + y 3 y, y 4 y 2 + 1 Example: polynomial systems {x 2, y} and {x, y} are not equiv but have same zero set. Ideals x 2, y and x, y are different! Radical ideals correspond 1 1 to (complex) zero sets. J. Abbott Computer Algebra Basics Manchester, July 2018 8 / 12

Polynomial systems Gröbner basis: computationally useful ideal basis: depends on term-ordering explicit indication if system is unsolvable (over C) membership testing, solving, elimination, etc. radical membership (usu. faster than computing the radical) can be big and costly Zero-dimensional ideals: useful special case relatively fast (once G-basis has been computed) can compute exact/approximate solutions J. Abbott Computer Algebra Basics Manchester, July 2018 9 / 12

Algebraic Extensions An algebraic number is a root of a polynomial in Q[x]. Example: 3, 4 7, 2 and α such that α 3 3α + 4 = 0. Represent 2 as a new symbol satisfying ( 2) 2 2 = 0. Define algebraic extension Q( 2) a field! Typical element is a + b 2 with a, b Q. Example of division: 1 3 4 2 = 3 4 2 23 result is exact, and valid for both values of 2; also multiple algebraic extensions e.g. 2 and 3 3 together no need for approximation 2 1.414213562373 J. Abbott Computer Algebra Basics Manchester, July 2018 10 / 12

Heuristics CoCoA offers some features for heuristic programming : Time-out mechanism Time-out useful for Gröbner basis computation: computation might be quick, and if so, result is useful. useful for convergent algorithms (e.g. eval poly over interval) VerificationLevel some algorithms get probably right answer quickly, but checking is expensive. Examples: IsProbPrime, determinant, solving linear system. Twin-float arithmetic compromise between floating-point and rational arithmetic J. Abbott Computer Algebra Basics Manchester, July 2018 11 / 12

The End The End J. Abbott Computer Algebra Basics Manchester, July 2018 12 / 12