MathGroup Archive 2010

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

Search the Archive

does it make sense ? The conditional

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107608] does it make sense ? The conditional
  • From: michael partensky <partensky at gmail.com>
  • Date: Fri, 19 Feb 2010 03:35:31 -0500 (EST)

In   =   md[t] = Integrate[Exp[t u^(1/2 ) - u/2], {u, 0, \[Infinity]}]
Out =  If[Re(t)<0,Sqrt[2 \[Pi]] E^(t^2/2) t
(erf(t/Sqrt[2])+1)+2,Integrate[E^(t
Sqrt[u]-u/2),{u,0,\[Infinity]},Assumptions->Re(t)>=0]]
However,
In =    md[t] - Integrate[Exp[t u^(1/2 ) - u/2], {u, 0, \[Infinity]},
 Assumptions -> Re[t] < 0]
Out = Sqrt[2 \[Pi]] E^(t^2/2) t (erf(t/Sqrt[2])+1)+2
In =    md[t] - Integrate[Exp[t u^(1/2 ) - u/2], {u, 0, \[Infinity]},
 Assumptions -> Re[t] > 0]
Out = Sqrt[2 \[Pi]] E^(t^2/2) t (erf(t/Sqrt[2])+1)+2

Why doesn't yellow output contain the same analytical expression  for both
the assumptions (or just one analytical expression)?
I thought that the original expression is returned only when the analytical
result does not exist. What am I missing?
Thanks. Michael.



  • Prev by Date: Re: Re: Arctangent approximation
  • Next by Date: Re: WAV file Export and Import
  • Previous by thread: Re: Re: A few newbie questions
  • Next by thread: Re: does it make sense ? The conditional