Problem with integral

12142019, 07:28 AM
(This post was last modified: 12142019 07:34 AM by Stevetuc.)
Post: #1




Problem with integral
In this form
Code: int(e^(ti*t),t,(τ)/2,τ/2) Code: ((1+i)*e^((1i)*τ/2)+(1i)*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) Code: ((e^(1/2*τ))^2*(e^(i/2*τ))^2*tan(τ/4)^2+(e^(1/2*τ))^2*(e^(i/2*τ))^2+(1i)*(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)+(1i)*e^(i/2*τ)tan(τ/4)^21)/((2+2*i)*e^(1/2*τ)*e^(i/2*τ)*tan(τ/4)^2+(2+2*i)*e^(1/2*τ)*e^(i/2*τ)) I want to keep the exponents separate because eventually I want to input: Code: int(f(t)*e^(i*t),t,(τ)/2,τ/2) 

12142019, 07:53 AM
Post: #2




RE: Problem with integral
I think the simplify command did a fine job. Since their was trig used in the answer of integral of e^(t)*e^(((i))*t), it probably attempted to keep the trig in the solution.
If the command trig2exp is used before simplify, it returns the answer in the same form as the first integral, which is... Code:


12142019, 08:55 AM
(This post was last modified: 12142019 09:03 AM by Stevetuc.)
Post: #3




RE: Problem with integral
(12142019 07:53 AM)Carsen Wrote: I think the simplify command did a fine job. Since their was trig used in the answer of integral of e^(t)*e^(((i))*t), it probably attempted to keep the trig in the solution. I disagree. Even if the solution mixes trig and exponent forms, its the case that both the problem and the solution can be expressed in exponent or trig form. I think its reasonable to expect the Maximum Simplification option to handle this, rather than the user having to manually enter simplify(trig2exp... Wolfram provides identical results for both forms 

12152019, 07:07 AM
Post: #4




RE: Problem with integral
Try lin(trig2exp(...)). There is unfortunately no way to make simplify guess what you really want to do.


12152019, 02:37 PM
Post: #5




RE: Problem with integral
(12152019 07:07 AM)parisse Wrote: Try lin(trig2exp(...)). There is unfortunately no way to make simplify guess what you really want to do. Thank you I will try that. I guess my thinking was if problem is expressed purely as 2 exponents and the result can be expressed as 2 exponents, the intent is fairly clear. Luckily I can check the simplified result on Wolfram. 

12152019, 10:19 PM
Post: #6




RE: Problem with integral
(12152019 02:37 PM)Stevetuc Wrote: Luckily I can check the simplified result on Wolfram. If you have access to Wolfram, and you trust it more than the Prime, why use the Prime at all? Just curious... Bob Prosperi 

12162019, 04:41 AM
Post: #7




RE: Problem with integral
(12152019 10:19 PM)rprosperi Wrote:(12152019 02:37 PM)Stevetuc Wrote: Luckily I can check the simplified result on Wolfram. The purpose of reporting issues with a product to r&d is to improve the product. Checking a result against other sources is normal engineering practice. Your question seems to imply you would be happy with this result: ((e^(1/2*τ))^2*(e^(i/2*τ))^2*tan(τ/4)^2+(e^(1/2*τ))^2*(e^(i/2*τ))^2+(1i)*(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)+(1i)*e^(i/2*τ)tan(τ/4)^21)/((2+2*i)*e^(1/2*τ)*e^(i/2*τ)*tan(τ/4)^2+(2+2*i)*e^(1/2*τ)*e^(i/2*τ)) Do you prefer the challenge of finding commands that unlock the hidden answer..just curious? 

12162019, 02:12 PM
Post: #8




RE: Problem with integral
(12162019 04:41 AM)Stevetuc Wrote:(12152019 10:19 PM)rprosperi Wrote: If you have access to Wolfram, and you trust it more than the Prime, why use the Prime at all? Just curious... Thanks for replying; there was no insult intended, it seems you took my question as offensive. Using Prime and checking results with other resources in order to provide feedback that can improve the product is a perfectly fine, in fact admirable, reason. But uncommon, hence my curiosity. And there are no conditions imaginable in which that result could make me happy, correct or not. And, correct or not, any product that provided such an answer surely needs improving. It's a good thing folks like you are helping to prevent folks like me from ever receiving such a result. Bob Prosperi 

12162019, 02:30 PM
(This post was last modified: 12162019 03:12 PM by Stevetuc.)
Post: #9




RE: Problem with integral
(12162019 02:12 PM)rprosperi Wrote:(12162019 04:41 AM)Stevetuc Wrote: The purpose of reporting issues with a product to r&d is to improve the product. Checking a result against other sources is normal engineering practice. Not at all, I took no offence and tried to provide an accurate answer. Using prime to provide feedback was not my primary purpose, in fact I was trying to write a function to handle certain integrals, and faced with that result, provided the feedback. Im glad to hear someone else finds the convoluted result prime output to be unacceptable, since all the previous responses either described it as a fine job (I take that at face value..) or not possible to improve. I hope that with further feedback from interested users, the design team will be motivated to improve the product so we dont have to face such a result. Till then, Ill continue to use Wolfram to check results on the prime! 

12162019, 06:22 PM
Post: #10




RE: Problem with integral
(12162019 04:41 AM)Stevetuc Wrote:(12152019 10:19 PM)rprosperi Wrote: If you have access to Wolfram, and you trust it more than the Prime, why use the Prime at all? Just curious... Did you try lin(trig2exp(...)) ? 

12162019, 06:59 PM
(This post was last modified: 12162019 07:07 PM by Stevetuc.)
Post: #11




RE: Problem with integral
(12162019 06:22 PM)CyberAngel Wrote:Yes https://www.google.com/amp/s/dictionary....workaround(12162019 04:41 AM)Stevetuc Wrote: The purpose of reporting issues with a product to r&d is to improve the product. Checking a result against other sources is normal engineering practice. 

« Next Oldest  Next Newest »

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