Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract
We give a closed formula for the nth derivative of arctan x. A new
expansion for
arctan x is also obtained and rapidly convergent series
for and 3 are derived.
Contents
1 Introduction 2
1
4 Rapidly convergent series for and 3 4
5 Summary 6
1 Introduction
The derivation of the nth derivative of arctan x is not straightforward (see
e.g [1, 2]). Efficient numerical computation of and related constants is
often dependent on finding rapidly converging series for the inverse tangent
function. Numerous interesting series and identities for , ranging from the
Gregory-Leibniz [3] formula through the Machin-Like formulas [4] to the
more recent BBP-type formulas [5], are derived by manipulating the inverse
tangent function. Of course there are also interesting series for whose
connections with the arctangent function may not be obvious. Examples
would be the numerous series for , discovered by Ramanujan [6].
In this paper we will give a closed formula for the nth derivative of arctan x. A
new series expansion
for arctan x will also be obtained and rapidly convergent
series for and 3 will be derived.
dn (1)n1 (n 1)!
1
(arctan x) = sin n arcsin , n Z+ .
dxn (1 + x2 )n/2 1 + x2
(2.1)
PROOF. It is convenient to make the right hand side of (2.1) more compact
by writing
1
sin = .
1 + x2
The formula then becomes
dn
(arctan x) = (1)n1 (n 1)! sinn sin n .
dxn
2
The existence of the derivatives follows from the analyticity of arctan x on the
real line. The proof of formula (2.1) is by mathematical induction. Clearly,
the theorem is true for n = 1. Suppose the theorem is true for n = k; that
is, suppose
dk
Pk : (arctan x) = (1)k1 (k 1)! sink sin k . (2.2)
dxk
We will show that the theorem is true for n = k + 1 whenever it is true for
n = k.
Differentiating both sides of (2.2) with respect to x and noting that d/dx = sin2 ,
we have
d dk
k
(arctan x) = (1)k k! sink+1 (cos sin k + cos k sin )
dx dx
= (1)k k! sink+1 sin(k + 1) ,
so that
dk+1
Pk+1 : (arctan x) = (1)k k! sink+1 sin(k + 1) .
dxk+1
Thus Pk Pk+1 and the proof is complete.
3
arctan x, so that the convergence is linear. Euler transformation gives the
form [7]:
X 22n (n!)2 x2n+1
arctan x = 2 )n+1
. (3.2)
n=0
(2n + 1)! (1 + x
The ratio test establishes easily that the series (3.2) converges for all real x,
giving R = . Formula (3.2) exhibits linear convergence.
The ratio test gives as condition for convergence of the series (3.3)
x
1 + x2 < 1 ,
4 Rapidly convergent series for and 3
In the notation of section 2, (3.3) can be written as
X1
= cosn sin n . (4.1)
2 n=1
n
4
On setting = /4, we obtain the series
X 1 n
= n/2
sin . (4.2)
4 n=1
2 n 4
Contrary to appearance, the right hand side contains no surd and does not
require the knowledge of for evaluation, since sin(n/4) can only take one
of five possible values:
1, n = 6, 14, 22, 30, . . .
1 , n = 5, 7, 13, 15, . . .
n 2
sin = 0, n = 4, 8, 12, 16, . . .
4
1 , n = 1, 3, 9, 11, . . .
2
1, n = 2, 10, 18, 26, . . .
Formula (4.3) is a base 4 BBP [9]-type formula. The original BBP formula
X 1 4 2 1 1
= ,
n=0
16n 8n + 1 8n + 4 8n + 5 8n + 6
discovered using the PSLQ algorithm [10] allows the nth hexadecimal digit of
to be computed without having to compute any of the previous digits and
without requiring ultra high-precision [5]. Formula (4.3) has also been ob-
tained earlier and is listed as formula (16) in Baileys compendium of known
BBP-type formulas [11].
A converging series for 3 can be derived by setting = /3 in (4.1),
obtaining
X 1 n
= nn
sin .
6 n=1
2 3
5
Again since
1, n = 1, 2, 7, 8, 13, 14, . . .
n 3
sin = 0, n = 0, 3, 6, 9, 12, 15, . . . ,
3 2
1, n = 4, 5, 10, 11, 16, 17, . . .
so that we have
9 X (1)n
4 2
3= + ,
8 n=0 8n 3n + 1 3n + 2
giving a base 8 BBP-type formula for 3.
5 Summary
We have given a closed form formula for the nth derivative of arctan x:
dn (1)n1 (n 1)!
1
(arctan x) = sin n arcsin ,
dxn (1 + x2 )n/2 1 + x2
n = 1, 2, 3, . . .
6
We also obtained a new expansion for arctan x, x (, ):
n/2
x2
X 1 1
arctan x = sin n arcsin .
n=1
n 1 + x2 1 + x2
Finally we derived rapidly convergent series for and 3:
(1)n
X 2 2 1
= + + ,
n=0
4n 4n + 1 4n + 2 4n + 3
9 X (1)n
4 2
3= +
8 n=0 8n 3n + 1 3n + 2
and
3n
9 X
3 16 24
3= (1)n +
64 n=0 4 (6n + 1) (6n + 2)
24 18 9
+ + + .
(6n + 3) 6n + 4 6n + 5
The generator of the BBP-type series is the formula
X1
= cosn sin n .
2 n=1
n
Acknowledgments.
KA is grateful to Prof. Angela Kunoth for encouragements. The authors wish
to acknowledge the anonymous reviewer, whose useful comments helped to
improve the quality of this work.
References
[1] R. Euler. Maclaurin expansion of arctan x via Lhospitals rule. Class-
room Capsules 24 (1993), 37350.
7
[3] P. Eymard and J.-P. Lafon. The number . American Mathematical
Society, page 53, 2004.
[7] D. Castellanos. The ubiquitous pi. part I. Math. Mag 61 (1988), 6798.