MathGroup Archive 2006

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

Search the Archive

Series[] nested (bug?)


Dear group,

I experienced a strange behaviour of
Series[ Series[] ]-constructs:
The expansion may contain higher-order terms which shouldn't be there.
Switching to
Series[ Series[] //Normal ]
fixes the problem.
Can anyone explain this behaviour?

Ben

Heres an example

In[208]:=
truncate[exp_]:=Series[exp,{\[Epsilon],0,1}]

In[209]:=
truncate[\[Epsilon] truncate[1+\[Epsilon]]]

Out[209]=
\!\(\*
  InterpretationBox[
    RowBox[{"\[Epsilon]", "+", \(\[Epsilon]\^2\), "+",
      InterpretationBox[\(O[\[Epsilon]]\^3\),
        SeriesData[ \[Epsilon], 0, {}, 1, 3, 1],
        Editable->False]}],
    SeriesData[ \[Epsilon], 0, {1, 1}, 1, 3, 1],
    Editable->False]\)

In[206]:=
truncate[exp_]:=Series[exp//Normal,{\[Epsilon],0,1}]

In[207]:=
truncate[\[Epsilon] truncate[1+\[Epsilon]]]


  • Prev by Date: Re: Simple Problem with Polyhedron::Hexahedron
  • Next by Date: Re: linux font rotation in graphics & (strange) black graphics borders
  • Previous by thread: Re: best strategy to fit the given function to my data
  • Next by thread: 2 dimension Newton Raphson