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 1990

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

Search the Archive


  • To: mathgroup at
  • Subject: Coefficient[]
  • From: "Keith R. Slavin" <keith at>
  • Date: Sun, 09 Dec 90 12:26:10 PST

Both myself and leonard Parker came up with a workaround (thanks leonard),
namely if

sum = ... + a n + b + c/n +...

then Coefficient[Expand[n sum],n] gives b as required. Using the 3rd
parameter in Coefficient does NOT work, as it includes the reciprocal
powers of n as well as the constant b:

Coefficient[a n + b + c/n, n, 0]


b + c/n

I don't know whether this was the intended behaviour or not...

Keith Slavin
keith at
Tektronix Inc.
Beaverton, Or.
(503) 627 4907

  • Prev by Date: D and sinh'; s/c vs. s*c^(-1).
  • Next by Date: Re: Coefficient
  • Previous by thread: D and sinh'; s/c vs. s*c^(-1).
  • Next by thread: Power[] corrupts, Absolute[Power[]] corrupts absolutely