Next Article in Journal
Non-Instantaneous Impulsive BVPs Involving Generalized Liouville–Caputo Derivative
Previous Article in Journal
Financial Stability Control for Business Sustainability: A Case Study from Food Production
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New BBP-Type Formulae for π Derived from New Forms of Taylor Expansions of Inverse Tangent Function

School of Civil Engineering, Southeast University, Nanjing 211189, China
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(3), 290; https://doi.org/10.3390/math10030290
Submission received: 1 November 2021 / Revised: 6 January 2022 / Accepted: 14 January 2022 / Published: 18 January 2022

Abstract

:
In this work, we give two new Taylor expansions of arctan(x + ω), where ω represents a finite increment of x. We discover several remarkable infinite series from these expansions by special substitutions. Some of these infinite series give BBP-type formulae.

1. Introduction

In 1673, Leibniz obtained an elegant infinite series of π/4 that now bears his name [1], since then this field of mathematic began to attract widespread attentions among mathematicians. Leibniz’s work was primarily concerned with quadrature, the π/4 series resulted when he applied his method to the circle [2]. Later, Euler made the fundamental contributions to the theory of infinite series. He discovered a large number of infinite series [2,3,4,5,6,7]; these series give formulas for π as numerical results. Euler’s method of analysis has greatly improved the development of this branch of mathematics.
In 1997, David Bailey, Peter Borwein, and Simon Plouffe discovered a striking formula for π [8], and it can be used to generate the nth base-16 digit of π without having to look at any prior digit [9]. A formula of this type is now called “BBP-type formula”. After that, many researchers denoted themselves into this field; Chan [10] gave BBP-type formulas involving the golden ratio; Adegoke [11,12], Bailey-Borweins-Plouffe [13,14], Chan [15,16], Wei [17], Zhang [18,19], Guillera [20], and Takahashi [21,22,23] have found many new BBP-type formulas.
The BBP-type formula was originally discovered by numerical methods; the authors first supposed that such a formula exists and then searched for it using high-precision approximate reals, a high-performance SGI workstation, and the PSLQ algorithm. Many researchers obtained new formulas by this method [9,12,13,14,23,24,25]; it is worthwhile to note that Takahashi [22] proposed a method of using Montgomery multiplication in the computation of a binary BBP-type formula. However, this is not the only method to find the BBP-type formula. Indeed, the numerical method is not priori because it can provide only the formula but not the origin of the formula. For this reason, when a BBP-type formula is discovered via an algorithm, we still need to provide a mathematical proof to make the result rigorous. The second method to find a BBP-type formula is based on the theory of calculus and infinite series. In this method, we need to firstly find infinite series, and their numerical results are BBP-type formulas. It can be clearly seen that these infinite series are the real origin of BBP-type formulas, and thus the method is priori. Some researchers find new formulas by this method; Adegoke [11], Wei [17], and Chan [10,15,16] gave new BBP-type formulas by integral calculus, with some of the formulas involving the golden ratio; Zhang [18] discovered many new BBP-type formulas with different moduli by the expansion of arctan a / x 1 ; Bailey [26] made a systematic summary of the origin and development of BBP-type formulas. It is especially worthwhile to note that the inverse tangent function is closely related to the second method, useful infinite series can be obtained from the study of it [18]. Indeed, the well-known Gregory series can be seen as the simplest series of this type, and it is the infinite series of the inverse tangent function.
In this paper, we will give two new Taylor’s expansions of arctan(x + ω). These expansions have clear structures and certain laws of the progressions. We find several new infinite series from these expansions, and their numerical results are BBP-type formulas. It is worthwhile to note that Gregory’s series and Leibniz’s formula for π can also be deduced from the new expansions. In addition, we also find other infinite series; although they can not provide new BBP-type formulas, they are remarkable for their simplicity and regularity.

2. New Taylor Expansion of arctan(x + ω)

Let y = arctan x , if x changes by a finite increment ω, according to the well-known Taylor’s expansion, we can represent the value of y at x + ω as
arctan ( x + ω ) = arctan x + n = 1 ω n d n y d x n
Since y = arctan x , we have
d y d x = 1 1 + x 2 , d 2 y d x 2 = 2 x 1 + x 2 2 , d 3 y d x 3 = 6 x 2 2 1 + x 2 3 , d 4 y d x 4 = 24 x 3 + 24 x 1 + x 2 4 d 5 y d x 5 = 120 x 4 240 x 2 + 24 1 + x 2 4 , ;
Hence,
arctan x + ω = arctan x + ω 1 + x 2 ω 2 x ( 1 + x 2 ) 2 + ω 3 ( x 2 1 / 3 ) ( 1 + x 2 ) 3 ω 4 ( x 3 x ) ( 1 + x 2 ) 4 +
This series, since the expression has no certain law, can provide nothing valuable to us. Nevertheless, it can be transformed into another form, whose structure is immediately clear. This new expansion can be suitably seen as a theorem, and, for this aim, we need to firstly introduce a lemma.
Lemma 1. 
Suppose u = π / 2 arctan x , y = arctan x , then
d n y d x n = ( 1 ) n 1 ( n 1 ) ! sin n u sin n u
Here, n N + .
Proof. 
Since u = π / 2 arctan x , i.e., x = cot u , it will be
d y d x = 1 1 + x 2 = sin 2 u ,
or
d y = sin 2 u d x ;
Take the differential of the formula, and we have
d 2 y = sin 2 u d u d x ,
since x = cot u , d u = sin 2 u d x , substitute the expression for du in this formula, and it will be
d 2 y = sin 2 u sin 2 u d x 2 ;
Take the differential of this formula and substitute du for sin 2 u d x , and it will be
d 3 y = 2 sin 3 u sin 3 u d x 3 .
Similarly, continuing for higher differentials of y, we have
d y d x = + sin u sin u , d 2 y d x 2 = sin 2 u sin 2 u , d 3 y d x 3 = + 2 ! sin 3 u sin 3 u , d 4 y d x 4 = 3 ! sin 4 u sin 4 u , d 5 y d x 5 = + 4 ! sin 5 u sin 5 u , d 6 y d x 6 = 5 ! sin 6 u sin 6 u ,
From this, it can be easily seen that the proof of lemma is based on induction.
For n = 1 , the lemma is apparently correct.
Supposing
d n y d x n = ( 1 ) n 1 ( n 1 ) ! sin n u sin n u ,
we just need to differentiate this formula to determine dn+1y/dxn+1, and it will be
d n + 1 y d x n = ± n ! sin n 1 u sin ( n + 1 ) u d u ,
substituting du for sin 2 u d x in the expression, we have
d n + 1 y d x n + 1 = n ! sin n + 1 u sin ( n + 1 ) u .
This finishes the proof. □
By Lemma 1, substitute Formula (2) into Series (1), and we have the following theorem.
Theorem 1. 
Suppose ω is an arbitrary finite increment of the variable x, then
arctan ( x + ω ) = arctan x + n = 1 ( 1 ) n 1 ω n n sin n u sin n u

3. BBP-Type Formulas for π

According to Theorem 1, we can obtain many remarkable corollaries, each corollary giving an infinite series and BBP-type formula for π. Firstly, it is worthwhile to note that the well-known Gregory series [1], and thus the Leibniz’s Formula for π [2] can also be deduced from this theorem. Thus, it can be seen as a new proof of this famous series and formula, as the following corollary.
Corollary 1. 
Suppose ω is an arbitrary finite quantity, then
arctan ω = n = 0 ( 1 ) n ω 2 n + 1 2 n + 1
Here, n N .
Proof. 
In Theorem 1, let x = 0 , then arctan 0 = 0 , u = π / 2 , hence
sin u = 1 , sin 2 u = 0 , sin 3 u = 1 , sin 4 u = 0 , ;
The sines of nu take a cycle with a period 4; substituting these values in Series (3), we obtain Series (4).
In addition, this finishes the proof. □
Remark 1. 
As it is known, this is the Gregory series [1], taking   ω = 1 in it gives Leibniz’s Formula for π [2]:
π 4 = n = 0 ( 1 ) n 2 n + 1
Corollary 2. 
Suppose ω is an arbitrary finite quantity, then
arctan ( 1 + ω ) = π 4 + 1 2 k = 0 1 2 4 k ω 8 k + 1 8 k + 1 ω 8 k + 2 8 k + 2 + ω 8 k + 3 2 ( 8 k + 3 ) ω 8 k + 5 2 2 ( 8 k + 5 ) + ω 8 k + 6 2 2 ( 8 k + 6 ) ω 8 k + 7 2 3 ( 8 k + 7 )
Here, k N .
Proof. 
In Theorem 1, let x = 1 , then   arctan 1 = π / 4 , u = π / 4 , hence
sin u = 1 2 , sin 2 u = 1 , sin 3 u = 1 2 , sin 4 u = 0 , sin 5 u = 1 2 , sin 6 u = 1 , sin 7 u = 1 2 , sin 8 u = 0 , ;
The sines of nu take a cycle with a period 8 here; substituting these values in Series (3), we obtain Series (6).
In addition, this finishes the proof. □
Remark 2. 
Put  ω = 1  in Series (6), and it will be
π 4 = 1 2 k = 0 1 16 k 1 8 k + 1 + 1 8 k + 2 + 1 2 ( 8 k + 3 ) 1 2 2 ( 8 k + 5 ) + 1 2 2 ( 8 k + 6 ) 1 2 3 ( 8 k + 7 )
This is a BBP-type formula, by the notation of P function introduced by Bailey [22]:
P ( s , b , m , A ) = k = 0 1 b k j = 1 m a j ( m k + j ) s
Here, s , b , m N + and A = ( a 1 , a 2 , , a j ) , where a i N , i = 1 , 2 , , j ; this formula can be expressed as
π 4 = 1 2 P 1 , 16 , 8 , ( 1 , 1 , 2 1 , 0 , 2 2 , 2 2 , 2 3 , 0 )
or
π = P 1 , 16 , 8 , ( 2 , 2 , 1 , 0 , 2 1 , 2 1 , 2 2 , 0 )
Remark 3. 
The original BBP formula for π found by Plouffe [8] is:
π = P 1 , 16 , 8 , ( 4 , 0 , 0 , 2 , 1 , 1 , 0 , 0 )
Thus, it can be clearly seen that Formula (10) converges more rapidly, the speed of convergence is determined only byajin this case, andajin Formula (10) are smaller.
Remark 4. 
Series (6) can be expressed more concisely as
arctan ( 1 + ω ) = π 4 + 1 2 k = 0 ω 4 k + 1 ( 4 ) k 1 4 k + 1 ω 4 k + 2 + ω 2 2 ( 4 k + 3 )
Put ω = 1 in this series, and we have
π = k = 0 1 ( 4 ) k 2 4 k + 1 + 2 4 k + 2 + 1 4 k + 3
In addition, it can be expressed by P function as
π = P 1 , 4 , 4 , ( 2 , 2 , 1 , 0 )
This BBP-type formula was first discovered by Victor Adamchik and Stan Wagon via algorithm [9]. We discover this formula in an absolute different approach.
Remark 5. 
It is reasonable to name the series like (12) “BBP-type series”, whose structure is exactly the same as the BBP-type formula. Indeed, Series (12) can be written as
arctan ( 1 + ω ) = π 4 + 1 2 k = 0 1 ( 4 ) k ω 4 k + 1 4 k + 1 ω 4 k + 2 4 k + 2 + ω 4 k + 3 2 ( 4 k + 3 )
If we introduce a new functionWsimilar with function P:
W ( ω , s , b , m , A ) = k = 0 1 b k j = 1 m a j ω m k + j ( m k + j ) s
Here s , b , m N + and A = a 1 , a 2 , , a j , where a i N ,   i = 1 , 2 , , j , and ω is an arbitrary finite quantity; then, Series (12), which gives BBP-type Formula (14) as a numerical result, can be expressed now byWfunction as
arctan ( 1 + ω ) = π 4 + 1 2 W ω , 1 , 4 , 4 , ( 1 , 1 , 1 , 0 )
Remark 6. 
It is worthwhile to note that, from this point of view, Gregory Series (4) is the simplest BBP-type series, and it can be expressed by W function as
arctan ω = W ω , 1 , 2 , 1 , ( 1 , 0 )
In addition, Leibniz’s formula for π is the simplest BBP-type formula:
π 4 = P 1 , 2 , 1 , ( 1 , 0 )
According to the remarks of Corollary 2 above, especially theWfunction in Remark 5, we give the following corollaries of Theorem 1.
Corollary 3. 
Suppose ω is an arbitrary finite quantity, then
arctan ( 3 + ω ) = π 3 + 1 4 W ω , 1 , 64 , 6 , ( 1 , 3 2 , 1 2 , 3 2 3 , 1 2 4 , 0 )
Proof. 
In Theorem 1, put x = 3 , then arctan 3 = π / 3 , u = π / 6 , hence
sin u = 1 2 , sin 2 u = 3 2 , sin 3 u = 1 , sin 4 u = 3 2 , sin 5 u = 1 2 , sin 6 u = 0 , sin 7 u = 1 2 , sin 8 u = 3 2 , sin 9 u = 1 , sin 10 u = 3 2 , sin 11 u = 1 2 , sin 12 u = 0 , ;
The sines of nu take a cycle with a period 12 here; substituting these values in Series (3), we have
arctan ( 3 + ω ) = π 3 + 1 4 k = 0 1 2 12 k ω 12 k + 1 12 k + 1 3 ω 12 k + 2 12 k + 2 + ω 12 k + 3 2 ( 12 k + 3 ) 3 ω 12 k + 4 2 3 ( 12 k + 4 ) + ω 12 k + 5 2 4 ( 12 k + 5 ) ω 12 k + 7 2 6 ( 12 k + 7 ) + 3 ω 12 k + 8 2 7 ( 12 k + 8 ) ω 12 k + 9 2 7 ( 12 k + 9 ) + 3 ω 12 k + 10 2 9 ( 12 k + 10 ) ω 12 k + 11 2 10 ( 12 k + 11 )
This series can be expressed more concisely as
arctan ( 3 + ω ) = π 3 + 1 4 k = 0 1 ( 64 ) k ω 6 k + 1 6 k + 1 3 ω 6 k + 2 2 ( 6 k + 2 ) + ω 6 k + 3 2 ( 6 k + 3 ) 3 ω 6 k + 4 2 3 ( 6 k + 4 ) + ω 6 k + 5 2 4 ( 6 k + 5 )
By the use of W function, this series can be written as (20), and here the sequence A = a 1 , a 2 , , a j in W function is not restricted in integers, but generalized to all real numbers, i.e., a i R ,   i = 1 , 2 , , j .
This finishes the proof. □
Remark 7. 
Put ω = 3 in Series (20), and we obtain a new BBP formula:
π 3 3 = k = 0 27 64 k 1 2 2 ( 6 k + 1 ) + 3 2 2 ( 6 k + 2 ) + 3 2 3 ( 6 k + 3 ) + 3 2 2 5 ( 6 k + 4 ) + 3 2 2 6 ( 6 k + 5 )
This formula shows thatbin P function should be generalized from integers to rational numbers, i.e., b Q ; then, Formula (23) can be written by P function as
π 3 3 = P 1 , 27 64 , 6 , ( 2 2 , 2 2 , 2 3 , 2 5 , 2 6 , 0 )
It can be clearly seen that this BBP-type formula for π converges much more rapidly than Formulas (10) and (11).
Corollary 4. 
Suppose ω is an arbitrary finite quantity, then
arctan ( 1 3 + ω ) = π 6 + 3 4 W ω , 1 , 3 3 8 , 3 , ( 1 , 3 2 , 0 )
Proof. 
In Theorem 1, put x = 1 / 3 , then arctan 1 / 3 = π / 6 , u = π / 3 , thus
sin u = 3 2 , sin 2 u = 3 2 , sin 3 u = 0 , sin 4 u = 3 2 , sin 5 u = 3 2 , sin 6 u = 0 , ;
The sines of nu take a cycle with a period 6 here; substituting these values in Series (3), we have
arctan ( 1 3 + ω ) = π 6 + 3 4 k = 0 3 2 6 k ω 6 k + 1 6 k + 1 3 ω 6 k + 2 2 ( 6 k + 2 ) + 3 3 ω 6 k + 3 2 3 ( 6 k + 4 ) 3 4 ω 6 k + 4 2 4 ( 6 k + 5 )
This series can be expressed more concisely as
arctan ( 1 3 + ω ) = π 6 + 3 4 k = 0 3 3 8 k ω 3 k + 1 3 k + 1 3 ω 3 k + 2 2 ( 3 k + 2 )
By the use of the W function, it can be written as (25), and here b in W function is generalized to real numbers, i.e., b R .
In addition, this finishes the proof. □
Remark 8. 
Generally, we conclude that it is convenient and necessary to generalize b and A in both W function and P function from integers to real numbers, i.e., s , m N + , b R , and  A = a 1 , a 2 , , a j , where a i R ,   i = 1 , 2 , , j .
Remark 9. 
Put ω = 1 / 3 in Series (25), and we have another new BBP formula:
π 3 3 = k = 0 1 ( 8 ) k 1 2 ( 3 k + 1 ) + 1 2 2 ( 3 k + 2 )
or
π 3 3 = P 1 , 8 , 3 , ( 2 1 , 2 2 , 0 )

4. Infinite Series Deduced from Series (3)

In the preceding section, we obtained several corollaries of Theorem 1, and each of them gave a BBP-type formula. In this section, nevertheless, we will give several corollaries that are different from the previous ones; these corollaries give new infinite series.
Corollary 5. 
Suppose u 0 ,   π , then
π 2 = u + n = 1 1 n cos n u sin n u
Here, n N .
Proof. 
In Theorem 1, put ω = x , arctan ( x + ω ) = 0 , then we have
arctan x = n = 1 x n n sin n u sin n u
Since
arctan x = π 2 u   and   x = cot u = cos u sin u ,
Substitute these values in (31), and it will be
π 2 = u + n = 1 1 n cos n u sin n u .
This series is not valid for all values of u. Indeed, y = arctan x is a multi-valued function; for instance, arctan 1 = π / 4 , but we also have arctan 1 = 9 π / 4 ,   17 π / 4 , , which means, when the variable x equals different values, the function y can take the same value. This makes the differential calculus does not work, as it is known. Thus, we have to choose an interval of y in which y is a single-valued function, i.e., y π / 2 , π / 2 . Furthermore, when we set ω = x = 0 in Series (3), both sides of the equation vanish, whence the substitution loses its meaning in the derivation. Thus, x 0 , this also means y 0 because y = arctan x . Therefore, we limit y in the interval 0 , π / 2 ; thus, series (30) are valid when y 0 , π / 2 , which also means u 0 , π / 2 because u = π / 2 y . In addition, the equation retains the same when we substitute u for π u , for
1 n cos n ( π u ) sin ( n π n u ) = 1 n ( cos n u ) sin n u = 1 n cos n u sin n u ,
when n are odd numbers; and
1 n cos n ( π u ) sin ( n π n u ) = 1 n cos n u ( sin n u ) = 1 n cos n u sin n u ,
when n are even numbers. Thus,
1 n cos n ( π u ) sin ( n π n u ) = 1 n cos n u sin n u , n N + .
Substitute this expression and u for π u in the right-hand side of the equation, it can be found that the equation retains the same. Hence, the interval of u should be 0 , π .
In addition, this finishes the proof. □
Remark 10. 
It is interesting to write Series (30) in another form:
u = π 2 n 1 1 n cos n u sin n u
This is a trigonometric expansion ofuin the interval 0 , π , hence it may have a relation to the Fourier series. Indeed, according to the well-known Euler’s formula:
e i θ = cos θ + i sin θ ,
we have:
cos n u = 1 2 n ( e i u + e i u ) n = 1 2 n k = 0 n n k e ( n k ) i u e k i u = 1 2 n k = 0 n n k e ( n 2 k ) i u ,
sin n u = 1 2 i ( e n i u e n i u ) ,
thus, each factor in the series has the form
cos n u sin n u = 1 2 n + 1 i k = 0 n n k ( e ( 2 n 2 k ) i u e 2 k i u ) = 1 2 n + 1 i k = 1 n n k ( e 2 k i u e 2 k i u ) = 1 2 n k = 1 n n k sin ( 2 k u ) .
If we set
c k = n = k 1 2 n n k ,   where   n , k N + ;
then Series (32) can be written as
u = π 2 k = 1 c k sin ( 2 k u ) .
Remark 11. 
If we put u = π / 4 in Series (30), a BBP-type formula will be found:
π = k = 0 1 ( 4 ) k 2 4 k + 1 + 2 4 k + 2 + 1 4 k + 3 ,
which is the same as Formula (13), taking other specific values for u will not give new BBP-type formulas too. Indeed, Series (30) is deduced from Series (3), thus every numerical result of (30) will be the same as the corresponding numerical result of (3).
Although we cannot obtain more BBP-type formulas from series (3), it is still worthwhile to find new infinite series from it, and these series are themselves remarkable for their simplicity, as the following corollaries.
Corollary 6. 
Suppose u 0 ,   π / 2 , then
π 2 = n = 1 sin n u n cos n u
Here, n N .
Proof. 
In Theorem 1, put
ω = x 1 x = 1 sin u cos u ,
then
arctan x + ω = arctan 1 x = π 2 + arctan x ,
substitute these values in Series (3), and we have
π 2 = n = 1 sin n u n cos n u .
Since this derivation is based on the substitution
ω = x 1 x ,
x 0 , which means y 0 . According to the same illustration in Corollary 5, this series is valid at u 0 , π / 2 . □
Corollary 7. 
Suppose u 0 , π , then
π 2 = u 2 + n = 1 sin n u n
Here, n N + .
Proof. 
In Theorem 1, put
ω = 1 + x 2 ,
then
ω = 1 sin u   and   arctan x 1 + x 2 = 1 2 arctan 1 x = u 2 ,
substitute these values in Series (3), and we have Series (34). Since this derivation is based on the substitution
ω = 1 + x 2 = 1 sin u ,
it is apparent that u 0 , whence ω = thus loses its meaning. Furthermore, according to the same illustration in Corollary 5, it should be y π / 2 ,   π / 2 . Therefore, π / 2 y = u 0 , π .
In addition, this finishes the proof. □
Remark 12. 
This series is indeed the Fourier expansion of u in interval 0 , 2 π . As it is known, the Fourier series of any function f u which satisfies Dirichlet’s conditions in interval α , α + 2 π generally has the form:
a 0 2 + m = 1 ( a m cos m u + b m sin m u ) ,
where m N + and
a 0 = 1 π α α + 2 π f ( u ) d u , a m = 1 π α α + 2 π f ( u ) cos m u d u , b m = 1 π α α + 2 π f ( u ) sin m u d u .
Hence, the coefficients of the Fourier series of f u = u (which satisfies Dirichlet’s conditions) in the interval 0 ,   2 π will be
a 0 = 1 π 0 2 π u d u = 2 π a m = 1 π 0 2 π u cos m u d u = u sin u x m π 0 2 π + 1 m π 0 2 π sin m u d u = 0 b m = 1 π 0 2 π u sin m u d x = u cos m u m π 0 2 π + 1 m π 0 2 π cos m u d u = 2 m
Thus, we have the Fourier series:
u 2 = π 2 sin u 1 sin 2 u 2 sin 3 u 3 sin 4 u 4 sin 5 u 5
This series is exactly the same as Series (34) in the form. The only difference is, according to Fourier analysis, this formula is valid in the interval 0 ,   2 π , but the interval 0 ,   π is according to our method.
Remark 13. 
If these Series (32), (33), and (34) are differentiated respectively, we obtain new infinite series again:
1 + n = 0 cos n u cos ( n + 2 ) u = 0
1 + n = 1 cos n u cos n u = 0
1 2 + n = 1 cos n u = 0
Here, n N in Series (35) and n N + in Series (36) and (37); these series hold at the same interval with their primitive series, which is Series (32), (33), and (34), respectively.
Remark 14. 
We shall note that it is interesting and useful to check these series by taking u as specific values, which will immediately show the structure of the series. For instance, put u = π / 4 in Series (35), and the right side of the equation will be
1 1 2 1 2 1 2 2 + 1 2 3 + 1 2 3 + 1 2 4 1 2 5 1 2 5 1 2 6 + 1 2 7 + 1 2 7 + ,
or
1 + 1 2 4 + 1 2 8 + 2 1 2 + 1 2 5 + 1 2 9 + + 2 1 2 3 + 1 2 7 + 1 2 11 + 1 2 2 + 1 2 6 + 1 2 10 + ,
which vanishes apparently.

5. Another New Taylor Expansion of arctan(x + ω)

In this section, we will give another new Taylor series of arctan(x + ω) as a theorem. According to a similar reason as the Remark 11 of Corollary 5, we can not obtain new BBP-type formulas from this new expansion, but the infinite series deduced from it still deserves our attention. For this aim, we need a new lemma as follows:
Lemma 2. 
Suppose v = y = arctan x , then
d 4 k + 1 y d x 4 k + 1 = + 4 k ! cos 4 k + 1 v cos 4 k + 1 v , d 4 k + 2 y d x 4 k + 2 = 4 k + 1 ! cos 4 k + 2 v sin 4 k + 2 v , d 4 k + 3 y d x 4 k + 3 = 4 k + 2 ! cos 4 k + 3 v cos 4 k + 3 v , d 4 k + 4 y d x 4 k + 4 = + 4 k + 3 ! cos 4 k + 2 v sin 4 k + 4 v ;
Here, k N .
Proof. 
We consider to express derivatives of y as functions of y itself this time, but, for clarity, we use v to represent y, i.e., v = arctan x . Indeed,
d y d x = 1 1 + x 2 = 1 1 + tan 2 v = cos 2 v ,
or
d y = cos 2 v d x ,
taking the differential of it, we have
d 2 y = sin 2 v d v d x ,
since v = arctan x , then d v = cos 2 v d x , thus
d 2 y = cos 2 v sin 2 v d x 2 ;
Similarly, taking the differential of this formula, we have
d 3 y = 2 cos v cos 3 v d v d x 2 ,
substitute d v for c o s 2 v d x , and it will be
d 3 y = 2 cos 3 v cos 3 v d x 3 .
In the same manner, continuing for higher differentials of y, we have
d y d x = cos v cos v d 2 y d x 2 = cos 2 v sin 2 v d 3 y d x 3 = 2 ! cos 3 v cos 3 v d 4 y d x 4 = + 3 ! cos 4 v sin 4 v d 5 y d x 5 = + 4 ! cos 5 v cos 5 v d 6 y d x 6 = 5 ! cos 6 v sin 6 v d 7 y d x 7 = 6 ! cos 7 v cos 7 v d 8 y d x 8 = + 7 ! cos 8 v sin 8 v , ;
Therefore, the proof is also based on induction like Lemma 1.
For k = 1 , Formula (38) is apparently correct.
Suppose
d 4 k + 1 y d x 4 k + 1 = + 4 k ! cos 4 k + 1 v cos 4 k + 1 v ,
taking the differential of it, we have
d 4 k + 2 y d x 4 k + 1 = 4 k + 1 ! cos 4 k v sin 4 k + 2 v d v ,
since d v = cos 2 v d x , it will be
d 4 k + 2 y d x 4 k + 2 = 4 k + 1 ! cos 4 k + 2 v sin 4 k + 2 v ;
In the same manner, taking the differential continuously and substitute d v for cos 2 v d x , we have
d 4 k + 3 y d x 4 k + 3 = 4 k + 2 ! cos 4 k + 3 v cos 4 k + 3 v ,
d 4 k + 4 y d x 4 k + 4 = + 4 k + 3 ! cos 4 k + 4 v sin 4 k + 4 v ,
d 4 k + 5 y d x 4 k + 5 = + 4 k + 5 ! cos 4 k + 5 v sin 4 k + 5 v ,
the last one is the same as
d 4 k + 1 y d x 4 k + 1 = + 4 k + 1 ! cos 4 k + 1 v sin 4 k + 1 v .
In addition, this finishes the proof. □
By Lemma 2, substitute Formula (2) into Series (1), and we have another new Taylor expansion of arctan(x + ω) as the following theorem.
Theorem 2. 
Suppose ω is an arbitrary finite increment of the variable x, then
arctan ( x + ω ) = arctan x + k = 0 ω 4 k + 1 4 k + 1 cos 4 k + 1 v cos ( 4 k + 1 ) v ω 4 k + 2 4 k + 2 cos 4 k + 2 v sin ( 4 k + 2 ) ω 4 k + 3 4 k + 3 cos 4 k + 3 v cos ( 4 k + 3 ) v + ω 4 k + 4 4 k + 4 cos 4 k + 4 v sin ( 4 k + 4 ) v
Here, k N .
Corollary 8. 
Suppose v π / 2 , π / 2 , then
v = n = 0 sin 4 n + 1 v cos ( 4 n + 1 ) v 4 n + 1 + sin 4 n + 2 v sin ( 4 n + 2 ) v 4 n + 2 sin 4 n + 3 v cos ( 4 n + 3 ) v 4 n + 3 sin 4 n + 4 v sin ( 4 n + 4 ) v 4 n + 4
Here, n N .
Proof. 
In Theorem 2, put ω = x in Series (39), and we have
v = n = 0 x 4 n + 1 4 n + 1 cos 4 n + 1 v cos ( 4 n + 1 ) v + x 4 n + 2 4 n + 2 cos 4 n + 2 v sin ( 4 n + 2 ) v x 4 n + 3 4 n + 3 cos 4 n + 3 v cos ( 4 n + 3 ) v x 4 n + 4 4 n + 4 cos 4 n + 4 v sin ( 4 n + 4 ) v
Since v = arctan x , substitute x = tan v = sin v / cos v in Series (41), and we obtain Series (40). According to the same illustration in the Corollary 5, it should be y 0 , π / 2 , thus v 0 , π / 2 because v = y . In addition, it can be easily seen that the equation in this corollary stays the same when we substitute v for v , thus the interval of v should be π / 2 ,   π / 2 .
In addition, this finishes the proof. □
Corollary 9. 
Suppose v 0 , π / 2 , then
π 2 = n = 0 cos ( 4 n + 1 ) v ( 4 n + 1 ) sin 4 n + 1 v + sin ( 4 n + 2 ) v ( 4 n + 2 ) sin 4 n + 2 v cos ( 4 n + 3 ) v ( 4 n + 3 ) sin 4 n + 3 v sin ( 4 n + 4 ) v ( 4 n + 4 ) sin 4 n + 4 v
Here, n N .
Proof. 
In Theorem 2, put
ω = x 1 x = 1 sin v cos v ,
then
arctan x + ω = arctan 1 x = π 2 + arctan x ,
substitute these values in Series (39), and we obtain Series (42). According to the same illustration in the proof of Corollary 6, it should be y 0 , π / 2 , thus v 0 , π / 2 because v = y .
This finishes the proof. □
Corollary 10. 
Suppose v π / 2 , π / 2 , then
π 4 = v 2 + n = 0 cos ( 4 n + 1 ) v 4 n + 1 + sin ( 4 n + 2 ) v 4 n + 2 cos ( 4 n + 3 ) v 4 n + 3 sin ( 4 n + 4 ) v 4 n + 4
Here, n N .
Proof. 
In Theorem 2, put
ω = 1 + x 2 ,
since now
ω = 1 cos v   and   arctan x 1 + x 2 = 1 2 arctan 1 x = v 2 π 4 ,
substituting these values in Series (39), and we obtain Series (43). According to the same illustration in the proof of Corollary 7, it should be y π / 2 , π / 2 , thus v π / 2 , π / 2 because v = y . □
Remark 15. 
It is interesting and maybe curious rather than useful to note that Leibniz’s π / 4 formula can also be obtained from this series, by setting v = 0 .
Remark 16. 
Take the differentials of Series (40), (42), (43), respectively, and we have new series again:
1 = n = 0 sin 4 n v cos ( 4 n + 2 ) v + sin 4 n + 1 v sin ( 4 n + 3 ) v sin 4 n + 2 v cos ( 4 n + 4 ) v sin 4 n + 3 v sin ( 4 n + 5 ) v
0 = n = 0 cos ( 4 n ) v sin 4 n + 2 v + sin ( 4 n + 1 ) v sin 4 n + 3 v cos ( 4 n + 2 ) v sin 4 n + 4 v sin ( 4 n + 3 ) v sin 4 n + 5 v
1 2 = n = 0 sin ( 4 n + 1 ) v cos ( 4 n + 2 ) v sin ( 4 n + 3 ) v + cos ( 4 n + 4 ) v
Here, n N , these series are valid at the same intervals with their primitive series, i.e., Series (40), (42), and (43), respectively.

6. Conclusions

In this study, we propose two new Taylor expansions of arctan(x + ω). These new expansions have clear structure and exhibit certain law of progression. We obtain several remarkable infinite series from them by specific substitutions. These infinite series give new BBP-type formulas.
It is known that the BBP-type formula was found firstly by using the PSLQ algorithm. However, this is not the only approach. Indeed, this numerical method is not priori because it can only provide the formula as a result but not reveal the origin of it. For this reason, when a BBP formula was discovered by algorithm, we still need a mathematical proof to make the conclusion rigorous. The second approach, which is also what we adopted, is to find infinite series firstly, and their numerical results give BBP-type formulas. Thus, this approach is priori, and it is generally based on calculus. It is significant and useful to realize the difference of these two approaches. In addition, it should be noted that the inverse tangent function is generally related to the second approach. Indeed, Gregory’s series can be seen as the simplest series of this type, and it is the infinite series of arctan x , when x = 1 ; this series gives Leibniz’s formula.

Author Contributions

Conceptualization, X.W.; methodology, X.W.; validation, X.W., Z.C. and Y.Z.; formal analysis, X.W. and Y.Z.; investigation, X.W.; resources, X.W.; writing—original draft preparation, X.W. and Y.Z.; writing—review and editing, X.W. and Y.Z.; visualization, X.W., Z.C. and Y.Z.; supervision, Z.C. and Y.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Roy, R. The Discovery of the Series Formula for π by Leibniz, Gregory and Nilakantha. Math. Mag. 1990, 63, 291–306. [Google Scholar] [CrossRef]
  2. Euler, L. Introduction to Analysis of the Infinite; Springer: New York, NY, USA, 1988. [Google Scholar]
  3. Euler, L. De summis serierum reciprocarum. Comment. Acad. Sci. Petropolitanae. 1740, 7, 123–134. [Google Scholar]
  4. Euler, L. Institutiones Calculi Differentialis Cum Eius usu in Analysi Finitorum ac Doctrina Serierum; Academiae Imperialis Scientiarum Petropolitanae: London, UK, 1755; Volume 2, chapter III. [Google Scholar]
  5. Euler, L. Institutionum Calculi Integralis Volumen Primum; Academiae Imperialis Scientiarum Petropolitanae: London, UK, 1768; Volume 1, chapter III. [Google Scholar]
  6. Euler, L. De variis modis circuli quadraturam numeris proxime exprimendi. Comment. Acad. Sci. Petropolitanae 1744, 9, 222–236. [Google Scholar]
  7. Euler, L. Demonstration de la somme de cette suite 1 + 1/4 + 1/9 + 1/16 +... J. Litt. D’allemagne Suisse Du Nord 1743, 2, 115–127. [Google Scholar]
  8. Bailey, D.H.; Borwein, P.; Plouffe, S. On the rapid computation of various polylogarithmic constants. Math. Comp. 1997, 66, 903–913. [Google Scholar] [CrossRef] [Green Version]
  9. Adamchik, V.; Wagon, S. A Simple Formula for Pi. Amer. Math. Mon. 1997, 104, 852–855. [Google Scholar] [CrossRef]
  10. Chan, H.C. π in terms of φ. Fibonacci Quart. 2006, 44, 141–144. [Google Scholar]
  11. Adegoke, K. A non-PSLQ route to BBP-type formulas. arXiv 2016, arXiv:10.5539/jmr.v2n2p56. [Google Scholar] [CrossRef] [Green Version]
  12. Adegoke, K. Symbolic routes to BBP-type formulas of any degree in arbitrary bases. Appl. Math. Inf. Sci. 2011, 5, 264–275. [Google Scholar]
  13. Bailey, D.H.; Borwein, J. Experimental mathematics: Examples, methods and implications. Not. Amer. Math. Soc. 2005, 52, 502–514. [Google Scholar]
  14. Bailey, D.H.; Borwein, J.; Borwein, P.; Plouffe, S. The quest for pi. Math. Intelligencer. 1997, 19, 50–57. [Google Scholar] [CrossRef]
  15. Chan, H.C. More formulas for π. Amer. Math. Mon. 2006, 113, 452–455. [Google Scholar] [CrossRef]
  16. Chan, H.C. Machin-type formulas expressing π in terms of φ. Fibonacci Quart. 2008, 46, 32–37. [Google Scholar]
  17. Wei, C. Several BBP-type formulas for π. Integral Transform. Spec. Funct. 2015, 26, 315–324. [Google Scholar] [CrossRef]
  18. Zhang, W. New formulae of BBP-type with different moduli. J. Math. Anal. Appl. 2013, 398, 46–60. [Google Scholar] [CrossRef]
  19. Zhang, W.; Zhang, Y. New formulae of BBP-type modulo 6. Quaest. Math. 2014, 37, 393–400. [Google Scholar] [CrossRef]
  20. Guillera, J. History of the formulas and algorithms for π. Gac. R. Soc. Mat. Esp. 2007, 10, 159–178. [Google Scholar]
  21. Takahashi, D. On the computation and verification of π using BBP-type formulas. Ramanujan J. 2020, 51, 177–186. [Google Scholar] [CrossRef]
  22. Takahashi, D. On the use of Montgomery multiplication in the computation of binary BBP-type formulas for mathematical constants. Ramanujan J. 2021, 51, 1–9. [Google Scholar] [CrossRef]
  23. Takahashi, D. Computation of the 100 quadrillionth hexadecimal digit of π on a cluster of Intel Xeon Phi processors. Parallel Comput. 2018, 75, 1–10. [Google Scholar] [CrossRef]
  24. Karrels, E. Computing digits of π with CUDA. 2017. Available online: http://www.karrels.org/pi/ (accessed on 31 October 2021).
  25. Bailey, D.H.; Crandall, R. On the Random Character of Fundamental Constant Expansions. Exp. Math. 2001, 10, 175–190. [Google Scholar] [CrossRef] [Green Version]
  26. Bailey, D.H. A compendium of BBP-type formulas for mathematical constants. 2017, pp. 1–38, Preprint. Available online: https://www.davidhbailey.com/dhbpapers/bbp-formulas.pdf (accessed on 31 October 2021).
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wu, X.; Chen, Z.; Zhu, Y. New BBP-Type Formulae for π Derived from New Forms of Taylor Expansions of Inverse Tangent Function. Mathematics 2022, 10, 290. https://doi.org/10.3390/math10030290

AMA Style

Wu X, Chen Z, Zhu Y. New BBP-Type Formulae for π Derived from New Forms of Taylor Expansions of Inverse Tangent Function. Mathematics. 2022; 10(3):290. https://doi.org/10.3390/math10030290

Chicago/Turabian Style

Wu, Xin, Zhongfan Chen, and Yinan Zhu. 2022. "New BBP-Type Formulae for π Derived from New Forms of Taylor Expansions of Inverse Tangent Function" Mathematics 10, no. 3: 290. https://doi.org/10.3390/math10030290

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop