MathGroup Archive 2005

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

Search the Archive

Interesting failure of Collect


Given the expr =  Sin[p]/(4 Pi a) + Sin[p]/(4 Pi b)  

and then applying the command


Collect[expr, Sin[p]/(4 Pi)] works as it should, however,

expr2 = Sin[p]/(4 Pi a) - Sin[p]/(4 Pi b)  

leaves the expression untouched.   (I realize I could use Simplify but
this problem occurred on a much longer expression and this is intended
just to convey the basic idea)....for longer expressions the Collect
process works for all quantities with a + sign but the one with a minus
sign will not be collected.....strikes me as a "bug".....


thanks....jerry blimbaum



  • Prev by Date: Re: (a/b)^2 when a/b is replaced by e won't yield e^2
  • Next by Date: Re: changing the size of the numbers on x-axes
  • Previous by thread: Re: Mathematica randomly stopping in M5.2 for Solaris
  • Next by thread: Re: Interesting failure of Collect