# [✓] NSolve[2x== 0,x] return {{}} in Mathematica 11.0.1?

GROUPS:
 Gijsbert Wiesenekker 5 Votes I just upgraded to Mathematica 11.0.1 and ran into a problem with NSolve. The following simplified example illustrates it: NSolve[ 2 x == 0, x] This returns {{}}Anyone else having this problem? I am running Mathematica on Ubuntu 16.04 64 bit.Gijsbert
1 year ago
23 Replies
 Frank Kampas 1 Vote In[1]:= NSolve[2 x == 0, x] Out[1]= {{}} In[3]:= NSolve[2 x == 0., x] Out[3]= {{x -> 0.}} Mathematica 11.01 on Windows 10
1 year ago
 Mathematica 11.0.0 on Win 7 In[1]:= NSolve[2 x == 0, x] Out[1]= {{x -> 0.}} 
1 year ago
 As also shown by David I did not have this issue with Mathematica 11.0.0 on Ubuntu 16.04 64 bit.Gijsbert
1 year ago
 Sander Huisman 1 Vote Reproduced Mac 11.0.1. Please submit as product feedback: https://www.wolfram.com/support/contact/email/
1 year ago
 Gijsbert Wiesenekker 1 Vote Done.Gijsbert
1 year ago
 For now you can add Simplify, FullSimplify, or N to your inputs that might solve it: In[21]:= NSolve[2 x == 0 // N, x] Out[21]= {{x -> 0.}} In[22]:= NSolve[2 x == 0 // Simplify, x] Out[22]= {{x -> 0.}} 
1 year ago
 Marco Thiel 4 Votes This seems to be a serious issue. NSolve is used in many other functions; do they all have a problem now?Cheers, M.
1 year ago
 I was thinking the same! it occurred in the 11.0.0 to 11.0.1 release, so I can imagine it breaks other parts of the system as well.
1 year ago
 I also see this is serious. I am considering rolling back to 11.0.0. Are there an significant disadvantages to that?
1 year ago
 Depends on your OS. On OSX there are Graphics3D issues.Cheers,Marco
1 year ago
 Thanks, Marco. I'm on Win 7, so I think I'll roll back rather than wait to see what happens next.
1 year ago
 https://www.wolfram.com/mathematica/quick-revision-history.htmlThere is a list of things thy fixed/improved in 11.0.1. decide!
1 year ago
 Thanks Sander. I looked over the list. There are certainly there I would like to have, but I am really concerned about Mathematica's result that 2x=0 has no solution -- and the ramifications.
1 year ago
 Just for completeness: the problem also occurs in the Cloud versions of the Wolfram Language.
1 year ago
 John McGee 1 Vote The following also fails in the Cloud NSolve[2.5 x==0,x] Apparently for any numeric coefficient of x.
1 year ago
 Ilian Gachevski 1 Vote Thank you for reporting this issue. It has already been fixed in the development version. A call to NRoots which is used by NSolve for univariate polynomials will return incorrect results in version 11.0.1 for already factored equations of the form $a (x-x_1)^ {n_1} (x-x_2)^{n_2} \ldots (x-x_k)^{n_k} = 0$ where $a$ is not zero or an exact 1. A possible workaround for NSolve that should not require modifications to user code is to prevent the use of NRoots in such cases, for example Block[{NRoots}, NSolve[2 (x - 1)^2 (x - 3) == 0, x]] (* {{x -> 1.}, {x -> 1.}, {x -> 3.}} *) Sorry for the inconvenience, this regression was introduced as a side effect of the last minute fix for another serious problem (a crash) and unfortunately was not caught in time.
1 year ago
 George Woodrow III 1 Vote Any idea when this fix will show up in the wild? I see that one of the talks for the WTC this year already refers to a version 11.1.
1 year ago
 Ilian Gachevski 1 Vote While I cannot comment on future release dates, historically there has often been at least a beta around the time of the conference.
1 year ago
 Sander Huisman 2 Votes While Ilian can not comment about 11.1 we can make a educated guess since the new release scheme since version 10 makes it more predictable: dates = WolframLanguageData[WolframLanguageData[], {"DateIntroduced", "VersionIntroduced"}]; (* this is slow, can't think of another way to get these dates/versions *) tmp = Select[Union[dates], Last[#] >= 10 &][[All, 1]]; DateString[dates[[-1, 1]] + #] & /@ MinMax[BlockMap[DateDifference @@ # &, %, 2, 1]] Executing gives this range for version 11.1 (but of course also depends on marketing and timing around the year) {"Wed 9 Nov 2016", "Sat 14 Jan 2017"} This, however, could be fixed earlier in a 11.0.2 version for example...
1 year ago
 Yi Li 1 Vote From this video that analyses logograms in the film Arrival by Wolfram https://www.liveedu.tv/christopherwolfram/ we can see that version 11.1 carries the date of January 24!