Jump to content

Computer Algebra System

From Simple English Wikipedia, the free encyclopedia
Revision as of 15:22, 13 June 2012 by Gesslein (talk | changes) (+content)

A computer algebra system (CAS) is a computer program that helps people with mathematics and algebra. It manipulates mathematical equations and expressions containing numbers and symbols called variables, which stand for known or unknown values that can be solved for, or replaced with any value. A CAS might be used for symbolic integration or differentiation (and other calculus operations), simplification of an expression (making it smaller and/or simpler), optimizing and finding the minimum and maximum values of results or variables, etc. Most have the ability to plot functions and expressions for visualization, which can be helpful and educational too.

Computer algebra systems can be special purpose, focusing on only a few types of symbolic math, to very large, general purpose programs that do almost everything (for example, the free CAS Maxima, which is the oldest CAS that is still under development). The results output by a good computer algebra system are often exact, simple, and generalized to work in all possible cases. Computer programs do have bugs, so important results should always be verified for correctness.

Modern computer algebra systems often include extensive numeric capabilities for convenience and which fit together with its symbolic abilities. Numeric domains supported typically include real, complex, interval, rational, and algebraic numbers.

Usually floating point arithmetic is available to use if desired, because the arithmetic is done by most computer hardware very quickly. The down-side of floating point arithmetic is that it is not always exact, and is mostly useless for rocket science, because of only 14 digit accuracy. Rational number arithmetic is exact if all numbers are rational. Interval arithmetic can be used to easily calculate the total possible error of an inexact arithmetic system. Complex number arithmetic is generally supported by allowing the imaginary unit (i) in expressions.