Symbolic Algebra and Mathematics with Xcas

Total Page:16

File Type:pdf, Size:1020Kb

Symbolic Algebra and Mathematics with Xcas Symbolic algebra and Mathematics with Xcas Renée De Graeve, Bernard Parisse University of Grenoble I 2 c 2002, 2007 Renée De Graeve, Bernard Parisse [email protected] [email protected] Contents 1 Index 17 2 The CAS functions 27 2.1 Symbolic constants : e pi infinity i ............ 27 2.2 Booleans .............................. 27 2.2.1 The values of a boolean : true false ......... 27 2.2.2 Tests : ==, !=, >, >=, <, =< ........... 27 2.2.3 Boolean operators : or xor and not ......... 28 2.2.4 Transform a boolean expression as a list : exp2list . 29 2.2.5 Evaluate booleans : evalb ................ 29 2.3 Operators bit to bit ......................... 30 2.3.1 Operators bitor, bitxor, bitand ......... 30 2.3.2 Hamming distance bit to bit : hamdist .......... 31 2.4 Strings ................................ 31 2.4.1 Character and string : " .................. 31 2.4.2 First character, middle and end of a string : head mid tail ............................ 32 2.4.3 Concatenation of a sequence of words : cumSum ..... 32 2.4.4 ASCII code of a character : ord .............. 33 2.4.5 ASCII code of a string : asc ................ 33 2.4.6 String defined by the ASCII codes of its characters : char 34 2.4.7 Find a character in a string : inString ......... 34 2.4.8 Concat objects into a string : cat ............. 35 2.4.9 Add an object to a string : + ................ 35 2.4.10 Transform an integer into a string : cat + ........ 36 2.4.11 Transform a string into a number : expr ......... 36 2.5 Write an integer in a b basis: convert .............. 37 2.6 Integers (and Gaussian Integers) .................. 38 2.6.1 The factorial : factorial ................ 38 2.6.2 GCD : gcd igcd ..................... 39 2.6.3 GCD : Gcd ......................... 40 2.6.4 GCD of a list of integers : lgcd .............. 40 2.6.5 The least common multiple : lcm ............. 41 2.6.6 Decomposition into prime factors : ifactor ....... 41 2.6.7 List of prime factors : ifactors ............. 41 2.6.8 Matrix of factors : maple_ifactors .......... 42 2.6.9 The divisors of a number : idivis divisors ..... 42 3 4 CONTENTS 2.6.10 The integer Euclidean quotient : iquo intDiv ..... 42 2.6.11 The integer Euclidean remainder : irem remain smod mods mod % ....................... 43 2.6.12 Euclidean quotient and euclidean remainder of two inte- gers : iquorem ...................... 44 2.6.13 Test of evenness : even .................. 44 2.6.14 Test of oddness : odd ................... 45 2.6.15 Test of pseudo-primality : is_pseudoprime ...... 45 2.6.16 Test of primality : is_prime isprime isPrime . 46 2.6.17 The smallest pseudo-prime greater than n : nextprime . 47 2.6.18 The greatest pseudo-prime less than n : prevprime . 47 2.6.19 The n-th prime number : ithprime ........... 47 2.6.20 Bézout’s Identity : iegcd igcdex ........... 48 2.6.21 Solving au+bv=c in Z: iabcuv .............. 48 2.6.22 Chinese remainders : ichinrem, ichrem ....... 48 2.6.23 Chinese remainders for lists of integers : chrem ..... 50 2.6.24 Solving a2 + b2 = p in Z : pa2b2 ............ 51 2.6.25 The Euler indicatrix : euler phi ............ 51 2.6.26 Legendre symbol : legendre_symbol ......... 51 2.6.27 Jacobi symbol : jacobi_symbol ............ 52 2.7 Combinatory analysis ........................ 53 2.7.1 Factorial : factorial ! ................ 53 2.7.2 Binomial coefficients : binomial comb nCr ..... 53 2.7.3 Arrangements : perm nPr ................ 54 2.7.4 Random integers : rand .................. 54 2.8 Rationals .............................. 54 2.8.1 Transform a floating point number into a rational : exact float2rational .................... 54 2.8.2 Integer and fractional part : propfrac propFrac . 55 2.8.3 Numerator of a fraction after simplification : numer getNum .......................... 56 2.8.4 Denominator of a fraction after simplification : denom getDenom ......................... 56 2.8.5 Numerator and denominator of a fraction : f2nd fxnd . 57 2.8.6 Simplification of a pair of integers : simp2 ........ 57 2.8.7 Continued fraction representation of a real : dfc ..... 57 2.8.8 Transform a continued fraction representation into a real : dfc2f ........................... 59 2.8.9 The n-th Bernoulli number : bernoulli ........ 61 2.8.10 Access to PARI/GP commands: pari ........... 61 2.9 Real numbers ............................ 61 2.9.1 Eval a real at a given precision : evalf and Digits, DIGITS) .......................... 61 2.9.2 Usual infixed functions on reals : +,-,*,/,ˆ ..... 63 2.9.3 Usual prefixed functions on reals : rdiv ......... 64 2.9.4 n-th root : root ...................... 65 2.9.5 Error function : erf .................... 65 2.9.6 Complementary error function: erfc ........... 66 CONTENTS 5 2.9.7 The Γ function : Gamma .................. 67 2.9.8 The β function : Beta ................... 68 2.9.9 Derivatives of the DiGamma fonction : Psi ........ 68 2.9.10 The ζ function : Zeta ................... 69 2.9.11 Airy functions : Airy_Ai and Airy_Bi ......... 69 2.10 Permutations ............................ 70 2.10.1 Random permutation : randperm ............ 71 2.10.2 Decomposition as a product of disjoint cycles : permu2cycles ...................... 71 2.10.3 Product of disjoint cycles to permutation: cycles2permu 71 2.10.4 Transform a cycle into permutation : cycle2perm . 72 2.10.5 Transform a permutation into a matrix : permu2mat . 72 2.10.6 Checking for a permutation : is_permu ......... 72 2.10.7 Checking for a cycle : is_cycle ............. 73 2.10.8 Product of two permutations : p1op2 ........... 73 2.10.9 Composition of a cycle and a permutation : c1op2 . 74 2.10.10 Composition of a permutation and a cycle : p1oc2 . 74 2.10.11 Product of two cycles : c1oc2 .............. 74 2.10.12 Signature of a permutation : signature ......... 75 2.10.13 Inverse of a permutation : perminv ........... 75 2.10.14 Inverse of a cycle : cycleinv .............. 75 2.10.15 Order of a permutation : permuorder .......... 75 2.10.16 Group generated by two permutations : groupermu . 76 2.11 Complex numbers .......................... 76 2.11.1 Usual complex functions : +,-,*,/,ˆ ......... 76 2.11.2 Real part of a complex number : re real ........ 76 2.11.3 Imaginary part of a complex number : im imag ..... 77 2.11.4 Write a complex as re(z)+i*im(z) : evalc ..... 77 2.11.5 Modulus of a complex number : abs ........... 77 2.11.6 Argument of a complex number : arg ........... 77 2.11.7 The normalized complex number : normalize unitV 78 2.11.8 Conjuguate of a complex number : conj ......... 78 2.11.9 Multiplication by the complex conjugate : mult_c_conjugate .................. 78 2.11.10 Barycenter of complex numbers : barycentre ..... 79 2.12 Algebraic expressions ........................ 79 2.12.1 Evaluate an expression : eval ............... 79 2.12.2 Evaluate algebraic expressions : evala .......... 80 2.12.3 Prevent evaluation : quote hold ’ ........... 80 2.12.4 Force evaluation : unquote ................ 80 2.12.5 Distributivity : expand fdistrib ........... 80 2.12.6 Canonical form : canonical_form ........... 81 2.12.7 Multiplication by the conjugate quantity : mult_conjugate .................... 81 2.12.8 Separation of variables : split .............. 82 2.12.9 Factorisation : factor .................. 82 2.12.10 Complex factorisation : cFactor ............. 84 2.12.11 Zeros of an expression : zeros .............. 84 6 CONTENTS 2.12.12 Complex zeros of an expression : cZeros ........ 85 2.12.13 Normal form : normal .................. 86 2.12.14 Simplify : simplify ................... 86 2.12.15 Normal form for rational fractions : ratnormal ..... 87 2.12.16 Substitue a variable by a value : subst .......... 87 2.12.17 Substitue a variable by a value (Maple and Mupad compat- ibility) : subs ....................... 89 2.12.18 Evaluate a primitive at boundaries: preval ....... 90 2.12.19 Sub-expression of an expression : part .......... 90 2.13 Values of un ............................. 91 2.13.1 Array of values of a sequence : tablefunc ....... 91 2.13.2 Table of values and graph of a recurrent sequence : tableseq and plotseq ....................... 91 2.14 Operators or infixed functions ................... 92 2.14.1 Usual operators :+, -, *, /, ˆ ........... 92 2.14.2 Xcas operators ...................... 92 2.14.3 Define an operator: user_operator .......... 93 2.15 Functions and expressions with symbolic variables ........ 94 2.15.1 Difference between function and expression ........ 94 2.15.2 Transform an expression into a fonction : unapply . 94 2.15.3 Top and leaves of an expression : sommet feuille op 95 2.16 Functions .............................. 97 2.16.1 Context-dependant functions. ............... 97 2.16.2 Usual functions ....................... 98 2.16.3 Defining algebraic functions ................ 99 2.16.4 Composition of two functions: @ .............. 101 2.16.5 Repeted function composition: @@ ............. 102 2.16.6 Define a fonction with the history : as_function_of . 102 2.17 Derivation and applications. .................... 104 2.17.1 Functional derivative : function_diff ........ 104 2.17.2 Length of an arc : arcLen ................ 105 2.17.3 Maximum and minimum of an expression: fMax fMin . 106 2.17.4 Table of values and graph : tablefunc and plotfunc 106 2.17.5 Derivative and partial derivative .............. 107 2.18 Integration .............................. 109 2.18.1 Antiderivative and definite integral : integrate int Int ............................. 109 2.18.2 Discrete summation: sum ................. 111 2.18.3 Riemann sum : sum_riemann
Recommended publications
  • The Sagemanifolds Project
    Tensor calculus with free softwares: the SageManifolds project Eric´ Gourgoulhon1, Micha l Bejger2 1Laboratoire Univers et Th´eories (LUTH) CNRS / Observatoire de Paris / Universit´eParis Diderot 92190 Meudon, France http://luth.obspm.fr/~luthier/gourgoulhon/ 2Centrum Astronomiczne im. M. Kopernika (CAMK) Warsaw, Poland http://users.camk.edu.pl/bejger/ Encuentros Relativistas Espa~noles2014 Valencia 1-5 September 2014 Eric´ Gourgoulhon, Micha l Bejger (LUTH, CAMK) SageManifolds ERE2014, Valencia, 2 Sept. 2014 1 / 44 Outline 1 Differential geometry and tensor calculus on a computer 2 Sage: a free mathematics software 3 The SageManifolds project 4 SageManifolds at work: the Mars-Simon tensor example 5 Conclusion and perspectives Eric´ Gourgoulhon, Micha l Bejger (LUTH, CAMK) SageManifolds ERE2014, Valencia, 2 Sept. 2014 2 / 44 Differential geometry and tensor calculus on a computer Outline 1 Differential geometry and tensor calculus on a computer 2 Sage: a free mathematics software 3 The SageManifolds project 4 SageManifolds at work: the Mars-Simon tensor example 5 Conclusion and perspectives Eric´ Gourgoulhon, Micha l Bejger (LUTH, CAMK) SageManifolds ERE2014, Valencia, 2 Sept. 2014 3 / 44 In 1969, during his PhD under Pirani supervision at King's College, Ray d'Inverno wrote ALAM (Atlas Lisp Algebraic Manipulator) and used it to compute the Riemann tensor of Bondi metric. The original calculations took Bondi and his collaborators 6 months to go. The computation with ALAM took 4 minutes and yield to the discovery of 6 errors in the original paper [J.E.F. Skea, Applications of SHEEP (1994)] In the early 1970's, ALAM was rewritten in the LISP programming language, thereby becoming machine independent and renamed LAM The descendant of LAM, called SHEEP (!), was initiated in 1977 by Inge Frick Since then, many softwares for tensor calculus have been developed..
    [Show full text]
  • Using Macaulay2 Effectively in Practice
    Using Macaulay2 effectively in practice Mike Stillman ([email protected]) Department of Mathematics Cornell 22 July 2019 / IMA Sage/M2 Macaulay2: at a glance Project started in 1993, Dan Grayson and Mike Stillman. Open source. Key computations: Gr¨obnerbases, free resolutions, Hilbert functions and applications of these. Rings, Modules and Chain Complexes are first class objects. Language which is comfortable for mathematicians, yet powerful, expressive, and fun to program in. Now a community project Journal of Software for Algebra and Geometry (started in 2009. Now we handle: Macaulay2, Singular, Gap, Cocoa) (original editors: Greg Smith, Amelia Taylor). Strong community: including about 2 workshops per year. User contributed packages (about 200 so far). Each has doc and tests, is tested every night, and is distributed with M2. Lots of activity Over 2000 math papers refer to Macaulay2. History: 1976-1978 (My undergrad years at Urbana) E. Graham Evans: asked me to write a program to compute syzygies, from Hilbert's algorithm from 1890. Really didn't work on computers of the day (probably might still be an issue!). Instead: Did computation degree by degree, no finishing condition. Used Buchsbaum-Eisenbud \What makes a complex exact" (by hand!) to see if the resulting complex was exact. Winfried Bruns was there too. Very exciting time. History: 1978-1983 (My grad years, with Dave Bayer, at Harvard) History: 1978-1983 (My grad years, with Dave Bayer, at Harvard) I tried to do \real mathematics" but Dave Bayer (basically) rediscovered Groebner bases, and saw that they gave an algorithm for computing all syzygies. I got excited, dropped what I was doing, and we programmed (in Pascal), in less than one week, the first version of what would be Macaulay.
    [Show full text]
  • Luis David Garcıa Puente
    Luis David Garc´ıa Puente Department of Mathematics and Statistics (936) 294-1581 Sam Houston State University [email protected] Huntsville, TX 77341–2206 http://www.shsu.edu/ldg005/ Professional Preparation Universidad Nacional Autonoma´ de Mexico´ (UNAM) Mexico City, Mexico´ B.S. Mathematics (with Honors) 1999 Virginia Polytechnic Institute and State University Blacksburg, VA Ph.D. Mathematics 2004 – Advisor: Reinhard Laubenbacher – Dissertation: Algebraic Geometry of Bayesian Networks University of California, Berkeley Berkeley, CA Postdoctoral Fellow Summer 2004 – Mentor: Lior Pachter Mathematical Sciences Research Institute (MSRI) Berkeley, CA Postdoctoral Fellow Fall 2004 – Mentor: Bernd Sturmfels Texas A&M University College Station, TX Visiting Assistant Professor 2005 – 2007 – Mentor: Frank Sottile Appointments Colorado College Colorado Springs, CO Professor of Mathematics and Computer Science 2021 – Sam Houston State University Huntsville, TX Professor of Mathematics 2019 – 2021 Sam Houston State University Huntsville, TX Associate Department Chair Fall 2017 – 2021 Sam Houston State University Huntsville, TX Associate Professor of Mathematics 2013 – 2019 Statistical and Applied Mathematical Sciences Institute Research Triangle Park, NC SAMSI New Researcher fellowship Spring 2009 Sam Houston State University Huntsville, TX Assistant Professor of Mathematics 2007 – 2013 Virginia Bioinformatics Institute (Virginia Tech) Blacksburg, VA Graduate Research Assistant Spring 2004 Virginia Polytechnic Institute and State University Blacksburg,
    [Show full text]
  • Rapid Research with Computer Algebra Systems
    doi: 10.21495/71-0-109 25th International Conference ENGINEERING MECHANICS 2019 Svratka, Czech Republic, 13 – 16 May 2019 RAPID RESEARCH WITH COMPUTER ALGEBRA SYSTEMS C. Fischer* Abstract: Computer algebra systems (CAS) are gaining popularity not only among young students and schol- ars but also as a tool for serious work. These highly complicated software systems, which used to just be regarded as toys for computer enthusiasts, have reached maturity. Nowadays such systems are available on a variety of computer platforms, starting from freely-available on-line services up to complex and expensive software packages. The aim of this review paper is to show some selected capabilities of CAS and point out some problems with their usage from the point of view of 25 years of experience. Keywords: Computer algebra system, Methodology, Wolfram Mathematica 1. Introduction The Wikipedia page (Wikipedia contributors, 2019a) defines CAS as a package comprising a set of algo- rithms for performing symbolic manipulations on algebraic objects, a language to implement them, and an environment in which to use the language. There are 35 different systems listed on the page, four of them discontinued. The oldest one, Reduce, was publicly released in 1968 (Hearn, 2005) and is still available as an open-source project. Maple (2019a) is among the most popular CAS. It was first publicly released in 1984 (Maple, 2019b) and is still popular, also among users in the Czech Republic. PTC Mathcad (2019) was published in 1986 in DOS as an engineering calculation solution, and gained popularity for its ability to work with typeset mathematical notation in combination with automatic computations.
    [Show full text]
  • CAS (Computer Algebra System) Mathematica
    CAS (Computer Algebra System) Mathematica- UML students can download a copy for free as part of the UML site license; see the course website for details From: Wikipedia 2/9/2014 A computer algebra system (CAS) is a software program that allows [one] to compute with mathematical expressions in a way which is similar to the traditional handwritten computations of the mathematicians and other scientists. The main ones are Axiom, Magma, Maple, Mathematica and Sage (the latter includes several computer algebras systems, such as Macsyma and SymPy). Computer algebra systems began to appear in the 1960s, and evolved out of two quite different sources—the requirements of theoretical physicists and research into artificial intelligence. A prime example for the first development was the pioneering work conducted by the later Nobel Prize laureate in physics Martin Veltman, who designed a program for symbolic mathematics, especially High Energy Physics, called Schoonschip (Dutch for "clean ship") in 1963. Using LISP as the programming basis, Carl Engelman created MATHLAB in 1964 at MITRE within an artificial intelligence research environment. Later MATHLAB was made available to users on PDP-6 and PDP-10 Systems running TOPS-10 or TENEX in universities. Today it can still be used on SIMH-Emulations of the PDP-10. MATHLAB ("mathematical laboratory") should not be confused with MATLAB ("matrix laboratory") which is a system for numerical computation built 15 years later at the University of New Mexico, accidentally named rather similarly. The first popular computer algebra systems were muMATH, Reduce, Derive (based on muMATH), and Macsyma; a popular copyleft version of Macsyma called Maxima is actively being maintained.
    [Show full text]
  • Singular Value Decomposition and Its Numerical Computations
    Singular Value Decomposition and its numerical computations Wen Zhang, Anastasios Arvanitis and Asif Al-Rasheed ABSTRACT The Singular Value Decomposition (SVD) is widely used in many engineering fields. Due to the important role that the SVD plays in real-time computations, we try to study its numerical characteristics and implement the numerical methods for calculating it. Generally speaking, there are two approaches to get the SVD of a matrix, i.e., direct method and indirect method. The first one is to transform the original matrix to a bidiagonal matrix and then compute the SVD of this resulting matrix. The second method is to obtain the SVD through the eigen pairs of another square matrix. In this project, we implement these two kinds of methods and develop the combined methods for computing the SVD. Finally we compare these methods with the built-in function in Matlab (svd) regarding timings and accuracy. 1. INTRODUCTION The singular value decomposition is a factorization of a real or complex matrix and it is used in many applications. Let A be a real or a complex matrix with m by n dimension. Then the SVD of A is: where is an m by m orthogonal matrix, Σ is an m by n rectangular diagonal matrix and is the transpose of n ä n matrix. The diagonal entries of Σ are known as the singular values of A. The m columns of U and the n columns of V are called the left singular vectors and right singular vectors of A, respectively. Both U and V are orthogonal matrices.
    [Show full text]
  • Using Computer Programming As an Effective Complement To
    Using Computer Programming as an Effective Complement to Mathematics Education: Experimenting with the Standards for Mathematics Practice in a Multidisciplinary Environment for Teaching and Learning with Technology in the 21st Century By Pavel Solin1 and Eugenio Roanes-Lozano2 1University of Nevada, Reno, 1664 N Virginia St, Reno, NV 89557, USA. Founder and Director of NCLab (http://nclab.com). 2Instituto de Matemática Interdisciplinar & Departamento de Didáctica de las Ciencias Experimentales, Sociales y Matemáticas, Facultad de Educación, Universidad Complutense de Madrid, c/ Rector Royo Villanova s/n, 28040 – Madrid, Spain. [email protected], [email protected] Received: 30 September 2018 Revised: 12 February 2019 DOI: 10.1564/tme_v27.3.03 Many mathematics educators are not aware of a strong 2. KAREL THE ROBOT connection that exists between the education of computer programming and mathematics. The reason may be that they Karel the Robot is a widely used educational have not been exposed to computer programming. This programming language which was introduced by Richard E. connection is worth exploring, given the current trends of Pattis in his 1981 textbook Karel the Robot: A Gentle automation and Industry 4.0. Therefore, in this paper we Introduction to the Art of Computer Programming (Pattis, take a closer look at the Common Core's eight Mathematical 1995). Let us note that Karel the Robot constitutes an Practice Standards. We show how each one of them can be environment related to Turtle Geometry (Abbelson and reinforced through computer programming. The following diSessa, 1981), but is not yet another implementation, as will discussion is virtually independent of the choice of a be detailed below.
    [Show full text]
  • An Alternative Algorithm for Computing the Betti Table of a Monomial Ideal 3
    AN ALTERNATIVE ALGORITHM FOR COMPUTING THE BETTI TABLE OF A MONOMIAL IDEAL MARIA-LAURA TORRENTE AND MATTEO VARBARO Abstract. In this paper we develop a new technique to compute the Betti table of a monomial ideal. We present a prototype implementation of the resulting algorithm and we perform numerical experiments suggesting a very promising efficiency. On the way of describing the method, we also prove new constraints on the shape of the possible Betti tables of a monomial ideal. 1. Introduction Since many years syzygies, and more generally free resolutions, are central in purely theo- retical aspects of algebraic geometry; more recently, after the connection between algebra and statistics have been initiated by Diaconis and Sturmfels in [DS98], free resolutions have also become an important tool in statistics (for instance, see [D11, SW09]). As a consequence, it is fundamental to have efficient algorithms to compute them. The usual approach uses Gr¨obner bases and exploits a result of Schreyer (for more details see [Sc80, Sc91] or [Ei95, Chapter 15, Section 5]). The packages for free resolutions of the most used computer algebra systems, like [Macaulay2, Singular, CoCoA], are based on these techniques. In this paper, we introduce a new algorithmic method to compute the minimal graded free resolution of any finitely generated graded module over a polynomial ring such that some (possibly non- minimal) graded free resolution is known a priori. We describe this method and we present the resulting algorithm in the case of monomial ideals in a polynomial ring, in which situ- ation we always have a starting nonminimal graded free resolution.
    [Show full text]
  • Addition and Subtraction
    A Addition and Subtraction SUMMARY (475– 221 BCE), when arithmetic operations were per- formed by manipulating rods on a flat surface that was Addition and subtraction can be thought of as a pro- partitioned by vertical and horizontal lines. The num- cess of accumulation. For example, if a flock of 3 sheep bers were represented by a positional base- 10 system. is joined with a flock of 4 sheep, the combined flock Some scholars believe that this system— after moving will have 7 sheep. Thus, 7 is the sum that results from westward through India and the Islamic Empire— the addition of the numbers 3 and 4. This can be writ- became the modern system of representing numbers. ten as 3 + 4 = 7 where the sign “+” is read “plus” and The Greeks in the fifth century BCE, in addition the sign “=” is read “equals.” Both 3 and 4 are called to using a complex ciphered system for representing addends. Addition is commutative; that is, the order numbers, used a system that is very similar to Roman of the addends is irrelevant to how the sum is formed. numerals. It is possible that the Greeks performed Subtraction finds the remainder after a quantity is arithmetic operations by manipulating small stones diminished by a certain amount. If from a flock con- on a large, flat surface partitioned by lines. A simi- taining 5 sheep, 3 sheep are removed, then 2 sheep lar stone tablet was found on the island of Salamis remain. In this example, 5 is the minuend, 3 is the in the 1800s and is believed to date from the fourth subtrahend, and 2 is the remainder or difference.
    [Show full text]
  • Computations in Algebraic Geometry with Macaulay 2
    Computations in algebraic geometry with Macaulay 2 Editors: D. Eisenbud, D. Grayson, M. Stillman, and B. Sturmfels Preface Systems of polynomial equations arise throughout mathematics, science, and engineering. Algebraic geometry provides powerful theoretical techniques for studying the qualitative and quantitative features of their solution sets. Re- cently developed algorithms have made theoretical aspects of the subject accessible to a broad range of mathematicians and scientists. The algorith- mic approach to the subject has two principal aims: developing new tools for research within mathematics, and providing new tools for modeling and solv- ing problems that arise in the sciences and engineering. A healthy synergy emerges, as new theorems yield new algorithms and emerging applications lead to new theoretical questions. This book presents algorithmic tools for algebraic geometry and experi- mental applications of them. It also introduces a software system in which the tools have been implemented and with which the experiments can be carried out. Macaulay 2 is a computer algebra system devoted to supporting research in algebraic geometry, commutative algebra, and their applications. The reader of this book will encounter Macaulay 2 in the context of concrete applications and practical computations in algebraic geometry. The expositions of the algorithmic tools presented here are designed to serve as a useful guide for those wishing to bring such tools to bear on their own problems. A wide range of mathematical scientists should find these expositions valuable. This includes both the users of other programs similar to Macaulay 2 (for example, Singular and CoCoA) and those who are not interested in explicit machine computations at all.
    [Show full text]
  • A Simplified Introduction to Virus Propagation Using Maple's Turtle Graphics Package
    E. Roanes-Lozano, C. Solano-Macías & E. Roanes-Macías.: A simplified introduction to virus propagation using Maple's Turtle Graphics package A simplified introduction to virus propagation using Maple's Turtle Graphics package Eugenio Roanes-Lozano Instituto de Matemática Interdisciplinar & Departamento de Didáctica de las Ciencias Experimentales, Sociales y Matemáticas Facultad de Educación, Universidad Complutense de Madrid, Spain Carmen Solano-Macías Departamento de Información y Comunicación Facultad de CC. de la Documentación y Comunicación, Universidad de Extremadura, Spain Eugenio Roanes-Macías Departamento de Álgebra, Universidad Complutense de Madrid, Spain [email protected] ; [email protected] ; [email protected] Partially funded by the research project PGC2018-096509-B-100 (Government of Spain) 1 E. Roanes-Lozano, C. Solano-Macías & E. Roanes-Macías.: A simplified introduction to virus propagation using Maple's Turtle Graphics package 1. INTRODUCTION: TURTLE GEOMETRY AND LOGO • Logo language: developed at the end of the ‘60s • Characterized by the use of Turtle Geometry (a.k.a. as Turtle Graphics). • Oriented to introduce kids to programming (Papert, 1980). • Basic movements of the turtle (graphic cursor): FD, BK RT, LT. • It is not based on a Cartesian Coordinate system. 2 E. Roanes-Lozano, C. Solano-Macías & E. Roanes-Macías.: A simplified introduction to virus propagation using Maple's Turtle Graphics package • Initially robots were used to plot the trail of the turtle. http://cyberneticzoo.com/cyberneticanimals/1969-the-logo-turtle-seymour-papert-marvin-minsky-et-al-american/ 3 E. Roanes-Lozano, C. Solano-Macías & E. Roanes-Macías.: A simplified introduction to virus propagation using Maple's Turtle Graphics package • IBM Logo / LCSI Logo (’80) 4 E.
    [Show full text]
  • About the Polynomial System Solve Facility of Axiom, Macsyma, Maple
    Ab out the Polynomial System Solve Facility of Axiom, Macsyma, Maple, Mathematica, MuPAD, and Reduce Hans-Gert Grab e Institut fur Informatik, Universitat Leipzig, Germany February 23, 1998 In memoriam to Renate. Abstract We rep ort on some exp eriences with the general purp ose Computer Algebra Systems (CAS) Axiom, Macsyma, Maple, Mathematica, MuPAD, and Reduce solving systems of p olynomial equations and the way they present their solutions. This snapshot (taken in the spring 1996) of the current power of the di erent systems in a sp ecial area concentrates b oth on CPU-times and the quality of the output. 1 Intro duction Let S := k [x ;::: ;x ] be the p olynomial ring in the variables x ;::: ;x over the eld 1 n 1 n k and B := ff ;::: ;f g S be a nite system of p olynomials. Denote by I (B ) the 1 m ideal generated by these p olynomials. One of the ma jor tasks of constructive commutative n algebra is the derivation of information ab out the structure of Z (B ) := fa 2 k : 8 f 2 B such that f (a)=0g, the set of common zero es of the system B over the algebraic closure k of k . Splitting the system into smaller ones, solving them separately, and patching all solu- tions together is often a go o d guess for a quick solution of even highly nontrivial problems. This can b e done by several techniques, e.g. characteristic sets, resultants, the Grobner fac- torizer or some ad ho c metho ds.
    [Show full text]