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

  • Thread starter elect_eng
  • Start date
  • Tags
    Programs
In summary, The speaker has been hesitant to use symbolic computation programs like Mathematica, Maple, and Maxima, but has recently started using Maxima because it is free. They always double check answers by hand, but have found Maxima to be a useful tool. However, they have encountered bugs in Maxima, particularly with symbolic definite integrals. They have researched and found that all symbolic calculators have bugs. They are curious if anyone has experience with a more reliable package, specifically for handling symbolic definite integrals. They also provide an example of a definite integral that Maxima did wrong.
  • #1
elect_eng
372
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.
 
Mathematics news on Phys.org
  • #2
Out of curiosity, can we have some examples of expressions that Maxima did wrong?
 
  • #3
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.
 

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

What is a symbolic math program?

A symbolic math program is a computer software that allows users to manipulate mathematical expressions and equations symbolically, rather than just numerically. This means that the program can work with variables, functions, and other mathematical symbols, and can solve equations symbolically instead of providing only numerical answers.

How do symbolic math programs benefit scientists?

Symbolic math programs are useful for scientists because they can help with complex mathematical calculations and symbol manipulations, which are often required in scientific research. These programs can also perform tasks such as integration, differentiation, and solving equations, making mathematical tasks more efficient and accurate for scientists.

What factors should be considered in choosing a symbolic math program with the least number of bugs?

When choosing a symbolic math program with the least number of bugs, some factors to consider include the program's user interface, compatibility with your operating system, available features and functions, and reliability of the program. It is also helpful to read reviews and compare the bug reports for different programs to determine which one has the least number of bugs.

Are there any free or open-source symbolic math programs available?

Yes, there are many free and open-source symbolic math programs available, such as SymPy, Maxima, and SageMath. These programs are constantly being developed and updated by a community of users, so they may have a larger number of bugs compared to paid programs, but they are generally reliable and have a strong support system.

Can symbolic math programs be used for all types of mathematical problems?

Symbolic math programs are designed specifically for symbol manipulation and solving mathematical equations. They may not be suitable for all types of mathematical problems, such as those involving real-world data or simulations. It is important to consider the limitations of a symbolic math program and choose the appropriate tool for your specific needs.

Similar threads

Replies
3
Views
2K
Replies
1
Views
2K
Replies
16
Views
2K
Replies
4
Views
3K
Replies
13
Views
2K
Replies
3
Views
2K
Replies
6
Views
5K
Back
Top