MathGroup Archive 2008

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

Search the Archive

What am I doing wrong?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91581] What am I doing wrong?
  • From: Jack L Goldberg 1 <jackgold at umich.edu>
  • Date: Thu, 28 Aug 2008 03:17:08 -0400 (EDT)

In(1)  SeriesCoefficient[1/(1-x),{x,0,n}]

Out(1)  (-1)^n*Binomial[-1,n]

Next,

In(2)   FunctionExpand[(-1)^n*Binomial[-1,n],Assumptions->Element[n,Integers]]

OUt(2)  ComplexInfinity

In(3)   Table[(-1)^n*Binomial[-1,n], {n,-2,2}]

Out(3)  {0,0,1,1,1}

Incidentally, FullSimplify in place of FunctionExpand yields the same  
result, ComplexInfinity.  I wonder if this misleading answer is a  
result of FunctionExpand and FullSymplify resorting to the Gamma  
Function for the simplification?

Is this a bug or a feature?

Thanks,

Jack


  • Prev by Date: Re: Eliminating intermediate results
  • Next by Date: unwanted Complex result
  • Previous by thread: Re: How to get result in shape of fraction in Mathematica 4.2
  • Next by thread: Re: What am I doing wrong?