MathGroup Archive 1998

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

Search the Archive

Algebra on complex expressions: Collect

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15225] Algebra on complex expressions: Collect
  • From: "Ross, Sean" <rosss at plk.af.mil>
  • Date: Wed, 23 Dec 1998 01:04:02 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Does anyone know a way to have a Collect -like function work on
expressions with complex numbers?  If I have an expression with "x" in
it, I can use Collect[expr,x], but if I have an expression with "I" in
it, Collect[expr,I] does not separate the expression into a part with
and without "I" which would be equivalent to separating the expression
into real and imaginary parts given all symbols were real.

The RealOnly package does not seem to apply as it excludes imaginary
numbers alltogether.  ComplexExpand results in a ridiculous amount of
complexity and is worse than nothing for this purpose.  Expanding and
multiplying numerator and denominator separately by the complex
conjugate of the denominator is tedious to do manually and results in
the same problem of no way to neatly separate the real and imaginary
parts of a symbolic expression given that all symbols are real.

Thanks.

Sean Ross

Please reply to rosss at plk.af.mil as I no longer subscribe to the
mathgroup.



  • Prev by Date: Re: Re: Global max for a nonlinear function
  • Next by Date: Re: Re: Compile and NormalDistribution
  • Previous by thread: Re: strange function that defines a function---how do I do it?
  • Next by thread: Re: Algebra on complex expressions: Collect