On the inverse of a general pentadiagonal matrix

https://doi.org/10.1016/j.amc.2008.03.004Get rights and content

Abstract

In this paper, employing the general Doolittle factorization, an efficient algorithm is developed to find the inverse of a general pentadiagonal matrix which is suitable for implementation using computer algebra systems software such as Matlab and Maple. Examples are given to illustrate the efficiency of the algorithm.

Introduction

A matrix of the formA=a1b1c1d2a2b2c2e3d3a3b3c3cn-2en-1dn-1an-1bn-1endnanis called pentadiagonal matrix. Thus A=(aij)1i,jn is pentadiagonal if aij=0 for |i-j|>2. These types of matrices are widely used in areas of science and engineering, for example in numerical solution of ordinary and partial differential equations (ODE and PDE), interpolation problems, boundary value problems (BVP), etc. In many of these areas inversions of pentadiagonal matrices are necessary. So an efficient computational approach to find the inverse of the pentadiagonal matrix A in (1) is demanding. Generally, Gauss–Jordan method with partial pivoting [1] is often used. However, the method may destroy the special structure and sparsity (especially for a large scale matrix) of pentadiagonal matrix. So employing the special structure of pentadiagonal matrices, the inversions of pentadiagonal matrices could be more efficient. Shiau [2], Diele and Lopez [3], respectively, employing the special structure of pentadiagonal Toeplitz matrix, presented algorithms to invert pentadiagonal Toeplitz matrix. Recently, a new algorithm to find the inverse of a general tridiagonal matrix is presented by El-Mikkawy [4], which is extended in [5], [6] to periodic tridiagonal linear systems and comrade linear systems, respectively. This motivates the present study. Based on El-Mikkawy [4], employing general Doolittle factorization and the special structure of a pentadiagonal matrix, this paper is to develop a new algorithm to find the inverse of a general pentadiagonal matrix, which is suitable for implementation using computer algebra systems software such as Matlab and Maple. Similarly, the algorithm presented can also be extended to periodic pentadiagonal linear systems.

This paper is organized as follows: In Section 2, main results and relevant algorithms are presented. In Section 3, numerical and symbolic examples are given.

Section snippets

Main results

To give main results concerning pentadiagonal matrices of the form (1), we define the quantities relevant of A as follows:xi=a1,i=1,a2-y1z2,i=2,ai-yi-1zi-eixi-2ci-2,i=3,,n,yi=b1,i=1,bi-zici-1,i=2,,n-1,zi=d2x1,i=2,di-eixi-2yi-2xi-1,i=3,,n.

Theorem 2.1

If xi0, i=1,,n-1, the LU factorization of the matrix A in (1) exists, that is A=L1U1, whereL1=1000z210e3x1z310e4x20000enxn-2zn1,U1=x1y1c100x2y200x300cn-2yn-10000xn.

Proof

By using the Doolittle factorization, it is easy to be

Examples

In this section, examples are given to illustrate the above results.

Example 3.1

Consider the pentadiagonal matrixA=1130001122002631500242310013140003512.

Applying Algorithm 2.2, it gives P(t)=-139t-868, det(A)=-868,A-1=0.78800.00580.1031-0.70620.14000.2926-0.49310.16010.16650.1671-0.0086-0.26500.2350-0.0553-0.08990.1797-0.0438-0.0092-0.38250.4724-0.04490.0899-0.0219-0.00460.2120-0.25580.0219-0.0438-0.01500.20740.1751-0.27650.0507-0.10140.2811-0.0461.

Example 3.2

ConsiderB=21100222-101211α0102α00-1β+23+α.

Applying

Acknowledgement

The authors would like to express their great gratitude to the referees and editor Dr. Melvin Scott for their constructive comments and suggestions that lead to enhancement of this paper.

References (9)

There are more references available in the full text version of this article.

Cited by (32)

  • Explicit inverse of near Toeplitz pentadiagonal matrices related to higher order difference operators

    2021, Results in Applied Mathematics
    Citation Excerpt :

    Early results on inverses of banded matrices can be traced as far back as to the work of [2–4] for general band matrices. Results for band Toeplitz matrices are given in [5], with explicit inverse formulas for tridiagonal matrices in [6] and pentadiagonal matrices in [1,7–13]. In addition, properties including determinants of such matrices related to finite difference operators have been investigated, e.g. in [14–17].

  • An explicit formula for the inverse of a pentadiagonal Toeplitz matrix

    2015, Journal of Computational and Applied Mathematics
    Citation Excerpt :

    These two methods could be directly applied to inverting the pentadiagonal Toeplitz matrix, but they could not make full use of the sparse structure of the pentadiagonal Toeplitz matrix. [17] gave a method to obtain the inverse of a general pentadiagonal matrix which was not specific to the pentadiagonal Toeplitz matrix and required general Doolittle factorization. [18] presented a numerical method for computing the inverse of the pentadiagonal Toeplitz matrix that involves solving a system of linear equations.

  • Some results on determinants and inverses of nonsingular pentadiagonal matrices

    2015, Journal of Computational and Applied Mathematics
View all citing articles on Scopus

This research was supported by 973 Programs (2008CB317110), NSFC (10771030), the Scientific and Technological Key Project of the Chinese Ministry of Education (107098), the PhD. Programs Fund of Chinese Universities (20070614001), Sichuan Province Project for Applied Basic Research (2008JY0052) and the Project for Academic Leader and Group of UESTC.

View full text