On Mathoverflow, the question about a closed form for the integral (x)x was raised. Currently, Mathematica can’t give a closed form answer for this integral.
∞
∫
0
3
tanh
2
x
In[]:=
Integrate[Tanh[x]^3/x^2,{x,0,∞}]
Out[]=
∞
∫
0
3
Tanh[x]
2
x
But we can easily get a numerical value.
In[]:=
num=NIntegrate[Tanh[x]^3/x^2,{x,0,∞},WorkingPrecision->100,PrecisionGoal->30]//N[#,30]&
Out[]=
1.15478531332317626405907045194
How could one find a closed form result? With Integrate, Sum, SeriesCoefficient, ... we have a lot of tools at our hands to do some experimental mathematics. A simple manual change of variables does not help.
In[]:=
Integrate[y^3/(ArcTanh[y]^2)Dt[ArcTanh[y],y],{y,0,1}]
Out[]=
1
∫
0
3
y
(1-)
2
y
2
ArcTanh[y]
The next typical trick is expanding the integrand in a series and integrating term by term:
In[]:=
TrigToExp[Tanh[x]^3]
Out[]=
3
(-+)
-x
x
3
(+)
-x
x
In[]:=
SeriesCoefficient[%/.{Exp[-x]->g,Exp[x]->1/g},{g,0,n}]//FullSimplify[#,n∈Integers]&
Out[]=
|
The resulting integrals do diverge:
In[]:=
Integrate[Exp[-nx]/x^2,{x,0,∞}]
-nx
2
x
Out[]=
∞
∫
0
-nx
2
x
We can make the integral convergent by adding a factor. For the case that we need, the integral diverges:
α=0
In[]:=
Integrate[Exp[-nx]/x^2x^α,{x,0,∞}]
Out[]=
And the sum can be done in closed form for general α:
In[]:=
Sum[n^(1-α)Gamma[-1+α]Cos[(nπ)/2](2+n^2),{n,∞}]
Out[]=
-Gamma[-1+α](-32Zeta[-3+α]+Zeta[-3+α]-4Zeta[-1+α]+Zeta[-1+α])
2-2α
2
1+α
2
α
2
Expanding the result around gives a finite leading term:
α=0
In[]:=
Series[%,{α,0,1}]
Out[]=
1
15
′
Zeta
1
60
′
Zeta
1
15
2
Log[2]
′
Zeta
′′
Zeta
′′
Zeta
2
O[α]
And indeed this is the result we were looking for:
In[]:=
N[(-1-(4Log[2])/15+12Log[Glaisher]-120Derivative[1][Zeta][-3]),30]
Out[]=
1.15478531332317626405907045194
Alternatively, we can split of the divergent point from the integral:
In[]:=
Integrate[Exp[-nx]/x^2,{x,ϵ,∞}]
Out[]=
The leading terms are:
In[]:=
Series[(E^(-nϵ)/ϵ-nGamma[0,nϵ]),{ϵ,0,2},Assumptions->ϵ>0]
Out[]=
1
ϵ
2
n
2
3
n
2
ϵ
12
3
O[ϵ]
The n term does give no sum contribution:
In[]:=
Sum[nCos[(nπ)/2](2+n^2),{n,∞},Regularization->"Dirichlet"]
Out[]=
0
And the term gives the same result as above:
nln(n)
In[]:=
Sum[nLog[n]Cos[(nπ)/2](2+n^2)n^α,{n,∞}]
Out[]=
--2CosGamma[2+α]Log[2]Zeta[2+α]+CosGamma[2+α]Log[2]Zeta[2+α]+CosGamma[4+α]Log[2]Zeta[4+α]-CosGamma[4+α]Log[2]Zeta[4+α]-[-3-α]+[-3-α]-[-1-α]+[-1-α]
-4-α
π
2
π
πα
2
4+α
2
2
π
πα
2
πα
2
5+α
2
πα
2
3+α
2
4+α
π
′
Zeta
7+2α
2
4+α
π
′
Zeta
2+α
2
4+α
π
′
Zeta
4+2α
2
4+α
π
′
Zeta
In[]:=
Series[%,{α,0,1}]
Out[]=
1
15
′
Zeta
1
90
4
π
4
π
4
π
4
π
2
Log[2]
4
π
4
π
4
π
′
Zeta
2
π
′
Zeta
′
Zeta
4
π
′′
Zeta
4
π
′′
Zeta
2
O[α]
By conjecturing the constants involved in the integral, we could have used FindIntegerNullVector to get a conjecture for a closed form:
In[]:=
FindIntegerNullVector[{1.15478531332317626405907045194,1,Log[2],EulerGamma,Log[Glaisher],Derivative[1][Zeta][-3]}]
Out[]=
{-15,-15,-4,0,180,-1800}
CITE THIS NOTEBOOK
CITE THIS NOTEBOOK
Don't fear divergencies: by Michael TrottWolfram Community, STAFF PICKS, 2017https://community.wolfram.com/groups/-/m/t/1170493
