Next Article in Journal
Seeking a Chaotic Order in the Cryptocurrency Market
Previous Article in Journal
Study of a Hybrid Excitation Synchronous Machine: Modeling and Experimental Validation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dual Taylor Series, Spline Based Function and Integral Approximation and Applications

School of Electrical Engineering, Computing and Mathematical Sciences, Curtin University, GPO Box U1987, Perth 6845, Australia
Math. Comput. Appl. 2019, 24(2), 35; https://doi.org/10.3390/mca24020035
Submission received: 2 March 2019 / Revised: 25 March 2019 / Accepted: 25 March 2019 / Published: 1 April 2019

Abstract

:
In this paper, function approximation is utilized to establish functional series approximations to integrals. The starting point is the definition of a dual Taylor series, which is a natural extension of a Taylor series, and spline based series approximation. It is shown that a spline based series approximation to an integral yields, in general, a higher accuracy for a set order of approximation than a dual Taylor series, a Taylor series and an antiderivative series. A spline based series for an integral has many applications and indicative examples are detailed. These include a series for the exponential function, which coincides with a Padé series, new series for the logarithm function as well as new series for integral defined functions such as the Fresnel Sine integral function. It is shown that these series are more accurate and have larger regions of convergence than corresponding Taylor series. The spline based series for an integral can be used to define algorithms for highly accurate approximations for the logarithm function, the exponential function, rational numbers to a fractional power and the inverse sine, inverse cosine and inverse tangent functions. These algorithms are used to establish highly accurate approximations for π and Catalan’s constant. The use of sub-intervals allows the region of convergence for an integral approximation to be extended.

1. Introduction

The mathematics underpinning dynamic behaviour is of fundamental importance to modern science and technology and integration theory is foundational. The history of integration dates from early recorded history, with area calculations being prominent, e.g., [1,2]. The modern approach to integration commences with Newton and Leibniz and Thomson [3,4] provides a lucid, and up to date, perspective on the approaches of Newton, Riemann and Lebesgue and the more recent work of Henstock and Kurzweil.
A useful starting point for integration theory is the second part of the Fundamental Theorem of Calculus which states
α β f ( t ) d t = F ( β ) F ( α ) ,
where f = F ( 1 ) on [α, β] for some antiderivative function F , assuming f is integrable, e.g., [4,5,6]. However, within all frameworks of integration, a practical problem is to determine antiderivative functions for, or suitable analytical approximations to, specified integrals. Despite the impressive collection of results that can be found in tables books such as Gradsteyn and Ryzhik [7], the problem of determining an antiderivative function, or an approximation to the integral of a specified function, in general, is problematic. As a consequence, numerical evaluation of integrals is widely used. The problem is: For an arbitrary class of functions , and a specified interval [α, β], how to determine an analytical expression, or analytical approximation, to the integral
I ( t ) = α t f ( λ ) d λ , f , t [ α , β ] .
Approaches include use of integration by parts, e.g., [8], use of Taylor series, asymptotic expansions, e.g., [9,10], etc.
A useful approximation approach is to use uniform convergence, bounded convergence, monotone convergence or dominated convergence of a sequence of functions and a representative statement arising from dominated convergence, e.g., [11], is: If { f i } is a sequence of Lebesgue integrable functions on [α, β], lim i f i ( t ) = f ( t ) pointwise almost everywhere on [α, β], and there exists a Lebesgue integrable function g on [α, β] with the property | f i ( t ) | < | g ( t ) | ,   t [ α ,   β ] almost everywhere and for all i, then
lim i α t f i ( λ ) d λ = α t f ( λ ) d λ = lim i F i ( t ) , t [ α , β ] ,
where
F i ( t ) = α t f i ( λ ) d λ .
For the case where { f i } i = 1 is such that the corresponding sequence of antiderivative functions { F i } i = 1 is known, then an analytical approximation to the integral of f is defined by F n ( t ) . It is well known that polynomial, trigonometric and orthogonal functions can be defined to approximate a specified function, e.g., [12]. In general, such approximations require knowledge of the function at a specified number of points within the approximating interval and the use of approximating functions based on points within the region of integration underpins numerical evaluation of integrals, e.g., [13]. Of interest is if function values at the end point of an interval, alone, can suffice to provide a suitable analytic approximation to a function and its integral. In this context, the use of a Taylor series approximation is one possible approach but, in general, the approximation has a limited region of convergence. The region of convergence can be extended through use of a dual Taylor series which is introduced in this paper and is based on utilizing two demarcation functions. An alternative approach consider in this paper is to use spline based approximations.
It is shown that a spline based integral approximation, based solely on function values at the interval endpoints, has a simple analytic form and, in general, better convergence that an integral approximation based on a Taylor or a dual Taylor series. Further, a spline based integral approximation leads to new series for many defined integral functions, as well as many standard functions, with, in general, better convergence than a Taylor series. The spline based series for an integral can be used to define algorithms for highly accurate approximations for specific functions and new results for definite integrals are shown. As is usual, interval sub-division leads to improved integral accuracy and high levels of precision in results can readily be obtained.
In Section 2, a brief introduction is provided for integral approximation based on an antiderivative series and a Taylor series. A natural generalization of a Taylor series is a dual Taylor series and this is defined in Section 3 along with its application to integral approximation. An alternative to a dual Taylor series approximation to a function is a spline based approximation and this is detailed in Section 4 along with its application to integral approximation. A comparison of the antiderivative, Taylor series, dual Taylor series and spline approaches for integral approximation is detailed in Section 5. It is shown that a spline based approach, in general, is superior. Applications of a spline based integral approximation are detailed in Section 6 and concluding comments are detailed in Section 7.
In terms of notation f ( k ) ( t ) = d k d t k f ( t ) is used and all derivatives in the paper are with respect to the variable t .
Mathematica has been used to generate all numerical results, graphic display of results and, where appropriate, analytical results.

2. Integral Approximation: Antiderivative Series, Taylor Series

For integral approximation over a specified interval, and based on function values at the interval endpoints, two standard results can be considered: First, an antiderivative series based on integration by parts. Second, a Taylor series expansion of an integral.

2.1. Antiderivative Series

An antiderivative series for an integral can be established by application of integration by parts, e.g., [14]: If f : R R is nth order differentiable on a closed interval [α, t] (left and right hand limits, as appropriate, at α, t) then
I ( t ) = α t f ( λ ) d λ = k = 0 n 1 c k [ α k + 1 f ( k ) ( α ) t k + 1 f ( k ) ( t ) ] + R n ( α , t ) ,
where
c k = ( 1 ) k + 1 ( k + 1 ) ! ,                 R n ( α , t ) = ( 1 ) n n ! · α t λ n f ( n ) ( λ ) d λ .

2.2. Taylor Series Integral Approximation

A Taylor series based approximation to an integral is based on a Taylor series function approximation which dates from 1715 [15]. Consider an interval [α, β] and a function f : R R whose derivatives of all orders up to, and including, n + 1 exist at all points in the interval [α, β]. A nth order Taylor series of a function f , and based on the point α, is defined according to
f n ( α , t ) = f ( α ) + k = 1 n ( t α ) k f ( k ) ( α ) k ! = k = 0 n ( t α ) k f ( k ) ( α ) k ! ,                 t α .
For notational simplicity, it is useful to use the latter form of the definition with the former form being implicit for the case of t = α. A Taylor series enables a function f : R R , assumed to be (n + 1)th order differentiable, to be written as
f ( t ) = f n ( α , t ) + R n ( α , t ) ,                 t ( α , β ) ,
where an explicit expression for the remainder function R n ( α , t ) is
R n ( α , t ) = α t ( t λ ) n f ( n + 1 ) ( λ ) n ! d λ .
See, for example, [8] or [16] for a proof. A sufficient condition for convergence of a Taylor series is for
lim n f m a x ( n ) ( t α ) n n ! = 0 ,
where f max ( n ) = sup { f ( n ) ( t ) :   t [ α ,   β ] } .
It then follows that a nth order Taylor series for the integral
I ( t ) = α t f ( λ ) d λ
based on the point α , is
I ( t ) = k = 0 n 1 c k ( t α ) k + 1 f ( k ) ( α ) + R n ( α , t ) ,
where
c k = 1 ( k + 1 ) ! ,                 R n ( α , t ) = α t ( t λ ) n f ( n ) ( λ ) n ! d λ .

3. Dual Taylor Series

A natural generalization of a Taylor series is to use two Taylor series, based at different points, and to combine them by using appropriate weighting, or demarcation, functions. The result is a dual Taylor series.

3.1. Demarcation Functions

For the normalized case of an interval [0, 1], a dual Taylor series requires two demarcations functions, denoted m N and q N , which have the monotonic decreasing/increasing form illustrated in Figure 1. The ideal, and normalized, demarcation function are defined according to
m N ( t ) = { 1                 0 < t < 1 2 0.5                     t = 0.5 0                 1 2 < t < 1             q N ( t ) = m N ( 1 t ) = { 0               0 < t < 1 2 0.5                   t = 0.5 1                 1 2 < t < 1
and are such that
m N ( t ) + q N ( t ) = 1 .
Whether idealized or not, the assumption is made that m N and q N are such that (15) is satisfied. Further, for the case where m N is antisymmetrical around the point (1/2, 1/2), it follows that m N ( t ) = 1 m N ( 1 t ) and q N ( t ) = m N ( 1 t ) . This is assumed.
For a dual Taylor series, the further requirement is that the demarcation functions do not affect the value of the derivatives of the series at the end points of the interval being considered. This can be achieved by the further constraints of the right and left hand derivatives, of all orders, being zero, respectively, at the points zero and one, i.e., m N ( k ) ( 0 + ) = q N ( k ) ( 0 + ) = 0 and m N ( k ) ( 1 ) = q N ( k ) ( 1 ) = 0 for k { 1 ,   2 , } .
An example of a suitable demarcation function is
m N ( t ) = { 1 t = 0 1 2 [ 1 tan h [ k D ( 2 t 1 ) 1 ( 2 t 1 ) 2 ] ] 0 < t < 1 0 t = 1
and the graph of this function is shown in Figure 2 for the case of k D { 1 ,   2 ,   5 ,   10 } .
For the denormalized case, and for the interval [ α ,   β ] , the demarcation functions are defined according to
m ( t ) = m N ( t α β α ) ,                 q ( t ) = q N ( t α β α ) = m N ( β t β α ) .

Polynomial Based Demarcation Function

Polynomial demarcation functions are of interest because, if they are associated with a Taylor series, the resulting composite function has a known antiderivative form.
A normalized polynomial based demarcation function, of order n, and for the interval [0, 1], is the (2n + 1)th order polynomial
m N , n ( t ) = ( 1 t ) n + 1 · [ 1 + k = 1 n ( n + k ) ! n ! · k ! · t k ] = ( 1 t ) n + 1 · k = 0 n ( n + k ) ! n ! · k ! · t k ,                 t 0 .
For notational simplicity, the latter form is used with the former form being implicit for the case of t = 0. This function satisfies the constraints
m N , n ( 0 ) = 1 ,                 m N , n ( 1 ) = 0 ,                 m N , n ( k ) ( t ) | t { 0 , 1 } = 0 ,         k { 1 ,   , n } ,
and is antisymmetric around the point (1/2, 1/2). The associated quadrature polynomial demarcation function is
q N , n ( t ) = 1 m N , n ( t ) = m N , n ( 1 t ) = t n + 1 · k = 0 n ( n + k ) ! n ! · k ! · ( 1 t ) k .
To derive (18), a useful approach is to solve for the coefficients of a (2n + 1)th order polynomial, subject to the constraints specified by (19), and starting with the case of n = 1 ,   2 ,   . The coefficient form of ( n + k ) ! n !   ·   k ! in (18) can be inferred from the results specified in Pascal’s triangle.
An alternative form for m N , n ( t ) is
m N , n ( t ) = 1 + ( n + 1 ) u = 0 n + 1 ν = 0 , u + ν 0 n ( 1 ) u · ( n + ν ) ! ( n + 1 u ) ! · u ! · ν ! · t u + ν = ( n + 1 ) u = 0 n + 1 ν = 0 n ( 1 ) u · ( n + ν ) ! ( n + 1 u ) ! · u ! · ν ! · t u + ν ,                 t 0 ,
which arises from using the binomial formula on ( 1 t ) n + 1 . For notational simplicity, the latter form is used with the former form being implicit for the case of t = 0 .
The graphs of the polynomial based demarcation functions are shown in Figure 3. For the denormalized case, and for the interval [α, β], the demarcation functions are defined according to
m n ( t ) = m N , n ( t α β α ) ,                 q n ( t ) = q N , n ( t α β α ) = m N , n ( β t β α ) .
Explicit forms for the demarcation functions, based on the form specified in (18), are:
m n ( t ) = [ β t β α ] n + 1 [ 1 + k = 1 n ( n + k ) ! n ! · k ! · [ t α β α ] k ] = [ β t β α ] n + 1 k = 0 n ( n + k ) ! n ! · k ! · [ t α β α ] k , q ( t ) = [ t α β α ] n + 1 [ 1 + k = 1 n ( n + k ) ! n ! · k ! · [ β t β α ] k ] = [ t α β α ] n + 1 k = 0 n ( n + k ) ! n ! · k ! · [ β t β α ] k .
The second form in these equations are valid, respectively, for t α and t β , and for notational simplicity, are used.

3.2. Dual Taylor Series

For the interval [α, β], a dual Taylor series, of order n, is the weighted summation of two nth order Taylor series, one based at α and one at β, and is defined according to
f n ( α , β , t ) = m ( t ) [ f ( α ) + ( t α ) f ( 1 ) ( α ) + ( t α ) 2 f ( 2 ) ( α ) 2 + + ( t α ) n f ( n ) ( α ) n ! ] + q ( t ) [ f ( β ) + ( t β ) f ( 1 ) ( β ) + ( t β ) 2 f ( 2 ) ( β ) 2 + + ( t β ) n f ( n ) ( β ) n ! ] , t [ α , β ]
where m and q are the demarcation functions defined by (17). Using the Taylor series notation as specified in (7):
f n ( α , β , t ) = m ( t ) f n ( α , t ) + q ( t ) f n ( β , t ) .
By construction:
f n ( α , β , α ) = f ( α ) , f n ( α , β , β ) = f ( β ) , f n ( k ) ( α , β , α ) = f ( k ) ( α ) , f n ( k ) ( α , β , β ) = f ( k ) ( β ) ,   1 k n .
For the case of polynomial demarcation functions, m ( t ) = m n ( t ) and q ( t ) = q n ( t ) , as specified by (23), and an explicit expression for f n ( α ,   β , t ) is
f n ( α , β , t ) = m n ( t ) f n ( α , t ) + q n ( t ) f n ( β , t ) = [ β t β α ] n + 1 k = 0 n ( n + k ) ! n ! k ! [ t α β α ] k k = 0 n ( t α ) k f ( k ) ( α ) k ! + [ t α β α ] n + 1 k = 0 n ( n + k ) ! n ! k ! [ β t β α ] k k = 0 n ( t β ) k f ( k ) ( β ) k ! .
A dual Taylor series allows a function to be written as
f ( t ) = f n ( α , β , t ) + R n ( α , β , t ) ,                 t ( α , β ) ,
where the remainder function R n ( α ,   β , t ) is defined according to
R n ( α , β , t ) = m ( t ) α t ( t λ ) n f ( n + 1 ) ( λ ) n ! d λ q ( t ) t β ( t λ ) n f ( n + 1 ) ( λ ) n ! d λ , t [ α , β ] .
The proof of this result is detailed in Appendix A.

3.2.1. Convergence

With the definition of f max ( n ) = sup { f ( n ) ( t ) :   t [ α , β ] } , it follows that a bound on the remainder function is
| R n ( α , β , t ) | f max ( n + 1 ) ( n + 1 ) ! [ m ( t ) ( t α ) n + 1 + q ( t ) ( β t ) n + 1 ] .
It then follows, from the nature of the demarcation functions, that a sufficient condition for the convergence of a dual Taylor series for the interval [ α ,   β ] is for
lim n f max ( n ) ( β α ) n n ! = 0 , f max ( n ) = sup { f ( n ) ( t ) :   t [ α , β ] } .
For ideal demarcation functions, where the Taylor series based at α only has influence on the interval [ α , α + β 2 ], a sufficient condition for convergence is for
lim n f max ( n ) ( β α ) n 2 n n ! = 0 .

3.2.2. Example

Consider the function
f ( t ) = tanh ( t ) + exp ( t ) sin ( π t 2 ) .
Dual Taylor series approximations to this function, of orders 4, 6, 8, 10, for the interval [0, 1] and defined by (27), are shown in Figure 4 using the polynomial demarcation functions specified by (23).

3.3. Integral Approximation

With a polynomial demarcation function, the integral of a dual Taylor series is well defined and leads to the following equality
I ( t ) = α t f ( λ ) d λ = k = 0 n c n , k ( t α ) k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] + R n ( α , t ) ,
where
c n , k = n + 1 k ! u = 0 n + 1 ( 1 ) u u ! ( n + 1 u ) ! [ ν = 0 n ( n + ν ) ! ν ! 1 u + ν + k + 1 ]
and
R n ( 1 ) ( α , t ) = c n , 0 [ f ( t ) f ( α ) ] k = 1 n c n , k ( k + 1 ) ( t α ) k f ( k ) ( α ) + k = 1 n ( 1 ) k + 1 ( t α ) k f ( k ) ( t ) [ ( k + 1 ) c n , k c n , k 1 ] + c n , n ( 1 ) n + 1 ( t α ) n + 1 f ( n + 1 ) ( t )
The proof is detailed in Appendix B.

4. Spline Approximation

A nth order spline approximation, f n , on the interval [ α ,   β ] , to a function f , which is differentiable up to order n , is a (2n + 1)th order polynomial that equals the function, in terms of value and derivatives up to order n , at the end points of the interval. A nth order spline function for the interval [ α ,   β ] , thus, has the form
f n ( α , β , t ) = c 0 + c 1 t + c 2 t 2 + + c 2 n + 1 t 2 n + 1 , t [ α , β ] ,
where the coefficients c 0 ,   ,   c 2 n + 1 are such that the function and the spline approximation, as well as their derivatives of order 1 ,   ,   n , take on the same values at the end points of the interval, i.e.,
f ( k ) ( t ) = f n ( k ) ( α , β , t ) | t { α , β } , k { 0 , 1 , , n } .
The case of n = 1 corresponds to a cubic spline.
The use of the following symmetrical form
f n ( α , β , t ) = h n ( t ) [ a 00 + a 01 ( t α ) + a 02 ( t α ) 2 + + a 0 n ( t α ) n ] f ( α ) + h n ( t ) ( t α ) [ a 10 + a 11 ( t α ) + a 12 ( t α ) 2 + + a 1 , n 1 ( t α ) n 1 ] f ( 1 ) ( α ) + h n ( t ) ( t α ) n 1 [ a n 1 , 0 + a n 1 , 1 ( t α ) ] f ( n 1 ) ( α ) + h n ( t ) ( t α ) n [ a n 0 ] f ( n ) ( α ) + g n ( t ) [ b 00 + b 01 ( t β ) + b 02 ( t β ) 2 + + b 0 n ( t β ) n ] f ( β ) + g n ( t ) ( t β ) [ b 10 + b 11 ( t β ) + b 12 ( t β ) 2 + + b 1 , n 1 ( t β ) n 1 ] f ( 1 ) ( β ) + g n ( t ) ( t β ) n 1 [ b n 1 , 0 + b n 1 , 1 ( t β ) ] f ( n 1 ) ( β ) + g n ( t ) ( t β ) n [ b n 0 ] f ( n ) ( β )
where h n ( t ) = ( t β ) n + 1 ( β α ) n + 1 and g n ( t ) = ( t α ) n + 1 ( β α ) n + 1 , allows the sequential solving of the unknown coefficients and leads to the result (see Appendix C):
f n ( α , β , t ) = ( β t ) n + 1 ( β α ) n + 1 k = 0 n ( t α ) k k ! f ( k ) ( α ) i = 0 n k ( n + i ) ! i ! n ! ( t α ) i ( β α ) i + ( t α ) n + 1 ( β α ) n + 1 k = 0 n ( 1 ) k ( β t ) k k ! f ( k ) ( β ) i = 0 n k ( n + i ) ! i ! n ! ( β t ) i ( β α ) i
This expression can be written in the following manner which is similar in form to that of a dual Taylor series:
f n ( α , β , t ) = m n ( t ) k = 0 n ( t α ) k k ! f ( k ) ( α ) [ 1 + c n , k ( t ) ] + q n ( t ) k = 0 n ( t β ) k k ! f ( k ) ( β ) [ 1 + d n , k ( t ) ]
where m n ( t ) and q n ( t ) are the denormalized polynomial demarcation functions defined by (23) and the coefficient functions are defined according to c n , 0 ( t ) = d n , 0 ( t ) = 0 and
c n , k ( t ) = [ i = n k + 1 n ( n + i ) ! i ! n ! ( t α ) i ( β α ) i ] i = 0 n ( n + i ) ! i ! n ! ( t α ) i ( β α ) i , d n , k ( t ) = [ i = n k + 1 n ( n + i ) ! i ! n ! ( β t ) i ( β α ) i ] i = 0 n ( n + i ) ! i ! n ! ( β t ) i ( β α ) i , k { 1 , , n }
The proof of these results is detailed in Appendix C.
The coefficient functions are such that 1 < c n , k ( t ) ,   d n , k ( t ) < 0 for k { 1 ,   ,   n } and a comparison of (41) with (27) shows that a spline approximation converges to a dual Taylor approximation when c n , k ( t ) and d n , k ( t ) converge to zero. The variation in 1 + c n , k ( t ) is illustrated in Figure 5.

4.1. Examples

The zeroth to third order spline approximations to a function f for the interval [ α , β ] are:
f 0 ( α , β , t ) = β t β α f ( α ) + t α β α f ( β )
f 1 ( α , β , t ) = ( β t ) 2 ( β α ) 2 [ f ( α ) [ 1 + 2 ( t α ) β α ] + ( t α ) f ( 1 ) ( α ) ] + ( t α ) 2 ( β α ) 2 [ f ( β ) [ 1 + 2 ( β t ) β α ] + ( t β ) f ( 1 ) ( β ) ]
f 2 ( α , β , t ) = ( β t ) 3 ( β α ) 3 [ f ( α ) [ 1 + 3 ( t α ) β α + 6 ( t α ) 2 ( β α ) 2 ] + ( t α ) f ( 1 ) ( α ) [ 1 + 3 ( t α ) β α ] + ( t α ) 2 2 f ( 2 ) ( α ) ] + ( t α ) 3 ( β α ) 3 [ f ( β ) [ 1 + 3 ( β t ) β α + 6 ( β t ) 2 ( β α ) 2 ] + ( t β ) f ( 1 ) ( β ) [ 1 + 3 ( β t ) β α ] + ( β t ) 2 2 f ( 2 ) ( β ) ]
f 3 ( α , β , t ) = ( β t ) 4 ( β α ) 4 [ f ( α ) [ 1 + 4 ( t α ) β α + 10 ( t α ) 2 ( β α ) 2 + 20 ( t α ) 3 ( β α ) 3 ] + ( t α ) f ( 1 ) ( α ) [ 1 + 4 ( t α ) β α + 10 ( t α ) 2 ( β α ) 2 ] + ( t α ) 2 2 f ( 2 ) ( α ) [ 1 + 4 ( t α ) β α ] + ( t α ) 3 6 f ( 3 ) ( α ) ] + ( t α ) 4 ( β α ) 4 [ f ( β ) [ 1 + 4 ( β t ) β α + 10 ( β t ) 2 ( β α ) 2 + 20 ( β t ) 3 ( β α ) 3 ] + ( t β ) f ( 1 ) ( β ) [ 1 + 4 ( β t ) β α + 10 ( β t ) 2 ( β α ) 2 ] + ( t β ) 2 2 f ( 2 ) ( β ) [ 1 + 4 ( β t ) β α ] + ( t β ) 3 6 f ( 3 ) ( β ) ]

Spline Approximation

Consider the function defined by (33). Spline series approximations to this function, of orders 4, 6, 8, 10, for the interval [0, 1] and as defined by (40), are shown in Figure 6 with the 10th order approximation visually coinciding with the function. A comparison of Figure 6 with Figure 4 shows that a spline series provides, in general, a better approximation than a dual Taylor series of the same order and with a dual Taylor series diverging more in the center of the interval of approximation.

4.2. Convergence

Consider a spline approximation, as defined by (40) or (41). A sufficient condition for convergence, i.e., lim n f n ( α , β , t ) = f ( t ) , is for
lim n f max ( n ) ( β α ) n 2 n · n ! = 0 ,                     t [ α , β ] ,         f max ( n ) = sup { f ( n ) ( t ) : t [ α , β ] } .
The proof of this result is detailed in Appendix D.

4.3. Spline Based Integral Approximation

The spline approximation, as defined by (40), leads to the integral equality
I ( α , t ) = α t f ( λ ) d λ = k = 0 n c n , k ( t α ) k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] + R n ( α , t )
and the following spline based integral approximation
I n ( α , t ) = α t f n ( α , t , λ ) d λ = k = 0 n c n , k ( t α ) k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] .
In these expressions the coefficients are defined according to
c n , k = n + 1 k ! i = 0 n k ( n + i ) ! i ! · ( k + i ) ! ( n + k + i + 2 ) !
A simpler expression is
c n , k = n ! ( n k ) ! ( k + 1 ) ! · ( 2 n + 1 k ) ! 2 · ( 2 n + 1 ) !
and this can be written, for k 1 , in the form
c n , k = 1 2 k + 1 ( k + 1 ) ! · i = 0 k 1 [ 1 i n ] · i = 0 k 1 1 ( 1 + ( 1 i ) / 2 n ) ,                 k 1.
The remainder is defined according to
R n ( 1 ) ( α , t ) = k = 0 n c n , k ( k + 1 ) ( t α ) k [ f ( k ) ( α ) + ( 1 ) k + 1 n + 1 n k + 1 f ( k ) ( t ) ] + c n , n ( 1 ) n + 1 ( t α ) n + 1 f ( n + 1 ) ( t )
The proof of these relationships is detailed in Appendix E.

4.3.1. Approximation in Limit

It is the case that
lim n   c n , k = 1 2 k + 1 ( k + 1 ) ! , k 0
and it then follows, for the convergent case, that
α t f ( λ ) d λ = k = 0 n ( t α ) k + 1 2 k + 1 ( k + 1 ) ! [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ]   = ( t α ) 2 [ f ( α ) + f ( t ) ] + ( t α ) 2 8 [ f ( 1 ) ( α ) f ( 1 ) ( t ) ] + ( t α ) 3 48 [ f ( 2 ) ( α ) f ( 2 ) ( t ) ] + ( t α ) 4 16 24 [ f ( 3 ) ( α ) f ( 3 ) ( t ) ] +

4.3.2. Integral Approximations of Orders Zero to Three

The integral approximation I n ( α , t ) , as specified by (49), of orders zero to three are:
I 0 ( α , t ) = t α 2 [ f ( α ) + f ( t ) ]
I 1 ( α , t ) = t α 2 [ f ( α ) + f ( t ) ] + ( t α ) 2 12 [ f ( 1 ) ( α ) f ( 1 ) ( t ) ]
I 2 ( α , t ) = t α 2 [ f ( α ) + f ( t ) ] + ( t α ) 2 10 [ f ( 1 ) ( α ) f ( 1 ) ( t ) ] + ( t α ) 3 120 [ f ( 2 ) ( α ) + f ( 2 ) ( t ) ]
I 3 ( α , t ) = t α 2 [ f ( α ) + f ( t ) ] + 3 ( t α ) 2 28 [ f ( 1 ) ( α ) f ( 1 ) ( t ) ] + ( t α ) 3 84 [ f ( 2 ) ( α ) + f ( 2 ) ( t ) ] + ( t α ) 4 1680 [ f ( 3 ) ( α ) f ( 3 ) ( t ) ]

4.3.3. Remainder for Orders Zero to Three

The remainder functions associated with a spline based integral approximation, as specified according to (53), and for orders zero to three, are defined according to
R 0 ( 1 ) ( α , t ) = 1 2 [ f ( t ) f ( α ) ] t α 2 f ( 1 ) ( t )
R 1 ( 1 ) ( α , t ) = 1 2 [ f ( t ) f ( α ) ] ( t α ) 6 [ 2 f ( 1 ) ( t ) + f ( 1 ) ( α ) ] + ( t α ) 2 12 f ( 2 ) ( t )
R 2 ( 1 ) ( α , t ) = 1 2 [ f ( t ) f ( α ) ] ( t α ) 10 [ 3 f ( 1 ) ( t ) + 2 f ( 1 ) ( α ) ] + ( t α ) 2 40 [ 3 f ( 2 ) ( t ) f ( 2 ) ( α ) ] ( t α ) 3 120 f ( 3 ) ( t )
R 3 ( 1 ) ( α , t ) = 1 2 [ f ( t ) f ( α ) ] ( t α ) 14 [ 4 f ( 1 ) ( t ) + 3 f ( 1 ) ( α ) ] + ( t α ) 2 28 [ 2 f ( 2 ) ( t ) f ( 2 ) ( α ) ] ( t α ) 3 420 [ 4 f ( 3 ) ( t ) + f ( 3 ) ( α ) ] + ( t α ) 4 1680 f ( 4 ) ( t )

4.4. Explanation of Integral Approximation: Successive Area Approximation

The integral approximation specified by (49), and the coefficients specified by (51), is best understood by considering successive approximations to the integral α t f ( λ ) d λ . First, consider a zeroth order approximation as defined by
α t f ( λ ) d λ = t α 2 [ f ( α ) + f ( t ) ] + R 0 ( α , t ) = I 0 ( α , t ) + R 0 ( α , t )
and the area illustrated in Figure 7. The area is consistent with an affine approximation between the function values at the end points of the interval and equals the zeroth order integral approximation as defined by I 0 ( α , t ) . The difference between the function and an affine approximation between the values of f ( α ) and f ( t ) defines a residual function r 1 :
r 1 ( λ ) = f ( λ ) [ f ( α ) + ( λ α ) [ f ( t ) f ( α ) ] t α ] ,   λ [ α , t ] .
Second, consider the first order approximation to the integral as defined by
α t f ( λ ) d λ = t α 2 [ f ( α ) + f ( t ) ] + ( t α ) 2 12 [ f ( 1 ) ( α ) f ( 1 ) ( t ) ] + R 1 ( α , t )
and the area illustrated in Figure 8. The second term in this equation approximates the area under an approximation to the residual function r 1 , based on linear change at both of the end points of the interval [ α ,   t ] , and with a difference in the denominator terms of 12 versus 8. For higher order approximations the denominator term of 12 approaches 8.
Third, consider the second order approximation to the integral as defined by
α t f ( λ ) d λ = t α 2 [ f ( α ) + f ( t ) ] + ( t α ) 2 10 [ f ( 1 ) ( α ) f ( 1 ) ( t ) ] + ( t α ) 3 120 [ f ( 2 ) ( α ) + f ( 2 ) ( t ) ] + R 2 ( α , t )
and the area illustrated in Figure 9. The third term in this expression approximates the area under a quadratic approximation to the residual function r 2 , based on f ( 2 ) ( α ) and f ( 2 ) ( t ) , and with a different denominator term of 120 versus 48. For higher order approximations the term of 120 approaches 48.
For the convergent case, the approximation to the integral, as specified by defined by (49), converges to the form specified by (55) as n and this form is consistent with the successive area approximations illustrated in Figure 7, Figure 8 and Figure 9.

4.5. Determining Region of Integration for a Set Error Bound

For a positive function, a bound on the region of integration, for a set error level, can be determined by considering the area defined by the first passage time of the function to a specified level. Consider a positive function, which has a first passage time to the level r B at t = t B , as illustrated in Figure 10. The following integral bound holds
0 t B f ( λ ) d λ r B t B = ε B ,
where
t B = inf { t :   | f ( t ) | = r B } = inf { t : t | f ( t ) | = t B r B = ε B }
Thus, for a bound ε B on the integral of a positive function f , a bound on the interval of integration is
t B = inf { t : t | f ( t ) | = ε B } ,
i.e., the first passage time of t | f ( t ) | to ε B .
Consider the integral and its spline based approximation as specified by
I ( α , t ) = α t f ( λ ) d λ = I n ( α , t ) + R n ( α , t ) , R n ( α , t ) = α t R n ( 1 ) ( α , λ ) d λ ,
where R n ( 1 ) ( α , t ) is specified by (53). As R n ( 1 ) ( α , t ) is known, it follows that a bound on the region of integration can be specified according to
t B = inf { t : t | R n ( 1 ) ( t ) | = ε B }
and solved by standard root solving algorithms.

Example

Consider determining the region of integration, t B , for the integral 0 t B sin ( t ) 1 + t d t and for an error bound of ε B = 10 3 using the integral approximation specified by (49). The graph of f ( t ) = sin ( t ) 1 + t is shown in Figure 11 and results are tabulated in Table 1. The specified region of integration, as expected, is conservative.

5. Summary and Comparison of Integral Approximations

The function and integral approximations detailed above are summarized in Table 2. The remainder terms associated with the integral approximations are summarized in Table 3.

Comparison of Integral Approximations

To compare the four different approximations to an integral that have been considered, and summarized in Table 2, it is useful to utilize a set of test functions. Consider a set of test functions based on a summation of Gaussian pulses
f ( t ) = i = 1 m a i exp [ ( t t i ) 2 2 σ i 2 ] ,   σ i 2 = t FWHM i 2 8 ln ( 2 ) ,
where m is an outcome of a Poisson random variable with parameter λ = 4 (the zero case excluded), a i , i { 1 ,   ,   m } , are independent outcomes of random variables with a normal distribution with zero mean and unit variance, t i , i { 1 ,   ,   m } , are independent outcomes of random variables with a uniform distribution on the interval [0, 1] and t FWHM i 2 , i { 1 ,   ,   m } , are independent outcomes of random variables with a uniform distribution on [0, 2]. Examples of signals are shown in Figure 12. For 1000 independently generated signals, the proportion of approximations to 0 1 f ( λ ) d λ , with a relative error of less than 0.01, is detailed in Table 4 for the four integral approximations. The results show the clear superiority of the spline based integral approximation and simulation results for other types of signals indicate that this holds more generally.

6. Spline Based Integral Approximation: Applications

The integral based approximation, based on a nth order spline function approximation and as specified by (49), facilitates, for example, the definition of new series for standard function, new series for functions defined by integrals, and new definite integral results. In general, the series for functions have better convergence than Taylor series based approximations.
As the relative error in the evaluation of an integral, based on a spline function approximation, increases non-linearly with the region of integration, there is potential for high precision results if the value of a function defined by an integral can be established by utilizing a smaller region of integration. Several cases where this is possible are detailed.

6.1. Exponential Function Approximation

The spline based integral series, of order n, leads to the following series approximation for the exponential function
exp ( t ) 1 + c n , 0 t + c n , 1 t 2 + c n , 2 t 3 + c n , 3 t 4 + + c n , n t n + 1 1 c n , 0 t + c n , 1 t 2 c n , 2 t 3 + c n , 3 t 4 + c n , n ( 1 ) n + 1 t n + 1 ,
where c n , k is specified by (51). For the case of n
exp ( t ) 1 + t 2 + t 2 2 2 2 ! + t 3 2 3 3 ! + t 4 2 4 4 ! + 1 t 2 + t 2 2 2 2 ! t 3 2 3 3 ! + t 4 2 4 4 !
The series converges for all t R . The proof of this result is detailed in Appendix F.

6.1.1. Notes

The series defined by (74) is the same as that arising from a (n + 1)th order Padé approximation, e.g., [17], which can be seen by comparing the approximations for explicit orders. A fourth order approximation (fifth order 5/5 Padé approximation) is
e t 1 + t 2 + t 2 9 + t 3 72 + t 4 1008 + t 5 30240 1 t 2 + t 2 9 t 3 72 + t 4 1008 t 5 30240
A direct application of the series approximation as specified by (74) is the following nth order series approximation for the Gaussian function:
exp ( t 2 ) 1 c n , 0 t 2 + c n , 2 t 4 c n , 3 t 6 + + c n , n ( 1 ) n + 1 t 2 n + 2 1 + c n , 0 t 2 + c n , 2 t 4 + c n , 3 t 6 + + c n , n t 2 n + 2 .

6.1.2. Nature of Convergence

A nth order Taylor series approximation for exp(t), based on the origin, leads to the well known approximation
exp ( t ) = k = 0 n t k k ! .
The relative error in the evaluation of exp(−t), based on this Taylor series, and the spline based series expansion defined by (74), is shown in Figure 13. The superiority of the spline based series is clearly evident.

6.1.3. High Precision Evaluation

To establish a series with a high rate of convergence consider
e t = ( e t / m ) m [ 1 + c n , 0 ( t / m ) + c n , 1 ( t / m ) 2 + c n , 2 ( t / m ) 3 + c n , 3 ( t / m ) 4 + + c n , n ( t / m ) n + 1 1 c n , 0 ( t / m ) + c n , 1 ( t / m ) 2 c n , 2 ( t / m ) 3 + c n , 3 ( t / m ) 4 + c n , n ( 1 ) n + 1 ( t / m ) n + 1 ] m
High precision results can be obtained as m is increased. Results that are indicative of the improvement, with increasing levels of fractional power, are detailed in Table 5 where the case of approximating e is considered.

6.2. Natural Logarithm Approximation

A similar approach to that used for the exponential function leads to the following nth order series for the natural logarithm function:
ln ( t ) 2 ( t 1 ) t + 1 [ 1 + k = 1 n c n , k ( 1 ) k + 1 ( k 1 ) ! ( t 1 ) k [ 1 + ( 1 ) k t k ] ] ,
where c n , k is specified by (51). The proof of this result is detailed in Appendix G.
A Taylor series, based on the point t = 1, for the natural logarithm is
ln ( t ) = k = 1 n ( 1 ) k + 1 ( t 1 ) k k .
The relative error in this series, and the spline based series defined by (80), is detailed in Figure 14. Simulation results indicate a region of convergence close to 0.15 < t < 6 for the spline based series-proof of a definitive bound is an unsolved problem.

6.2.1. Example

A fourth order approximation is
ln ( t ) 2 ( t 1 ) t + 1 [ 1 + ( t 1 ) 2 9 t ( t 2 + 1 ) ( t 1 ) 2 72 t 2 + ( t 3 1 ) ( t 1 ) 3 504 t 3 ( t 4 + 1 ) ( t 1 ) 4 5040 t 4 ] .

6.2.2. High Precision Evaluation of Natural Logarithm

As the integral of ln(t) is
1 t ln ( λ ) d λ = t ln ( t ) t + 1 ,
it follows that
1 t 1 / m ln ( λ ) d λ = t 1 / m m ln ( t ) t 1 / m + 1 ln ( t ) = m t 1 / m [ t 1 / m 1 ] + m t 1 / m 1 t 1 / m ln ( λ ) d λ .
Using the spline series approximation specified in (80), it follows that a nth order series approximation for ln(t), with higher precision and a greater range of convergence, is
ln ( t ) 2 m t 1 / m 1 + t 1 / m [ 1 1 t 1 / m ] + 2 m 1 + t 1 / m k = 1 n c n , k ( 1 ) k + 1 ( k 1 ) ! ( t 1 / m 1 ) k + 1 [ 1 + ( 1 ) k t k / m ]
where c n , k is specified by (51). Results that are indicative of the improvement in precision, with increasing levels of fractional power, are detailed in Table 6.

6.2.3. High Precision Evaluation of ln(2)

As a second example, consider the evaluation of ln(2) which can be defined according to
ln ( 2 ) = 0 1 1 1 + t d t = 0.6931471805 .
One associated series, e.g., [18], p. 15, is
ln ( 2 ) = lim n   k = 1 n 1 n + k ,
whilst Taylor series for ln(x), based on the points at 1 and 2, yield
ln ( 2 ) = k = 1 ( 1 ) k 1 k , ln ( 2 ) = k = 1 1 k 2 k ,
i.e.,
ln ( 2 ) = 1 1 2 + 1 3 1 4 + , ln ( 2 ) = 1 2 + 1 2 4 + 1 3 8 + .
The second series arises by finding an approximation for ln(1) based on the Taylor series at the point 2.
The relative errors in the Taylor series for orders 2, 4, 8, 16, respectively, are: 0.28, 0.16, 0.085 and 0.044 for the first series and 0.098, 0.016, 5.7 × 10−4 and 1.2 × 10−6 for the second series. The relative errors in the series defined by (87), for orders 2, 4, 8, 16, are: 0.16, 0.085, 0.044 and 0.022.
A second order series specified by (85) is
ln ( 2 ) 2 m 2 1 / m 1 2 1 / m + 1 [ 1 + ( 2 1 / m 1 ) 2 10 2 1 / m ( 2 1 / m 1 ) 2 ( 2 2 / m + 1 ) 120 2 2 / m ]
and yields an approximation with relative errors, respectively, of 1.3 × 10−4, 1.3 × 10−10, 1.3 × 10−16 and 1.3 × 10−22 for the cases of m = 1, 10, 100, 1000.

6.3. Evaluation of Numbers to Fractional Powers

Consider determining x o 1 / h for the case of h { 1 ,   2 ,   } . With an initial approximation to x o 1 / h of z 0 , the following integral is the basis for an iterative algorithm:
I 0 = z 0 h x 0 1 h t 1 1 / h d t = t 1 / h | z 0 h x 0 = x o 1 / h z 0 x o 1 / h = z 0 + I 0 .
An approximation to I 0 yields an approximation for x o 1 / h which is denoted z 1 where
x o 1 / h z 1 = z 0 + approximation   to   I 0 .
Replacing z 0 h by z 1 h in (91) is the first step in an iterative algorithm to establish an accurate approximation to x o 1 / h . The requirement for such an algorithm is a suitable approximation for the integral defined by I 0 and a nth order spline integral approximation is useful.

6.3.1. Iterative Algorithm

An iterative algorithm for determining an approximation to x o 1 / h , and based on a nth order spline integral approximation, is:
x o 1 / h z i + u i + 1 1 ν i + 1 , z i = z i 1 + u i 1 ν i ,
where an initial number, less than x o 1 / h , of z 0 is chosen and
u i + 1 = k = 0 n c n , k ( 1 ) k + 1 ( x 0 z i h ) k + 1 j = 0 k ( j 1 h ) [ 1 z i k h + h 1 ] , ν i + 1 = k = 0 n c n , k ( x 0 z i h ) k + 1 j = 0 k ( j 1 h ) [ 1 x 0 k + 1 ]
Here c n , k is specified by (51). The proof of this algorithm is detailed in Appendix H.

6.3.2. Example and Results

For a 3rd order spline integral approximation, the algorithm is based on
u i + 1 = ( x 0 z i h ) 1 2 h z i h 1 ( x 0 z i h ) 2 3 ( h 1 ) 28 h 2 z i 2 h 1 + ( x 0 z i h ) 3 ( h 1 ) ( 2 h 1 ) 84 h 3 z i 3 h 1 ( x 0 z i h ) 4 ( h 1 ) ( 2 h 1 ) ( 3 h 1 ) 1680 h 4 z i 4 h 1
ν i + 1 = ( x 0 z i h ) 1 2 h x 0 + ( x 0 z i h ) 2 3 ( h 1 ) 28 h 2 x 0 2 + ( x 0 z i h ) 3 ( h 1 ) ( 2 h 1 ) 84 h 3 x 0 3 + ( x 0 z i h ) 4 ( h 1 ) ( 2 h 1 ) ( 3 h 1 ) 1680 h 4 x 0 4
Indicative results for the efficacy of the iterative algorithm for evaluation of a rational number to a fractional power, based on third and sixth order spline approximations, are detailed in Table 7.

6.4. Arc-Cosine, Arc-Sine and Arc-Tangent Function Approximation

Given the coordinate (x, y) of a point on the first quadrant of the unit circle, the corresponding angle θ , as defined by θ = acos ( x ) , θ = asin ( y ) and θ = atan ( y / x ) , can be determined from the following integral which is associated with the angle θ / 2 i , i { 1 ,   2 ,   } :
θ = 2 i 0 g i ( x ) 1 + g i 2 ( x ) 1 1 λ 2 d λ , i { 1 , 2 , } .
This result is proved in Appendix I. To determine an approximation for θ , and, hence, acos ( x ) , asin ( y ) and atan ( y / x ) , first, g i ( x ) needs to be specified. Second, an approximation to the integral needs to be specified and the spline based integral approximation is efficacious.

6.4.1. Algorithm for Determining g i ( x )

An algorithm for determining g i ( x ) , i ∈ {1,2,...}, is:
g i ( x ) = s i 1 1 + c i 1 , s i = 1 2 1 c i 1 , c i = 1 2 1 + c i 1 , s 0 = sin ( θ ) = 1 x 2 , c 0 = cos ( θ ) = x
Here:
g i ( x ) = tan ( θ / 2 i ) , s i = sin ( θ / 2 i ) , c i = cos ( θ / 2 i ) .
A direct definition for g i ( x ) is
g 0 ( x ) = 1 x 2 x , g 1 ( x ) = 1 x 2 1 + x , g i ( x ) = 2 d i 2 2 + d i 1 , i 2 ,
where an algorithm for determining d i is:
d 0 = 4 x 2 ,                 d 1 = 2 ( 1 + x ) ,                 d i = 2 + d i 1 ,         i 2.
The proof of these results is detailed in Appendix I.
As an example, the third and fourth order functions g 3 ( x ) and g 4 ( x ) are:
g 3 ( x ) = 2 2 1 + x 2 + 2 + 2 1 + x , g 4 ( x ) = 2 2 + 2 1 + x 2 + 2 + 2 + 2 1 + x .

6.4.2. Spline Based Integral Approximation

The integral defined by (97) can be approximated by using a nth order spline integral approximation as defined by (49) and (51). For the case of (x, y) specified with y = 1 x 2 , approximations to θ = atan ( y / x ) , θ = acos ( x ) and θ = asin ( y ) can be determined. Based on a nth order spline integral approximation, the approximation is
θ 2 i k = 0 n c n , k [ g i ( x ) 1 + g i 2 ( x ) ] k + 1 [ p [ k , 0 ] + ( 1 ) k p [ k , g i ( x ) 1 + g i 2 ( x ) ] [ 1 + g i 2 ( x ) ] ( 2 k + 1 ) / 2 ] ,
where c n , k is specified by (51) and
p ( 0 , t ) = 1 , p ( k , t ) = ( 1 t 2 ) d d t p ( k 1 , t ) + ( 2 k 1 ) t p ( k , t )
As an example
p ( 6 , t ) = 45 ( 5 + 90 t 2 + 120 t 4 + 16 t 6 ) .
These results arise from the spline based integral approximation as specified by (49) and (51) and by noting that
f ( t ) = 1 [ 1 t 2 ] 1 / 2 f ( k ) ( t ) = p ( k , t ) [ 1 t 2 ] ( 2 k + 1 ) / 2 , k { 0 , 1 , } ,
where the algorithm for determining the numerator polynomial p(k,t) is specified by (104). Substitution of this result into (49) yields
θ 2 i k = 0 n c n , k [ g i ( x ) 1 + g i 2 ( x ) ] k + 1 [ p [ k , 0 ] + ( 1 ) k p [ k , g i ( x ) 1 + g i 2 ( x ) ] [ 1 g i 2 ( x , y ) 1 + g i 2 ( x , y ) ] ( 2 k + 1 ) / 2 ] .
Simplification yields the result stated in (103).

6.4.3. Example and Results

With p[0, t] = 1, p[1, t] = t, p[2, t] = 1 + 2t2, p(3, t) = 3t(3 + 2t2) it follows that a third order spline based approximation is
θ 2 i [ 1 2 g i ( x ) 1 + g i 2 ( x ) [ 1 + [ 1 + g i 2 ( x ) ] 1 / 2 ] 3 28 g i 3 ( x ) + 1 84 g i 3 ( x ) [ 1 + g i 2 ( x ) ] 3 / 2 [ 1 + [ 1 + 3 g i 2 ( x ) ] [ 1 + g i 2 ( x ) ] 3 / 2 ] 1 560 g i 5 ( x ) [ 3 + 5 g i 2 ( x ) ] ]
where, for the case of i = 4, g 4 ( x ) is specified in (102). The use of g 4 ( x ) in (108), for the case of x = 1 / 2 , yields an approximation to atan(1) = π / 4 and, hence, π with a relative error of 1.5 × 10−14. Weisstein [19] provides a good overview of approaches for calculating π . Further, and indicative, results are tabulated in Table 8. High precision results can be established, for relatively low order spline based integral approximations, by using a high order of angle subdivision.

6.5. Series for Integral Defined Functions: The Fresnel Sine Integral

The spline based integral approximation, as specified by (49), can be used to define series approximations for integral defined functions. As an example, consider the Fresnel sine integral 0 t sin ( λ 2 ) d λ . To establish a spline based approximation for this integral the kth derivative of f ( t ) = sin ( t 2 ) is required. This can be specified by using the quadrature signal f q ( t ) = cos ( t 2 ) and is
f ( k ) ( t ) = p k ( t ) f ( t ) + q k ( t ) f q ( t ) ,                 k { 0 , 1 ,   } ,
where
p 0 ( t ) = 1 , q 0 ( t ) = 0 , p 1 ( t ) = 0 , q 1 ( t ) = 2 t , p k ( t ) = p k 1 ( 1 ) ( t ) 2 t q k 1 ( t ) , q k ( t ) = q k 1 ( 1 ) ( t ) + 2 t p k 1 ( t ) , k 2
It then follows that a spline based approximation to the Fresnel sine integral is:
0 t sin ( λ 2 ) d λ k = 2 , 6 , 10 , n c n , k t k + 1 q k ( 0 ) + sin ( t 2 ) k = 0 n c n , k ( 1 ) k t k + 1 p k ( t ) + cos ( t 2 ) k = 0 n c n , k ( 1 ) k t k + 1 q k ( t )
where c n , k is specified by (51). A sixth order approximation is
0 t sin ( λ 2 ) d λ 5 t 3 156 t 7 144144 + sin ( t 2 ) [ t 2 409 t 5 8580 + 997 t 9 1081080 t 13 270270 ] + cos ( t 2 ) [ 31 t 3 156 + 5651 t 7 720720 41 t 11 540540 ]
The error in a sixth order approximation to the integral is illustrated in Figure 15. The relative error is significantly less than for a standard Taylor series approximation defined, e.g., [20,21], according to
0 t sin ( λ 2 ) d λ k = 0 ( 1 ) k t 4 k + 3 ( 4 k + 3 ) ( 2 k + 1 ) ! = t 3 3 t 7 42 + t 11 1320 .
For integration over the interval [0, 1.5], the true integral is 0.778238 … and a 6th order spline approximation yields a relative error of −1.4 × 10−5.

6.6. Definite Integrals

The following examples illustrate the ability of spline based integral approximation to define new series for definite integrals.

6.6.1. Example 1

Consider the approximation
0 t sin ( λ ) 1 + λ d λ k = 0 n c n , k t k + 1 i = 0 k ( 1 ) i k ! ( k i ) ! [ sin [ ( k i ) π 2 ] + sin [ t + ( k i ) π 2 ] ( 1 ) k ( 1 + t ) i + 1 ]
arising from (49), with c n , k as specified by (51), and based on the result
d k d t k [ u ( t ) ν ( t ) ] = i = 0 k k ! ( k i ) ! i ! u ( k i ) ν ( i ) ( t ) ,
where u ( t ) = sin ( t ) , ν ( t ) = 1 1 + t , u ( i ) ( t ) = sin [ t + i π 2 ] and ν ( i ) ( t ) = ( 1 ) i i ! ( 1 + t ) i + 1 .
From (114), the following definite integral approximation
0 π sin ( λ ) 1 + λ d λ k = 0 n c n , k π k + 1 [ i = 0 k ( 1 ) i k ! ( k i ) ! sin [ ( k i ) π 2 ] [ 1 + ( 1 ) k + 1 ( 1 + π ) i + 1 ] ]
is valid. An alternative form is
0 π sin ( λ ) 1 + λ d λ π 2 ( 1 + π ) n ν = 0 2 n 1 d n , ν π ν ,
where
d n , ν = p ( ν ) ( t ) ν ! | t 0 , p ( t ) = k = 0 n c n , k t k 1 [ i = 0 k ( 1 ) i k ! ( k i ) ! sin [ ( k i ) π 2 ] [ ( 1 + t ) n + ( 1 ) k + 1 ( 1 + t ) n i 1 ] ]
A sixth order approximation is
0 π sin ( λ ) 1 + λ d λ π 2 ( 1 + π ) 6 [ 3 13 + 33 π 26 + 4865 π 2 1716 + 11105 π 3 3432 + 5669 π 4 2970 + 145651 π 5 308880 2257 π 6 332640 29977 π 7 2882880 + 157 π 8 154440 1333 π 9 4324320 + 101 π 10 864864 101 π 11 2882880 ]
The true value of the integral is 0.84381081 and the relative errors in the series approximation for n = 4, 8, 16, 64, 128, 256, respectively, are 0.035, 3.3 × 10−3, 3.9 × 10−5, 3.2 × 10−16, 9.2 × 10−31 and 1.1 × 10−59.

6.6.2. Example 2: Catalan’s Constant

Consider the Catalan constant G which is defined by the series
G = k = 0 ( 1 ) k ( 2 k + 1 ) 2 = 0.9159655941
and, equivalently, by the integral, e.g., [18], pp. 56–57,
G = 2 0 π / 4 ln [ 2 cos ( t ) ] d t .
A spline based approximation for Catalan’s constant, based on this integral, is
G 2 k = 0 n c n , k π k + 1 4 k + 1 [ f ( k ) ( 0 ) + ( 1 ) k f ( k ) ( π / 4 ) ] ,
where c n , k is defined by (51) and
f ( t ) = ln [ 2 cos ( t ) ] , f ( k ) ( t ) = N ( k , t ) cos ( t ) k , k { 1 , 2 , } .
Here:
N ( 1 , t ) = sin ( t ) , N ( k , t ) = d d t N ( k 1 , t ) cos ( t ) + ( k 1 ) N ( k 1 , t ) sin ( t ) , t 2
A sixth order approximation is
G 3 π 8 ln ( 2 ) + 3 π 2 208 5 π 3 3328 + 5 π 4 109824 9 π 5 2928640 + π 6 7907328 π 7 268369920
and has a relative error of 1.7 × 10−8. A sixth order series approximation, as specified by (120), yields an approximation with a relative error of −2.7 × 10−3.

6.7. Use of Sub-Division of Integration Interval

The region of convergence for a spline based integral approximation can be extended by demarcating the region of integration into sub-intervals and by using a change of variable. Consider the integral α t f ( λ ) d λ which can be written as
I = α α + Δ [ i = 0 m 1 f ( λ + i Δ ) ] d λ , Δ = t α m
and can be approximated, consistent with (49) and (51), according to
I k = 0 n c n , k Δ k + 1 [ g ( k ) ( α ) + ( 1 ) k g ( k ) ( Δ ) ]
where
g ( t ) = i = 0 m 1 f ( t + i Δ ) , t [ α , α + Δ ] .

6.7.1. Example

Consider the integral
I = 0 t sin ( λ ) 1 + λ d λ = 0 t / m [ q = 0 m 1 sin ( λ + q Δ ) 1 + λ + q Δ ] d λ , Δ = t / m ,
which has the approximation detailed in (114) and where the demarcation of the interval [0, t] into m sub-intervals of measure Δ = t / m has been used. It then follows that
I k = 0 n c n , k t k + 1 m k + 1 [ g ( k ) ( 0 ) + ( 1 ) k g ( k ) ( t / m ) ] ,
where
g ( t ) = q = 0 m 1 sin ( t + q Δ ) 1 + t + q Δ
and, based on (115),
g ( k ) ( t ) = q = 0 m 1 [ i = 0 k k ! ( k i ) ! sin [ t + q Δ + ( k i ) π 2 ] ( 1 ) i ( 1 + t + q Δ ) i + 1 ] .
For the case integration over the interval [ 0 ,   π ] , the use of four subdivision intervals yields, for the case of spline based integral approximations of orders n = 4, 8, 16, 64, 128, 256, relative errors, respectively, with magnitudes of 1.0 × 10−6, 4.3 × 10−11, 9.8 × 10−20, 4.5 × 10−71, 2.7 × 10−139 and 1.4 × 10−275. Such results indicate the significant improvement in convergence when compared with the non-subdivision case as detailed in Section 6.6.1.
For the case integration over the interval [ 0 ,   100 π ] , the use of 256 subdivision intervals yields, for the case of spline based integral approximations of orders n = 4, 8, 16, 64, 128, 256, relative errors, respectively, with magnitudes of 5.3 × 10−5, 3.3 × 10−8, 1.6 × 10−14, 7.5 × 10−52, 2.1 × 10−101 and 2.3 × 10−200. The true integral is 0.618276689 .

6.7.2. Example: Electric Field Generated by a Ring of Charge

A ring in free space defined by
{ ( x 1 , y 1 , z 1 ) : x 1 2 + y 1 2 = a 2 , z 1 = b } ,
which has a free charge density of ρ f on it, generates an electric field at a point (x, y, z) away from the ring of
E ˜ ( x , y , z ) = 0 2 π a ρ f 4 π ε o [ x a cos ( t ) ] i ˜ + [ y a sin ( t ) ] j ˜ + [ z b ] k ˜ [ x 2 + y 2 + z 2 + a 2 2 a x cos ( t ) 2 a y sin ( t ) 2 b z ] 3 / 2 d t ,
where ε o is the permittivity of free space. As an example, consider the x component of the electric field which is defined by the integral
E X ( x , y , z ) = a ρ f 4 π ε o · 0 2 π [ x a · cos ( t ) ] [ r o 2 a o cos ( t ϕ ) ] 3 / 2 d t = a ρ f 4 π ε o · 0 2 π f ( t ) d t ,
where
f ( t ) = x a · cos ( t ) [ r o 2 a o cos ( t ϕ ) ] 3 / 2 , r o 2 = x 2 + y 2 + z 2 + a 2 2 b z ,                 a o = 2 a x 2 + y 2 ,                 ϕ = atan ( y / x ) .
Using (127), and demarcation of [ 0 ,   2 π ] into m sub-intervals of measure Δ = 2 π / m , this component of the electric field can be approximated according to
E X ( x , y , z ) a ρ f 4 π ε o k = 0 n c n , k Δ k + 1 [ g ( k ) ( 0 ) + ( 1 ) k g ( k ) ( Δ ) ] ,
where
g ( t ) = i = 0 m 1 f ( t + i Δ ) , g ( k ) ( t ) = i = 0 m 1 f ( k ) ( t + i Δ )
and
f ( k ) ( t ) N ( k , t ) [ r o 2 a o cos ( t + ϕ ) ] ( 2 k + 3 ) / 2 ,                 k { 0 , 1 , } .
The algorithm for determining N(k, t) is
N ( 0 , t ) = x a · cos ( t ) , N ( k , t ) = d d t N ( k 1 , t ) · [ r o 2 a o cos ( t ϕ ) ] ( 2 k + 1 ) 2 N ( k 1 , t ) a o sin ( t ϕ ) .
For example (simplification via Mathematica):
f ( 4 ) ( t ) = a cos ( t ) [ r o 2 a o cos ( t ϕ ) ] 3 / 2 + 3 a o [ a cos ( ϕ ) + 2 x cos ( t ϕ ) 15 a cos ( 2 t ϕ ) ] 4 [ r o 2 a o cos ( t ϕ ) ] 5 / 2 + 15 a o 2 [ 2 x + 14 a cos ( t ) + 14 x cos ( 2 t 2 ϕ ) a cos ( t 2 ϕ ) 25 a cos ( 3 t 2 ϕ ) ] 16 [ r o 2 a o cos ( t ϕ ) ] 7 / 2 + 105 a o 3 [ a cos ( ϕ ) 6 x cos ( t ϕ ) + 5 a cos ( 2 t ϕ ) ] sin ( t ϕ ) 2 8 [ r o 2 a o cos ( t ϕ ) ] 9 / 2 + 945 a o 4 [ x a cos ( t ) ] sin ( t ϕ ) 4 16 [ r o 2 a o cos ( t ϕ ) ] 11 / 2
The integrand, f, varies significantly with the point (x, y, z) as is evident in Figure 16 where, for the case of a = 1 and b = 0, the graph of f is shown for the points (1/10, 1/10, 1/10), (1, 1/10, 1/10), (1, 1, 1) and (10, 1, 1). The change in the integrand with four sub-divisions of the interval [ 0 ,   2 π ] is shown in Figure 17 for the same four points.
Indicative results are detailed in Table 9 and the use of four sub-intervals yields, in general, acceptable levels of error apart from the case of points close to the ring of charge where the integrand varies rapidly.

7. Conclusions

This paper has introduced the dual Taylor series which is a natural generalization of the classic Taylor series. Such a series, along with a spline based series, facilitates function and integral approximation with the approximations being summarized in Table 2. In comparison with a antiderivative series, a Taylor series and a dual Taylor series, a spline based series approximation to an integral, in general, yields the highest accuracy for a set order of approximation. A spline based series for an integral has many applications and indicative examples include a series for the exponential function, which coincides with a Padé series, new series for the logarithm function as well as new series for integral defined functions such as the Fresnel Sine integral function. Such series are more accurate, and have larger regions of convergence, than Taylor series based approximations. The spline based series for an integral can be used to define algorithms for highly accurate approximations for the logarithm function, the exponential function, rational numbers to a fractional power and the inverse sine, inverse cosine and inverse tangent functions. Such algorithms can be used, for example, to establish highly accurate approximations for specific irrational numbers such as π and Catalan’s constant. The use of sub-intervals allows the region of convergence for an integral to be extended. The results presented are not exhaustive and other applications remain to be found.

Acknowledgments

The support of Prof. Zoubir, SPG, Technical University of Darmstadt, Darmstadt, Germany, who hosted a visit where significant work on this paper was completed, is gratefully acknowledged. Prof. Zoubir suggested the use of a set of test functions for a comparison of the integral approximations.

Conflicts of Interest

The author declares no conflict of interest.

Appendix A. Proof of Remainder Expression for Dual Taylor Series

As m ( t ) + q ( t ) = 1 for t [ α , β ] , it follows that the remainder function R n ( α , β , t ) , as specified by (28), can be written as
R n ( α , β , t ) = f ( t ) f n ( α , β , t ) = [ m ( t ) + q ( t ) ] f ( t ) [ m ( t ) f n ( α , t ) + q ( t ) f n ( β , t ) ] = m ( t ) [ f ( t ) f n ( α , t ) ] + q ( t ) [ f ( t ) f n ( β , t ) ]
Using the result for the error in a nth order Taylor series approximation, as specified in (9), i.e.,
R n ( α , t ) = α t ( t λ ) n f ( n + 1 ) ( λ ) n ! d λ , R n ( β , t ) = t β ( t λ ) n f ( n + 1 ) ( λ ) n ! d λ ,
the required results follow, namely:
R n ( α , β , t ) = m ( t ) α t ( t λ ) n f ( n + 1 ) ( λ ) n ! d λ q ( t ) t β ( t λ ) n f ( n + 1 ) ( λ ) n ! d λ , t [ α , β ] .

Appendix B. Integral of a Dual Taylor Series with Polynomial Demarcation Functions

Consider
I n ( t ) = α t f n ( α , t , λ ) d λ = α t [ m n ( λ ) f n ( α , λ ) + q n ( λ ) f n ( t , λ ) ] d λ .
Substitution of f n ( α , λ ) and f n ( t , λ ) from (7), along with the definitions m n ( t ) = m N , n ( t α β α ) and q n ( t ) = m N , n ( β t β α ) for the interval [ α , β ] , it follows, using the form specified in (21) for m N , n ( t ) , that
I n ( t ) = α t [ ( n + 1 ) u = 0 n + 1 ν = 0 n ( 1 ) u ( n + ν ) ! ( n + 1 u ) ! u ! ν ! [ λ α t α ] u + ν k = 0 n ( λ α ) k f ( k ) ( α ) k ! ] d λ + α t [ ( n + 1 ) u = 0 n + 1 ν = 0 n ( 1 ) u ( n + ν ) ! ( n + 1 u ) ! u ! ν ! [ t λ t α ] u + ν k = 0 n ( λ t ) k f ( k ) ( t ) k ! ] d λ
Interchanging the order of summations and integration, and evaluation of the integrals, yields the required result:
I n ( t ) = ( n + 1 ) u = 0 n + 1 ν = 0 n k = 0 n ( 1 ) u ( n + ν ) ! ( n + 1 u ) ! u ! ν ! k ! ( t α ) k + 1 u + ν + k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] = k = 0 n c n , k ( t α ) k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ]
where
c n , k = n + 1 k ! u = 0 n + 1 ( 1 ) u u ! ( n + 1 u ) ! [ ν = 0 n ( n + ν ) ! ν ! 1 u + ν + k + 1 ] .
The remainder is specified by
R n ( α , t ) = α t [ f ( λ ) f n ( α , t , λ ) ] d λ = α t f ( λ ) d λ I n ( t ) ,
which implies
R n ( 1 ) ( α , t ) = f ( t ) I n ( 1 ) ( t ) .
Differentiation of I n ( t ) , and use of the result c n , 0 = 1 / 2 , yields the required result:
R n ( 1 ) ( α , t ) = c n , 0 [ f ( t ) f ( α ) ] k = 1 n c n , k ( k + 1 ) ( t α ) k f ( k ) ( α ) + k = 1 n ( 1 ) k + 1 ( t α ) k f ( k ) ( t ) [ c n , k ( k + 1 ) c n , k 1 ] + c n , n ( 1 ) n + 1 ( t α ) n + 1 f ( n + 1 ) ( t )

Appendix C. Proof of Spline Based Approximation

Consider the form specified by (39) for f n ( α , β , t ) and the results:
h n ( k ) ( t ) = ( n + 1 ) ! ( n + 1 k ) ! ( t β ) n + 1 k ( β α ) n + 1 , h ( k ) ( α ) = ( n + 1 ) ! ( n + 1 k ) ! ( 1 ) n + 1 k ( β α ) k , g n ( k ) ( t ) = ( n + 1 ) ! ( n + 1 k ) ! ( t α ) n + 1 k ( β α ) n + 1 , g ( k ) ( β ) = ( n + 1 ) ! ( n + 1 k ) ! 1 ( β α ) k
Using these results, (39) allows the unknown coefficients to be sequentially solved. For example:
f n ( α , β , α ) = f ( α ) h n ( α ) a 00 = 1
f n ( 1 ) ( α , β , α ) = f ( 1 ) ( α )                               { h n ( 1 ) ( α ) a 00 + h n ( α ) a 01 = 0 h n ( α ) a 10 = 1                        
f n ( 2 ) ( α , β , α ) = f ( 2 ) ( α )                     { h n ( 2 ) ( α ) a 00 + 2 h n ( 1 ) ( α ) a 01 + 2 h n ( α ) a 02 = 0 2 h n ( 1 ) ( α ) a 10 + 2 h n ( α ) a 11 = 0                       2 h n ( α ) a 20 = 1                                                
etc. Sequential solving of the equations yields the result stated in (40).
To rewrite (40) in a form that is similar to the form of a dual Taylor series, both the numerator and denominator expressions can be multiplied by i = 0 n ( n + i ) ! i !   ·   n ! · ( t α ) i ( β α ) i for the first term, and i = 0 n ( n + i ) ! i !   ·   n ! · ( β t ) i ( β α ) i for the second, to yield
f n ( α , β , t ) = [ ( β t ) n + 1 ( β α ) n + 1 i = 0 n ( n + i ) ! i ! n ! ( t α ) i ( β α ) i ] k = 0 n ( t α ) k k ! f ( k ) ( α ) i = 0 n k ( n + i ) ! i ! n ! ( t α ) i ( β α ) i i = 0 n ( n + i ) ! i ! n ! ( t α ) i ( β α ) i + [ ( t α ) n + 1 ( β α ) n + 1 i = 0 n ( n + i ) ! i ! n ! ( β t ) i ( β α ) i ] k = 0 n ( 1 ) k ( β t ) k k ! f ( k ) ( β ) i = 0 n k ( n + i ) ! i ! n ! ( β t ) i ( β α ) i i = 0 n ( n + i ) ! i ! n ! ( β t ) i ( β α ) i
With the definition of the polynomial demarcation functions, as specified by (23), it follows that
f n ( α , β , t ) = m n ( t ) k = 0 n ( t α ) k k ! f ( k ) ( α ) [ i = 0 n k ( n + i ) ! i ! n ! ( t α ) i ( β α ) i i = 0 n ( n + i ) ! i ! n ! ( t α ) i ( β α ) i ] + q n ( t ) k = 0 n ( 1 ) k ( β t ) k k ! f ( k ) ( β ) [ i = 0 n k ( n + i ) ! i ! n ! ( β t ) i ( β α ) i i = 0 n ( n + i ) ! i ! n ! ( β t ) i ( β α ) i ]
Adding and subtracting one from the bracketed terms, leads to the definitions for c n , k ( t ) and d n , k ( t ) as specified by (42) and the required form for f n ( α , β , t ) as stated by (41).

Appendix D. Convergence of Spline Approximation

Consider the spline approximation defined by (41):
f n ( α , β , t ) = m n ( t ) k = 0 n ( t α ) k k ! f ( k ) ( α ) [ 1 + c n , k ( t ) ] + q n ( t ) k = 0 n ( t β ) k k ! f ( k ) ( β ) [ 1 + d n , k ( t ) ] .
First, assume the Taylor series
k = 0 n ( t α ) k k ! f ( k ) ( α ) , k = 0 n ( t β ) k k ! f ( k ) ( β )
converge, respectively, over the intervals α < t < α + β α 2 and α + β α 2 < t < β . Consistent with (32), a sufficient condition for convergence is for
lim n f max ( n ) ( β α ) n 2 n n ! = 0 .
It then follows that
k = 0 n ( t α ) k k ! f ( k ) ( α ) [ 1 + c n , k ( t ) ]   and   k = 0 n ( t β ) k k ! f ( k ) ( β ) [ 1 + d n , k ( t ) ]
both converge. To show this consider (42) and 1 + c n , k ( δ ) :
1 + c n , k ( δ ) = i = 0 n k ( n + i ) ! i ! n ! δ i i = 0 n ( n + i ) ! i ! n ! δ i , δ = ( t α ) ( β α ) .
It is clear that 1 + c n , k + 1 ( δ ) contains one less term than 1 + c n , k ( δ ) in the numerator and all terms are positive. Thus, 1 + c n , k + 1 ( δ ) < 1 + c n , k ( δ ) and it is the case that 0 < 1 + c n , k ( δ ) 1 with equality for the case of k = 0. For n and δ fixed, 1 + c n , k ( δ ) is a monotonically decreasing series for k { 0 ,   ,   n } , as is clearly evident in the graphs shown in Figure 5. It then follows, from Abel’s test for convergence [22], that the series specified in (161) are convergent.
Second, the issue is the convergence of the spline approximation to the underlying function on the interval [ α , β ] . This follows if lim n c n , k ( δ ) = 0   for k { 0 ,   1 ,   ,   n } as the summation is then that of a dual Taylor series. Further, m n ( t ) and q n ( t ) approach ideal demarcation functions as n . Thus, the requirement is to prove converge of | c n , k ( δ ) | to zero for 0 δ 1 / 2 . First, using the definition of c n , k ( t ) specified by (42), it can readily be shown that
δ [ c n , k ( δ ) ] = 1 D i = n k + 1 n j = 1 n k ( n + i ) ! i ! n ! ( n + j ) ! j ! n ! ( i j ) δ i + j 1 + 1 D i = n k + 1 n ( n + i ) ! ( i 1 ) ! n ! δ i 1 + 1 D i = n k + 1 n j = n k + 1 n ( n + i ) ! i ! n ! ( n + j ) ! j ! n ! ( i j ) δ i + j 1 , D = [ i = 0 n ( n + i ) ! i ! n ! δ i ] 2
and it then follows that δ [ c n , k ( δ ) ] > 0 as the first two summations comprise only of positive terms and the last double summation equals zero as the off-diagonal terms can be paired with one term being the negative of the another. Thus, for n and k fixed
| c n , k ( δ 1 ) | < | c n , k ( δ 2 ) | ,
when δ 1 < δ 2 . Hence, if lim n c n , k ( δ ) = 0   for δ = 1 / 2 , then the proof is complete. For δ = 1 / 2 , it is the case that the denominator term for c n , k ( 1 / 2 ) simplifies according to
i = 0 n ( n + i ) ! i ! n ! 1 2 i = 2 n
It then follows that
| c n , k ( 1 / 2 ) | = 1 2 n [ ( 2 n k + 1 ) ! ( n k + 1 ) ! n ! δ n k + 1 + ( 2 n k + 2 ) ! ( n k + 2 ) ! n ! δ n k + 2 + + ( 2 n ) ! n ! n ! δ n ] | δ = 1 / 2 ( 2 n k + 1 ) ! ( n k + 1 ) ! n ! δ n k + 1 2 n [ 1 + 2 δ + 2 2 δ 2 + + 2 k 1 δ k 1 ] | δ = 1 / 2
assuming n k . Hence:
| c n , k ( 1 / 2 ) | ( 2 n k + 1 ) ! ( n k + 1 ) · n ! · k · 2 k 1 2 2 n ,                 k n .
Using Stirling’s formula, n ! 2 π · n n + 1 / 2 · e n , yields
| c n , k ( 1 / 2 ) | k π 1 n ,
which clearly converges to zero as n increases for all fixed values of k. This completes the proof.

Appendix E. Proof: Integral Approximation Based on Spline Approximation

The spline based integral approximation, as specified by (49) and (50), arises from rewriting (40) in the form:
f n ( α , β , t ) = 1 ( β α ) n + 1 k = 0 n f ( k ) ( α ) k ! i = 0 n k ( n + i ) ! i ! n ! ( β t ) n + 1 ( t α ) i + k ( β α ) i + 1 ( β α ) n + 1 k = 0 n ( 1 ) k k ! f ( k ) ( β ) i = 0 n k ( n + i ) ! i ! n ! ( t α ) n + 1 ( β t ) i + k ( β α ) i
Integration of this expression over the interval [ α , β ] then yields:
α β f n ( α , β , λ ) d λ = 1 ( β α ) n + 1 k = 0 n f ( k ) ( α ) k ! i = 0 n k ( n + i ) ! i ! n ! I 1 ( β α ) i + 1 ( β α ) n + 1 k = 0 n ( 1 ) k k ! f ( k ) ( β ) i = 0 n k ( n + i ) ! i ! n ! I 2 ( β α ) i
where
I 1 = α β ( β α ) n + 1 ( λ α ) i + k d λ , I 2 = α β ( λ α ) n + 1 ( β λ ) i + k d λ .
A change of variable r = λ α β α yields
I 1 = ( β α ) n + 2 + i + k 0 1 ( 1 r ) n + 1 r i + k d r = ( β α ) n + 2 + i + k B ( i + k + 1 , n + 2 ) ,
I 2 = ( β α ) n + 2 + i + k 0 1 r n + 1 ( 1 r ) i + k d r = ( β α ) n + 2 + i + k B ( n + 2 , i + k + 1 ) ,
where B is the Beta function
B ( a , b ) = 0 1 x a 1 ( 1 x ) b 1 d x
As
B ( m , n ) = B ( n , m ) = Γ ( m ) Γ ( n ) Γ ( m + n ) = ( m 1 ) ! ( n 1 ) ! ( m + n 1 ) ! , m , n { 1 , 2 , } ,
it follows that
I 1 = I 2 = ( β α ) n + 2 + i + k ( n + 1 ) ! ( i + k ) ! ( n + i + k + 2 ) ! .
Substitution yields the required result:
α β f n ( α , β , λ ) d λ = ( n + 1 ) k = 0 n ( β α ) k + 1 k ! [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( β ) ] i = 0 n k ( n + i ) ! i ! ( i + k ) ! ( n + i + k + 2 ) ! .

Appendix E.1. Second Form

By directly solving for the coefficients associated with a nth order spline approximation to a function over the interval [ α , β ] , i.e., solving for d 0 ,   ,   d 2 n + 1 in the following approximation function
f n ( α , β , t ) = i = 0 2 n + 1 d i ( t α ) i , f n ( k ) ( α , β , α ) = f ( k ) ( α ) , f n ( k ) ( α , β , β ) = f ( k ) ( β ) , k { 0 , 1 , , n }
and then integrating the approximation over [ α , t ] , yields
α t f n ( α , t , λ ) d λ = k = 0 n c n , k ( t α ) k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] ,
where the coefficients form the array:
n = 0 1 2 n = 1 1 2 1 12 n = 2 1 2 1 10 1 120 n = 3 1 2 3 28 1 84 1 1680 n = 4 1 2 1 9 1 72 1 1008 1 30240 n = 5 1 2 5 44 1 66 1 792 1 15840 1 665280 n = 6 1 2 3 26 5 312 5 3432 1 11440 1 308880 1 17 , 297 , 280 k = 0 k = 1 .
The explicit expression c n , k = n ! ( n k ) ! ( k + 1 ) ! · ( 2 n + 1 k ) ! 2   ·   ( 2 n + 1 ) ! can then be inferred. A direct proof of the equality between this coefficient expression and the expression implicit in (177), i.e., a direct proof of
n + 1 k ! i = 0 n k ( n + i ) ! i ! ( k + i ) ! ( n + k + i + 2 ) ! = n ! ( n k ) ! ( k + 1 ) ! ( 2 n + 1 k ) ! 2 ( 2 n + 1 ) !
remains elusive.

Appendix E.2. Remainder

The remainder term, specified by (53), arises from differentiation of (48) which yields
f ( t ) = f ( t ) 2 + f ( α ) 2 + k = 1 n c n , k ( k + 1 ) ( t α ) k [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] + k = 0 n c n , k ( t α ) k + 1 ( 1 ) k f ( k + 1 ) ( t ) + R n ( 1 ) ( α , t )
as c n , 0 = 1 / 2 . A change of index u = k +1 in the second summation yields
R n ( 1 ) ( α , t ) = f ( t ) 2 + f ( α ) 2 + k = 1 n c n , k ( k + 1 ) ( t α ) k f ( k ) ( α ) + k = 1 n ( t α ) k ( 1 ) k f ( k ) ( t ) [ ( k + 1 ) c n , k c n , k 1 ] + c n , n ( 1 ) n ( t α ) n + 1 f ( n + 1 ) ( t )
Using the definition of c n , k , as specified by (51), it follows that
( k + 1 ) c n , k c n , k 1 = ( k + 1 ) c n , k n + 1 n k + 1
and the required result follows, i.e.,
R n ( 1 ) ( α , t ) = k = 0 n c n , k ( k + 1 ) ( t α ) k [ f ( k ) ( α ) + ( 1 ) k + 1 n + 1 n k + 1 f ( k ) ( t ) ] + c n , n ( 1 ) n + 1 ( t α ) n + 1 f ( n + 1 ) ( t )

Appendix F. Proof of Series Approximation for the Exponential Function

First, the integral of the exponential function is well known, i.e.,
0 t e λ d λ = e t 1 .
Second, a spline based integral approximation, as specified by (49) and (51), for the integral of the exponential function yields
0 t e λ d λ k = 0 n c n , k t k + 1 [ 1 + ( 1 ) k e t ] = [ c n , 0 t + c n , 1 t 2 + + c n , n t n + 1 ] + e t [ c n , 0 t c n , 1 t 2 + + ( 1 ) n c n , n t n + 1 ]
Equating the right hand side of these two equations results in the required approximation
e t 1 + c n , 0 t + c n , 1 t 2 + + c n , n t n + 1 1 c n , 0 t + c n , 1 t 2 + + ( 1 ) n + 1 c n , n t n + 1 .
The result stated in (75), for the case of n , arises from the result (54): c , k = 1 2 k + 1 · 1 ( k + 1 ) ! .
The series convergence is based on the convergence of (49) for the case of an integrand of f(t) = exp(t). A sufficient condition for this is convergence of a spline based approximation for exp(t) over the interval [0, t]. Consistent with (47), a sufficient condition for this is for lim n t n 2 n   ·   n ! · f max ( n ) = 0 . On the interval [0, t], f max ( n ) = e t and, for t fixed:
lim n t n 2 n n ! f max ( n ) = lim n t n e t 2 n n ! = 0
as required.

Appendix G. Proof of Natural Logarithm Approximation

Consider the integral of ln(t):
1 t ln ( λ ) d λ = t ln ( t ) t + 1 .
The nth order based spline series approximation to the integral of ln(t), as defined by (49), is
1 t ln ( λ ) d λ k = 0 n c n , k ( t 1 ) k + 1 [ f ( k ) ( 1 ) + ( 1 ) k f ( k ) ( t ) ] ,
where f(t) = ln(t) and f ( k ) ( t ) = ( 1 ) k + 1 ( k 1 ) ! t k , k { 1 ,   2 ,   } . Thus:
1 t ln ( λ ) d λ c n , 0 ( t 1 ) ln ( t ) + ( t 1 ) k = 1 n c n , k ( 1 ) k + 1 ( k 1 ) ! ( t 1 ) k [ 1 + ( 1 ) k t k ] .
As c n , 0 = 1 / 2 , equating the right hand sides of this equation and (190) yields the approximation
t ln ( t ) t + 1 ( t 1 ) 2 ln ( t ) + ( t 1 ) k = 1 n c n , k ( 1 ) k + 1 ( k 1 ) ! ( t 1 ) k [ 1 + ( 1 ) k t k ] .
Simplification yields the required result:
ln ( t ) 2 ( t 1 ) t + 1 [ 1 + k = 1 n c n , k ( 1 ) k + 1 ( k 1 ) ! ( t 1 ) k [ 1 + ( 1 ) k t k ] ] .

Appendix H. Iterative Algorithm for Number to a Fractional Power

Consider the integral result
z 0 h x o 1 h t 1 1 / h d t = t 1 / h | z 0 h x o = x o 1 / h z 0 .
With
f ( t ) = 1 h t 1 1 / h , f ( k ) ( t ) = ( 1 ) k h t k + 1 1 / h j = 1 k ( j 1 h ) = ( 1 ) k + 1 t k + 1 1 / h j = 0 k ( j 1 h ) ,
where the last expression for f ( k ) ( t ) is valid for k { 1 ,   2 ,   } , it follows, based on a nth order spline approximation as defined by (49) and (51), that
z i h x o 1 h t 1 1 / h d t k = 0 n c n , k ( 1 ) k + 1 ( x o z i h ) k + 1 j = 0 k ( j 1 h ) [ 1 z i k h + h 1 + ( 1 ) k x o 1 / h x o k + 1 ] = u i + 1 + ν i + 1 x o 1 / h
Here
u i + 1 = k = 0 n c n , k ( 1 ) k + 1 ( x o z i h ) k + 1 [ j = 0 k ( j 1 h ) ] 1 z i k h + h 1 , ν i + 1 = k = 0 n c n , k ( x o z i h ) k + 1 [ j = 0 k ( j 1 h ) ] 1 x o k + 1
As
z i h x o 1 h t 1 1 / h d t = x o 1 / h z i u i + 1 + ν i + 1 x o 1 / h ,
it then follows that an updated approximation for x o 1 / h is
x o 1 / h z i + u i + 1 1 ν i + 1 .
This approximation is z i + 1 and is the basis for the next lower integral limit of z i + 1 h . Thus:
z i + 1 = z i + u i + 1 1 ν i + 1 .

Appendix I. Proof: ArcCos, ArcSin and ArcTangent Approximation

Consider a point (x, y) on the first quadrant of a unit circle, as illustrated in Figure A1, which defines an angle θ . The relationships θ ( y ) = asin ( y ) , and d d y θ ( y ) = 1 1 y 2 , imply that the path length around the unit circle defined by the angle of θ / 2 i , to the point (xo, yo), is
θ 2 i = 0 y o 1 1 λ 2 d λ ,
where
y o = sin [ θ 2 i ] = cos [ π 2 θ 2 i ] , x o = cos [ θ 2 i ] = sin [ π 2 θ 2 i ] .
Figure A1. Geometry, based on the unit circle, for defining ( x o ,   y o ) based on the angle θ / 2 i .
Figure A1. Geometry, based on the unit circle, for defining ( x o ,   y o ) based on the angle θ / 2 i .
Mca 24 00035 g0a1
To relate yo to x and y, consider the well known half angle results for the first quadrant:
tan ( θ / 2 ) = 1 cos ( θ ) 1 + cos ( θ ) = sin ( θ ) 1 + cos ( θ ) , sin ( θ / 2 ) = 1 2 1 cos ( θ ) , cos ( θ / 2 ) = 1 2 1 + cos ( θ )
It then follows that
tan ( θ / 4 ) = sin ( θ / 2 ) 1 + cos ( θ / 2 )
and iteration leads to the algorithm:
t i = s i 1 1 + c i 1 , s i = 1 2 1 c i 1 , c i = 1 2 1 + c i 1 ,
where t i = tan ( θ / 2 i ) , s i = sin ( θ / 2 i ) , c i = cos ( θ / 2 i ) , s 0 = sin ( θ ) = y and c 0 = cos ( θ ) = x . It then follows that
t i = tan ( θ / 2 i ) = y o x o .
Using the notation g i ( x ) = t i , it follows that
y o = 1 y o 2 g i ( x ) y o = g i 2 ( x ) 1 + g i 2 ( x )
and
θ = 2 i 0 g i ( x ) 1 + g i 2 ( x ) 1 1 λ 2 d λ
as required. The alternative definition for g i ( x ) , as defined by (100), arises from a consideration of the results for ti, i { 0 ,   1 ,   } :
g 0 ( x ) = y x = 4 x 1 x 2 4 x 2 = n 0 d 0 , g 1 ( x ) = y 1 + x = 2 1 x 2 2 ( 1 + x ) = n 1 d 1 , g 2 ( x ) = 2 2 x 2 + 2 1 + x = 2 d 0 2 + d 1 = n 2 d 2 , g 3 ( x ) = 2 2 1 + x 2 + 2 + 2 1 + x = 2 d 1 2 + d 2 = n 3 d 3 , g 4 ( x ) = 2 2 + 2 1 + x 2 + 2 + 2 + 2 1 + x = 2 d 2 2 + d 3 = n 4 d 4
The iterative formula defined by (100) and (101) is clearly evident.

References

  1. Burton, D.M. The History of Mathematics: An Introduction; McGraw-Hill: New York, NY, USA, 2005. [Google Scholar]
  2. Katz, V.J. A History of Mathematics: An Introduction; Addison–Wesley: Boston, MA, USA, 2009. [Google Scholar]
  3. Thomson, B.S. The natural integral on the real line. Scientiae Mathematicae Japonicae 2007, 67, 717–729. [Google Scholar]
  4. Thomson, B.S. Theory of the Integral. Available online: http://classicalrealanalysis.info/com/documents/toti-screen-Feb9-2013.pdf (accessed on 17 December 2018).
  5. Botsko, M.W. A fundamental theorem of calculus that applies to all Riemann integrable functions. Math. Mag. 1991, 64, 347–348. [Google Scholar] [CrossRef]
  6. Spivak, M. Calculus; Publish or Perish: Houston, TX, USA, 1994. [Google Scholar]
  7. Gradsteyn, I.S.; Ryzhik, I.M. Tables of Integrals, Series and Products; Academic Press: Cambridge, MA, USA, 1980. [Google Scholar]
  8. Horowitz, D. Tabular integration by parts. Coll. Math. J. 1990, 21, 307–311. [Google Scholar] [CrossRef]
  9. Olver, F.W.J. Asymptotics and Special Functions; Academic Press: Cambridge, MA, USA, 1974; Chapter 1. [Google Scholar]
  10. Stenger, F. The asymptotic approximation of certain integrals. SIAM J. Math. Anal. 1970, 1, 392–404. [Google Scholar] [CrossRef]
  11. Champeney, D.C. A Handbook of Fourier Theorems; Cambridge University Press: Cambridge, UK, 1987. [Google Scholar]
  12. Pinkus, A. Weierstrass and Approximation Theory. J. Approx. Theory 2000, 107, 1–66. [Google Scholar] [CrossRef]
  13. Davis, P.J.; Rabinowitz, P. Methods of Numerical Integration; Academic Press: Cambridge, MA, USA, 1984. [Google Scholar]
  14. Howard, R.M. Antiderivative series for differentiable functions. Int. J. Math. Educ. Sci. Technol. 2004, 35, 725–731. [Google Scholar] [CrossRef]
  15. Struik, D.J. A Source Book in Mathematics 1200–1800; Princeton University Press: Princeton, NJ, USA, 1986; pp. 328–332. [Google Scholar]
  16. Kountourogiannis, D.; Loya, P. A derivation of Taylor’s formula with integral remainder. Math. Mag. 2003, 76, 217–219. [Google Scholar] [CrossRef]
  17. Baker, G.A. Essentials of Pade Approximants; Academic Press: Cambridge, MA, USA, 1975. [Google Scholar]
  18. Finch, S.R. Mathematical Constants, Encyclopedia of Mathematics and its Applications; Cambridge University Press: Cambridge, UK, 2003; Volume 94, pp. 56–57. [Google Scholar]
  19. Weisstein, E.W. Pi Formulas, MathWorld—A Wolfram Web Resource. Available online: http://mathworld.wolfram.com/PiFormulas.html (accessed on 17 December 2018).
  20. Abramowitz, M.; Stegun, I.A. Handbook of Mathematical Functions with Formulas, Graphs and Mathematical Tables; Dover: Mineola, NY, USA, 1965. [Google Scholar]
  21. Spiegel, M.R.; Lipshutz, S.; Liu, J. Mathematical Handbook of Formulas and Tables; McGraw Hill: New York, NY, USA, 2009. [Google Scholar]
  22. Whittaker, E.T.; Watson, G.N. A Course of Modern Analysis; Cambridge University Press: Cambridge, UK, 1920. [Google Scholar]
Figure 1. Illustration of the normalized demarcation functions m N ( t ) and q N ( t ) .
Figure 1. Illustration of the normalized demarcation functions m N ( t ) and q N ( t ) .
Mca 24 00035 g001
Figure 2. Graph of the normalized demarcation functions m N ( t ) and q N ( t ) as defined by (16). Such functions are infinitely differentiable on (0, 1), and have right and left hand derivatives, of all orders, that are zero, respectively, at the points of zero and one.
Figure 2. Graph of the normalized demarcation functions m N ( t ) and q N ( t ) as defined by (16). Such functions are infinitely differentiable on (0, 1), and have right and left hand derivatives, of all orders, that are zero, respectively, at the points of zero and one.
Mca 24 00035 g002
Figure 3. Graph of the normalized polynomial demarcation functions, of orders one to six, for the interval [0, 1].
Figure 3. Graph of the normalized polynomial demarcation functions, of orders one to six, for the interval [0, 1].
Mca 24 00035 g003
Figure 4. Graph of the 4th, 6th, 8th and 10th order dual Taylor series approximations, based on the interval [0, 1], for the function defined by (33).
Figure 4. Graph of the 4th, 6th, 8th and 10th order dual Taylor series approximations, based on the interval [0, 1], for the function defined by (33).
Mca 24 00035 g004
Figure 5. Graph of 1 + c n , k ( t ) , for the case of α = 0 and β = 1 and for t = 1 / 4 and t = 1 / 2 . Results are shown for n { 10 , 30 ,   100 ,   300 ,   1000 } when t = 1 / 2 and n { 100 ,   300 ,   1000 } when t = 1 / 4 .
Figure 5. Graph of 1 + c n , k ( t ) , for the case of α = 0 and β = 1 and for t = 1 / 4 and t = 1 / 2 . Results are shown for n { 10 , 30 ,   100 ,   300 ,   1000 } when t = 1 / 2 and n { 100 ,   300 ,   1000 } when t = 1 / 4 .
Mca 24 00035 g005
Figure 6. Graph of 4th, 6th, 8th and 10th order spline approximations, based on the interval [0, 1], for the function defined by (33).
Figure 6. Graph of 4th, 6th, 8th and 10th order spline approximations, based on the interval [0, 1], for the function defined by (33).
Mca 24 00035 g006
Figure 7. Illustration of the area defined by a zeroth order approximation to an integral and the residual function r 1 .
Figure 7. Illustration of the area defined by a zeroth order approximation to an integral and the residual function r 1 .
Mca 24 00035 g007
Figure 8. Illustration of the residual function r 1 , the areas as defined by linear change at the points α and t and the second residual function r 2 .
Figure 8. Illustration of the residual function r 1 , the areas as defined by linear change at the points α and t and the second residual function r 2 .
Mca 24 00035 g008
Figure 9. Illustration of the areas defined by a quadratic approximation to the residual function r 2 and based on f ( 2 ) ( α ) and f ( 2 ) ( t ) .
Figure 9. Illustration of the areas defined by a quadratic approximation to the residual function r 2 and based on f ( 2 ) ( α ) and f ( 2 ) ( t ) .
Mca 24 00035 g009
Figure 10. The area bound defined by the first passage time of a positive function to a set level.
Figure 10. The area bound defined by the first passage time of a positive function to a set level.
Mca 24 00035 g010
Figure 11. Graph of f ( t ) = sin ( t ) 1 + t over the interval [0, π ].
Figure 11. Graph of f ( t ) = sin ( t ) 1 + t over the interval [0, π ].
Mca 24 00035 g011
Figure 12. Examples of test functions as defined by (73).
Figure 12. Examples of test functions as defined by (73).
Mca 24 00035 g012
Figure 13. Graph of the relative error in approximations to exp(−t): fourth to eighth order spline based approximations along with eighth to sixteen order Taylor series approximations.
Figure 13. Graph of the relative error in approximations to exp(−t): fourth to eighth order spline based approximations along with eighth to sixteen order Taylor series approximations.
Mca 24 00035 g013
Figure 14. Graph of the relative error in approximations to ln(t): second to eighth order Taylor series and spline based series approximation.
Figure 14. Graph of the relative error in approximations to ln(t): second to eighth order Taylor series and spline based series approximation.
Mca 24 00035 g014
Figure 15. Graph of approximations (order 6) to the integral of sin(t2).
Figure 15. Graph of approximations (order 6) to the integral of sin(t2).
Mca 24 00035 g015
Figure 16. Graph of f(t) for the case of a = 1, b = 0. For the case of (10, 1, 1) a scaling factor of 10 has been used; for the case of (1, 1/10, 1/10) a scaling factor of 0.1 has been used.
Figure 16. Graph of f(t) for the case of a = 1, b = 0. For the case of (10, 1, 1) a scaling factor of 10 has been used; for the case of (1, 1/10, 1/10) a scaling factor of 0.1 has been used.
Mca 24 00035 g016
Figure 17. Graph of g(t). For the case of (10, 1, 1) a scaling factor of 10 has been used; for the case of (1, 1/10, 1/10) a scaling factor of 0.1 has been used.
Figure 17. Graph of g(t). For the case of (10, 1, 1) a scaling factor of 10 has been used; for the case of (1, 1/10, 1/10) a scaling factor of 0.1 has been used.
Mca 24 00035 g017
Table 1. Interval of integration for a spline based approximation and for a specified error bound of ε B = 10 3 .
Table 1. Interval of integration for a spline based approximation and for a specified error bound of ε B = 10 3 .
Order of Integral Approx. n t B Magnitude of Error in Integral Approx. over [ 0 ,   t B ]
10.472.4 × 10−4
20.831.9 × 10−4
31.171.5 × 10−4
41.471.3 × 10−4
61.961.0 × 10−4
82.338.2 × 10−5
102.626.9 × 10−5
122.856.0 × 10−5
Table 2. Summary of function and integral approximations.
Table 2. Summary of function and integral approximations.
Function Approximation for t [ α , β ] Integral Approximation: α t f ( λ ) d λ
Antiderivative Series k = 0 n 1 c k [ α k + 1 f ( k ) ( α ) t k + 1 f ( k ) ( t ) ] c k = ( 1 ) k + 1 ( k + 1 ) !
Taylor Series k = 0 n ( t α ) k f ( k ) ( α ) k ! k = 0 n 1 c k ( t α ) k + 1 f ( k ) ( α ) c k = 1 ( k + 1 ) !
Dual Taylor Series [ β t β α ] n + 1 k = 0 n ( n + k ) ! n ! k ! [ t α β α ] k [ k = 0 n ( t α ) k f ( k ) ( α ) k ! ] + [ t α β α ] n + 1 k = 0 n ( n + k ) ! n ! k ! [ β t β α ] k [ k = 0 n ( t β ) k f ( k ) ( β ) k ! ] k = 0 n c n , k ( t α ) k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] c n , k = n + 1 k ! u = 0 n + 1 ( 1 ) u u ! ( n + 1 u ) ! [ ν = 0 n ( n + ν ) ! ν ! 1 u + ν + k + 1 ]
Spline Series [ β t β α ] n + 1 k = 0 n ( t α ) k k ! f k ( α ) [ i = 0 n k ( n + i ) ! i ! n ! ( t α ) i ( β α ) i ] + [ t α β α ] n + 1 k = 0 n ( 1 ) k ( β t ) k k ! f k ( β ) [ i = 0 n k ( n + i ) ! i ! n ! ( β t ) i ( β α ) i ] k = 0 n c n , k ( t α ) k + 1 [ f ( k ) ( α ) + ( 1 ) k f ( k ) ( t ) ] c n , k = n ! ( n k ) ! ( k + 1 ) ! ( 2 n + 1 k ) ! 2 ( 2 n + 1 ) !
Table 3. Summary of remainder terms.
Table 3. Summary of remainder terms.
Remainder in Integral Approximation: α t f ( λ ) d λ
Antiderivative Series R n ( α , t ) = ( 1 ) n n ! α t λ n f ( n ) ( λ ) d λ
Taylor Series R n ( α , t ) = α t ( t λ ) n f ( n ) ( λ ) n ! d λ
Dual Taylor Series R n ( 1 ) ( α , t ) = c n , 0 [ f ( t ) f ( α ) ] k = 1 n c n , k ( k + 1 ) ( t α ) k f ( k ) ( α ) + k = 1 n ( 1 ) k + 1 ( t α ) k f ( k ) ( t ) [ ( k + 1 ) c n , k c n , k 1 ] + c n , n ( 1 ) n + 1 ( t α ) n + 1 f ( n + 1 ) ( t )
Spline Series R n ( 1 ) ( α , t ) = k = 0 n c n , k ( k + 1 ) ( t α ) k [ f ( k ) ( α ) + ( 1 ) k + 1 n + 1 n k + 1 f ( k ) ( t ) ] + c n , n ( 1 ) n + 1 ( t α ) n + 1 f ( n + 1 ) ( t )
Table 4. Proportion of integral approximations, based on a set of 1000 test functions, with a relative error less than 0.01.
Table 4. Proportion of integral approximations, based on a set of 1000 test functions, with a relative error less than 0.01.
Integral Approximation4th Order Approx.6th Order Approx.8th Order Approx.10th Order Approx.
Antiderivative Series< 0.010.010.030.09
Taylor Series< 0.010.010.020.08
Dual Taylor Series0.130.340.400.48
Spline Series0.560.710.780.84
Table 5. Relative error in evaluation of e.
Table 5. Relative error in evaluation of e.
Order of Approx. nFractional Power mMagnitude of Relative Error
211.0 × 10−5
109.9 × 10−12
1009.9 × 10−18
10009.9 × 10−24
411.0 × 10−10
109.9 × 10−21
1009.9 × 10−31
10009.9 × 10−41
811.7 × 10−22
101.7 × 10−40
1001.7 × 10−58
10001.7 × 10−76
1614.2 × 10−50
104.1 × 10−84
1004.1 × 10−118
10004.1 × 10−152
Table 6. Relative error in evaluation of ln(t) for the case of t = 100. For the case of m = 1 the relative error is high for all orders of approximation.
Table 6. Relative error in evaluation of ln(t) for the case of t = 100. For the case of m = 1 the relative error is high for all orders of approximation.
Order of Approx. nFractional Power mMagnitude of Relative Error
2101.1 × 10−5
1001.1 × 10−11
10001.1 × 10−17
4101.6 × 10−8
1001.5 × 10−18
10001.5 × 10−28
8105.7 × 10−14
1005.2 × 10−32
10005.2 × 10−50
16101.6 × 10−24
1001.3 × 10−58
10001.3 × 10−92
Table 7. Relative error in evaluation of x o 1 / h for the case of x o = 137 , h = 6 and an initial estimate for x o 1 / h of 9/5. 137 1 / 6 = 2.27049261 .
Table 7. Relative error in evaluation of x o 1 / h for the case of x o = 137 , h = 6 and an initial estimate for x o 1 / h of 9/5. 137 1 / 6 = 2.27049261 .
Spline Approximation Order: nIteration orderMagnitude of Relative Error
315.1 × 10−3
24.2 × 10−18
37.2 × 10−154
616.7 × 10−4
22.0 × 10−42
33.2 × 10−620
Table 8. Relative error in approximation of π based on an approximation to atan(1).
Table 8. Relative error in approximation of π based on an approximation to atan(1).
Order of Spline Approx. n Order of Angle Sub-division iMagnitude of Relative Error
114.4 × 10−3
22.1 × 10−5
47.3 × 10−8
104.3 × 10−15
1001.8 × 10−123
211.7 × 10−5
21.6 × 10−7
43.2 × 10−11
104.5 × 10−22
1001.3 × 10−184
413.6 × 10−8
21.2 × 10−11
47.5 × 10−18
106.3 × 10−36
1007.4 × 10−307
812.5 × 10−13
21.3 × 10−19
46.1 × 10−31
101.7 × 10−63
1003.6 × 10−551
Table 9. Magnitude of relative error in evaluation of E X ( x ,   y ,   z ) using four sub-intervals and eight sub-intervals for the point (1, 0.1, 0.1).
Table 9. Magnitude of relative error in evaluation of E X ( x ,   y ,   z ) using four sub-intervals and eight sub-intervals for the point (1, 0.1, 0.1).
Order of Approx. nPoint: (0.1, 0.1, 0.1)Point: (1, 0.1, 0.1) (8 Intervals)Point: 90 (1, 1, 1)Point: (10, 1, 1)
20.0150.150.0673.1 × 10−4
42.9 × 10−44.6 × 10−32.4 × 10−25.3 × 10−6
82.6 × 10−82.3 × 10−32.6 × 10−31.1 × 10−9
163.6 × 10−162.9 × 10−52.7 × 10−52.1 × 10−17

Share and Cite

MDPI and ACS Style

Howard, R.M. Dual Taylor Series, Spline Based Function and Integral Approximation and Applications. Math. Comput. Appl. 2019, 24, 35. https://doi.org/10.3390/mca24020035

AMA Style

Howard RM. Dual Taylor Series, Spline Based Function and Integral Approximation and Applications. Mathematical and Computational Applications. 2019; 24(2):35. https://doi.org/10.3390/mca24020035

Chicago/Turabian Style

Howard, Roy M. 2019. "Dual Taylor Series, Spline Based Function and Integral Approximation and Applications" Mathematical and Computational Applications 24, no. 2: 35. https://doi.org/10.3390/mca24020035

Article Metrics

Back to TopTop