Skip to content


  • Research
  • Open Access

The Maslov index and the spectral flow—revisited

Fixed Point Theory and Applications20192019:5

  • Received: 4 September 2018
  • Accepted: 21 January 2019
  • Published:


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 self-adjoint first-order operators.

We particularly pay attention to the continuity of the latter path of operators, where we consider the gap-metric 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.


  • Maslov index
  • Spectral flow
  • Hamiltonian systems


  • 53D12
  • 58J30
  • 37J05
  • 58E10

1 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
$$\begin{aligned} J= \begin{pmatrix} 0&-I_{n} \\ I_{n}&0 \end{pmatrix} \end{aligned}$$
and \(I_{n}\) denotes the identity matrix. Let us recall that an n-dimensional 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 non-trivial 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 self-adjoint 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 self-adjoint 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
$$\begin{aligned} \mathcal{A}_{\lambda }:\mathcal{D}(\mathcal{A}_{\lambda }) \subset L ^{2} \bigl(I,\mathbb{R}^{2n} \bigr) \rightarrow L^{2} \bigl(I,\mathbb{R}^{2n} \bigr),\quad\quad ( \mathcal{A}_{\lambda }u) (t)=Ju'(t), \end{aligned}$$
$$\begin{aligned} \mathcal{D}(\mathcal{A}_{\lambda })= \bigl\{ u\in H^{1} \bigl(I,\mathbb{R}^{2n} \bigr): u(0)\in \gamma _{1}(\lambda ), u(1)\in \gamma _{2}(\lambda ) \bigr\} . \end{aligned}$$
By an elementary computation, \(\mathcal{A}_{\lambda }\) is symmetric, and it is also not difficult to see that it actually is a self-adjoint 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 non-constant domains (3) and so continuity is a non-trivial problem. There are different metrics on spaces of unbounded self-adjoint 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 self-adjoint operators T by functional calculus to the bounded self-adjoint operators
$$\begin{aligned} \bigl(I_{H}+T^{2} \bigr)^{-\frac{1}{2}}\in \mathcal{L}(H), \end{aligned}$$
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 self-adjoint 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) self-adjoint operator on a Hilbert space is closed, and there is a canonical metric on the set of all closed operators which is called the gap-metric (see §IV.2 in Kato’s monograph [10]). It was shown in [13] (see also [11, Prop. 2.2]) that every path of self-adjoint Fredholm operators that is mapped to a continuous path of bounded operators under (4) is also continuous with respect to the gap-metric. Finally, Booss-Bavnbek, Lesch and Phillips constructed in [3] the spectral flow for paths of self-adjoint 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 gap-metric 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 gap-continuity 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
$$\begin{aligned} \gamma _{1}(0)\cap \gamma _{2}(0)=\gamma _{1}(1)\cap \gamma _{2}(1)=\{0\} \end{aligned}$$
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 gap-metric 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 self-contained, and we will just use some well-known 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 gap-metric, 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.

2 Maslov index and spectral flow—a brief recap

2.1 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
$$ \langle x,y\rangle _{\mathbb{C}}=\langle x,y\rangle -i\omega _{0}(x,y). $$
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
$$\begin{aligned} U(n)/O(n)\simeq \varLambda (n),\quad\quad A\mapsto A \bigl( \mathbb{R}^{n}\times \{0 \} \bigr). \end{aligned}$$
Let us now consider the map \(d:U(n)\rightarrow S^{1}\), \(d(A)=\det ^{2}(A)\), which descends to the quotient by
$$ \overline{d}:U(n)/O(n)\rightarrow S^{1},\quad\quad A\cdot O(n)\mapsto \det {^{2}}(A). $$
Note that
$$ \ker (d)/O(n)\hookrightarrow U(n)/O(n)\xrightarrow{\overline{d}} S ^{1} $$
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
$$ \overline{d}_{\ast }:\pi _{1} \bigl(U(n)/O(n) \bigr)\rightarrow \pi _{1} \bigl(S^{1} \bigr) \cong \mathbb{Z} $$
is an isomorphism. Consequently, we obtain from (6) an isomorphism
$$ \mu _{\mathrm{Mas}}:\pi _{1} \bigl(\varLambda (n) \bigr)\rightarrow \mathbb{Z}, $$
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 non-closed paths in \(\varLambda (n)\) as follows. We fix \(L_{0}\in \varLambda (n)\) and note at first that \(L_{0}\) yields a stratification
$$ \varLambda (n)=\bigcup^{n}_{k=0}\varLambda _{k}(L_{0}), $$
$$ \varLambda _{k}(L_{0})= \bigl\{ L\in \varLambda (n): \dim (L \cap L_{0})=k \bigr\} . $$
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
$$ H_{1} \bigl(\varLambda (n) \bigr)\rightarrow H_{1} \bigl( \varLambda (n),\varLambda _{0}(L_{0}) \bigr). $$
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
$$\begin{aligned} H_{1} \bigl(\varLambda (n),\varLambda _{0}(L_{0}) \bigr)\rightarrow H_{1} \bigl( \varLambda (n) \bigr) \rightarrow \pi _{1} \bigl(\varLambda (n) \bigr) \rightarrow \pi _{1} \bigl(U(n)/O(n) \bigr)\rightarrow \mathbb{Z}. \end{aligned}$$
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:
  1. (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}). $$
  2. (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}). $$
  3. (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
$$ \gamma _{1}(0)\cap \gamma _{2}(0)=\gamma _{1}(1) \cap \gamma _{2}(1)=\{0\}. $$
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
$$ \mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=\mu _{\mathrm{Mas}}(\gamma _{1}\times \gamma _{2},\Delta ). $$
Note that the basic properties which we previously mentioned carry over immediately, i.e.,

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


\(\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)\).


\(\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.

Also, it is not difficult to see from the construction of the Maslov index that

\(\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\),


\(\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=-\mu _{\mathrm{Mas}}(\gamma _{2}, \gamma _{1})\) for any admissible pair \((\gamma _{1},\gamma _{2})\).

Finally, let us define the Maslov index for a non-admissible pair of paths. It is important to note that in this case there are different definitions in the literature. Here we follow [5], and note that, given \(L_{1}, L_{2}\in \varLambda (n)\) such that \(L_{1}\cap L_{2} \neq \{0\}\), there is \(\varepsilon >0\) such that \(e^{\varTheta J}L_{2} \in \varLambda (n)\) and \(L_{1}\cap e^{\varTheta J}L_{2}=\{0\}\) for all \(0<\vert \varTheta \vert \leq \varepsilon \). We define the Maslov index as
$$ \mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})=\mu _{\mathrm{Mas}} \bigl(\gamma _{1},e^{-\varTheta J} \gamma _{2} \bigr), $$
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 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
$$ \gamma _{\mathrm{nor}}(\lambda ):=A(\lambda ) \bigl(\mathbb{R}^{n} \times \{0\} \bigr) = \mathbb{R} \bigl(\cos (\pi \lambda )e_{1}+\sin ( \pi \lambda )e_{n+1} \bigr)+\sum^{n}_{j=2}{ \mathbb{R}e_{j}}\in \varLambda (n). $$
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 to \(U(n)/O(n)\) is a closed path and \(\det ^{2}(B(\lambda ))=(-1)^{n}e^{2\pi i\lambda }\). Hence
$$ \gamma '_{\mathrm{nor}}(\lambda ):=B(\lambda ) \bigl( \mathbb{R}^{n}\times \{0\} \bigr) = \mathbb{R} \bigl(\sin (\pi \lambda )e_{1}-\cos (\pi \lambda )e_{n+1} \bigr)+\sum ^{2n}_{j=n+2}{\mathbb{R}e_{j}}\in \varLambda (n) $$
is such that \(\gamma '_{\mathrm{nor}}(0)=\gamma '_{\mathrm{nor}}(1)=\{0\}\times \mathbb{R}^{n}\) and \(\mu _{\mathrm{Mas}}(\gamma '_{\mathrm{nor}})=1\).

2.2 The gap-metric and the spectral flow

Our first aim of this section is to recall the definition of the gap-metric, 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
$$ d_{G}(U,V)= \Vert P_{U}-P_{V} \Vert ,\quad U,V\in G(H), $$
and note that this is obviously a metric on \(G(H)\). The distance between two non-trivial 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 u-v\Vert }\). Then, for \(\delta (U,V)=\sup_{u\in S_{U}} d(u,V)\),
$$\begin{aligned} d_{G}(U,V)=\max \bigl\{ \delta (U,V),\delta (V,U) \bigr\} , \end{aligned}$$
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 gap-metric on \(H\times H\) induces a metric on \(\mathcal{C}(H)\) by
$$ d_{G}(T,S)=d_{G} \bigl(\operatorname {graph}(T),\operatorname {graph}(S) \bigr), \quad S,T \in \mathcal{C}(H). $$
As the adjoint of a densely defined operator is closed, every self-adjoint 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 self-adjoint and Fredholm by \(\mathcal{CF}^{\mathrm{sa}}(H)\). It is well known that the spectrum \(\sigma (T)\) of every self-adjoint 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 _{i-1},\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
$$\begin{aligned} \operatorname {sf}(\mathcal{A}) =\sum^{N}_{i=1}{ (\dim (\operatorname {im}\bigl( \chi _{[0,\varepsilon _{i}]}(\mathcal{A}_{\lambda _{i}}) \bigr) -\dim \bigl(\operatorname {im}\bigl( \chi _{[0,\varepsilon _{i}]}(\mathcal{A}_{\lambda _{i-1}}) \bigr) \bigr)}. \end{aligned}$$
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]).
  1. (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
  1. (ii)

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

  2. (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 gap-continuous 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 gap-continuous path in \(\mathcal{CF}^{\mathrm{sa}}(H)\) and
$$\begin{aligned} \operatorname {sf}(\mathcal{A})=\operatorname {sf}\bigl(\mathcal{A}^{\delta } \bigr). \end{aligned}$$


We note at first that the operators \(\mathcal{A}^{\delta }_{\lambda }\) are self-adjoint and Fredholm for δ sufficiently small, which follows from standard stability theory (see e.g. [10]). Moreover, the path \(\mathcal{A}^{\delta }\) is gap-continuous 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 _{i-1},\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 _{i-1},\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
$$ \sigma (\mathcal{A}_{\lambda _{i}})\cap [-\delta _{i},0)=\sigma ( \mathcal{A}_{\lambda _{i-1}})\cap [-\delta _{i},0)=\{0\}. $$
Then, as \(\sigma (\mathcal{A}^{\delta _{i}}_{\lambda })=\sigma ( \mathcal{A}_{\lambda })+\delta _{i}\), we see that
$$ \dim \bigl(\operatorname {im}\bigl(\chi _{[0,\varepsilon _{i}]}(\mathcal{A}_{\lambda }) \bigr) \bigr) = \dim \bigl(\operatorname {im}\bigl(\chi _{[0,\varepsilon _{i}]} \bigl(\mathcal{A}^{\delta _{i}}_{ \lambda } \bigr) \bigr) \bigr),\quad \lambda =\lambda _{i-1},\lambda _{i}. $$
If we now set \(\delta =\min \{\delta _{1},\ldots,\delta _{N}\}>0\), then
$$ \dim \bigl(\operatorname {im}\bigl(\chi _{[0,\varepsilon _{i}]}(\mathcal{A}_{\lambda }) \bigr) \bigr) = \dim \bigl(\operatorname {im}\bigl(\chi _{[0,\varepsilon _{i}]} \bigl(\mathcal{A}^{\delta }_{\lambda } \bigr) \bigr) \bigr),\quad \lambda =\lambda _{i-1},\lambda _{i}, $$
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 gap-continuous 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 gap-continuous and \(\operatorname {sf}(M^{T}\mathcal{A}M)=\operatorname {sf}(\mathcal{A})\).


Note that
$$\begin{aligned} \operatorname {graph}\bigl(M^{T}_{\lambda }\mathcal{A}_{\lambda }M_{\lambda } \bigr) &= \bigl\{ \bigl(u,M^{T} _{\lambda }\mathcal{A}_{\lambda }M_{\lambda }u \bigr): u\in M^{-1}_{ \lambda } \bigl(\mathcal{D}( \mathcal{A}_{\lambda }) \bigr) \bigr\} \\ &= \bigl\{ \bigl(M^{-1}_{\lambda }v,M^{T}_{\lambda } \mathcal{A}_{\lambda }v \bigr): v \in \mathcal{D}(\mathcal{A}_{\lambda }) \bigr\} \\ &= \begin{pmatrix} M^{-1}_{\lambda }&0 \\ 0&M^{T}_{\lambda } \end{pmatrix} \operatorname {graph}( \mathcal{A}_{\lambda })=:N_{\lambda }\operatorname {graph}(\mathcal{A}_{ \lambda }) \subset H\times H, \end{aligned}$$
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
$$ \Vert P_{\operatorname {graph}(M^{T}_{\mu }\mathcal{A}_{\mu }M_{\mu })}-P_{\operatorname {graph}(M^{T} _{\lambda }\mathcal{A}_{\lambda }M_{\lambda })} \Vert \leq \bigl\Vert N_{\mu }P_{\operatorname {graph}( \mathcal{A}_{\mu })}N^{-1}_{\mu }-N_{\lambda }P_{\operatorname {graph}(\mathcal{A} _{\lambda })}N^{-1}_{\lambda } \bigr\Vert $$
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 gap-continuous.
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
$$\begin{aligned} \operatorname {sf}\bigl(M^{T}\mathcal{A}M \bigr)=\operatorname {sf}(\mathcal{A}). \end{aligned}$$

2.3 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.

2.3.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
$$ \mathcal{A}:X\rightarrow \mathcal{CF}^{\mathrm{sa}}(E),\quad\quad ( \mathcal{A}_{\lambda }u) (t)=Ju'(t), $$
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 gap-metric 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}})\)
$$\begin{aligned} \begin{aligned}[b] \bigl\Vert (u,\mathcal{A}_{\lambda }u)-(v, \mathcal{A}_{\lambda _{0}}v) \bigr\Vert _{E \oplus E} &= \bigl\Vert \bigl(u-v,J \bigl(u'-v' \bigr) \bigr) \bigr\Vert _{E\oplus E} \\ &\leq \bigl( \Vert u-v \Vert ^{2}_{E}+ \Vert J \Vert \bigl\Vert u'-v' \bigr\Vert ^{2}_{E} \bigr)^{ \frac{1}{2}} \\ &= \Vert u-v \Vert _{H}, \end{aligned} \end{aligned}$$
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
$$ \operatorname {im}(\hat{P}_{\lambda })=\gamma _{1}(\lambda ),\quad\quad \operatorname {im}( \tilde{P} _{\lambda })=\gamma _{2}(\lambda ),\quad \lambda \in X. $$
We define for \(w\in H\),
$$ (P_{\lambda }w) (t)=w(t)-(1-t) (I_{2n}-\hat{P}_{\lambda })w(0)-t(I_{2n}- \tilde{P}_{\lambda })w(1). $$
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
$$\begin{aligned} \inf_{v\in \mathcal{D}(\mathcal{A}_{\lambda _{0}})} \Vert u-v \Vert _{H} \leq \Vert u-P _{\lambda _{0}}u \Vert _{H}. \end{aligned}$$
$$ u(t)-(P_{\lambda _{0}}u) (t)=(1-t) (I_{2n}-\hat{P}_{\lambda _{0}})u(0)+t(I _{2n}-\tilde{P}_{\lambda _{0}})u(1), $$
it follows for \(u\in \mathcal{D}(\mathcal{A}_{\lambda })\) that
$$\begin{aligned} \begin{aligned}[b] \Vert u-P_{\lambda _{0}}u \Vert _{H} &\leq 2 \bigl( \bigl\Vert (I_{2n}- \hat{P}_{\lambda _{0}})u(0) \bigr\Vert + \bigl\Vert (I_{2n}- \tilde{P}_{\lambda _{0}})u(1) \bigr\Vert \bigr) \\ &= 2 \bigl( \bigl\Vert (I_{2n}-\hat{P}_{\lambda _{0}}) \hat{P}_{\lambda }u(0) \bigr\Vert + \bigl\Vert (I _{2n}- \tilde{P}_{\lambda _{0}})\tilde{P}_{\lambda }u(1) \bigr\Vert \bigr) \\ &\leq 2 \bigl( \bigl\Vert (I_{2n}-\hat{P}_{\lambda _{0}}) \hat{P}_{\lambda } \bigr\Vert \bigl\Vert u(0) \bigr\Vert + \bigl\Vert (I_{2n}-\tilde{P}_{\lambda _{0}})\tilde{P}_{\lambda } \bigr\Vert \bigl\Vert u(1) \bigr\Vert \bigr), \end{aligned} \end{aligned}$$
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 \(u-P_{\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\)
$$\begin{aligned} \bigl\Vert u(t) \bigr\Vert \leq \alpha \Vert u \Vert _{H}=\alpha \bigl( \Vert u \Vert ^{2}_{E}+ \bigl\Vert u' \bigr\Vert ^{2} _{E} \bigr)^{\frac{1}{2}} =\alpha \bigl( \Vert u \Vert ^{2}_{E}+ \bigl\Vert Ju' \bigr\Vert ^{2} _{E} \bigr)^{\frac{1}{2}}, \end{aligned}$$
where we use the fact that J is an isometry on \(\mathbb{R}^{2n}\). Hence, by (11)–(14),
$$\begin{aligned} d \bigl((u,\mathcal{A}_{\lambda }u),\operatorname {graph}(\mathcal{A}_{\lambda _{0}}) \bigr)& = \inf_{v\in \mathcal{D}(\mathcal{A}_{\lambda _{0}})} \bigl\Vert (u,\mathcal{A} _{\lambda }u)-(v, \mathcal{A}_{\lambda _{0}}v) \bigr\Vert _{E\oplus E} \\ &\leq \inf_{v\in \mathcal{D}(\mathcal{A}_{\lambda _{0}})} \Vert u-v \Vert _{H} \leq \Vert u-P_{\lambda _{0}}u \Vert _{H} \\ &\leq 2 \bigl( \bigl\Vert (I_{2n}-\hat{P}_{\lambda _{0}}) \hat{P}_{\lambda } \bigr\Vert \bigl\Vert u(0) \bigr\Vert + \bigl\Vert (I_{2n}-\tilde{P}_{\lambda _{0}})\tilde{P}_{\lambda } \bigr\Vert \bigl\Vert u(1) \bigr\Vert \bigr) \\ &\leq 2\alpha \bigl( \bigl\Vert (I_{2n}-\hat{P}_{\lambda _{0}}) \hat{P}_{\lambda } \bigr\Vert + \bigl\Vert (I_{2n}- \tilde{P}_{\lambda _{0}})\tilde{P}_{\lambda } \bigr\Vert \bigr) \bigl( \Vert u \Vert ^{2} _{E}+ \bigl\Vert Ju' \bigr\Vert ^{2}_{E} \bigr)^{\frac{1}{2}}. \end{aligned}$$
As the unit sphere in \(\operatorname {graph}(\mathcal{A}_{\lambda })\) is given by
$$ \bigl\{ (u,\mathcal{A}_{\lambda }u): u\in \mathcal{D}(\mathcal{A}_{\lambda }), \Vert u \Vert ^{2}_{E}+ \bigl\Vert Ju' \bigr\Vert ^{2}_{E}=1 \bigr\} , $$
we finally get
$$\begin{aligned} &\delta \bigl(\operatorname {graph}(\mathcal{A}_{\lambda }),\operatorname {graph}( \mathcal{A}_{\lambda _{0}}) \bigr) \\ &\quad =\sup \bigl\{ d \bigl((u,\mathcal{A}_{\lambda }u),\operatorname {graph}( \mathcal{A}_{\lambda _{0}}) \bigr): u\in \mathcal{D}(\mathcal{A}_{\lambda }), \Vert u \Vert ^{2}+ \bigl\Vert Ju' \bigr\Vert ^{2}=1 \bigr\} \\ &\quad \leq 2\alpha \bigl( \bigl\Vert (I_{2n}-\hat{P}_{\lambda _{0}}) \hat{P}_{\lambda } \bigr\Vert + \bigl\Vert (I_{2n}- \tilde{P}_{\lambda _{0}})\tilde{P}_{\lambda } \bigr\Vert \bigr). \end{aligned}$$
Note that if we swap λ and \(\lambda _{0}\) and repeat the above argument, we also have
$$\begin{aligned} \delta \bigl(\operatorname {graph}(\mathcal{A}_{\lambda _{0}}),\operatorname {graph}( \mathcal{A}_{\lambda }) \bigr) \leq 2\alpha \bigl( \bigl\Vert (I_{2n}-\hat{P}_{\lambda })\hat{P}_{\lambda _{0}} \bigr\Vert + \bigl\Vert (I _{2n}-\tilde{P}_{\lambda })\tilde{P}_{\lambda _{0}} \bigr\Vert \bigr). \end{aligned}$$
To finish the proof, we need the following well-known 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
$$ \bigl\Vert (I_{E}-P)Q \bigr\Vert < 1 \quad \textit{and}\quad \bigl\Vert (I_{E}-Q)P \bigr\Vert < 1, $$
$$ \bigl\Vert (I_{E}-P)Q \bigr\Vert = \bigl\Vert (I_{E}-Q)P \bigr\Vert = \Vert P-Q \Vert . $$
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}\)
$$ \bigl\Vert (I_{2n}-\hat{P}_{\lambda })\hat{P}_{\lambda _{0}} \bigr\Vert = \bigl\Vert (I_{2n}- \hat{P}_{\lambda _{0}}) \hat{P}_{\lambda } \bigr\Vert = \Vert \hat{P}_{\lambda }- \hat{P}_{\lambda _{0}} \Vert $$
and likewise
$$ \bigl\Vert (I_{2n}-\tilde{P}_{\lambda })\tilde{P}_{\lambda _{0}} \bigr\Vert = \bigl\Vert (I_{2n}- \tilde{P}_{\lambda _{0}}) \tilde{P}_{\lambda } \bigr\Vert = \Vert \tilde{P}_{\lambda }- \tilde{P}_{\lambda _{0}} \Vert . $$
Consequently, we obtain from (8), (15) and (16) for all λ sufficiently close to \(\lambda _{0}\)
$$\begin{aligned} d_{G}(\mathcal{A}_{\lambda },\mathcal{A}_{\lambda _{0}}) &=\max \bigl\{ \delta \bigl(\operatorname {graph}(\mathcal{A}_{\lambda }),\operatorname {graph}(\mathcal{A}_{\lambda _{0}}) \bigr), \delta \bigl(\operatorname {graph}(\mathcal{A}_{\lambda _{0}}),\operatorname {graph}( \mathcal{A}_{\lambda }) \bigr) \bigr\} \\ &\leq 2\alpha \bigl( \Vert \hat{P}_{\lambda }-\hat{P}_{\lambda _{0}} \Vert + \Vert \tilde{P}_{\lambda }-\tilde{P}_{\lambda _{0}} \Vert \bigr), \end{aligned}$$
which shows that \(\mathcal{A}=\{\mathcal{A}_{\lambda }\}_{\lambda \in X}\) is indeed continuous in \(\mathcal{CF}(E)\). Hence Proposition 2.3 is shown.

2.3.2 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.
$$\begin{aligned} \bigl\{ (L_{1},L_{2})\in \varLambda (n)\times \varLambda (n): L_{1}\cap L_{2}= \{0\} \bigr\} \subset \varLambda (n)\times \varLambda (n), \end{aligned}$$
is path-connected.


Let us first recall the well-known fact that \(\varLambda _{0}(L_{0})\) is contractible, and hence path-connected, 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 path-connected, 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 path-connected. □

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 Sect2.1 are satisfied, as well as
  1. (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}\).


We note at first that we have by the properties (ii′) and (iii′) homomorphisms
$$\begin{aligned} \mu , \mu _{\mathrm{Mas}}:\pi _{1} \bigl(\varLambda (n) \times \varLambda (n),(L_{0},L_{1}) \bigr) \rightarrow \mathbb{Z} \end{aligned}$$
and we now claim that they coincide.
We first note that
$$ \pi _{1} \bigl(\varLambda (n)\times \varLambda (n),(L_{0},L_{1}) \bigr)\cong \pi _{1} \bigl( \varLambda (n),L_{0} \bigr) \times \pi _{1} \bigl(\varLambda (n),L_{1} \bigr)\cong \mathbb{Z} \oplus \mathbb{Z}, $$
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
$$\begin{aligned} \mu (\gamma _{1},\gamma _{2}) &=\mu (\gamma _{3}, \gamma _{4})+\mu (\gamma _{1},\gamma _{2})+\mu ( \gamma _{5},\gamma _{6}) \\ &=\mu \bigl((\gamma _{3},\gamma _{4})\ast (\gamma _{1},\gamma _{2})\ast ( \gamma _{5},\gamma _{6}) \bigr) =\mu _{\mathrm{Mas}} \bigl((\gamma _{3},\gamma _{4})\ast (\gamma _{1},\gamma _{2})\ast (\gamma _{5},\gamma _{6}) \bigr) \\ &=\mu _{\mathrm{Mas}}(\gamma _{3},\gamma _{4})+\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2})+ \mu _{\mathrm{Mas}}(\gamma _{5},\gamma _{6}) =\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2}), \end{aligned}$$
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
$$ \mu (\widetilde{\gamma }_{1},\widetilde{\gamma }_{2}) =\mu \bigl(( \widetilde{\gamma }_{1},\widetilde{\gamma }_{2})\ast ( \widetilde{\gamma }_{1},\widetilde{\gamma }_{2}) \bigr) =\mu ( \widetilde{\gamma }_{1},\widetilde{\gamma }_{2})+\mu ( \widetilde{\gamma }_{1},\widetilde{\gamma }_{2}) $$
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
  1. (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\} , $$
  2. (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\} . $$


We consider \(Ju'=\mu u\) and note that the solutions of this equation are
$$ u(t)=\exp (-\mu tJ)v,\quad t\in I, v\in \mathbb{R}^{2n}. $$
Let us first consider the path in (i). Then u belongs to the domain of \(\mathcal{A}_{\lambda }\) if and only if
$$\begin{aligned} u(0)=v\in \gamma _{\mathrm{nor}}(\lambda ),\quad\quad u(1)=\exp (-\mu J)v\in L_{1}. \end{aligned}$$
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
$$ \bigl(\cos (\mu )I_{2n}+\sin (\mu )J \bigr) \bigl(\{0\}\times \mathbb{R}^{n} \bigr) \cap \Biggl(\mathbb{R} \bigl(\cos (\pi \lambda )e_{1}+\sin (\pi \lambda )e_{n+1} \bigr)+ \sum ^{n}_{j=2}{\mathbb{R}e_{j}} \Biggr)\neq \{0 \}. $$
There are two different cases where these spaces intersect non-trivially. 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
$$\begin{aligned} e^{i\pi \lambda } &=\cos (\pi \lambda )+i\sin (\pi \lambda ) =\alpha \bigl(- \sin (\mu )+i\cos (\mu ) \bigr)=\alpha i e^{i\mu }=\alpha e^{i(\mu +\frac{ \pi }{2})}. \end{aligned}$$
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
$$\begin{aligned} u(0)=v\in L_{0},\quad\quad u(1)=\exp (-\mu J)v\in \gamma '_{\mathrm{nor}}, \end{aligned}$$
which is equivalent to
$$ \bigl(\cos (\mu )I_{2n}-\sin (\mu )J \bigr) \bigl(\mathbb{R}^{n} \times \{0\} \bigr) \cap \Biggl(\mathbb{R} \bigl(\sin (\pi \lambda )e_{1}- \cos (\pi \lambda )e_{n+1} \bigr)+ \sum ^{2n}_{j=n+2}{ \mathbb{R}e_{j}} \Biggr)\neq \{0\}. $$
Again, there are two cases in which this intersection is non-trivial. 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
$$ e^{i\pi \lambda }=\cos (\pi \lambda )+i\sin (\pi \lambda )=\alpha \bigl(\sin ( \mu )+i\cos (\mu ) \bigr) =\alpha i e^{-i\mu }=\alpha e^{i(\frac{\pi }{2}- \mu )}. $$
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
$$\begin{aligned} \textstyle\begin{cases} J\varPsi '(t)+\delta _{0}\varPsi (t)=0,\quad t\in I, \\ \varPsi (0)=I_{2n}, \end{cases}\displaystyle \end{aligned}$$
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
$$\begin{aligned} \mathcal{D} \bigl(M^{T}\mathcal{A}^{\delta _{0}}_{\lambda }M \bigr) &=M^{-1} \bigl( \mathcal{D} \bigl(\mathcal{A}^{\delta _{0}}_{\lambda } \bigr) \bigr) \\ &= \bigl\{ \varPsi (\cdot )^{-1}u\in H^{1} \bigl(I, \mathbb{R}^{2n} \bigr):u(0)\in \gamma _{1}(\lambda ), u(1)\in \gamma _{2}(\lambda ) \bigr\} \\ &= \bigl\{ v\in H^{1} \bigl(I,\mathbb{R}^{2n} \bigr): v(0)\in \gamma _{1}(\lambda ), v(1) \in \varPsi (1)^{-1}\gamma _{2}(\lambda ) \bigr\} \end{aligned}$$
and given by
$$\begin{aligned} \bigl(M^{T}\mathcal{A}^{\delta _{0}}_{\lambda }Mu \bigr) (t) &=M^{T} \bigl(J\varPsi '(t)u(t)+J \varPsi (t)u'(t)+\delta _{0}\varPsi (t)u(t) \bigr) \\ &=M^{T} \bigl(-\delta _{0}\varPsi (t)u(t)+J\varPsi (t)u'(t)+\delta _{0}\varPsi (t)u(t) \bigr) \\ &=\varPsi (t)^{T}J\varPsi (t)u'(t)=Ju'(t). \end{aligned}$$
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 non-admissible paths in Sect. 2.1,
$$ \operatorname {sf}(\mathcal{A})=\operatorname {sf}\bigl(\mathcal{A}^{\delta _{0}} \bigr) =\mu _{\mathrm{Mas}} \bigl(\gamma _{1},e^{-\delta _{0} J}\gamma _{2} \bigr)=\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2}), $$
which proves Theorem 1.1 in the general case.

3 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])
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}$$
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}$$
Moreover, we need below the following homotopy invariance property which is an immediate consequence of (iii′) in Sect. 2.1 and the definition of the Maslov index for non-admissible pairs of paths:

\(\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.

Let now \(S:I\times I\rightarrow M(2n,\mathbb{R})\) be a two parameter family of symmetric matrices and let us consider
$$ \textstyle\begin{cases} Ju'(t)+S_{\lambda }(t)u(t) =0,\quad t\in I,\\ (u(0),u(1))\in \gamma _{1}(\lambda )\times \gamma _{2}(\lambda ), \end{cases} $$
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})\),
$$ (\mathcal{A}_{\lambda }u) (t)=Ju'(t)+S_{\lambda }(t)u(t) $$
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
$$ \textstyle\begin{cases} J\varPsi '_{\lambda }(t)+S_{\lambda }(t)\varPsi _{\lambda }(t) =0,\quad t \in I,\\ \varPsi _{\lambda }(0)=I_{2n}, \end{cases} $$
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 gap-continuous path of self-adjoint Fredholm operators on \(L^{2}(I,\mathbb{R}^{2n})\) and \(\operatorname {sf}(\mathcal{A})=\mu _{\mathrm{Mas}}(\varPsi \gamma _{1},\gamma _{2})\).


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
$$\begin{aligned} \bigl(M^{T}_{\lambda }\mathcal{A}_{\lambda }M_{\lambda }u \bigr) (t) &= \varPsi ^{T} _{\lambda }(t) \bigl(J\varPsi '_{\lambda }(t)u(t)+J\varPsi _{\lambda }(t)u'(t)+S _{\lambda }(t)\varPsi _{\lambda }(t)u(t) \bigr) \\ &=\varPsi ^{T}_{\lambda }(t) \bigl(-S_{\lambda }(t)\varPsi _{\lambda }(t)u(t) \bigr)+\varPsi ^{T}_{\lambda }(t)J\varPsi _{\lambda }(t)u'(t) \\ & \quad {} +\varPsi ^{T}_{\lambda }(t)S_{\lambda }(t)\varPsi _{\lambda }(t)u(t)=Ju'(t) \end{aligned}$$
$$\begin{aligned} \mathcal{D} \bigl(M^{T}_{\lambda }\mathcal{A}_{\lambda }M_{\lambda } \bigr) &= M ^{-1}_{\lambda } \bigl(\mathcal{D}( \mathcal{A}_{\lambda }) \bigr) \\ &= \bigl\{ u\in H^{1} \bigl(I,\mathbb{R}^{2n} \bigr): u(0)\in \gamma _{1}(\lambda ), u(1) \in \varPsi _{\lambda }(1)^{-1} \gamma _{2}(\lambda ) \bigr\} . \end{aligned}$$
By Theorem 1.1, \(M^{T}\mathcal{A}M\) is gap-continuous, and it follows from Lemma 2.2 that \(\mathcal{A}\) is gap-continuous as well. Moreover, we obtain from Theorem 1.1 and (20) that
$$ \operatorname {sf}(\mathcal{A})=\operatorname {sf}\bigl(M^{T}\mathcal{A}M \bigr)=\mu _{\mathrm{Mas}} \bigl(\gamma _{1}, \varPsi _{(\cdot )}(1)^{-1} \gamma _{2} \bigr) =\mu _{\mathrm{Mas}}(\varPsi \gamma _{1}, \gamma _{2}). $$
Note that we obtain from Ψ and \(\gamma _{1}\) further pairs of paths in \(\varLambda (n)\) by
$$ I\ni t\mapsto \varPsi _{0}(t)\gamma _{1}(0)\in \varLambda (n),\quad\quad I\ni t \mapsto \varPsi _{1}(t)\gamma _{1}(1) \in \varLambda (n). $$
The following corollary is an easy reformulation of the previous theorem.

Corollary 3.2

Under the previous assumptions,
$$ \operatorname {sf}(\mathcal{A})=\mu _{\mathrm{Mas}} \bigl(\varPsi _{1}(\cdot ) \gamma _{1}(1),\gamma _{2}(1) \bigr) +\mu _{\mathrm{Mas}}( \gamma _{1},\gamma _{2})-\mu _{\mathrm{Mas}} \bigl(\varPsi _{0}(\cdot )\gamma _{1}(0),\gamma _{2}(0) \bigr). $$


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
$$ \eta _{1}(t)=\varGamma (0,t), \quad\quad \eta _{2}(\lambda )=\varGamma (\lambda ,1), \quad\quad \eta _{3}(t) =\varGamma (1,1-t),\quad\quad \eta _{4}( \lambda )=\varGamma (1-\lambda ,0). $$
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
$$ \mu _{\mathrm{Mas}}(\varPsi \gamma _{1},\gamma _{2}) =-\mu _{\mathrm{Mas}} \bigl(\varPsi _{0}(\cdot ) \gamma _{1}(0), \gamma _{2}(0) \bigr)+\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2}) +\mu _{\mathrm{Mas}} \bigl(\varPsi _{1}(\cdot )\gamma _{1}(1),\gamma _{2}(1) \bigr). $$
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
$$ \operatorname {sf}(\mathcal{A})=\mu _{\mathrm{Mas}}(\gamma _{1},\gamma _{2}). $$
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 self-adjoint Fredholm operators, the spectral flow is invariant under perturbations by compact self-adjoint 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
$$\begin{aligned} \beta (\lambda )=\alpha (\lambda )+\lambda ,\quad \lambda \in [0,1]. \end{aligned}$$
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,
$$\begin{aligned} \operatorname {sf}(\mathcal{A}) &=\mu _{\mathrm{Mas}} \bigl(\varPsi _{0} \bigl( \alpha (\cdot ) \bigr)\gamma _{1}(0), \varPsi _{0} \bigl( \beta (\cdot ) \bigr)\varPsi _{0}(1)^{-1}\gamma _{2}(0) \bigr)+\mu _{\mathrm{Mas}}( \gamma _{1},\gamma _{2}) \\ & \quad {} -\mu _{\mathrm{Mas}} \bigl(\varPsi _{1} \bigl(\alpha (\cdot ) \bigr) \gamma _{1}(1),\varPsi _{1} \bigl(\beta ( \cdot ) \bigr)\varPsi _{1}(1)^{-1}\gamma _{2}(1) \bigr). \end{aligned}$$


We define maps \(h_{1},h_{2}:I\times I\rightarrow I\) by
$$ h_{1}(s,\lambda )=(1-s)\alpha (\lambda )+s(1-\lambda ), \qquad h_{2}(s,\lambda )=(1-s)\beta (\lambda )+s, $$
and consider for \(i=1,2\) the homotopies
$$ H_{i}:I\times I\rightarrow \varLambda (n)\times \varLambda (n),\quad \quad H_{i}(s, \lambda )= \bigl(\varPsi _{i} \bigl(h_{1}(s,\lambda ) \bigr)\gamma _{1}(i),\varPsi _{i} \bigl(h_{2}(s, \lambda ) \bigr)\varPsi _{i}(1)^{-1}\gamma _{2}(i) \bigr). $$
As \(\alpha (0)=\beta (0)\), we see that \(h_{1}(s,0)=h_{2}(s,0)\) and so
$$ H_{i}(s,0)= \bigl(\varPsi _{i} \bigl(h_{1}(s,0) \bigr)\gamma _{1}(i),\varPsi _{i} \bigl(h_{2}(s,0) \bigr)\varPsi _{i}(1)^{-1}\gamma _{2}(i) \bigr)= \bigl(\gamma _{1}(i),\varPsi _{i}(1)^{-1}\gamma _{2}(i) \bigr) $$
is independent of s, where we have used (vi′). Moreover, since \(\alpha (1)=0\), \(\beta (1)=1\), and \(\varPsi _{i}(0)=I_{2n}\),
$$ H_{i}(s,1)= \bigl(\varPsi _{i}(0)\gamma _{1}(i), \varPsi _{i}(1)\varPsi _{i}(1)^{-1}\gamma _{2}(i) \bigr)= \bigl(\gamma _{1}(i),\gamma _{2}(i) \bigr), $$
and so \(H_{i}\) is a homotopy with fixed endpoints. Hence
$$ \mu _{\mathrm{Mas}} \bigl(H_{i}(0,\cdot ) \bigr)=\mu _{\mathrm{Mas}} \bigl(H_{i}(1,\cdot ) \bigr) $$
by (viii′) from above. Finally, we note that
$$\begin{aligned}& H_{i}(0,\lambda ) = \bigl(\varPsi _{i} \bigl(\alpha ( \lambda ) \bigr)\gamma _{1}(i),\varPsi _{i} \bigl( \beta ( \lambda ) \bigr)\varPsi _{i}(1)^{-1}\gamma _{2}(i) \bigr), \\& H_{i}(1,\lambda ) = \bigl(\varPsi _{i}(1-\lambda )\gamma _{1}(i),\varPsi _{i}(1)\varPsi _{i}(1)^{-1} \gamma _{2}(i) \bigr)= \bigl(\varPsi _{i}(1-\lambda )\gamma _{1}(i),\gamma _{2}(i) \bigr) \end{aligned}$$
for all \(\lambda \in I\), and
$$ \mu _{\mathrm{Mas}} \bigl(\varPsi _{i}(1-\cdot )\gamma _{1}(i),\gamma _{2}(i) \bigr)=-\mu _{\mathrm{Mas}} \bigl( \varPsi _{i}(\cdot )\gamma _{1}(i),\gamma _{2}(i) \bigr), $$
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 semi-Riemannian 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 non-trivial solutions of boundary value problems of the type
$$ \textstyle\begin{cases} Ju'(t)+S_{\lambda }(t)u(t) =0,\quad t\in I,\\ u(0),u(1)\in \{0\} \times \mathbb{R}^{n}, \end{cases} $$
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
$$\begin{aligned} \operatorname {sf}(\mathcal{A})=\mu _{\mathrm{Mas}} \bigl(\varPsi \bigl(\{0\} \times \mathbb{R}^{n} \bigr),\{0\} \times \mathbb{R}^{n} \bigr) \end{aligned}$$
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
$$ \textstyle\begin{cases} u''(t)+a_{\lambda }(t)u(t) =0,\quad t\in I,\\ u(0)=u'(1)=0 \end{cases} $$
and let us ask if there are any \(\lambda \in I\) for which (28) has a non-trivial solution.
To answer this question by the results obtained in this section, we transform (28) to the equivalent first-order system
$$ \textstyle\begin{cases} Jz'(t)+S_{\lambda }(t)z(t) =0,\quad t\in I,\\ z(0)\in \{0\}\times \mathbb{R}, \quad\quad z(1)\in \mathbb{R}\times \{0\}, \end{cases} $$
$$ S_{\lambda }(t)= \begin{pmatrix} -a_{\lambda }(t)&0 \\ 0&-1 \end{pmatrix} . $$
Note that a non-trivial 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 non-trivial solution.
In the following, assume that \(a_{0}\) and \(a_{1}\) are constant functions and that these constants are positive. Moreover, we suppose that
$$\begin{aligned} a_{i}\neq (2k+1)^{2}\frac{\pi ^{2}}{4},\quad i=0,1, k\in \mathbb{Z}. \end{aligned}$$
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
$$\begin{aligned} \varPsi _{\lambda }(t)=\exp \begin{pmatrix} 0&t \\ -a_{\lambda }t&0 \end{pmatrix} = \begin{pmatrix} \cos (\sqrt{a_{\lambda }}t)&\frac{1}{\sqrt{a_{\lambda }}}\sin (\sqrt{a _{\lambda }}t) \\ -\sqrt{a_{\lambda }}\sin (\sqrt{a_{\lambda }}t)&\cos (\sqrt{a _{\lambda }}t) \end{pmatrix} , \end{aligned}$$
where \(t\in \mathbb{R}\), \(\lambda =0,1\). Consequently,
$$ \varPsi _{\lambda }(t)\gamma _{1}=\varPsi _{\lambda }(t) \bigl(\{0\}\times \mathbb{R} \bigr)=\operatorname {span} \begin{pmatrix} \frac{1}{\sqrt{a_{\lambda }}}\sin (\sqrt{a_{\lambda }}t) \\ \cos (\sqrt{a_{\lambda }}t) \end{pmatrix} ,\quad t\in \mathbb{R}, \lambda =0,1, $$
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
$$\begin{aligned} & \biggl\vert \biggl\{ t\in (0,1): t=(2k+1)\frac{\pi }{2\sqrt{a_{0}}} \biggr\} \biggr\vert - \biggl\vert \biggl\{ t \in (0,1): t=(2k+1)\frac{\pi }{2\sqrt{a_{1}}} \biggr\} \biggr\vert \\ &\quad = \biggl\vert \biggl\{ k\in \mathbb{N}_{0}: k< \frac{\sqrt{a_{0}}}{ \pi } - \frac{1}{2} \biggr\} \biggr\vert - \biggl\vert \biggl\{ k\in \mathbb{N} _{0}: k< \frac{\sqrt{a_{1}}}{\pi } -\frac{1}{2} \biggr\} \biggr\vert , \end{aligned}$$
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.

4 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 self-adjoint first-order 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.


Availability of data and materials

Data sharing not applicable to this article as no datasets were generated or analysed during the current study.


M. Izydorek and J. Janczewska are supported by the grant BEETHOVEN2 of the National Science Centre, Poland, no. 2016/23/G/ST1/04081.

Authors’ contributions

All authors contributed equally to this work. All authors read and approved the final manuscript.

Competing interests

The authors declare that they have no competing interests.

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, 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.

Authors’ Affiliations

Faculty of Applied Physics and Mathematics, Gdansk University of Technology, Gdańsk, Poland
Institut für Mathematik, Naturwissenschaftliche Fakultät II, Martin-Luther-Universität Halle-Wittenberg, Halle (Saale), Germany


  1. Arnold, V.I.: On a characteristic class entering into conditions of quantization. Funkc. Anal. Prilozh. 1, 1–14 (1967) MathSciNetView ArticleGoogle Scholar
  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) MathSciNetView ArticleGoogle Scholar
  3. Booss-Bavnbek, B., Lesch, M., Phillips, J.: Unbounded Fredholm operators and spectral flow. Can. J. Math. 57, 225–250 (2005) MathSciNetView ArticleGoogle Scholar
  4. Bott, R.: On the iteration of closed geodesics and the Sturm intersection theory. Commun. Pure Appl. Math. 9, 171–206 (1956) MathSciNetView ArticleGoogle Scholar
  5. Cappell, S.E., Lee, R., Miller, E.Y.: On the Maslov index. Commun. Pure Appl. Math. 47, 121–186 (1994) MathSciNetView ArticleGoogle Scholar
  6. Duistermaat, J.J.: On the Morse index in variational calculus. Adv. Math. 21, 173–195 (1976) MathSciNetView ArticleGoogle Scholar
  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) MathSciNetView ArticleGoogle Scholar
  8. Guillemin, V., Sternberg, S.: Geometric Asymptotics, Mathematical Surveys, vol. 14. Am. Math. Soc., Providence (1977) View ArticleGoogle Scholar
  9. Hu, X., Portaluri, A.: Index theory for heteroclinic orbits of Hamiltonian systems. Calc. Var. Partial Differ. Equ. 56, 167 (2017) MathSciNetView ArticleGoogle Scholar
  10. Kato, T.: Perturbation Theory for Linear Operators. Springer, Berlin (1995). Reprint of the 1980 edition, Classics in Mathematics View ArticleGoogle Scholar
  11. Lesch, M.: The uniqueness of the spectral flow on spaces of unbounded self-adjoint 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) View ArticleGoogle Scholar
  12. Musso, M., Pejsachowicz, J., Portaluri, A.: A Morse index theorem for perturbed geodesics on semi-Riemannian manifolds. Topol. Methods Nonlinear Anal. 25, 69–99 (2005) MathSciNetView ArticleGoogle Scholar
  13. Nicolaescu, L.: On the space of Fredholm operators. An. Ştiinţ. Univ. ‘Al.I. Cuza’ Iaşi, Mat. 53, 209–227 (2007) MathSciNetMATHGoogle Scholar
  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) MathSciNetView ArticleGoogle Scholar
  15. Phillips, J.: Self-adjoint Fredholm operators and spectral flow. Can. Math. Bull. 39, 460–467 (1996) MathSciNetView ArticleGoogle Scholar
  16. Piccione, P., Tausk, D.V.: A Student’s Guide to Symplectic Spaces, Grassmannians and Maslov Index. IMPA Mathematical Publications, Rio de Janeiro (2008) MATHGoogle Scholar
  17. Robbin, J., Salamon, D.: The Maslov index for paths. Topology 32, 827–844 (1993) MathSciNetView ArticleGoogle Scholar
  18. Robbin, J., Salamon, D.: The spectral flow and the Maslov index. Bull. Lond. Math. Soc. 27, 1–33 (1995) MathSciNetView ArticleGoogle Scholar
  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) MathSciNetView ArticleGoogle Scholar
  20. Wahl, C.: A new topology on the space of unbounded selfadjoint operators, K-theory and spectral flow. In: \(C^{*}\)-Algebras and Elliptic Theory II. Trends. Math., pp. 297–309. Birkhäuser, Basel (2008) View ArticleGoogle Scholar
  21. Waterstraat, N.: Spectral flow, crossing forms and homoclinics of Hamiltonian systems. Proc. Lond. Math. Soc. (3) 111, 275–304 (2015) MathSciNetView ArticleGoogle Scholar
  22. Waterstraat, N.: Fredholm operators and spectral flow. Rend. Semin. Mat. (Torino) 75, 7–51 (2017) MathSciNetGoogle Scholar


© The Author(s) 2019