Abstract
The main research object of this paper is to present a systematic computational procedure for computing the inverse of a generalized Vandermonde matrix. Short and rigorous proofs for the formulas of the determinant and the inverse of a generalized Vandermonde matrix are proposed. The computational cost of this method is . The proposed method can be used efficiently for hand calculation as well as for computer programming. Some examples are given for the sake of illustration. Furthermore, we present a simulation study to compare the time spent to calculate the inverse using the proposed algorithm and the inverse function in Maple.
Keywords:
Vandermonde matrix; elementary symmetric polynomials; recursive algorithm; Horner’s scheme; discrete Fourier transform (DFT) matrix MSC:
05E05; 15A09; 15A15; 65F40; 68W30
1. Introduction and Objectives
Matrices arising in practice frequently have a distinguishing structure. The Vandermonde matrix (alternant matrix) is one of such matrices and appears in mathematics, engineering, and natural science. For example, they appear in the fields of statistics, in the derivation of explicit Rung-Kutta (ERK) and explicit Rung-Kutta-Nystrom (ERKN) methods in numerical analysis—see for instance [1,2,3]—and in the computing the inverse of a companion matrix [4].
In this paper, denotes the following vector: . We define a generalized Vandermonde matrix with distinct nodes , denoted by (for short, ) as . The classical Vandermonde matrix is a special case of the generalized Vandermonde when . Some authors call , rather than , a Vandermonde matrix. Throughout this work, we will focus on the determinant and the inverse of the Vandermonde matrix . The explicit formula of the determinant for the Vandermonde matrix, , is given by the following compact formulas:
From (1), we see that , as long as for . Furthermore, the determinant of the classical Vandermonde matrix is given by , see [5]. In recent decades, there have been many fruitful research papers for computing the inverse of the classical Vandermonde matrix using different approaches. The interested reader may refer to [6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]. In an article by El Mikkawy [21], an explicit formula for the inverse of a generalized Vandermonde matrix was given, which was proved from the inverse of a classical Vandermonde matrix, while, in this article, we provide another proof for that formula. However, what distinguishes the method in the current paper is the possibility of calculating the inverse of the Vandermonde matrix via hand calculation and also via computer programming with a computational cost of . Elementary symmetric polynomial (ESP) is a basic tool in computing the inverse of the Vandermonde matrix , see for instance [21,22,23,24].
The current paper is organized as follows: In Section 2, we introduce a very simple proof for the determinant formula (1). Section 3 is mainly devoted to a new easy proof for the well-known explicit formula of the inverse of the Vandermonde matrix . In Section 4, a recursive computational algorithm for computing the inverse of the Vandermonde matrix is presented. Section 5 focuses on a simulation study and some illustrative examples.
Symmetric polynomials appear in many fields such as representation theory [25] and combinatorics [26,27]. We introduce some basic definitions, notations, and well-known results which we will use in sequel and for further knowledge see, for instance [21,23,28,29].
Definition 1.
For a positive integer n, the i-th elementary symmetric polynomial (ESP) in n variables , denoted by is defined by
It is worth noting that each is a summation of terms and is a homogeneous polynomial of degree i. The generating function for the ESP is given by
From (3), we see that the ESP satisfies the recurrence relation
Due to symmetry, we see that the recurrence relation (4) can be written as
for any , the notation denotes the n − tuple where the component is absent.
Differentiating both sides of (5) partially with respect to , we obtain the following:
Also, by differentiating both sides of (3) partially with respect to , we obtain
The following result, whose proof is given in [29], is an immediate consequence of (7) by repeated applications.
Lemma 1.
Let n be a positive integer and let be the i − th ESP in . Then,
for all .
Throughout this paper, let be a monic polynomial of degree n with n distinct linear factors of the following form:
Furthermore, let and be defined by
and
2. The Vandermonde Matrix Determinant Formula—A Simple Proof
In this section, we provide a very simple proof for the determinant of the Vandermonde matrix that is given by the Formula (1).
Theorem 1.
Consider the generalized Vandermonde matrix with nodes . Then, the determinant, , is given by the Formula (1).
Proof.
Consider the monic polynomial of degree defined by the n-th order determinant
We have for all . Therefore, we may write in the following form:
where K is a constant to be determined. Expanding in (15) in terms of its last column, we see that the coefficient of is . Hence, . Consequently, we obtain
Since , from (17), we obtain
Repeated applications of (18) yields
Since , the result follows. This completes the proof. □
The importance of the determinant of the Vandermonde matrix appears in many fields of mathematics. For example, in linear algebra it can be used to prove that the eigenvectors corresponding to different eigenvalues are linearly independent, see [30].
3. Inversion of the Vandermonde Matrix —A New Easy Method for the Derivation
In this section, we are mainly concerned with introducing a simple proof for the inverse of the Vandermonde matrix with distinct nodes. For convenience of the reader, we state the following result.
Theorem 2
Proof.
Let
Since , then from (21), we obtain the matrix representation . Hence, . This completes the proof. □
Notice that the denominators in any row of are the same.
4. A Recursive Computational Algorithm for Inverting the Vandermonde Matrix
The main goal in the present section is to construct a systematic computational method for computing the inverse of the Vandermonde matrix. For this purpose it is convenient to consider the polynomials and defined in (9) and (10), respectively. Additionally, let
and
It is time to give the following results.
Lemma 2.
Proof.
Lemma 3.
Let n be a positive integer and let be the i-th ESP in . Then, satisfies
for all .
Proof.
Following Lemma 1, we obtain
having used (25). This completes the proof. □
We may now formulate the following result.
Theorem 3.
Consider the Vandermonde matrix with n distinct nodes . Then, we have , where
Proof.
Using Theorem 2 yields (in favor of (26)). Applying Lemmas 1–3, respectively, the required result follows. □
According to Lemma 1 in [31], we can deduce the following result for a particular case of the Vandermonde matrix .
Corollary 1.
Consider the Vandermonde matrix with an even n distinct nodes . Then, we have , where
with
Following Lemma 2 in [31], we can deduce the following result for a particular case of the classical Vandermonde matrix with the first row inputs as ones.
Corollary 2.
Consider the classical Vandermonde matrix with an odd n distinct nodes . Then, we have , where
with
The following result gives a recurrence relation for the numerator of the formula (29).
Lemma 4.
Let n be a positive integer, for and . The numerator of (29) satisfies the following recurrence relation
with .
Proof.
Following the numerator of (29), we have
This completes the proof. □
Remark 1.
We can easily observe that
- Using matrix representation, we see that Lemma 2 together with Lemma 3 introduce a very simple, direct proof and generalizes Theorem 2.1 in [17], which can be written as , wherefor . The relation enables us to give another proof that in Theorem 3 satisfies .
- Following [32], we obtain , wherefor , see also Theorem 2.1 in [13].
- Since , and applying the Horner’s scheme for synthetic division, we obtain
- For , can also be computed using the recurrencefor . Hence, .
By means of the above discussion and results, we are now able to present a systematic computational algorithm for inverting the Vandermonde matrix .
| Algorithm 1 A recursive algorithm for inverting |
| Consider the Vandermonde matrix with n distinct nodes (real or complex). Let , where is the j-th column in . To compute the inverse , we may proceed as follows: |
| INPUT: The nodes of . |
| OUTPUT: The inverse . |
|
![]() |
|
This algorithm can be used directly for obtaining any particular row of the inverse . The algorithm will be referred to as “” for a MAPLE procedure for inverting the Vandermonde matrix, see Appendix A. Regarding the complexity of the proposed technique, we can observe that to accomplish each step in Algorithm 1, we need two nested loops which means that the computational cost is .
5. Illustrative Examples and Simulation Study
Now, we give some illustrative examples to clarify the technique discussed in the current paper, the algorithm. One important special case of a Vandermonde matrix is the so-called discrete Fourier transform (for short, DFT) matrix, . The nodes of are the n-th roots of unity, i.e., , where and . It is given by
The inverse of is given by the following result.
Corollary 3.
Let be the DFT matrix defined by (37). Then, we have , where
Proof.
Now, we will invoke the following numerical examples.
Example 1.
Use the algorithm to find the inverse of the following matrix
Apply the algorithm as follows:
- Step 1
- Step 2
- Furthermore, we can use the recurrence relation (34) to compute the numerators in columns in the same order. Thus, the inverse is given byHence, simplifying the entries for the previous matrix, we obtain the inverse of the Vandermonde matrix .
In the next example we compute the inverse of a generalized Vandermonde matrix of dimension .
Example 2.
Use the algorithm to find the inverse of the following matrix:
Apply the algorithm as follows:
- Step 1
- Step 2
- Using (34) to compute the numerators in columns in the same order. Thus, the inverse is given byFurthermore, we can compute via Horner’s scheme Remark 1. Hence, simplifying the entries for the previous matrix, we obtain the inverse of the Vandermonde matrix .
The following example shows the power of Corollary 1 to reduce the effort of the calculations.
Example 3.
Use the algorithm to find the inverse of the following matrix
We have and . We apply the algorithm as follows:
- Step 1
- Following Corollary 1, we obtain andfurthermore, and . Moreover, we have forso, and . Arrange and the nodes as follows
- Step 2
- Using (34) to compute the numerators in columns in the same order. Thus, the inverse is given byFurthermore, we can compute via Horner’s scheme Remark 1. Hence, simplifying the entries for the previous matrix, we obtain the inverse of the Vandermonde matrix .
Now, we provide a simulation to make a comparison between the time spent to compute the inverse of the Vandermonde matrix through the inverse function in Maple and the algorithm. The mathematical software used is Maple 2020, and the specifications of the device used in the simulation are MacBook Pro with 2.6 GHz Intel Core i5, and 8 GB 1600 MHz DDR3 RAM.
We divided the simulation for computing the inverse for both symbolic and numerical Vandemonde matrix with different orders. For the symbolic Vandermonde matrix , where n denotes the matrix dimension, we did the simulations only for orders . Whereas, for the numerical Vandermonde matrix and , we did the simulation for orders . For each n, we repeated the simulation 50 times, and then we found the average running time. Furthermore, we have checked the proposed algorithm for the higher order of numerical Vandermonde matrix, for instance, . We observed that the algorithm is faster than the Maple inverse function. Figure 1 clarifies that the running time for computing the inverse of symbolic Vandermonde matrix by Maple inversion function for matrices is much more than that by algorithm. Furthermore, Figure 2 and Figure 3 show the efficiency of the algorithm for computing the inverse of the numerical Vandermonde matrix, where the proposed algorithm is faster than the Maple inverse function.
Figure 1.
Running time for computing the inverse of symbolic Vandermonde matrix via algorithm (in red color) and Maple inversion function for matrices (in blue color).
Figure 2.
Running time for computing the inverse of numerical Vandermonde matrix via algorithm (in red color) and Maple inversion function for matrices (in blue color).
Figure 3.
Running time for computing the inverse of numerical Vandermonde matrix via algorithm (in red color) and Maple inversion function for matrices (in blue color).
6. General Conclusions
In this paper, we have presented a novel recursive algorithm for computing the inverse of the generalized Vandermonde matrix . The proposed method is simple for hand calculation and computer programming as well. From the provided comparison, it is clear that with the increase in matrix dimension, the difference in running time between Maple inversion function and algorithm is increasing as well. In summary, we can observe that the proposed method for computing the inverse of the Vandermonde matrix is more efficient than Maple’s inverse function for both types, symbolic and numerical Vandermonde matrix.
Author Contributions
All authors A.A. and M.E.-M. contributed equally to this work. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
Not applicable.
Acknowledgments
The authors wish to thank anonymous referees for useful comments that enhanced the quality of this paper.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A. A Computational Recursive Maple Procedure to Compute the Inverse of the Vandermonde Matrix
The procedure is based on Theorem 3,
- > vand_inv := proc(x::vector, p::numeric )
- # written by Prof. Dr. Moawwad El-Mikkawy
- # The inverse matrix is W.
- local i,j,k,fixi;
- global n,a,d,r,N,W;
- with(linalg,vectdim): n:= vectdim(x):
- a:= array(0..n): d:= vector(n): r:= vector(n):
- N:= array(1..n,1..n): W:= array(1..n,1..n):
- # STEP 1:
- # To compute a[i] , i=0,1,2,...,n.
- a[0]:=1:
- for i to n do
- a[i] := x[i]* a[i-1]:
- for j from i-1 by -1 to 1 do
- a[j] :=rationalize( evalc(a[j] + x[i]* a[j-1])):
- od:
- od:
- i:= ’i’: j:=’j’:
- for i to n do
- a[i]:=evalc((-1)^i*a[i]):
- od:
- # STEP 2:
- # To compute d[i], N[i,j],i,i=1,2,...,n and column n of W .
- i:=i: j:= j:
- for i to n do
- fixi:= n: N[i,n]:= 1:
- for j from n-1 by -1 to 1 do
- fixi := rationalize(evalc(fixi* x[i] + j * a[n-j])):
- N[i,j] := rationalize(evalc(N[i,j+1] * x[i] + a[n-j]))
- od:
- r[i]:= rationalize(evalc(x[i] * N[i,1]+ a[n])):
- d[i] := fixi*x[i]^p : W[i,n]:= rationalize(1/d[i]):
- # To compute the first (n-1) columns of W recursively.
- for k from n-1 by -1 to 1 do
- W[i,k] := rationalize( evalc(( x[i] * N[i,k+1] + a[n-k])/d[i]))
- od:
- od:
- evalm(W)
- endproc:
References
- Dormand, J.; El-Mikkawy, M.; Prince, P. Families of Runge-Kutta-Nystrom formulae. IMA J. Numer. Anal. 1987, 7, 235–250. [Google Scholar] [CrossRef]
- Dormand, J.; El-Mikkawy, M.; Prince, P. High-order embedded Runge-Kutta-Nystrom formulae. IMA J. Numer. Anal. 1987, 7, 423–430. [Google Scholar] [CrossRef]
- El-Mikkawy, M.; Rahmo, E.D. A new optimized non-FSAL embedded Runge–Kutta–Nystrom algorithm of orders 6 and 4 in six stages. Appl. Math. Comput. 2003, 145, 33–43. [Google Scholar] [CrossRef]
- Kalman, D. The generalized Vandermonde matrix. Math. Mag. 1984, 57, 15–21. [Google Scholar] [CrossRef]
- Vein, R.; Dale, P. Determinants and Their Applications in Mathematical Physics; Springer Science & Business Media: New York, NY, USA, 2006; Volume 134. [Google Scholar]
- Tou, J. Determination of the inverse Vandermonde matrix. IEEE Trans. Autom. Control 1964, 9, 314. [Google Scholar] [CrossRef]
- Neagoe, V.E. Inversion of the Van der Monde matrix. IEEE Signal Process. Lett. 1996, 3, 119–120. [Google Scholar] [CrossRef]
- Börck, A.; Pereyra, V. Solution of Vandermonde systems of linear equations. Math. Comput. 1970, 24, 893–903. [Google Scholar] [CrossRef]
- Gautschi, W. On inverses of Vandermonde and confluent Vandermonde matrices III. Numer. Math. 1978, 29, 445–450. [Google Scholar] [CrossRef]
- Eisinberg, A.; Picardi, C. On the inversion of Vandermonde matrix. IFAC Proc. Vol. 1981, 14, 507–511. [Google Scholar] [CrossRef]
- Oruç, H.; Phillips, G.M. Explicit factorization of the Vandermonde matrix. Linear Algebra Its Appl. 2000, 315, 113–123. [Google Scholar] [CrossRef]
- Eisinberg, A.; Fedele, G. On the inversion of the Vandermonde matrix. Appl. Math. Comput. 2006, 174, 1384–1397. [Google Scholar] [CrossRef]
- Oruç, H. LU factorization of the Vandermonde matrix and its applications. Appl. Math. Lett. 2007, 20, 982–987. [Google Scholar] [CrossRef]
- Moya-Cessa, H.; Soto-Eguibar, F. Inverse of the Vandermonde and Vandermonde confluent matrices. arXiv 2012, arXiv:1211.1566. [Google Scholar]
- Zhou, Q.; Zhang, X.; Liu, X. A new derivation and recursive algorithm based on Wronskian matrix for Vandermonde inverse matrix. Math. Probl. Eng. 2015, 2015, 924757. [Google Scholar] [CrossRef]
- Ghassabeh, Y.A. A recursive algorithm for computing the inverse of the Vandermonde matrix. Cogent Eng. 2016, 3, 1175061. [Google Scholar] [CrossRef]
- Man, Y.K. On computing the inverse of Vandermonde matrix. Adv. Theor. Appl. Math. 2018, 13, 15–21. [Google Scholar]
- Lita da Silva, J. On One Type of Generalized Vandermonde Determinants. Am. Math. Mon. 2018, 125, 433–442. [Google Scholar] [CrossRef]
- Hosseini, M.S.; Chen, A.; Plataniotis, K.N. On the Closed Form Expression of Elementary Symmetric Polynomials and the Inverse of Vandermonde Matrix. arXiv 2019, arXiv:1909.08155. [Google Scholar]
- Rawashdeh, E.A. A simple method for finding the inverse matrix of Vandermonde matrix. Mat. Vesn. 2019, 71, 207–213. [Google Scholar]
- El-Mikkawy, M. Explicit inverse of a generalized Vandermonde matrix. Appl. Math. Comput. 2003, 146, 643–651. [Google Scholar] [CrossRef]
- Oruç, H.; Akmaz, H.K. Symmetric functions and the Vandermonde matrix. J. Comput. Appl. Math. 2004, 172, 49–64. [Google Scholar] [CrossRef][Green Version]
- El-Mikkawy, M.; Atlan, F. Remarks on two symmetric polynomials and some matrices. Appl. Math. Comput. 2013, 219, 8770–8778. [Google Scholar] [CrossRef]
- Respondek, J.S. Recursive Matrix Calculation Paradigm by the Example of Structured Matrix. Information 2020, 11, 42. [Google Scholar] [CrossRef]
- Knutson, D. λ-Rings and the Representation Theory of the Symmetric Group; Springer: New York, NY, USA, 1973. [Google Scholar]
- Stanley, R.P. Enumerative Combinatorics; Cambridge Studies in Advanced Mathematics; Springer: New York, NY, USA, 1999; Volume 2. [Google Scholar]
- Bergeron, F. Algebraic Combinatorics and Coinvariant Spaces; AK Peters/CRC Press: Boca Raton, FL, USA, 2009. [Google Scholar]
- Macdonald, I.G. Symmetric Functions and Hall Polynomials; Oxford University Press: Oxford, UK, 1998. [Google Scholar]
- El-Mikkawy, M.; Sogabe, T. Notes on particular symmetric polynomials with applications. Appl. Math. Comput. 2010, 215, 3311–3317. [Google Scholar] [CrossRef]
- Xu, J.; Zhao, L. An application of the Vandermonde determinant. Int. J. Math. Educ. Sci. Technol. 2006, 37, 229–231. [Google Scholar] [CrossRef]
- Alatawi, M.S. On the Elementary Symmetric Polynomials and the Zeros of Legendre Polynomials. J. Math. 2022, 2022, 4139728. [Google Scholar] [CrossRef]
- Hou, S.H.; Hou, E. Triangular factors of the inverse of Vandermonde matrices. In Proceedings of the 2008 International MultiConference of Engineers and Computer Scientists (Volume II IMECS 2008), Hong Kong, China, 19–21 March 2008; pp. 2027–2029. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).


