Mathematica Is this a bug in Mathematica 11 ?

AI Thread Summary
A user encountered a discrepancy in the results of a complex function integration using Mathematica 11, where changing a parameter from a=0 to a=1 resulted in outputs differing by a factor of 2. Despite following troubleshooting steps, including creating a new notebook with a unique context, the issue persisted. Interestingly, changing the variable name from ε to b altered the output, suggesting a potential bug in version 11.1. The user speculated that this issue might have been resolved in version 11.2, prompting others to share their experiences with different versions.
Chenkb
Messages
38
Reaction score
1
I calculated a simple complex function integration using Mathematica 11.
As the screenshot shows, the only difference between the two inputs is that I set a = 1 in the second one.
However, the two outputs differ by a factor of 2.
What's wrong? Is this a bug?

?temp_hash=ad4401c004340a77544e624d179a4915.jpg
 

Attachments

  • v2-8db240d37c3f312ff3d6f550c292348d_r.jpg
    v2-8db240d37c3f312ff3d6f550c292348d_r.jpg
    28.5 KB · Views: 586
  • ?temp_hash=ad4401c004340a77544e624d179a4915.jpg
    ?temp_hash=ad4401c004340a77544e624d179a4915.jpg
    28.5 KB · Views: 1,054
Physics news on Phys.org
Which version do you have? In 11.2, I get the following:
mathematica.jpg

You can try and open a new notebook, set its default context to "unique to this notebook," and try and do only this integral.
 

Attachments

  • mathematica.jpg
    mathematica.jpg
    24 KB · Views: 1,158
DrClaude said:
Which version do you have? In 11.2, I get the following:
View attachment 217062
You can try and open a new notebook, set its default context to "unique to this notebook," and try and do only this integral.

Thanks. I opened a new notebook and did the settings you mentioned, but got the same wrong result.
However, to my surprise, I just changed the variable name from ε to b, and the output changed. :eek:
The version of mine is 11.1
Maybe it's a bug? and fixed in 11.2 :oldconfused:

?temp_hash=79e606c0cb2926f4006ce121c7ea8750.png
 

Attachments

  • M3.PNG
    M3.PNG
    14.8 KB · Views: 502
  • ?temp_hash=79e606c0cb2926f4006ce121c7ea8750.png
    ?temp_hash=79e606c0cb2926f4006ce121c7ea8750.png
    14.8 KB · Views: 640

Similar threads

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