1 Introduction

The Sturm–Liouville problems (SLPs) with transmission conditions at an interior point have always been an important research topic in mathematical physics. Such a problem connected with many assortment of physical problems, such as heat and mass transfer, vibrating string problems and diffraction problems. In recent years the studies of these problems often appear not only in one interior point, but also in two or infinite many interior points. The discussions of these problems include their self-adjointness, eigenvalues and the completeness of eigenfunctions and inverse eigenvalue problems, and so on (Gesztesy et al. 1985; Mukhtarov et al. 2002a, b, 2004; Chanane 2007; Sun and Wang 2008; Titeux and Yakubov 1997).

Also recent years the Sturm–Liouville problems with finite spectrum have been investigated by many authors (Kong et al. 2001, 2009; Ao et al. 2011, 2012, 2013). These problems can be seen as coming from Atkinson’s statement in his well-known book (Atkinson 1964). Among these studies there are finite spectrum results of SLPs (Kong et al. 2001, 2009), SLPs with transmission conditions (Ao et al. 2011, 2012), and even SLPs with transmission conditions and eigenparameter-dependent boundary conditions (Ao et al. 2013). However, there is no such results for SLPs with finite transmission conditions. For this reason, in this paper, we shall consider the SLPs with n transmission conditions and prove that for any positive integer n the SLPs with n transmission conditions still have finite spectrum. Similar with the proof in Kong et al. (2001) and Ao et al. (2011), we construct a class of these problems with exactly \(\sum ^{n+1}_{i=1}m_{i}+n+1\) eigenvalues, where \(m_{i}\) are connected with the partition of the interval J. As in Kong et al. (2001) and Ao et al. (2011) our construction based on the characteristic function whose zeros are the eigenvalues. The key to this analysis is still an iterative construction of the characteristic function. Although similar methods are used to get our main results, the specific process of calculations and proofs is not completely the same as in Kong et al. 2001 and Ao et al. 2011, which is more complicated and include some new items.

2 Notation and Preliminaries

Consider the SLP consisting of the differential equation

$$\begin{aligned} -(py')'+qy=\lambda wy,\ \ \ {\text {on}} \ J=(a,c_{1})\cup (c_{1},c_{2})\cup \cdots \cup (c_{n},b), \end{aligned}$$
(2.1)

where \(-\infty<a<b<+\infty ,c_{i}\in (a,b),i=1,2,\ldots ,n,\) together with the regular two point boundary conditions (BCs) of the form

$$\begin{aligned} AY(a)+BY(b)=0,\ Y=\left( \begin{array}{l} y \\ py' \\ \end{array} \right) , \ A,B\in M_{2}(\mathbb {C}), \end{aligned}$$
(2.2)

and the transmission conditions at these n interior points \(c_{i}\) of the form

$$\begin{aligned} C_{i}Y(c_{i}-)+D_{i}Y(c_{i}+)=0, \ i=1,2,\ldots ,n, \end{aligned}$$
(2.3)

where \(A=(a_{st})_{2\times 2}, B=(b_{st})_{2\times 2}\) are complex-valued \(2\times 2\) matrices, and \(C_{i}, D_{i}\) are real valued \(2\times 2\) matrices satisfying \(\det (C_{i})=\rho _{i}>0\), \(\det (D_{i})=\theta _{i}>0\). \(M_{2}(\mathbb {C})\) denotes the set of square matrices of order 2 over \(\mathbb {C}.\) Here \(\lambda \) is the complex-valued spectral parameter, and the coefficients satisfy the minimal conditions

$$\begin{aligned} r=1/p,q,w \in L(J,\mathbb {C}), \end{aligned}$$
(2.4)

where \(L(J,\mathbb {C})\) denotes the complex-valued functions which are Lebesgue integrable on J. Condition (2.4) is minimal in the sense that it is necessary and sufficient for all initial value problems of Eq. (2.1) to have unique solutions on [ab] ; see Everitt and Race (1976), Zettl (2005).

Since the boundary conditions are invariant under left multiplication by a nonsingular matrix, we use the notation \(\mathcal {A}=[A:B]\) to denote the equivalence class of BC (2.2). These equivalence classes, endowed with the topology induced by any matrix norm, form the boundary condition quotient space denoted by \(\mathbb {B}:= M_{2\times 4}(\mathbb {C})/GL(2,\mathbb {C})\), where \(M_{2\times 4}(\mathbb {C})\) is the class of \(2\times 4\) matrices over \(\mathbb {C},\) and \(GL(2,\mathbb {C})\) is the set of nonsingular matrices of order 2 over \(\mathbb {C}\). Denote by \(\mathbb {B}_{s}\) the subset of \(\mathbb {B}\) consisting of the self-adjoint BCs. \(\mathbb {D}_{i}:= \{[C_{i}:D_{i}]| {\text{ det }}(C_{i})>0, {\text{ det }}(D_{i})>0 \}\) denotes the equivalence class of n transmission condition (2.3). Denote by \(\mathbb {D}_{s}\) the subset of \(\mathbb {D}\) consisting of the self-adjoint transmission condition. Let

$$\begin{aligned} \Omega =\{\omega =(a,b,p,q,w): (2.4)\ \ {\text{ holds }} \}, \end{aligned}$$

and endow \(\Omega \) with the topology as in Kong et al. (1999). Then the space of SLPs in which we study the dependence of eigenvalues on the problem is given by \(\Omega \times \mathbb {B} \times \mathbb {D}(\mathbb {D}=[C_{n}:D_{n}]\times [C_{n-1}:D_{n-1}]\times \cdots \times [C_{1}:D_{1}])\) and is called the SLP space with n transmission conditions, and \(\Omega \times \mathbb {B}_{s} \times \mathbb {D}_{s}\) is called the self-adjoint SLP space with n transmission conditions where pqw are real-valued.

Remark 2.1

As usual, the self-adjoint extension of SLPs with n transmission conditions need additional restrictions on \(C_{i},D_{i}\) and a new weighted Hilbert space defined as in Mukhtarov et al. (2002b, 2004), Sun and Wang (2008). With this weighted Hilbert space the operator associated with Sturm–Liouville problems with n transmission conditions is self-adjoint if and only if the associated new operator is self-adjoint, and they consist of the same eigenvalues, and satisfying the condition

$$\begin{aligned} \theta _{1}\cdots \theta _{n}AE^{-1}A^{*}=\rho _{1}\cdots \rho _{n}BE^{-1}B^{*},~~ with ~~E=\left[ \begin{array}{ll} 0 & -1 \\ 1 & 0 \\ \end{array} \right] . \end{aligned}$$

For further details of the self-adjointness of SLPs with n transmission conditions please see Sun and Wang (2008). The results in this paper are not restricted to self-adjoint problems, but include non-self-adjoint problems.

Let \(u=y, v=py'\). Then Eq. (2.1) can be transferred into the following first order system:

$$\begin{aligned} u'=rv, \ \ v'=(q-\lambda w)u, \ \ {\text {on}}\ J. \end{aligned}$$
(2.5)

Definition 2.1

By trivial solution of Eq. (2.1) on some intervals we mean a solution y which is identically zero and whose quasi-derivative \(v=py'\) is also identically zero on this interval.

Lemma 2.1

Let (2.4) hold and let \(\Phi (x,\lambda )=[\phi _{st}(x,\lambda )]\) denote the fundamental matrix of the system (2.5) determined by the initial condition \(\Phi (a,\lambda )=I\). Then a complex number \(\lambda \) is an eigenvalue of the Sturm–Liouville problem with n transmission conditions (2.1)–(2.3) if and only if

$$\begin{aligned} \Delta (\lambda )=\det [A+B\Phi (b,\lambda )]=0. \end{aligned}$$
(2.6)

And in further \(\Delta (\lambda )\) can be written as

$$\begin{aligned} \Delta (\lambda )=\det (A)+\det (B)+h_{11}\phi _{11}(b,\lambda )+h_{12}\phi _{12}(b,\lambda ) +h_{21}\phi _{21}(b,\lambda )+h_{22}\phi _{22}(b,\lambda ), \end{aligned}$$
(2.7)

where \( H=\left[ \begin{array}{cc} h_{11} & h_{12}\\ h_{21} & h_{22}\\ \end{array} \right] :=\left[ \begin{array}{cc} a_{22}b_{11}-a_{12}b_{21} & a_{11}b_{21}-a_{21}b_{11}\\ a_{22}b_{12}-a_{12}b_{22} & a_{11}b_{22}-a_{21}b_{12}\\ \end{array} \right] .\)

Proof

The proof of the first part of this lemma is similar to the one in Mukhtarov et al. (2004), hence is omitted here. And the second part comes from a straightforward computation. \(\square \)

Definition 2.2

The SLP with n transmission conditions (2.1)–(2.3), or equivalently (2.2), (2.3), (2.5) is said to be degenerate if in (2.7) either \(\Delta (\lambda )\equiv 0\) for all \(\lambda \in \mathbb {C}\) or \(\Delta (\lambda )\ne 0\) for any \(\lambda \in \mathbb {C}\).

In the derivation of our main results an important role is played by the “Continuity Principle” established in Kong et al. (1999), which reads.

Lemma 2.2

Let \(\mathscr{N}\subset \mathbb {C}\) be a bounded open set in the complex plane \(\mathbb {C}\) and let \(m\in \mathbb {N} .\) If an SLP \((\omega , \mathcal {A})\in \Omega \times \mathbb {B}\) has exactly m eigenvalues, counting multiplicity, in \(\mathscr {N}, \) and none on the boundary of \(\mathscr {N}, \) then every SLP \((\sigma , \mathcal {B})\) sufficiently close to \((\omega , \mathcal {A})\) also has exactly m eigenvalues, counting multiplicity, in \(\mathscr {N}. \)

Proof

See Kong et al. (1999), Kong and Zettl (1996). \(\square \)

This lemma can be easily generated to SLP space with n transmission conditions.

3 The Finite Spectrum of Sturm–Liouville Problems with n Transmission Conditions

In this section, we assume (2.4) holds and there exists a partition of interval J

$$\begin{aligned}&a=a^{1}_{0}<a^{1}_{1}<a^{1}_{2}<\cdots<a^{1}_{2m_{1}}<a^{1}_{2m_{1}+1}=c_{1}, {\text {on}} \ [a,c_{1}),\\&c_{1}=a^{2}_{0}<a^{2}_{1}<a^{2}_{2}<\cdots<a^{2}_{2m_{2}}<a^{2}_{2m_{2}+1}=c_{2}, {\text {on}} \ (c_{1},c_{2}),\\&\qquad \qquad \qquad \quad \cdots \cdots \cdots \cdots \cdots \cdots \end{aligned}$$
$$\begin{aligned} c_{n}=a^{n+1}_{0}<a^{n+1}_{1}<a^{n+1}_{2}<\cdots<a^{n+1}_{2m_{n+1}}<a^{n+1}_{2m_{n+1}+1}=b, {\text {on}} \ (c_{n},b], \end{aligned}$$
(3.1)

for n and some integers \(m_{i},~i=1,2,\ldots ,n+1\), such that

$$\begin{aligned} r=\frac{1}{p}=0\ {\text {on}} \ (a^{i}_{2k},a^{i}_{2k+1}),\int _{a^{i}_{2k}}^{a^{i}_{2k+1}}w\ne 0, \\ k=0,1,\ldots ,m_{i}, i=1,2,\ldots ,n+1, \end{aligned}$$
(3.2)

and

$$\begin{aligned} q=w=0\ {\text {on}}\ (a^{i}_{2k+1},a^{i}_{2k+2}), \int _{a_{2k+1}^{i}}^{a_{2k+2}^{i}}r\ne 0,\\ k=0,1,2,\ldots ,m_{i}-1,i=1,2,\ldots ,n+1. \end{aligned}$$
(3.3)

Next we let

$$\begin{aligned} r^{i}_{k}=\int _{a^{i}_{2k+1}}^{a^{i}_{2k+2}}r(x)\mathrm{d}x,k=0,1,\ldots ,m_{i}-1, i=1,2,\ldots ,n+1; \end{aligned}$$
$$\begin{aligned} q^{i}_{k}=\int _{a^{i}_{2k}}^{a^{i}_{2k+1}}q(x)\mathrm{d}x, k=0,1,\ldots ,m_{i}, i=1,2,\ldots ,n+1; \end{aligned}$$
$$\begin{aligned} w^{i}_{k}=\int _{a^{i}_{2k}}^{a^{i}_{2k+1}}w(x)\mathrm{d}x, k=0,1,\ldots ,m_{i}, i=1,2,\ldots ,n+1. \end{aligned}$$
(3.4)

These notations will be used in our iterative construction process.

Following Kong et al. (2001), Ao et al. (2011), we first determine the structure of the principal fundamental matrix of system (2.5) which, together with the “Continuity Principle”, is basic to our results.

Lemma 3.1

Let (2.4) and (3.1)–(3.3) hold. Let \(\Phi (x,\lambda )=[\phi _{st}(x,\lambda )]\) be the fundamental matrix solution of the system (2.5) determined by the initial condition \(\Phi (a,\lambda )=I\) for each \(\lambda \in \mathbb {C}, x\in [a,c_{1}) \). Then we have that

$$\begin{aligned} \Phi (a_{1}^{1},\lambda )=\left[ \begin{array}{cc} 1 & 0\\ q_{0}^{1}-\lambda w_{0}^{1} & 1\\ \end{array} \right] \Phi (a,\lambda ), \end{aligned}$$
(3.5)
$$\begin{aligned} \Phi (a_{3}^{1},\lambda )=\left[ \begin{array}{cc} 1+(q_{0}^{1}-\lambda w_{0}^{1})r_{0}^{1} & r_{0}^{1}\\ \phi _{21}^{1}(a_{3}^{1},\lambda ) & 1+(q_{1}^{1}-\lambda w_{1}^{1})r_{0}^{1} \\ \end{array} \right] , \end{aligned}$$
(3.6)

where

$$\begin{aligned} \phi _{21}^{1}(a_{3}^{1},\lambda )=(q_{0}^{1}-\lambda w_{0}^{1})+(q_{1}^{1}-\lambda w_{1}^{1})+(q_{0}^{1}-\lambda w_{0}^{1})(q_{1}^{1}-\lambda w_{1}^{1})r_{0}^{1}\ . \end{aligned}$$

And in general, for \(1\le k\le m_{1}\)

$$\begin{aligned} \Phi (a_{2k+1}^{1},\lambda )=\left[ \begin{array}{ll} 1 & r_{k-1}^{1}\\ q_{k}^{1}-\lambda w_{k}^{1} & 1+(q_{k}^{1}-\lambda w_{k}^{1})r_{k-1}^{1} \\ \end{array} \right] \Phi (a_{2k-1}^{1},\lambda ). \end{aligned}$$
(3.7)

Proof

Observe from (2.5) that u is constant on each subinterval where r is identically zero and v is constant on each subinterval where both q and w are identically zero. The result follows from repeated applications of (2.5). \(\square \)

Lemma 3.2

Let (2.4) and (3.1)–(3.3) hold. Let \(\Phi _{i}(x,\lambda )=[\phi ^{i}_{st}(x,\lambda )](x\in (c_{i},c_{i+1}),c_{n+1}=b=a^{n+1}_{2m_{n+1}+1})\) be the fundamental matrix solution of the system (2.5) determined by the initial condition \(\Phi _{i}(c_{i}+,\lambda )=I\) (here \(\Phi _{i}(c_{i}+,\lambda )=\Phi _{i}(a_{0}^{i+1},\lambda )=\Phi (c_{i}+,\lambda ), i=1,2,\ldots ,n)\) denote the right limit at point \(c_{i}\) for each \(\lambda \in \mathbb {C}\) . Then we have that

$$\begin{aligned} \Phi _{i}(a_{1}^{i+1},\lambda )=\left[ \begin{array}{cc} 1 & 0\\ q_{0}^{i+1}-\lambda w_{0}^{i+1} & 1\\ \end{array} \right] \Phi _{i}(a_{0}^{i+1},\lambda ), \end{aligned}$$
(3.8)
$$\begin{aligned} \Phi _{i}(a_{3}^{i+1},\lambda )=\left[ \begin{array}{cc} 1+(q_{0}^{i+1}-\lambda w_{0}^{i+1})r_{0}^{i+1} & r_{0}^{i+1}\\ \phi _{21}^{i+1}(a_{3}^{i+1},\lambda ) & 1+(q_{1}^{i+1}-\lambda w_{1}^{i+1})r_{0}^{i+1} \\ \end{array} \right] \end{aligned}$$
(3.9)

where

$$\begin{aligned} \phi _{21}^{i+1}(a_{3}^{i+1},\lambda )=(q_{0}^{i+1}-\lambda w_{0}^{i+1})+(q_{1}^{i+1}-\lambda w_{1}^{i+1})+(q_{0}^{i+1}-\lambda w_{0}^{i+1})(q_{1}^{i+1}-\lambda w_{1}^{i+1})r_{0}^{i+1}. \end{aligned}$$

And in general, for \(1\le k\le m_{i+1}, \)

$$\begin{aligned} \Phi _{i}(a_{2k+1}^{i+1},\lambda )=\left[ \begin{array}{cc} 1 & r_{k-1}^{j}\\ q_{k}^{i+1}-\lambda w_{k}^{i+1} & 1+(q_{k}^{i+1}-\lambda w_{k}^{i+1})r_{k-1}^{i+1} \\ \end{array} \right] \Phi _{i}(a_{2k-1}^{i+1},\lambda ). \end{aligned}$$
(3.10)

Proof

The proof is similar to the one as in Lemma 3.1. \(\square \)

Lemma 3.3

Let (2.4) and (3.1)–(3.3) hold. Let \(\Phi (x,\lambda )=[\phi _{st}(x,\lambda )]\) be the fundamental matrix solution of the system (2.5) determined by the initial condition \(\Phi (a,\lambda )=I\) for each \(\lambda \in \mathbb {C}\), and \(\Phi _{i}(x,\lambda )=[\phi ^{i}_{st}(x,\lambda )]\) be given as in Lemma 3.2. Then we have that

$$\begin{aligned} \Phi (b,\lambda )=\Phi _{n}(b,\lambda )G_{n}\Phi _{n-1}(c_{n},\lambda )G_{n-1} \Phi _{n-2}(c_{n-1},\lambda )\cdots G_{1}\Phi (c_{1},\lambda ), \end{aligned}$$
(3.11)

where \(G_{i}=(g_{st})_{2\times 2}=-D_{i}^{-1}C_{i}\), and

$$\begin{aligned} \Phi (c_{1},\lambda )=\Phi (c_{1}-,\lambda )=\Phi (a^{1}_{2m_{1}+1},\lambda ), \end{aligned}$$
$$\begin{aligned} \Phi _{i}(c_{i+1},\lambda )=\Phi _{i}(c_{i+1}-,\lambda )=\Phi _{i}(a^{i+1}_{2m_{i+1}+1},\lambda )=\Phi (c_{i+1},\lambda ),~(i=1,2,\ldots ,n-1), \end{aligned}$$
$$\begin{aligned} \Phi _{n}(b,\lambda )=\Phi _{n}(a^{n+1}_{2m_{n+1}+1},\lambda ) \end{aligned}$$

denote the left limit at point \(c_{i}(i=1,2,\ldots ,n)\) .

Proof

From the transmission conditions (2.3) we know that

$$\begin{aligned} C_{i}\Phi (c_{i}-,\lambda )+D_{i}\Phi (c_{i}+,\lambda )=0, \end{aligned}$$

thus

$$\begin{aligned} \Phi (c_{i}+,\lambda )=-D_{i}^{-1}C_{i}\Phi (c_{i}-,\lambda ). \end{aligned}$$

By using the Lemma 3.3 in Ao et al. (2011), when \(i=1\), in \((a,c_1)\cup (c_1,c_2)\), we have that

$$\begin{aligned} \Phi (c_{2},\lambda )=\Phi _{1}(c_{2},\lambda )G_{1}\Phi (c_{1},\lambda ), \end{aligned}$$

when \(i=2\), we have that in \((a,c_1)\cup (c_1,c_2)\cup (c_2,c_3),\)

$$\begin{aligned} \Phi (c_{3},\lambda )=\Phi _{2}(c_{3},\lambda )G_{2}\Phi _{1}(c_{2},\lambda )G_{1}\Phi (c_{1},\lambda ). \end{aligned}$$

By repeated application of Lemmas 3.1, 3.2 and the Lemma 3.3 in Ao et al. (2011), it can be concluded that (3.11) follows. \(\square \)

Note that \(c_{i}=a_{2m_{i}+1}^{i}=a_{0}^{i+1},\) \(b=a^{n+1}_{2m_{n+1}+1}\) and (3.11). Then the structure of fundamental matrix solution \(\Phi (b,\lambda )\) given in Lemmas 3.1, 3.2 and mathematical induction yield the following.

Corollary 3.1

If \( g_{12}^{i}\ne 0, i=1,2,\ldots ,n,\) then for the fundamental matrix \(\Phi (b,\lambda )\) we have that

$$\begin{aligned} \phi _{11}(b,\lambda )=G_{0n}\cdot \prod _{i=1}^{n-1}g_{12}^{i}\cdot \prod _{i=1}^{n+1}R_{i}\cdot \prod _{i=1}^{m_{n+1}-1}\cdot \prod _{i=0}^{m_{n}-1}\cdot \prod _{i=0}^{m_{n-1}} \cdots \prod _{i=0}^{m_{2}}\cdot \prod _{i=0}^{m_{1}}+ \tilde{\phi }_{11}(\lambda ), \end{aligned}$$
(3.12)
$$\begin{aligned} \phi _{12}(b,\lambda )=G_{0n}\cdot \prod _{i=1}^{n-1}g_{12}^{i}\cdot \prod _{i=1}^{n+1}R_{i}\cdot \prod _{i=1}^{m_{n+1}-1}\cdot \prod _{i=0}^{m_{n}-1}\cdot \prod _{i=0}^{m_{n-1}} \cdots \prod _{i=0}^{m_{2}}\cdot \prod _{i=1}^{m_{1}}+ \tilde{\phi }_{12}(\lambda ), \end{aligned}$$
(3.13)
$$\begin{aligned} \phi _{21}(b,\lambda )=G_{0n}\cdot \prod _{i=1}^{n-1}g_{12}^{i}\cdot \prod _{i=1}^{n+1}R_{i}\cdot \prod _{i=1}^{m_{n+1}}\cdot \prod _{i=0}^{m_{n}-1}\cdot \prod _{i=0}^{m_{n-1}} \cdots \prod _{i=0}^{m_{2}}\cdot \prod _{i=0}^{m_{1}}+ \tilde{\phi }_{21}(\lambda ), \end{aligned}$$
(3.14)
$$\begin{aligned} \phi _{22}(b,\lambda )=G_{0n}\cdot \prod _{i=1}^{n-1}g_{12}^{i}\cdot \prod _{i=1}^{n+1}R_{i}\cdot \prod _{i=1}^{m_{n+1}}\cdot \prod _{i=0}^{m_{n}-1}\cdot \prod _{i=0}^{m_{n-1}} \cdots \prod _{i=0}^{m_{2}}\cdot \prod _{i=1}^{m_{1}}+ \tilde{\phi }_{22}(\lambda ), \end{aligned}$$
(3.15)

where

$$\begin{aligned} G_{0n}=[g_{12}^{n}(q_{m_{n}}^{n}-\lambda \omega _{m_{n}}^{n})(q_{0}^{n+1}-\lambda \omega _{0}^{n+1})+ g_{11}^{n}(q_{0}^{n+1}-\lambda \omega _{0}^{n+1})+ g_{22}^{n}(q_{m_{n}}^{n}-\lambda \omega _{m_{n}}^{n})+g_{21}^{n}], \end{aligned}$$
$$\begin{aligned} R_{i}=\prod _{k=0}^{m_{i}-1}r_{k}^{i}, i=1,2,\ldots ,n+1, \end{aligned}$$
$$\begin{aligned} \prod _{k=1}^{m_{n+1}-1}=\prod _{k=1}^{m_{n+1}-1}(q_{k}^{n+1}-\lambda w_{k}^{n+1}), \end{aligned}$$
$$\begin{aligned} \prod _{k=0}^{m_{n}-1}=\prod _{k=0}^{m_{n}-1}(q_{k}^{n}-\lambda w_{k}^{n}), \end{aligned}$$
$$\begin{aligned} \prod _{k}^{m_{i}}=\prod _{k}^{m_{i}}(q_{k}^{i}-\lambda w_{k}^{i}),\;i=1,2,\ldots ,n-1, \end{aligned}$$

\(\tilde{\phi }_{st}(\lambda )=o(\prod _{i=1}^{n+1}R_{i}),~ s,t=1,2\) as min \(\{r_{k}^{i}\}\rightarrow \infty \) for fixed qw and \(\lambda .\)

From Corollary 3.1 we can see that each of the entries in \(\Phi \) (i.e. \(\phi _{st},~s,t=1,2\)) is a polynomial of \(\lambda \).

Now we construct regular SLPs with n transmission conditions (2.3) with general self-adjoint and non-self-adjoint BCs (2.2) which have exactly m eigenvalues for each \(m\in \mathbb {N}\).

Theorem 3.1

Let \(m_{i}\in \mathbb {N}(i=1,2,\ldots ,n+1)\), \(g_{12}^{i}\ne 0, i=1,2,\ldots ,n,\) and let (2.4) and (3.1)–(3.3) hold. Let \(H=(h_{st})_{2\times 2}\) be defined as in Lemma 2.1. Then:

  1. (1)

    If \(h_{21}\ne 0,\) then the SLP with n transmission conditions (2.1)–(2.3) has exactly \(\sum _{i=1}^{n+1}m_{i}+n+1\) eigenvalues \(\lambda _{j}, j=0,1,\ldots ,\sum _{i=1}^{n+1}m_{i}+n.\)

  2. (2)

    If \(h_{21}= 0,\) and \(h_{11}\omega _{0}^{1}+h_{22}\omega _{m_{n +1}}^{n+1}\ne 0\) , then the SLP with n transmission conditions (2.1)–(2.3) has exactly \(\sum _{i=1}^{n+1}m_{i}+n\) eigenvalues \(\lambda _{j}, j=0,1,\ldots ,\sum _{i=1}^{n+1}m_{i}+n-1.\)

  3. (3)

    If \(h_{21}=h_{11}=h_{22}= 0,\) but \(h_{12}\ne 0,\) then the SLP with n transmission conditions (2.1)–(2.3) has exactly \(\sum _{i=1}^{n+1}m_{i}+n-1\) eigenvalues \(\lambda _{j}, j=0,1,\ldots ,\sum _{i=1}^{n+1}m_{i}+n-2.\)

  4. (4)

    If none of the above conditions holds, then the SLP with n transmission conditions (2.1)–(2.3) either has l eigenvalues for \(l\in \{1,2,\ldots ,\sum _{i=1}^{n+1}m_{i}+n-2\}\) or is degenerate.

Proof

We prove the case (1), and the other cases can be proved in the same way. From Lemma 2.1 we know that

$$\begin{aligned} \Delta (\lambda )=\det (A)+\det (B)+h_{11}\phi _{11}(b,\lambda )+h_{12}\phi _{12}(b,\lambda ) +h_{21}\phi _{21}(b,\lambda )+h_{22}\phi _{22}(b,\lambda ), \end{aligned}$$

note that from (3.2) and Corollary 3.1 that the degree of \(\phi _{11}(b,\lambda ), \phi _{12}(b,\lambda ), \phi _{21}(b,\lambda ),\) \(\phi _{22}(b,\lambda )\) in \(\lambda \) are \(\sum _{i=1}^{n+1}m_{i}+n,~ \sum _{i=1}^{n+1}m_{i}+n-1, ~\sum _{i=1}^{n+1}m_{i}+n+1, ~\sum _{i=1}^{n+1}m_{i}+n,\) respectively. Thus when \(h_{21}\ne 0,\) we can conclude from (2.7) that the characteristic function \(\Delta (\lambda )\) is also a polynomial function of \(\lambda \) and with the degree of \(\sum _{i=1}^{n+1}m_{i}+n+1,\) hence from Fundamental Theorem of Algebra we know that \(\Delta (\lambda )\) has exactly \(\sum _{i=1}^{n+1}m_{i}+n+1\) roots, i.e. SLP (2.1)–(2.3) has exactly \(\sum _{i=1}^{n+1}m_{i}+n+1\) eigenvalues. Then we complete the proof of case (1). \(\square \)

Theorem 3.2

Let \(m_{i}\in \mathbb {N}(i=1,2,\ldots ,n+1)\), \(g_{12}^{n}= 0,\) but \(g_{11}^{n}\omega _{0}^{n+1}+g_{22}^{n}\omega _{m_{n}}^{n}\ne 0,\) \(g_{12}^{i}\ne 0, i=1,2,\ldots ,n-1,\) and let (2.4) and (3.1)–(3.3) hold. Let \(H=(h_{st})_{2\times 2}\) be defined as in Lemma 2.1. Then:

  1. (1)

    If \(h_{21}\ne 0,\) then the SLP with n transmission conditions (2.1)–(2.3) has exactly \(\sum _{i=1}^{n+1}m_{i}+n\) eigenvalues \(\lambda _{j}, j=0,1,\ldots ,\sum _{i=1}^{n+1}m_{i}+n-1.\)

  2. (2)

    If \(h_{21}= 0,\) and \(h_{11}\omega _{0}^{1}+h_{22}\omega _{m_{n +1}}^{n+1}\ne 0\), then the SLP with n transmission conditions (2.1)–(2.3) has exactly \(\sum _{i=1}^{n+1}m_{i}+n-1\) eigenvalues \(\lambda _{j}, j=0,1,\ldots ,\sum _{i=1}^{n+1}m_{i}+n-2.\)

  3. (3)

    If \(h_{21}=h_{11}=h_{22}= 0,\) but \(h_{12}\ne 0,\) then the SLP with n transmission conditions (2.1)–(2.3) has exactly \(\sum _{i=1}^{n+1}m_{i}+n-2\) eigenvalues \(\lambda _{j}, j=0,1,\ldots ,\sum _{i=1}^{n+1}m_{i}+n-3.\)

  4. (4)

    If none of the above conditions holds, then the SLP with n transmission conditions (2.1)–(2.3) either has l eigenvalues for \(l\in \{1,2,\ldots ,\sum _{i=1}^{n+1}m_{i}+n-3\}\) or is degenerate.

Proof

The proof is similar with Theorem 3.1 only by noting that \(g_{12}^{n}= 0,\) but \(g_{11}^{n}\omega _{0}^{n+1}+g_{22}^{n}\omega _{m_{n}}^{n}\ne 0,\) and the degree of \(\lambda \) will decrease by one, hence is omitted here. \(\square \)

The next theorem will show that these eigenvalues can be located anywhere in the complex plane in the non-self-adjoint case and anywhere along the real line in the self-adjoint case.

Theorem 3.3

Given any k disjoint open sets \(\mathscr {N}_{i}\) in \(\mathbb {C}\) and any k integers \(n_{i}\) , there exists an SLP with n transmission conditions with exactly \(n_{i}\) eigenvalues in \(\mathscr {N}_{i},\) for \(i=1,2,\ldots ,k.\) Given any k disjoint open intervals \(J_{i}\) of the real line and any k integers \(n_{i}\) , there exists a self-adjoint SLP with n transmission conditions with exactly \(n_{i}\) eigenvalues in the intervals \(J_{i},\) for \(i=1,2,\ldots ,k.\)

Proof

We prove the former case, and the latter can be proved in the same way. Let \(\sum _{i=1}^{n+1}m_{i}+n=\sum _{i=1}^{k}n_{i}.\) Construct an SLP with n transmission conditions in the form of (2.1), (2.2) and (2.3) with the assumptions (2.4) and (3.1)–(3.4), \(g_{12}^{i}\ne 0, i=1,2,\ldots ,n,\) \(a_{11}=a_{21}=a_{22}= b_{22}= 0,\) and \(a_{12}=b_{21}=1(or a_{11}=a_{12}=a_{21}= b_{12}= 0, a_{22}=b_{11}=1).\) Then by Corollary 3.1 the characteristic function defined by (2.7) becomes

$$\begin{aligned} \Delta (\lambda )=\phi _{11}(b,\lambda )=G_{0n}\cdot \prod _{i=1}^{n-1}g_{12}^{i}\cdot \prod _{i=1}^{n+1}R_{i}\cdot \prod _{i=1}^{m_{n+1}-1}\cdot \prod _{i=0}^{m_{n}-1}\cdot \prod _{i=0}^{m_{n-1}} \cdots \prod _{i=0}^{m_{2}}\cdot \prod _{i=0}^{m_{1}}+ \tilde{\phi }_{11}(\lambda ), \end{aligned}$$
(3.16)

where \(\tilde{\phi }_{11}(\lambda )=o(\prod _{i=1}^{n+1}R_{i})\) as min\(\{r_{k}^{i}\}\rightarrow \infty \) for fixed qw and \(\lambda .\) Since q and w can be chosen arbitrarily, we can choose them such that

$$\begin{aligned} \tilde{\Delta }(\lambda ):= \prod _{i=0}^{m_{n+1}-1}\cdot \prod _{i=0}^{m_{n}}\cdot \prod _{i=0}^{m_{n-1}} \cdots \prod _{i=0}^{m_{2}}\cdot \prod _{i=0}^{m_{1}} \end{aligned}$$

has exactly \(n_{i}\) roots in \(\mathscr{N}_{i}\) and none on the boundary of \(\mathscr{N}_{i}, i=1,2,\ldots ,k.\) Choose \(r_{k}^{i}, k=0,1,2,\ldots ,m_{n+1}-1, i=1,2,\ldots , n\) and \(|g_{12}^{n}|\) so large that

$$\begin{aligned} |\tilde{\phi }_{11}(\lambda )|<|g_{12}^{n}|\cdot |\prod _{i=1}^{n-1}g_{12}^{i}|\cdot \prod _{i=1}^{n+1}R_{i}\cdot \prod _{i=0}^{m_{n+1}-1}\cdot \prod _{i=0}^{m_{n}}\cdot \prod _{i=0}^{m_{n-1}} \cdots \prod _{i=0}^{m_{2}}\cdot \prod _{i=0}^{m_{1}}. \end{aligned}$$
(3.17)

Then it follows from Rouche’s theorem that the \(\Delta (\lambda )\) has exactly \(n_{i}\) roots in \(\mathscr {N}_{i}, i=1,2,\ldots , k.\)

The other case of \(\Delta (\lambda )\) can be proved similarly. \(\square \)

Remark 3.1

If \(n=0\), the results will reduce to the finite spectrum of general SLP in Kong et al. (2001). If \(n=1\), the results will reduce to the results in Ao et al. (2011), where only one transmission condition at an interior point is considered.

Finally, we give an example to illustrate our main result.

Example 1

Let \(n=2\) and consider the SLP with two transmission conditions

$$\begin{aligned} \left\{ \begin{array}{ll} &-(py^{\prime })^{\prime }+qy=\lambda wy ,\; on \; J=(-5,-2)\cup (-2,1)\cup (1,6), \\ &(py^{\prime })(-5)=0, \ \ y(6)=0, \\ &-2(py^{\prime })(-2-)+y(-2+)=0, \ \ y(-2-)+(py^{\prime })(-2+)=0, \\ &2y(1-)-(py^{\prime })(1+)=0, \ \ (py^{\prime })(1-)+y(1+)=0. \end{array} \right. \end{aligned}$$
(3.18)

Choose \(m_1=1,~m_2=1,~m_3=2\) and suppose p,  q,  w are piecewise polynomial functions defined as follows:

$$\begin{aligned} p(x)=\left\{ \begin{array}{ll} \infty ,~~~~(-5,-4) & \\ ~~1,~~~~(-4,-3) & \\ \infty ,~~~~(-3,-2) & \\ \infty ,~~~~(-2,-1) & \\ 1/2,~~~~(-1,0) & \\ \infty ,~~~~(0,1) & \\ \infty ,~~~~(1,2) & \\ ~~1,~~~~(2,3) & \\ \infty ,~~~~(3,4) & \\ 1/2,~~~~(4,5) & \\ \infty ,~~~~(5,6), \end{array} \right. ~~~~q(x)=\left\{ \begin{array}{ll} 0,~~~~(-5,-4) & \\ 0,~~~~(-4,-3) & \\ 1,~~~~(-3,-2) & \\ 2,~~~~(-2,-1) & \\ 0,~~~~(-1,0) & \\ -1,~~~~(0,1) & \\ 1,~~~~(1,2) & \\ 0,~~~~(2,3) & \\ 3,~~~~(3,4) & \\ 0,~~~~(4,5) & \\ 1,~~~~(5,6), \end{array} \right. ~~~~w(x)=\left\{ \begin{array}{ll} 1,~~~~(-5,-4) & \\ 0,~~~~(-4,-3) & \\ 1,~~~~(-3,-2) & \\ 1,~~~~(-2,-1) & \\ 0,~~~~(-1,0) & \\ 1,~~~~(0,1) & \\ 1,~~~~(1,2) & \\ 0,~~~~(2,3) & \\ 1,~~~~(3,4) & \\ 0,~~~~(4,5) & \\ 1,~~~~(5,6). \end{array} \right. \end{aligned}$$
(3.19)

From (3.18) we have

$$\begin{aligned} A=\left[ \begin{array}{ll} 0&1\\ 0&0\\ \end{array}\right] , ~~~~B=\left[ \begin{array}{ll} 0&0\\ 1&0\\ \end{array}\right] , ~~~~C_1=\left[ \begin{array}{ll} 0&-2\\ 1&~~0\\ \end{array}\right] , ~~~~D_1=\left[ \begin{array}{ll} 1&0\\ 0&1\\ \end{array}\right] , \end{aligned}$$
$$\begin{aligned} C_2=\left[ \begin{array}{ll} 2&0\\ 0&1\\ \end{array}\right] , \;\; D_2=\left[ \begin{array}{ll} 0&-1\\ 1&0\\ \end{array}\right] , \end{aligned}$$

and

$$\begin{aligned} \mathbf {det}(C_1)=2>0, \quad \mathbf {det}(D_1)=1>0, \quad \mathbf {det}(C_2)=2>0, \quad \mathbf {det}(D_2)=1>0, \end{aligned}$$
$$\begin{aligned} G_1=-D_1^{-1}C_1=\left[ \begin{array}{ll} 0&2\\ -1&0\\ \end{array}\right] ,~G_2=-D_2^{-1}C_2=\left[ \begin{array}{ll} 0&1\\ -2&0\\ \end{array}\right] ,~g^1_{12}=2\ne 0,~g^2_{12}=1\ne 0. \end{aligned}$$

By deduction it can be obtained that the characteristic function

$$\begin{aligned} \Delta (\lambda )=-8\lambda ^{6}+92\lambda ^{5}-348 \lambda ^{4}+398\lambda ^{3}+357\lambda ^{2}-849\lambda +224. \end{aligned}$$

Hence the SLP (3.18), (3.19) has exactly \( {m_1}+{m_2}+{m_3}+n=6 \) eigenvalues

$$\begin{aligned} \lambda _{0}=-1.2260,~~\lambda _{1}=0.3174,~~\lambda _{2}=1.9598,~~ \lambda _{3}=2.3213,~~\lambda _{4}=3.2305,~~\lambda _{5}=4.8971. \end{aligned}$$