椭圆积分

For the elliptic integral of first kind, K(m)=0π/2dθ1m2sin2θ, it is well-known that K(m) can be expressed in what Chowla and Selberg call "finite terms" (i.e. algebraic numbers and a finite product of Gamma functions of rational values) whenever iK(1m2)K(m) belongs to an imaginary quadratic field Q(d)
(see Theorem 7 in S. Chowla and A. Selberg, [On Epstein's zeta function, J. reine angew. Math. 227, 86-110, 196][1]).

Examples for these so called **elliptic integral singular values** are given on [this Wolfram page][2] (with some small typos) and in the note of J.M. Borwein and I.J. Zucker, "Elliptic integral evaluation of the Gamma function at
rational values of small denominator," [IMA Journal on Numerical Analysis, 12 (1992), 519-
526][3].

See also what Tito Piezas has to say about this in his pleasant-to-read [Collection of Algebraic Identities][4].

The following question arises:

- **For these singular values, is there** (always, or, if not always: when?) **a polynomial P(t) of degree 3 with *integer* coefficients such that K(m)=ct0dtP(t) with cQ?**
(EDIT: After Noam Elkies' remark, introduced t0, the biggest real zero of P, instead of 0 as the lower limit. Only "complete" integrals make sense here.)

In particular for d=7, we have by the [Carlson symmetric form][5] 120dtt(t+1)(t+8+3716)=K(k7)=171/44πΓ(17)Γ(27)Γ(47), on the other hand I have seen somewhere (I can't remember the reference) 0dtt(t2+21t+112)=14π7Γ(17)Γ(27)Γ(47)=K(k7)71/4.

I would like to get it straight at least for this example:

- **Can the polynomial in the first integral be transformed into one with integer coefficients? And is there any sort of relationship between both above polynomials?**
Note that the ratio of the discriminants of the two above polynomials is 22473, and both of them do *not* yield affirmative answers, as the second one would have to be divided by 7 to obtain K(k7) directly!

- **EDIT: Follow-up question: If P(t) is an integer cubic polynomial such that t0dtP(t) (with t0 its biggest real zero) can be written in "finite terms", is this value always an algebraic multiple of an elliptic integral singular value K(m)?**

[1]: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1063041/pdf/pnas01544-0031.pdf
[2]: http://mathworld.wolfram.com/EllipticIntegralSingularValue.html
[3]: http://carma.newcastle.edu.au/jon/Preprints/Books/EMA/Exercises/For%20others/K-beta.pdf
[4]: https://www.sites.google.com/site/tpiezas/0026
[5]: http://en.wikipedia.org/wiki/Carlson_symmetric_form


 

The flurry of comments did not yet produce an answer to the question
concerning the complete elliptic integrals
I1:=120dtt(t+1)(t+8+3716)
and
I2:=0dtt(t2+21t+112).
It turns out that (i) Yes, I1 can be transformed to a complete
elliptic integral associated to a cubic with integer coefficients, and
(ii) The identity I1=71/4I2 can then be recovered via
a form of
<a href="http://en.wikipedia.org/wiki/Landen's_transformation">Landen's transformation</a>.

This could be surmised by calculating the j-invariants of the
corresponding elliptic curves
y2=x(x+1)(x+8+3716)andy2=x(x2+21x+112).
The first j-invariant is j1=16581375=2553, which is rational,
so there's a linear change of variable that transforms
x(x+1)(x+8+3716) to a polynomial with integer coefficients.
The second j-invariant is j2=3375=153j1, so we can't
get immediately from j1 to j2. But j1 and j2 are still
related by a 2-isogeny [indeed j1=j(7) and
j2=j((1+7)/2)], so I1 and I2 are related by
a Landen transformation.

For (i), first translate t by (8+37)/16 to get
I1:=128+3716dtt(t8+3716)(t8+3716)0.
Then observe that
(t8+3716)(t8+3716)=t2378+32782162=t267161162.
Thus the change of variable x=167t yields
I1=271/421+87dxx(x242x7)
with the integrand having integer coefficients.

For (ii), we apply Landen's change of variable for elliptic integrals
dt/t(t2+at+b) with a,b>0: if x=(t2+at+b)/t then
dt/t(t2+at+b)=dx/x(x2+Ax+B) where (A,B)=(2a,a24b).
Moreover the map t(t2+at+b)/t maps the interval 0<t<
to a+2bx<, with each x value arising twice
except for the left endpoint x=a+2b which has a single preimage
t=b of multiplicity 2. Therefore
0dtt(t2+at+b)=2a+2bdxx(x2AXB).
The I2 coefficients (a,b)=(21,112) yield (A,B)=(42,7) and
a+2b=21+87. Therefore I1=71/4I2 as desired.

 来源:这里


 

For the first one,
(1)0(sechx)2sdx(2)=0(sech2x)s1sech2xdx(3)=0(1tanh2x)s1d(tanhx)(4)=01(1x2)s1dx(5)=1201(1x)s1x12dx(6)=12B(s,12)=π2Γ(s)Γ(12+s)
and so your conjecture is correct.
For the second integral, let x=2t:
(7)01(1+coshx)sdx(8)=201(1+cosh2t)sdt(9)=201(2cosh2(t))sdt(10)=21s0(secht)2sdt(11)=2sB(s,12)=π2sΓ(s)Γ(12+s)


 

 

Extending **@nospoon**'s idea, we notice that

a+cosh2x=(a+1)cosh2x(1btanh2x),b=a1a+1.

If a>1, then b<1 and using the substitution u=tanh2x we get

0dx(a+coshx)sdx=1(a+1)s01(1u)s1(1bu)sudu.

Making further substitution v=1u1bu, we have

0dx(a+coshx)sdx=1(a+1)s01vs1(1v)(1bv)dv.

This is easily integrated when b=0 or b=1, each correspondingto a=1 or a=0, but I doubt that this integral has a nice closed form in general. For example, when s=1/2, this becomes an elliptic integral and *Mathematica 11* gives

01dvv(1v)(1bv)=2[1bK(1b)+iK(1b)],0<b<1,

where K(k) is the [*complete elliptic integral of the 1st kind*](https://en.wikipedia.org/wiki/Elliptic_integral#Complete_elliptic_integral_of_the_first_kind).

这里


 

>I:=0ln(x)xx+12x+1dx.

After first multiplying and dividing the integrand by 2, substitute x=t2:

I=02ln(x)2x2x+22x+1dx=0ln(t2)tt+2t+1dt.

Next, substituting t=1u yields:

(12)I=0ln(2u)uu+12u+1du(13)=0ln(2)uu+12u+1du0ln(u)uu+12u+1du(14)=0ln(2)uu+12u+1duI(15)I=ln(2)20dxxx+12x+1.

Making the sequence of substitutions x=u12, then u=1t, and finally t=w, puts this integral into the form of a beta function:

(16)0dxxx+12x+1=1duu1u+1u(17)=1duu21u(18)=10t3/21t2(1)t2dt(19)=01dtt1t2(20)=1201dww3/41w(21)=12B(14,12)(22)=12Γ(12)Γ(14)Γ(34)(23)=π3/221/2Γ2(34)

Hence,

I=ln(2)2π3/221/2Γ2(34)=π3/2ln(2)23/2Γ2(34).   

---

**Possible Alternative:** You could also derive the answer from the complete elliptic integral of the first kind instead of from the beta function by making the substitution t=z2 instead of t=w.

(24)0dxxx+12x+1=1duu1u+1u(25)=1duu21u(26)=10t3/21t2(1)t2dt(27)=01dtt1t2(28)=201dz1z4(29)=2K(1)(30)=Γ2(14)22π(31)=π3/221/2Γ2(34).

这里


 

(1)01dx1x x4 2x34=?22338π
The equality numerically holds up to at least 104 decimal digits.
> Can we prove that the equality is exact?


An equivalent form of this conjecture is
(2)I(32; 14,14)=?23,
where I(z; a,b) is the [regularized beta function](http://mathworld.wolfram.com/RegularizedBetaFunction.html).

---
Even simpler case:
(3)01dx1x 9x6 x3=?π3,
which is equivalent to
(4)I(19; 16,13)=?12.

---
A [related question](https://math.stackexchange.com/questions/538564/conjecture-int-01-fracdx-sqrt3x-sqrt61-x-sqrt1-x-left-sqrt6).


For α,β,γ(0,1) satisfying α+β+γ=1 and
μC[1,), define

Fαβ(μ)=01dxxα(1x)β(1μx)γ and Δ=Γ(1α)Γ(1β)Γ(1+γ)
When |μ|<1, we can rewrite the integral Fαβ(μ) as

(32)Fαβ(μ)=011xα(1x)β(n=0(γ)nn!μnxn)dx=n=0(γ)nn!Γ(n+1α)Γ(1β)Γ(n+1+γ)μn(33)=Δn=0(γ)n(1α)nn!(γ+1)nμn=Δγn=0(1α)nn!(γ+n)μn
This implies
μγ(μμ)μγFαβ(μ)=Δγn=0(1α)nn!μn=Δγ1(1μ)1α
and hence
Fαβ(μ)=Δγμγ0μνγ1dν(1ν)1α=Δγ01tγ1dt(1μt)1α=Δ01dt(1μt1/γ)1α

Notice if we substitute x by y=1x, we have

Fαβ(μ)=01dyyβ(1y)α(1μμy)γ=1(1μ)γFβα(μ1μ)

Combine these two representations of Fαβ(μ) and let ω=(μ1μ)γ, we obtain

Fαβ(μ)=Δ(1μ)γ01dt(1+ω1/γt1/γ)1β=Δμγ0ωdt(1+t1/γ)1β

Let (α,β,γ)=(14,12,14) and μ=32, the identity we want to check becomes

(*1)Γ(34)Γ(12)Γ(54)(3)1/40ωdt1+t4=?22338π

Let K(m) be the complete elliptic integral of the first kind associated with modulus m. i.e.

K(m)=01dx(1x2)(1mx2)
It is known that K(12)=8π3/2Γ(14)2. In term of K(12), it is easy to check (1) is equivalent to

(*2)0ωdt1+t4=?23K(12)

To see whether this is the case, let φ(u) be the inverse function of above integral.
More precisely, define φ(u) by following relation:

u=0φ(u)dt1+t4

Let ψ(u) be 12(φ(u)+φ(u)1). It is easy to check/verify
φ(u)2=1+φ(u)4ψ(u)2=4(1ψ(u)2)(112ψ(u)2)

Compare the ODE of ψ(u) with that of a Jacobi elliptic functions with modulus m=12, we find

(*3)ψ(u)=sn(2u+constant|12)

Since we are going to deal with elliptic functions/integrals with m=12 only,
we will simplify our notations and drop all reference to modulus, i.e
sn(u) now means sn(u|m=12) and K means K(m=12).

Over the complex plane, it is known that sn(u) is doubly periodic with
fundamental period 4K and 2iK. It has two poles at iK and (2+i)K in the fundamental domain.
When u=0, we want φ(u)=0 and hence ψ(u)=. So the constant
in (3) has to be one of the pole. For small and positive u, we want φ(u) and hence ψ(u) to be positive. This fixes the constant to iK. i.e.

ψ(u)=sn(2u+iK)

and the condition (2) becomes whether following equality is true or not.

(*4)12(ω+ω1)=?sn(43K+iK)

Notice 3(43K+iK)=4K+3iK is a pole of sn(u). if one repeat
apply the addition formula for sn(u+v)

sn(u+v)=sn(u)cn(v)dn(v)+sn(v)cn(u)dn(u)1msn(u)2sn(v)2

One find in order for sn(3u) to blow up, sn(u) will be a root of
following polynomial equation:
3m2s84m2s64ms6+6ms41=0
Substitute m=12 and s=12(t+1t) into this, the equation ω need to satisfy is given by:

(t86t43)(3t8+6t41)=0

One can check that ω=3234 is indeed a root of this polynomial. As a result, the original equality is valid.


Here is another approach for evaluating the integral (3).

Using **@achille hui**'s transformation, we can write

I=01dxx31x9x6=4π2213Γ(13)301211+x6dx
Using the substitution x=t, we get
I=π2243Γ(13)30121t+t4dt
We can now transform this integral into a beta integral using the substitution t=1y2+y. This gives us

I=π2243Γ(13)30111y3dy=π22433Γ(13)3B(13,12)=π22433Γ(13)3(3Γ(13)3π243)=π3

这里


 

Let
(1)α=6 12+73336=(2+3)(22743)=333+2 274.
Note that α is the unique positive root of the polynomial equation
(2)α4+24α3+18α227=0.
Now consider the following integral:
(3)I=01dxx3 1x6 1xα2.
I have a conjectured elementary value for it
(4)I=?π9(3+2 274)=π3α.

---
Actually, the integral I can be evaluated in an exact form using _Mathematica_ or manually, using formula [DLMF 15.6.1](http://dlmf.nist.gov/15.6):
(5)I=4π3Γ(56)Γ(13)2F1(12,23; 32; α2),
but I could not find a way to simplify this result to (4).

So, my conjecture can be restated in a different form:
(6)2F1(12,23; 32; α2)=?2+344274Γ(13)Γ(56)π
or
(7)n=0Γ(n+23)(2n+1)Γ(n+1)α2n=?3+227418π3/2Γ(56).

---
The conjecture can also be given in terms of the [incomplete beta function](http://mathworld.wolfram.com/IncompleteBetaFunction.html):
(8)B(α2; 12,13)=?π2Γ(13)Γ(56).

---
> _Question:_ Is the conjecture indeed true?

_Note:_ It holds numerically up to at least 104 decimal digits.

---
__Conjecture 2__

Let
(9)β=214+9541587503305338150665(34)+123(165+755467503305103150665).
_Added later:_ We can simplify it to
(9)β=34(7+355466+305)+12495+225536(8545+38215).

I conjecture that:
(10)01dxx3 1x6 1xβ2=?2π53β.

I can imagine that if these conjectures are true, then there are generalizations for some other algebraic numbers.


Let t=1+y3, we can rewrite B(α2;12,13) as

0α2t1/2(1t)2/3dt=11α233y2dy1+y3y2=311α23dy1+y3

Following the setup in my [answer](https://math.stackexchange.com/a/692107/59379) to a related question. Let
η=Γ(13)Γ(16)3π and (z) be the [Weierstrass elliptic function](http://en.wikipedia.org/wiki/Weierstrass%27s_elliptic_function) with fundamental periods 1 and eiπ/3. (z) is known to satisfy an ODE of the form
(z)2=4(z)3g2(z)g3 where g2=0 and g3=η616
If one perform variable substitution y=4η2(izη), one has

dy1+y3=dz and {y(3η3)=4η2(i33)=0y(3η2)=4η2(i32)=1
Using this, we can express conjecture (8) in terms of y() and/or ():
(35)B(α2;12,13)=?π2Γ(13)Γ(56)=34η(36)3[y1(1)y1(1α23)]=?34η(37)y1(1α23)=?5312η(38)4η2(i5312)=?1α23
Let u0=i33, u1=i32 and u=i5312=12(u0+u1). Using the addition formula for function,
we have

(2u)=(u0+u1)=14[(u0)(u1)(u0)(u1)]2(u0)(u1)=14[iη3400η24]20η24=η22
Using the duplication formula of function, we get
η22=(2u)=14((6(u)212g2)24(u)3g2(u)g3)2(u)=9(u)44(u)3η4162(u)
Let Y=4η2(u) and A2=1Y3, above condition is equivalent to

(*1a)Y4+8Y3+8Y8=0(*1b)Y(8+Y3)=8(1Y3)(*1c)(9A2)3(1A2)=512A6(*1d)(A424A3+18A227)(A4+24A3+18A227)=0

+ Since α is a root for one of the factors in (1d), A=α satisfies (1d) and hence (1c).
+ Since 0<α<1 implies 1α2>0, (1c)(1b) in this particular case.
i.e. Y=1α23 satisfies (1b) and hence (1a).
+ Since u lies between u0 and u1, 4η2(u)>0. Using
the fact (1a) has only one positive root, we find 4η2(u)=1α23. i.e. conjecture (8) is true.



Perhaps this might be helpful to someone. The integral is equal to, as you note,
J(y)=01x1/3(1x)1/6(1xy2)1/2dx=2πy3B(y2,12,13)B(12,13),
where B(z,a,b) is the incomplete beta function.
Consider the function
I(y2,a,b)=B(y2,a,b)B(a,b),
and rewrite using [DLMF 8.17](http://dlmf.nist.gov/8.17) it as
I(y2,12,13)=12I(z,13,13),4z(1z)=1y2.
Then the function
f(z)=I(z,13,13)=3z1/32F1(13,23;43;z)B(13,13)
is the one for which the conjectures are equivalent to (choosing the right root z):
f(z)=14z414z3+24z214z+1=0,
f(z)=251+17z107z2+164z3155z4+164z5107z6+17z7+z8=0,

From my tests it appears (I don't know how to prove this)
that the function z(w) which solves
the equation f(z(w))=w always has algebraic values when w
is a rational number. The original integral is
2πy3(12f(z)), which is algebraic times π when f(z)
is rational and z algebraic, so I think the question is really about solving f(z)=w.

这里


How to prove the following conjectured identity?
(1)0dx7+coshx4=?643πΓ2(14)
It holds numerically with precision of at least 1000 decimal digits.

Are there any other integers under the radical except 7 and 1 that result in a nice closed form?


I will follow @user15302's idea. In [**this answer**](https://math.stackexchange.com/questions/1379472/closed-form-of-int-0-infty-frac1-lefta-cosh-x-right1-n-dx-for/1379605#1379605), I showed that

0dx(a+coshx)sdx=1(a+1)s01vs1(1v)(1bv)dv,

where b=a1a+1. Now let I denote the Vladimir's integral and set s=14 and a=7. Then we have b=34 and

I=23/4011v3/4(1v)(134v)dv.

The reason why the case b=34 is special is that, if we plug v=sech2t then we can utilize the triple angle formula to get the following surprisingly neat integral

I=25/40coshtcosh3tdt.

Now using the substitution x=e6t, we easily find that

I=132401x11/12+u7/121+xdx=13240dxx11/121+x.

The last integral can be easily calculated by the following formula

0xa1(1+x)a+bdx=β(a,b)=Γ(a)Γ(b)Γ(a+b).

Therefore we obtain the following closed form

I=Γ(112)Γ(512)324π.

In order to verify that this is exactly the same as Vladimir's result, We utilize the [*Legendre multiplication formula*](https://en.wikipedia.org/wiki/Multiplication_theorem#Gamma_function-Legendre_function) and the [*reflection formula*](https://en.wikipedia.org/wiki/Reflection_formula) to find that

Γ(112)Γ(512)=Γ(112)Γ(512)Γ(912)Γ(34)=2π31/4Γ(14)Γ(34)=21/231/4Γ(14)2.

This completes the proof.


By replacing x with 4u, then coshu with 1t, we have:

I=123/401dt(1t2+t4)1/4(1t2)1/2=123/401/2dt(1t(1t))1/4(t(1t))1/2
Next, by replacing t(1t) with v/4,
I=1211/401dv(1v/4)1/4(v(1v))1/2
then, by setting v=43z,
I=31/429/414/3dzz1/4((43z)(1+z))1/2=31/425/412/3z(43z2)(1+z2)dz
that, at least, looks manageable. We also have:
(1)I=121/401du(3u4+u2)1/4(1u2)1/2
that Mathematica gladly evaluates to:
I=21/4Γ(14)233/4π.
Now we just need to understand *how*.

----------

I think this problem can be solved by invoking the theory of j-invariants for (hyper?)-elliptic curves, but I am not so confident in the topic to find the right change of variables that brings our integral into a complete elliptic integral. I think that [Noam Elkies][1] would solve this problem in a few seconds, so I am asking his help.

----------

**Update**. Found. Our claim was proven by Zucker and Joyce in [Special values of the hypergeometric series II][2], it is the result (76). It is derived through standard hypergeometric manipulations, by starting with the elliptic modulus k for which:
K(k)K(k)=3.
The modular function to be considered for regarding our integral as a period is so the [elliptic lambda function][3].


[1]: https://math.stackexchange.com/users/93983/noam-d-elkies
[2]: http://www.researchgate.net/publication/231927689_Special_values_of_the_hypergeometric_series_III
[3]: http://mathworld.wolfram.com/EllipticLambdaFunction.html


Take the integral in the form I=121/401du(3u4+u2)1/4(1u2)1/2=121/401du(3u2+1)1/4(1u2)1/2(u2)1/4 then put u2=s =125/401ds(3s+1)1/4(1s)1/2s3/4 and now put s=1t =127/401dt(13t/4)1/4(1t)3/4t1/2. Now recalling the identity 2F1(a,b;c;z)=Γ(c)Γ(b)Γ(cb)01tb1(1t)cb1(1tz)adt we have I=127/4Γ(12)Γ(14)Γ(34)2F1(14,12;34;34) and in this case it is possible calculate the exact value of the hypergeometric function (see the update in the Jack D'Aurizio's answer for reference) 2F1(14,12;34;34)=2233/4 and so I=Γ2(14)63/4π. The result is not equal to 64Γ2(14)/(2π) but I haven't found a mistake in my calculations.

这里


It is quite a well known fact that:
0+sinxxdx=π2
also the value of related series is very similiar:
n=1+sinnn=π12
Combining these two identities and using sinc function we get:
+sincxdx=n=+sincn=π
What is more interesting is the fact that the equality:
+sinckxdx=n=+sinckn
holds for k=1,2,,6. There are some other nice identities with sinc where sum equals integral but moving on to other functions we have e.g.:
n=+(αn)eint=+(αn)eitxdx=(1+eit)α,α>1which is due to Pollard & Shisha.

And finally the identity which is related to the famous *Sophomore's Dream*:
01dxxx=n=1+1nn
Unfortunately in this case the summation range is not even close to the interval of integration.

Do you know any other interesting identities which show that "sum = integral"?


Several papers are dedicated to the subject of integrals of functions that equal the sum of the same function, primarily for estimation purposes.

[Boas and Pollard][1] (1973) has some interesting sum-integral equalities:

π/α=n=sin2(c+n)α(c+n)2=sin2(c+n)α(c+n)2dn

πsgna=n=sin(n+c)αn+c=sin(n+c)αn+cdn

It also gives several general formulae for functions that suffice:

n=f(n)=f(n)dn

mainly with Fourier analysis.

---
[This][2] paper gives an equality with the [Bessel J function][3]:

Jy(at)Jy(bt)tdt=t=Jy(at)Jy(bt)t

and some more references:

> There have been a number of studies of this kind of sum-integral
> equality by various groups, for example, Krishnan & Bhatia in the
> 1940s (Bhatia & Krishnan 1948; Krishnan 1948a,b; Simon 2002) and Boas,
> Pollard & Shisha in the 1970s (Boas & Stutz 1971; Pollard & Shisha
> 1972; Boas & Pollard 1973).

---

See also [Surprising Sinc Sums and Integrals][4] which has some other equalities. This paper also states that (paraphrasing)

*If G is of bounded variation on [δ,δ], vanishes outside (α,α), is Lebesgue integrable over (α,α) with 0<α<2π and has a Fourier transform of g, then*

n=g(n)=g(x)dx+π2(G(0)+G(0+))

---

Ramanujan's [second lost notebook][5] contains some sums of functions that equal the integral of their functions (Chapter 14, entries 5(i), 5(ii), 16(i), 16(ii)).

---

If you want, even more references with examples are in the papers I have mentioned.

[1]: http://carma.newcastle.edu.au/jon/Preprints/Papers/Published-InPress/Sinc-sums/Related/boas.pdf
[2]: http://rsc.anu.edu.au/~pgill/papers/159_Bessel.pdf
[3]: http://en.wikipedia.org/wiki/Bessel_function#Bessel_functions_of_the_first_kind_:_J.CE.B1
[4]: http://web.cs.dal.ca/~jborwein/sinc-sums.pdf
[5]: http://www.scribd.com/doc/48940173/Ramanujan-Notebooks-II-pdf

这里


 

How one can prove that the infinite sum of this function equals its integral
(1)n=cosπn2+13+4n2=cosπx2+13+4x2dx ?

My analysis: Mathematica wasn't able to return any closed form for the integral or the sum. Then I checked this relation by numerical computations and it agreed to about 20 decimal places.

I know from this question [Sum equals integral][1] that the function sinc x=sinxx has the same property
+sincxdx=n=+sincn=π
I tried to find a closed form for the integral (1) but couldn't.

Motivation: I was challenged by a friend to prove this relation. I'm curious how one can prove it?

Note: There has been a suggestion to straightforwardly apply Euler-MacLauren summation formula to prove this statement. Though I don't know why it can not be applied in this case, I checked numerically whether the sum equals the integral for the similar looking functions f1(x)=cosπx2+11+x2 and f2(x)=cosπx2+12+x2, but in both cases there was a difference of about 1% between the sum and the integral. In starck contrast to this, using the same algorithm for cosπx2+13+4x2 there wasn't any difference between the sum and the integral at least to 20 decimal places. So I think it is very unlikely that 1% error can be attributed to computational error.


[1]: https://math.stackexchange.com/questions/170747/sum-equals-integral


 

For any positive a, define

fa(x)=cosπx2+1x2+a2

What you have observed is caused by the equality
(*1)n=fa(n)fa(x)dx=2πa(e2πa1)×{coshπa21,a>1cosπ1a2,a<1
and the fact cosπ1a2=cosπ2=0 when a2=34

To see why (1) is true, we use the fact fa(n) is an even function in n to rewrite LHS of (1) as

2[n=0fa(n)(0fa(x)dx+12fa(0))]

This is similar to what you will find in
the [Abel-Plana formula](https://en.wikipedia.org/wiki/Abel%E2%80%93Plana_formula)[1],

> For any function f(z) which is
>
> 1. continuous on z0 and analytic on z>0
> 2. f(z)o(e2π|z|) as z±, uniformly with respect to z.
> 3. f(z)O(e2π|z|/|z|1+ϵ) as z+ [2].
>
> we have
>
(*2)n=0f(n)=0f(x)dx+12f(0)+i0f(it)f(it)e2πt1dt

However, fa(x) doesn't exactly satisfy the condition above. It has two
poles at ±ai. After a little bit of tweaking of the contour used in the proof of the Abel-Plana formula, one find:

LHS(1)=2ilimϵ0+0fa(it+ϵ)fa(it+ϵ)e2πt1dt

For ta, since fa(z) is even, the two pieces in fa(it+ϵ)fa(it+ϵ) cancels out as ϵ0+.
For ta, the two pieces can be combined to a integral of f(it)e2πt1 over a circle centered at a.
As a result, RHS reduces to

(2i)(2πi)Rest=a[cosπ1t2(a2t2)(e2πt1)]=2πa(e2πa1)×{coshπa21,a>1cosπ1a2,a<1
Back to the special case a2=34 which corresponds to the equality in question.

When a2=34, the "pole" of fa(z) at z=±ai become removable singularities. The original version of Abel-Plana formula in (2) applies. Since fa(x) is even, last integral in (2) vanishes and the equality follows. This explain why the sum equal to the integral for cosπx2+13+4x2 but not other similar looking integrand like cosπx2+11+x2 or cosπx2+12+x2.

**Notes**

+ [1] For more details of Abel-Plana formula and its derivation, please refer to §8.3 of Frank W. J Olver's book: [Asymptotics and Special Functions](http://www.amazon.com/Asymptotics-Special-Functions-Computer-mathematics/dp/012525850X).
+ [2] In order to convert the AP formula on finite sum in Olver's book to infinite sum here, I have added a condition (3) for this particular problem. The whole purpose of that is to force following limits to zero.
limbf(b)=0 and limb0f(b+it)f(bit)e2πt1dt=0
For other f(z), if one can justifies these limits, we can forget condition (3) and the AP formula remains valid.

这里


 

posted on   Eufisky  阅读(869)  评论(0编辑  收藏  举报

编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示