Chapter 2
Functions and Jordan Canonical Forms of Riordan Matrices
This chapter is an extended version of the recently published paperD. Merlini and M. Nocentini. Functions and Jordan canonical forms of Riordan matrices. Linear Algebra and its Applications, 565:177–207, 2019. doi: 10.1016/j.laa.2018.12.011 which collects results about Riordan arrays in the framework of matrix functions; actually, the following methodology applies to any square matrix with exactly one eigenvalue of algebraic multiplicity . Generalized Lagrange bases are used to construct Hermite polynomials that interpolate a family of functions; moreover, we show a parallel application of such functions via Jordan canonical forms and case studies are given.
2.1Introduction#
This work started as an educational effort to construct a practical framework that allows us to lift a scalar function to a matrix function . Although many booksF. R. Gantmacher. The Theory of Matrices, volume one. Chelsea, New York, USA., 1959; G. H. Golub and C. F. Van Loan. Matrix Computations. Johns Hopkins University Press, Baltimore, MD, USA, third edition, 1996., 1996; R. A. Horn and C. R. Johnson. Topics in Matrix Analysis. Cambridge University Press, 1991; and P. Lancaster and M. Tismenetsky. The Theory of Matrices, second edition. Academic Press, London, 1985 study this argument, our approach is in the spirit ofN. J. Higham. Functions of Matrices. Siam, 2008, thus it does not include elementwise operations, functions producing a scalar result (such as the trace, the determinant, the spectral radius, the condition number), or matrix transformations (such as the transpose, the adjugate, the slice of a submatrix).
We provide two equivalent characterizations of the lifting process: let be the function to be applied to a square matrix , then the former is based on ’s eigenvalues, its algebraic multiplicities and ’s derivatives, according toH. Runckel and U. Pittelkow. Practical computation of matrix functions. Linear Algebra and its Applications, 49:161–178, 1983; and L. Verde-Star. Functions of matrices. Linear Algebra and its Applications, 406:285–300, 2005; the latter is based on ’s Jordan Canonical Form, an established approach to apply a function to a matrix.
We restrict ourselves to a class of matrices belonging to the Riordan groupD. Merlini, D. G. Rogers, R. Sprugnoli, and M. C. Verri. On Some Alternative Characterizations of Riordan Arrays. Canadian Journal of Mathematics, 49:301–320, August 1997; L. W. Shapiro, S. G., W.-J. Woan, and L. C. Woodson. The Riordan group. Discrete Applied Mathematics, 34(1):229–239, 1991. ISSN 0166-218X. doi: 10.1016/0166-218X(91)90088-E. URL http://www.sciencedirect.com/science/article/pii/0166218X9190088E; R. Sprugnoli. Riordan arrays and combinatorial sums. Discrete Mathematics, 132(1):267–290, 1994. ISSN 0012-365X. doi: 10.1016/0012-365X(92)00570-H. URL http://www.sciencedirect.com/science/article/pii/0012365X9200570H; and T.-X. He. Matrix characterizations of Riordan arrays. Linear Algebra and its Applications, 465:15–42, 2015, namely lower triangular infinite matrices that can be also manipulated algebraically using generating functions. Riordan arrays are powerful tools in combinatorics and in the analysis of algorithms, but here we focus on common properties arising from their structure to build polynomials interpolating desired functions; in fact, each minor of a Riordan array shares the same and unique eigenvalue with algebraic multiplicity .
We report application of a class of differentiable functions to the matrices of binomial coefficients, Catalan and Stirling numbers; for example, starting with minors of the Pascal and Catalan triangles
respectively, which are two of the most commonly known Riordan arrays, we find matrices
such that and , where
is a polynomial that interpolates the function; moreover, matrices and satisfying the classic identity
(2.1)where is the identity matrix, the -th power with and the functions are studied in details.
Moreover, we show how to build matrices and to factor pairs of Riordan matrices and in Jordan canonical forms and respectively, both sharing matrix which has a simple and interesting structure. First, we study the application of a function to matrix to ease the computation of and ; second, we prove that it is always possible to write a Riordan array as a linear transformation of any other Riordan array by means of matrices and appearing in their Jordan canonical forms (in particular, there are uncountably many such transformations since and are defined on top of arbitrary vectors ).
Finally, to compare and contrast the study of a matrix with a single eigenvalue with the study of a matrix with at least two different eigenvalues, we show an example concerning the Fibonacci numbers’ generator matrix. All theorems and facts have been tested and confirmed by reproducible artifacts using a symbolic module on top of the Python programming language, fully available online inM. Nocentini. Simulation Methods. URL https://massimo-nocentini.github.io/simulation-methods/build/html/index.html.
2.2Basic definitions and notations#
Let be a matrix and denote with the spectrum of , namely the set of ’s eigenvalues with corresponding multiplicities such that .
Let and define the characteristic polynomial of matrix . The degree of is and any polynomial of degree greater than can be divided as where ; by the Cayley-Hamilton theorem where is the zero matrix, therefore holds, namely polynomials and (possibly of different degrees) yield the same matrix when applied to . Moreover, implies
so polynomials and satisfy if and only if
in words, polynomials and take the same values on .
Let be a function on the formal variable ; we say that is defined on if exists
Given a function defined on , a polynomial can be defined such that and take the same values on ; in particular, can be written using the base of generalized Lagrange polynomials , where denotes the set of polynomials of degree . Coefficients of each polynomial are implicitly defined to be the solutions of the system with constraints
(2.2)being the Kroneker delta, defined as if and only if , otherwise ; finally, polynomial is called an Hermite interpolating polynomial and is formally defined as
(2.3)Remark 2.1. Observe that if for all then and polynomials reduce to the usual Lagrange base; let , then polynomials defined as
are a Lagrange base with respect to eigenvalues and , respectively. On the other hand, if then there is only one eigenvalue with algebraic multiplicity ; let , then polynomials defined as
(2.4)are a generalized Lagrange base with respect to the unique eigenvalue .
Now we apply this framework to the Riordan group.
2.3Riordan matrices#
From here on, denotes a finite Riordan matrix, namely a chunk of the infinite matrix composed of the first rows and the first columns, seeA. Luzon, D. Merlini, M. A. Moron, L. F. Prieto-Martinez, and R. Sprugnoli. Some inverse limit approaches to the Riordan group. Linear Algebra and its Applications, 491:239–262, 2016 for a study of finite Riordan matrices. Due to its triangular shape, admits the characteristic polynomial , so entails and eigenvalue gets multiplicity ; usually, functions and satisfy and respectively, therefore . We relax the condition in order to use as a pure symbol to spot structures with respect to and, lately, perform the substitution to specialize non-ground terms.
Lemma 2.2. Let be a Riordan array and , then a base of generalized Lagrange polynomials for the finite Riordan matrix is
(2.5)Proof. Reasoning on Equation (2.4) we write polynomials in matrix notation
(2.6)where the generic coefficient has the closed form
therefore, we define
which are required to satisfy the set of constraints
obtained by instantiating Equation (2.2). We proceed by cases, (i) if then it holds because the derivative vanishes, (ii) if then it holds because the derivative equals ; otherwise, (iii) if then
as required. □
Observing that the outer sum in Equation (2.3) does exactly one iteration because and by using polynomials in Equation (2.5) we state the following
Theorem 2.3. Let be a Riordan array, and ; then the polynomial
(2.7)is a Hermite interpolating polynomial of function defined on .
Remark 2.4. For any Riordan array , the polynomial
interpolates a function defined on .
2.4Functions and polynomials#
In this section we instantiate the abstract framework just described to functions
where ; in parallel, we construct and show corresponding Hermite interpolating polynomials in a sequence of theorems, respectively. From now on, we use and instead of and to simplify the notation; moreover, we instantiate which is the natural eigenvalue for Riordan arrays.
We start by generalizing the -th power , usually carried out as , to rational powers .
Theorem 2.5. Let , where , and be a Riordan array; then
(2.8)are both Hermite interpolating polynomials of the -th power function for the minor .
Proof. The closed form of the -th derivative of function is
where denotes the falling factorial; therefore,
restoring proves the first identity. On the other hand,
proves the explicit one. □
Instantiation in the previous theorem yields a Hermite interpolating polynomial for the inverse function which, in the explicit form, reduces to a binomial transform.
Theorem 2.6. Let and be a Riordan array; then
(2.9)are both Hermite interpolating polynomials of the inverse function for the minor .
Proof. The closed form of the -th derivative of function is
therefore, restoring in
proves the first identity. On the other hand, in
the inner sum admits the closed expression , proving the explicit one. □
Instantiation yields the interpolation of the square root function, we report its derivation for completeness.
Theorem 2.7. Let and be a Riordan array and ; then,
(2.10)are both Hermite interpolating polynomials of the square root function for the minor .
Proof. The closed form of the -th derivative of function is
therefore, first observing that entails
second, identities and allow us to rewrite
finally, sum’s coefficient equals for , hence summation can be extended to start from index incorporating the outer value , proving the first identity. On the other hand,
proves the explicit one. □
Matrix exponentiation is a well studied problemC. Moler and C. Van Loan. Nineteen Dubious Ways to Compute the Exponential of a Matrix, Twenty-Five Years Later. SIAM review, 45:3–49, 2003, here we show another way in the Riordan arrays domain.
Theorem 2.8. Let , where , and be a Riordan array; then
are both Hermite interpolating polynomials of the exponential function for the minor .
Proof. The closed form of th derivative of function is
therefore, restoring in
proves the first identity. On the other hand,
and moving the index in the inner summation backward by closes the proof. □
We show a dual theorem of the previous one concerning the interpolation of the logarithm function.
Theorem 2.9. Let and be a Riordan array; let be the -th harmonic number, then
(2.11)are both Hermite interpolating polynomials of the logarithm function for the minor .
Proof. The closed form of the -th derivative of function is
therefore, observing that entails
proving the first identity. On the other hand,
proves the explicit one. □
Remark 2.10. For the sake of completeness, a Hermite interpolating polynomial could also be studied by relaxing the condition thus considering which subsumes . Here are one of these augmented polynomials interpolating the function
Theorem 2.11. Let , and be a Riordan array; then
(2.12)and
(2.13)are Hermite interpolating polynomials, explicitly written, of the sine and cosine functions for the minor , respectively.
Proof. The closed form of the -th derivative of function is
where and for , with required when . We rewrite
$$ \begin{aligned} S_{m}(z) &= \sum_{j=1}^{m}{ \left. \left(\alpha_{j-1}\sin,{z} + \alpha_{j-2}\cos,{z}\right) \right|{z=1}\Phi{1,j}(z)} \ &= \sin,{1},\sum_{j=1}^{m}{ \alpha_{j-1}\Phi_{1,j}(z)} + \cos,{1},\sum_{j=1}^{m}{ \alpha_{j-2}\Phi_{1,j}(z)} \ &= \sin,{1},\sum_{j=1}^{\left\lceil \frac{m}{2} \right\rceil}{ (-1)^{j-1}\Phi_{1,2j-1}(z)}
- \cos,{1},\sum_{j=1}^{\left\lfloor \frac{m}{2} \right\rfloor}{ (-1)^{j-1}\Phi_{1,2j}(z)} \ &= \sin,{1},\sum_{j=1}^{\left\lceil \frac{m}{2} \right\rceil}{\sum_{k=0}^{2j-2}{ \frac{(-1)^{3j-3}}{k!(2j-2-k)!}{(-z)^{k}}} }\ &+ \cos,{1},\sum_{j=1}^{\left\lfloor \frac{m}{2} \right\rfloor}{\sum_{k=0}^{2j-1}{ \frac{(-1)^{3j-2}}{k!(2j-1-k)!}{(-z)^{k}}}}. \end{aligned} $$
Then, by swapping the sums and moving indices backwards in the inner sums we finally get
□
Proof. The closed form of the -th derivative of function is
where coefficients are defined in the sine function’s proof, hence
$$ \begin{aligned} C_{m}(z) &= \sum_{j=1}^{m}{ \left. \left(\alpha_{j}\sin,{z} + \alpha_{j-1}\cos,{z}\right) \right|{z=1}\Phi{1,j}(z)} \ &= \sin,{1},\sum_{j=1}^{m}{ \alpha_{j}\Phi_{1,j}(z)} + \cos,{1},\sum_{j=1}^{m}{ \alpha_{j-1}\Phi_{1,j}(z)} \ &= \cos,{1},\sum_{j=1}^{\left\lceil \frac{m}{2} \right\rceil}{ (-1)^{j-1}\Phi_{1,2j-1}(z)}
- \sin,{1},\sum_{j=1}^{\left\lfloor \frac{m}{2} \right\rfloor}{ (-1)^{j}\Phi_{1,2j}(z)} \ &= \cos,{1},\sum_{j=1}^{\left\lceil \frac{m}{2} \right\rceil}{\sum_{k=0}^{2j-2}{ \frac{(-1)^{3j-3}}{k!(2j-2-k)!}{(-z)^{k}}} }\ &+ \sin,{1},\sum_{j=1}^{\left\lfloor \frac{m}{2} \right\rfloor}{\sum_{k=0}^{2j-1}{ \frac{(-1)^{3j-1}}{k!(2j-1-k)!}{(-z)^{k}}}}; \end{aligned} $$
finally, repeating manipulations done in the previous proof we rewrite
□
2.4.1Case studies#
Before showing explicit Hermite interpolating polynomials, we point out that evaluation of a polynomial belonging to a generalized Lagrange base will be carried out using the Horner algorithm for the sake of efficiency. Let , each polynomial can be written in abstract form as
and can be computed as
where each coefficient has to be interpreted as , namely a -filled matrix with on the main diagonal. Such approach requires matrix products and additions. We use this scheme in all subsequent polynomial evaluations to a Riordan matrix.
In order to apply the functions described in the previous section to Riordan arrays and concerning binomial coefficients, Catalan and Stirling numbers, we list the corresponding Hermite interpolating polynomials for the
-th power function
inverse function
square root function
exponential function
(2.14)logarithm function
sine function
cosine function
Example 2.12. Let be the matrix of binomial coefficients, also known as the Pascal matrix,
where . Then, the application of Hermite interpolating polynomials yields the following matrices:
the special cases and have been illustrated in Section 2.1 while and yield
where , and
where , corresponding to the product and inverse operations in the Riordan group defined in Equations (1.3) and (1.4), respectively. Additionally, matrices , which is known as in the Online Encyclopedia of Integer SequencesN. J. A. Sloane. The Encyclopedia of Integer Sequences. URL http://oeis.org/, and defined by
have eigenvalues and ; therefore, in order to check the (expected) identities it is required to compute new Hermite interpolating polynomials using Theorem 2.3 on eigenvalues and , in place of and which depend on eigenvalue instead.
Remark 2.13. For the sake of completeness, in order to recover back from we have to (i) to find its spectrum
(ii) to compute the generalized Lagrange base
and (iii) to build the Hermite interpolating polynomial
that interpolates the function , which is different from the corresponding polynomials show in Equation (2.14); finally, closes.
Example 2.14. Let be the matrix of Catalan numbers,
where . Then, the application of Hermite interpolating polynomials yields matrices
where the -th power is a rather complex matrix of which we report the first column only, formally multiplying on the right by indicator vector .
Example 2.15. Let be the matrix of Stirling numbers of the second kind,
where . Then, the application of Hermite interpolating polynomials yields matrices
The matrix is related to matrix by the identity and even more connections involving these matrices can be found inG.-S. Cheon and J.-S. Kim. Stirling matrix via Pascal matrix. Linear Algebra and its Applications, 329:49–59, 2001.
Finally, we report sine and cosine function applications in Table 2.1; finally, Equation (2.1) shows that the identity is preserved by the framework of matrices functions and even more trigonometric identities can be checked; for example, the polynomial
interpolates the function which allows us to check the identity for a Riordan matrix , formally .
| Function | Matrix |
|---|---|
2.5Jordan canonical form#
We begin this section with necessary definitions about Jordan canonical forms to help the computation of matrices functions.
Let be a square matrix and a generalized Lagrange base, so denotes the -th component matrix of relative to its -th eigenvalue (from here on, we just write to keep clean the notation when no confusion arises).
Component matrices enjoy the properties
- they are linearly independent and don’t depend on function ,
- they commute respect the product, ,
- if ,
- if ,
- if ,
- if ,
- for ,
- from , and
- from , for ,
whose proofs can be found inL. Brugnano and D. Trigiante. Solving Differential Problems by Multistep Initial and Boundary Value Methods. Australia Etc. : Gordon & Breach, 1998; and V. Lakshmikantham and D. Trigiante. Theory of Difference Equations : Numerical Methods and Applications. New York: Marcel Dekker, 2002 together with more arguments and applications.
Example 2.16. Component matrices relative to are
in parallel, corresponding component matrices for and can be computed in a similar way.
Let be a non-zero vector to define a set of subspaces
where ; moreover, vectors are linearly independent, therefore if .
Lemma 2.17. Let , then vectors satisfy the recurrences
for this reason, they are also called generalized eigenvectors.
Proof. Recall that , then let in
where the facts (i) , (ii) and (iii) the linear independence of component matrices justify the derivation steps in the branches above, respectively. This proves the first recurrence; on the other hand, consider
which holds because , proving the second recurrence. □
Example 2.18. ’s component matrices are used to build the set of generalized eigenvectors
where .
The recurrences can be merged in matrix notation as where and
at last, each is called the Jordan block of the eigenvalue . Collecting matrices and for , the Jordan canonical form of is defined by the relation , where and
with respect to an arbitrary vector ; finally, if is non-singular then matrices and are similar, in symbols.
Remark 2.19. Column composition of vectors in Example 2.18 yields the matrix which is the most abstract matrix such that . In fact, it shows that there are uncountably many matrices such that by choosing different real values for the components of the vector .
This derivations allow us to compute functions of matrices in a easier way, with the help of the following
Lemma 2.20. Let be a function defined on and the corresponding Hermite interpolating polynomial. Then
for a matrix which depends on an arbitrary vector .
Proof. By definition of similarity relation , application of to both members preserves the identity ; finally, since is a linear combination of powers being a polynomial, entails , as required. □
Previous lemma ensures that and allows us to compute : in words, the procedure consists of, first, finding matrices and ; second, compute ; third, multiply it by on the left side and by on the right side. Now, to study the application of to we can focus on the application of to the Jordan block due to the block-wise structure of matrix and, lately, compose results block-wise as well.
Remark 2.21. Since the Jordan block is a -minor of the Riordan array then it shares the same base of polynomials shown in Equation (2.5), hence for a function defined on , the application yields the Toeplitz matrix
We show columns for the family of functions studied in previous sections for a minor :
moreover, observe that if is a Riordan array then its Jordan canonical form reduces to matrices and because of the unique eigenvalue of algebraic multiplicity .
Example 2.22. Let , then Pascal triangle’s inverse can be computed by , where
depends on , .
Considering any two Riordan arrays and such that they share the same matrix in their Jordan canonical forms, the next theorem states that is a linear transformation of and viceversa; the same transformation is preserved even for matrices and where is a function defined on both and .
Theorem 2.23. Let and be two Riordan matrices and let and be their Jordan canonical forms, respectively, where matrices and depend on complex vectors and ; then, . Moreover, also holds, for any function defined on both and .
Proof. By transitivity of the similarity relation, entails . Finally, let be the Hermite interpolating polynomial of , then implies , as required. □
Example 2.24. Pascal and Catalan triangles are similar with respect to and , where
depends on , , given and , as before.
Finally, since the product of a Riordan matrix and an infinite vector , where , yields by the fundamental theorem of Riordan arrays, in the next theorem we show a connection to this result.
Theorem 2.25. Let be a Riordan matrix, a vector and be the ’s Jordan canonical form built on matrices and depending on . Let be a function defined on , then .
Proof. Observe that holds because . Let be the Hermite interpolating polynomial of function , then entails , provided that depends on . □
Example 2.26. For the sake of clarity, here we lift the power function for application to the generation matrix of Fibonacci numbers, which isn’t a Riordan array; on the other hand, its two eigenvalues are distinct and its shape is simple enough to compare and contrast polynomials, component matrices and Jordan Canonical Form with respect to the main track.
Let be a matrix having two eigenvalues defined as
respectively; we need to use the generalized Lagrange base composed of
to define the polynomial
interpolating . Therefore , in matrix notation
where is the -th Fibonacci number within sequence in the OEIS; choosing yields
In order to find the Jordan normal form, we use the following component matrices
which, in turn, generates subspaces and of generalized eigenvectors
respectively, both depending on vector ; so is the Jordan normal form of matrix , where
Let in where , so matrices and , whose columns are
are similar; by the way, substituting yields
as required.
Conclusions#
In this chapter we studied Hermite interpolating polynomials for functions , , , , , and for application to a well known class of matrices, namely Riordan arrays: in this context, the submatrix of the array has a unique eigenvalue of algebraic multiplicity , which simplify derivations sensibly. Other functions could be studied provided that they are defined on ; for example, the normal density function admits the interpolating polynomial, for any Riordan matrix ,
Another aspect that could be of interest concerns examination of functions that, once applied to Riordan arrays, produces matrices that are Riordan arrays themselves; the Pascal triangle is a witness for the -th power function, namely is a Riordan array, where . To this purpose, we could approach the problem from an analytic point of view in terms of functions and defining the Riordan array under investigation.