 Research
 Open Access
 Published:
The Maslov index and the spectral flow—revisited
Fixed Point Theory and Applications volume 2019, Article number: 5 (2019)
Abstract
We give an elementary proof of a celebrated theorem of Cappell, Lee and Miller which relates the Maslov index of a pair of paths of Lagrangian subspaces to the spectral flow of an associated path of selfadjoint firstorder operators.
We particularly pay attention to the continuity of the latter path of operators, where we consider the gapmetric on the set of all closed operators on a Hilbert space. Finally, we obtain from Cappell, Lee and Miller’s theorem a spectral flow formula for linear Hamiltonian systems which generalises a recent result of Hu and Portaluri.
Introduction
Let \(\langle \cdot ,\cdot \rangle \) be the Euclidean scalar product on \(\mathbb{R}^{2n}\) and \(\omega _{0}(\cdot ,\cdot )=\langle J\cdot , \cdot \rangle \) the standard symplectic form, where
and \(I_{n}\) denotes the identity matrix. Let us recall that an ndimensional subspace \(L\subset \mathbb{R}^{2n}\) is called Lagrangian if the restriction of \(\omega _{0}\) to \(L\times L\) vanishes. The set \(\varLambda (n)\) of all Lagrangian subspaces in \(\mathbb{R}^{2n}\) is called the Lagrangian Grassmannian. It can be regarded as a submanifold of the Grassmannian \(G_{n}(\mathbb{R}^{2n})\) and so it has a canonical topology. In the following, we denote by I the unit interval \([0,1]\). The Maslov index \(\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})\) assigns to any pair of paths \(\gamma _{1}, \gamma _{2}:I\rightarrow \varLambda (n)\) an integer which, roughly speaking, is the total number of nontrivial intersections of the Lagrangian spaces \(\gamma _{1}(\lambda )\) and \(\gamma _{2}(\lambda )\) whilst the parameter λ travels along the interval I. There are several different approaches to the Maslov index and here we just want to mention [1, 4, 6, 8, 17] and [19], which is far from being exhaustive. Cappell, Lee and Miller introduced in [5] four different ways to define the Maslov index and showed that they are all equivalent. They first construct the Maslov index geometrically by using a stratification of \(\varLambda (n)\) and intersection theory from differential topology following [8]. Their approach also yields a uniqueness theorem for the Maslov index characterising this invariant uniquely by six axioms. The uniqueness theorem is then used to show that the Maslov index can alternatively be defined by determinant line bundles, ηinvariants and the spectral flow, respectively.
In this paper we focus on the latter invariant and aim to give a more elementary proof of the equality of the Maslov index and the spectral flow of a path of operators as introduced by Cappell, Lee and Miller in [5]. Let us first recall that the spectral flow is a homotopy invariant for paths of selfadjoint Fredholm operators that was invented by Atiyah, Patodi and Singer in [2], and since then has been used in various different settings (see e.g. [22, §5.2]). The spectrum of a selfadjoint Fredholm operator consists only of eigenvalues of finite multiplicity in a neighbourhood of \(0\in \mathbb{R}\) and, roughly speaking, the spectral flow of a path of such operators is the net number of eigenvalues crossing 0 whilst the parameter of the path travels along the interval.
Let us now consider for a pair of paths \((\gamma _{1},\gamma _{2})\) in \(\varLambda (n)\) the differential operators
where
By an elementary computation, \(\mathcal{A}_{\lambda }\) is symmetric, and it is also not difficult to see that it actually is a selfadjoint Fredholm operator. Note that the kernel of \(\mathcal{A}_{\lambda }\) is isomorphic to \(\gamma _{1}(\lambda )\cap \gamma _{2}(\lambda )\), which suggests that the spectral flow of the path \(\mathcal{A}=\{ \mathcal{A}_{\lambda }\}_{\lambda \in I}\) is related to the Maslov index of the pair \((\gamma _{1},\gamma _{2})\). As we already mentioned above, their equality is one of the main achievements of [5]. However, before we formulate this as a theorem, we want to highlight a further issue related to this problem.
Above, we have spoken about paths of differential operators and so tacitly assumed continuity. Note that the family (2) has the nonconstant domains (3) and so continuity is a nontrivial problem. There are different metrics on spaces of unbounded selfadjoint Fredholm operators on a Hilbert space H and we recommend [11] for an exhaustive discussion (see also [20]). A classical approach is to transform unbounded selfadjoint operators T by functional calculus to the bounded selfadjoint operators
and to use the operator norm on \(\mathcal{L}(H)\) for introducing a distance between unbounded operators. Actually, Atiyah, Patodi and Singer defined the spectral flow in [2] for bounded selfadjoint Fredholm operators and applied it to paths of differential operators by using (4). However, checking continuity along these lines is tedious, if possible at all (see e.g. [13]), and it seems that the continuity of families of unbounded operators has sometimes been ignored in the literature.
Every (generally unbounded) selfadjoint operator on a Hilbert space is closed, and there is a canonical metric on the set of all closed operators which is called the gapmetric (see §IV.2 in Kato’s monograph [10]). It was shown in [13] (see also [11, Prop. 2.2]) that every path of selfadjoint Fredholm operators that is mapped to a continuous path of bounded operators under (4) is also continuous with respect to the gapmetric. Finally, BoossBavnbek, Lesch and Phillips constructed in [3] the spectral flow for paths of selfadjoint Fredholm operators in this more general setting. The main result of this paper now reads as follows (see [5, Thm. 0.4]).
Theorem 1.1
If \((\gamma _{1},\gamma _{2})\) is a pair of paths in \(\varLambda (n)\), then the family of differential operators (2) is continuous with respect to the gapmetric and \(\operatorname {sf}(\mathcal{A})=\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})\).
Let us make a few comments on our proof. Firstly, we want to emphasise that we prove the gapcontinuity of the family (2) from first principles just by elementary estimates and standard facts about orthogonal projections that can all be found in the monograph [10]. Secondly, our proof of the spectral flow formula in Theorem 1.1 is surprisingly simple. We assume at first that
and show that the Maslov index can be characterised in this case by three axioms. This uniqueness theorem needs nothing else than the elementary properties of the Maslov index and the fact that the fundamental group of \(\varLambda (n)\) is infinitely cyclic, which was known already from Arnold’s classical paper [1]. Two of our axioms are trivially satisfied for the spectral flow of (2), and the remaining one only requires the computation of the spectra of two simple examples of differential operators as in (2). The general case when (5) is not assumed, can easily be obtained from the previous case by a simple conjugation by a path of invertible operators. After a brief recapitulation of the Maslov index in Sect. 2.1, and the gapmetric and spectral flow in Sect. 2.2, we explain all this in detail in Sect. 2.3 where we prove Theorem 1.1. Throughout the paper, we aim our presentation to be rather selfcontained, and we will just use some wellknown facts from Kato [10].
Finally, we review a recent spectral flow formula for linear Hamiltonian systems by Hu and Portaluri from [9], which they call a new index theory on bounded domains. Firstly, we note that the considered families of Hamiltonian systems are continuous with respect to the gapmetric, which follows easily from our approach to Cappell, Lee and Miller’s theorem. Secondly, we obtain a spectral flow formula in this setting by a conjugation from Cappell, Lee and Miller, and we explain that our result actually is a generalisation of Hu and Portaluri’s theorem.
Maslov index and spectral flow—a brief recap
The Maslov index
The aim of this section is to briefly recall the definition of the Maslov index, where we follow [16].
Let \(\operatorname {Sp}(2n,\mathbb{R})\) denote the group of symplectic matrices on \(\mathbb{R}^{2n}\), i.e., those \(A\in M(2n,\mathbb{R})\) satisfying \(A^{T}JA=J\) or, alternatively, which preserve \(\omega _{0}\). If we identify \(\mathbb{R}^{2n}\) with \(\mathbb{C}^{n}\) by \((x_{1},\ldots,x _{2n})\mapsto (x_{1},\ldots,x_{n})+i(x_{n+1},\ldots, x_{2n})\) then the standard hermitian scalar product on \(\mathbb{C}^{n}\) is
Hence each unitary matrix \(U\in U(n)\) preserves \(\omega _{0}\) and so we can regard \(U(n)\) as a subset of \(\operatorname {Sp}(2n,\mathbb{R})\). Also, the orthogonal matrices \(O(n)\) can be seen as a subgroup of \(U(n)\) by complexification. Then \(O(n)\) consists exactly of those \(A\in U(n)\) which leave \(\mathbb{R}^{n}\times \{0\}\) invariant.
Obviously, \(AL\in \varLambda (n)\) if \(L\in \varLambda (n)\) and \(A\in \operatorname {Sp}(2n, \mathbb{R})\), and it can be shown that the restriction of this action to \(U(n)\times \varLambda (n)\rightarrow \varLambda (n)\) is transitive. As the stabiliser subgroup of \(\mathbb{R}^{n}\times \{0\}\in \varLambda (n)\) is \(O(n)\), we see that there is a diffeomorphism
Let us now consider the map \(d:U(n)\rightarrow S^{1}\), \(d(A)=\det ^{2}(A)\), which descends to the quotient by
Note that
is a fibre bundle, and it is not difficult to see that \(\ker (d)/O(n) \simeq SU(n)/SO(n)\), where the latter space is simply connected. It follows from the long exact sequence of a fibre bundle that the induced map
is an isomorphism. Consequently, we obtain from (6) an isomorphism
which is the Maslov index for closed paths in \(\varLambda (n)\). Roughly speaking, given an arbitrary \(L_{0}\in \varLambda (n)\), the Maslov index counts the total number of intersections of a loop in \(\varLambda (n)\) with \(L_{0}\). This is independent of the particular choice of \(L_{0}\), which, however, is no longer the case if we extend the definition to nonclosed paths in \(\varLambda (n)\) as follows. We fix \(L_{0}\in \varLambda (n)\) and note at first that \(L_{0}\) yields a stratification
where
From the fact that \(\varLambda _{0}(L_{0})\) is contractible (see e.g. [16, Rem. 2.5.3]) and the long exact sequence of homology, we see that the inclusion induces an isomorphism
Also, as \(\pi _{1}(\varLambda (n))\) is abelian, \(H_{1}(\varLambda (n))\) is isomorphic to \(\pi _{1}(\varLambda (n))\) and so we obtain a sequence of isomorphisms
Finally, every path in \(\varLambda (n)\) having endpoints in \(\varLambda _{0}(L _{0})\) canonically yields an element in \(H_{1}(\varLambda (n),\varLambda _{0}(L_{0}))\). The Maslov index of the path is the integer obtained from the sequence of isomorphisms (7).
Let us note from the very definition the following three properties of the Maslov index:

(i)
If \(\gamma _{1}\), \(\gamma _{2}\) are homotopic by a homotopy having endpoints in \(\varLambda _{0}(L_{0})\), then
$$ \mu _{\mathrm{Mas}}(\gamma _{1},L_{0})=\mu _{\mathrm{Mas}}( \gamma _{2},L_{0}). $$ 
(ii)
If \(\gamma _{1}\), \(\gamma _{2}\) are such that \(\gamma _{1}(1)= \gamma _{2}(0)\), then
$$ \mu _{\mathrm{Mas}}(\gamma _{1}\ast \gamma _{2},L_{0})= \mu _{\mathrm{Mas}}(\gamma _{1},L_{0})+ \mu _{\mathrm{Mas}}( \gamma _{2},L_{0}). $$ 
(iii)
If \(\gamma (\lambda )\in \varLambda _{0}(L_{0})\) for all \(\lambda \in I\), then \(\mu _{\mathrm{Mas}}(\gamma ,L_{0})=0\).
Let us point out that (iii) also follows from (i) and (ii) independently of the construction.
The Maslov index can easily be generalised to a pair of paths in \(\varLambda (n)\). To this aim let us call a pair of paths \((\gamma _{1}, \gamma _{2})\) admissible if
In the following we consider \(\mathbb{R}^{2n}\times \mathbb{R}^{2n}\) as a symplectic space with respect to the symplectic form \((\omega _{0}) \times \omega _{0}\). Note that the diagonal Δ is in \(\varLambda (2n)\), as well as \(L_{1}\times L_{2}\) for any \(L_{1},L_{2} \in \varLambda (n)\). Moreover, \(L_{1}\cap L_{2}\neq \{0\}\) if and only if \((L_{1}\times L_{2})\cap \Delta \neq \{0\}\). Hence it is natural to define the Maslov index for a pair \((\gamma _{1},\gamma _{2})\) of admissible paths in \(\varLambda (n)\) as
Note that the basic properties which we previously mentioned carry over immediately, i.e.,
 (i′):

\(\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=0\) if \(\gamma _{1}( \lambda )\cap \gamma _{2}(\lambda )=\{0\}\) for all \(\lambda \in I\).
 (ii′):

\(\mu _{\mathrm{Mas}}(\gamma _{1}\ast \gamma _{3},\gamma _{2}\ast \gamma _{4})=\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})+\mu _{\mathrm{Mas}}(\gamma _{3}, \gamma _{4})\) if \(\gamma _{1}(1)=\gamma _{3}(0)\) and \(\gamma _{2}(1)= \gamma _{4}(0)\).
 (iii′):

\(\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=\mu _{\mathrm{Mas}}(\gamma _{3}, \gamma _{4})\) if \(\gamma _{1}\simeq \gamma _{3}\) and \(\gamma _{2}\simeq \gamma _{4}\) are homotopic by a homotopy through admissible pairs.
 (iv′):

\(\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=\mu _{\mathrm{Mas}}(\gamma _{1},L _{0})\) in the case that \(\gamma _{2}(\lambda )=L_{0}\) for some \(L_{0}\in \varLambda (n)\) and all \(\lambda \in I\),
 (v′):

\(\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=\mu _{\mathrm{Mas}}(\gamma _{2}, \gamma _{1})\) for any admissible pair \((\gamma _{1},\gamma _{2})\).
where Θ is such that \(\gamma _{1}(0)\cap e^{\varTheta ' J}\gamma _{2}(0)=\gamma _{1}(1)\cap e^{\varTheta ' J}\gamma _{2}(1)=\{0\}\) for all \(0<\vert \varTheta '\vert \leq \varTheta \). By the homotopy invariance, it is clear that this definition does not depend on the choice of Θ. Also, it coincides with the previous definition in the case that the pair of paths is admissible.
The final aim of this section is to compute the Maslov index for two elementary paths that will also become important in our proof of Theorem 1.1 below. The examples also show that (7) is very convenient to obtain paths in \(\varLambda (n)\) with a given Maslov index.
Let us first consider the path \([0,1]\ni \lambda \mapsto A(\lambda )=\operatorname {diag}(e ^{i\pi \lambda },1,\ldots,1)\in U(n)\) and its projection \(\overline{A}(\lambda ):=A(\lambda )\cdot O(n)\) to the quotient \(U(n)/O(n)\). Note that \(A(0)\operatorname {diag}(1,1,\ldots,1)=A(1)\) and so A̅ is a closed curve. Also, as \(\det ^{2}(A(\lambda ))=e ^{2\pi i\lambda }\), we see that the Maslov index of the corresponding path in \(\varLambda (n)\) is 1. Using the identification \(\mathbb{C} ^{n}\cong \mathbb{R}^{2n}\), it is readily seen that
Hence we have found a path \(\gamma _{\mathrm{nor}}\) such that \(\gamma _{\mathrm{nor}}(0)= \gamma _{\mathrm{nor}}(1)=\mathbb{R}^{n}\times \{0\}\) and \(\mu _{\mathrm{Mas}}(\gamma _{\mathrm{nor}})=1\).
Let us now consider \([0,1]\ni \lambda \mapsto B(\lambda )=\operatorname {diag}(ie ^{ i\pi \lambda },i,\ldots,i)\in U(n)\) and note that again the projection B̅ to \(U(n)/O(n)\) is a closed path and \(\det ^{2}(B(\lambda ))=(1)^{n}e^{2\pi i\lambda }\). Hence
is such that \(\gamma '_{\mathrm{nor}}(0)=\gamma '_{\mathrm{nor}}(1)=\{0\}\times \mathbb{R}^{n}\) and \(\mu _{\mathrm{Mas}}(\gamma '_{\mathrm{nor}})=1\).
The gapmetric and the spectral flow
Our first aim of this section is to recall the definition of the gapmetric, where we follow Kato’s monograph [10].
Let H be a real Hilbert space and let \(G(H)\) denote the set of all closed subspaces of H. For every \(U\in G(H)\) there is a unique orthogonal projection \(P_{U}\) onto U which is a bounded operator on H. We set
and note that this is obviously a metric on \(G(H)\). The distance between two nontrivial subspaces \(U,V\in G(H)\) can also be obtained as follows. Let \(S_{U}\) denote the unit sphere in U and \(d(u,V)=\inf_{v\in V} {\Vert uv\Vert }\). Then, for \(\delta (U,V)=\sup_{u\in S_{U}} d(u,V)\),
which explains why \(d_{G}(U,V)\) is called the gap between U and V.
We now consider operators \(T:\mathcal{D}(T)\subset H\rightarrow H\), which we assume to be defined on a dense domain \(\mathcal{D}(T)\). Let us recall that T is called closed if its graph \(\operatorname {graph}(T)\) is closed in \(H\times H\). If we denote by \(\mathcal{C}(H)\) the set of all closed operators, then the gapmetric on \(H\times H\) induces a metric on \(\mathcal{C}(H)\) by
As the adjoint of a densely defined operator is closed, every selfadjoint operator on H belongs to the metric space \(\mathcal{C}(H)\). Moreover, let us recall that a closed operator T is called Fredholm if its kernel and cokernel are of finite dimension. In the following, we denote the subset of \(\mathcal{C}(H)\) consisting of all T which are selfadjoint and Fredholm by \(\mathcal{CF}^{\mathrm{sa}}(H)\). It is well known that the spectrum \(\sigma (T)\) of every selfadjoint operator is real. Moreover, if \(T\in \mathcal{CF}^{\mathrm{sa}}(H)\) then 0 is either in the resolvent set or an isolated eigenvalue of finite multiplicity (see e.g. [22, Lemma 2.2.5]).
It was shown in [3] that for every \(T\in \mathcal{CF}^{\mathrm{sa}}(H)\) there is \(\varepsilon >0\) and a neighbourhood \(\mathcal{N}_{T,\varepsilon }\subset \mathcal{CF}^{ \mathrm{sa}}(H)\) of T such that \(\pm \varepsilon \notin \sigma (S)\) and the spectral projection \(\chi _{[\varepsilon ,\varepsilon ]}(S)\) is of finite rank for all \(S\in \mathcal{N}_{T,\varepsilon }\). Let us now consider a path \(\mathcal{A}=\{\mathcal{A}_{\lambda }\}_{\lambda \in I}\) in \(\mathcal{CF}^{\mathrm{sa}}(H)\). There are \(0=\lambda _{0}< \lambda _{1}<\cdots <\lambda _{N}=1\) such that the restriction of the path \(\mathcal{A}\) to \([\lambda _{i1},\lambda _{i}]\) is entirely contained in a neighbourhood \(\mathcal{N}_{T_{i},\varepsilon _{i}}\) as above for some \(T_{i}\in \mathcal{CF}^{\mathrm{sa}}(H)\) and some \(\varepsilon _{i}>0\). The spectral flow of the path \(\mathcal{A}\) is defined as
It follows by an argument of Phillips [15] that \(\operatorname {sf}(\mathcal{A})\) only depends on the path \(\mathcal{A}\), and that the following fundamental property holds (see also [3]).

(i)
Let \(h:I\times I\rightarrow \mathcal{CF}^{\mathrm{sa}}(H)\) be a homotopy such that the dimensions of the kernels of \(h(s,0)\) and \(h(s,1)\) are constant for all \(s\in I\). Then
$$ \operatorname {sf}\bigl(h(0,\cdot ) \bigr)=\operatorname {sf}\bigl(h(1,\cdot ) \bigr). $$
Moreover, it is easily seen from the definition of the spectral flow that

(ii)
if the dimension of the kernel of \(\mathcal{A}_{\lambda }\) is constant for all \(\lambda \in I\), then \(\operatorname {sf}(\mathcal{A})=0\);

(iii)
if \(\mathcal{A}^{1}\) and \(\mathcal{A}^{2}\) are two paths in \(\mathcal{CF}^{\mathrm{sa}}(H)\) such that \(\mathcal{A}^{1}_{1}= \mathcal{A}^{2}_{0}\), then
$$ \operatorname {sf}\bigl(\mathcal{A}^{1}\ast \mathcal{A}^{2} \bigr)=\operatorname {sf}\bigl(\mathcal{A}^{1} \bigr)+\operatorname {sf}\bigl( \mathcal{A}^{2} \bigr). $$
Let us finally note two further elementary properties of the spectral flow which play a crucial role in our proof of Theorem 1.1 below. The first of them has been used, e.g., in [14, §7].
Lemma 2.1
Let \(\mathcal{A}:I\rightarrow \mathcal{CF}^{\mathrm{sa}}(H)\) be gapcontinuous and set \(\mathcal{A}^{\delta }=\mathcal{A}+\delta I _{H}\) for \(\delta \in \mathbb{R}\). Then, for any sufficiently small \(\delta >0\), \(\mathcal{A}^{\delta }\) is a gapcontinuous path in \(\mathcal{CF}^{\mathrm{sa}}(H)\) and
Proof
We note at first that the operators \(\mathcal{A}^{\delta }_{\lambda }\) are selfadjoint and Fredholm for δ sufficiently small, which follows from standard stability theory (see e.g. [10]). Moreover, the path \(\mathcal{A}^{\delta }\) is gapcontinuous by [10, Thm. IV.2.17], and so \(\operatorname {sf}(\mathcal{A}^{\delta })\) is well defined.
To show (10), let \(0=\lambda _{0}<\cdots <\lambda _{N}=1\) be a partition of the unit interval and \(\varepsilon _{i}>0\), \(i=1,\ldots,N\), for \(\mathcal{A}\) as in (9). Let \(\mathcal{N}_{T, \varepsilon _{i}}\) be an open neighbourhood of some \(T\in \mathcal{CF} ^{\mathrm{sa}}(H)\) as in the construction of the spectral flow such that \(\mathcal{A}_{\lambda }\in \mathcal{N}_{T,\varepsilon _{i}}\) for all \(\lambda \in [\lambda _{i1},\lambda _{i}]\). Now there is \(\delta _{i}>0\) such that \(\mathcal{A}^{s\delta _{i}}_{\lambda }\in \mathcal{N}_{T, \varepsilon _{i}}\) for all \(s\in [0,1]\) and all \(\lambda \in [\lambda _{i1},\lambda _{i}]\), i.e. the spectral projections \(\chi _{[\varepsilon _{i},\varepsilon _{i}]}(\mathcal{A}^{s\delta _{i}} _{\lambda })\) are of the same finite rank. Moreover, by choosing \(\delta _{i}>0\) smaller, we can assume that
Then, as \(\sigma (\mathcal{A}^{\delta _{i}}_{\lambda })=\sigma ( \mathcal{A}_{\lambda })+\delta _{i}\), we see that
If we now set \(\delta =\min \{\delta _{1},\ldots,\delta _{N}\}>0\), then
holds simultaneously for this δ and all \(i=1,\ldots,N\), and so the assertion follows from the definition (9). □
Finally, let us note the following stability of the spectral flow under conjugation by invertible operators, where we denote by \(M^{T}\) the adjoint of an operator in the real Hilbert space H.
Lemma 2.2
Let \(\mathcal{A}:I\rightarrow \mathcal{CF}^{\mathrm{sa}}(H)\) be a gapcontinuous path and \(M:I\rightarrow \operatorname{GL}(H)\) a continuous family of bounded invertible operators. Then \(\{M^{T}_{\lambda }\mathcal{A}_{ \lambda }M_{\lambda }\}_{\lambda \in I}\) is gapcontinuous and \(\operatorname {sf}(M^{T}\mathcal{A}M)=\operatorname {sf}(\mathcal{A})\).
Proof
Note that
and so \(\{N_{\lambda }P_{\operatorname {graph}(\mathcal{A}_{\lambda })}N^{1}_{\lambda }\}_{\lambda \in I}\) is a continuous family of oblique projections onto \(\{\operatorname {graph}(M^{T}_{\lambda } \mathcal{A}_{\lambda }M_{\lambda })\}_{ \lambda \in I}\) in \(\mathcal{L}(H\times H)\). By [10, Thm. I.6.35], we have for the corresponding orthogonal projections \(P_{\operatorname {graph}(M^{T}_{\lambda }\mathcal{A}_{\lambda }M_{\lambda })}\) onto \(\operatorname {graph}(M^{T}_{\lambda }\mathcal{A}_{\lambda }M_{\lambda })\) the inequality
for all \(\mu ,\lambda \in I\). Consequently, \(\{P_{\operatorname {graph}(M^{T}_{\lambda }\mathcal{A}_{\lambda }M_{\lambda })}\}_{\lambda \in I}\) is continuous, which shows that \(M^{T}\mathcal{A}M\) is gapcontinuous.
For the equality of the spectral flows, we just need to note that M is homotopic inside \(\operatorname{GL}(H)\) to the constant path given by the identity \(I_{H}\). Let us point out that this does not even require Kuiper’s theorem as we just need to shrink M to a constant path and use the fact that \(\operatorname{GL}(H)\) is connected. As the conjugation preserves kernel dimensions, we obtain by the homotopy invariance (i) from above
□
Proof of Theorem 1.1
The proof of Theorem 1.1 falls naturally into two parts. In the first part we deal with the continuity of families of the type (2), where we actually consider a slightly more general setting. In the second part we show the spectral flow formula in Theorem 1.1.
Continuity
To simplify notation, we set \(E=L^{2}(I,\mathbb{R}^{2n})\) and \(H=H^{1}(I,\mathbb{R}^{2n})\). The aim of this step is to prove the following proposition, which we will later apply in the cases \(X=I\) and \(X=I\times I\).
Proposition 2.3
Let X be a metric space and \(\gamma _{1},\gamma _{2}:X\rightarrow \varLambda (n)\) two families of Lagrangian subspaces in \(\mathbb{R}^{2n}\). Then
where \(\mathcal{D}(\mathcal{A}_{\lambda })=\{u\in H: u(0)\in \gamma _{1}(\lambda ), u(1)\in \gamma _{2}(\lambda )\}\), is continuous with respect to the gapmetric on \(\mathcal{CF}^{\mathrm{sa}}(E)\).
We want to use (8) and consider \(\delta (\operatorname {graph}(\mathcal{A} _{\lambda }),\operatorname {graph}(\mathcal{A}_{\lambda _{0}}))\). Note at first that for \(u\in \mathcal{D}(\mathcal{A}_{\lambda })\) and \(v\in \mathcal{D}( \mathcal{A}_{\lambda _{0}})\)
where we have used that \(\Vert J\Vert =1\). Let us recall that the topology of \(G_{n}(\mathbb{R}^{2n})\) is induced by the metric \(d(L,M)=\Vert P_{L}P _{M}\Vert \), where \(P_{L}, P_{M}\in M(2n,\mathbb{R})\) are the orthogonal projections onto L and M, respectively. Hence, by the continuity of \(\gamma _{1}\) and \(\gamma _{2}\), there are two families of orthogonal projections \(\hat{P},\tilde{P}:X\rightarrow M(2n,\mathbb{R})\) such that
We define for \(w\in H\),
It is easily seen that \(P^{2}_{\lambda }w=P_{\lambda }w\), as well as \(P_{\lambda }w\in \mathcal{D}(\mathcal{A}_{\lambda })\) for all \(w\in H\) and \(\lambda \in X\), which shows that
As
it follows for \(u\in \mathcal{D}(\mathcal{A}_{\lambda })\) that
where we have used that \(u\in \mathcal{D}(\mathcal{A}_{\lambda })\) and so \(\hat{P}_{\lambda }u(0)=u(0)\) and \(\tilde{P}_{\lambda }u(1)=u(1)\). Let us note that the factor 2 appears in the previous estimate as we are dealing with the norm on H and so we also need to take into account the derivatives of \(uP_{\lambda _{0}}u\) with respect to t.
Since the point evaluation is continuous in H, there is a constant \(\alpha >0\) such that for \(t=0\) and \(t=1\)
where we use the fact that J is an isometry on \(\mathbb{R}^{2n}\). Hence, by (11)–(14),
As the unit sphere in \(\operatorname {graph}(\mathcal{A}_{\lambda })\) is given by
we finally get
Note that if we swap λ and \(\lambda _{0}\) and repeat the above argument, we also have
To finish the proof, we need the following wellknown theorem, which can be found, e.g., in [10, I.6.34].
Theorem 2.4
Let E be a Hilbert space and P, Q orthogonal projections in E. If
then
Now, as \((I_{2n}\hat{P}_{\lambda })\hat{P}_{\lambda _{0}}=(I_{2n} \hat{P}_{\lambda _{0}})\hat{P}_{\lambda }=0\) for \(\lambda =\lambda _{0}\), we have for all λ in a neighbourhood of \(\lambda _{0}\)
and likewise
Consequently, we obtain from (8), (15) and (16) for all λ sufficiently close to \(\lambda _{0}\)
which shows that \(\mathcal{A}=\{\mathcal{A}_{\lambda }\}_{\lambda \in X}\) is indeed continuous in \(\mathcal{CF}(E)\). Hence Proposition 2.3 is shown.
The spectral flow formula
We now prove the spectral flow formula in Theorem 1.1 in two steps.
Step 1: Theorem 1.1 for admissible paths
We begin this first step of our proof with the following elementary observation.
Lemma 2.5
The set of all transversal pairs in \(\varLambda (n)\), i.e.
is pathconnected.
Proof
Let us first recall the wellknown fact that \(\varLambda _{0}(L_{0})\) is contractible, and hence pathconnected, for any \(L_{0}\in \varLambda (n)\) (see [16, Rem. 2.5.3]). Now let \((L_{1},L_{2})\) and \((L_{3},L_{4})\) be two transversal pairs. As in the construction of the Maslov index in Sect. 2.1, \(L'_{1}=e^{\varTheta J}L_{1}\) is transversal to \(L_{2}\) and \(L_{4}\) for any sufficiently small \(\varTheta >0\). In particular, we obtain a path connecting \((L_{1},L_{2})\) and \((L'_{1},L_{2})\) inside (17). Also, as \(\varLambda _{0}(L'_{1})\) is pathconnected, there is a path connecting \((L'_{1},L_{2})\) and \((L'_{1},L_{4})\) inside (17). Finally, there is a path from \((L'_{1},L_{4})\) to \((L_{3},L_{4})\) inside (17) as \(\varLambda _{0}(L_{4})\) is pathconnected. □
This step of the proof is based on the following proposition, in which we denote by \(\varOmega ^{2}\) the set of all admissible pairs of paths in \(\varLambda (n)\) (see (5)). Let us note that by (v′) in Sect. 2.1, \(\mu _{\mathrm{Mas}}(\gamma _{\mathrm{nor}},L_{1})=1\) and \(\mu _{\mathrm{Mas}}(L_{0},\gamma '_{\mathrm{nor}})=1\), where \(L_{0}=\mathbb{R}^{n} \times \{0\}\), \(L_{1}=\{0\}\times \mathbb{R}^{n}\) and \(\gamma _{\mathrm{nor}}\), \(\gamma '_{\mathrm{nor}}\) are the paths that we introduced at the end of Sect. 2.1.
Proposition 2.6
Let \(\mu :\varOmega ^{2}\rightarrow \mathbb{Z}\) be a map such that the same properties (i′)–(iii′) from Sect. 2.1 are satisfied, as well as

(N)
\(\mu (\gamma _{\mathrm{nor}},L_{1})=1\) and \(\mu (L_{0},\gamma '_{\mathrm{nor}})=1\), where \(L_{0}=\mathbb{R}^{n}\times \{0 \}\) and \(L_{1}=\{0\}\times \mathbb{R}^{n}\).
Then \(\mu =\mu _{\mathrm{Mas}}\) on \(\varOmega ^{2}\).
Proof
We note at first that we have by the properties (ii′) and (iii′) homomorphisms
and we now claim that they coincide.
We first note that
where the first isomorphism is induced by the projections onto the components and the second one is given by the Maslov index. As \(\gamma _{\mathrm{nor}}(0)=L_{0}\), \(\gamma '_{\mathrm{nor}}(0)=L_{1}\) and \(\mu _{\mathrm{Mas}}( \gamma _{\mathrm{nor}})=\mu _{\mathrm{Mas}}(\gamma '_{\mathrm{nor}})=1\), we see that the pairs of paths \(\{(\gamma _{\mathrm{nor}},L_{1}), (L_{0},\gamma '_{\mathrm{nor}})\}\) define a basis of \(\pi _{1}(\varLambda (n)\times \varLambda (n),(L_{0},L_{1}))\). Since the homomorphisms in (18) coincide on this basis by (N), it follows that μ and \(\mu _{\mathrm{Mas}}\) are indeed equal for closed paths based at \((L_{0},L_{1})\).
Let us now assume that \((\gamma _{1},\gamma _{2})\in \varOmega ^{2}\) is an arbitrary admissible pair of paths. We connect \((L_{0},L_{1})\) to \((\gamma _{1}(0),\gamma _{2}(0))\) by a pair of paths \((\gamma _{3},\gamma _{4})\) and \((\gamma _{1}(1),\gamma _{2}(1))\) to \((L_{0},L_{1})\) by a pair of paths \((\gamma _{5},\gamma _{6})\), where we can assume by Lemma 2.5 that \(\gamma _{3}(\lambda )\cap \gamma _{4}( \lambda )=\gamma _{5}(\lambda )\cap \gamma _{6}(\lambda )=\{0\}\) for all λ. Then by (i′), (ii′) and the first step of our proof
which proves the proposition. □
Remark 2.7
Let \((\gamma _{1},\gamma _{2})\) be a pair of paths in \(\varLambda (n)\) as in (i′), i.e. \(\gamma _{1}(\lambda )\cap \gamma _{2}(\lambda )=\{0\}\) for all \(\lambda \in I\). Then \((\gamma _{1},\gamma _{2})\) is homotopic to the constant pair of paths \((\widetilde{\gamma }_{1}(\lambda ), \widetilde{\gamma }_{2}(\lambda ))=(\gamma _{1}(0),\gamma _{2}(0))\), \(\lambda \in I\), by a homotopy of admissible pairs. Hence \(\mu (\gamma _{1},\gamma _{2})=\mu (\widetilde{\gamma }_{1},\widetilde{\gamma }_{2})\) by (iii′). As
by (ii′), we see that \(\mu (\gamma _{1},\gamma _{2})=\mu ( \widetilde{\gamma }_{1},\widetilde{\gamma }_{2})=0\) and so (i′) follows from (ii′) and (iii′). Consequently, Proposition 2.6 actually characterises the Maslov index by the three axioms (ii′), (iii′) and (N).
We now define \(\mu :\varOmega ^{2}\rightarrow \mathbb{Z}\), \(\mu (\gamma _{1},\gamma _{2})=\operatorname {sf}(\mathcal{A})\), where \(\mathcal{A}\) is the path of differential operators (2) for the pair \((\gamma _{1}, \gamma _{2})\). We aim to use Proposition 2.6 to show Theorem 1.1 and so we need to check the properties (i′), (ii′), (iii′) and (N). Let us first note that (i′) follows immediately from (ii) in Sect. 2.2 and the fact that \(\ker ( \mathcal{A}_{\lambda })=\gamma _{1}(\lambda )\cap \gamma _{2}(\lambda )\). Also, (ii′) follows from (iii) in Sect. 2.2. Finally, (ii′) is an immediate consequence of the homotopy invariance (i) of the spectral flow and Proposition 2.3.
Hence it remains to show that \(\mu (\gamma _{\mathrm{nor}},L_{1})=1\) and \(\mu (L_{0},\gamma '_{\mathrm{nor}})=1\), which will be a direct consequence of the following lemma.
Lemma 2.8
The spectra of the operators \(\mathcal{A}_{\lambda }\) in (2) are

(i)
for \((\gamma _{1},\gamma _{2})=(\gamma _{\mathrm{nor}},L_{1})\)
$$ \sigma (\mathcal{A}_{\lambda }) = \biggl\{ \pi \lambda \frac{\pi }{2}+ \pi k: k\in \mathbb{Z} \biggr\} \cup \biggl\{ \frac{\pi }{2}+k\pi : k \in \mathbb{Z} \biggr\} , $$ 
(ii)
for \((\gamma _{1},\gamma _{2})=(L_{0},\gamma '_{\mathrm{nor}})\)
$$ \sigma (\mathcal{A}_{\lambda }) = \biggl\{ \pi \lambda +\frac{\pi }{2}+ \pi k: k\in \mathbb{Z} \biggr\} \cup \biggl\{ \frac{\pi }{2}+k\pi : k \in \mathbb{Z} \biggr\} . $$
Proof
We consider \(Ju'=\mu u\) and note that the solutions of this equation are
Let us first consider the path in (i). Then u belongs to the domain of \(\mathcal{A}_{\lambda }\) if and only if
As \(\exp (\mu J)v\in L_{1}\) if and only if \(v\in \exp (\mu J)L_{1}\), and \(\exp (\mu J)=\cos (\mu )I_{2n}+\sin (\mu )J\), we see that (19) is equivalent to
There are two different cases where these spaces intersect nontrivially. Firstly, if \(\cos (\mu )=0\), i.e. \(\mu =\frac{\pi }{2}+k \pi \) for \(k\in \mathbb{Z}\). Secondly, if there is an \(\alpha \neq 0\) such that \(\sin (\pi \lambda )e_{n+1}=\alpha \cos (\mu )e_{n+1}\) and \(\cos (\pi \lambda )e_{1}=\alpha \sin (\mu )e_{1}\), where we use the fact that \(Je_{n+1}=e_{1}\). Of course, the latter equations are equivalent to \(\sin (\pi \lambda )=\alpha \cos (\mu )\) and \(\cos ( \pi \lambda )=\alpha \sin (\mu )\), which can be rewritten as
Hence \(\vert \alpha \vert =1\), and this equation holds if and only if \(\pi \lambda =\mu +\frac{\pi }{2}+k\pi \), or equivalently \(\mu = \pi \lambda \frac{\pi }{2}k\pi \).
In (ii), u belongs to the domain of \(\mathcal{A}_{\lambda }\) if and only if
which is equivalent to
Again, there are two cases in which this intersection is nontrivial. Firstly, \(\mu =k\pi +\frac{\pi }{2}\) where \(\cos (\mu )=0\). Secondly, if there is some \(\alpha \neq 0\) such that \(\alpha \cos (\mu )e_{1}= \sin (\pi \lambda )e_{1}\) and \(\alpha \sin (\mu )e_{n+1}=\cos (\pi \lambda )e_{n+1}\), which is equivalent to
Hence \(\vert \alpha \vert =1\), and the latter equation holds if and only if \(\pi \lambda =\frac{\pi }{2}\mu +k\pi \) which finally shows that \(\mu =\pi \lambda +\frac{\pi }{2}+k\pi \). □
We see from the previous lemma that in both cases there is only one eigenvalue of \(\mathcal{A}_{\lambda }\) that crosses the axis whilst the parameter λ travels from 0 to 1. It is now an immediate consequence of the definition of the spectral flow that \(\operatorname {sf}( \mathcal{A})=1\) for \((\gamma _{1},\gamma _{2})=(\gamma _{\mathrm{nor}},L_{1})\) and \(\operatorname {sf}(\mathcal{A})=1\) for \((\gamma _{1},\gamma _{2})=(L_{0},\gamma '_{\mathrm{nor}})\). Hence Theorem 1.1 is shown in the admissible case.
Step 2: the general case
Let \((\gamma _{1},\gamma _{2})\) be a pair of paths in \(\varLambda (n)\) which is not necessarily admissible, and let \(\mathcal{A}\) be the path (2). Let \(\delta >0\) be as in Lemma 2.1 such that \(\operatorname {sf}(\mathcal{A})=\operatorname {sf}( \mathcal{A}^{\delta _{0}})\) for all \(0\leq \delta _{0}\leq \delta \).
We consider the solution \(\varPsi :I\rightarrow \operatorname {Sp}(2n,\mathbb{R})\) of the differential equation
and the operator \(M\in \operatorname{GL}(L^{2}(I,\mathbb{R}^{2n}))\) given by \((Mu)(t)=\varPsi (t)u(t)\), \(t\in I\). Then, as \(\mathcal{D}(\mathcal{A} ^{\delta _{0}}_{\lambda })=\mathcal{D}(\mathcal{A}_{\lambda })\), \(M^{T}\mathcal{A}^{\delta _{0}}_{\lambda }M\) is defined on the domain
and given by
As \(\varPsi (t)=\exp (\delta _{0} Jt)\), \(t\in I\), we see that \(\varPsi (1)^{1}= \exp (\delta _{0} J)\). Finally, if \(\delta _{0}>0\) is sufficiently small, we obtain by Step 1, Proposition 2.3 and the definition of the Maslov index for nonadmissible paths in Sect. 2.1,
which proves Theorem 1.1 in the general case.
A spectral flow formula for Hamiltonian systems
Let \(\gamma _{1},\gamma _{2}:I\rightarrow \varLambda (n)\) be two paths of Lagrangian subspaces in \(\mathbb{R}^{2n}\). We note for later reference the following two standard properties of the Maslov index (see e.g. [17])
 (vi′):

If \(\varPsi :I\rightarrow \operatorname {Sp}(2n,\mathbb{R})\) is a path of symplectic matrices, then
$$\begin{aligned} \mu _{\mathrm{Mas}}(\varPsi \gamma _{1},\varPsi \gamma _{2})=\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2}). \end{aligned}$$(20)  (vii′):

If \(\gamma '_{1},\gamma '_{2}:I\rightarrow \varLambda (n)\) denote the reverse paths defined by \(\gamma '_{1}(\lambda )=\gamma _{1}(1\lambda )\) and \(\gamma '_{2}(\lambda )=\gamma _{2}(1\lambda )\), then
$$\begin{aligned} \mu _{\mathrm{Mas}} \bigl(\gamma '_{1}, \gamma '_{2} \bigr)=\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2}). \end{aligned}$$(21)
 (viii′):

\(\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=\mu _{\mathrm{Mas}}(\gamma _{3}, \gamma _{4})\) if \(\gamma _{1}\simeq \gamma _{3}\) and \(\gamma _{2}\simeq \gamma _{4}\) are homotopic by homotopies with fixed endpoints.
as well as the differential operators \(\mathcal{A}_{\lambda }: \mathcal{D}(\mathcal{A}_{\lambda })\subset L^{2}(I,\mathbb{R}^{2n}) \rightarrow L^{2}(I,\mathbb{R}^{2n})\),
on the domains \(\mathcal{D}(\mathcal{A}_{\lambda })=\{u\in H^{1}(I, \mathbb{R}^{2n}): u(0)\in \gamma _{1}(\lambda ), u(1)\in \gamma _{2}(\lambda )\}\).
We denote for \(\lambda \in I\) by \(\varPsi _{\lambda }:I\rightarrow \operatorname {Sp}(2n, \mathbb{R})\) the matrices defined by
and we set \((\varPsi \gamma _{1})(\lambda )=\varPsi _{\lambda }(1) \gamma _{1}( \lambda )\). The aim of this final section is to obtain the following spectral flow formula from Theorem 1.1.
Theorem 3.1
Under the assumptions above, \(\mathcal{A}\) is a gapcontinuous path of selfadjoint Fredholm operators on \(L^{2}(I,\mathbb{R}^{2n})\) and \(\operatorname {sf}(\mathcal{A})=\mu _{\mathrm{Mas}}(\varPsi \gamma _{1},\gamma _{2})\).
Proof
We define a continuous family of bounded invertible operators on \(L^{2}(I,\mathbb{R}^{2n})\) by \((M_{\lambda }u)(t)=\varPsi _{\lambda }(t) u(t)\), \(t\in I\). Then
and
By Theorem 1.1, \(M^{T}\mathcal{A}M\) is gapcontinuous, and it follows from Lemma 2.2 that \(\mathcal{A}\) is gapcontinuous as well. Moreover, we obtain from Theorem 1.1 and (20) that
□
Note that we obtain from Ψ and \(\gamma _{1}\) further pairs of paths in \(\varLambda (n)\) by
The following corollary is an easy reformulation of the previous theorem.
Corollary 3.2
Under the previous assumptions,
Proof
We consider the family \(\varGamma :I\times I\rightarrow \varLambda (n) \times \varLambda (n)\) defined by \(\varGamma (\lambda ,t)=(\varPsi _{\lambda }(t) \gamma _{1}(\lambda ), \gamma _{2}(\lambda ))\). We set
As \(I\times I\) is contractible, \(\eta _{1}\ast \eta _{2}\ast \eta _{3} \ast \eta _{4}\) is homotopic to a constant path by a homotopy with fixed endpoints. Hence the Maslov index of \(\eta _{1}\ast \eta _{2}\ast \eta _{3}\ast \eta _{4}\) vanishes by (viii′).
As \(\mu _{\mathrm{Mas}}(\eta _{4})=\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})\), \(\mu _{\mathrm{Mas}}(\eta _{3})=\mu _{\mathrm{Mas}}(\varPsi _{1}(\cdot )\gamma _{1}(1),\gamma _{2}(1))\) and \(\varPsi _{\lambda }(0)=I_{2n}\) for all \(\lambda \in I\), it follows that
The corollary is now an immediate consequence of the previous theorem. □
Note that if \(S_{0}(t)=S_{1}(t)\) for all \(t\in I\), then \(\varPsi _{0}(t)= \varPsi _{1}(t)\), \(t\in I\). If, moreover, \(\gamma _{1}(0)=\gamma _{1}(1)\) and \(\gamma _{2}(0)=\gamma _{2}(1)\), then we obtain from the previous corollary that
Consequently, under these assumptions the paths (23) and (2) have the same spectral flow and so the spectral flow of (23) does not depend on the family of matrices S. Note that each \(S_{\lambda }\) is \(\mathcal{A}_{\lambda }\)compact, i.e. \(S_{\lambda }:\mathcal{D}(\mathcal{A}_{\lambda })\rightarrow L ^{2}(I,\mathbb{R}^{2n})\) is compact with respect to the graph norm of \(\mathcal{A}_{\lambda }\) on \(\mathcal{D}(\mathcal{A}_{\lambda })\). Let us point out that, for closed paths of bounded selfadjoint Fredholm operators, the spectral flow is invariant under perturbations by compact selfadjoint operators (see [7, Prop. 3.8]).
Let us now consider again the general setting of Corollary 3.2, let \(\alpha , \beta :[0,1]\rightarrow [0,1]\) be two continuous functions such that
Our final result generalises Theorem 2 of [9], where the following spectral flow formula was shown for a particular class of functions α, β that satisfy (25).
Corollary 3.3
Under the assumptions of Corollary 3.2,
Proof
We define maps \(h_{1},h_{2}:I\times I\rightarrow I\) by
and consider for \(i=1,2\) the homotopies
As \(\alpha (0)=\beta (0)\), we see that \(h_{1}(s,0)=h_{2}(s,0)\) and so
is independent of s, where we have used (vi′). Moreover, since \(\alpha (1)=0\), \(\beta (1)=1\), and \(\varPsi _{i}(0)=I_{2n}\),
and so \(H_{i}\) is a homotopy with fixed endpoints. Hence
by (viii′) from above. Finally, we note that
for all \(\lambda \in I\), and
where we have used (vii′). Now the assertion of the corollary follows from Corollary 3.2. □
Let us briefly point out that a version of the Morse index theorem in semiRiemannian geometry from [12] can easily be derived from Theorem 3.1 as well. We do not intend to explain the geometric content of the theorem, but just mention that it deals with nontrivial solutions of boundary value problems of the type
where J is as in (1) and \(S_{\lambda }\) is again a family of symmetric \(2n\times 2n\) matrices. If we consider the operators \(\mathcal{A}_{\lambda }\) in (23) for Eqs. (26), then
by Theorem 3.1, where \(\varPsi =\{\varPsi _{\lambda }(1)\} _{\lambda \in I}\) is the path in \(\operatorname {Sp}(2n,\mathbb{R})\) obtained as in (24). This is Proposition 6.1 in [12]. Note that in this setting the path \(\mathcal{A}=\{\mathcal{A}_{\lambda }\} _{\lambda \in I}\) has the constant domain \(\mathcal{D}(\mathcal{A} _{\lambda })=\{u\in H^{1}(I,\mathbb{R}^{2n}): u(0),u(1)\in \{0\} \times \mathbb{R}^{n}\}\), which allows one to compute its spectral flow by crossing forms (see [18] and [21]) and yields the different proof of (27) given in [12].
Finally, we want to discuss an example which illustrates that even in the most simple settings, our theory has interesting implications. Let us consider for a continuous map \(a:I\times I\rightarrow \mathbb{R}\) the family of mixed boundary value problems
and let us ask if there are any \(\lambda \in I\) for which (28) has a nontrivial solution.
To answer this question by the results obtained in this section, we transform (28) to the equivalent firstorder system
where
Note that a nontrivial spectral flow of the corresponding path of differential operators (23) implies that there is a \(\lambda \in I\) for which (29), and hence also our mixed boundary value problem (28), has a nontrivial solution.
In the following, assume that \(a_{0}\) and \(a_{1}\) are constant functions and that these constants are positive. Moreover, we suppose that
Let us now have a look at the spectral flow formula in Corollary 3.2. We see at first that the middle term on the right hand side vanishes as the paths \(\gamma _{1}\) and \(\gamma _{2}\) are the constant Lagrangian spaces \(\{0\}\times \mathbb{R}\) and \(\mathbb{R} \times \{0\}\) in this case. Note that the remaining terms only depend on the differential operators for \(\lambda =0\) and \(\lambda =1\). To compute the Maslov indices, we need to know the fundamental matrices in (24). As we assume \(a_{0}\) and \(a_{1}\) to be independent of t, they are given by the matrix exponentials
where \(t\in \mathbb{R}\), \(\lambda =0,1\). Consequently,
and we see that \(\varPsi _{\lambda }(t)\gamma _{1}\cap \gamma _{2}\neq \{0 \}\) if and only if \(t=(2k+1)\frac{\pi }{2}\). Now firstly note that by our assumption (30) the paths \((\varPsi _{1}(\cdot )\gamma _{1},\gamma _{2})\) and \((\varPsi _{0}(\cdot )\gamma _{1},\gamma _{2})\) are admissible. Secondly, as for the examples at the end of Sect. 2.1, it is readily seen that each of the intersections of \(\varPsi _{\lambda }(t)\gamma _{1}\) and \(\gamma _{2}\), \(\lambda =0,1\), contributes to the Maslov index \(\mu _{\mathrm{Mas}}(\varPsi _{\lambda }(\cdot ) \gamma _{1},\gamma _{2})\) by −1. Hence we finally obtain from Corollary 3.2 that the spectral flow of the corresponding operators (23) is given by
where \(\vert \{\ldots \}\vert \) stands for the cardinality of a set and \(\mathbb{N}_{0}\) are the natural numbers including 0. Let us stress once more that in this example the spectral flow of the whole path (23) only depends on the two numbers \(a_{0}\) and \(a_{1}\) even though we do not impose any assumption on the functions \(a_{\lambda }(t)\) for \(\lambda \neq 0,1\) apart from their continuity.
Conclusion
We have given an elementary proof of a classical theorem of Cappell, Lee and Miller which relates the Maslov index of a pair of paths of Lagrangian subspaces to the spectral flow of an associated path of selfadjoint firstorder operators. In our work, we have particularly paid attention to the continuity of the latter path of differential operators, as we felt that this point was somewhat neglected in the past. Finally, we have considered families of linear Hamiltonian systems and generalised a recent result of Hu and Portaluri that is based on Cappell, Lee and Miller’s theorem.
References
 1.
Arnold, V.I.: On a characteristic class entering into conditions of quantization. Funkc. Anal. Prilozh. 1, 1–14 (1967)
 2.
Atiyah, M.F., Patodi, V.K., Singer, I.M.: Spectral asymmetry and Riemannian geometry III. Math. Proc. Camb. Philos. Soc. 79, 71–99 (1976)
 3.
BoossBavnbek, B., Lesch, M., Phillips, J.: Unbounded Fredholm operators and spectral flow. Can. J. Math. 57, 225–250 (2005)
 4.
Bott, R.: On the iteration of closed geodesics and the Sturm intersection theory. Commun. Pure Appl. Math. 9, 171–206 (1956)
 5.
Cappell, S.E., Lee, R., Miller, E.Y.: On the Maslov index. Commun. Pure Appl. Math. 47, 121–186 (1994)
 6.
Duistermaat, J.J.: On the Morse index in variational calculus. Adv. Math. 21, 173–195 (1976)
 7.
Fitzpatrick, P.M., Pejsachowicz, J., Recht, L.: Spectral flow and bifurcation of critical points of strongly indefinite functionals—part I: general theory. J. Funct. Anal. 162, 52–95 (1999)
 8.
Guillemin, V., Sternberg, S.: Geometric Asymptotics, Mathematical Surveys, vol. 14. Am. Math. Soc., Providence (1977)
 9.
Hu, X., Portaluri, A.: Index theory for heteroclinic orbits of Hamiltonian systems. Calc. Var. Partial Differ. Equ. 56, 167 (2017)
 10.
Kato, T.: Perturbation Theory for Linear Operators. Springer, Berlin (1995). Reprint of the 1980 edition, Classics in Mathematics
 11.
Lesch, M.: The uniqueness of the spectral flow on spaces of unbounded selfadjoint Fredholm operators. In: Spectral Geometry of Manifolds with Boundary and Decomposition of Manifolds. Contemp. Math., vol. 366, pp. 193–224. Am. Math. Soc., Providence (2005)
 12.
Musso, M., Pejsachowicz, J., Portaluri, A.: A Morse index theorem for perturbed geodesics on semiRiemannian manifolds. Topol. Methods Nonlinear Anal. 25, 69–99 (2005)
 13.
Nicolaescu, L.: On the space of Fredholm operators. An. Ştiinţ. Univ. ‘Al.I. Cuza’ Iaşi, Mat. 53, 209–227 (2007)
 14.
Pejsachowicz, J., Waterstraat, N.: Bifurcation of critical points for continuous families of \(C^{2}\)functionals of Fredholm type. J. Fixed Point Theory Appl. 13, 537–560 (2013)
 15.
Phillips, J.: Selfadjoint Fredholm operators and spectral flow. Can. Math. Bull. 39, 460–467 (1996)
 16.
Piccione, P., Tausk, D.V.: A Student’s Guide to Symplectic Spaces, Grassmannians and Maslov Index. IMPA Mathematical Publications, Rio de Janeiro (2008)
 17.
Robbin, J., Salamon, D.: The Maslov index for paths. Topology 32, 827–844 (1993)
 18.
Robbin, J., Salamon, D.: The spectral flow and the Maslov index. Bull. Lond. Math. Soc. 27, 1–33 (1995)
 19.
Salamon, D., Zehnder, E.: Morse theory for periodic solutions of Hamiltonian systems and the Maslov index. Commun. Pure Appl. Math. 45, 1303–1360 (1992)
 20.
Wahl, C.: A new topology on the space of unbounded selfadjoint operators, Ktheory and spectral flow. In: \(C^{*}\)Algebras and Elliptic Theory II. Trends. Math., pp. 297–309. Birkhäuser, Basel (2008)
 21.
Waterstraat, N.: Spectral flow, crossing forms and homoclinics of Hamiltonian systems. Proc. Lond. Math. Soc. (3) 111, 275–304 (2015)
 22.
Waterstraat, N.: Fredholm operators and spectral flow. Rend. Semin. Mat. (Torino) 75, 7–51 (2017)
Availability of data and materials
Data sharing not applicable to this article as no datasets were generated or analysed during the current study.
Funding
M. Izydorek and J. Janczewska are supported by the grant BEETHOVEN2 of the National Science Centre, Poland, no. 2016/23/G/ST1/04081.
Author information
Affiliations
Contributions
All authors contributed equally to this work. All authors read and approved the final manuscript.
Corresponding author
Correspondence to Marek Izydorek.
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Abbreviations
Not applicable.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Izydorek, M., Janczewska, J. & Waterstraat, N. The Maslov index and the spectral flow—revisited. Fixed Point Theory Appl 2019, 5 (2019). https://doi.org/10.1186/s1366301906556
Received:
Accepted:
Published:
MSC
 53D12
 58J30
 37J05
 58E10
Keywords
 Maslov index
 Spectral flow
 Hamiltonian systems