Which CAS use multiple representations for mathematical objects?

In summary, the conversation discusses various approaches to representing mathematical objects, specifically polynomials, in computer algebra systems (CAS). One approach is to allow different ways of constructing the object, but only keep a single data structure for it. Another approach is to keep multiple representations of the same object in the data. The conversation also mentions an article about using syntax trees to hold mathematical expressions in a CAS. There is a question about whether factoring a polynomial is the same as finding its roots, and whether this holds true for polynomials in multiple variables. However, it is noted that the fact that it holds in one variable is a reason not to represent a polynomial as a list of roots or factors.
  • #1
Stephen Tashi
Science Advisor
7,861
1,600
TL;DR Summary
How do various computer algebra systems compare with respect to keeping multiple representations of the same mathematical object?
How do various computer algebra systems (CAS) compare with respect to keeping multiple representations of the same mathematical object?

For example, a polynomial could be represented by a list of coefficients, or a list of roots, or a list of factors with some factors non-linear. One design for a CAS would be to allow different ways to construct a mathematical object but only use a single data structure for it. For example, a CAS might allow polynomials to be constructed by a function that took factors as the input, but the only data kept for the polynomial might be the list of coefficients. An alternative method would be to keep multiple representations of the same mathematical object in the data for that object. Then algorithms on mathematical objects would need procedures to decide which representations to use.
 
Computer science news on Phys.org
  • #2
I'm not sure what you're looking for exactly but did find this article about syntax trees for holding math expressions in a nominal CAS:

https://www.math.wpi.edu/IQP/BVCalcHist/calc5.html
 
  • #3
I think you would only ever store a polynomial as a list of coefficients; factoring it is the same as finding roots, and for degree >= 5 that is analytically impossible.

I think the trick comes in knowing that [itex]p \in \mathbb{R}[x][/itex] and [itex](\mathbb{C} \to \mathbb{R} : t \mapsto p(t))[/itex] are in some sense the same object.
 
Last edited:
  • #4
pasmith said:
factoring it is the same as finding roots
I'm curious whether this is true for polynomials in several variables.
 
  • #5
Stephen Tashi said:
I'm curious whether this is true for polynomials in several variables.

I don't think it is. But the fact that it holds in one variable is a reason not to represent a polynomial as either a list of roots or a list of factors.
 

FAQ: Which CAS use multiple representations for mathematical objects?

What is a CAS?

A CAS (Computer Algebra System) is a software program that can manipulate mathematical equations and expressions symbolically, rather than just numerically. This allows for tasks such as simplifying equations, solving equations symbolically, and graphing functions.

What are multiple representations in mathematics?

Multiple representations in mathematics refer to the different ways in which a mathematical object or concept can be represented. This can include numerical, graphical, algebraic, and verbal representations.

Why is it important for a CAS to use multiple representations for mathematical objects?

Using multiple representations in a CAS allows for a deeper understanding of mathematical concepts and provides a more comprehensive approach to problem solving. It also allows for easier visualization and manipulation of mathematical objects.

What are some examples of multiple representations used in a CAS?

Some examples of multiple representations in a CAS include using both algebraic and graphical methods to solve equations, displaying a function in both a table and a graph, and providing step-by-step solutions to problems in both symbolic and numerical form.

How can using multiple representations in a CAS benefit mathematical learning?

Using multiple representations in a CAS can benefit mathematical learning by catering to different learning styles and providing a more comprehensive understanding of concepts. It also allows for a more efficient and accurate problem solving process.

Similar threads

Replies
14
Views
3K
Replies
9
Views
2K
Replies
17
Views
1K
Replies
27
Views
2K
Replies
2
Views
2K
Back
Top