Is this a bug in Mathematica 11 ?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
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: 608
  • ?temp_hash=ad4401c004340a77544e624d179a4915.jpg
    ?temp_hash=ad4401c004340a77544e624d179a4915.jpg
    28.5 KB · Views: 1,093
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,208
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: 535
  • ?temp_hash=79e606c0cb2926f4006ce121c7ea8750.png
    ?temp_hash=79e606c0cb2926f4006ce121c7ea8750.png
    14.8 KB · Views: 675