Computer algebra system: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>OAbot
m Open access bot: doi updated in citation with #oabot.
imported>Lilnasfurry
remove duplicate link
 
Line 20: Line 20:
== History ==
== History ==
[[File:TI-nspire CX CAS.jpg|thumb|A Texas Instruments [[TI-Nspire]] calculator that contains a computer algebra system]]
[[File:TI-nspire CX CAS.jpg|thumb|A Texas Instruments [[TI-Nspire]] calculator that contains a computer algebra system]]
In the 1950s, while computers were mainly used for numerical computations, there were some research projects into using them for symbolic manipulation. 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]].{{cn|date=November 2025}}
In the 1950s, while computers were mainly used for numerical computations, there were some research projects into using them for symbolic manipulation. 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]].<ref>{{cite book |last=van Hulzen |first=J. A. |last2=Calmet |first2=J. |editor-last=Buchberger |editor-first=B. |editor2-last=Collins |editor2-first=G. E. |editor3-last=Loos |editor3-first=R. |title=Computer Algebra: Symbolic and Algebraic Computation |date=1983 |publisher=Springer-Verlag |edition=2nd |chapter=Computer Algebra Applications |pages=221–243 |isbn=978-3-7091-3406-1 |quote=The roots of computer algebra systems go back to the 1960s, emerging primarily from three groups: theoretical physicists (developing systems like SCHOONSCHIP for high-energy physics), artificial intelligence researchers (creating systems like MATHLAB and MACSYMA at MIT), and mathematicians.}}</ref>


A prime example of the first development was the pioneering work conducted by the later Nobel Prize laureate in physics [[Martinus Veltman]], who designed a program for symbolic mathematics, especially high-energy physics, called [[Schoonschip]] (Dutch for "clean ship") in 1963. Other early systems include [[FORMAC (programming language)|FORMAC]].{{cn|date=November 2025}}
A prime example of the first development was the pioneering work conducted by the later Nobel Prize laureate in physics [[Martinus Veltman]], who designed a program for symbolic mathematics, especially high-energy physics, called [[Schoonschip]] (Dutch for "clean ship") in 1963. Other early systems include [[FORMAC (programming language)|FORMAC]].<ref>{{cite journal |last=Sammet |first=Jean E. |title=The-early history of FORTRAN FORMAC |journal=ACM SIGPLAN Notices |date=August 1983 |volume=18 |issue=8 |pages=151–161 |doi=10.1145/948176.948190 |quote=FORMAC was designed and implemented by IBM in the early 1960s as an extension of FORTRAN, becoming one of the first significant and widely used systems for performing symbolic algebraic manipulation.}}</ref>


Using [[Lisp (programming_language)|Lisp]] as the programming basis, [[Carl Engelman]] created [[MATHLAB]] in 1964 at [[MITRE]] within an artificial-intelligence research environment.<ref>{{cite conference
Using [[Lisp (programming_language)|Lisp]] as the programming basis, [[Carl Engelman]] created [[MATHLAB]] in 1964 at [[MITRE]] within an artificial-intelligence research environment.<ref>{{cite conference
Line 51: Line 51:
}}</ref>
}}</ref>


The first popular computer algebra systems were [[muMATH]], [[Reduce computer algebra system|Reduce]], [[Derive (computer algebra system)|Derive]] (based on muMATH), and [[Macsyma]]; a [[copyleft]] version of Macsyma is called [[Maxima (software)|Maxima]]. [[Reduce (computer algebra system)|Reduce]] became free software in 2008.<ref>{{Cite web |title=REDUCE Computer Algebra System at SourceForge |url=http://reduce-algebra.sourceforge.net |access-date=28 September 2015 |website=reduce-algebra.sourceforge.net}}</ref> Commercial systems include [[Mathematica]]<ref>[http://history.siam.org/oralhistories/gonnet.htm Interview with Gaston Gonnet, co-creator of Maple] {{webarchive|url=https://web.archive.org/web/20071229044836/http://history.siam.org/oralhistories/gonnet.htm|date=29 December 2007}}, SIAM History of Numerical Analysis and Computing, 16 March 2005.</ref> and [[Maple (software)|Maple]], which are commonly used by research mathematicians, scientists, and engineers. Freely available alternatives include [[SageMath]] (which can act as a [[Front and back ends|front-end]] to several other free and nonfree CAS). Other significant systems include [[Axiom (computer algebra system)|Axiom]], [[GAP_(computer_algebra_system)|GAP]], [[Maxima (software)|Maxima]] and [[Magma (computer algebra system)|Magma]].
The first popular computer algebra systems were [[muMATH]], [[Reduce computer algebra system|Reduce]], [[Derive (computer algebra system)|Derive]] (based on muMATH), and [[Macsyma]]; a [[copyleft]] version of Macsyma is called [[Maxima (software)|Maxima]]. [[Reduce (computer algebra system)|Reduce]] became free software in 2008.<ref>{{Cite web |title=REDUCE Computer Algebra System at SourceForge |url=http://reduce-algebra.sourceforge.net |access-date=28 September 2015 |website=reduce-algebra.sourceforge.net}}</ref> Commercial systems include [[Mathematica]]<ref>[http://history.siam.org/oralhistories/gonnet.htm Interview with Gaston Gonnet, co-creator of Maple] {{webarchive|url=https://web.archive.org/web/20071229044836/http://history.siam.org/oralhistories/gonnet.htm|date=29 December 2007}}, SIAM History of Numerical Analysis and Computing, 16 March 2005.</ref> and [[Maple (software)|Maple]], which are commonly used by research mathematicians, scientists, and engineers. Freely available alternatives include [[SageMath]] (which can act as a [[Front and back ends|front-end]] to several other free and nonfree CAS). Other significant systems include [[Axiom (computer algebra system)|Axiom]], [[GAP_(computer_algebra_system)|GAP]], Maxima and [[Magma (computer algebra system)|Magma]].


The movement to web-based applications in the early 2000s saw the release of [[WolframAlpha]], an online search engine and CAS which includes the capabilities of [[Mathematica]].<ref>{{Cite news |last=Bhattacharya |first=Jyotirmoy |date=12 May 2022 |title=Wolfram{{!}}Alpha: a free online computer algebra system |language=en-IN |work=The Hindu |url=https://www.thehindu.com/sci-tech/technology/wolframalpha-a-free-online-computer-algebra-system/article65401003.ece |access-date=26 April 2023 |issn=0971-751X}}</ref>
The movement to web-based applications in the early 2000s saw the release of [[WolframAlpha]], an online search engine and CAS which includes the capabilities of [[Mathematica]].<ref>{{Cite news |last=Bhattacharya |first=Jyotirmoy |date=12 May 2022 |title=Wolfram{{!}}Alpha: a free online computer algebra system |language=en-IN |work=The Hindu |url=https://www.thehindu.com/sci-tech/technology/wolframalpha-a-free-online-computer-algebra-system/article65401003.ece |access-date=26 April 2023 |issn=0971-751X}}</ref>
Line 90: Line 90:
*add-ons for use in [[applied mathematics]] such as physics, [[bioinformatics]], [[computational chemistry]] and packages for [[computational physics|physical computation]]<ref>{{Cite journal |title=Computer Assisted Proofs and Automated Methods in Mathematics Education |first=Thierry Noah |last=Dana-Picard|journal=Electronic Proceedings in Theoretical Computer Science |date=2023 |volume=375 |pages=2–23 |doi=10.4204/EPTCS.375.2 |arxiv=2303.10166 }}</ref>
*add-ons for use in [[applied mathematics]] such as physics, [[bioinformatics]], [[computational chemistry]] and packages for [[computational physics|physical computation]]<ref>{{Cite journal |title=Computer Assisted Proofs and Automated Methods in Mathematics Education |first=Thierry Noah |last=Dana-Picard|journal=Electronic Proceedings in Theoretical Computer Science |date=2023 |volume=375 |pages=2–23 |doi=10.4204/EPTCS.375.2 |arxiv=2303.10166 }}</ref>
*solvers for [[differential equation]]s<ref>{{Cite web|title=dsolve - Maple Programming Help|url=https://www.maplesoft.com/support/help/Maple/view.aspx?path=dsolve|website=www.maplesoft.com|access-date=9 May 2020}}</ref><ref>{{Cite web|title=DSolve – Wolfram Language Documentation|url=https://reference.wolfram.com/language/ref/DSolve.html|website=www.wolfram.com|access-date=28 June 2020}}</ref><ref>{{Cite web|title=Basic Algebra and Calculus — Sage Tutorial v9.0|url=http://doc.sagemath.org/html/en/tutorial/tour_algebra.html|website=doc.sagemath.org|access-date=9 May 2020}}</ref><ref>{{Cite web|title=Symbolic algebra and Mathematics with Xcas|url=http://www-fourier.ujf-grenoble.fr/~parisse/giac/cascmd_en.pdf}}</ref>
*solvers for [[differential equation]]s<ref>{{Cite web|title=dsolve - Maple Programming Help|url=https://www.maplesoft.com/support/help/Maple/view.aspx?path=dsolve|website=www.maplesoft.com|access-date=9 May 2020}}</ref><ref>{{Cite web|title=DSolve – Wolfram Language Documentation|url=https://reference.wolfram.com/language/ref/DSolve.html|website=www.wolfram.com|access-date=28 June 2020}}</ref><ref>{{Cite web|title=Basic Algebra and Calculus — Sage Tutorial v9.0|url=http://doc.sagemath.org/html/en/tutorial/tour_algebra.html|website=doc.sagemath.org|access-date=9 May 2020}}</ref><ref>{{Cite web|title=Symbolic algebra and Mathematics with Xcas|url=http://www-fourier.ujf-grenoble.fr/~parisse/giac/cascmd_en.pdf}}</ref>
* [[pretty-printing]] output to conform to standard mathematical notation conventions


Some include:
Some include:
Line 95: Line 96:
*[[sound synthesis]]
*[[sound synthesis]]


Some computer algebra systems focus on specialized disciplines; these are typically developed in academia and are free. They can be inefficient for numeric operations as compared to [[Comparison of numerical-analysis software|numeric systems]].
Some computer algebra systems focus on specialized disciplines; these are typically developed in academia and are free. They can be inefficient for numeric operations as compared to numeric systems.


==Types of expressions==
==Types of expressions==

Latest revision as of 00:44, 18 May 2026

Template:Short description Script error: No such module "Unsubst". Script error: No such module "redirect hatnote". A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. The development of the computer algebra systems in the second half of the 20th century is part of the discipline of "computer algebra" or "symbolic computation", which has spurred work in algorithms over mathematical objects such as polynomials.

Computer algebra systems may be divided into two classes: specialized and general-purpose. The specialized ones are devoted to a specific part of mathematics, such as number theory, group theory, or teaching of elementary mathematics.

General-purpose computer algebra systems aim to be useful to a user working in any scientific field that requires manipulation of mathematical expressions. To be useful, a general-purpose computer algebra system must include various features such as:

The library must not only provide for the needs of the users, but also the needs of the simplifier. For example, the computation of polynomial greatest common divisors is systematically used for the simplification of expressions involving fractions.

This large amount of required computer capabilities explains the small number of general-purpose computer algebra systems. Significant systems include Axiom, GAP, Maxima, Magma, Maple, Mathematica, SageMath, and SymPy.

History

File:TI-nspire CX CAS.jpg
A Texas Instruments TI-Nspire calculator that contains a computer algebra system

In the 1950s, while computers were mainly used for numerical computations, there were some research projects into using them for symbolic manipulation. 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.[1]

A prime example of the first development was the pioneering work conducted by the later Nobel Prize laureate in physics Martinus Veltman, who designed a program for symbolic mathematics, especially high-energy physics, called Schoonschip (Dutch for "clean ship") in 1963. Other early systems include FORMAC.[2]

Using Lisp as the programming basis, Carl Engelman created MATHLAB in 1964 at MITRE within an artificial-intelligence research environment.[3] MATHLAB was later 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.Script error: No such module "Unsubst".

In 1987, Hewlett-Packard introduced the first hand-held calculator CAS with the HP-28 series.[4] Other early handheld calculators with symbolic algebra capabilities included the Texas Instruments TI-89 series and TI-92 calculator, and the Casio CFX-9970G.[5]

The first popular computer algebra systems were muMATH, Reduce, Derive (based on muMATH), and Macsyma; a copyleft version of Macsyma is called Maxima. Reduce became free software in 2008.[6] Commercial systems include Mathematica[7] and Maple, which are commonly used by research mathematicians, scientists, and engineers. Freely available alternatives include SageMath (which can act as a front-end to several other free and nonfree CAS). Other significant systems include Axiom, GAP, Maxima and Magma.

The movement to web-based applications in the early 2000s saw the release of WolframAlpha, an online search engine and CAS which includes the capabilities of Mathematica.[8]

More recently, computer algebra systems have been implemented using artificial neural networks.[9]

Symbolic manipulations

Script error: No such module "Unsubst". The symbolic manipulations supported typically include:

In the above, the word some indicates that the operation cannot always be performed.

Additional capabilities

Many also include:

Some include:

Some computer algebra systems focus on specialized disciplines; these are typically developed in academia and are free. They can be inefficient for numeric operations as compared to numeric systems.

Types of expressions

The expressions manipulated by a CAS typically include multivariable polynomials; standard functions of expressions (sine, exponential, etc.); various special functions (Γ, ζ, erf, Bessel functions, etc.); arbitrary functions of expressions; optimization; derivatives, integrals, simplifications, sums, and products of expressions; truncated series with expressions as coefficients, matrices of expressions, and so on.[15][16] Numeric domains supported typically include floating-point representation of real numbers, integers (of unbounded size), complex (floating-point representation), interval representation of reals, rational number (exact representation) and algebraic numbers.

Use in education

There have been many advocates for increasing the use of computer algebra systems in primary and secondary-school classrooms. The primary reason for such advocacy is that computer algebra systems represent real-world math more than do paper-and-pencil or hand calculator based mathematics.[17] This push for increasing computer usage in mathematics classrooms has been supported by some boards of education. It has even been mandated in the curriculum of some regions.[18]

Computer algebra systems have been extensively used in higher education.[19][20] Many universities offer either specific courses on developing their use, or they implicitly expect students to use them for their course work. The companies that develop computer algebra systems have pushed to increase their prevalence among university and college programs.[21][22]

CAS-equipped calculators are not permitted on the ACT, the PLAN, the SAT, and in some classrooms[23][24] though it may be permitted on College Board's calculator-permitted AP tests, including the AP Calculus, Chemistry, Physics, and Statistics exams.[24]

Mathematics used in computer algebra systems

See also

Script error: No such module "Portal".

References

<templatestyles src="Reflist/styles.css" />

  1. ↑ Script error: No such module "citation/CS1".
  2. ↑ Script error: No such module "Citation/CS1".
  3. ↑ Script error: No such module "citation/CS1".
  4. ↑ Script error: No such module "citation/CS1".
  5. ↑ Script error: No such module "Citation/CS1".
  6. ↑ Script error: No such module "citation/CS1".
  7. ↑ Interview with Gaston Gonnet, co-creator of Maple Script error: No such module "webarchive"., SIAM History of Numerical Analysis and Computing, 16 March 2005.
  8. ↑ Script error: No such module "citation/CS1".
  9. ↑ Script error: No such module "citation/CS1".
  10. ↑ Script error: No such module "Citation/CS1".
  11. ↑ Script error: No such module "citation/CS1".
  12. ↑ Script error: No such module "citation/CS1".
  13. ↑ Script error: No such module "citation/CS1".
  14. ↑ Script error: No such module "citation/CS1".
  15. ↑ Script error: No such module "citation/CS1".
  16. ↑ Script error: No such module "citation/CS1".
  17. ↑ Script error: No such module "citation/CS1".
  18. ↑ Script error: No such module "citation/CS1".
  19. ↑ Script error: No such module "citation/CS1".
  20. ↑ Script error: No such module "citation/CS1".
  21. ↑ Script error: No such module "citation/CS1".
  22. ↑ Script error: No such module "citation/CS1".
  23. ↑ Script error: No such module "citation/CS1".
  24. ↑ a b Script error: No such module "citation/CS1".
  25. ↑ a b Script error: No such module "citation/CS1".
  26. ↑ Script error: No such module "citation/CS1".
  27. ↑ Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

External links

Script error: No such module "Navbox".