Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Bug with Limit, Series and ProductLog ?

  • To: mathgroup at
  • Subject: [mg61402] Bug with Limit, Series and ProductLog ?
  • From: "did" <didier.oslo at>
  • Date: Tue, 18 Oct 2005 02:44:48 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

With Mathematica 5.2 Windows I obtain

In[1]:=Limit[ ProductLog[Exp[a/x]/x]-a/x,x->0]
Out[1]= -Log[a]

which seems correct. But, setting a=1, I get

In[2]:=Limit[ ProductLog[Exp[1/x]/x]-1/x,x->0]

which is inconsistent with the previous result
(except if Log[1] is Infinity !).

Worse, with Series I get

In[3]:=Series[ ProductLog[Exp[a/x]/x]-a/x,{x,0,5}]

    RowBox[{\(-\(a\/x\)\), "+", "Indeterminate", "+",
        SeriesData[ x, 0, {}, -1, 6, 1],
    SeriesData[ x, 0, {
      Times[ -1, a], Indeterminate}, -1, 6, 1],

Setting a=1 in the Series gives a complex answer.

How can I workaround the problem and get the correct
expansion for In[3]?

  • Prev by Date: Re: Use strings in Mathematica, like in C?
  • Next by Date: Generating unitary aliquot cycles
  • Previous by thread: Re: Help with a function to return the 'age' of itself
  • Next by thread: Re: Bug with Limit, Series and ProductLog ?