Solve Elliptic Integral: Tips & Ideas

Click For Summary
SUMMARY

The discussion focuses on solving a complex elliptic integral using various mathematical tools, primarily Mathematica and WolframAlpha. The integral in question can be expressed in terms of elementary functions, but participants suggest that a simpler form may exist. Key techniques discussed include the Weierstraß substitution, which transforms trigonometric integrals into rational forms, and integration by parts for handling cubic polynomials. Ultimately, the consensus is that no straightforward closed form solution exists, as evidenced by the outputs from both Mathematica and WolframAlpha.

PREREQUISITES
  • Understanding of elliptic integrals and their properties
  • Familiarity with Mathematica 12.0 for symbolic computation
  • Knowledge of Weierstraß substitution in integral calculus
  • Basic skills in manipulating rational functions and polynomials
NEXT STEPS
  • Research the Weierstraß substitution technique in detail
  • Explore advanced integration techniques, including integration by parts
  • Study elliptic integrals and their applications in mathematical analysis
  • Investigate the capabilities of Mathematica for solving complex integrals
USEFUL FOR

Mathematicians, students studying advanced calculus, and researchers dealing with elliptic integrals and complex function analysis will benefit from this discussion.

Robin04
Messages
259
Reaction score
16
Homework Statement
##\int dx \frac{1}{\sqrt{a \sin^2{x}+b (1-\cos{x})}}##
Relevant Equations
-
I need to solve this integral which I suppose is an elliptic integral but don't know what kind, I'm not that familiar with them.
Mathematica says that it can be expressed with elementary functions and gives the solution:
## -\frac{2\, tanh^{-1}(\frac{\sqrt{2a+b}\cos{\frac{x}{2}}}{\sqrt{a+b+a\cos{x}}})\sqrt{a+b+a\cos{x}}\sin{\frac{x}{2}}}{\sqrt{2a+b}\sqrt{b-b\cos{x}+a\sin^2{x}}}##,
but I believe there is a simpler form (I need to invert it and express ##x## after), as it happened before that Mathematica gave a more complex form without being able to simplify it. Can you help me with some ideas?
 
Physics news on Phys.org
WolframAlpha has an even uglier solution. However, I fed it with ##\sqrt{-a(\cos x + \alpha)^2+\beta}## in the denominator. To simplify it, one has to get rid of the translation at the cosine term. The Weierstraß substitution ##t:= \tan(x/2)## often helps in such situations. It turns a trigonometric integral into a rational one.
 
  • Like
Likes   Reactions: Robin04
fresh_42 said:
WolframAlpha has an even uglier solution. However, I fed it with ##\sqrt{-a(\cos x + \alpha)^2+\beta}## in the denominator. To simplify it, one has to get rid of the translation at the cosine term. The Weierstraß substitution ##t:= \tan(x/2)## often helps in such situations. It turns a trigonometric integral into a rational one.
with ##\alpha = \frac{b}{2a}, \beta = 1+\frac{b}{a}+\frac{b^2}{4a^2}##
##\frac{1}{\sqrt{a}}\int dx\frac{1}{\sqrt{\beta-(\cos{x}+\alpha)^2}}=\frac{2}{\sqrt{a}}\int \frac{dt}{1+t^2}\frac{1}{\sqrt{\beta-(\frac{1-t^2}{1+t^2}+\alpha)^2}}##
This is how you meant it? I don't see why this is simpler. Or getting rid of ##\alpha## is the key?
 
Well, simpler in the sense that there is only one trig function left, not two. I would continue and simplify the rational function obtained by the tangent substitution. The integral lists of rational polynomials, with or without root, are considerably longer than those for rational functions in trig terms. Now it looks like ##\dfrac{p(t)}{\sqrt{q(t)}}##.
 
  • Like
Likes   Reactions: Robin04
fresh_42 said:
Well, simpler in the sense that there is only one trig function left, not two. I would continue and simplify the rational function obtained by the tangent substitution. The integral lists of rational polynomials, with or without root, are considerably longer than those for rational functions in trig terms. Now it looks like ##\dfrac{p(t)}{\sqrt{q(t)}}##.
##\frac{2}{\sqrt{a}}\int \frac{dt}{1+t^2}\frac{1}{\sqrt{\beta-(\frac{1-t^2}{1+t^2}+\alpha)^2}} =##
The denominator of the integrand:
##(1+t^2)\sqrt{\beta-(\frac{1-t^2}{1+t^2}+\alpha)^2} = \sqrt{(1+t^2)^2\beta-(1+t^2)^2(\frac{(1-t^2)^2}{(1+t^2)^2}+2\alpha \frac{1-t^2}{1+t^2}+\alpha^2)} = \sqrt{(1+t^2)^2\beta-(1-t^2)^2-2\alpha(1-t^2)(1+t^2)-(1+t^2)^2\alpha^2}=\sqrt{(\beta-\alpha^2)(1+t^2)^2-(1-t^2)^2-2\alpha(1-t^4)}=\sqrt{t^4(\beta-\alpha^2-1+2\alpha)+t^2(2\beta-2\alpha^2+2)+\beta-\alpha^2-1-2\alpha}##
If i substitute for ##t^2## then I have a cubic polynomial for which I didn't find any formula, and if the last ##2\alpha## constant would have a + sign my life would be saved but I haven't found any sign errors.
 
  • Like
Likes   Reactions: Robin04
fresh_42 said:
So we have ##\gamma\displaystyle{\int} \dfrac{ds}{\sqrt{s}\cdot \sqrt{As^2+Bs+C}}## with ##s=t^2##. An integration by parts could help. Cp.
https://en.wikipedia.org/wiki/List_...nctions#Integrals_involving_R_=_√ax2_+_bx_+_chttps://de.wikibooks.org/wiki/Forme...#Integrale_die_√R_=_√(ax2_+_bx+_c)_beinhalten
There is no easy solution, since otherwise not both, Mathematica and WolframAlpha would have produced monstrous closed forms.
##\gamma\displaystyle{\int} \dfrac{ds}{\sqrt{s}\cdot \sqrt{As^2+Bs+C}}=\gamma\left[\frac{2\sqrt{s}}{\sqrt{As^2+Bs+C}}+\displaystyle{\int}ds\frac{\sqrt{s}(B+2As)}{(As^2+Bs+C)^{3/2}}\right]=\gamma\left[ \frac{2\sqrt{s}}{\sqrt{As^2+Bs+C}}+B\displaystyle{\int}ds\frac{\sqrt{s}}{(As^2+Bs+C)^{3/2}}+2A\displaystyle{\int}ds\frac{s^{3/2}}{(As^2+Bs+C)^{3/2}}\right]##

I haven't found any of these in the lists you sent me :/
 
fresh_42 said:
Yeah, it's still nasty. WolframAlpha spit out:
https://www.wolframalpha.com/input/?i=int+(1/+root+(x^3+Ax^2+Bx))dx+=Seems there is no easy closed form, at least none of which could be converted into ##x= \ldots ##
Mathematica gives it with elliptic functions. I wonder how it found the solution to the original form without them... Always a mystery :/
 
  • #10
I recently solved an integral ##I(a,b):=\displaystyle{\int} \dfrac{dx}{\sqrt{(a^2+x^2)(b^2+x^2)}}## with a split into substitutions ##t = x \pm f(x;a,b)## but that only gave me a recursion for ##I##.
 
  • #11
fresh_42 said:
I recently solved an integral ##I(a,b):=\displaystyle{\int} \dfrac{dx}{\sqrt{(a^2+x^2)(b^2+x^2)}}## with a split into substitutions ##t = x \pm f(x;a,b)## but that only gave me a recursion for ##I##.
How do you obtain a recursion for an integral? :O
 
  • #12
By a formula ##I(a,b)=I(f(a,b),g(a,b))## and then you can iterate ##f,g##.
 
  • Like
Likes   Reactions: Robin04

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K