Constructing a Computer Algebra System Capable of Generating Pedagogical Step-By-Step Solutions

Total Page:16

File Type:pdf, Size:1020Kb

Constructing a Computer Algebra System Capable of Generating Pedagogical Step-By-Step Solutions DEGREE PROJECT IN COMPUTER SCIENCE AND ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2016 Constructing a Computer Algebra System Capable of Generating Pedagogical Step-by-Step Solutions DMITRIJ LIOUBARTSEV KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF COMPUTER SCIENCE AND COMMUNICATION Constructing a Computer Algebra System Capable of Generating Pedagogical Step-by-Step Solutions DMITRIJ LIOUBARTSEV Examenrapport vid NADA Handledare: Mårten Björkman Examinator: Olof Bälter Abstract For the problem of producing pedagogical step-by-step so- lutions to mathematical problems in education, standard methods and algorithms used in construction of computer algebra systems are often not suitable. A method of us- ing rules to manipulate mathematical expressions in small steps is suggested and implemented. The problem of creat- ing a step-by-step solution by choosing which rule to apply and when to do it is redefined as a graph search problem and variations of the A* algorithm are used to solve it. It is all put together into one prototype solver that was evalu- ated in a study. The study was a questionnaire distributed among high school students. The results showed that while the solutions were not as good as human-made ones, they were competent. Further improvements of the method are suggested that would probably lead to better solutions. Referat Konstruktion av ett datoralgebrasystem kapabelt att generera pedagogiska steg-för-steg-lösningar För problemet att producera pedagogiska steg-för-steg lös- ningar till matematiska problem inom utbildning, är vanli- ga metoder och algoritmer som används i konstruktion av datoralgebrasystem ofta inte lämpliga. En metod som an- vänder regler för att manipulera matematiska uttryck i små steg föreslås och implementeras. Problemet att välja vilka regler som ska appliceras och när de ska göra det för att skapa en steg-för-steg lösning omdefineras som ett grafsök- ningsproblem och varianter av algoritmen A* används för att lösa det. Allt sätts ihop till en prototyp av en lösare vilken utvärderas i en studie. Studien var ett frågeformulär som delades ut till gymnasiestudenter. Resultaten visade att även fast lösningar skapade av programmet inte var lika bra som lösningar skapade av människor, så var de an- ständiga. Fortsatta föbättringar av metoden föreslås, vilka troligtvis skulle leda till bättre lösningar. Contents 1 Introduction 1 1.1 Problem statement . 1 1.2 Problem definition, scope and evaluation . 2 1.3 Layout of this document . 3 2 Related Work 5 2.1 Applications of computer algebra . 5 2.2 Computer algebra systems with step-by-step capabilities . 6 3 Computer Algebra Systems 9 3.1 A brief overview . 9 3.2 Construction of computer algebra systems . 9 3.2.1 Representation of primitive types . 9 3.2.2 Representation of mathematical formulas . 10 3.2.3 Algorithms . 12 3.2.4 Interface . 13 4 SymPy 15 4.1 Representation of mathematical formulas . 15 4.2 Creation of SymPy objects . 17 4.3 Algorithms . 18 4.4 Output . 19 5 Method 21 5.1 Considerations for a step-by-step CAS . 21 5.1.1 Pedagogical considerations . 21 5.1.2 Differences to normal CASs . 22 5.2 Overview of chosen method . 23 5.3 Modifications to SymPy . 25 5.3.1 Classes . 25 5.3.2 Termlists and Factorlists . 26 5.3.3 Object creation and canonical form . 27 5.3.4 Input . 28 5.3.5 Output . 29 5.4 Rules . 30 5.4.1 sortBoth . 31 5.4.2 simplifyTerms . 32 5.4.3 simplifyProduct . 33 5.4.4 groupPow . 33 5.4.5 eqRules . 33 5.5 Search . 34 5.5.1 Redefining the problem as a graph search . 34 5.5.2 Implicitly generating the graph . 35 5.5.3 Simplify . 36 5.5.4 ShowEquality . 38 5.5.5 Solve . 38 5.6 Interface . 39 6 Results 41 6.1 Evaluation . 41 6.2 Presentation of the results . 43 6.2.1 Result totals for questions 1 to 5 . 44 6.2.2 Result totals for questions 1 to 5 by different math courses . 48 6.2.3 Result totals for questions 1 to 5 by different high school years 50 6.2.4 Results for turing-type question 6 . 51 7 Discussion 53 7.1 Discussion of results . 53 7.2 Solution aesthetics and fairness . 54 7.3 Discussion of the questionnaire answers . 55 7.4 Further work . 55 7.5 Conclusion . 56 Bibliography 57 A Questionnaire 61 B Questionnaire Raw Results 69 C Search Algorithm Pseudocode 71 D Rules 73 D.1 Rules . 73 D.1.1 negAddToSub . 73 D.1.2 negNeg . 73 D.1.3 negDivNumer . 73 D.1.4 negDivDenom . 73 D.1.5 negTerms . 74 D.1.6 negPlusminusRewrite . 74 D.1.7 negPlusminus . 74 D.1.8 negMul . 74 D.1.9 negNegMul . 74 D.1.10 termsToCommonDenom . 74 D.1.11 termsOnSameDenom . 75 D.1.12 mulRemove0 . 75 D.1.13 mulRemove1 . 75 D.1.14 divRemove0 . 75 D.1.15 divRemove1 . 75 D.1.16 rewriteMulOnDiv . 75 D.1.17 divMulDiv . 76 D.1.18 divDivDiv . 76 D.1.19 divDivMul . 76 D.1.20 mulDivDiv . 76 D.1.21 shortenFactorsSamediv . 76 D.1.22 mulInto . 77 D.1.23 mulTermsFull . 77 D.1.24 distrQuadPosNeg . 77 D.1.25 distrQuadPosPos . 78 D.1.26 distrQuadNegNeg . 78 D.1.27 powExpand . 78 D.1.28 breakOut . 78 D.1.29 factorizePoly . 78 D.1.30 factQuadPosNeg . 79 D.1.31 factQuadPosPos . 79 D.1.32 factQuadNegNeg . 79 D.1.33 simplifyPow . 79 D.1.34 simplifyPowFrac . 80 D.1.35 simplifyPowFracNeg . 80 D.1.36 powFracRewrite . 80 D.1.37 powPow . 80 D.1.38 powRoot . 80 D.1.39 powRemove1 . 80 D.1.40 divPowToPowneg . 80 D.1.41 sqrt0 . 81 D.1.42 simplifyRoot . 81 D.1.43 rootNegImg . 81 D.1.44 simplifyRootFrac . 81 D.1.45 rootFracTopNeg . 81 D.1.46 rootFracBotNeg . 81 D.1.47 rewriteRootFrac . 81 D.1.48 rootPow . 82 D.1.49 plusminusSplitRename . 82 D.1.50 pqFormula . 82 Chapter 1 Introduction 1.1 Problem statement Math education in schools (primary school and high school) teaches new concepts by first providing a theoretical explanation of the concept, then showing a few examples and finally the students practice the concept by solving problems related to the concept. However, for some students that may not be enough, as they may get stuck on the problem solving part. The text book only has the answer, and the student may wonder how that answer was reached. The answer might give a clue to how to solve it, but it is not very pedagogical. Furthermore, if a student did solve the problem, he or she can see that the answer is correct, but does not get any feedback on the solution unless the teacher manually checks it. The root of the problem is that manually producing pedagogical solutions to every math problem in a text book is time consuming, and would most likely re- quire the solutions to be printed in a separate book, making the whole package significantly more expensive. A way of solving this problem is through automation with a program that could solve mathematical problems and return the solutions. This would allow the creators of math text books, or independent companies, to efficiently create solutions to many problems quickly. Such a program could also be useful in the hands of students as that would allow on-demand solution generation and eliminate the problem of having to publish the solutions. However, a balance has to be established between study help and protection against cheating, as some students would inevitably use it to simply get done with their homework. The goal of this thesis is to design and construct a program that can solve this problem, i.e. automatically generate pedagogical solutions to math.
Recommended publications
  • Some Reflections About the Success and Impact of the Computer Algebra System DERIVE with a 10-Year Time Perspective
    Noname manuscript No. (will be inserted by the editor) Some reflections about the success and impact of the computer algebra system DERIVE with a 10-year time perspective Eugenio Roanes-Lozano · Jose Luis Gal´an-Garc´ıa · Carmen Solano-Mac´ıas Received: date / Accepted: date Abstract The computer algebra system DERIVE had a very important im- pact in teaching mathematics with technology, mainly in the 1990's. The au- thors analyze the possible reasons for its success and impact and give personal conclusions based on the facts collected. More than 10 years after it was discon- tinued it is still used for teaching and several scientific papers (most devoted to educational issues) still refer to it. A summary of the history, journals and conferences together with a brief bibliographic analysis are included. Keywords Computer algebra systems · DERIVE · educational software · symbolic computation · technology in mathematics education Eugenio Roanes-Lozano Instituto de Matem´aticaInterdisciplinar & Departamento de Did´actica de las Ciencias Experimentales, Sociales y Matem´aticas, Facultad de Educaci´on,Universidad Complutense de Madrid, c/ Rector Royo Villanova s/n, 28040-Madrid, Spain Tel.: +34-91-3946248 Fax: +34-91-3946133 E-mail: [email protected] Jose Luis Gal´an-Garc´ıa Departamento de Matem´atica Aplicada, Universidad de M´alaga, M´alaga, c/ Dr. Ortiz Ramos s/n. Campus de Teatinos, E{29071 M´alaga,Spain Tel.: +34-952-132873 Fax: +34-952-132766 E-mail: [email protected] Carmen Solano-Mac´ıas Departamento de Informaci´ony Comunicaci´on,Universidad de Extremadura, Plaza de Ibn Marwan s/n, 06001-Badajoz, Spain Tel.: +34-924-286400 Fax: +34-924-286401 E-mail: [email protected] 2 Eugenio Roanes-Lozano et al.
    [Show full text]
  • Redberry: a Computer Algebra System Designed for Tensor Manipulation
    Redberry: a computer algebra system designed for tensor manipulation Stanislav Poslavsky Institute for High Energy Physics, Protvino, Russia SRRC RF ITEP of NRC Kurchatov Institute, Moscow, Russia E-mail: [email protected] Dmitry Bolotin Institute of Bioorganic Chemistry of RAS, Moscow, Russia E-mail: [email protected] Abstract. In this paper we focus on the main aspects of computer-aided calculations with tensors and present a new computer algebra system Redberry which was specifically designed for algebraic tensor manipulation. We touch upon distinctive features of tensor software in comparison with pure scalar systems, discuss the main approaches used to handle tensorial expressions and present the comparison of Redberry performance with other relevant tools. 1. Introduction General-purpose computer algebra systems (CASs) have become an essential part of many scientific calculations. Focusing on the area of theoretical physics and particularly high energy physics, one can note that there is a wide area of problems that deal with tensors (or more generally | objects with indices). This work is devoted to the algebraic manipulations with abstract indexed expressions which forms a substantial part of computer aided calculations with tensors in this field of science. Today, there are many packages both on top of general-purpose systems (Maple Physics [1], xAct [2], Tensorial etc.) and standalone tools (Cadabra [3,4], SymPy [5], Reduce [6] etc.) that cover different topics in symbolic tensor calculus. However, it cannot be said that current demand on such a software is fully satisfied [7]. The main difference of tensorial expressions (in comparison with ordinary indexless) lies in the presence of contractions between indices.
    [Show full text]
  • Performance Analysis of Effective Symbolic Methods for Solving Band Matrix Slaes
    Performance Analysis of Effective Symbolic Methods for Solving Band Matrix SLAEs Milena Veneva ∗1 and Alexander Ayriyan y1 1Joint Institute for Nuclear Research, Laboratory of Information Technologies, Joliot-Curie 6, 141980 Dubna, Moscow region, Russia Abstract This paper presents an experimental performance study of implementations of three symbolic algorithms for solving band matrix systems of linear algebraic equations with heptadiagonal, pen- tadiagonal, and tridiagonal coefficient matrices. The only assumption on the coefficient matrix in order for the algorithms to be stable is nonsingularity. These algorithms are implemented using the GiNaC library of C++ and the SymPy library of Python, considering five different data storing classes. Performance analysis of the implementations is done using the high-performance computing (HPC) platforms “HybriLIT” and “Avitohol”. The experimental setup and the results from the conducted computations on the individual computer systems are presented and discussed. An analysis of the three algorithms is performed. 1 Introduction Systems of linear algebraic equations (SLAEs) with heptadiagonal (HD), pentadiagonal (PD) and tridiagonal (TD) coefficient matrices may arise after many different scientific and engineering prob- lems, as well as problems of the computational linear algebra where finding the solution of a SLAE is considered to be one of the most important problems. On the other hand, special matrix’s char- acteristics like diagonal dominance, positive definiteness, etc. are not always feasible. The latter two points explain why there is a need of methods for solving of SLAEs which take into account the band structure of the matrices and do not have any other special requirements to them. One possible approach to this problem is the symbolic algorithms.
    [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]
  • SNC: a Cloud Service Platform for Symbolic-Numeric Computation Using Just-In-Time Compilation
    This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2017.2656088, IEEE Transactions on Cloud Computing IEEE TRANSACTIONS ON CLOUD COMPUTING 1 SNC: A Cloud Service Platform for Symbolic-Numeric Computation using Just-In-Time Compilation Peng Zhang1, Member, IEEE, Yueming Liu1, and Meikang Qiu, Senior Member, IEEE and SQL. Other types of Cloud services include: Software as a Abstract— Cloud services have been widely employed in IT Service (SaaS) in which the software is licensed and hosted in industry and scientific research. By using Cloud services users can Clouds; and Database as a Service (DBaaS) in which managed move computing tasks and data away from local computers to database services are hosted in Clouds. While enjoying these remote datacenters. By accessing Internet-based services over lightweight and mobile devices, users deploy diversified Cloud great services, we must face the challenges raised up by these applications on powerful machines. The key drivers towards this unexploited opportunities within a Cloud environment. paradigm for the scientific computing field include the substantial Complex scientific computing applications are being widely computing capacity, on-demand provisioning and cross-platform interoperability. To fully harness the Cloud services for scientific studied within the emerging Cloud-based services environment computing, however, we need to design an application-specific [4-12]. Traditionally, the focus is given to the parallel scientific platform to help the users efficiently migrate their applications. In HPC (high performance computing) applications [6, 12, 13], this, we propose a Cloud service platform for symbolic-numeric where substantial effort has been given to the integration of computation– SNC.
    [Show full text]
  • Estimado Profesor
    México, D.F., a 15 de abril de 2016 CURRICULUM VITAE Nombre: RICARDO LÓPEZ BAUTISTA Departamento de Adscripción: CIENCIAS BASICAS, Profesor titular "A", tiempo Completo, definitivo en UAM-Azcapotzalco Correo electrónico: [email protected] Formación Profesional: DOCTOR EN CIENCIAS en la especialidad de Matemáticas por el Centro de Investigación y de Estudios Avanzados del I.P.N. (CINVESTAV) con Mención Honorífica. ESTANCIA POSTDOCTORAL Departamento de Matemáticas de la Ohio StateUniversity (USA). 2000 Líneas de investigación: 1) EVALUACIÓN EN LINEA y GENERACIÓN AUTOMATIZADA DE MILLONES DE REACTIVOS CON RETROALIMENTACION AUTOMATICA, PARA BANCOS DE EXÁMENES EN MATEMÁTICAS. a. Experto en plataforma MOODLE- LCMS (Learning Content Management System) b. Programador en diversos CAS (Computer Algebraic System) Axiom, Mathematica, Maple, Mathlab, Geogebra, Magma, SageMath, Maxima, SymPy, Xcas, Yacas, Pari-GP, Octave, GAP, CoCoA, Algebrator, MathCad 2) TEORIA ALGEBRAICA DE NUMEROS, FACTORIZACION DE ENTEROS, SEGURIDAD ELECTRONICA 3) SISTEMAS ALGEBRAICOS COMPUTACIONALES (CAS). a. INVESTIGACIÓN Y APLICACIONES DE CAS EN TEORÍA DE NÚMEROS. b. INVESTIGACIÓN Y APLICACIONES DE CAS EN MODELOS MIXTOS PARA LA EDUCACIÓN Y EVALUACIÓN EN MATEMÁTICAS 4) TECNOMATEMÁTICA EDUCATIVA EN MODELOS PRESENCIALES, NO PRESENCIALES Y MIXTOS. SISTEMAS ALGEBRAICOS COMPUTACIONALES EN LA EDUCACION Y EVALUACION EN MATEMÁTICAS. a. Portales activos para la comunidad en UAM-A: http://galois.azc.uam.mx http://evaluacionenlinea.azc.uam.mx http://matematicas.azc.uam.mx Proyecto CONACyT: Evaluación del aprendizaje en Matemáticas y propuesta de evaluaciones automáticas en línea. Aprobado en 2012, por concluir. 1 Formación de recursos humanos: Tesis de alumna de maestría: Jurado en examen doctoral. Uam Proyectos Terminales en Maestría en Ciencias de la Iztapalapa.
    [Show full text]
  • Analysis and Verification of Arithmetic Circuits Using Computer Algebra Approach
    University of Massachusetts Amherst ScholarWorks@UMass Amherst Doctoral Dissertations Dissertations and Theses March 2020 ANALYSIS AND VERIFICATION OF ARITHMETIC CIRCUITS USING COMPUTER ALGEBRA APPROACH TIANKAI SU University of Massachusetts Amherst Follow this and additional works at: https://scholarworks.umass.edu/dissertations_2 Part of the VLSI and Circuits, Embedded and Hardware Systems Commons Recommended Citation SU, TIANKAI, "ANALYSIS AND VERIFICATION OF ARITHMETIC CIRCUITS USING COMPUTER ALGEBRA APPROACH" (2020). Doctoral Dissertations. 1868. https://doi.org/10.7275/15875490 https://scholarworks.umass.edu/dissertations_2/1868 This Open Access Dissertation is brought to you for free and open access by the Dissertations and Theses at ScholarWorks@UMass Amherst. It has been accepted for inclusion in Doctoral Dissertations by an authorized administrator of ScholarWorks@UMass Amherst. For more information, please contact [email protected]. ANALYSIS AND VERIFICATION OF ARITHMETIC CIRCUITS USING COMPUTER ALGEBRA APPROACH A Dissertation Presented by TIANKAI SU Submitted to the Graduate School of the University of Massachusetts Amherst in partial fulfillment of the requirements for the degree of DOCTOR OF PHILOSOPHY February 2020 Electrical and Computer Engineering c Copyright by Tiankai Su 2020 All Rights Reserved ANALYSIS AND VERIFICATION OF ARITHMETIC CIRCUITS USING COMPUTER ALGEBRA APPROACH A Dissertation Presented by TIANKAI SU Approved as to style and content by: Maciej Ciesielski, Chair George S. Avrunin, Member Daniel Holcomb, Member Weibo Gong, Member Christopher V. Hollot, Department Head Electrical and Computer Engineering ABSTRACT ANALYSIS AND VERIFICATION OF ARITHMETIC CIRCUITS USING COMPUTER ALGEBRA APPROACH FEBRUARY 2020 TIANKAI SU B.Sc., NORTHEAST DIANLI UNIVERSITY Ph.D., UNIVERSITY OF MASSACHUSETTS AMHERST Directed by: Professor Maciej Ciesielski Despite a considerable progress in verification of random and control logic, ad- vances in formal verification of arithmetic designs have been lagging.
    [Show full text]
  • Solving Equations; Patterns, Functions, and Algebra; 8.15A
    Mathematics Enhanced Scope and Sequence – Grade 8 Solving Equations Reporting Category Patterns, Functions, and Algebra Topic Solving equations in one variable Primary SOL 8.15a The student will solve multistep linear equations in one variable with the variable on one and two sides of the equation. Materials • Sets of algebra tiles • Equation-Solving Balance Mat (attached) • Equation-Solving Ordering Cards (attached) • Be the Teacher: Solving Equations activity sheet (attached) • Student whiteboards and markers Vocabulary equation, variable, coefficient, constant (earlier grades) Student/Teacher Actions (what students and teachers should be doing to facilitate learning) 1. Give each student a set of algebra tiles and a copy of the Equation-Solving Balance Mat. Lead students through the steps for using the tiles to model the solutions to the following equations. As you are working through the solution of each equation with the students, point out that you are undoing each operation and keeping the equation balanced by doing the same thing to both sides. Explain why you do this. When students are comfortable with modeling equation solutions with algebra tiles, transition to writing out the solution steps algebraically while still using the tiles. Eventually, progress to only writing out the steps algebraically without using the tiles. • x + 3 = 6 • x − 2 = 5 • 3x = 9 • 2x + 1 = 9 • −x + 4 = 7 • −2x − 1 = 7 • 3(x + 1) = 9 • 2x = x − 5 Continue to allow students to use the tiles whenever they wish as they work to solve equations. 2. Give each student a whiteboard and marker. Provide students with a problem to solve, and as they write each step, have them hold up their whiteboards so you can ensure that they are completing each step correctly and understanding the process.
    [Show full text]
  • Computer Algebra Tems
    short and expensive. Consequently, computer centre managers were not easily persuaded to install such sys­ Computer Algebra tems. This is another reason why many specialized CAS have been developed in many different institutions. From the Jacques Calmet, Grenoble * very beginning it was felt that the (UFIA / INPG) breakthrough of Computer Algebra is linked to the availability of adequate computers: several megabytes of main As soon as computers became avai­ handling of very large pieces of algebra memory and very large capacity disks. lable the wish to manipulate symbols which would be hopeless without com­ Since the advent of the VAX's and the rather than numbers was considered. puter aid, the possibility to get insight personal workstations, this era is open­ This resulted in what is called symbolic into a calculation, to experiment ideas ed and indeed the use of CAS is computing. The sub-field of symbolic interactively and to save time for less spreading very quickly. computing which deals with the sym­ technical problems. When compared to What are the main CAS of possible bolic solution of mathematical problems numerical computing, it is also much interest to physicists? A fairly balanced is known today as Computer Algebra. closer to human reasoning. answer is to quote MACSYMA, RE­ The discipline was rapidly organized, in DUCE, SMP, MAPLE among the general 1962, by a special interest group on Computer Algebra Systems purpose ones and SCHOONSHIP, symbolic and algebraic manipulation, Computer Algebra systems may be SHEEP and CAYLEY among the specia­ SIGSAM, of the Association for Com­ classified into two different categories: lized ones.
    [Show full text]
  • Mathematical Modeling with Technology PURNIMA RAI
    International Journal of Innovative Research in Computer Science & Technology (IJIRCST) ISSN: 2347-5552, Volume-3, Issue-2, March 2015 Mathematical Modeling with Technology PURNIMA RAI Abstract— Mathematics is very important for an Computer Algebraic System (CAS) increasing number of technical jobs in a quantitative A Computer Algebra system is a type of software package world. Over recent years technology has progressed to that is used in manipulation of mathematical formulae. The the point where many computer algebraic systems primary goal of a Computer Algebra system is to automate (CAS) are widely available. These technologies can tedious and sometimes difficult algebraic manipulation perform a wide variety of algebraic tasks. Computer Algebra systems often include facilities for manipulations.Computer algebra systems (CAS) have graphing equations and provide a programming language become powerful and flexible tools to support a variety for the user to define their own procedures. Computer of mathematical activities. This includes learning and Algebra systems have not only changed how mathematics is teaching, research and assessment. MATLAB, an taught at many universities, but have provided a flexible acronym for “Matrix Laboratory”, is the most tool for mathematicians worldwide. Examples of popular extensively used mathematical software in the general systems include Maple, Mathematica, and MathCAD. sciences. MATLAB is an interactive system for Computer Algebra systems can be used to simplify rational numerical computation and a programmable system. functions, factor polynomials, find the solutions to a system This paper attempts to investigate the impact of of equation, and various other manipulations. In Calculus, integrating mathematical modeling and applications on they can be used to find the limit of, symbolically integrate, higher level mathematics in India.
    [Show full text]
  • The Misfortunes of a Trio of Mathematicians Using Computer Algebra Systems
    The Misfortunes of a Trio of Mathematicians Using Computer Algebra Systems. Can We Trust in Them? Antonio J. Durán, Mario Pérez, and Juan L. Varona Introduction by a typical research mathematician, but let us Nowadays, mathematicians often use a computer explain it briefly. It is not necessary to completely algebra system as an aid in their mathematical understand the mathematics, just to realize that it research; they do the thinking and leave the tedious is typical mathematical research using computer calculations to the computer. Everybody “knows” algebra as a tool. that computers perform this work better than Our starting point is a discrete positive measure people. But, of course, we must trust in the results on the real line, µ n 0 Mnδan (where δa denotes = ≥ derived via these powerful computer algebra the Dirac delta at a, and an < an 1) having P + systems. First of all, let us clarify that this paper is a sequence of orthogonal polynomials Pn n 0 f g ≥ not, in any way, a comparison between different (where Pn has degree n and positive leading computer algebra systems, but a sample of the coefficient). Karlin and Szeg˝oconsidered in 1961 (see [4]) the l l Casorati determinants current state of the art of what mathematicians × can expect when they use this kind of software. Pn(ak)Pn(ak 1):::Pn(ak l 1) Although our example deals with a concrete system, + + − Pn 1(ak)Pn 1(ak 1):::Pn 1(ak l 1) 0 + + + + + − 1 we are sure that similar situations may occur with (1) det .
    [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]