Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

When I evaluate the limit of (1-Cos[x]) Sin[1/x] at x = 0 in Mathematica 9, I obtained Interval[{-2, 2}]. The problem is that this limit is 0. It is also 0 when I compute it by Maple and Mathematica 7. So, I wonder whether I've found a bug in Mathematica 9?

Limit[(1 - Cos[x]) Sin[1/x], x -> 0]
Interval[{2, 2}]
share|improve this question
1  
Are you sure that you didn't write by mistake (1+Cos[x]) Sin[1/x]? –  Spawn1701D Apr 11 '13 at 1:45
    
@Spawn1701D No. Please see the image added in my questions. Thank you for your answer! –  Z-Y.L Apr 11 '13 at 1:59
    
What subversion of 9 you have? Did you run the command after a initializing the kernel? If this is true its a big mess up! It's like saying that $\cos(0)=-1$! –  Spawn1701D Apr 11 '13 at 2:04
1  
It's working fine for me on 9.0.1. Make sure x doesn't have a value with x=. first. –  Michael Hale Apr 11 '13 at 2:08
1  
So we know it's a 32-bit / 64-bit issue. @Z-Y.L I guess there's not much more to say than that it's a bug ... could you report it to support@wolfram.com? –  Szabolcs Apr 11 '13 at 13:37
show 11 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.