Simplifications by symbolic algebra programs

  • Thread starter Thread starter Gerenuk
  • Start date Start date
  • Tags Tags
    Algebra Programs
Click For Summary

Discussion Overview

The discussion revolves around the limitations and challenges of symbolic algebra programs, particularly focusing on their ability to perform simplifications. Participants explore various experiences and opinions regarding tools like Mathematica and WolframAlpha, as well as the potential for alternative programming solutions.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Exploratory

Main Points Raised

  • Some participants express frustration with symbolic algebra tools like Mathematica, suggesting they struggle with basic simplifications despite their advanced capabilities in other areas.
  • One participant mentions developing a program to allow manual transformations, indicating a desire for more control over simplifications.
  • Another participant questions why Mathematica fails to make certain obvious simplifications, noting that similar issues exist with other programs like Maple.
  • There is a suggestion that WolframAlpha may not prioritize simplification to avoid altering expressions in unintended ways.
  • Some participants highlight that Mathematica does offer flexibility in applying custom transformation rules, allowing users to manipulate expressions according to their preferences.
  • A later reply clarifies that an "alternate form" does not necessarily equate to a "simplified form," indicating a nuanced understanding of simplification in symbolic algebra.

Areas of Agreement / Disagreement

Participants generally agree on the limitations of current symbolic algebra programs, but multiple competing views remain regarding the reasons for these limitations and the potential for alternative solutions. The discussion does not reach a consensus on the best approach to simplifications.

Contextual Notes

Participants express varying assumptions about the capabilities and design choices of symbolic algebra programs, which may influence their perspectives on simplification processes.

Gerenuk
Messages
1,027
Reaction score
5
Last edited by a moderator:
Physics news on Phys.org


Gerenuk said:
From that site:

Alternate form:
[tex] \frac{\cos(x)}{\sqrt 2\left(\frac {\cos(x)}{\sqrt 2} - \frac {\sin(x)}{\sqrt 2}\right)} +<br /> \frac{\sin(x)}{\sqrt 2\left(\frac {\cos(x)}{\sqrt 2} - \frac {\sin(x)}{\sqrt 2}\right)}[/tex]​

It's amazing how amazingly stupid those symbolic tools such as Mathematica can be, even though 40+ years have transpired since the development of Macsyma and Schoonschip in the late 1960s.
 


Actually that was a motivation for me to start programming a program where you can do transformations manually.

Because everyone knows that mathematica might get you the most amazing integral, but it ***** at the most basic simplifications.
 
Last edited by a moderator:


Could be interesting to hear if anyone knows of an algebra program that let's you do simplifications your way (by hand), so that you get useful results. I was often asked whether such a program doesn't exist yet, and I replied "no". I haven't heard of any.

Unfortunately the development of my program has come to a halt, since I had to move for a job and don't have much stuff here yet :)
 
So, what is it that makes symbolic algebra so hard? Why can't Mathematica make the obvious simplification of the expression in post #2? I'm not dinging Mathematica specifically here. Maple, for example, is just as bad as Mathematica when it comes to basic simplifications.
 


D H said:
It's amazing how amazingly stupid those symbolic tools such as Mathematica can be, even though 40+ years have transpired since the development of Macsyma and Schoonschip in the late 1960s.
Computers do what you tell them. I suspect wolframalpha simply did something like
(Sin[:pi:/4] Cos[x] + Cos[:pi:/4] Sin[x])/(Cos[:pi:/4] Cos[x] - Sin[pi:/4] Sin[x])
and didn't ask Mathematica to simplify. Mathematica simply parsed the expression, decided it was worth evaluating Sin[:pi:/4] -> 1 / Sqrt[2] immediately (same for cosine), then returned the parse tree in expression form.


Sure, one might imagine "that's stupid. Mathematica should always simplify before it outputs a result" -- but such a person has never been in a situation where he wanted to look at the unsimplified expression, or had a different "simplified form" in mind than what Mathematica wanted. Wolframalpha may have even been specifically designed not to ask Mathematica to simplify, because it is likely to change it into an unintended form. (e.g. I would be unsurprised if it converted right back to Tan[x + :pi:/4])
 


Gerenuk said:
an algebra program that let's you do simplifications your way (by hand)
Mathematica gives you a good degree of flexibility in that regard. You can apply any symbolic transformation rule you like -- e.g. don't like tangent? Apply the rule Tan[x_] -> Sin[x] / Cos[x]. It also gives you functions that allow you to manipulate the expression tree directly.
 
Well hold on now. Alternate form doesn't necessarily imply simplified form
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K