Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11665 > unrolled thread
| Started by | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| First post | 2012-09-08 07:10 +0000 |
| Last post | 2012-09-08 07:10 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Integrate yields complex results Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-09-08 07:10 +0000
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Date | 2012-09-08 07:10 +0000 |
| Subject | Re: Integrate yields complex results |
| Message-ID | <k2er0a$k9m$1@smc.vnet.net> |
Hi, using Mathematica 8.0 I computed this expression:
Integrate[((1 + y^2) (1 + x^2 + y^2)^(1/2))^(-1), y]
obtaining ugly complex Logarithms which cannot be simplified even with ExpToTrig. The correct real result is given by Mathematica 5.2 and is
ArcTan[xy/((x+^2+y^2+1)^(1/2))]
How is possible to obtain this result with 8.0 version.
I even tried to calculate Real and Imaginary part, but 8.0 refuses to do that. Please help me. I need to use Mathematica for research.
Hi, Matteo,
They are no equal. Check:
int=\[Integral]1/((y^2+1) Sqrt[x^2+y^2+1]) \[DifferentialD]y
(I Log[(4 I (1 + x^2 + I y))/(x (-I + y)) + (
4 I Sqrt[1 + x^2 + y^2])/(-I + y)])/(2 x) - (
I Log[-((4 I (1 + x^2 - I y))/(x (I + y))) - (
4 I Sqrt[1 + x^2 + y^2])/(I + y)])/(2 x)
int === ArcTan[x*y/((x^2 + y^2 + 1)^(1/2))]
False
Just build this plot:
x = 1;
Plot[{int, ArcTan[x*y/((x^2 + y^2 + 1)^(1/2))] - \[Pi]}, {y, -1, 1},
PlotStyle -> {Red, Blue}]
Here the red line shows your integral, and the blue one the expression ArcTan[x*y/((x^2 + y^2 + 1)^(1/2))]. They are different.
Probably there is something more that is not accounted for, some condition, may be?
Have fun, Alexei
Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG
Office phone : +352-2454-2566
Office fax: +352-2454-3566
mobile phone: +49 151 52 40 66 44
e-mail: alexei.boulbitch@iee.lu
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web