Collect exponents only
- To: mathgroup at smc.vnet.net
- Subject: [mg101385] Collect exponents only
- From: Francisco Rojas <fjrojas at gmail.com>
- Date: Sat, 4 Jul 2009 06:43:08 -0400 (EDT)
Hello, I was wondering if there's anyway to ask the command Simplify (or maybe some other command) to only collect terms in the exponents of a long expression (which contains complex exponentials by the way) and not perform any other kind of simplification. For example I have an expression like this: A Exp[ I (x+y) - I x] + A^2 Exp[ I (x+y) - I y] ( I is the the imaginary unit ) Mathematica does two simplications here: it simplifies the terms in the exponents and factors out the A giving: A (Exp[ I y] + Exp[I x]) whereas I would like to obtain only the exponents simplification, i.e. A^2 Exp[ I y] + A Exp[ I x] Anybody knows how to do this? Thanks in advance, Francisco
- Follow-Ups:
- Re: Collect exponents only
- From: Francisco Rojas Fernández <fjrojas@gmail.com>
- Re: Collect exponents only
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Collect exponents only
- From: Leonid Shifrin <lshifr@gmail.com>
- Re: Collect exponents only