Re: elliptic integral



Hi David!

Your solution has a lot of magic; doesn't it?

Ok I even tried by myself to write the integrand as [(x - 1)/Sqrt[(1 -
x)*(x - 2)*(x^2 - 2*x + 3)]
but 3/2???
How you came to the conclusion and you broke the integral?
Do I miss something or it was a tactic based to your experience?

Dimitris

Ο/Η David W. Cantrell έγραψε:
dimitris <dimmechan@xxxxxxxxx> wrote:
Hello to all!

I have the definite integral

o = HoldForm[Integrate[Sqrt[(1 - x)/((x - 2)*(x^2 - 2*x + 3))], {x, 1, 2}]]

Working with Mathematica...

Version 4. succeeds in getting a closed form result
(agreement with NIntegrate).
Version 5.2 returns the integral unevalueated.

Any ideas on how I could obtain an analytic result
(by CAS or hand)?

Huh? Didn't you _already_ get such a result using Mathematica 4?

But anyway, here's a way to get such a result using Mathematica 5.2:

In[4]:=
Integrate[(x - 1)/Sqrt[(1 - x)*(x - 2)*(x^2 - 2*x + 3)], {x, 1, 3/2}] +
Integrate[Sqrt[(1 - x)/((x - 2)*(x^2 - 2*x + 3))], {x, 3/2, 2}]

Out[4]=
EllipticPi[1 - I/Sqrt[2], ArcSin[Root[2 + 4*#1^2 + 3*#1^4 & , 3]],
(1/3)*(1 - 2*I*Sqrt[2])]*Root[8 + 8*#1^2 + 3*#1^4 & , 4] +
(EllipticF[ArcSin[Root[3 + 4*#1^2 + 2*#1^4 & , 3]], (1/3)*(1 -
2*I*Sqrt[2])] - EllipticPi[(1/3)*(2 - I*Sqrt[2]), ArcSin[Root[3 + 4*#1^2
+ 2*#1^4 & , 3]], (1/3)*(1 - 2*I*Sqrt[2])])*Root[8 + 8*#1^2 + 3*#1^4 & , 4]

In[5]:= Chop[N[%]]

Out[5]= 0.9752615369238598

Of course, I'm curious to know how Mathematica 6 does with this integral.
After all, writing it as I did in In[4] should not be necessary. We should
be able to ask straightforwardly for
Integrate[Sqrt[(1 - x)/((x - 2)*(x^2 - 2*x + 3))], {x, 1, 2}]
and get a result.

David

.



Relevant Pages

  • Pen, Tablet Input for CAS?
    ... I wonder if any CAS pacakges provide this capability ... MathLink program can talk to Mathematica. ... smarts are required for recognition, ...
    (sci.math)
  • Re: GPL vs LGPL vs CAS
    ... >> perspective of CAS would not add much to the discussion. ... > to have access to the source code of a CAS. ... year writing a faster version of an algorithm, ... If Wolfram gave away Mathematica, ...
    (sci.math.symbolic)
  • Re: Mathematica Vs. Matlab
    ... >> Q) Between Mathematica and Matlab, which is more suitable for this ... > This is a difficult question to answer because most people who know a CAS ... > programming and rule based programming. ... > CAS before tackling serious electromagnetism. ...
    (sci.math.symbolic)
  • Another (extended) Review of Mathematica 6.0
    ... I realize that good computer science and symbolic and numeric algorithms are the bedrock that underlies any CAS. ... However many and perhaps the vast majority of users of Mathematica are not pushing the envelope of symbolic or numerical computation. ... Active Mathematica notebooks have other advantages over traditional printed material. ... I do not consider graphics as a frill but as an absolutely essential part of technical communication. ...
    (sci.math.symbolic)
  • Re: HELP: How to speed up Maple 10 in WYSWYG mode
    ... I am finding another interesting thing about these CAS ... If one wants to do some large engineering computations in pure symbolic ... Element function to solve a second order ODE in Mathematica with animation ... I learned from this that symbolic computation for engineering problems is ...
    (sci.math.symbolic)