Post Reply 
Problem with integral
12-14-2019, 07:28 AM (This post was last modified: 12-14-2019 07:34 AM by Stevetuc.)
Post: #1
Problem with integral
In this form
Code:
int(e^(-t-i*t),t,(-τ)/2,τ/2)
The result with maximum simplification is:
Code:
((-1+i)*e^((-1-i)*τ/2)+(1-i)*e^((1+i)*τ/2))/2

But if I present the same integral in an expanded form with the real and complex exponents seperated:
Code:
int(e^(-t)*e^((-(i))*t),t,(-τ)/2,τ/2)
I get this result:
Code:
((e^(1/2*τ))^2*(e^(i/2*τ))^2*tan(τ/4)^2+(e^(1/2*τ))^2*(e^(i/2*τ))^2+(-1-i)*(e^(1/2*τ))^2*e^(i/2*τ)*tan(τ/4)^2+(2+2*i)*(e^(1/2*τ))^2*e^(i/2*τ)*tan(τ/4)+(1+i)*(e^(1/2*τ))^2*e^(i/2*τ)+(−i)*(e^(1/2*τ))^2*tan(τ/4)^2+(−i)*(e^(1/2*τ))^2+i*(e^(i/2*τ))^2*tan(τ/4)^2+i*(e^(i/2*τ))^2+(1+i)*e^(i/2*τ)*tan(τ/4)^2+(2+2*i)*e^(i/2*τ)*tan(τ/4)+(-1-i)*e^(i/2*τ)-tan(τ/4)^2-1)/((2+2*i)*e^(1/2*τ)*e^(i/2*τ)*tan(τ/4)^2+(2+2*i)*e^(1/2*τ)*e^(i/2*τ))
It seems like the simplification should be doing a better job with this simple input.

I want to keep the exponents separate because eventually I want to input:
Code:
int(f(t)*e^(-i*t),t,(-τ)/2,τ/2)
Where f(t) is some arbitrary function of t. Obviously f(t) could then be e^(-t) and id prefer it returned the first of the above results!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with integral - Stevetuc - 12-14-2019 07:28 AM
RE: Problem with integral - Carsen - 12-14-2019, 07:53 AM
RE: Problem with integral - Stevetuc - 12-14-2019, 08:55 AM
RE: Problem with integral - parisse - 12-15-2019, 07:07 AM
RE: Problem with integral - Stevetuc - 12-15-2019, 02:37 PM
RE: Problem with integral - rprosperi - 12-15-2019, 10:19 PM
RE: Problem with integral - Stevetuc - 12-16-2019, 04:41 AM
RE: Problem with integral - rprosperi - 12-16-2019, 02:12 PM
RE: Problem with integral - Stevetuc - 12-16-2019, 02:30 PM
RE: Problem with integral - CyberAngel - 12-16-2019, 06:22 PM
RE: Problem with integral - Stevetuc - 12-16-2019, 06:59 PM



User(s) browsing this thread: 1 Guest(s)