• Nie Znaleziono Wyników

A system of linear recurrence equations for determinant of pentadiagonal matrix

N/A
N/A
Protected

Academic year: 2022

Share "A system of linear recurrence equations for determinant of pentadiagonal matrix"

Copied!
8
0
0

Pełen tekst

(1)

A SYSTEM OF LINEAR RECURRENCE EQUATIONS FOR DETERMINANT OF PENTADIAGONAL MATRIX

Jolanta Borowska, Lena Łacińska, Jowita Rychlewska Institute of Mathematics, Czestochowa University of Technology

Czestochowa, Poland

jolanta.borowska@im.pcz.pl, lena.lacinska@im.pcz.pl, jowita.rychlewska@im.pcz.pl

Abstract. In this paper we present an application of the system of two homogeneous linear recurrence equations to evaluate the determinant of pentadiagonal matrix. The general con- siderations are illustrated by two examples. It is shown that the proposed approach is suited for implementation using computer algebra systems.

Keywords: pentadiagonal matrix, determinant, linear recurrence equations

Introduction

The subject of consideration is a pentadiagonal matrix of the form

 

 

 

 

 

 

 

 

 

 

 

 

 

 

=

n n n

n n n n

n n n n n

n n n n n

n n n n n n

a d e

b a d e

c b a d e

c b a d e

c b a d e

c b a d e

c b a d e

c b a d

c b a

A

1 1 1 1

2 2 2 2 2

3 3 3 3 3

4 4 4 4 4

4 4 4 4 4

3 3 3 3 3

2 2 2 2

1 1 1

(1)

It means that A n a ij n n ] x

= [ where a ij = 0 for i − j > 2 . This type of matrices arises

for example in a numerical solution of differential equations by using the finite

element or finite difference methods. The aim of this paper is to derive a recurrence

relation for determinant of matrix under considerations. The numerical algorithms

for computing the determinant of pentadiagonal matrices were formulated in many

(2)

papers, e.g. [1, 2]. Most of these algorithms were obtained under certain assump- tions. For example in [2] it was obtained that ∏

=

=

n

i i

n x

A

1

)

det( if x k ≠ 0 , 1

,..., 2 ,

1 −

= n

k where

 

 

=

=

=

=

− c i n

x z e y a

i z

y a

i a

x

i i

i i i i i

,..., 3 2 1

2 2 1

2 1 2 1

,

 

=

= =

− 2 ,..., 1

1

1 1

n i

c z b

i y b

i i i i

 

 

=

=

=

− i n

x x y d e

x i d z

i i i

i i i

,..., 3 2

1 2 2 1 2

In the present paper we are to show that determinant of pentadiagonal matrix of the form (1) is a particular solution of a system of two linear recurrence equations. This approach is available for every pentadiagonal matrix.

1. The main results

In order to derive recurrence relation for determinant of matrix (1) we introduce two auxiliary pentadiagonal matrices of the form

 

 

 

 

 

 

 

 

 

 

 

 

 

 

=

n n n

n n n n

n n n n

n n n n n

n n n n n n

b d e

c a d e

b a d e

c b a d e

c b a d e

c b a d e

c b a d e

c b a d

c b a

A

1 1 1 1

2 2 2 2

3 3 3 3 3

4 4 4 4 4

4 4 4 4 4

3 3 3 3 3

2 2 2 2

1 1 1

0

~ ⋱ ⋱ ⋱ ⋱ ⋱

(3)

and

 

 

 

 

 

 

 

 

 

 

 

 

 

 

=

n n n

n n n n

n n n n

n n n n

n n n n n n

b a e

c b d e

c a d e

b a d e

c b a d e

c b a d e

c b a d e

c b a d

c b a

A

1 1 1 1

2 2 2 2

3 3 3 3

4 4 4 4 4

4 4 4 4 4

3 3 3 3 3

2 2 2 2

1 1 1

0 0

Let us denote

n

n A

W = det , W n A ~ n

~ det

= , W n = det A n .

Using the method of Laplace expansion with respect to the last row of matrix A n

we obtain

1 1

1

~

− − +

= n n n n n n

n a W d W e W

W (2)

Now, we are to derive recurrence relation for determinant ~ 1

n −

W . To this end we use Laplace expansion with respect to last column of matrix ~ 1

n −

A , which leads to the linear combination of two determinants. First of these determinants is equal to

2 n −

W and for second determinant we apply Laplace expansion with respect to the last row and we obtain a linear combination of determinants 3

n −

W and ~ 3

n −

W . Hence

( 1 3 1 3 )

2 2 1 1

~

~

− = n nn n nn n

n b W c d W e W

W (3)

Subsequent considerations will be concerned with determinant W n 1 . We start with Laplace expansion with respect to the last column of matrix A n 1 , which leads to the linear combination of two determinants. The first of these determinants is equal to ~ 2

n −

W and for the second determinant we apply Laplace expansion with respect to

the last row and we obtain a linear combination of two determinants. The first of

them is equal to W n 3 and for the second determinant we use Laplace expansion

(4)

with respect to the last column, which leads to the linear combination of determi- nants W n 3 and W n 4 . Finally we get

( 1 3 1 3 4 )

2 2 1 1

~

− = n n − n n n − n n n

n b W c a W e c W

W (4)

Bearing in mind relations (2), (3) and (4) we obtain a system of two linear recur- rence equations



 

+

=

+

− +

=

4 2 3 4 2 3 3 2 2

2 1 1

4 1 3 2 3 1 2 1

~

~

~

~

n n n n n n n n n

n n n n n n n n n n n n n n n n n

W e c W d c W b W

W b e W d W e e c c W a c e W a W

(5)

where n > 4 .

The above equations can be rewritten in the following form



 

+

=

+

− +

=

+ + +

+ + + +

+ + + + + +

+ + + + + + + + + +

n n n n n n n n n

n n n n n n n n n n n n n n n n n

W e c W d c W b W

W b e W d W e e c c W a c e W a W

~

~

~

~

2 1 2

1 1 2 2

2 3 4 3 4 4

3 1 2 1 3 2 4 3 4

4 (6)

where n ∈ N .

In order to obtain determinant W n of matrix A we must take into account the n system of equations (6) together with the initial conditions of the form

 

 

 

 

− +

+

=

− +

=

=

=

=

=

)

~ (

~

)

~ (

~

~

3 1 3 1 2 4 2 3 4 3 3 3 4 4

2 1 2 1 3 2 3 2 3 3

2 1 2 1 2

1 1

2 1 2 1 2

1 1

a a e c c e W b e W d W a W

a c b b e W d W a W

d b a a W

a W

d c b a W

b W

(7)

Hence the value of determinant of pentadiagonal matrix A is the particular solu- n tion of the system of equations (6) fulfilling initial conditions (7). It can be observed that the direct solution of the system of equations (6) can be obtained only in some special cases. However, for an arbitrary but fixed n ∈ N we can find determinant W n using computer algebra systems such as Maple, Mathematica and Matlab.

Remark 1.

If ( ) a k k n =1 = a , ( ) b k k n = 1 1 = 0 , ( ) c k k n = 2 1 = c , ( ) d k k n = 2 = 0 , ( ) e k k n = 3 = e in matrix (1),

then we have

(5)

n n n

a e

a e

c c

a e

c a

c a

A

×

 

 

 

 

 

 

 

 

=

0 0 0

0 0

0 0

0

⋱ (8)

In this case the system of equations (6) reduces to one recurrence equation of the form

n n

n

n aW aceW e c W

W 2 2

1 3

4 = ++ +

+ (9)

with initial conditions

W = 1 a , W = 2 a 2 , W 3 = a 3 − ace , W 4 = a 4 − 2 a 2 ce + e 2 c 2 (10) Hence the determinant of matrix (8) is the particular solution of equation (9) ful- filling initial conditions (10). The above result was presented in paper [3].

Remark 2.

If ( ) c k k n = 2 1 = 0 , ( ) e k k n = 3 = 0 in (1), then we obtain the tridiagonal matrix of the form

n n n n

n n n n

a d

b a d

b a d

b a d

b a d

b a

A

×

−         

 

 

 

 

=

1 1 1 4 4 4

3 3 3

2 2 2

1 1

(11)

In this case system of equations (6) reduces to one recurrence equation of the form

n n n n n

n a W d b W

W + 2 = + 2 + 1 − + 2 + 1 (12)

fulfilling initial conditions

1

1 a

W = , W 2 = a 1 a 2 − b 1 d 2 (13)

Hence the determinant of tridiagonal matrix (11) is the particular solution of equa-

tion (12) fulfilling initial conditions (13).

(6)

2. Illustrative examples

Now, we are to illustrate the general results obtained in the previous section.

Example 1.

Now, we consider matrix (1) of order n × n setting ( ) a k k n = 1 = 1 , ( ) b k k n = 1 1 = 0 ,

( ) k

c n

k k

1

2 1 =

= , ( ) d k k n = 2 = 0 , ( ) e n = 3 = k − 2

k k . From (6) the determinant of this matrix is given by the formula

1 0

3

4 − + + + − =

+ n n n

n W W W

W (14)

with initial conditions

1 = 1

W , 1

1 0

0 1

2 = =

W , 0

1 0 1

0 1 0

1 0 1

3 = =

W , 0

1 0 2 0

0 1 0 1

2 1 0 1 0

0 1 0 1

4 = =

W (15)

Equation (14) is a fourth-order homogeneous linear recurrence equation with con- stant coefficients. Following [4] we have that the general solution of equation (14) is determined by the roots of the characteristic equation

0

3 1

4 − λ + λ − =

λ (16)

Roots of (16) are equal to λ 1 = 1 , λ 2 = − 1 , i 2

3 2 1

3 = −

λ , i

2 3 2 1

4 = +

λ . Hence

the general solution of equation (14) has the form

( ) 3

sin 3

cos

1 3 4

2 1

π

π n

n C C C

C

W n

n = + − + + (17)

Taking into account initial conditions (15) we obtain the system of linear equations

 

 

 

 

=

 

 

 

 

 

 

 

 

0 0 1 1

2 3 2 1 1 1

0 1

1 1

2 3 2 1 1 1

2 3 2 1 1 1

4 3 2 1

C C C C

Hence

2 1

1 =

C ,

6 1

2 =

C ,

3 1

3 =

C ,

3 3

4 =

C (18)

(7)

Substituting (18) to (17) we have the particular solution of equation (14) with ini- tial conditions (15) in the form

( ) 3

sin 3

3 3 cos 3 1 1 6 1 2

1 n π n π

W n

n = + − + + (19)

Formula (19) represents the determinant of the matrix under consideration.

Example 2.

Let us consider a special form of pentadiagonal matrix (1) in which elements on diagonals are defined by sequences of the form ( ) a k k n 1 = k 2

= , ( ) b n = 1 1 = k + 1

k k ,

( ) 1 2 = 2 3

=

k c n

k k , ( ) d n = 2 = 3 k + 2

k k , ( ) e n 3 2k 2

k k = = . Moreover, assume that 10 4 n = , i.e. matrix has the order 10 × 4 10 4 . Bearing in mind (6) the determinant of this matrix is given by the system of two linear recurrence equations with functional coefficients of the form

 

 

= +

− + +

− +

=

+ + + +

− +

+

− + +

+ +

+ +

− +

=

+ +

+ +

+ +

+

4 10 ,..., 2 , 1

~ , ) 2 )(

1 2 ( 2 ) 5 3 )(

1 2 ( ) 3

~ (

) ~ 4 ( ) 4 (

~ 2 ) 5 3 ( ) 4 ( ) 3 )(

1 2 )(

1 2 ( 4

) 3 )(

1 2 ( ) 4 ( 2 )

4 (

4 2

1 2

2 2

3 2

2

1 2 2

3 2 4

n W n n W

n n W

n W

W n n W

n W n n n n

W n n n

W n W

n n

n n

n n

n n n

n

(20)

with initial conditions

82 ,

49 ,

12 ,

1 ,

~ 11 ,

~ 2

4 3

2 1

2

1 = W = W = W = − W = − W =

W (21)

Let us observe that now we are dealing with a system of two linear recurrence equations with functional coefficients. It is impossible to solve this system using known analytical methods. Therefore, we use the Maple system in order to calcu- late the determinant of the matrix under consideration. To this end let us denote

W

F ~

= and apply the following syntax :

] 0 ), 10000 ..

1 , ( [

: = seq n 2 n = a

: ] 0 ), 10000 ..

1 , 1 ( [

: = seq n + n = b

: ] 0 ), 10000 ..

1 , 3 2 ( [

: = seq n − n = c

: ] 0 ), 10000 ..

2 , 2 3 ( , 0 [

: = seq n + n = d

: ] 0 ), 10000 ..

3 , 2 ( , 0 , 0 [

: = seq n 2 n = e

: ] 1 [ : ] 1

[ b

F =

: ] 2 [ ] 1 [ ] 2 [ ] 1 [ : ] 2

[ a b c d

F = ⋅ − ⋅

:

1

:

]

1

[ =

W

(8)

: 12 : ] 2 [ = − W

: 49 : ] 3 [ = − W

: 82 : ] 4

[ =

W

1 9997

[ 4] : [ 4] [ 3] [ 4] [ 2] [ 3] [ 1]

[ 2] [ 1] [ 3] [ 4] [ ] [ 4] [ 3]

[ 4] [ 3] [ 2] :

[ 2] : [ 1] [ 2] [ ] [ 2] [ 1] [ 1] [ 2] [ ] :

+ = + ⋅ + − + ⋅ + ⋅ + ⋅ + +

+ ⋅ + ⋅ + ⋅ + ⋅ − + ⋅ + +

+ ⋅ + ⋅ +

+ = + ⋅ + ⋅ + + ⋅ + − + ⋅ + ⋅

for from to do

end do n

W n a n W n e n c n a n W n

c n c n e n e n W n d n F n

e n b n F n

F n c n e n F n b n W n c n d n W n

:

])) 10000 [ ( ( evalf W print

Finally we get 1 . 414983547 × 10 71299 as the value of the determinant of the matrix under consideration. It can be emphasized that the above result was obtained with Maple default precision (Digits = 10).

Conclusions

It was shown that the determinant of the pentadiagonal matrix can be obtained as particular solution of the system of two homogeneous linear recurrence equa- tions. The general considerations was illustrated by two examples. In Example 1 the direct formula for determinant was obtained. In Example 2 the implementation of the proposed approach to Maple was presented. Moreover, it was presented that the above way leads to one linear recurrence equation for a determinant of the tridiagonal matrix.

References

[1] Aiat Hadj A.D., Elouafi M., On the characteristic polynomial, eigenvectors and determinant of a pentadiagonal matrix, Applied Mathematics and Computation 2008, 198, 634-642.

[2] Zhao X., Huang T., On the inverse of a general pentadiagonal matrix, Applied Mathematics and Computation 2008, 202, 639-646.

[3] Borowska J., Łacińska L., Rychlewska J., On determinant of certain pentadiagonal matrix, Jour- nal of Applied Mathematics and Computational Mechanics 2013, 12(3), 21-26.

[4] Elaydi S., An Introduction to Difference Equations, Springer, 2005.

Cytaty

Powiązane dokumenty

In a subsequent paper, we shall apply Theorem 3.1 in the proof of global (in time) existence of solution of the Cauchy problem for the nonlinear hyperbolic system of

[r]

linear equations in several variables, New Tork - London 1970.. [6] Turowioz, A., Geometria zer wielomianów,

The results include representation of the determinant of a rectan- gular matrix as a sum of determinants of square matrices and description how the determinant is affected by

It might be said that corporate responsibility is an effective management strategy which, when conducting a social dialogue at the local level, increases the competitiveness of

The management through effects is a key issue of management science. It applies to traditional management through goals, which has been improved by new solutions. Currently,

The Lyapunov function method has found application to a number of problems in mechanics, physics, engineering, control theory, stability analysis, and other dynamic properties

The results of our study indicate that Polish consumers with still low environmental awareness and at this early stage of development of the organic food market will be recep- tive