A note on trigonometric identities involving non-commuting matrices
Ana Arnal, Fernando Casas, Cristina Chiralt

TL;DR
This paper introduces an algorithm for approximating trigonometric functions of sums of non-commuting matrices, useful in quantum mechanics, involving nested commutators and converging within the Zassenhaus formula domain.
Contribution
It presents a novel iterative method to compute trigonometric functions of non-commuting matrices with convergence guarantees.
Findings
Algorithm converges within the Zassenhaus domain
Expressions involve nested commutators
Applicable to perturbative quantum mechanics
Abstract
An algorithm is presented for generating successive approximations to trigonometric functions of sums of non-commuting matrices. The resulting expressions involve nested commutators of the respective matrices. The procedure is shown to converge in the convergent domain of the Zassenhaus formula and can be useful in the perturbative treatment of quantum mechanical problems, where exponentials of sums of non-commuting skew-Hermitian matrices frequently appear.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
∎
11institutetext: Ana Arnal 22institutetext: IMAC and Departament de Matemàtiques
Universitat Jaume I
12071 Castellón, Spain
22email: [email protected] 33institutetext: Fernando Casas 44institutetext: IMAC and Departament de Matemàtiques
Universitat Jaume I
12071 Castellón, Spain
44email: [email protected] 55institutetext: Cristina Chiralt 66institutetext: IMAC and Departament de Matemàtiques
Universitat Jaume I
12071 Castellón, Spain
66email: [email protected]
A note on trigonometric identities involving non-commuting matrices
Ana Arnal
Fernando Casas
Cristina Chiralt
(Received: date / Accepted: date)
Abstract
An algorithm is presented for generating successive approximations to trigonometric functions of sums of non-commuting matrices. The resulting expressions involve nested commutators of the respective matrices. The procedure is shown to converge in the convergent domain of the Zassenhaus formula and can be useful in the perturbative treatment of quantum mechanical problems, where exponentials of sums of non-commuting skew-Hermitian matrices frequently appear.
Keywords:
Trigonometric functions Zassenhaus formula Non-commuting matrices
MSC:
65F60 22E70 42A10
1 Introduction
Trigonometric matrix functions appear naturally when solving systems of second order differential equations
[TABLE]
whose solution is expressed by
[TABLE]
for all matrices higham08fom . When is singular, (2) is interpreted by expanding the matrix cosine and sine functions as power series of :
[TABLE]
Equation (1) arises in finite element semidiscretizations of the wave equation, whereas similar equations with a non-vanishing right-hand side of the form appear in highly oscillatory problems, control theory, etc.
In this case one has also the matrix analogue of Euler’s formula,
[TABLE]
so that
[TABLE]
and
[TABLE]
Different algorithms exist in the literature for the practical computation of the matrix cosine and sine (see e.g. almohy15naf ; higham08fom and references therein). Several of them make use of the double angle formula,
[TABLE]
to construct an approximation to by first considering a matrix with small norm and then approximating by a function (a truncated Taylor series, a Padé approximant, etc.). is then determined by applying formula (5) times.
Identity (5) is a special case of the addition formulae
[TABLE]
which hold if and only if (higham08fom, , p. 287). This is not necessary the case, however, when , as the following pair of matrices illustrate frechet52lsn :
[TABLE]
Although for all , a straightforward calculation shows that, indeed, equations (1) with are still valid here. For general matrices and , however, one cannot expect them to hold unless their commutator vanishes. This property is of course related through eq. (4) with the celebrated Baker–Campbell–Hausdorff (BCH) formula bonfiglioli12tin . Roughly speaking, , where the additional term is due to the non-commutativity of and . More in detail, the BCH theorem establishes that , with
[TABLE]
and is a linear combination (with rational coefficients) of nested commutators involving operators and . The first terms read explicitly
[TABLE]
An efficient algorithm for generating explicit expressions of up to an arbitrary in terms of independent commutators is presented in casas09aea . At this point it is natural to raise the following question: since formulae (1) do not hold in general for non-commutative matrices, is it still possible to express in terms of the cosine and sine of and for general matrices when ? And if the answer is in the affirmative, can this be done in a systematic (and hopefully efficient) way?
It is the purpose of this note to develop an algorithm that generalizes identities (1) to non-commuting operators, thus providing successive approximations to and involving -nested commutators of and for . As an illustration, if and are such that , then the following exact result holds:
[TABLE]
The algorithm we propose here constitutes in fact a direct application of the dual of the BCH theorem: the so-called Zassenhaus formula, with multiple applications in quantum mechanical systems and numerical analysis casas12eco . The problem consists essentially in finding matrices (operators) such that , with depending only on nested commutators of and .
Expressions like (1) can be useful in the perturbative treatment of quantum problems where exponentials of sums of non-commuting skew-Hermitian operators frequently appear galindo90qme .
2 Zassenhaus formula
To establish the Zassenhaus formula we consider two non commuting indeterminate variables , and the free Lie algebra generated by them, . This, roughly speaking, can be viewed as the set of linear combinations of all commutators that can be constructed with and . The elements of are called Lie polynomials postnikov94lga . A free Lie algebra is a universal object, so that results formulated in are valid for any (finite- or infinite-dimensional) Lie algebra munthe-kaas99cia .
Let us suppose then that . The Zassenhaus formula establishes that the exponential can be uniquely decomposed as
[TABLE]
where is a homogeneous Lie polynomial in and of degree magnus54ote ; suzuki77otc ; weyrauch09ctb ; wilcox67eoa ; witschel75ooe . The first terms read explicitly
[TABLE]
A recursive algorithm has been proposed in casas12eco for obtaining the terms up to a prescribed value of directly in terms of the minimum number of independent commutators involving operators and . The procedure, in addition, can be easily implemented in a symbolic algebra system without any special requirement, beyond the linearity property of the commutator. It reads as follows:
[TABLE]
Here denotes the integer part of and the “ad” operator is defined by
[TABLE]
Whereas the factorization (8) is well defined in the free Lie algebra , it has only a finite radius of convergence when and are real or complex matrices. Specifically,
[TABLE]
only in a certain subset of the plane bayen79otc ; suzuki77otc . As a matter of fact, by bounding appropriately the terms and also the , i.e., by showing that
[TABLE]
and analyzing (numerically) the convergence of the series , it can be shown that the convergence domain contains the region , and extends to the points and with arbitrarily large values of or casas12eco . In practical applications, however, the infinite product (8) is truncated at some and then one takes the approximation
[TABLE]
When the Zassenhaus formula is applied to , one gets
[TABLE]
respectively, where
[TABLE]
and is determined by algorithm (10). In more detail,
[TABLE]
3 The algorithm
Expansions (2), together with (4), allow us to design a recursive procedure and obtain expressions for and in terms of the sine and cosine of and . Since
[TABLE]
all we have to do is to insert the factorizations (2) in these expressions and collect terms up to the order considered. Specifically, let us first introduce
[TABLE]
and, for ,
[TABLE]
Then it is clear that
[TABLE]
Thus, up to , one has the approximations
[TABLE]
which reproduce, with given by (9), expressions (1) (with the replacement of , by and , respectively), whereas analogously
[TABLE]
The general algorithm can then be established as follows:
[TABLE]
Moreover, it is possible to establish the convergence of the procedure as follows. From (16) we have
[TABLE]
and so
[TABLE]
in the convergence domain of the Zassenhaus formula (11), in particular when . By applying a similar argument, it is also true that
[TABLE]
in the same domain.
The recursion (17) can be easily programmed with a symbolic algebra package in conjunction with algorithm (10) to generate the terms and thus produce approximations to and up to the desired order . In particular, up to we have
[TABLE]
4 Examples
Next we collect two particular examples to illustrate the use of, and results obtained by, algorithm (17) to approximate and .
Example 1.
Pauli matrices play an important role in many quantum mechanical problems. They are defined by
[TABLE]
and form a basis of , the Lie algebra of skew-Hermitian traceless matrices. They verify
[TABLE]
so that their commutators are given by
[TABLE]
where denotes the Levi–Civita symbol. It can be shown that
[TABLE]
where and galindo90qme .
Consider a parameter and let us take and . Then, direct application of (21) shows that
[TABLE]
with . On the other hand, algorithm (17) applied to this case renders
[TABLE]
with (rather involved) explicit expressions for the real functions , , , . Notice that a non-vanishing term multiplying appears in the expression of , contrary to the exact solution (22). It turns out, however, that goes to zero when . Moreover, if a series expansion in powers of of these functions is computed, then we reproduce the exact expressions (22) up to the order considered. Thus, in particular, up to order we get
[TABLE]
Example 2.
For our second example we consider two matrices and whose elements are random numbers in the range and normalized so that . We are therefore outside the convergence domain for the Zassenhaus formula guaranteed by casas12eco . Then we compute numerically via , (with Mathematica) and as given by algorithm (17) for several values of . Finally we determine the error and represent this value as a function of . In this way we obtain Figure 1. We clearly observe how the error decays exponentially with . In other words, algorithm (17) provides a convergent expansion for well beyond the domain obtained in casas12eco . A similar conclusion is achieved if one instead considers .
Although algorithm (17) is used here to approximate numerically , it is by no means intended to be used as a practical alternative to existing numerical procedures to compute the cosine of a matrix, but rather as an analytical tool in perturbative treatments. This being said, it could also be the case that for certain matrices , , computing the cosine and sine is a trivial task, whereas the evaluation of and is much more involved from a numerical point of view. The idea is then similar to splitting methods in the integration of differential equations blanes16aci : use , , and to approximate and . In this situation, our procedure could be also competitive with other methods also from the numerical point of view.
5 Generalizations
Algorithm (17) can be applied of course to get other generalized trigonometric identities involving sums and products of the cosine and sine of . For the sake of illustration, we next collect the expansions of and up to obtained with our procedure. Specifically,
[TABLE]
and
[TABLE]
Notice that if and commute, then for all and the usual expressions
[TABLE]
are recovered.
In the trigonometric expansions obtained with algorithm (17) all the successive commutators appear to the right. This of course is due to the form of the Zassenhaus formula (8). There exists, however, an alternative, “left-oriented” expression of this formula, namely
[TABLE]
with different but related exponents casas12eco :
[TABLE]
It is then clear that, by using (24) a similar algorithm can be designed to get alternative expansions for and , this time with commutators appearing to the left. Also invariant expressions with respect to the interchange can be easily generated by just considering a symmetrized version of the previous expansions. Thus, for instance, from the first line in eq. (1) we also get
[TABLE]
and thus
[TABLE]
Acknowledgements.
This work has been partially supported by Universitat Jaume I trough the project P1-1B2015-16. The second author also acknowledges Ministerio de Economía y Competitividad (Spain) for financial support through projects MTM2013-46553-C3 and MTM2016-77660-P (AEI/FEDER, UE).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) Al-Mohy, A., Higham, N., Relton, S.: New algorithms for computinh the matrix sine and cosine separately or simultaneously. SIAM J. Sci. Comput. 37 , A 456–A 487 (2015)
- 2(2) Bayen, F.: On the convergence of the Zassenhaus formula. Lett. Math. Phys. 3 , 161–167 (1979)
- 3(3) Blanes, S., Casas, F.: A Concise Introduction to Geometric Numerical Integration. CRC Press (2016)
- 4(4) Bonfiglioli, A., Fulci, R.: Topics in Noncommutative Algebra. The Theorem of Campbell, Baker, Hausdorff and Dynkin, Lecture Notes in Mathematics , vol. 2034. Springer (2012)
- 5(5) Casas, F., Murua, A.: An efficient algorithm for computing the Baker–Campbell–Hausdorff series and some of its applications. J. Math. Phys. 50 , 033,513 (2009)
- 6(6) Casas, F., Murua, A., Nadinic, M.: Efficient computation of the Zassenhaus formula. Comput. Phys. Comm. 183 , 2386–2391 (2012)
- 7(7) Fréchet, M.: Les solutions non commutables de l’équation matricielle e X e Y = e X + Y superscript 𝑒 𝑋 superscript 𝑒 𝑌 superscript 𝑒 𝑋 𝑌 e^{X}e^{Y}=e^{X+Y} . Rend. Circ. Mat. Palermo 2 , 11–27 (1952)
- 8(8) Galindo, A., Pascual, P.: Quantum Mechanics. Springer (1990)
