1
$\begingroup$

Good afternoon, I have an expression

Exp[2 I (t - tau) + a] + 2 Exp[2 I t + b] + 3 Exp[-I t + b] 

And I want to write it as a summation of powers of Exp[I t]. So,

3 Exp[b] Exp[-I t] + Exp[2 I t] (2 Exp[b] + Exp[a - 2 I tau]) 

What is the way to do this? I had several attempts including

Collect[%, Exp[I t]] 

But that gives me only part of what I need:

3 Exp[b - I t] + Exp[2 I t] (2 Exp[b] + Exp[a - 2 I tau]) 

Thanks in advance!

$\endgroup$
4
  • 1
    $\begingroup$ Welcome to Mathematica SE! Can you explain what is your desired expression? As far as I can see Collect is giving you a similar one which you want! $\endgroup$ Commented Mar 18, 2024 at 15:06
  • 4
    $\begingroup$ Does this answer your question? Separating exponential terms. Also, there are many others question on manipulating exponentials on this StackExchange, so try searching among them :) $\endgroup$ Commented Mar 18, 2024 at 15:10
  • $\begingroup$ @codebpr I also want Exp[b-I t] -> Exp[b]Exp[-I t]. $\endgroup$ Commented Mar 18, 2024 at 15:15
  • $\begingroup$ Collect[expr, E^(I*t)] /. Exp[c1_ + c2_*t] :> Inactive[Times][E^c1, E^(c2*t)] $\endgroup$ Commented Mar 18, 2024 at 15:38

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.