Professional Documents
Culture Documents
026 Ahmed Integral
026 Ahmed Integral
026 Ahmed Integral
Sangchul Lee
December 1, 2013
1 Introduction
The following integral √
arctan x2 + 2 dx
1
5π2
Z
√ = (1.1)
0 x2 + 2 x +1
2 96
is called the Ahmed’s integral, which became famous since it is first discovered by Ahmed in [Ahm02]. Here, we
present a formula which generalizes this integral to the considerable extent.
We introduce the three-parameter function A(p, q, r) defined by the following integral representation.
arctan q p2 x2 + 1
Z 1 p
dx
A(p, q, r) := pqr . (1.2)
q p2 x 2 + 1 (r + 1)p2 x2 + 1
2
p
0
Theorem 1.1. For each p, q, r > 0 satisfying pqr ≤ 1, the following integral representation holds.
k 1 1 + p̃2 x2 1 + q̃2 x2 1 + r̃2 x2
Z !
1
Ã(p, q, r) = 2χ2 (k) + log × × dx, (1.4)
2 0 1 − k 2 x2 1 + p̃2 1 + q̃2 1 + r̃2
where χ2 (z) denotes the Legendre chi function defined by
∞
X z2n+1
χ2 (z) = .
n=1
(2n + 1)2
1
2 Preliminary
As a preliminary, we review some background knowledge that will be used throughout the proof. Recall that the
following generalized binomial series holds for any α ∈ C
∞
α j
X !
(1 + z)α = z , |z| < 1, (2.1)
j=0
j
α α(α − 1) · · · (α − j + 1)
!
= , j ≥ 0.
j j!
Exploiting (2.1), we can check that basic identities for the binomial coefficients remain valid for this generalized
one. Those include the Pascal’s identity and the Vandermonde’s convolution formula.
With α = n ∈ {0, 1, 2, · · · }, this reduces to the classical result of the binomial theorem. Of course, each
summand vanishes for j > n in this case. Nevertheless we write it as an infinite series. This is convenient
particularly when interchanging the order of summation since we need not make some cumbersome conversion
of the range of summation.
Now let α = −n − 1 for an integer n. By applying some elementary manipulation, we notice that the series
expansion of (1 + z)−1−n can also be written as
∞
j n+ j j
!
1 X
= (−1) z , |z| < 1. (2.2)
(1 + z)1+n j=0
j
If n = 0, this reduces to the classical formula for the geometric series.
Series expansion of the Ahmed’s integral Utilizing the Taylor series of the arctangent to the integrand,
∞
Z 1 X ∞
X (−1)b 2b 2 2
A(p, q, r) = k q (p x + 1) dx
m 2m 2m b
(−1) q̃ x
0 m=0 b=0
2b + 1
∞ X ∞
∞ !
(−1)m+b 2m 2b 1 2m X b 2 j 2 j
X Z
=k q̃ q x p x dx
m=0 b=0
2b + 1 0 j=0
j
∞ X ∞ X ∞
(−1)m+b
!
X b 2m 2 j 2b
=k q̃ p q .
m=0 b=0 j=0
(2m + 2 j + 1)(2b + 1) j
Now expanding q̃2m = p2m (1 + r2 )m using the binomial series (2.1), we notice that
∞ X ∞ X ∞ X ∞
(−1)m+b
! !
X b m 2m+2 j 2b 2c
A(p, q, r) = k p q r .
m=0 b=0 j=0 c=0
(2m + 2 j + 1)(2b + 1) j c
2
We make the change of variable a = m + j, or equivalently, m = a − j. Then interchanging the order of summation
between j and a, we obtain
∞ X ∞ X ∞ X ∞
(−1)a+b+ j
! !
X b a − j 2a 2b 2c
A(p, q, r) = k p q r
b=0 c=0 j=0 a= j
(2a + 1)(2b + 1) j c
∞ X ∞ X
a
∞ X !
(−1)a+b+ j
!
X b a − j 2a 2b 2c
=k
p q r
+ +
a=0 b=0 c=0 j=0
(2a 1)(2b 1) j c
To simplify this coefficient further, we adopt the generating function method. That is, we consider the following
power series
a
∞ X ! ∞ X a
(−1)a+b+ j (−1)b
! ! !
X b a − j a X b j a− j a − j a− j
x =
x × (−1) x
(2a + 1)(2b + 1) j (2a + 1)(2b + 1) a=0 j=0 j
a=0 j=0
c c
! !
∞ ∞
(−1)b b j
X
X
= j j j
.
x (−1) x
(2a + 1)(2b + 1) j=0 j j=0 c
Exploiting (2.2) it follows that
∞ X
a !
(−1)a+b+ j (−1)b (−1)c xc
! ( )
X b a − j a
x = (1 + x)b
(2a + 1)(2b + 1) j (2a + 1)(2b + 1) (1 + x)c+1
a=0 j=0
c
(−1)b+c xc
= .
(2a + 1)(2b + 1) (1 + x)c−b+1
Comparing the coefficients of the both sides, it follows that
(−1)a+b
!
a−b
a
, if a ≥ c
a+b+ j
! !
(−1) b a− j
(2a + 1)(2b + 1) a − c
X
=
(3.1)
j=0
(2a + 1)(2b + 1) j c
0, otherwise.
Series expansion of the arctangent term Now we apply the similar technique to the following arctangent
term
√ pq
arctan p̃ arctan(k/ p̃) = arctan r p + 1 arctan p
2 .
q2 + 1
In this case, the calculation turns out to be much easier.
∞ ∞
X (−1)c 2c X a 2a 2a
(−1) p q
arctan p̃ arctan(k/ p̃) = k
p̃
2c + 1 2a + 1 (q2 + 1)a
c=0 a=0
∞ X
∞ X
∞
(−1)a+c+ j a + j − 1 2c 2a 2a+2 j
X !
=k p̃ p q
a=0 c=0 j=0
(2a + 1)(2c + 1) j
∞ X ∞ X ∞ X ∞
(−1)a+c+ j a + j − 1 c 2a 2a+2l+2 j 2c
X ! !
=k p q r .
a=0 c=0 j=0 l=0
(2a + 1)(2c + 1) j l
Thus with the change of variable b = a + l + j,
∞ X ∞ X
b−a
∞ X ! !
X (−1)b+c+l b − l − 1 c 2a 2b 2c
arctan p̃ arctan(k/ p̃) = k p q r ,
(2a + 1)(2c + 1) b − a − l l
a=0 b=0 c=0 l=0
3
where the sum b−a l=0 is considered zero whenever b < a. Now applying the generating function method as in
P
(3.1) shows that
(−1)a+c
!
c−a
(2a + 1)(2c + 1) b − a , if b ≥ a
b−a b+c+l
! !
(−1) b−l−1 c
X
=
(3.2)
l=0
(2a + 1)(2c + 1) b − a − l l
0, otherwise.
we have to combine (3.1) and (3.2). (Here, we remark that Ã(p, q, r) is an odd function with respect to both p, q
and r. Thus the above expansion makes sense.) Let us introduce the discrete step function
1, n ≥ 0
H[n] =
0, n < 0,
With aid of this function, we can simply combine (3.1) and (3.2) to obtain
(−1)a−b H[a − c] a − b (−1)a−c H[b − a] c − a
! !
da,b,c = + . (3.3)
(2a + 1)(2b + 1) a − c (2a + 1)(2c + 1) b − a
The following result shows that this seemingly asymmetric formula yields a perfectly symmetric one.
Lemma 3.1. Suppose that a, b, c ≥ 0 and that da,b,c is the coefficient of p2a+1 q2b+1 r2c+1 in the series expansion
of Ã(p, q, r). Also let α ≤ β ≤ γ be a reordering of a, b, c. Then da,b,c , 0 only if (α, β, γ) = (a, b, c) or (b, c, a) or
(c, a, b), and in this case we have
2
, α=β=γ
+ 1)2
(2α
da,b,c =
(3.4)
(−1)γ−α γ−α
!
,
otherwise.
(2α + 1)(2γ + 1) β − α
Proof of Lemma. The proof adopts the divide and conquer method.
4
• Case 4. Assume c ≤ a < b or c < a ≤ b. Then we can put (α, β, γ) = (c, a, b) and
(−1)β−γ β−γ (−1)α−β α−β
! !
da,b,c = +
(2β + 1)(2γ + 1) β − α (2α + 1)(2β + 1) γ − β
Here, we remark that (3.4) immediately
follows if α = β or β = γ. So we may assume α < β < γ further.
Using the identity −nj = (−1) j n+ j−1j , this reduces to
(−1)γ−α γ−α−1 γ−α−1
" ! !#
da,b,c = (2α + 1) + (2γ + 1) .
(2α + 1)(2β + 1)(2γ + 1) β−α γ−β
To simplify the parenthesised terms, we use the identity k αk = α α−1
k−1 .
γ−α−1 γ−α−1
! !
(2α + 1) + (2γ + 1)
β−α γ−β
γ−α−1 γ−α−1 γ−α−1 γ−α−1
! ! " ! !#
= 2(α − β) + 2(γ − β) + (2β + 1) +
β−α γ−β γ−β β−α
γ−α−2 γ−α−2 γ−α
" ! !# !
= 2(γ − α − 1) − + (2β + 1)
γ−β−1 β−α−1 β−α
γ−α
!
= (2β + 1) .
β−α
This proves (3.4).
• Case 5. Assume b < a < c. Then (3.3) vanishes trivially.
• Case 6. Assume c < b < a. Then 0 < a − b < a − c and a−b a−c = 0. Thus (3.3) vanishes also in this case.
c−a
• Case 7. Assume a < c < b. Then 0 < c − a < b − a and b−a = 0. Thus (3.3) vanishes also in this case.
The lemma then says that, upon rewriting the indices as (α, β, γ) = (n, n + l, n + m) with m, n ≥ 0 and
0 ≤ l ≤ m, the Taylor series of Ã(p, q, r) is given by
∞ ∞ X ∞ X m
k2n+1 (−1)m
!
X X m 2n+1 2l 2m
Ã(p, q, r) = 2 + k (p q + q2l r2m + r2l p2m ).
n=0
(2n + 1) 2
n=0 m=1 l=0
(2n + 1)(2n + 2m + 1) l
Now applying the binomial theorem and simplifying further,
∞ X ∞
X (−1)m
Ã(p, q, r) = 2χ2 (k) + k2n+1 ( p̃2m + q̃2m + r̃2m )
n=0 m=1
(2n + 1)(2n + 2m + 1)
∞ ∞ Z 1
1 X X (−1)m 2n+1 2m
= 2χ2 (k) + k ( p̃ + q̃2m + r̃2m ) x2n (1 − x2m ) dx
2 n=0 m=1 m 0
∞
1 + p̃ x 1 + q̃ x 1 + r̃2 x2
Z 1 2 2 2 2
!
1 X
= 2χ2 (k) + k 2n+1 2n
x log · · dx
2 n=0 0 1 + p̃2 1 + q̃2 1 + r̃2
k 1 1 + p̃2 x2 1 + q̃2 x2 1 + r̃2 x2
Z !
1
= 2χ2 (k) + log · · dx
2 0 1 − k 2 x2 1 + p̃2 1 + q̃2 1 + r̃2
as desired, proving Theorem 1.1 for 0 < p, q, r < 1. Now the general result follows from the principle of analytic
continuation.
5
4 Properties of the Ahmed’s integral
In this section we consider various properties that are satisfied by the generalized Ahmed’s integrals.
Now we want to simply this further. The result (4.2) shows that it is of the key importance to resolve the
following integral
k 1 1 + p2 x 2
Z !
1
F(k, p) = log dt.
2 0 1 − k 2 x2 1 + p2
To this end, we temporarily assume k < 1 and use the technique of differentiation under integration. Indeed, it is
clear that F(k, 0) = 0. Then simple calculation using partial fractional decomposition shows that
∂ (1 − k2 )p artanh k k arctan p
F(k, p) = − 2 .
∂p (1 + p2 )(k2 + p2 ) k + p2
Integrating with respect to p, it follows that the former term reduces to a nice function
1 + (p/k)2
! Z p
1 k arctan t
F(k, p) = artanh(k) log − dt.
2 1+ p 2
0 k2 + t2
Thus the problem reduces to that of investigating the properties of the following integral
Z p
k arctan t
F̃(k, p) = dt. (4.3)
0 k2 + t2
We first make a brief remark. In view of our remarkable identity (4.1), the identity (4.2) now reduces to
π2
!
k−1
Ã(p, q, r) = + 2χ2 − F̃(k, p̃) − F̃(k, q̃) − F̃(k, r̃). (4.4)
4 k+1
Each term involved in this formula now defines analytic function near the domain {(p, q, r) ∈ C3 : p, q, r > 0}.
Thus we can expect a better behavior compared to (1.4) or (4.2). Indeed, applying integration by parts, we find
that F̃(k, p) satisfies the following formula
!
p 1 p
F̃(k, p) = arctan(p) arctan − F̃ , . (4.5)
k k k
6
In particular, if we plug k = 1 then it immediately follows that F̃(1, p) = 1
2 arctan2 p. Thus by (4.4), we obtain
π2 1 n o
A(p, q, r) = − arctan2 p̃ + arctan2 q̃ + arctan2 r̃ − arctan p̃ arctan(1/ p̃).
4 2
Then utilizing the simple property arctan(1/ p̃) = π2 − arctan p̃, we can simply this further and hence obtain the
following corollary.
Corollary 4.2. For any p, q, r > 0 satisfying pqr = 1, the following identity holds
π2 1
( ! )
1
A(p, q, r) = + arctan2 − arctan2 (q̃) − arctan2 (r̃) . (4.6)
8 2 p̃
The identity (4.7) itself gives special values of A for values (p, q, r) satisfying (p, q, r) = τ(p, q, r). This is
equivalent to pq = 1 and r = 1. Then k = 1 and we easily check that both Corollary 4.2 and Proposition 4.3 give
the same result. Thus the idea of using this proposition to obtain a special value ends up with no fruitful result,
except when A ◦ τ vanishes. This happens when one of the parameters goes to infinity. Indeed, if one onf p, q or
r tends to infinity, we have A ◦ τ → 0. Thus
√
π 1 r2 + 1
A(∞, q, r) = + arctan r − arctan
arctan p
2 r q2 + 1 qr
π pr
A(p, ∞, r) = arctan p ,
2 p2 + 1
π
A(p, q, ∞) = arctan q.
2
This completes the calculation of A(p, q, r) when k = ∞.
7
4.3 Application to the Coxeter’s integrals
In this section we consider another special family of integrals called the Coxeter’s integral. This integral is
originated from the problem posed by Prof. Coxeter in [Cox88].
Theorem 4.4. Suppose that a ≥ |b| and that a cos θ + b > 0 for θ ∈ (0, α). Then we have
Z α r r r r
cos θ + 1 a − b 1 − cos α 2 a + b
arctan dθ = 2A · , , . (4.8)
a cos θ + b a cos α + b a+b
0 2 a − b
Now let’s consider the following special cases of the Coxeter’s integrals:
Z π cos θ Z π cos θ
2 3
I1 = arccos dθ, I2 = arccos dθ,
Z0 π 1 + 2 cos θ ! Z0 π 1 + 2 cos θ !
2 1 3 1
I3 = arccos dθ, I4 = arccos dθ,
1 + 2 cos θ 1 + 2 cos θ
Z0 cos−1 (1/3) Z0 π
1 − cos θ 1 − cos θ
! !
3
I5 = arccos dθ, I6 = arccos dθ,
2 cos θ r2 cos θ
Z0 π r Z0 π
2 cos θ 3 cos θ
I7 = arccos dθ, I8 = arccos dθ.
0 1 + 2 cos θ 0 1 + 2 cos θ
8
By the half-angle formula for the cosine, for |A| < 1,
r r
A+1 1−A
arccos A = 2 arccos = 2 arctan .
2 1+A
Applying this to reduce the arc-cosine integrand to the corresponding arctangent integrand, we find that
Z α cos θ Z α r r
cos θ + 1 1 − cos α 1 √
dθ = 2 dθ = 4A , √ , 2 .
arccos arctan
0 1 + 2 cos θ 0 3 cos θ + 1 3 cos α + 1 2
This allows us to write I1 and I2 in terms of the Ahmed’s integral. Likewise,
Z α Z α r r
cos θ 1 − cos α √
!
1
arccos dθ = 2 arctan dθ = πα − 4A , 2, 1
1 + 2 cos θ cos θ + 1 2 cos α
0 0
for I3 and I4 ,
Z α Z α r r
1 − cos θ 3 cos θ − 1 2(1 − cos α)
!
1
arccos dθ = 2 arctan dθ = πα − 4A , 1, √
2 cos θ cos θ + 1 3 cos α − 1
0 0 2
for I5 and I6 , and finally
Z α r α
r r
cos θ cos θ + 1 1 − cos α √
Z
arccos dθ = arctan dθ = 2A , 2, 1
0 2 cos θ + 1 0 cos θ 2 cos α
for I7 and I8 . Applying these identities shows that all of I1 to I8 , except for I2 , reduce either to the case k = 1 or
to the case k = ∞. So we obtain the closed form for them.
Now we have only one remaining case I2 , which is also directly related to the original Coxeter’s integral in
[Cox88].
References
[Ahm02] Zafar Ahmed. Definitely an integral. Am. Math. Mon., 109:670–671, 2002.
[Cox88] H. S. M. Coxeter. A challenging definite integral. Am. Math. Mon., 95:330, 1988.