Symbolic Math Programs: Which has the least number of bugs?

  • Thread starter Thread starter elect_eng
  • Start date Start date
  • Tags Tags
    Programs
Click For Summary
SUMMARY

The discussion centers on the reliability of symbolic math programs, specifically focusing on Maxima, which the user has recently adopted for symbolic computations. The user reports encountering significant bugs in Maxima, particularly with symbolic definite integrals, where the program returned incorrect signs for certain calculations. An example provided is the integral of sqrt(-log(x)), which yielded -sqrt(pi)/2 instead of the correct sqrt(pi)/2. The user seeks insights on which symbolic math package is the most reliable and effective for handling symbolic definite integrals.

PREREQUISITES
  • Understanding of symbolic mathematics and its applications.
  • Familiarity with Maxima version used for symbolic computations.
  • Knowledge of definite integrals and their properties.
  • Basic experience with mathematical software tools.
NEXT STEPS
  • Research the reliability of Mathematica for symbolic computations.
  • Explore the capabilities of Maple in handling symbolic definite integrals.
  • Investigate common bugs in Maxima and their workarounds.
  • Learn about alternative symbolic math programs and their performance comparisons.
USEFUL FOR

Mathematicians, educators, students, and software developers interested in symbolic computation and looking for reliable tools for symbolic mathematics.

elect_eng
Messages
372
Reaction score
2
I've been a little old fashioned when it comes to doing symbolic computations. For years I've resisted using programs like Mathematica, Maple, Maxima etc. to handle symbolic manipulations. Over the past several months I've started using Maxima, choosing this program because it is free. I always double check the final answers by hand, but I'm finding that using Maxima as a tool is useful and can speed up my work.

I've recently encountered some bugs in Maxima. One day I found that a symbolic definite integral calculation came out with a wrong sign. Note that I'm not talking about the numerical definite integral calculation which seems to work fine. I then started comparing other examples of symbolic definite integrals. I went through a definite integral table and was alarmed at the high percentage of answers that had the wrong sign. I went on-line to investigate and a quick scan made it clear that all of these symbolic calculators have some bugs.

My question is whether anyone has any experience with which package is the most reliable in general. Also, more particularly, is there a package that handles symbolic definite integrals best.
 
Physics news on Phys.org
Out of curiosity, can we have some examples of expressions that Maxima did wrong?
 
CRGreathouse said:
Out of curiosity, can we have some examples of expressions that Maxima did wrong?

Here is one example:

integrate(sqrt(-log(x)), x, 0, 1);

This yields -sqrt(pi)/2, but it should be sqrt(pi)/2, according to my math table.

Numerical Integration yields 0.8862269254526032 as expected.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
46K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K