Is this a bug in Mathematica 11 ?

In summary, the conversation discusses a discrepancy in the outputs of a simple complex function integration calculated using Mathematica 11. The two inputs are identical except for one having a = 1, yet the outputs differ by a factor of 2. The speaker suggests trying to open a new notebook and doing the integral there, but the same incorrect result is obtained. However, changing the variable name from ε to b results in a different output. The speaker's version is 11.1 and they speculate that it may be a bug, possibly fixed in version 11.2.
  • #1
Chenkb
41
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: 531
  • ?temp_hash=ad4401c004340a77544e624d179a4915.jpg
    ?temp_hash=ad4401c004340a77544e624d179a4915.jpg
    28.5 KB · Views: 980
Physics news on Phys.org
  • #2
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,085
  • #3
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: 446
  • ?temp_hash=79e606c0cb2926f4006ce121c7ea8750.png
    ?temp_hash=79e606c0cb2926f4006ce121c7ea8750.png
    14.8 KB · Views: 580

1. What is a bug in Mathematica 11?

A bug in Mathematica 11 is an unexpected error or flaw in the software that causes it to function incorrectly or produce incorrect results.

2. How can I report a bug in Mathematica 11?

You can report a bug in Mathematica 11 by using the "Report a Problem" feature in the Help menu or by contacting Wolfram Technical Support.

3. What are the common causes of bugs in Mathematica 11?

Common causes of bugs in Mathematica 11 include coding errors, compatibility issues with other software, and unexpected interactions between different functions or features.

4. Are bugs in Mathematica 11 common?

Bugs in Mathematica 11 are not common, as the software undergoes rigorous testing and quality control before release. However, occasional bugs may still occur and are usually addressed and fixed in subsequent updates.

5. How can I avoid encountering bugs in Mathematica 11?

To avoid encountering bugs in Mathematica 11, it is important to keep the software updated to the latest version, avoid using outdated or unsupported functions, and report any unexpected errors or behaviors to Wolfram Technical Support.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
18
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
13
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
3K
Back
Top