Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Just came across the strangest bug under both Mathematica 9.0.0 and 9.0.1. If one enters:

Solve[m == p Sin[x] && -Pi/2 < x < Pi/2, x]

... then Mathematica whirrs and whirrs (running on my Mac Pro with OS X 10.6.8), and doesn't seem to produce any answer (I gave up after a few minutes). But if one changes symbol p to something that 'sorts' earlier than an m, such as an 'a' or 'b', then it works correctly:

Solve[m == b Sin[x] && -Pi/2 < x < Pi/2, x]

Solve::nsmet: This system cannot be solved with the methods available to Solve.

Obviously, one can add assumptions on p or b to make it solve, but that is not the issue being raised.

Is this just a Mac issue, or are others experiencing the same on other platforms?

share|improve this question
1  
Ah, I've seen this one before... I remember an answer/comment from Daniel saying that this was a hashing problem and cannot be fully fixed, but they address specific and common cases as they encounter them. –  rm -rf Feb 8 '13 at 19:04
1  
Here's the post I was thinking of: stackoverflow.com/q/5402214 –  rm -rf Feb 8 '13 at 19:06
4  
Different issue. The hashing one only causes a slowdown in dealing with large, deep expressions. Will investigate. –  Daniel Lichtblau Feb 8 '13 at 19:54
6  
Reported as a bug. –  Daniel Lichtblau Feb 8 '13 at 20:03
1  
FWIW: same behavior in Windows version (Mathematica 9.0.0.0 under Windows 7) –  stevenvh Feb 9 '13 at 10:58
add comment

1 Answer

This has been confirmed and reported as a bug (see comments).

share|improve this answer
    
Related cleanup guidelines proposal –  Szabolcs Feb 10 '13 at 18:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.