Next Article in Journal
EM Algorithm for Mixture Distributions Model with Type-I Hybrid Censoring Scheme
Next Article in Special Issue
A Note on New Construction of Meyer-König and Zeller Operators and Its Approximation Properties
Previous Article in Journal
Dynamic Programming Algorithms for Computing Optimal Knockout Tournaments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On a Bivariate Generalization of Berrut’s Barycentric Rational Interpolation to a Triangle

1
Department of Computer Science, University of Verona, 37129 Verona, Italy
2
Department of Mathematics “Tullio Levi-Civita”, University of Padova, 35131 Padova, Italy
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2021, 9(19), 2481; https://doi.org/10.3390/math9192481
Submission received: 2 September 2021 / Revised: 19 September 2021 / Accepted: 26 September 2021 / Published: 4 October 2021
(This article belongs to the Special Issue Mathematical Inequalities, Models and Applications)

Abstract

:
We discuss a generalization of Berrut’s first and second rational interpolants to the case of equally spaced points on a triangle in R 2 .

1. Introduction

Berrut [1,2,3] introduced two versions of a univariate rational interpolation procedure that has proven to be efficient and effective, even for equally spaced points in an interval. Of note is that the complexity of these procedures is linear in the number of points. The derivation of these procedures is based on the classical Whittaker–Shannon sampling theorem [4,5,6]).
Theorem 1.
Suppose that f C ( R ) L 1 ( R ) and that f ^ ( ω ) = 0 for | ω | h / 2 . Then
f ( x ) = k = f ( k h ) sinc 1 h ( x k h ) .
where, as usual,
sinc ( x ) : = sin ( π x ) π x ,
is the sinc function.
In the case of f with domain restricted to some compact subinterval of R , say to [ 0 , 1 ] , considering equally spaced points with h = 1 / n , we may consider the partial sum
f ( x ) F n ( x ) : = k = 0 n f ( k / n ) sinc n ( x k / n ) = k = 0 n f ( x k ) sinc n ( x x k )
where we have set x k : = k / n , 0 k n .
Figure 1 shows a plot of the approximant F 11 and F 41 of the function f ( x ) = x 2 where it is evident that when increasing n the quality of the approximation improves.
While (2) no longer reproduces f for all x [ 0 , 1 ] , it is an interpolant in that
F n ( x j ) = f ( x j ) , 0 j n ,
as easily follows from the cardinality property of the translated sinc functions, i.e.,
sinc ( n ( x j x k ) ) = 1 if j = k 0 if j k .
This interpolant F n was already studied by de la Vallée Poussin (1908) who showed that under some weak regularity conditions on f ( x ) ,
lim n F n ( x ) = f ( x ) , x [ 0 , 1 ] ,
with error essentially of O ( 1 / n ) . The reader interested in further details may find them in the excellent survey by Butzer and Stens [7].
In order to alleviate the poor approximation quality of F n , Berrut in [2] suggested normalizing the Formula (2) for F n to obtain what we refer to as the first Berrut rational interpolant:
B n ( 1 ) ( x ) : = k = 0 n f ( x k ) sinc n ( x x k ) k = 0 n sinc n ( x x k ) .
B n ( 1 ) remains an interpolant of f at the nodes x k , k = 0 , , n but has the advantage of reproducing constants, that is if f ( x ) = 1 then B n ( 1 ) ( x ) = 1 .
The Formula (4) may be simplified. Notice that
sinc ( n ( x x k ) ) = ( 1 ) k sin ( n π x ) n π ( x x k ) .
hence,
B n ( 1 ) ( x ) = k = 0 n f ( x k ) sinc n ( x x k ) k = 0 n sinc n ( x x k ) = sin ( n π x ) k = 0 n ( 1 ) k f ( x k ) x x k sin ( n π x ) k = 0 n ( 1 ) k 1 x x k = k = 0 n ( 1 ) k f ( x k ) / ( x x k ) k = 0 n ( 1 ) k / ( x x k ) .
An example of this first interpolant is shown in Figure 2 again for f = x 2 and n = 11 , 41 .
Remark 1.
Besides being an improved approximant, B n ( 1 ) is also numerically stable as its associated Lebesgue constant has O ( log ( n ) ) growth, as was shown in [8].
Berrut also proposed a second improvement by making a simple boundary adjustment in the definition of B n ( 1 ) to obtain an interpolant that also reproduced polynomials of degree one. Specifically, let
B n ( 2 ) ( x ) : = k = 0 n ( 1 ) k β k f ( x k ) / ( x x k ) k = 0 n ( 1 ) k β k / ( x x k )
where
β k = 1 1 k ( n 1 ) , 1 / 2 k = 0 , n .
Remark 2.
Floater and Hormann ([9]) subsequently introduced the more general formula
F H n ( x ) : = k = 0 n ( 1 ) k β k ( d ) f ( x k ) / ( x x k ) k = 0 n ( 1 ) k β k ( d ) / ( x x k ) .
where the weights β k ( d ) are chosen so that F H n reproduces polynomials of degree at most d
In the specific case of equally spaced nodes their formula for the β k ( d ) reduces to
β k ( d ) : = j = 0 k d k 0 k d 2 d d k n d β n k n d k n
where n 2 d , by assumption.
The cases of d = 0 , 1 correspond to Berrut’s first and second interpolants, respectively.
In this work we will consider bivariate extensions of Berrut’s first and second interpolants. The more general Floater-Hormann case will be the topic of a subsequent paper.
In Figure 3 we show a comparison between the Berrut interpolants for f ( x ) = x 4 and n = 12 .

2. The Extension of Berrut’s First Interpolant to Equally Spaced Points on a Triangle

The bivariate Whittaker–Shannon sampling operator is defined as follows. Set x i : = i / n and y j : = j / n then
f ( x , y ) = i = j = f ( x i , y j ) sinc ( n ( x x i ) ) sinc ( n ( y y j ) )
We can now truncate triangularly (this is equivalent to consider equally spaced points on the triangle, as illustrated in Figure 4). Let
T : = { ( x , y ) R 2 : 0 x , y , x + y 1 }
be the standard triangle in R 2 and set
F n ( x , y ) : = ( i , j ) / n T f ( x i , y j ) sinc ( n ( x x i ) ) sinc ( n ( y y j ) ) = 0 i + j n f ( x i , y j ) sinc ( n ( x x i ) ) sinc ( n ( y y j ) ) .
Furthermore, by normalizing as in the one-dimensional Berrut case, we get
B n ( 1 ) ( x , y ) : = 0 i + j n f ( x i , y j ) sinc ( n ( x x i ) ) sinc ( n ( y y j ) ) 0 i + j n sinc ( n ( x x i ) ) sinc ( n ( y y j ) )
Finally we simplify, just as in the univariate case, to get
B n ( 1 ) ( x , y ) : = 0 i + j n ( 1 ) i + j f ( x i , y j ) ( x x i ) ( y y j ) 0 i + j n ( 1 ) i + j 1 ( x x i ) ( y y j ) ,
Remark 3.
Of course the summation can be truncated to regions P other than just the triangle to obtain multivariate versions of the Berrut rational interpolation at integer lattice points contained in P. However, we consider in this first work only the case of P = T a triangle.
Proposition 1.
We have that B n ( 1 ) ( x , y ) is an interpolant, i.e.,
B n ( 1 ) ( x α , y β ) = f ( x α , y β ) , 0 α + β n ,
and that B n ( 1 ) reproduces constants. Moreover, restricted to the vertical grid lines x = x s and horizontal grid lines y = y t , B n ( 1 ) agrees with the univariate Berrut interpolant for the interpolation points along those lines.
Proof. 
It is easy to verify these properties. Interpolation is guaranteed by the singularities at the interpolation points while the reproduction of constants is self evident.
To see the grid line first rationalize by multiplying the numerator and denominator by ω n ( x ) ω n ( y ) where
ω n ( z ) : = i = 0 n ( z x i )
to obtain
B n ( 1 ) ( x , y ) = 0 i + j n ( 1 ) i + j f ( x i , y j ) k = 0 , k i n ( x x k ) k = 0 , k j n ( y y j ) 0 i + j n ( 1 ) i + j k = 0 , k i n ( x x k ) k = 0 , k j n ( y y j ) .
Restricting, for example to the vertical grid line x = x s we obtain
B n ( 1 ) ( x s , y ) = 0 i + j n ( 1 ) i + j f ( x i , y j ) k = 0 , k i n ( x s x k ) k = 0 , k j n ( y y j ) 0 i + j n ( 1 ) i + j k = 0 , k i n ( x s x k ) k = 0 , k j n ( y y j ) .
However the product
k = 0 , k i ( x s x k ) = 0
unless i = s . Hence
B n ( 1 ) ( x s , y ) = j = 0 n s ( 1 ) s + j f ( x s , y j ) k = 0 , k s n ( x s x k ) k = 0 , k j n ( y y j ) j = 0 n s ( 1 ) s + j k = 0 , k s n ( x s x k ) k = 0 , k j n ( y y j ) = j = 0 n s ( 1 ) s + j f ( x s , y j ) k = 0 , k j n ( y y j ) j = 0 n s ( 1 ) j k = 0 , k j n ( y y j )
which is exactly the univariate Berrut interpolant for the function f ( x s , y ) along that the line x = x s . □
Remark 4.
The restriction of B n ( 1 ) ( x , y ) to the upper edge x + y = 1 is not a univariate Berrut interpolant, as is easy to confirm. It follows that B n ( 1 ) is not symmetric with respect to the barycentric coordinates of the triangle.
As we have seen, the formula (11) can be rationalized by multiplying the numerator and denominator by ω n ( x ) ω n ( y ) , where
ω n ( z ) : = i = 0 n ( z x i ) .
Indeed, writing B n ( 1 ) ( x , y ) = N n ( x , y ) / D n ( x , y ) , let
d n ( x , y ) : = ω n ( x ) ω n ( y ) D n ( x , y ) = ω n ( x ) ω n ( y ) i = 0 n j = 0 n i ( 1 ) i + j ( x x i ) ( y y j )
be the resulting polynomial for the denominator in (11). The zeros of d n ( x , y ) correspond to poles in the expression for B n ( 1 ) and are obviously problematic. We conjecture however that there are no poles inside the triangle, but have been able to prove this only for n 20 , to date. We remark that although the univariate arguments used by Berrut (and more generally by Floater and Hormann) do extend easily to the tensor product case, they do not, to the best of our knowledge, extend easily to the triangular case which we are considering.
Our method to do this is elementary, but computationally expensive. Consider first the n = 1 case. Then
d 1 ( x , y ) = ω 1 ( x ) ω 1 ( y ) i = 0 1 j = 0 1 i ( 1 ) i + j ( x i / 1 ) ( y j / 1 ) = x ( x 1 ) y ( y 1 ) 1 x y 1 ( x 1 ) y 1 x ( y 1 ) = ( x 1 ) ( y 1 ) x ( y 1 ) ( x 1 ) y = 1 x y .
Clearly d 1 ( x , y ) > 0 for ( x , y ) T , but this can also be confirmed by the use of barycentric coordinates. Indeed, let z : = ( 1 x y ) so that x + y + z = 1 . In particular, the triangle T is given by
T = { ( x , y ) R 2 : 0 x , y , z } .
Then, homogenizing and simplifying we have
d 1 ( x , y ) = ( x + y + z ) 2 x y = x 2 + y 2 + z 2 + x y + 2 x z + 2 y z .
As all the coefficients of d 1 are non-negative, it follows that d 1 > 0 on the interior of the triangle T. By, the previous proposition, we know that there are also no boundary poles on the edges x = 0 and y = 0 . The upper edge ( z = 0 ) needs to be checked separately, which is easily done.
For higher degrees n it is convenient to change variables letting x : = n x , y : = n y , z = n x y so that
d n ( x , y ) = n 2 n ω n ( x ) ω n ( y ) i = 0 n j = 0 n i ( 1 ) i + j ( x i ) ( y j )
where
ω n ( t ) = i = 0 n ( t i ) .
Then, ignoring the n 2 n factor and, by an abuse of notation, suppressing the primes,
d 2 ( x , y ) = ω 2 ( x ) ω 2 ( y ) i = 0 2 j = 0 2 i ( 1 ) i + j ( x i ) ( y j ) = x ( x 1 ) ( x 2 ) y ( y 1 ) ( y 2 ) × 1 x y 1 ( x 1 ) y 1 x ( y 1 ) + 1 x ( y 2 ) + 1 ( x 1 ) ( y 1 ) + 1 x ( y 2 ) = 2 x 2 y 2 4 x 2 y + 2 x 2 4 x y 2 + 7 x y 4 x + 2 y 2 4 y + 4 ,
a polynomial of degree 4. It can be homogenized to
2 x 2 y 2 4 x 2 y t + 2 x 2 t 2 4 x y 2 t + 7 x y t 2 4 x t 3 + 2 y 2 t 2 4 y t 3 + 4 t 4
which becomes, upon setting t = ( x + y + z ) / 2 ( = 1 in barycentric coordinates),
4 d 2 ( x , y ) = x 4 x 3 y + 2 x 3 z + 4 x 2 y 2 + 4 x 2 y z + 2 x 2 z 2 x y 3 + 4 x y 2 z + 7 x y z 2 + 2 x z 3 + y 4 + 2 y 3 z + 2 y 2 z 2 + 2 y z 3 + z 4 .
Not all the coefficients are non-negative and hence we cannot immediately conclude that d 2 > 0 on T. However, we may degree elevate this expression, i.e., multiply by a factor ( x + y + z ) r (cf. e.g., [10]). If it is the case that all the coefficients of the product
( x + y + z ) r d 2 ( x , y )
are non-negative, it follows that d 2 > 0 on T. (The lowest power r with this property is related to the so-called Bernstein degree of d 2 ( x , y ) .) In this case, consider what occurs if r = 1 . Then
4 ( x + y + z ) 1 d 2 ( x , y ) = x 5 + 3 x 4 z + 3 x 3 y 2 + 5 x 3 y z + 4 x 3 z 2 + 3 x 2 y 3 + 12 x 2 y 2 z + 13 x 2 y z 2 + 4 x 2 z 3 + 5 x y 3 z + 13 x y 2 z 2 + 11 x y z 3 + 3 x z 4 + y 5 + 3 y 4 z + 4 y 3 z 2 + 4 y 2 z 3 + 3 y z 4 + z 5 .
The minimum non-zero coefficient, 1 in this case, provides a certificate of positivity for d 2 ( x , y ) on the interior of T (where x , y , z > 0 ). Separate certificates for the boundary can be obtained by setting x = 0 , y = 0 and z = 0 , respectively. However, as already noted, the restrictions of the bivariate interpolant to the edges x = x 0 = 0 and y = y 0 = 0 are the univariate Berrut interpolants and hence have no poles there. The upper edge z = 0 needs to be done separately.
By these means we may, with the assistance of a computer algebra system, prove the following positivity result.
Proposition 2.
For at least n = 1 , 2 , , 20 ,
d n ( x , y ) > 0 , ( x , y ) T .
Proof. 
We produced a positivity certificate for the stated values of n using the Matlab Symbolic Toolbox and the following code.
The minimal values of degree elevation are shown in Table 1.
Notice that the minimal elevation degree r grows quite quickly with n. In principle one can continue with this procedure proving positivity for one degree n at a time. A general proof evades us for the time being. □
In the univariate case it is known that in fact there are no real poles whatsoever. In contrast, in the bivariate case there are real poles, however, due to Proposition 2 they are necessarily outside the triangle.
Proposition 3.
For any set of weights w i j , the denominator
d n ( x , y ) : = ω n ( x ) ω n ( y ) 0 i + j n w i j 1 ( x i / n ) ( y j / n )
has real zeros at α n , β n for 0 α , β n and α + β > n .
Proof. 
Notice that
d n ( x , y ) = 0 i + j n w i j k = 0 , k i n ( x k / n ) m = 0 , m j n ( y m / n ) .
However, for α + β > n we must have ( α , β ) ( i , j ) , for all ( i , j ) with i + j n , i.e., either α i or β j (or both). Hence at least one of the products
k = 0 , k i n ( α / n k / n ) , m = 0 , m j n ( β / n m / n )
must be zero, and thus d n ( α / n , β / n ) = 0 . □
Remark 5.
While there are no real poles in the univariate case, there are complex poles. Figure 5 shows these poles for degree n = 40 . In fact it is possible to analyze the asymptotics of these poles. Indeed, it was shown in [4] that
D n ( x ) : = j = 0 n ( 1 ) j x j / n = n 2 2 π csc ( n π x ) + G ( n x + 1 ) + ( 1 ) n + 1 G ( n ( 1 x ) + 1 )
where G ( x ) is the so-called Bateman G-function
G ( x ) = 2 0 e x t 1 + e t d t , ( x ) > 0 .
Letting z : = n x , we obtain
D n ( z / n ) = n 2 2 π csc ( π z ) + G ( z + 1 ) + ( 1 ) n + 1 G ( n + 1 z ) .
However, notice, from the defining formula, that
lim n G ( n + 1 z ) = 0
so that the zeros of D n ( x ) are aysmptotically the zeros of 2 π csc ( π z ) + G ( z + 1 ) , divided by n. In particular, one may find numerically that
z 0 : 1.346516491475860 + 1.055160064278170 i
is a zero of 2 π csc ( π z ) + G ( z + 1 ) and hence z 0 / n is approximately a zero of D n ( x ) . Consequently, in the univariate case, there are complex poles of distance order 1 / n to the interval [ 0 , 1 ] , whereas in the bivariate case there are real poles of this same order of distance to the triangle T.
Finally, we show some examples of this bivariate interpolant. Figure 6 shows the bivariate extension of Berrut’s first interpolant for the function f ( x , y ) = x 2 + y 2 and n = 13 , 27 .
Figure 7 shows the interpolant of f ( x , y ) = sin ( 2 π ( ( x 1 / 3 ) 2 + ( y 1 / 3 ) 2 ) ) for the same degrees.
One may notice that the interpolant is reasonable for higher values of n but leaves room for improvement.

A Hybrid Interpolant

For any linear interpolant it is possible, by means of a so-called Boolean sum, to create a hybrid version that reproduces any specifed finite dimensional subspace of functions, the most common example of such being the space of polynomials of degree one. Indeed, for example, if L ( f ) denotes the linear interpolant of f at the three vertices of T , i.e.,
L f ( x , y ) = f ( 0 , 0 ) ( 1 x y ) + f ( 1 , 0 ) x + f ( 0 , 1 ) y
then for f ^ ( x , y ) : = f ( x , y ) L f ( ( x , y ) , we may defined
B h n ( 1 ) ( x , y ) : = B n ( 1 ) ( x , y ) + L f ( x , y )
where B n ( 1 ) is the interpolant of f ^ .
Figure 8 give a comparison between the original B n ( 1 ) and its hybrid version, for f ( x , y ) = 1 + 2 x + 3 y and n = 7 .

3. The Extension of Berrut’s Second Interpolant to Equally Spaced Points on a Triangle

Berrut’s second interpolant (for when the boundary points are included) involves the introduction of weights, adjusted at the boundary, to ensure the reproduction of linears. In general, for weights β i j , 0 i + j n , we define
B n ( 2 ) ( x , y ) = i + j n β i j f ( i / n , j / n ) ( 1 ) i + j ( x i / n ) ( y j / n ) i + j n β i j ( 1 ) i + j ( x i / n ) ( y j / n ) .
In the bivariate case the reproduction of linears splits into n odd and n even cases. We consider first the n odd case for which we define the weights
β i j : = 0 ( i , j ) = ( 0 , 0 ) , ( n , 0 ) , ( 0 , n ) 1 / 2 1 i n 1 , j = 0 1 / 2 1 j n 1 , i = 0 1 / 2 1 i n 1 , j = i 1 otherwise
(i.e., 0 at the three vertices, 1 / 2 at the interior edge points and 1 at the triangle interior points). The n = 5 case is shown in Figure 9.
Proposition 4.
For n > 1 odd and weights given by (13), B n ( 2 ) ( x , y ) reproduces polynomials of degree one.
Proof. 
We remark that the n = 1 case has all weights zero, and hence is not relevant. □
We will make use of univariate reproduction formulas for Berrut’s second interpolant.
Lemma 1.
For any points x 0 < x 1 < < x m and weights w i R ,
i = 0 m w i ( 1 ) i x x i x i = x i = 0 m w i ( 1 ) i x x i
if and only if
i = 0 m w i ( 1 ) i + 1 = 0 .
Proof. 
We calculate
i = 0 m w i ( 1 ) i x x i x i = i = 0 m w i ( 1 ) i x x i ( ( x i x ) + x ) = i = 0 m w i ( 1 ) i + 1 + x i = 0 m w i ( 1 ) i x x i = x i = 0 m w i ( 1 ) i x x i i = 0 m w i ( 1 ) i + 1 = 0 .
Lemma 2.
Consider the weights
w i : = a i = 0 , m 1 1 i m 1
with a R a parameter. Then for a = 1 / 2 and any m 1 , or a = 0 and m odd
i = 0 m w i ( 1 ) i x x i x i = x i = 0 m w i ( 1 ) i x x i .
Proof. 
By Lemma 1 we need only show that i = 0 m w i ( 1 ) i + 1 = 0 .
The a = 1 / 2 case is the result first proved by Berrut and hence we leave out the details. In case a = 0 and m is odd then we calculate
i = 0 m w i ( 1 ) i + 1 = i = 1 m 1 ( 1 ) i + 1 = 0
as this is an alternating sum of ± 1 with an even ( m 1 ) number of terms. □
Now to prove Proposition 4. We wish to show that
i + j n β i j f ( i / n , j / n ) ( 1 ) i + j ( x i / n ) ( y j / n ) = f ( x , y ) i + j n β i j ( 1 ) i + j ( x i / n ) ( y j / n )
for any f ( x , y ) = a x + b y + c . Clearly it suffices to show this for f ( x , y ) = x , which we now proceed to do. First note that, by scaling by a factor of n this is equivalnet to showing that
i + j n β i j i ( 1 ) i + j ( x i ) ( y j ) = x i + j n β i j ( 1 ) i + j ( x i ) ( y j ) .
Now write the summation by rows as
j = 0 n ( 1 ) j i = 0 n j β i j i ( 1 ) i ( x i ) ( y j ) .
For the first row, j = 0 , the weights correspond to the lower edge and are
0 , 1 , 1 , , 1 , 0
and we apply the univariate Lemma with a = 0 and m = n to obtain
i = 0 n 0 β i 0 i ( 1 ) i + j ( x i ) ( y j ) = x i = 0 n 0 β i 0 ( 1 ) i + j ( x i ) ( y j ) .
For the other rows, j = 1 , , ( n 1 ) the weights are
1 2 , 1 , , 1 , 1 2
and we may apply the univariate Lemma with a = 1 / 2 and m = n j to obtain
i = 0 n j β i j i ( 1 ) i + j ( x i ) ( y j ) = x i = 0 n j β i j ( 1 ) i + j ( x i ) ( y j ) .
For the top row (actually a singleton), β 0 , n = 0 and so there is nothing to do. □
Remark 6.
The zero weights at the vertices means that B n ( 2 ) ( x , y ) will not interpolate at those points. It will however provide an order 1 / n approximation to the corresponding value of f, provided it is minimally smooth. The approximation properties of these interpolants will be discussed in a forthcoming work.
Just as in the first interpolant case, by Lemma 3, there are poles at ( α , β ) , 0 α , β n , α + β > n . However, just as in the first case, there are no poles in the triangle T.
Proposition 5.
For at least n = 1 , 3 , , 21 ,
d n ( x , y ) > 0 , ( x , y ) T .
Proof. 
We do this in exactly the same manner as in the first case, by using degree elevation to produce a positivity certificate, one degree at a time. The minimal values of degree elevation are displayed in Table 2. □
The n even case splits into two subcases.

n, A Multiple of Four

In case n is a multiple of four we introduce the weights of 1 at interior points and along each edge
0 , 1 2 , , 1 2 , 1 4 , 1 2 , 1 4 , 1 2 . , 1 2 , 0
where the 1 / 2 bracketed by 1 / 4 to the left and right is the middle entry, i = n / 2 (Figure 10).
We first remark that in the univariate case the rational interpolant with these weights, for n a multiple of four, reproduces linears.
Lemma 3.
For n a multiple of four and the weights given by (14),
i = 0 n w i ( 1 ) i x x i x i = x i = 0 n w i ( 1 ) i x x i .
Proof. 
Applying Lemma 1 we calculate
i = 0 n w i ( 1 ) i + 1 = i = 1 n 1 w i ( 1 ) i + 1 ( as w 0 = w n = 0 ) = 1 2 i = 1 n 1 ( 1 ) i + 1 1 4 ( 1 ) ( n / 2 1 ) + 1 + ( 1 ) ( n / 2 + 1 ) + 1 = 1 2 i = 1 n 1 ( 1 ) i + 1 1 4 ( + 1 ) + ( + 1 ) ( as n / 2 is even ) = 1 2 ( + 1 ) 1 2 = 0
and the result follows. □
Proposition 6.
For the weights q i j given by (14) and n a multiple of four, the Berrut two extension reproduces linears.
Proof. 
We will show that
i + j n β i j f ( x i , y j ) ( 1 ) i + j ( x x i ) ( y y j ) = i + j n β i j ( 1 ) i + j ( x x i ) ( y y j )
for any f ( x , y ) = a x + b y + c . Again, it suffices to show this for f ( x , y ) = x , i.e., that
i + j n β i j x i ( 1 ) i + j ( x x i ) ( y y j ) = x i + j n β i j ( 1 ) i + j ( x x i ) ( y y j ) .
We again proceed row by row. The bottom row j = 0 is the case discussed in Lemma 3. The other rows, other than for j = n / 2 ± 1 , follow from the a = 1 / 2 case of Lemma 2. For j = n / 2 1 we have
i = 0 n j q i j ( 1 ) i + j ( x x i ) ( y y j ) x i = ( 1 ) j y y j i = 0 n ( n / 2 1 ) q i j ( 1 ) i x x i x i = ( 1 ) j y y j i = 0 n / 2 + 1 q i j ( 1 ) i x x i ( ( x i x ) + x ) = ( 1 ) j y y j i = 0 n / 2 + 1 q i j ( 1 ) i + 1 + x i = 0 n / 2 + 1 ) q i j ( 1 ) i x x i .
Now we claim that
i = 0 n / 2 + 1 q i j ( 1 ) i + 1 = 0
from which the result for the j = ( n / 2 1 ) th row follows. To see this just note that for row j = n / 2 1 ,
i = 0 n / 2 + 1 q i j ( 1 ) i + 1 = i = 1 n / 2 ( 1 ) i + 1 + 1 4 ( 1 ) 0 + 1 + ( 1 ) ( n / 2 + 1 ) + 1 = 0 + 1 4 ( 1 ) + ( + 1 ) ( as n / 2 even ) = 0 .
The row j = n / 2 + 1 is completely analogous. □
Just as in the previous cases, by Lemma 3, there are poles at ( α , β ) , 0 α , β n , α + β > n . However, we conjeture that there are no poles in the triangle T.
Proposition 7.
For at least n = 4 , 8 , , 20 ,
d n ( x , y ) > 0 , ( x , y ) T .
Proof. 
We do this in exactly the same manner as before, by using degree elevation to produce a positivity certificate, one degree at a time. The minimal values of degree elevation are displayed in Table 3.
This concludes the proof. □
Figure 11 shows the result of interpolating f ( x , y ) = x 2 + y 2 for n = 8 and n = 12 .

4. n Even, But n/2 Odd

In case n is even but not a multiple of four, i.e., n / 2 is odd, we introduce the weights of 1 at interior points and along each edge
0 , 1 2 , , 1 2 , 0 , 1 2 , 1 2 . , 1 2 , 0
where the 0 in the middle is the entry, i = n / 2 .
We first remark that in the univariate case the rational interpolant with these weights, for n even but n / 2 odd, reproduces linears.
Lemma 4.
For n even but n / 2 odd, and the weights given by (15),
i = 0 n w i ( 1 ) i x x i x i = x i = 0 n w i ( 1 ) i x x i .
Proof. 
By Lemma 1, we need only show that
i = 0 n w i ( 1 ) i + 1 = 0 .
However, in this case
i = 0 n w i ( 1 ) i + 1 = 1 2 i = 1 n / 2 1 ( 1 ) i + 1 + i = n / 2 1 n 1 ( 1 ) i + 1 = 1 2 { 0 + 0 }
as both are alternating sums of ± 1 with an even number of terms, n / 2 1 for the first sum and ( n 1 ) ( n / 2 + 1 ) + 1 = n / 2 1 for the second. □
Proposition 8.
For n even but n / 2 odd and the edge weights given by (15), the generalized Berrut interpolant reproduces linears.
Proof. 
We again go row by row. The bottom row is the case of Lemma 4. The rows with 1 / 2 at the beginning and end are the classical Berrut case, whereas the middle row j = n / 2 with weights
0 , 1 , 1 , , 1 , 1 , 0
is handled by Lemma 2 as, by assumption, n / 2 is odd (Figure 12). □
Remark 7.
There are, as always, poles oustide of the triangle T and we conjecture that there are again no poles inside T.

Author Contributions

Writing—review & editing, L.B. and S.D.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by INdAM-GNCS funds 2020.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

This work has been accomplished within the “Rete Italiana di Approssimazione” (RITA), the thematic group on “Approximation Theory and Applications” of the Unione Matematica Italiana (UMI).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Berrut, J.-P. Baryzentrische Formulen zur trigonometrischen Interpolation I. Z. Angew. Math. Phys. 1984, 35, 91–105. [Google Scholar] [CrossRef]
  2. Berrut, J.-P. Barycentric Formulae for Cardinal (SINC-) Interpolants. Numer. Math. 1989, 54, 703–718. [Google Scholar] [CrossRef]
  3. Berrut, J.-P. Rational functions for guaranteed and experimentally well-conditioned global interpolation. Comput. Math. Appl. 1988, 15, 1–16. [Google Scholar] [CrossRef] [Green Version]
  4. Bos, L.; De Marchi, S. On the Whittaker–Shannon sampling by means of Berrut’s rational interpolant and its extension by Floater and Hormann. East J. Approx. 2011, 17, 267–284. [Google Scholar]
  5. Shannon, C. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–623. [Google Scholar] [CrossRef] [Green Version]
  6. Whittaker, E.T. On the functions which are represented by the expansions of the interpolation theory. Proc. Roy. Soc. Edinb. 1915, 35, 181–194. [Google Scholar] [CrossRef] [Green Version]
  7. Butzer, P.L.; Stens, R.L. Sampling theory for not necessarily band-limited functions: A historical overview. SIAM Rev. 1992, 34, 40–53. [Google Scholar] [CrossRef]
  8. Bos, L.; De Marchi, S.; Hormann, K. On the Lebesgue constant of Berrut’s rational interpolation at equidistant nodes. J. Comput. Appl. Math. 2011, 236, 504–510. [Google Scholar] [CrossRef] [Green Version]
  9. Floater, M.S.; Hormann, K. Barycentric rational interpolation with no poles and high rates of approximation. Numer. Math. 2007, 107, 315–331. [Google Scholar] [CrossRef] [Green Version]
  10. Powers, V.; Reznick, B. Polynomials that are positive on an interval. Trans. AMS 2000, 352, 4677–4692. [Google Scholar] [CrossRef]
Figure 1. F n ( x ) for f ( x ) = x 2 and n = 11 and n = 41 .
Figure 1. F n ( x ) for f ( x ) = x 2 and n = 11 and n = 41 .
Mathematics 09 02481 g001
Figure 2. Berrut B n ( 1 ) for f ( x ) = x 2 and n = 11 and n = 41 .
Figure 2. Berrut B n ( 1 ) for f ( x ) = x 2 and n = 11 and n = 41 .
Mathematics 09 02481 g002
Figure 3. B n ( 1 ) and B n ( 2 ) for f ( x ) = x 4 and n = 12 .
Figure 3. B n ( 1 ) and B n ( 2 ) for f ( x ) = x 4 and n = 12 .
Mathematics 09 02481 g003
Figure 4. Equally Spaced Points in a Triangle.
Figure 4. Equally Spaced Points in a Triangle.
Mathematics 09 02481 g004
Figure 5. Univariate Poles for Degree n = 40 .
Figure 5. Univariate Poles for Degree n = 40 .
Mathematics 09 02481 g005
Figure 6. Bivariate Berrut One for f ( x , y ) = x 2 + y 2 , n = 13 , 27 .
Figure 6. Bivariate Berrut One for f ( x , y ) = x 2 + y 2 , n = 13 , 27 .
Mathematics 09 02481 g006
Figure 7. Bivariate Berrut One for f ( x , y ) = sin ( 2 π ( ( x 1 / 3 ) 2 + ( y 1 / 3 ) 2 ) ) , n = 13 , 27 .
Figure 7. Bivariate Berrut One for f ( x , y ) = sin ( 2 π ( ( x 1 / 3 ) 2 + ( y 1 / 3 ) 2 ) ) , n = 13 , 27 .
Mathematics 09 02481 g007
Figure 8. Berrut One and its Hybrid for n = 7 and f ( x , y ) = 1 + 2 x + 3 y .
Figure 8. Berrut One and its Hybrid for n = 7 and f ( x , y ) = 1 + 2 x + 3 y .
Mathematics 09 02481 g008
Figure 9. Weights on the triangle.
Figure 9. Weights on the triangle.
Mathematics 09 02481 g009
Figure 10. Above: Berrut’s one. Below: Berrut’s two.
Figure 10. Above: Berrut’s one. Below: Berrut’s two.
Mathematics 09 02481 g010
Figure 11. Berrut Two for n a multiple of four.
Figure 11. Berrut Two for n a multiple of four.
Mathematics 09 02481 g011
Figure 12. Berrut Two for n even but n / 2 odd and f ( x , y ) = x 2 + y 2 .
Figure 12. Berrut Two for n even but n / 2 odd and f ( x , y ) = x 2 + y 2 .
Mathematics 09 02481 g012
Table 1. Degree Elevation r for Degree n.
Table 1. Degree Elevation r for Degree n.
nr||nr
10||1189
21||12103
35||13123
48||14143
514||15169
622||16188
733||17215
844||18238
956||19271
1070||20296
Table 2. Degree Elevation r for Degree n.
Table 2. Degree Elevation r for Degree n.
nr||nr
30||1375
57||15101
717||17131
933||19165
1151||21203
Table 3. Degree Elevation r for Degree n.
Table 3. Degree Elevation r for Degree n.
nr
40
859
12175
16341
20550
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bos, L.; De Marchi, S. On a Bivariate Generalization of Berrut’s Barycentric Rational Interpolation to a Triangle. Mathematics 2021, 9, 2481. https://doi.org/10.3390/math9192481

AMA Style

Bos L, De Marchi S. On a Bivariate Generalization of Berrut’s Barycentric Rational Interpolation to a Triangle. Mathematics. 2021; 9(19):2481. https://doi.org/10.3390/math9192481

Chicago/Turabian Style

Bos, Len, and Stefano De Marchi. 2021. "On a Bivariate Generalization of Berrut’s Barycentric Rational Interpolation to a Triangle" Mathematics 9, no. 19: 2481. https://doi.org/10.3390/math9192481

APA Style

Bos, L., & De Marchi, S. (2021). On a Bivariate Generalization of Berrut’s Barycentric Rational Interpolation to a Triangle. Mathematics, 9(19), 2481. https://doi.org/10.3390/math9192481

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