on the trivariate polynomial interpolation

9
On the Trivariate Polynomial Interpolation SULEYMAN SAFAK Division of Mathematics, Faculty of Engineering, Dokuz Eylül University, 35160 Tınaztepe, Buca, İzmir, TURKEY. [email protected] Abstract: This paper is concerned with the formulae for computing the coefficients of the trivariate polynomial interpolation (TPI) passing through ) 1 )( 1 )( 1 ( + + + r n m distinct points in the solid rectangular region. The TPI is formulated as a matrix equation using Kronecker product and Khatri-Rao product of the matrices and the coefficients of the TPI are computed using the generalized inverse of a matrix. In addition, the closed formulae of the coefficients of the bivariate and univariate polynomial interpolations are obtained by the use of the inverse of the Vandermonde matrix. It is seen that the trivariate polynomial interpolation can be investigated as the matrix equation and the coefficients of the TPI can be computed directly from the solution of the matrix equation. Also, it is shown that the bivariate polynomial interpolation (BPI) is the special case of the TPI when 0 = r . Numerical examples are represented. Key-words: Polynomial interpolation, trivariate polynomial, bivariate polynomial, matrix equation. 1 Introduction The polynomial interpolation plays an important role both in mathematics and applied sciences. The problem of interpolating is fairly common in many engineering and scientific applications [12-14, 22]. The polynomial interpolation is investigated using different forms and algorithms which produce the same polynomial. Also, it is easily solvable either numerically or by using a computer algebra package. The most commonly used polynomial interpolations are the Lagrange and Newton’s forms [4, 8, 10, 12- 14]. The polynomial interpolation in two or several variables is the most commonly investigated problem of interpolating by researchers [1, 2, 5, 9, 21, 22, 24, 26]. The results on the Hermite interpolation of two variables are given by using the points on different circles [1, 2]. In [2], the authors used the techniques introduced in [1] for considering the more general situation of Birkhoff interpolation. Polynomial interpolation of two variables based on points that are located on multiple circles was studied [2]. The available techniques for the polynomial interpolation and some criteria for uniqueness of interpolating polynomial were extended by generating them in certain directions and by giving variations on the fundamental formula [21]. Computational aspects of the interpolation in several variables are given by De Boor and Ron [5]. The cubature formula and Birkhoff interpolation of the interpolation in several variables were investigated [24, 26]. Finally, Gasca and Sauer gave a survey of main results on multivariate interpolation in the last twenty-five years [9]. In this paper, the problems of the trivariate, bivariate and univariate polynomial interpolations are considered. The main contribution of this paper is to present some formulae for computing the coefficients of the interpolating polynomials. This paper addresses the problem of finding the coefficients of an interpolating polynomial in one, two and three variables. The coefficients of the polynomial interpolations passing through given distinct points in two and three variables are formulated as the matrix equations. The matrix equations are solved by using the inverse of the Vandermonde matrix. There is a large amount of literature on the computation of the inverse of the Vandermonde matrix and its applications [6, 7, 11, 19, 23]. The inverse of the Vandermonde matrix is investigated by using various methods and algorithms. LU factorization of the Vandermonde matrix and the inverse of the matrix using symmetric functions WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak E-ISSN: 2224-2880 722 Issue 8, Volume 11, August 2012

Upload: others

Post on 16-Oct-2021

18 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: On the Trivariate Polynomial Interpolation

On the Trivariate Polynomial Interpolation

SULEYMAN SAFAK Division of Mathematics, Faculty of Engineering, Dokuz Eylül University,

35160 Tınaztepe, Buca, İzmir, TURKEY.

[email protected]

Abstract: This paper is concerned with the formulae for computing the coefficients of the trivariate polynomial interpolation (TPI) passing through )1)(1)(1( +++ rnm distinct points in the solid rectangular region. The TPI is formulated as a matrix equation using Kronecker product and Khatri-Rao product of the matrices and the coefficients of the TPI are computed using the generalized inverse of a matrix. In addition, the closed formulae of the coefficients of the bivariate and univariate polynomial interpolations are obtained by the use of the inverse of the Vandermonde matrix. It is seen that the trivariate polynomial interpolation can be investigated as the matrix equation and the coefficients of the TPI can be computed directly from the solution of the matrix equation. Also, it is shown that the bivariate polynomial interpolation (BPI) is the special case of the TPI when 0=r . Numerical examples are represented.

Key-words: Polynomial interpolation, trivariate polynomial, bivariate polynomial, matrix equation.

1 Introduction The polynomial interpolation plays an important role both in mathematics and applied sciences. The problem of interpolating is fairly common in many engineering and scientific applications [12-14, 22]. The polynomial interpolation is investigated using different forms and algorithms which produce the same polynomial. Also, it is easily solvable either numerically or by using a computer algebra package. The most commonly used polynomial interpolations are the Lagrange and Newton’s forms [4, 8, 10, 12-14]. The polynomial interpolation in two or several variables is the most commonly investigated problem of interpolating by researchers [1, 2, 5, 9, 21, 22, 24, 26]. The results on the Hermite interpolation of two variables are given by using the points on different circles [1, 2]. In [2], the authors used the techniques introduced in [1] for considering the more general situation of Birkhoff interpolation. Polynomial interpolation of two variables based on points that are located on multiple circles was studied [2]. The available techniques for the polynomial interpolation and some criteria for uniqueness of interpolating polynomial were extended by generating them in certain directions and by giving variations on the

fundamental formula [21]. Computational aspects of the interpolation in several variables are given by De Boor and Ron [5]. The cubature formula and Birkhoff interpolation of the interpolation in several variables were investigated [24, 26]. Finally, Gasca and Sauer gave a survey of main results on multivariate interpolation in the last twenty-five years [9]. In this paper, the problems of the trivariate, bivariate and univariate polynomial interpolations are considered. The main contribution of this paper is to present some formulae for computing the coefficients of the interpolating polynomials. This paper addresses the problem of finding the coefficients of an interpolating polynomial in one, two and three variables. The coefficients of the polynomial interpolations passing through given distinct points in two and three variables are formulated as the matrix equations. The matrix equations are solved by using the inverse of the Vandermonde matrix. There is a large amount of literature on the computation of the inverse of the Vandermonde matrix and its applications [6, 7, 11, 19, 23]. The inverse of the Vandermonde matrix is investigated by using various methods and algorithms. LU factorization of the Vandermonde matrix and the inverse of the matrix using symmetric functions

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 722 Issue 8, Volume 11, August 2012

Page 2: On the Trivariate Polynomial Interpolation

were investigated, and the applications were given in [16, 17, 19]. Explicit closed form expression for the inverse matrix and algorithms of generalized Vandermonde matrix were given by using the elementary symmetric functions [7]. In [18], the inverse matrix of lower and upper triangular factors of Vandermonde matrix using symmetric functions was investigated. In this study, the coefficients of the trivariate polynomial interpolation passing through

)1)(1)(1( +++ rnm distinct points in the solid rectangular region are investigated as the matrix equation using Kronecker product and Khatri-Rao product of the matrices. It is shown that the trivariate polynomial interpolation can be formulated as a matrix equation and the coefficients of the trivariate polynomial interpolation can be computed directly from the matrix equation. In addition, it is shown that the bivariate polynomial interpolation is the special case of the TPI when

0=r . Finally, the closed formulae of the coefficients of the bivariate and univariate polynomial interpolations which are the special cases of TPI are obtained using the inverse of the Vandermonde matrix.

2 Polynomial Interpolations In this section, we give some basic definitions associated with univariate, bivariate and trivariate polynomial interpolations and the Vandermonde matrix. Further details can be found elsewhere [1, 4-10, 12-14]. The simplest and best known way to construct an

thm -degree polynomial approximation )(xp to a continuous function ( )xfy = in the interval [ ] ℜ⊂ba, is by interpolation. If mxxx ,,, 10 are

1+m distinct points in [ ]ba, for arbitrary 1+m real values myyy ,,, 10 , then there exists a unique polynomial of degree at most m

mm xaxaxaaxp ++++=

2210)( (1)

such that )()( ii xfxp = for ),( ii yx , mi ≤≤0 [4, 8, 10, 12, 14]. The coefficients ia , mi ,,2,1,0 = must satisfy the equations

.2210

112

12110

002

02010

mm

mmmm

mm

mm

yxaxaxaa

yxaxaxaa

yxaxaxaa

=++++

=++++

=++++

(2)

We can write this )1()1( +×+ mm system as follows:

ba =V , (3)

where

=

mmmm

m

m

m

xxx

xxxxxxxxx

V

2

22

22

12

11

02

00

1

111

,

=

ma

aaa

2

1

0

a ,

=

my

yyy

2

1

0

b

and the )1()1( +×+ mm matrix V is a Vandermonde matrix. When 1+m points are distinct, the Vandermonde matrix is nonsingular [4, 10, 12] and consequently the system (3) has a unique solution

ba 1−=V , where 1−V is inverse of )1()1( +×+ mm matrix V. Note that this solution depends on the inverse of the Vandermonde matrix.

Let },,,{ 10 mxxxX = and }.,,,{ 10 nyyyY =

Assumed that ),( jiij yxgz = data are given for the function ),( yxgz = of two variables at the points

),( ji yx in the rectangular array, there is a unique surface of the form

jim

i

n

jij yxayxp ∑∑

= =

=0 0

),( (4)

of degree at most nm + , namely nm yx that passes through each point in the YX × , where YX × is Cartesian product of the sets X and Y . The polynomial (4), which is called a bivariate polynomial interpolation, satisfies for mi ≤≤0 ,

nj ≤≤0 ),(),( jiji yxgyxp = . Thus ( )yxg , at any point ( )yx ˆ,ˆ which is not in the YX × can be estimated by ( ) ( )yxpyxg ˆ,ˆˆ,ˆ ≈ [1, 5-7, 13].

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 723 Issue 8, Volume 11, August 2012

Page 3: On the Trivariate Polynomial Interpolation

Also, we now consider the trivariate polynomial interpolation. Given ),,( zyxhu = to approximate over a solid rectangular region that is gridded by

),,( kji zyx , ,0 mi ≤≤ nj ≤≤0 , rk ≤≤0 on 3ℜ . Assumed that ),,( kjiijk zyxhu = data are given for the function of three variables at the

)1)(1)(1( +++ rnm distinct points in the solid rectangular region, there is a unique hyper surface on 4ℜ of the form

kjim

i

n

j

r

kijk zyxazyxp ∑∑∑

= = =

=0 0 0

),,( (5)

of degree at most rnm ++ , namely rnm zyx that passes through each point in the solid rectangular region. We say that (5) is a trivariate polynomial interpolation which satisfies

),,(),,( kjikji zyxhzyxp = for all ,0 mi ≤≤ nj ≤≤0 and rk ≤≤0 . It is clear that ( )zyxh ,, at any point ( )zyx ˆ,ˆ,ˆ , which is not in solid rectangular region on 3ℜ , can be estimated by ( ) ( )zyxpzyxh ˆ,ˆ,ˆˆ,ˆ,ˆ ≈ [9, 12, 13]. In the next section, we first formulate a matrix equation to calculate the coefficients of the trivariate polynomial interpolation defined in (5) using Kronecker product and Khatri-Rao product, and then investigate the solution of this matrix equation.

3 The Trivariate Polynomial Interpolation Let

=

m

xV

x

xxx

2

1

0

,

=

n

yV

y

yyy

2

1

0

,

=

r

zV

z

zzz

2

1

0

(6)

and

][ 10 rAAAA = , (7)

[ ]mFFFF 10= ,

where

=

00100

10110010

00100000

0

mnnn

m

m

aaa

aaaaaa

A

,

=

11110

11111011

01101001

1

mnnn

m

m

aaa

aaaaaa

A

,

…,

=

mnrnrnr

rmrr

rmrr

r

aaa

aaaaaa

A

10

11101

01000

,

=

nrnn

r

r

uuu

uuuuuu

F

01000

01011010

00001000

0

,

=

nrnn

r

r

uuu

uuuuuu

F

11101

11111110

10101100

1

,

…,

=

mnrmnmn

rmmm

rmmm

m

uuu

uuuuuu

F

10

11110

00100

,

]1[ 2 m

iiii xxx =x ,

]1[ 2 njjjj yyy =y ,

]1[ 2 r

kkkk zzz =z , and iF is an )1()1( +×+ rn matrix and kA is an

)1()1( +×+ mn matrix. Note that ijka and ijkkji uzyxh =),,( are the elements of the )1)(1()1( ++×+ rmn matrices A and F defined in (7) respectively, where ,0 mi ≤≤

nj ≤≤0 and rk ≤≤0 . Using (6) and (7), we can formulate the coefficients of the trivariate polynomial interpolation (5) as follows:

FIVIIIAV mT

zrTmr

Tr

Ty =⊗⊗⊗⊗ ++++ )]([ 111110 xxx

(8) where 1+rI is the )1()1( +×+ rr identity matrix and ⊗ is the Kronecker product. Also, we can express (8), which is the matrix equation of (5), as follows:

( )( ) ,)( 111 FIVIVAV mT

zTmr

Txy =⊗⊗∗ +++ 1 (9)

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 724 Issue 8, Volume 11, August 2012

Page 4: On the Trivariate Polynomial Interpolation

where ∗ is the Khatri-Rao product and 1+m1 is the 1)1( ×+m vector whose entries are 1.

Corollary 1 Let ( ))( 11

Tmr

Tx IV ++ ⊗∗ 1 be the matrix

defined in (9). Then its inverse is ( ) ( )( )1

111

111 )(()( +

−++

++ ⊗⊗∗=⊗∗ rxTxmrx

Tmr

Tx IVVIVIV 11 .

(10)

Proof. Observing the rank of the matrix defined in (10) is )1)(1( ++ rm , and using the generalized inverse of the matrix of full rank and Khatri-Rao product of the matrices [15, 25], (10) is easily obtained as ( ) [ ] 1

111101

11 )(−

+++

++ ⊗⊗⊗=⊗∗ rTmr

Tr

TTmr

Tx IIIIV xxx 1

( ) .11

1

11

10

⊗⊗

= +−

+

+

+

rxTx

rm

r

r

IVV

I

II

x

xx

Thus the proof is completed. We use the following Lemma to solve the matrix equation (9). Lemma 1. A necessary and sufficient condition for the equation DBXC = to have a solution is that

DCDCBB =++ in this case, the general solution is

++++ −+= BYCCBYDCBX , where Y is an arbitrary matrix and +B is the generalized inverse of the matrix B [3, 20]. Theorem 1 The equation (9) has a unique solution as follows:

( ) ( ) 111

11

1 )(−

++

+− ⊗∗⊗= T

mrT

xmT

zy IVIVFVA 1 (11)

or equivalently

( ) ( ) ( )

⊗⊗∗

⊗= +

−+++

−−1

1111

11 )( rxTxmrxm

Tzy IVVIVIVFVA 1 (12)

Proof. Since

( ) ( ) ( )( )1111

111

11 )()( +++

++

+− ⊗⊗∗⊗∗⊗ m

Tz

Tmr

Tx

Tmr

Txm

Tzyy IVIVIVIVFVV 11

( ) ( )1)1)(1(1

11 +++

++ ⊗⊗= mT

zrmmT

zn IVIIVFI

,)1)(1(1

F

FII rmn

=

= +++

the equation (9) has a solution. Also using Lemma 1, we obtain the general solution as

hp AAA += , where

( ) ( ) 111

11

1 )(−

++

+− ⊗∗⊗= T

mrT

xmT

zyp IVIVFVA 1 ,

( )( )( ) ( )

)(

.)(1

111

11

111

++

++

++−

⊗∗⊗⊗

⊗∗−=

Tmr

Txm

Tzm

Tz

Tmr

Txyyh

IVIVIV

IVWVVWA

1

1

( ) ( ) 1

11)1)(1(111 )()( −

+++++++ ⊗∗⊗∗−= Tmr

Txmr

Tmr

Txn IVIIVWIW 11

0)1)(1( =−= ++ rmWIW

W is an arbitrary matrix, and pA and hA are the particular and homogenous solutions, respectively. If

AAp = , then (9) has a unique solution. Thus the proof is completed. Theorem 2 Let kA and iF be submatrices defined in (7). Then, the solution of the equation (9) is

( ) [ ]111

0

1 )( +−−

=

− ⊗= ∑ rxTxi

Tz

m

iiy IVVVFVA x , (13)

or

( ) [ ]111

0

1 )( +−−

=

− ⊗= ∑ kxTxi

Tz

m

iiyk VVVFVA ex , (14)

where

]00100[)1(

entrythk++ =T

1ke ,

for mi ,,2,1,0 = and rk ,,2,1,0 = . Proof. To prove the theorem, we can use Theorem 1 and the matrices defined in (7). Putting (7) in (12) and using Kronecker product and Khatri-Rao

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 725 Issue 8, Volume 11, August 2012

Page 5: On the Trivariate Polynomial Interpolation

product, the equation (13) is obtained. Taking the identity matrix as in (13), we get the equation (14). We show that whether the bivariate polynomial interpolation (4) is the special case of the trivariate polynomial interpolation (5) or not. Let us assume that 0=r in (9) and ijij aa =0 ,

ijij zu =0 for ,0 mi ≤≤ nj ≤≤0 in (7). Taking 0=r and using the equations (7) and (9) we obtain

ZAVV T

xy = , (15) where

=

mnnn

m

m

aaa

aaaaaa

A

10

11101

01000

,

=

mnnn

m

m

zzz

zzzzzz

Z

10

11101

01000

,

A and Z are the )1()1( +×+ mn matrices. In this case, it is clear that 11 =+rI , 1=zV and ( ) T

xTmr

Tx VIV =⊗∗ ++ )( 11 1 .

The equation (15) can be defined as the matrix equation which is used to find the coefficients ija of the BPI (4) satisfying ),(),( jiji yxgyxp = for all

),( ji yx in the rectangular array. In addition, we can state the BPI (4) as a matrix equation in the following form:

TAyxp xy=),( , (16) where A is defined above. This equation can be easily obtained from

( ) TrIAzyxp zxy 1),,( +⊗= T , (17)

which is the matrix equation of (5), when 0=r , where 1=z . Note that the solution of the matrix equation (15),

( ) 11 −−= Txy VVA Z (18)

can be found from Theorem.1 or Theorem.2, and the BPI can be investigated as a special case of the TPI.

Since Vandermonde matrices xV and yV are nonsingular [7, 12, 23], the system of matrix equation (15) has a unique solution [3, 20]. So there is one and only one solution set of coefficients for polynomial (4). It is well known that the equation (15) is solvable either numerically or using a computer algebra packages. In this study, the coefficients of the polynomial interpolation are to be computed directly by generating special formulae, which can be applied easily to the polynomial interpolations satisfying the given distinct points. We now consider the Vandermonde matrix xV . We can rewrite the closed form of the inverse of xV as

[ ]mxV vvv 101 =− , (19)

where the columns vectors mvvv ,,, 10 are

( ) ( )

( )

( )

,

1

1

1

1

1

1

1

1 2

2

2

1

3

2 1

1

10

0

11

1 221

1 2 1121

−=

∑ ∑

∑ ∑ ∑

=

= =

= = −=

=

=

m

m

ii

m

m

i

m

iii

m

i i

m

miiii

m

ii

m

ii

x

xx

xxx

x

xx

mm

v

(20)

( ) ( )

( )

( )

,

1

1

1

1

1,0

1

1

0,1 2

2

2

0,1

3

2 1

1,0

10

1

1

000

00 220

00 2 1120

−=

∑ ∑

∑ ∑ ∑

≠=

=≠ =

=≠ = −=

≠=

≠=

m

m

iii

m

m

ii

m

iii

m

ii i

n

miiii

m

iii

m

ii

i

x

xx

xxx

x

xx

mm

v

…,

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 726 Issue 8, Volume 11, August 2012

Page 6: On the Trivariate Polynomial Interpolation

( ) ( )

( )

( )

.

1

1

1

1

1

0

1

2

0

1

1

2

1

0

2

1

1

2

1

0

1

0

00

0 110

0 1 2

210

−=

∑ ∑

∑ ∑ ∑

∏−

=

=

=

= =

−=

=

=

m

m

ii

m

m

i

m

iii

m

i i

m

miiii

m

ii

m

ini

m

x

xx

xxx

x

xx

mm

v

All the formulae for the entries of the matrices

1−L and 1−U , being L and U the triangular matrices in the LU factorization of xV can be found by replacing values of the elementary symmetric functions in [19]. The inverses of matrices L and U are formulated in an closed form as

( )

−−

−+−

−−−

=

∑ ∑ ∑∑

∑ ∑ ∑∑ ∑

∏∏

=

= =

−=

=

= =

−=

= =

==

10000

0000

)1(100

)1(10

)1(1

1

0

2

0

3

1

1

3

22

1

1

0

2

1

1

2

11

0

2

110

1

0

2

0100

1

00

0 1 3310

00

0 1 2210

0 110

0

0

0

0

n

ii

i i

m

miiii

m

ii

i i

m

miiii

m

i iii

m

ii

m

ii

x

xxxx

xxxxxxx

xxxxx

U

mm

mm

and

( ) ( ) ( )

( ) ( ) ( ) ( )

−−

−−

=

∏∏∏∏

∏∏∏

=

≠=≠==

≠=

≠=

=

1

0

1

2,02

1,01

10

1

2,02

1

1

1,01

1

1

10

1

1001

1

)1()1()1()1(

0)1()1()1(

00110001

m

imi

m

m

iii

m

m

iii

m

m

ii

m

m

iii

m

m

iii

m

m

ii

m

xxxxxxxx

xxxxxx

xxxx

L

where miii m ≤<<<≤ ...0 10 and ,11 += −ll ii ml ..., ,2,1= . The inverse of the Vandermonde matrix

defined as (19) can be used for computing the coefficients of the bivariate polynomial interpolation. If (19) is applied to the inverses of the Vandermonde matrices xV and yV defined as (20), we obtain the closed formulae of the coefficients of the BPI. This leads to the following results. Corollary 2 Let jiB be the product of thj )1( + row

of 1−yV with thi )1( + column of the matrix Z .

Then s'jiB are

( ) ( )

( ),),(

),(),(

1

0

1

0

1

1,01

1,00

10

10

nin

jnj

n

jj

in

jji

n

jjj

in

jj

n

jj

i

yxgyy

y

yxgyy

yyxg

yy

yB

=

=

≠=

≠=

=

=

−+

+−

+−

=

( ) ( )

( ),..,

),(

),( ),(

1

0

1

0

2

1

1

2

1

1,01

2

0,1

3

2 10

10

2

1

3

2 11

0 1 2

210

00 2 1120

1 2 1121

−++

−+

−−=

∑ ∑ ∑

∑ ∑ ∑

∑ ∑ ∑

=

= =

−=

≠=

=≠ = −=

=

= = −=

nin

jnj

j j

n

njjjj

in

jji

jj j

n

njjjj

in

jj

j j

n

njjjj

i

yxgyy

yyy

yxgyy

yyyyxg

yy

yyyB

nn

nn

nn

( ) ( ) ( )

−++

−+

−−=

∏∏∏−

=≠==

),(1),(1),(1)1( 1

0

1

1,01

0

10

nin

jnj

in

jji

in

jj

nni yxg

yyyxg

yyyxg

yyB

where mi ..,,2,1,0= and nj ..,,2,1,0= .

Proof. To prove the corollary, we can apply (20) to the matrix 1−

yV defined in (6). Multiplying thj )1( +

row of 1−yV with thi )1( + column of the matrix Z ,

we obtain jiB as [ ]jiy BZV =−1 . Thus the proof is completed.

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 727 Issue 8, Volume 11, August 2012

Page 7: On the Trivariate Polynomial Interpolation

Corollary 3 Let ija be the coefficients of the polynomial interpolation (4) satisfying )1)(1( ++ nm distinct points in the rectangular array. Then the coefficients ija of the BPI are

( ) ( ) ( ),1

0

1

01

1,01

1,00

10

10 jmm

imi

m

ii

jm

iii

m

iii

jm

ii

m

ii

j Bxx

xB

xx

xB

xx

xa

∏−

=

=

≠=

≠=

=

=

−++

−+

−=

( ) ( )

( ),...,

1

0

1

0

2

1

1

2

1

1,01

2

0,1

3

2 10

10

2

1

3

2 11

0 1 2

210

00 2 1

120

1 2 1

121

++

+

−=

∑ ∑ ∑

∑ ∑ ∑

∑ ∑ ∑

=

= =

−=

≠=

=≠ = −=

=

= = −=

jmm

imi

i i

m

miiii

jm

iii

ii i

m

miiii

jm

ii

i i

m

miiii

j

Bxx

xxx

Bxx

xxx

Bxx

xxx

a

m

m

m

m

m

m

( ) ( ) ( )

−++

−+

−−=

∏∏∏−

=≠==

jmm

imi

jm

iii

jm

ii

mmj B

xxB

xxB

xxa 1

0

1

1,01

0

10

111)1(

for mi ..,,2,1,0= and nj ...,,2,1,0= . Proof Using (20), the coefficients ija are easily

computed from the product of ( )thj 1+ row of

ZVy1− with ( )thi 1+ column of ( )TxV 1− .

For example for 2=m and 2=n , the coefficients of the polynomial interpolation in two variables are computed easily from the above formulae as follows:

),())((

),())((

),())((

22120

10

11210

200

0201

210

yxgyyyy

yy

yxgyyyy

yyyxg

yyyyyyB

i

iii

−−+

−−+

−−=

−−

++

−−

++

−−+

−=

22120

10

11210

200

0201

211

,())((

),())((

),())((

yxgyyyy

yy

yxgyyyy

yyyxg

yyyyyy

B

i

iii

),())((

1

),())((

1),())((

1

22120

11210

00201

2

yxgyyyy

yxgyyyy

yxgyyyy

B

i

iii

−−+

−−+

−−=

22120

101

1210

200

0201

210 ))(())(())(( jjjj B

xxxxxxB

xxxxxxB

xxxxxxa

−−+

−−+

−−=

−−

++

−−+

+−−

+−= 2

2120

101

1210

200

0201

211 ))(())(())(( jjjj B

xxxxxx

Bxxxx

xxB

xxxxxxa

22120

11210

00201

2 ))((1

))((1

))((1

jjjj Bxxxx

Bxxxx

Bxxxx

a−−

+−−

+−−

=

where 2,1,0=i and 2,1,0=j . Example 1: Assume the following values for a function ),( yxg in two variables of twelve distinct points: ,3)0,1( =−g ,2)1,1( =−g ,1)2,1( −=−g

,1)0,0( =g ,2)1,0( =g ,7)2,0( =g ,1)0,1( −=g ,0)1,1( =g ,7)2,1( =g ,3)0,2( −=g ,2)1,2( =g 23)2,2( =g .

The coefficients of the polynomial interpolation in two variables are easily obtained by writing

3=m and 2=n in above formulae. Using these coefficients, the polynomial interpolation in two variables satisfying twelve points is written as 232222 221),( yxyxxyxyyyxP +−+−+−= . Finally, taking 0=n , ii aa =0 and ii yz =0 from (15), we obtain (3) as follows:

TTx

TV ba = , (21) where 1=yV ,

][ 10 mT aaa =a

and ][ 10 m

T yyy =b . It is clear that (21) has the same solution with (3) and consequently it is seen that the univariate polynomial interpolation is the special case of the BPI. Now, we can obtain the coefficients of the univariate polynomial defined in (1) or (21) from the closed form of the inverse of xV . The following result is concerned with the coefficients of (1).

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 728 Issue 8, Volume 11, August 2012

Page 8: On the Trivariate Polynomial Interpolation

Corollary 4 Let ia for mi ..,,2,1,0= be the coefficients of the polynomial interpolation (1). Then

( ) ( ) ( ),1

0

1

01

1,01

1,00

10

10 mm

ini

m

ii

m

iii

m

iii

m

ii

m

ii

yxx

xy

xx

xy

xx

xa

∏−

=

=

≠=

≠=

=

=

−++

−+

−=

( ) ( )

( ),..., 1

0

1

0

2

1

1

2

1

1,01

2

0,1

3

2 10

10

2

1

3

2 1

1

0 1 2

210

00 2 1

120

1 2 1

121

−++

−+

−−

=

∑ ∑ ∑

∑ ∑ ∑

∑∑ ∑

=

= =

−=

≠=

=≠ = −=

=

= = −=

mm

imi

i i

m

miiii

n

iii

ii i

m

miiii

m

ii

i i

m

miiii

yxx

xxx

yxx

xxxy

xx

xxx

a

m

m

m

m

m

m

( ) ( ) ( )

−++

−+

−−=

∑−

=

=

≠=

≠=

=

=−− mm

imi

m

ii

m

iii

m

iii

m

ii

m

ii

mm y

xx

x

yxx

x

yxx

xa 1

0

1

01

1,01

1,00

10

111

0

0

00

0

1

1

)1(

( ) ( ) ( )

−++

−+

−−=

∏∏∏=≠==

m

imi

m

iii

m

ii

mm y

xxy

xxy

xxa 1

0

1

1,01

0

10

111)1(

Proof. Using (20) and applying the product of the matrix 1−V and the vector b , it is easily proved. Using Corollary 4, the following examples are presented. Example 2 The linear equation satisfying ( )00 , yx and ( )11, yx two distinct points is computed as

xxxyy

xxyxyxy

−−

+

−−

=01

01

01

1001

and the quadratic equation passing through ( )00 , yx , ( )11, yx and ( )22 , yx three distinct points is written as

( )( ) ( )( ) ( )( )

( )( ) ( )( ) ( )( )

( )( ) ( )( ) ( )( ) .111

)(

22

21201

12100

0201

22120

101

1210

200

0201

21

22120

101

1210

200

0201

212

xyxxxx

yxxxx

yxxxx

xyxxxx

xxy

xxxxxx

yxxxx

xx

yxxxx

xxy

xxxxxx

yxxxx

xxxP

−−

+−−

+−−

+

−−

++

−−+

+−−

+−

−−

+−−

+−−

=

Example 3 Consider a set

( ) ( ) ( ) ( ){ }2,3,4,1,1,0,2,1 −−=S of four distinct points. The coefficients of third degree polynomial interpolation passing through four distinct points are obtained by writing 3=n as

3323130

2102

232120

310

1131210

3200

030201

3210

))()(())()((

))()(())()((

yxxxxxx

xxxy

xxxxxxxxx

yxxxxxx

xxxy

xxxxxxxxx

a

−−−+

−−−+

−−−+

−−−=

−−−++

+−−−

+++

−−−++

+−−−

++−=

3323130

2120102

232120

313010

1131210

3230200

030201

3231211

))()(())()((

))()(())()((

yxxxxxx

xxxxxxyxxxxxx

xxxxxx

yxxxxxx

xxxxxxyxxxxxx

xxxxxxa

3323130

2103

232120

310

2131210

3201

030201

3212

))()(())()((

))()(())()((

yxxxxxx

xxxyxxxxxx

xxx

yxxxxxx

xxxyxxxxxx

xxxa

−−−++

+−−−

+++

−−−++

+−−−

++=

−−−+

−−−+

−−−+

−−−−=

3323130

2232120

1131210

0030201

3

))()((1

))()((1

))()((1

))()((1

yxxxxxx

yxxxxxx

yxxxxxx

yxxxxxxa

and 1 and 2,2,1 3210 −==== aaaa are calculated by using these formulae and so the polynomial interpolation satisfying four distinct points in the set S is 32

3 221)( xxxxp −++= .

4 Conclusions We consider the trivariate polynomial interpolation (TPI) passing through ( )( )( )111 +++ rnm distinct points in the solid rectangular region. We conclude that the coefficients of TPI can be computed directly from the matrix equation by the use of generalized inverses, Kronecker product and Khatri-Rao product.

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 729 Issue 8, Volume 11, August 2012

Page 9: On the Trivariate Polynomial Interpolation

It is seen that the trivariate polynomial interpolation can be investigated as the matrix equation and its coefficients can be computed directly from this matrix equation. In addition, it is shown that the bivariate polynomial interpolation (BPI) is expressed as the special case of the TPI when 0=r and the special formulae of the coefficients of the BPI are obtained using the inverse of the Vandermonde matrix. Also, the coefficients of the polynomial )(xp are computed using the closed formulae. References [1] M. Bojanov and Y. Xu, On a Hermite

interpolation by polynomials of two variables, SIAM J. Numer. Anal., Vol. 39 No. 5, 2002, pp. 1780-1793.

[2] M. Bojanov and Y. Xu, On polynomial interpolation of two variables, J. Approx. Theory, 120, 2003, pp. 267-282.

[3] S. L. Campbell and Jr C. D Meyer., Generalized Inverses of Linear Transformations, Pitmann Publishing, London, 1979.

[4] S. D. Conte and C. de Boor, Elementary Numerical Analysis, McGraw Hill, Japan, 1972.

[5] C. de Boor and A. Ron, Computational aspects of Polynomial interpolation in several variables, Math. Comput., Vol. 58, No. 1 198, 1992, pp. 705-727.

6] A. Eisinberg and G. Fedele, On the inversion of the Vandermonde matrix, Appl. Math. Comput., 174, 2006, pp. 1384-1397.

[7] M. E. A. El-Mikkawy, Explicit inverse of a generalized Vandermonde matrix, Appl. Math. Comput., 146, 2003, pp. 643-651.

[8] L. Fausett, Numerical Methods Algorithms and Applications, Pearson Education, Inc., New Jersey, 2003.

[9] M. Gasca and T. Sauer, Polynomial interpolation in several variables, Adv. Comput. Math., 12, 2000, pp. 377-410.

[10] C. F. Gerald and G. Wheatley, Applied Numerical Analysis, Seventh International Edition, Pearson Education Inc., USA, 2004.

[11] C. S. Jog, The accurate inversion of Vandermonde matrices, Comput. Math. Appl., 47, 2004, pp. 921-929.

[12] L. W. Johnson and R. D. Riess, Numerical Analysis, Addison Wesley Publishing, Canada, 1982.

[13] D. Kincaid D. and W. Cheney, Numerical Analysis Mathematics of Scientific Computing, Brooks/Cole Publishing Company, Pacific Grove, California, 1991.

[14] E. Kreyszig., Advanced Engineering Mathematics, 7th Ed., John Wiley &Sons, New York, 1993.

[15] S. Liu, Matrix results on the Khatri-Rao and Tracy-Singh products, Linear Algebra Appl., 289, 1999, pp. 267-277.

[16] J. J. Martinez and J. M. Pena, Factorizations of Cauchy-Vandermonde matrices, Linear Algebra Appl., 284, 1998, pp. 229-237.

[17] H. Oruç and G. M. Phillips, Explicit factorization of the Vandermonde matrix, Linear Algebra Appl., 315, 2000, pp. 113-123.

[18] H. Oruç and H. K. Akmaz, Symmetric functions and Vandermonde matrix, J. Comput. Appl. Math., 172, 2004, pp. 49-64.

[19] H. Oruç, Lu factorization of the Vandermonde matrix and its applications, Appl. Math. Letters, 20, 2007, pp. 982-987.

[20] C. R. Rao and S. K. Mitra, Generalized Inverses of Matrices and its Applications, John Wiley, New York, 1971.

[21] H. C. Jr Thacher and W. E. Milne, Interpolation in several variables, J. Soc. Indus. Appl. Math.,Vol. 8, No. 1, 1960, pp. 33-42.

[22] M. A.Tunga and M. Demiralp, Computational Complexity Investigations for High Dimen-sional Model Representation Algorithms Used in Multivariate Interpolation Problems, 12th WSEAS International Conference on Applied Mathematics, December 29-31, Cairo, Egypt, 2007, pp. 133-139.

[23] L. R. Turner, Inverse of the Vandermonde matrix with applications, NASA Technical Note, NASA-TN-D-3547, 1966, pp. 1-14.

[24] Y. Xu, Polynomial interpolation in several variables, cubature formulae, and ideals, Adv. Comput. Math., 12, 2000, pp. 363–376.

[25] X. Zhang, Z. P. Yang and C. G. Cao, Matrix inequalities involving the Khatri-Rao product, Archivum Mathematicum (BRNO), Tomus 38,2002, pp. 265-272.

[26] P. Zhu, On Birkhoff interpolation by polynomials in several variables, J. Comput. Appl. Math., 85, 1997, pp.263-270.

WSEAS TRANSACTIONS on MATHEMATICS Suleyman Safak

E-ISSN: 2224-2880 730 Issue 8, Volume 11, August 2012