MathGroup Archive 2004

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

Search the Archive

Re: transforming exponential of sums into product of exponentials


Hi,

it does it because it also evaluate 2*2 to 4.
You must use a Hold[] to prevent the simplifications

Exp[x + y] /. Exp[a_ + b_] :>  Hold[Exp[a]Exp[b]] 

Regards
  Jens

Karim Mehadhebi wrote:
> 
> Dear All,
> 
> I can not understand why Mathmatica refuses to apply rules which transform
> exponenials of sums into product of exponentails.
> 
> For instance,
> f[x+y] /. f[a_ + b_]-> f[a] f[b] returns f[x] f[y],
> whereas
> Exp[x+y] /. Exp[a_+b_]->Exp[a]Exp[b] still returns Exp[x+y]
> 
> Any help greatly appreciated


  • Prev by Date: Creating combinations from a group of sets
  • Next by Date: Interpolating function
  • Previous by thread: Re: transforming exponential of sums into product of exponentials
  • Next by thread: Re: transforming exponential of sums into product of exponentials