# Possible error? Simple Limit discrepancy between W|A and Mathematica

Posted 1 year ago
3803 Views
|
8 Replies
|
0 Total Likes
|
 It's very straight-forward; the same piece of code (presumably interpreted the same way between both) outputs a different answer. I did the limit with polar coordinates and the answer is, indeed, 1/4. If you know what may have happened here, let me know.
8 Replies
Sort By:
Posted 1 year ago
 Welcome to Wolfram Community!Please make sure you know the rules: https://wolfr.am/READ-1STThe rules explain how to format your code properly. Images don't help other members to copy your code. Please EDIT your post and make sure code blocks start on a new paragraph and look framed and colored like this. int = Integrate[1/(x^3 - 1), x]; Map[Framed, int, Infinity] You can also embed notebook or attach notebook.
Posted 1 year ago
 Limit[(x^2*(1 + Sin[y]) + y^2)/(4 x^2 + 4 y^2), {x, y} -> {0, 0}] 
Posted 1 year ago
 When I called Wolfram|Alpha it gave the answer 1/4. You can check that it is correct with an estimate: f[x_, y_] = (x^2*(1 + Sin[y]) + y^2)/(4 x^2 + 4 y^2); Plot3D[f[x, y], {x, -1, 1}, {y, -1, 1}] Reduce[RealAbs[f[x, y] - 1/4] <= RealAbs[x]/8, Reals] 
Posted 1 year ago
 I pasted the query once again on the W|A web app, and it still returns the same answer Thanks for your answer, but my main concern is not about the limit itself, which can be easily calculated via the polar coordinates method I mentioned. My concern is that the same code (presumably interpreted the same way) gave back very different answers between Wolfram Mathematica and W|A.
Posted 1 year ago
 While it is true that Wolfram|Alpha can interpret some Mathematica syntax, it is not able to interpret all Mathematica syntax and that presumably means Mathematica syntax is not all being interpreted in exactly the same way by Mathematica and Wolfram|Alpha.In examples I have seen and tried Wolfram|Alpha does seem to correctly evaluate limits involving a single variable. If you find any counterexample to that then please make that known.I have seen examples in the past where multivariate limits do not seem to all be understood and supported by Wolfram|Alpha, as you seem to have demonstrated.
Posted 1 year ago
 Thanks Bill, I have just happened to actually stumble upon your reply from 4 months ago to another person which had a somewhat similar issue, and typing "limit calculator" and adding the second variable from the menu seemed to help. Although it showed the correct answer (1/4) it gave me back only 2 directions from which W|A evaluated the limit, which means it's not necessarily correct, given the particular nature of multivariate limits.I'm still concerned about Wolfram|Alpha not being able to do this right 100% though.
Posted 1 year ago
 Possibly Alpha is running an older version that does not have more recent methods for handling multivariate limits.
Posted 1 year ago
 Have you guys at Wolfram recently created methods for multivariate limits? When?
Community posts can be styled and formatted using the Markdown syntax.