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


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

Bug or limitation in Series?

From Dushan Mitrovich <dushanm@nnips.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Bug or limitation in Series?
Date 2011-06-29 21:47 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iug6gn$9ko$1@smc.vnet.net> (permalink)

Show all headers | View raw


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 ]

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web