Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3388 > unrolled thread

Bug or limitation in Series?

Started byDushan Mitrovich <dushanm@nnips.net>
First post2011-06-29 21:47 +0000
Last post2011-06-29 21:47 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Bug or limitation in Series? Dushan Mitrovich <dushanm@nnips.net> - 2011-06-29 21:47 +0000

#3388 — Bug or limitation in Series?

FromDushan Mitrovich <dushanm@nnips.net>
Date2011-06-29 21:47 +0000
SubjectBug or limitation in Series?
Message-ID<iug6gn$9ko$1@smc.vnet.net>
Just ran into a result that surprised me:


In[1]:= Series[(1 + u/Sqrt[u^2 + v^2]), {u, -\[Infinity], 4},
                Assumptions -> {u \[Element] Reals, v \[Element] Reals}]

Out[1]:= 2 - v^2/(2 u^2) + (3 v^4)/(8 u^4) + O[1/u]^5


which is not correct.  This produces the correct result:


In[2]:= Series[(1 - u/Sqrt[u^2 + v^2]), {u, \[Infinity], 4},
                Assumptions -> {u \[Element] Reals, v \[Element] Reals}]

Out[2]:= v^2/(2 u^2) - (3 v^4)/(8 u^4) + O[1/u]^5


The documentation says that Series can produce appropriate series about 
\[Infinity], but says nothing about -\[Infinity], so I guess it's not 
really doing anything counter to what's claimed.

Still, it surprised me that so basic an operation should produce a wrong 
result.  In a more complicated case that hadn't first been worked out by 
hand, one might have been led quite a ways along a path of nonsense. 
Should this be considered a bug, or a limitation?  If the latter, it 
might be a good idea to have the documentation warn of this pitfall.

- Dushan
   [ reverse the middle word of address to reply ]

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web