## Boundary Value Problems

Impact Factor 0.819

Open Access

# Homoclinic and heteroclinic solutions for a class of second-order non-autonomous ordinary differential equations: multiplicity results for stepwise potentials

Boundary Value Problems20132013:167

DOI: 10.1186/1687-2770-2013-167

Accepted: 11 June 2013

Published: 15 July 2013

## Abstract

We prove some multiplicity results for a class of one-dimensional nonlinear Schrödinger-type equations of the form

${x}^{″}+2kx-2g\left(t\right){x}^{3}=0,$

where $k>0$ and the weight $g\left(t\right)$ is a positive stepwise function. Instead of the cubic term, more general nonlinearities can be considered as well.

MSC: 34C37, 34B15.

### Keywords

homoclinic solutions heteroclinic solutions multiplicity nonlinear Schrödinger equation stepwise potential topological methods

## Dedication

Dedicated to Professor Jean Mawhin

## 1 Introduction

This paper deals with the study of homoclinic and heteroclinic solutions for a class of nonlinear second-order differential equations of the form
${x}^{″}+\sigma x-a\left(t\right)h\left(x\right)=0,$
(1.1)
where $\sigma >0$ is a fixed (positive) coefficient and $a\left(\cdot \right):\mathbb{R}\to {\mathbb{R}}_{0}^{+}:=\phantom{\rule{0.2em}{0ex}}\right]0,+\mathrm{\infty }\right)$ is a bounded weight function. For the nonlinear term, which we split as
$h\left(x\right)=xf\left(x\right),$

we suppose that

() $f:\mathbb{R}\to {\mathbb{R}}^{+}:=\left[0,+\mathrm{\infty }\right)$ is a locally Lipschitz function which is even, strictly increasing on $\left[0,+\mathrm{\infty }\right)$ such that $f\left(0\right)=0$ and $f\left(+\mathrm{\infty }\right)=+\mathrm{\infty }$.

Examples of functions f which are suitable for our considerations are, for instance, $f\left(s\right)={s}^{2}$ as in [1], or $f\left(s\right)={s}^{2}+b{s}^{4}$ ($b>0$) as in [2]. In both these cases, the function f is even. In Section 3 we briefly describe how this restriction could be avoided.

Equations of the form (1.1) naturally arise in the search of particular solutions for some classes of nonlinear Schrödinger equations (NLSE) with inhomogeneous nonlinearities. Typical examples are related to the NLSE
$iħ\frac{\partial \mathrm{\Psi }}{\partial t}=-\frac{{ħ}^{2}}{2m}\mathrm{\Delta }\mathrm{\Psi }+{V}_{1}\left(x\right)\mathrm{\Psi }+{V}_{2}\left(x\right){|\mathrm{\Psi }|}^{p-1}\mathrm{\Psi },\phantom{\rule{1em}{0ex}}x\in {\mathbb{R}}^{N},$
(1.2)
where ħ is the Planck constant, m is the particle’s mass, i is the imaginary unit, Δ is the Laplace operator and $p>1$. In literature, solutions of the form
$\mathrm{\Psi }\left(t,x\right)=u\left(x\right)exp\left(i\lambda {ħ}^{-1}t\right),$
where $\lambda \in \mathbb{R}$ and $u\left(x\right)$ is a real-valued function, are called stationary waves. Their search leads to the equation
$-\frac{{ħ}^{2}}{2m}\mathrm{\Delta }u+\lambda u+{V}_{1}\left(x\right)u-{V}_{2}\left(x\right){|u|}^{p-1}u=0,\phantom{\rule{1em}{0ex}}x\in {\mathbb{R}}^{N}$
(1.3)

(see [3]). Usually, the Planck constant and the mass are omitted in (1.3) after rescaling.

In many significant models of NLSE, one-dimensional waves are considered. They are studied, for example, in nonlinear optics, in the theory of ocean rogue waves and for Bose-Einstein condensates (just to mention a few cases). For instance, in [1], Belmonte-Beitia and Torres analyzed the one-dimensional equation
$-\frac{1}{2}{u}^{″}+\lambda u+g\left(x\right){u}^{3}=0,\phantom{\rule{1em}{0ex}}x\in \mathbb{R},$
(1.4)

which is a particular case of (1.3) with $N=1$, $p=3$ and ${V}_{1}=0$. In equation (1.4) the nonlinearity is called inhomogeneous due to the presence of a non-constant weight ${V}_{2}\left(x\right)=g\left(x\right)$, which in [1] is assumed to be positive. The sign condition on $g\left(x\right)$ implies that nontrivial bounded solutions of (1.4) can exist only for $\lambda <0$ (see [[1], Theorem 1]). For this reason, we prefer to set $\lambda =-k$ with $k>0$.

In order to study equation (1.4) or its variants, we are going to follow a dynamical system approach, hence we choose to treat the independent variable (which in the applications has a spatial connotation) as a time variable, via the substitution $x⟷t$. Similarly, for the dependent variable, we make the substitution $u⟷x$. In this way, equation (1.4) reads as
${x}^{″}+2kx-2g\left(t\right){x}^{3}=0,$
(1.5)

which belongs to the same class of (1.1).

In spite of the apparent simplicity of equation (1.5), a throughout study of its solutions may be a rather difficult task for a general nonconstant weight function $g\left(t\right)$. Looking for homoclinic and heteroclinic solutions of (1.5), it will be natural to focus on the behavior of $g\left(t\right)$ at ±∞. In similar situations, various authors have confined their study to the case in which $g\left(t\right)$ is asymptotically constant [46], or eventually constant [7, 8]. These assumptions are also justified by the analysis of some physical underlying models, in which a layered structure is present. With this respect, see the introduction in [8], where different eventually autonomous cases are listed for related NLSEs arising in nonlinear optics. Examples in which the nonlinear term presents a piecewise constant weight function have been studied also in biological and chemical models. In particular, these situations occur in the theory of wave propagation for reaction-diffusion systems; see, for instance, [911]. In the context of equation (1.5), examples in which $g\left(t\right)$ is a piecewise constant function have been considered as well (see [12]).

The aim of the present paper is to provide multiplicity results regarding homoclinic and heteroclinic solutions for equation (1.1) under particular assumptions on the weight function $a\left(t\right)$. Actually, we suppose that $a\left(t\right)$ is an eventually constant piecewise function with only two steps.

Our approach combines phase-plane analysis with time-mapping estimates. As in [5, 7, 8, 10, 11, 13], the solutions are obtained by connecting the unstable and stable manifolds of the equilibrium points of the asymptotically autonomous equations. Such connections are performed by means of orbit paths of an intermediate equation, which represents the behavior of the system during a suitable interval of transition $\left[{t}_{-},{t}_{+}\right]$ between the asymptotic states. Multiple connecting solutions arise when such interval length is sufficiently large. Lower estimates for ${t}_{+}-{t}_{-}$ will be provided in terms of time mappings, which can be expressed by Abelian integrals. This kind of approach is also reminiscent of some topological methods for the study of Sturm-Liouville boundary value problems. Indeed, a solution that satisfies the Sturm-Liouville boundary conditions can be interpreted as a trajectory in the phase-plane that connects two lines (see [1417]). Generalized Sturm-Liouville solutions, which connect the graphs of two functions or given planar continua, have been considered as well (see [1820]). Often these problems can be settled in the framework of the theory of ODEs with nonlinear boundary conditions (see [21, 22]).

In order to make our approach more transparent, we are going to perform our analysis for equation (1.5). This choice is motivated by the sake of avoiding unnecessary technicalities. Our arguments can be modified in a straightforward manner in the case of more general equation (1.1), with f satisfying () (see Section 3). Homoclinic and heteroclinic orbits can be interpreted as solutions for some boundary value problems on unbounded intervals. In the last section we also outline possible applications of our approach to boundary value problems on a compact interval (like the Sturm-Liouville one).

Besides his manifold achievements in different areas of mathematics, Professor Jean Mawhin is one of the pioneers in the study of topological methods for nonlinear boundary value problems. It is a pleasure and an honor to have the possibility to dedicate our work to his important contributions in this area.

## 2 Homoclinic and heteroclinic solutions: multiplicity results

### 2.1 General setting

We consider the second-order nonlinear differential equation
${x}^{″}+2kx-2g\left(t\right){x}^{3}=0$
(2.1)
and its equivalent system in the phase-plane
$\left\{\begin{array}{c}{x}^{\prime }=y,\hfill \\ {y}^{\prime }=-2kx+2g\left(t\right){x}^{3},\hfill \end{array}$
(2.2)

where $k>0$ is a fixed coefficient and $g:\mathbb{R}\to {\mathbb{R}}_{0}^{+}:=\phantom{\rule{0.2em}{0ex}}\right]0,+\mathrm{\infty }\right)$ is a bounded measurable function. Solutions of (2.1) are meant in the generalized (i.e., Carathéodory) sense (see [23]). Actually, in our results a step function $g\left(t\right)$ with only two jumps is considered and the solutions are piecewise smooth.

In the particular case of a constant coefficient $g\left(t\right)\equiv \mu >0$, an elementary analysis of the system
$\left\{\begin{array}{c}{x}^{\prime }=y,\hfill \\ {y}^{\prime }=-2kx+2\mu {x}^{3}\hfill \end{array}$
(2.3)
shows that the associated phase portrait presents a center $O=\left(0,0\right)$ and two saddle points ${P}_{±}:=\left(±{\left(k/\mu \right)}^{\frac{1}{2}},0\right)$. These saddles are connected by two heteroclinic solutions (one connecting ${P}_{-}$ to ${P}_{+}$ in the upper half-plane and a symmetric one from ${P}_{+}$ to ${P}_{-}$ in the lower half-plane). The heteroclinic orbits are described by
(2.4)

In [1] Belmonte-Beitia and Torres supposed that the weight function $g\left(t\right)$ is even and T-periodic and proved the existence of a heteroclinic solution connecting two periodic stationary states. Such a result generalizes to the case of periodic coefficients the situation described above for the autonomous system.

As already observed in the introduction, equation (2.1) has been already studied by various authors for its relevance in many applicative models. The aim of the present paper is to provide multiplicity results for heteroclinic and also homoclinic solutions of equation (2.1). A possible way to obtain this goal is to assume that the weight function $g\left(t\right)$ has a different behavior at infinity and in some intermediate time interval. In this setting, a first step consists of analyzing the situation in which $g\left(t\right)$ is a stepwise function assuming only two values. We believe that the study of such a simplified case may lead to more general considerations, in which, for instance, $g\left(t\right)$ is eventually periodic. In this way, multiplicity results for Belmonte-Beitia and Torres’s model can be obtained (see Section 3 for a brief overview concerning possible applications of our approach). Equation (2.1) with a periodic stepwise coefficient $g\left(t\right)$ has recently been studied in [24] in the context of chaotic-like dynamics.

As a tool, in our paper, we use the Poincaré map associated to system (2.2). Given a fixed time interval $\left[{t}_{0},{t}_{1}\right]$ and a point $z\in {\mathbb{R}}^{2}$, we indicate by $\zeta \left(\cdot ,{t}_{0},z\right)$ the solution $\zeta \left(t\right)=\left(x\left(t\right),y\left(t\right)\right)$ of (2.2) satisfying the initial condition $\zeta \left({t}_{0}\right)=z$. The Poincaré map on $\left[{t}_{0},{t}_{1}\right]$ is defined as
$\mathrm{\Phi }={\mathrm{\Phi }}_{{t}_{0}}^{{t}_{1}}:z↦\zeta \left({t}_{1},{t}_{0},z\right).$

From the fundamental theory of differential equations it follows that the domain ${D}_{\mathrm{\Phi }}$ of Φ is an open subset of the plane and Φ is an orientation preserving homeomorphism of ${D}_{\mathrm{\Phi }}$ onto its image $\mathrm{\Phi }\left({D}_{\mathrm{\Phi }}\right)$.

### 2.2 Analysis of the equation

Let us consider system (2.2) for the stepwise weight function $g\left(t\right)$, defined as
(2.5)
where
${t}_{-}<{t}_{+}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}0<{\mu }_{0}<{\mu }_{1}.$
System (2.2) can be seen as the superposition of the autonomous systems
$\left\{\begin{array}{c}{x}^{\prime }=y,\hfill \\ {y}^{\prime }=-2kx+2{\mu }_{1}{x}^{3}\hfill \end{array}$
(2.6)
and
$\left\{\begin{array}{c}{x}^{\prime }=y,\hfill \\ {y}^{\prime }=-2kx+2{\mu }_{0}{x}^{3}.\hfill \end{array}$
(2.7)
The first one describes the asymptotic behavior of the equation. We are going to use the orbits of the second system for connecting unstable/stable manifolds of (2.6) during the time interval $\left[{t}_{-},{t}_{+}\right]$. Figure 1 shows the superposition of the phase portraits of the two systems.
First of all, we briefly analyze the structure of system (2.6). Its equilibrium points are the origin (which is a center) and two saddle points ${P}_{±}=\left(±{\xi }_{1},0\right)$, where
${\xi }_{1}:={\left(k/{\mu }_{1}\right)}^{\frac{1}{2}}.$
The stable and unstable manifolds of ${P}_{±}$ are illustrated in Figure 2. The sets $\mathcal{I}\left({P}_{-}\right)\cup \mathcal{L}\left({P}_{+},{P}_{-}\right)$ and $\mathcal{O}\left({P}_{-}\right)\cup \mathcal{L}\left({P}_{-},{P}_{+}\right)$ are, respectively, the stable and the unstable manifolds of ${P}_{-}$. Symmetrically, $\mathcal{I}\left({P}_{+}\right)\cup \mathcal{L}\left({P}_{-},{P}_{+}\right)$ and $\mathcal{O}\left({P}_{+}\right)\cup \mathcal{L}\left({P}_{+},{P}_{-}\right)$ are the stable and the unstable manifolds of ${P}_{+}$.
In the case of the cubic nonlinearity, we find
$\begin{array}{c}\mathcal{I}\left({P}_{-}\right)=\left\{\left(x,y\right):y=|{\mu }_{1}{x}^{2}-k|/\sqrt{{\mu }_{1}},x<-{\left(k/{\mu }_{1}\right)}^{\frac{1}{2}}\right\},\hfill \\ \mathcal{O}\left({P}_{-}\right)=\left\{\left(x,y\right):y=-|{\mu }_{1}{x}^{2}-k|/\sqrt{{\mu }_{1}},x<-{\left(k/{\mu }_{1}\right)}^{\frac{1}{2}}\right\},\hfill \\ \mathcal{I}\left({P}_{+}\right)=\left\{\left(x,y\right):y=-|{\mu }_{1}{x}^{2}-k|/\sqrt{{\mu }_{1}},x>{\left(k/{\mu }_{1}\right)}^{\frac{1}{2}}\right\},\hfill \\ \mathcal{O}\left({P}_{+}\right)=\left\{\left(x,y\right):y=|{\mu }_{1}{x}^{2}-k|/\sqrt{{\mu }_{1}},x>{\left(k/{\mu }_{1}\right)}^{\frac{1}{2}}\right\},\hfill \\ \mathcal{L}\left({P}_{-},{P}_{+}\right)=\left\{\left(x,y\right):y=|{\mu }_{1}{x}^{2}-k|/\sqrt{{\mu }_{1}},-{\left(k/{\mu }_{1}\right)}^{\frac{1}{2}}

The solutions of system (2.2) with $g\left(t\right)$ defined as in (2.5) will be obtained by connecting suitably chosen parts of stable and unstable manifolds of (2.6) with trajectories of (2.7). More in detail, we proceed as follows.

Due to the Hamiltonian nature of the equation under consideration, we can consider the ‘energy’ level lines of system (2.7), given by
$E\left(x,y\right):={y}^{2}+2k{x}^{2}-{\mu }_{0}{x}^{4}=c.$
(2.8)
We also set
${\mathrm{\Gamma }}^{c}:=\left\{\left(x,y\right):-{\xi }_{0}\le x\le {\xi }_{0},E\left(x,y\right)=c\right\},$
where
${\xi }_{0}:={\left(k/{\mu }_{0}\right)}^{\frac{1}{2}}.$
The curve ${\mathrm{\Gamma }}^{c}$ is the part of the line at level $c\in \mathbb{R}$ in the strip $\left[-{\xi }_{0},{\xi }_{0}\right]×\mathbb{R}$. For every c such that
$0
the set ${\mathrm{\Gamma }}^{c}$ is a periodic orbit of (2.7) run in the clockwise sense, which intersects the y-axis at the points $\left(0,±\sqrt{c}\right)$. The (minimal) period ${\tau }_{c}$ of ${\mathrm{\Gamma }}^{c}$ can be expressed by the following time-mapping formula:
${\tau }_{c}=2{\int }_{{s}_{0}}^{{s}_{1}}\frac{dx}{\sqrt{c-2F\left(x\right)}},$
(2.9)
where $F\left(x\right)$ is the potential associated to the equation and ${s}_{0}$, ${s}_{1}$ are such that
In our case,
$F\left(x\right)=k{x}^{2}-\frac{{\mu }_{0}}{2}{x}^{4}$
and by symmetry ${s}_{0}=-{s}_{1}$. More in detail, we can express the period ${\tau }_{c}$ by means of an elliptic integral in the following way:
${\tau }_{c}=\frac{4}{{\mu }_{0}}{\int }_{0}^{{s}_{1}}\frac{dx}{\sqrt{\left({a}^{2}-{x}^{2}\right)\left({b}^{2}-{x}^{2}\right)}},$
(2.10)
for $a:={s}_{1}$, $b:={\left(\frac{2{k}^{2}}{{\mu }_{0}^{2}}-{s}_{1}^{2}\right)}^{1/2}$ and $0<{s}_{1}<{\xi }_{0}$, $0. Notice that $0 in (2.10). Therefore
${\tau }_{c}=\frac{4}{b{\mu }_{0}}{sn}^{-1}\left(1,a/b\right),$

where $sn\left(\cdot ,k\right)$ is the Jacobi elliptic sine function of modulus $k:=a/b$ (see [25, 26]).

The level line ${\mathrm{\Gamma }}^{{\ell }_{0}}$ contains the saddle points ${Q}_{±}:=\left(±{\xi }_{0},0\right)$ of system (2.7) and their heteroclinic connections $\mathcal{L}\left({Q}_{-},{Q}_{+}\right)$ in the upper half-plane and $\mathcal{L}\left({Q}_{+},{Q}_{-}\right)$ in the lower half-plane. The energy level
${\ell }_{1}:=\frac{{k}^{2}}{{\mu }_{1}}$
corresponds to the closed curve ${\mathrm{\Gamma }}^{{\ell }_{1}}$, which is tangent to $\mathcal{L}\left({P}_{-},{P}_{+}\right)$ and $\mathcal{L}\left({P}_{+},{P}_{-}\right)$. Moreover, for
${\ell }^{\ast }:=\frac{{k}^{2}}{{\mu }_{1}}\left(2-\frac{{\mu }_{0}}{{\mu }_{1}}\right),$

the energy level line ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$ contains the saddle points ${P}_{±}$ of system (2.6).

Using the parameters ${\ell }_{0}$, ${\ell }_{1}$ and ${\ell }^{\ast }$, we define the regions
$\begin{array}{c}\mathcal{E}:=\left\{\left(x,y\right):-{\xi }_{0}\le x\le {\xi }_{0},{\ell }_{1}\le E\left(x,y\right)\le {\ell }^{\ast }\right\},\hfill \\ \mathcal{F}:=\left\{\left(x,y\right):-{\xi }_{0}\le x\le {\xi }_{0},{\ell }^{\ast }
Both and are invariant sets for (2.7); they are filled by periodic orbits. In the sequel, the orbits in the region will be called internal, while those in will be called external. The choice of these names is made in order to distinguish the trajectories with respect to ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$, which contains the saddle points ${P}_{±}$ of system (2.6). (See Figure 3.)

In order to obtain homoclinic or heteroclinic solutions for system (2.2) with $g\left(t\right)$ defined as in (2.5), we connect the unstable manifold of the point $A\in \left\{{P}_{-},{P}_{+}\right\}$ to the stable manifold of $B\in \left\{{P}_{-},{P}_{+}\right\}$ via an orbit path of ${\mathrm{\Gamma }}^{c}$ for $c\in \left[{\ell }_{1},{\ell }_{0}\left[$. Actually, this is the only way to get the desired solutions. If $c\le {\ell }^{\ast }$, such connection will follow a trajectory $\left(x\left(t\right),y\left(t\right)\right)$ with $-{\xi }_{0}\le x\left(t\right)\le {\xi }_{0}$, so it will lie in the invariant annular region bounded by ${\mathrm{\Gamma }}^{{\ell }_{1}}$ and ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$. On the contrary, for $c>{\ell }^{\ast }$ the connection lies in the set between ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$ and ${\mathrm{\Gamma }}^{{\ell }_{0}}$.

To provide more explicit details, we consider the case $A={P}_{+}$. A solution of (2.2), which is homoclinic to ${P}_{+}$, can be produced in two ways. One consists in connecting $\mathcal{O}\left({P}_{+}\right)$ to $\mathcal{I}\left({P}_{+}\right)$, using an orbit path of ${\mathrm{\Gamma }}^{c}$ for $c\in \phantom{\rule{0.2em}{0ex}}\right]{\ell }^{\ast },{\ell }_{0}\left[$. Another possibility is given by connecting a point of $\mathcal{L}\left({P}_{+},{P}_{-}\right)$ to a point of $\mathcal{L}\left({P}_{-},{P}_{+}\right)$ via an orbit path of ${\mathrm{\Gamma }}^{c}$ for $c\in \left[{\ell }_{1},{\ell }^{\ast }\left[$. For $c={\ell }^{\ast }$, we can obtain our solution if and only if ${t}_{+}-{t}_{-}$ is an integer multiple of the fundamental period ${\tau }_{{\ell }^{\ast }}$ of the orbit ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$. Indeed, such a solution will be constantly equal to ${P}_{+}$ for $t\notin \right]{t}_{-},{t}_{+}\left[$, and for $t\in \left[{t}_{-},{t}_{+}\right]$ it coincides with the periodic solution of (2.7) such that $x\left({t}_{-}\right)={\xi }_{1}$ and $y\left({t}_{-}\right)=0$. This solution makes $\left({t}_{+}-{t}_{-}\right)/{\tau }_{{\ell }^{\ast }}$ turns around the origin for $t\in \left[{t}_{-},{t}_{+}\right]$.

Similar considerations can be developed with respect to heteroclinic solutions. For instance, a heteroclinic orbit from ${P}_{+}$ to ${P}_{-}$ can be obtained as follows: by connecting a point of $\mathcal{O}\left({P}_{+}\right)$ with one of $\mathcal{I}\left({P}_{-}\right)$ using an orbit path of ${\mathrm{\Gamma }}^{c}$ for $c\in \phantom{\rule{0.2em}{0ex}}\right]{\ell }^{\ast },{\ell }_{0}\left[$, or by a connection of two different points of $\mathcal{L}\left({P}_{+},{P}_{-}\right)$ via an orbit path of ${\mathrm{\Gamma }}^{c}$ for $c\in \left[{\ell }_{1},{\ell }^{\ast }\left[$. For $c={\ell }^{\ast }$, we can obtain our solution if and only if ${t}_{+}-{t}_{-}$ is an odd multiple of ${\tau }_{{\ell }^{\ast }}/2$, where ${\tau }_{{\ell }^{\ast }}$ is the period of the orbit ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$. Indeed, such a solution will be constantly equal to ${P}_{+}$ for $t\in \left(-\mathrm{\infty },{t}_{-}\right]$ and constantly equal to ${P}_{-}$ for $t\in \left[{t}_{+},+\mathrm{\infty }\right)$. Moreover, it coincides for $t\in \left[{t}_{-},{t}_{+}\right]$ with the solution of (2.7) such that $x\left({t}_{-}\right)={\xi }_{1}$ and $y\left({t}_{-}\right)=0$. This solution makes $2\left({t}_{+}-{t}_{-}\right)/{\tau }_{{\ell }^{\ast }}$ half-turns around the origin for $t\in \left[{t}_{-},{t}_{+}\right]$.

Figure 4, although not exhaustive of all the conceivable cases, summarizes several different possibilities. Indeed, a trajectory homoclinic to ${P}_{+}$ can be obtained as follows: move by system (2.6) along $\mathcal{O}\left({P}_{+}\right)$ from ${P}_{+}$ to the intersection point of $\mathcal{O}\left({P}_{+}\right)$ with a closed curve external to ${P}_{+}$, namely δ (for $t\in \left(-\mathrm{\infty },{t}_{-}\right]$). This point is put in evidence with a small black circle. Next, follow δ (by system (2.7)) in order to reach the intersection of δ with $\mathcal{I}\left({P}_{+}\right)$ (for $t\in \left[{t}_{-},{t}_{+}\right]$). Such an intersection point is indicated by a grey square. Finally, switch to system (2.6) and move toward ${P}_{+}$ along $\mathcal{I}\left({P}_{+}\right)$ (for $t\in \left[t+,+\mathrm{\infty }\right)$). With a similar procedure, we can obtain a heteroclinic trajectory from ${P}_{+}$ to ${P}_{-}$. In fact, we can move by system (2.6) along $\mathcal{O}\left({P}_{+}\right)$ from ${P}_{+}$ to the intersection point of $\mathcal{O}\left({P}_{+}\right)$ with a closed curve external to ${P}_{+}$, namely γ (for $t\in \left(-\mathrm{\infty },{t}_{-}\right]$). Next, follow γ (by system (2.7)) to the intersection with $\mathcal{I}\left({P}_{-}\right)$ (for $t\in \left[{t}_{-},{t}_{+}\right]$). Finally, switch to system (2.6) and move toward ${P}_{-}$ along $\mathcal{I}\left({P}_{-}\right)$ (for $t\in \left[{t}_{+},+\mathrm{\infty }\right)$).

In general, the connections through the trajectories of system (2.7) will either involve only an arc of the closed curve ${\mathrm{\Gamma }}^{c}$, or they will require to perform a certain number of winds around the origin, depending on the available time. If the length of the time interval $\left[{t}_{-},{t}_{+}\right]$ is small, only the first case is possible. However, if ${t}_{+}-{t}_{-}$ is large enough, more choices arise. For instance, looking at the orbit δ in Figure 4, we could make a certain number of loops from the black circle before reaching the grey square on the same orbit. Similar considerations apply to the heteroclinic trajectory described above with reference to γ.

Until now we have described the ‘external connections’, namely those which lie in the region . Further possibilities appear if we consider ‘internal connections’ by means of orbit paths contained in . For example, if we look at the orbit β in Figure 4, we can obtain trajectories homoclinic to ${P}_{+}$ by choosing one of the two black circles as a starting point from $\mathcal{L}\left({P}_{+},{P}_{-}\right)$ and one of the two grey squares as an end point on $\mathcal{L}\left({P}_{-},{P}_{+}\right)$. Loops along β will be permitted if the time is sufficiently large. The construction of heteroclinic orbits from ${P}_{+}$ to ${P}_{-}$ via the line α follows a similar procedure.

### 2.3 Study of the Poincaré map

Another possible point of view to describe the previous construction of homoclinic and heteroclinic solutions consists in considering the Poincaré map associated to system (2.7) for the time interval $\left[{t}_{-},{t}_{+}\right]$. Due to the autonomous nature of this system, we have that ${\mathrm{\Phi }}_{{t}_{-}}^{{t}_{+}}={\mathrm{\Phi }}_{0}^{{t}_{+}-{t}_{-}}$, denoted simply by Φ when no confusion may occur. Moreover, the region
$\mathcal{W}:=\left\{\left(x,y\right):-{\xi }_{0}\le x\le {\xi }_{0},E\left(x,y\right)\le {\ell }_{0}\right\}$
is a compact invariant set contained in the domain of Φ. Let us denote by $\mathcal{Y}:=\overline{\mathcal{O}\left({P}_{+}\right)}\cap \overline{\mathcal{F}}$ the part of the unstable manifold $\mathcal{O}\left({P}_{+}\right)$ between ${P}_{+}$ and ${\mathrm{\Gamma }}^{{\ell }_{0}}$, including the extreme points. Hence the external connections can be precisely described by looking at the intersection points of $\mathrm{\Phi }\left(\mathcal{Y}\right)$ with $\mathcal{I}\left({P}_{+}\right)$ (for the homoclinics) and with $\mathcal{I}\left({P}_{-}\right)$ (for the heteroclinics), as illustrated in Figure 5.

With reference to Figure 5, we observe that the intersection point of $\mathcal{O}\left({P}_{+}\right)$ with ${\mathrm{\Gamma }}^{{\ell }_{0}}$ (indicated by a small circle) is moved by Φ along ${\mathrm{\Gamma }}^{{\ell }_{0}}$ to a point very close to ${Q}_{+}$. On the other hand, during the time interval $\left[{t}_{-},{t}_{+}\right]$, the point ${P}_{+}$ makes a little more than a complete turn around the origin; the final position $\mathrm{\Phi }\left({P}_{+}\right)$ is indicated by a cross. The arc $\mathrm{\Phi }\left(\mathcal{Y}\right)$ is a spiral-like curve with one end near ${Q}_{+}$ and the other on ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$. For the time length ${t}_{+}-{t}_{-}=5.5$, considered in Figure 5, there are precisely two intersections of $\mathrm{\Phi }\left(\mathcal{Y}\right)$ with $\mathcal{I}\left({P}_{+}\right)$, corresponding to external homoclinic solutions. Meanwhile, we have also an external heteroclinic solution due to the intersection of $\mathrm{\Phi }\left(\mathcal{Y}\right)$ with $\mathcal{I}\left({P}_{-}\right)$. All these three intersection points have been indicated by a grey square (following the same convention used in Figure 4).

In order to describe further these solutions, let us consider their energy at the time ${t}_{+}$ that we denote by ${k}_{1}$, ${k}_{2}$, ${k}_{3}$, with ${\ell }^{\ast }<{k}_{3}<{k}_{2}<{k}_{1}<{\ell }_{0}$. Let us define the points ${H}_{i}$ as $\left\{{H}_{i}\right\}=\mathcal{O}\left({P}_{+}\right)\cap {\mathrm{\Gamma }}^{{k}_{i}}$ for $i=1,2,3$. The solution $\zeta \left(t\right)=\left(x\left(t\right),y\left(t\right)\right)$ of (2.2) with $\zeta \left({t}_{-}\right)={H}_{1}$ or $\zeta \left({t}_{-}\right)={H}_{3}$ has the following behavior: $\zeta \left(t\right)\to {P}_{+}$ for $t\to ±\mathrm{\infty }$, with $x\left(t\right)>{\xi }_{1}$ and convex for $t\notin \phantom{\rule{0.2em}{0ex}}\right]{t}_{-},{t}_{+}\left[$. Moreover, $x\left(t\right)$ is increasing on $\left(-\mathrm{\infty },{t}_{-}\right]$ and decreasing on $\left[{t}_{+},+\mathrm{\infty }\right)$. On the interval $\left[{t}_{-},{t}_{+}\right]$, if $i=1$, the solution $x\left(t\right)$ is concave, while if $i=3$, the solution has two maxima and one (negative) minimum separated by two simple zeros. The solution of system (2.2) with $\zeta \left({t}_{-}\right)={H}_{2}$ is such that $\zeta \left(t\right)\to {P}_{+}$ for $t\to -\mathrm{\infty }$ with $x\left(t\right)>{\xi }_{1}$ and $\zeta \left(t\right)\to {P}_{-}$ for $t\to +\mathrm{\infty }$ with $x\left(t\right)<-{\xi }_{1}$; $x\left(t\right)$ is convex for $t\notin \phantom{\rule{0.2em}{0ex}}\right]{t}_{-},{t}_{+}\left[$. Moreover, the solution has one maximum and one minimum separated by one simple zero.

Even if the time interval length ${t}_{+}-{t}_{-}$ is small, we always have at least one intersection of $\mathrm{\Phi }\left(\mathcal{Y}\right)$ with $\mathcal{I}\left({P}_{+}\right)$ and thus a homoclinic solution. On the other hand, if ${t}_{+}-{t}_{-}$ grows, the spiral curve $\mathrm{\Phi }\left(\mathcal{Y}\right)$ will wind more times around the origin, hence more homoclinic/heteroclinic solutions will appear.

If we look for the internal connections (made by orbit paths lying in the region ), we proceed as follows.

Let us set $\mathcal{L}:=\overline{\mathcal{L}\left({P}_{+},{P}_{-}\right)}$ and denote by ${\mathcal{L}}^{\prime }:=\overline{\mathcal{L}\left({P}_{-},{P}_{+}\right)}$ its symmetric part with respect to the x-axis. Figure 6 illustrates the involved geometry from the point of view of the Poincaré map. We observe that all the points of are contained in , hence they are periodic points (of different periods). As before, during the time interval $\left[{t}_{-},{t}_{+}\right]$, the point ${P}_{+}$ moves clockwise around the origin along ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$; the final position $\mathrm{\Phi }\left({P}_{+}\right)\in {\mathrm{\Gamma }}^{{\ell }^{\ast }}$ is indicated by a cross. Symmetrically, the point ${P}_{-}$ performs exactly the same angle around the origin, reaching the final position $\mathrm{\Phi }\left({P}_{-}\right)\in {\mathrm{\Gamma }}^{{\ell }^{\ast }}$, indicated by a small circle. All the other points of $\mathcal{L}\left({P}_{+},{P}_{-}\right)$ move, under the action of Φ, on the energy level lines ${\mathrm{\Gamma }}^{c}$ with ${\ell }_{1}\le c<{\ell }^{\ast }$. The arc $\mathrm{\Phi }\left(\mathcal{L}\right)$ is a curve contained in , connecting the two antipodal points $\mathrm{\Phi }\left({P}_{±}\right)\in {\mathrm{\Gamma }}^{{\ell }^{\ast }}$ and leaning on one point of ${\mathrm{\Gamma }}^{{\ell }_{1}}$. This tangent point is the image through Φ of the point $R:=\left(0,-\sqrt{{\ell }_{1}}\right)$. Such a property of $\mathrm{\Phi }\left(\mathcal{L}\right)$ implies that $\mathrm{\Phi }\left(\mathcal{L}\right)$ intersects both and ${\mathcal{L}}^{\prime }$ (at different points). These two points have been indicated by a grey square in the figure. Accordingly, we always find at least an internal homoclinic solution and an internal heteroclinic one.

Summarizing the above information, we conclude that, for every time interval $\left[{t}_{-},{t}_{+}\right]$, we have at least two solutions which are homoclinic to ${P}_{+}$ (one external and one internal) and one internal heteroclinic solution from ${P}_{+}$ to ${P}_{-}$.

For the external connections, if the time interval length ${t}_{+}-{t}_{-}$ grows, the situation can be summarized as follows. The number of external homoclinic/heteroclinic solutions increases, depending on the number of winds around the origin of the curve $\mathrm{\Phi }\left(\mathcal{Y}\right)$. Indeed, the end point of such a curve on ${\mathrm{\Gamma }}^{{\ell }_{0}}$ cannot go beyond ${Q}_{+}$, while the other end point $\mathrm{\Phi }\left({P}_{+}\right)$ is free to move on the periodic orbit ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$. If we denote by ${\eta }_{\mathrm{ext}}$ and ${\nu }_{\mathrm{ext}}$ the number of external homoclinic and heteroclinic solutions respectively, it holds that $0\le {\eta }_{\mathrm{ext}}-{\nu }_{\mathrm{ext}}\le 1$. From the above discussion, we can conclude that if, for some nonnegative integer n, we have ${t}_{+}-{t}_{-}>n{\tau }_{{\ell }^{\ast }}$ (where ${\tau }_{{\ell }^{\ast }}$ is the period of ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$), then ${\eta }_{\mathrm{ext}}\ge n+1$. An analogous lower bound can be provided for ${\nu }_{\mathrm{ext}}$. For a formal proof, see Theorem 2.1.

When ${t}_{+}-{t}_{-}$ grows, the situation for the internal homoclinic/heteroclinic solutions is more intriguing, as illustrated in Figure 7 and Figure 8. A twist effect depending on the different periods of ${\mathrm{\Gamma }}^{{\ell }_{1}}$ and ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$ produces a double spiral-like curve $\mathrm{\Phi }\left(\mathcal{L}\right)$ when ${t}_{+}-{t}_{-}$ is sufficiently large.
The fact that $\mathrm{\Phi }\left(\mathcal{L}\right)$ looks like a double spiral depends on the different velocities of the points ${P}_{±}$ and $R=\left(0,-\sqrt{{\ell }_{1}}\right)$ (which is the intersection of with the negative y-axis). In fact, since ${\tau }_{{\ell }_{1}}<{\tau }_{{\ell }^{\ast }}$, the points on ${\mathrm{\Gamma }}^{{\ell }_{1}}$ move faster than those of ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$. By construction, ${P}_{±}\in {\mathrm{\Gamma }}^{{\ell }^{\ast }}$, while $R\in {\mathrm{\Gamma }}^{{\ell }_{1}}$. Therefore, when the time gap ${t}_{+}-{t}_{-}$ is sufficiently large, the number of turns of $\mathrm{\Phi }\left(R\right)$ around the origin will exceed the number of turns of $\mathrm{\Phi }\left({P}_{±}\right)$. Accordingly, the image through Φ of the right part of (the sub-arc of connecting ${P}_{+}$ to R) is a spiral that winds a certain number of times in the clockwise sense around the origin. Indeed, it connects the slower point $\mathrm{\Phi }\left({P}_{+}\right)$ to the faster one $\mathrm{\Phi }\left(R\right)$ inside the region , as illustrated in Figure 9. The number of half-turns of this spiral depends on a ‘rotational gap’ that, for our purposes, it will be convenient to define as
$w\left({t}_{+}-{t}_{-}\right):=⌈\frac{2\left({t}_{+}-{t}_{-}\right)}{{\tau }_{{\ell }_{1}}}⌉-⌊\frac{2\left({t}_{+}-{t}_{-}\right)}{{\tau }_{{\ell }^{\ast }}}⌋-2.$
(2.11)
Similarly, the image through Φ of the left part of (the sub-arc of connecting R to ${P}_{-}$) is a spiral-like curve winding a certain number of times in the counterclockwise sense around the origin. Indeed, it connects the points $\mathrm{\Phi }\left(R\right)$ and $\mathrm{\Phi }\left({P}_{-}\right)$ inside the region (the first point moves at a faster speed than the second one). Again, the number of half-turns of this second curve will depend on $w\left({t}_{+}-{t}_{-}\right)$. In the end, gluing together the two spiral-like curves, we conclude that, if ${t}_{+}-{t}_{-}$ is sufficiently large, the arc $\mathrm{\Phi }\left(\mathcal{L}\right)$ will appear like a double spiral with a central ‘hook’. To better describe the structure of $\mathrm{\Phi }\left(\mathcal{L}\right)$, we should observe that the ‘tip of the hook’ is not $\mathrm{\Phi }\left(R\right)$, but it is the image through Φ of a point (close to R) on the left part of $\mathcal{L}\setminus \left\{R\right\}$ (we owe this remark to the referee). For a formal proof based on the argument outlined above, see Theorem 2.2.

In preparation for this theorem, we introduce the following notation. Given a positive real number S and an energy level $\ell \in \left[{\ell }_{1},{\ell }^{\ast }\right]$, we denote by $\underline{n}\left(S,\ell \right):=⌊\frac{2S}{{\tau }_{\ell }}⌋$ the lower integer part of $S/\left({\tau }_{\ell }/2\right)$, and by $\overline{n}\left(S,\ell \right):=⌈\frac{2S}{{\tau }_{\ell }}⌉$ the upper integer part of $S/\left({\tau }_{\ell }/2\right)$. By definition, during a time interval of length S, a point on the orbit ${\mathrm{\Gamma }}^{\ell }$ makes more that $\overline{n}\left(S,\ell \right)-1$ half-turns around the origin, but less that $\underline{n}\left(S,\ell \right)+1$ half-turns. Thus the rotational gap defined above can be written as $w\left(T\right)=\overline{n}\left(T,{\ell }_{1}\right)-\underline{n}\left(T,{\ell }^{\ast }\right)-2$ for $T={t}_{+}-{t}_{-}$. By definition, in the open interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$, the smallest integer is $\underline{n}\left(T,{\ell }^{\ast }\right)+1$, while the largest integer is $\overline{n}\left(T,{\ell }^{\ast }\right)-1$. Hence, the open interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$ contains $w\left(T\right)+1$ positive integers.

### 2.4 Conclusion

After the preliminary study of the previous subsections, we are now in a position to express our results for the equation
as statements with a formal proof. Recall that the weight function $g\left(t\right)$ is defined as follows:
where
${t}_{-}<{t}_{+}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}0<{\mu }_{0}<{\mu }_{1}.$
We also set $T:={t}_{+}-{t}_{-}$ and consider the Poincaré map ${\mathrm{\Phi }}_{0}^{T}$ associated to the system

In order to make the exposition more clear, we have decided to consider separately the cases of external and internal connections.

Theorem 2.1 (External connections)

Under the above assumptions, the following results hold for solutions which satisfy the energy condition
${x}^{\prime }{\left(t\right)}^{2}+2kx{\left(t\right)}^{2}-{\mu }_{0}x{\left(t\right)}^{4}\in \phantom{\rule{0.2em}{0ex}}\right]{\ell }^{\ast },{\ell }_{0}\left[,\phantom{\rule{1em}{0ex}}\mathrm{\forall }t\in \mathbb{R}:$
• there always exist a (positive) solution homoclinic to${P}_{+}$and a (negative) solution homoclinic to${P}_{-}$;

• if${t}_{+}-{t}_{-}>{\tau }_{{\ell }^{\ast }}/2$, there always exist a heteroclinic solution from${P}_{+}$to${P}_{-}$and a heteroclinic solution from${P}_{-}$to${P}_{+}$, both with exactly one zero;

• if${t}_{+}-{t}_{-}>n{\tau }_{{\ell }^{\ast }}$ (for some integer$n\ge 1$) then, for each integer j with$1\le j\le n$, there exist at least one solution homoclinic to${P}_{+}$and one solution homoclinic to${P}_{-}$, both with exactly 2j zeros;

• if${t}_{+}-{t}_{-}>\left(n+1\right){\tau }_{{\ell }^{\ast }}/2$ (for some integer$n\ge 1$) then, for each integer j with$1\le j\le n$, there exist at least one heteroclinic solution from${P}_{+}$to${P}_{-}$and one from${P}_{-}$to${P}_{+}$, both with exactly$2j+1$zeros.

Proof As a first step, we focus our attention on the search of solutions homoclinic to the point ${P}_{+}$. The case of homoclinics to ${P}_{-}$ is analogous, thus it will be omitted.

Recalling that $T={t}_{+}-{t}_{-}$, our goal is to find points on $\mathcal{O}\left({P}_{+}\right)$ which are moved by the Poincaré map ${\mathrm{\Phi }}_{0}^{T}$ on $\mathcal{I}\left({P}_{+}\right)$.

We introduce in the phase-plane for (2.7), a system of polar coordinates $\left(\theta ,\rho \right)$, with center in the origin. The initial points in the arc (which is the closure of the intersection of $\mathcal{O}\left({P}_{+}\right)$ with the external region ) are parameterized as $\gamma \left(s\right):=\left(\rho \left(s\right)cos\theta \left(s\right),\rho \left(s\right)sin\theta \left(s\right)\right)$, for $s\in \left[0,1\right]$, with $\gamma \left(0\right)={P}_{+}$, $\gamma \left(1\right)\in {\mathrm{\Gamma }}^{{\ell }_{0}}$ and $E\left(\gamma \left(s\right)\right)$ strictly increasing with s. The target set is the symmetric of with respect to the x-axis. It will be denoted by ${\mathcal{Y}}^{\prime }$ and parameterized by reversing the angle $\theta \left(s\right)$.

Using the same polar coordinates to represent the solutions of (2.7), we can express the final points ${\mathrm{\Phi }}_{0}^{T}\left(\gamma \left(s\right)\right)$ as
${\mathrm{\Phi }}_{0}^{T}\left(\gamma \left(s\right)\right)=\left(\rho \left(T,s\right)cos\theta \left(T,s\right),\rho \left(T,s\right)sin\theta \left(T,s\right)\right),$
with
$\rho \left(0,s\right)=\rho \left(s\right),\phantom{\rule{2em}{0ex}}\theta \left(0,s\right)=\theta \left(s\right).$
We notice that
$\left(x\left(t\right),y\left(t\right)\right)=\left(\rho \left(t,s\right)cos\theta \left(t,s\right),\rho \left(t,s\right)sin\theta \left(t,s\right)\right)$
is the solution of (2.7) (at the time t), which departed from the point $\gamma \left(s\right)$ at the time $t=0$. Observe that, for every $s\in \left[0,1\right]$, the map
$t↦\theta \left(t,s\right)$

is strictly decreasing on $\left[0,+\mathrm{\infty }\right)$ (this is an equivalent way to express the fact that the solutions turn around the origin in the clockwise sense).

With these positions, we obtain an external solution homoclinic to ${P}_{+}$ if and only if there exists $\stackrel{ˆ}{s}\in \phantom{\rule{0.2em}{0ex}}\right]0,1\left[$ such that ${\mathrm{\Phi }}_{0}^{T}\left(\gamma \left(\stackrel{ˆ}{s}\right)\right)\in {\mathcal{Y}}^{\prime }$. This happens if and only if
$\rho \left(T,\stackrel{ˆ}{s}\right)=\rho \left(\stackrel{ˆ}{s}\right)\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}\theta \left(T,\stackrel{ˆ}{s}\right)=-\theta \left(\stackrel{ˆ}{s}\right)-2j\pi ,$
(2.12)

for some nonnegative integer j. In this case, if we denote by $\stackrel{ˆ}{x}\left(\cdot \right)$ the corresponding homoclinic solution of (2.1) such that $\left(\stackrel{ˆ}{x}\left({t}_{-}\right),{\stackrel{ˆ}{x}}^{\prime }\left({t}_{-}\right)\right)=\gamma \left(\stackrel{ˆ}{s}\right)$, we have that $E\left(\stackrel{ˆ}{x}\left(t\right),{\stackrel{ˆ}{x}}^{\prime }\left(t\right)\right)\in \phantom{\rule{0.2em}{0ex}}\right]{\ell }^{\ast },{\ell }_{0}\left[$ for all $t\in \mathbb{R}$. Moreover, if $j=0$, $\stackrel{ˆ}{x}\left(t\right)>{\xi }_{1}$ for all $t\in \left[{t}_{-},{t}_{+}\right]$, while $\stackrel{ˆ}{x}\left(t\right)$ has precisely 2j zeros in $\right]{t}_{-},{t}_{+}\left[$ if $j\ge 1$.

Using the fact that the energy level lines of (2.7) in the region $\mathcal{W}\setminus \left\{O\right\}=\left\{\left(x,y\right):-{\xi }_{0}\le x\le {\xi }_{0},0 are strictly star-shaped with respect to the origin and symmetric with respect to the x-axis, we find that (2.12) holds (for some nonnegative integer j) if and only if
$\theta \left(T,\stackrel{ˆ}{s}\right)=-\theta \left(\stackrel{ˆ}{s}\right)-2j\pi$
(2.13)

is satisfied (for the same j).

By virtue of (2.13), we can refer only to the angular coordinates, hence we will obtain solutions as follows. Since the point ${\mathrm{\Phi }}_{0}^{T}\left(\gamma \left(1\right)\right)$ lies on ${\mathrm{\Gamma }}^{{\ell }_{0}}$ (which is the trajectory of a heteroclinic solution of (2.7)), it can never reach the point ${Q}_{+}$. Accordingly, the angle $\theta \left(T,1\right)$ satisfies
$\theta \left(T,1\right)>0,\phantom{\rule{1em}{0ex}}\mathrm{\forall }T\ge 0.$
On the other hand, as $\gamma \left(0\right)={P}_{+}$, we have that $\theta \left(0,0\right)=\theta \left(0\right)=0$, therefore
$\theta \left(T,0\right)<0,\phantom{\rule{1em}{0ex}}\mathrm{\forall }T>0.$

As a consequence, $\theta \left(T,0\right)+\theta \left(0\right)<0<\theta \left(T,1\right)+\theta \left(1\right)$ and the intermediate value theorem ensures the existence of an $\stackrel{ˆ}{s}$ such that $\theta \left(T,\stackrel{ˆ}{s}\right)=-\theta \left(\stackrel{ˆ}{s}\right)$. In this way we have found a positive homoclinic solution to ${P}_{+}$, independently of the length T of the time interval $\left[{t}_{-},{t}_{+}\right]$.

Suppose now that $T>n{\tau }_{{\ell }^{\ast }}$ for some positive integer n. In this case,
$\theta \left(T,0\right)<-2n\pi ,\phantom{\rule{1em}{0ex}}\mathrm{\forall }T>0.$

As a consequence, for every integer j with $1\le j\le n$, we have $\theta \left(T,0\right)+\theta \left(0\right)<-2j\pi <0<\theta \left(T,1\right)+\theta \left(1\right)$, and again the intermediate value theorem ensures the existence of an $\stackrel{ˆ}{s}$ such that $\theta \left(T,\stackrel{ˆ}{s}\right)=-\theta \left(\stackrel{ˆ}{s}\right)-2j\pi$. This ends the proof for homoclinic solutions.

For the search of heteroclinic solutions from ${P}_{+}$ to ${P}_{-}$, we follow a similar procedure, choosing as a target the set ${\mathcal{Y}}^{″}$, which is the symmetric of with respect to the y-axis (here we exploit the oddness of the nonlinear term ${x}^{3}$). In terms of polar coordinates, the desired solutions will be obtained if and only if there exists $\stackrel{ˆ}{s}\in \phantom{\rule{0.2em}{0ex}}\right]0,1\left[$ such that
$\theta \left(T,\stackrel{ˆ}{s}\right)=-\theta \left(\stackrel{ˆ}{s}\right)-\left(2j-1\right)\pi$
(2.14)

for some integer $j\ge 1$. Then the proof can be concluded as above, via the intermediate value theorem. We observe that the case of heteroclinic solutions from ${P}_{-}$ to ${P}_{+}$ is analogous, thus it will be omitted. □

The next theorem deals with the internal connections. For this result, it is useful to recall the rotational gap defined in (2.11).

Theorem 2.2 (Internal connections)

Under the above assumptions, the following results hold for solutions which satisfy the energy condition
${x}^{\prime }{\left(t\right)}^{2}+2kx{\left(t\right)}^{2}-{\mu }_{0}x{\left(t\right)}^{4}\in \left[{\ell }_{1},{\ell }^{\ast }\right],\phantom{\rule{1em}{0ex}}\mathrm{\forall }t\in \mathbb{R}:$
• there always exist a solution homoclinic to${P}_{+}$and a solution homoclinic to${P}_{-}$;

• there always exist a heteroclinic solution from${P}_{+}$to${P}_{-}$and a heteroclinic solution from${P}_{-}$to${P}_{+}$;

• if${t}_{+}-{t}_{-}>\frac{{\tau }_{{\ell }_{1}}{\tau }_{{\ell }^{\ast }}}{{\tau }_{{\ell }^{\ast }}-{\tau }_{{\ell }_{1}}}$, there exist at least$2w\left({t}_{+}-{t}_{-}\right)+1$solutions homoclinic to${P}_{+}$and$2w\left({t}_{+}-{t}_{-}\right)+1$solutions homoclinic to${P}_{-}$;

• if${t}_{+}-{t}_{-}>\frac{{\tau }_{{\ell }_{1}}{\tau }_{{\ell }^{\ast }}}{{\tau }_{{\ell }^{\ast }}-{\tau }_{{\ell }_{1}}}$, there exist at least$2w\left({t}_{+}-{t}_{-}\right)+1$heteroclinic solutions from${P}_{+}$to${P}_{-}$and$2w\left({t}_{+}-{t}_{-}\right)+1$from${P}_{-}$to${P}_{+}$.

Proof As the first step, we focus our attention on the search of solutions homoclinic to the point ${P}_{+}$. The case of homoclinics to ${P}_{-}$ is analogous, thus it will be omitted.

Our goal is to find points on $\mathcal{L}=\overline{\mathcal{L}\left({P}_{+},{P}_{-}\right)}$ which are moved by the Poincaré map ${\mathrm{\Phi }}_{0}^{T}$ on ${\mathcal{L}}^{\prime }=\overline{\mathcal{L}\left({P}_{-},{P}_{+}\right)}$.

As a preliminary remark, we note that ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)$ is a simple arc contained in , connecting its end points ${\mathrm{\Phi }}_{0}^{T}\left({P}_{+}\right)$ and ${\mathrm{\Phi }}_{0}^{T}\left({P}_{-}\right)$ on ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$ through the ‘intermediate’ point ${\mathrm{\Phi }}_{0}^{T}\left(R\right)$ on ${\mathrm{\Gamma }}^{{\ell }_{1}}$. Observe also that ${\mathrm{\Phi }}_{0}^{T}\left({P}_{+}\right)$ and ${\mathrm{\Phi }}_{0}^{T}\left({P}_{-}\right)$ are antipodal. In fact, ${P}_{-}$ and ${P}_{+}$ are antipodal and ${\mathrm{\Phi }}_{0}^{T}$ is an odd map (indeed, $\left(x\left(t\right),y\left(t\right)\right)$ is a solution of (2.7) if and only if $\left(-x\left(t\right),-y\left(t\right)\right)$ is a solution of the same equation). Now, if the trivial situation $\left\{{\mathrm{\Phi }}_{0}^{T}\left({P}_{-}\right),{\mathrm{\Phi }}_{0}^{T}\left({P}_{+}\right)\right\}=\left\{{P}_{-},{P}_{+}\right\}$ occurs, we have ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)\cap {\mathcal{L}}^{\prime }=\left\{{P}_{-},{P}_{+}\right\}\ne \mathrm{\varnothing }$. Otherwise, we find that ${\mathrm{\Phi }}_{0}^{T}\left({P}_{-}\right)$ and ${\mathrm{\Phi }}_{0}^{T}\left({P}_{+}\right)$ belong to the two different components of $\mathcal{E}\setminus {\mathcal{L}}^{\prime }$. Since ${\mathrm{\Phi }}_{0}^{T}\left({P}_{-}\right)$ and ${\mathrm{\Phi }}_{0}^{T}\left({P}_{+}\right)$ are the end points of the arc ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)\subseteq \mathcal{E}$, by an elementary connectivity argument, we conclude that ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)\cap {\mathcal{L}}^{\prime }\ne \mathrm{\varnothing }$. This proves the first assertion of the theorem.

For the search of heteroclinic solutions from ${P}_{+}$ to ${P}_{-}$, we adopt a similar procedure, choosing as a target the set itself. The fact that, for every $T>0$, there is always at least one intersection point between ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)$ and follows by the same argument developed for homoclinic solutions. Namely, if the trivial situation $\left\{{\mathrm{\Phi }}_{0}^{T}\left({P}_{-}\right),{\mathrm{\Phi }}_{0}^{T}\left({P}_{+}\right)\right\}=\left\{{P}_{-},{P}_{+}\right\}$ occurs, we have ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)\cap \mathcal{L}=\left\{{P}_{-},{P}_{+}\right\}\ne \mathrm{\varnothing }$. Otherwise, we find that ${\mathrm{\Phi }}_{0}^{T}\left({P}_{-}\right)$ and ${\mathrm{\Phi }}_{0}^{T}\left({P}_{+}\right)$ belong to the two different components of $\mathcal{E}\setminus \mathcal{L}$. Therefore, it follows that ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)\cap \mathcal{L}\ne \mathrm{\varnothing }$.

We study now the problem of multiplicity of solutions. As before, we consider at first the case of solutions homoclinic to ${P}_{+}$.

We introduce in the inner region of a phase-plane for (2.7) a system of modified polar coordinates $\left(\theta ,E\right)$ with center in the origin. In this system, every point is determined by its angular coordinate θ and its energy E defined in (2.8). Since the energy level lines in are strictly star-shaped with respect to the origin, we obtain a coordinate system equivalent to the polar one.

Observe that the set $\mathcal{L}\cup {\mathcal{L}}^{\prime }$ intersects every half-line from the origin exactly in one point. Accordingly, we can parameterize those points using the angular coordinate. With this convention, the initial points in the arc are parameterized as $\gamma \left(s\right)$ for $s\in \left[\pi ,2\pi \right]$ (s is the angle) with $\gamma \left(\pi \right)={P}_{-}$, $\gamma \left(2\pi \right)={P}_{+}$ and $\gamma \left(3\pi /2\right)=R$. As a consequence, $E\left(\gamma \left(s\right)\right)$ is strictly decreasing for $s\in \left[\pi ,3\pi /2\right]$ and strictly increasing in $\left[3\pi /2,2\pi \right]$. The target set ${\mathcal{L}}^{\prime }$ (the symmetric of with respect to the x-axis) is parameterized with the angle $s\in \left[0,\pi \right]$.

For the specific case of system (2.6), an analytic expression for as a graph in the $\left(\theta ,E\right)$-plane, is given as follows:
$\begin{array}{rcl}E\left(\theta \right)& :=& E\left(\rho \left(\theta \right)cos\theta ,\rho \left(\theta \right)sin\theta \right)\\ =& {\rho }^{2}\left(\theta \right){sin}^{2}\theta +2k{\rho }^{2}\left(\theta \right){cos}^{2}\theta -{\mu }_{0}{\rho }^{4}\left(\theta \right){cos}^{4}\theta ,\end{array}$
(2.15)
with
$\rho \left(\theta \right)=\frac{\left(2k/\sqrt{{\mu }_{1}}\right)}{{\left({sin}^{2}\theta +4k{cos}^{2}\theta \right)}^{1/2}-sin\theta },\phantom{\rule{1em}{0ex}}\theta \in \left[\pi ,2\pi \right].$

Hence, the natural parametrization of in the $\left(\theta ,E\right)$-plane is given by $\gamma \left(s\right)=\left(s,E\left(s\right)\right)$ for $s=\theta \in \left[\pi ,2\pi \right]$.

Using the same modified polar coordinates to represent the solutions of (2.7), we can express the final points ${\mathrm{\Phi }}_{0}^{T}\left(\mathcal{L}\right)$ in the $\left(\theta ,E\right)$-plane by means of their angular coordinate $\theta \left(t,s\right)$ and energy $E\left(t,s\right)$. As in the previous proof, we observe that, for every $s\in \left[\pi ,2\pi \right]$, the map $t↦\theta \left(t,s\right)$ is strictly decreasing on $\left[0,+\mathrm{\infty }\right)$, while the energy is constant with respect to t. Observe also that in the new coordinates $\left(\theta ,E\right)$, system (2.7) becomes
$\left\{\begin{array}{c}{\theta }^{\prime }=-{sin}^{2}\theta -2k{cos}^{2}\theta +2{\mu }_{0}\mathrm{\Lambda }\left(\theta ,E\right){cos}^{4}\theta ,\hfill \\ {E}^{\prime }=0,\hfill \end{array}$
(2.16)
with
$\mathrm{\Lambda }\left(\theta ,E\right):=\frac{2E}{{sin}^{2}\theta +2k{cos}^{2}\theta +{\left({\left({sin}^{2}\theta +2k{cos}^{2}\theta \right)}^{2}-4{\mu }_{0}E{cos}^{4}\theta \right)}^{1/2}}.$
In the $\left(\theta ,E\right)$-plane, the points of move with a negative angular speed along the lines of constant energy. Thus, under the action of the flow associated to (2.16), the points of shift from the right to the left in the strip
$\mathcal{E}\left(-\mathrm{\infty },2\pi \right]:=\left\{\left(\theta ,E\right):\theta \le 2\pi ,{\ell }_{1}\le E\le {\ell }^{\ast }\right\}.$
As we have explained before, we obtain an internal solution homoclinic to ${P}_{+}$ whenever there is a point $z\in \mathcal{L}$ such that ${\mathrm{\Phi }}_{0}^{T}\left(z\right)\in {\mathcal{L}}^{\prime }$, with $T={t}_{+}-{t}_{-}$. In the $\left(\theta ,E\right)$-plane, this target set is expressed as the union of the graphs
$\mathrm{\Xi }:=\bigcup _{j=0}^{\mathrm{\infty }}\left\{\left(\theta ,\mathrm{\Upsilon }\left(\theta \right)\right):-2j\pi \le \theta \le \pi -2j\pi \right\},$
where
$\mathrm{\Upsilon }\left(\theta \right):=E\left(\varrho \left(\theta \right)cos\theta ,\varrho \left(\theta \right)sin\theta \right)={\varrho }^{2}\left(\theta \right){sin}^{2}\theta +2k{\varrho }^{2}\left(\theta \right){cos}^{2}\theta -{\mu }_{0}{\varrho }^{4}\left(\theta \right){cos}^{4}\theta ,$
with
$\varrho \left(\theta \right)=\frac{\left(2k/\sqrt{{\mu }_{1}}\right)}{{\left({sin}^{2}\theta +4k{cos}^{2}\theta \right)}^{1/2}+sin\theta }$
(see Figures 10, 11 for a graphical description).
In this setting, we obtain an internal solution homoclinic to ${P}_{+}$ if and only if there exists $\stackrel{ˆ}{s}\in \left[\pi ,2\pi \right]$ such that $\mathrm{\Phi }\left(\gamma \left(\stackrel{ˆ}{s}\right)\right)\in \mathrm{\Xi }$, where we have denoted by Φ the Poincaré map for (2.16) in the time interval $\left[0,T\right]$. Of course Φ is exactly ${\mathrm{\Phi }}_{0}^{T}$ (which was the Poincaré map associated to (2.7)) in the new $\left(\theta ,E\right)$-coordinates. Using the parameterized curve $\gamma \left(s\right)$ for the initial points, we can express Φ as

(recall that $\gamma \left(s\right)=\left(s,E\left(s\right)\right)$ for $s=\theta \in \left[\pi ,2\pi \right]$).

The points ${P}_{-}$ and ${P}_{+}$ are antipodal, lie on the same energy line ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$ and move with the same angular speed. In the $\left(\theta ,E\right)$-plane, ${P}_{-}$ and ${P}_{+}$ are expressed by ${P}_{-}=\left(\pi ,{\ell }^{\ast }\right)$, ${P}_{+}=\left(2\pi ,{\ell }^{\ast }\right)$. Therefore,
$\theta \left(t,\pi \right)-\theta \left(t,2\pi \right)=-\pi ,\phantom{\rule{1em}{0ex}}\mathrm{\forall }t\ge 0.$
(2.17)
Moreover, for every integer $j\ge 0$, we have that
$\theta \left(t,\pi \right)⪋\pi -j\pi \phantom{\rule{1em}{0ex}}\text{if and only if}\phantom{\rule{1em}{0ex}}t⪌j\frac{{\tau }_{{\ell }^{\ast }}}{2}$

(this follows from the fact that the orbit ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$ has a period ${\tau }_{{\ell }^{\ast }}$ and is symmetric with respect to the x-axis).

In the same plane, the point R is indicated by $R=\left(3\pi /2,{\ell }_{1}\right)$. Using the fact that the orbit ${\mathrm{\Gamma }}^{{\ell }_{1}}$ has a period ${\tau }_{{\ell }_{1}}$ and is symmetric with respect to the y-axis, we find that, for every integer $i\ge 0$,
$\theta \left(t,3\pi /2\right)⪋\frac{\pi }{2}-2i\pi \phantom{\rule{1em}{0ex}}\text{if and only if}\phantom{\rule{1em}{0ex}}t⪌\frac{{\tau }_{{\ell }_{1}}}{2}+i{\tau }_{{\ell }_{1}}.$
Suppose now that
$\frac{2T}{{\tau }_{{\ell }_{1}}}-\frac{2T}{{\tau }_{{\ell }^{\ast }}}>2.$
(2.18)

Then, the open interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$ contains at least one odd integer.

Let ${\mathbf{m}}_{o}\left(T\right)$ be the largest odd integer contained in $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$. From $T>{\mathbf{m}}_{o}\left(T\right){\tau }_{{\ell }_{1}}/2$, we have that
$\theta \left(T,3\pi /2\right)<\frac{\pi }{2}-\left({\mathbf{m}}_{o}\left(T\right)-1\right)\pi =\frac{3\pi }{2}-{\mathbf{m}}_{o}\left(T\right)\pi .$
(2.19)
Suppose also that j is a positive integer with $2T/{\tau }_{{\ell }^{\ast }}. In this case, from $T, we have that
$\theta \left(T,\pi \right)>\pi -j\pi \phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}\theta \left(T,2\pi \right)>2\pi -j\pi .$
(2.20)
Let
${\mathcal{L}}_{\mathrm{left}}:=\left\{\left(\theta ,E\left(\theta \right)\right):\pi \le \theta \le 3\pi /2\right\}$
and
${\mathcal{L}}_{\mathrm{right}}:=\left\{\left(\theta ,E\left(\theta \right)\right):3\pi /2\le \theta \le 2\pi \right\},$
with $\mathcal{L}={\mathcal{L}}_{\mathrm{left}}\cup {\mathcal{L}}_{\mathrm{right}}$ be the left and the right parts of in the $\left(\theta ,E\right)$-plane. Similarly, we define
${\mathcal{L}}_{\mathrm{left}}^{\prime }:=\left\{\left(\theta ,\mathrm{\Upsilon }\left(\theta \right)\right):0\le \theta \le \pi /2\right\}$
and
${\mathcal{L}}_{\mathrm{right}}^{\prime }:=\left\{\left(\theta ,\mathrm{\Upsilon }\left(\theta \right)\right):\pi /2\le \theta \le \pi \right\}.$

By definition, for any nonnegative integer i, the set ${\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(2i\pi ,0\right)$ is a simple arc connecting the points $\left(-2i\pi ,{\ell }^{\ast }\right)$ and $\left(-2i\pi +\left(\pi /2\right),{\ell }_{1}\right)$ in the rectangle $\left[-2i\pi ,-2i\pi +\left(\pi /2\right)\right]×\left[{\ell }_{1},{\ell }^{\ast }\right]$ and, similarly, ${\mathcal{L}}_{\mathrm{right}}^{\prime }-\left(2i\pi ,0\right)$ is a simple arc connecting the points $\left(-2i\pi +\left(\pi /2\right),{\ell }_{1}\right)$ and $\left(-2i\pi +\pi ,{\ell }^{\ast }\right)$ in the rectangle $\left[-2i\pi +\left(\pi /2\right),-2i\pi +\pi \right]×\left[{\ell }_{1},{\ell }^{\ast }\right]$. On the other hand, the set $\mathrm{\Phi }\left({\mathcal{L}}_{\mathrm{left}}\right)$ is a simple arc connecting the points $\left(\theta \left(T,\pi \right),{\ell }^{\ast }\right)$ and $\left(\theta \left(T,3\pi /2\right),{\ell }_{1}\right)$ in $\mathcal{E}\left(-\mathrm{\infty },2\pi \right]$ and, similarly, $\mathrm{\Phi }\left({\mathcal{L}}_{\mathrm{right}}\right)$ is a simple arc connecting the points $\left(\theta \left(T,3\pi /2\right),{\ell }_{1}\right)$ and $\left(\theta \left(T,2\pi \right),{\ell }^{\ast }\right)=\left(\pi +\theta \left(T,\pi \right),{\ell }^{\ast }\right)$ in the same strip.

Suppose now that $j={\mathbf{m}}_{o}\left(T\right)=2k+1$ (in this case, j is odd). In such a situation, from (2.19) and (2.20) we have that
$\theta \left(T,3\pi /2\right)<\frac{\pi }{2}-2k\pi ,\phantom{\rule{2em}{0ex}}\theta \left(T,\pi \right)>-2k\pi ,\phantom{\rule{2em}{0ex}}\theta \left(T,\pi \right)>\pi -2k\pi ,$

for $2k=j-1$ an even integer. Hence the points $\left(\theta \left(T,3\pi /2\right),{\ell }_{1}\right)$ and $\left(\theta \left(T,\pi \right),{\ell }^{\ast }\right)$ are separated by the arc ${\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(2k\pi ,0\right)$, while the points $\left(\theta \left(T,3\pi /2\right),{\ell }_{1}\right)$ and $\left(\theta \left(T,2\pi \right),{\ell }^{\ast }\right)$ are separated by ${\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(2k\pi ,0\right)$ and ${\mathcal{L}}_{\mathrm{right}}^{\prime }-\left(2k\pi ,0\right)$. As a consequence, $\mathrm{\Phi }\left(\mathcal{L}\right)\cap \mathrm{\Xi }$ contains at least three points, precisely the nonempty intersections of $\mathrm{\Phi }\left({\mathcal{L}}_{\mathrm{left}}\right)\cap \left({\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(2k\pi ,0\right)\right)$, $\mathrm{\Phi }\left({\mathcal{L}}_{\mathrm{right}}\right)\cap \left({\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(2k\pi ,0\right)\right)$ and $\mathrm{\Phi }\left({\mathcal{L}}_{\mathrm{right}}\right)\cap \left({\mathcal{L}}_{\mathrm{right}}^{\prime }-\left(2k\pi ,0\right)\right)$.

Suppose that $j={\mathbf{m}}_{o}\left(T\right)-1$ (in this case, j is even). In such a situation, from (2.19) and (2.20) we have that
$\theta \left(T,3\pi /2\right)<\frac{\pi }{2}-2k\pi ,\phantom{\rule{2em}{0ex}}\theta \left(T,\pi \right)>\pi -2k\pi ,\phantom{\rule{2em}{0ex}}\theta \left(T,\pi \right)>2\pi -2k\pi$

for $2k={\mathbf{m}}_{o}\left(T\right)-1$ an even integer. Hence the points $\left(\theta \left(T,3\pi /2\right),{\ell }_{1}\right)$ and $\left(\theta \left(T,\pi \right),{\ell }^{\ast }\right)$ are separated by the arcs ${\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(2k\pi ,0\right)$ and ${\mathcal{L}}_{\mathrm{right}}^{\prime }-\left(2k\pi ,0\right)$. The points $\left(\theta \left(T,3\pi /2\right),{\ell }_{1}\right)$ and $\left(\theta \left(T,2\pi \right),{\ell }^{\ast }\right)$ are separated by ${\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(2k\pi ,0\right)$, ${\mathcal{L}}_{\mathrm{right}}^{\prime }-\left(2k\pi ,0\right)$ and ${\mathcal{L}}_{\mathrm{left}}^{\prime }-\left(\left(2k-1\right)\pi ,0\right)$. As a consequence, $\mathrm{\Phi }\left(\mathcal{L}\right)\cap \mathrm{\Xi }$ contains at least five points: two points coming from the intersections of $\mathrm{\Phi }\left({\mathcal{L}}_{\mathrm{left}}\right)$ with the target set Ξ and three from the intersections of $\mathrm{\Phi }\left({\mathcal{L}}_{\mathrm{right}}\right)$.

Proceeding by induction, with the same argument, the following result is obtained.

Claim 1 $\mathrm{\Phi }\left(\mathcal{L}\right)\cap \mathrm{\Xi }$ has at least $2{n}^{\mathrm{#}}+1$ solutions, where ${n}^{\mathrm{#}}$ is the number of integers less than or equal to ${\mathbf{m}}_{o}\left(T\right)$ which are contained in the open interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$.

A completely symmetric argument leads to the same multiplicity result for solutions which are homoclinic to ${P}_{-}$.

At last, we look for a multiplicity result for heteroclinic solutions from ${P}_{+}$ to ${P}_{-}$. We follow step by step the argument described in the part of the proof devoted to the search of multiple internal homoclinic solutions and, therefore, we transform our equation in the $\left(\theta ,E\right)$-coordinates. As we have explained before, we obtain an internal heteroclinic (from ${P}_{+}$ to ${P}_{-}$) whenever there is a point $z\in \mathcal{L}$ such that ${\mathrm{\Phi }}_{0}^{T}\left(z\right)\in \mathcal{L}$, with $T={t}_{+}-{t}_{-}$. In the $\left(\theta ,E\right)$-plane, this target set is expressed as the union of the graphs
${\mathrm{\Xi }}^{\prime }:=\bigcup _{j=0}^{\mathrm{\infty }}\left\{\left(\theta ,E\left(\theta \right)\right):\pi -2j\pi \le \theta \le 2\pi -2j\pi \right\},$

where $E\left(\theta \right)$ is the function defined in (2.15).

As before, we assume the validity of condition (2.18). Then the open interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$ contains at least one even integer.

Let ${\mathbf{m}}_{e}\left(T\right)$ be the largest even integer contained in $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$. From $T>{\mathbf{m}}_{e}\left(T\right){\tau }_{{\ell }_{1}}/2$, we have that
$\theta \left(T,3\pi /2\right)<\frac{3\pi }{2}-{\mathbf{m}}_{e}\left(T\right)\pi .$

For any positive integer j with $2T/{\tau }_{{\ell }^{\ast }}, we have that (2.20) holds too. At this point, we have simply to repeat (with obvious changes due to the fact that the target set is ${\mathrm{\Xi }}^{\prime }$ which is a shift of Ξ by $\left(2pi,0\right)$) the argument presented above for the case of homoclinic connections and obtain the following conclusion.

Claim 2 $\mathrm{\Phi }\left(\mathcal{L}\right)\cap {\mathrm{\Xi }}^{\prime }$ has at least $2{n}_{\mathrm{#}}+1$ solutions, where ${n}_{\mathrm{#}}$ is the number of integers less than or equal to ${\mathbf{m}}_{e}\left(T\right)$ which are contained in the open interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$.

A completely symmetric argument leads to a multiplicity result for heteroclinic solutions from ${P}_{-}$ to ${P}_{+}$.

As final step, we have just to show how the condition on the rotational gap allows us to achieve the conclusion from Claim 1 and Claim 2 that we have obtained along the proof. Now, it is sufficient to observe that ${t}_{+}-{t}_{-}=T>\frac{{\tau }_{{\ell }_{1}}{\tau }_{{\ell }^{\ast }}}{{\tau }_{{\ell }^{\ast }}-{\tau }_{{\ell }_{1}}}$ implies (2.18) and, therefore, the open interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$ contains at least two integers. More precisely, by the definition of $w\left(T\right)$, the interval $\right]2T/{\tau }_{{\ell }^{\ast }},2T/{\tau }_{{\ell }_{1}}\left[$ contains at least $w\left(T\right)+1$ integers and, therefore,
${n}^{\mathrm{#}},{n}_{\mathrm{#}}\ge w\left(T\right).$

This concludes the proof of the theorem.  □

## 3 Remarks and related results

We end the paper with a list of remarks about possible variants and extensions of the main results obtained for equation
1. 1.

A problem which naturally arises from the analysis that we have performed concerns what happens if, for a stepwise weight function satisfying (2.5), we suppose that $0<{\mu }_{1}<{\mu }_{0}$. Repeating the preliminary phase-plane analysis of Section 2.2, one can easily check that for any gap $T={t}_{+}-{t}_{-}>0$, there always exist a solution homoclinic to ${P}_{+}$ and another homoclinic to ${P}_{-}$, as well as a heteroclinic from ${P}_{+}$ to ${P}_{-}$ and another one from ${P}_{-}$ to ${P}_{+}$. However, in general, if $0<{\mu }_{1}<{\mu }_{0}$, one cannot obtain multiplicity results like those achieved in Section 2 without some extra assumptions on $h\left(x\right)$. This is the reason for which, in the study of equation (2.1), we have considered only the case $0<{\mu }_{0}<{\mu }_{1}$. For different examples on related equations in which a weight coefficient can be above or below its limits at infinity, see, for instance, [46].

On the other hand, if we assume that the weight function changes its sign, with ${\mu }_{0}<0<{\mu }_{1}$, some interesting multiplicity results could be produced. In fact the phase portrait of (1.1) in the time interval $\left[{t}_{-},{t}_{+}\right]$ shows a global center, hence if ${t}_{+}-{t}_{-}$ is large, a lot of connections between the unstable and stable manifolds of the points ${P}_{±}$ can be obtained. For the sake of conciseness, we omit the study of this latter situation, which is beyond the goal of the present paper.
1. 2.
We notice that the same argument of the proofs applies to an equation of the form

for $\sigma >0$, $h\left(x\right)=xf\left(x\right)$, and with $f\left(x\right)$ satisfying condition (), if we assume that $a\left(t\right)$ is a stepwise weight function, playing the same role of $g\left(t\right)$ in (2.1). In such a case, the saddle points become ${P}_{±}=\left(±{\xi }_{1},0\right)$ with ${\xi }_{1}:={f}^{-1}\left(\sigma /{\mu }_{1}\right)$, where ${f}^{-1}$ is the inverse of f restricted to $\left[0,+\mathrm{\infty }\right)$. In this way, we can apply our results to nonlinearities like those considered in [2, 27]. More precisely, Theorem 2.1 holds without any further assumption, while for Theorem 2.2 we need to require a gap between the periods of the orbits ${\mathrm{\Gamma }}^{{\ell }_{1}}$ and ${\mathrm{\Gamma }}^{{\ell }^{\ast }}$. In order to obtain this gap, we can apply (for instance) some results ensuring the monotonicity of the time-map (like [[28], Theorem A]).
1. 3.
Due to the special form of the weight coefficient, it is standard to verify (via a simple rescaling procedure) that (1.1) is equivalent to an equation of the form
${x}^{″}+b\left(t\right)x-ah\left(x\right)=0,$
(3.1)

where $a>0$ and $b\left(t\right)$ is a stepwise coefficient. In this manner, one can deal with some nonlinear Schrödinger-type equations related to the case of potential wells or potential walls [29, 30].
1. 4.

The approach used in the proofs, based on the properties of the Poincaré map, guarantees that our results are stable with respect to small perturbations. More precisely, fixed a suitable length $T={t}_{+}-{t}_{-}$ for the time interval, Theorems 2.1 and 2.2 provide a lower bound for the number of solutions. We can state that the same lower bound persists for a small perturbation of the coefficient in the ${L}^{1}$-norm on $\left[{t}_{-},{t}_{+}\right]$. Therefore, the assumption that the weight $a\left(t\right)$ in (1.1) or $b\left(t\right)$ in (3.1) are stepwise functions can be slightly relaxed, so we can ‘smooth’ them.

2. 5.
With reference to equations (1.1) or (3.1) with stepwise coefficients, we observe that our approach can be adapted to boundary value problems on a compact interval $\left[0,T\right]$ like, e.g., the Dirichlet (two-point) or the Neumann problem. In these cases, we have to find solutions connecting given lines which depart from the origin. For the sake of conciseness, we cannot describe the most general situation, but we just outline a possible application for the Neumann problem
$\left\{\begin{array}{c}{x}^{″}+2kx-2g\left(t\right){x}^{3}=0,\hfill \\ {x}^{\prime }\left(0\right)=0,\phantom{\rule{2em}{0ex}}{x}^{\prime }\left(T\right)=0,\hfill \end{array}$
(3.2)

with $g\left(t\right)$ a stepwise function such that $g\left(t\right)={\mu }_{1}$ for $t\in \left[0,\tau \left[$ and $g\left(t\right)={\mu }_{0}$ for $t\in \left[\tau ,T\right]$, for $0<{\mu }_{0}<{\mu }_{1}$. Let us denote by ${\mathrm{\Phi }}_{1}$ the Poincaré map associated to system (2.6) on the time interval $\left[0,\tau \right]$, and by ${\mathrm{\Phi }}_{2}$ the Poincaré map associated to system (2.7) on the time interval $\left[0,T-\tau \right]$. We observe that there exists a maximal compact interval $\left[-{\xi }_{1}^{\ast },{\xi }_{1}^{\ast }\right]$ with ${\xi }_{1}<{\xi }_{1}^{\ast }<{\xi }_{0}$ such that $E\left({\mathrm{\Phi }}_{1}\left(z\right)\right)\le {\ell }_{0}$ for all the points $z=\left(x,0\right)$ with $x\in \left[-{\xi }_{1}^{\ast },{\xi }_{1}^{\ast }\right]$. In this manner ${\mathrm{\Phi }}_{1}\left(±{\xi }_{1}^{\ast },0\right)\in {\mathrm{\Gamma }}^{{\ell }_{0}}$. The curve
${\mathrm{\Upsilon }}^{\ast }:=\left\{{\mathrm{\Phi }}_{1}\left(x,0\right):-{\xi }_{1}^{\ast }\le x\le {\xi }_{1}^{\ast }\right\}$
represents the set of all the points in the region $\mathcal{W}=\left\{\left(x,y\right):-{\xi }_{0}\le x\le {\xi }_{0},E\left(x,y\right)\le {\ell }_{0}\right\}$, which are images (by ${\mathrm{\Phi }}_{1}$) of initial points of the x-axis (therefore ${x}^{\prime }\left(0\right)=0$). Figure 12 illustrates the curve ${\mathrm{\Upsilon }}^{\ast }$ for a short time interval ($\tau =2.2$). For a larger τ, the line ${\mathrm{\Upsilon }}^{\ast }$ becomes a double spiral with a certain number of turns around the origin, while the part of ${\mathrm{\Upsilon }}^{\ast }$ contained in the region gets very close to $\mathcal{O}\left({P}_{+}\right)$ and $\mathcal{O}\left({P}_{-}\right)$. Then we can repeat the same argument developed in the previous sections by looking for the intersections of ${\mathrm{\Phi }}_{2}\left({\mathrm{\Upsilon }}^{\ast }\right)$ with the x-axis.
1. 6.

As a final remark, we mention the fact that combining our technique with Ważewski’s method [31], following the approach developed by Conley in [18], one can deal with some more general classes of weight functions. For example, one could tackle with these techniques the cases of asymptotically constant or asymptotically periodic coefficients. These extensions, however, need a more delicate analysis and they are beyond the goals of the present paper.

We hope that the abundance of multiplicity results found in the present work (in the special case of stepwise coefficients) may suggest possible directions for extending Theorem 2.1 and Theorem 2.2 to more general weight functions. This will be our goal for a future investigation of the problem.

## Declarations

### Acknowledgements

The authors are deeply indebted with the referee for the careful checking of the manuscript and for his/her remarks, including a correction to an erroneous argument in the previous version of the proof. This research was partially supported by the project PRIN-2009 Equazioni Differenziali Ordinarie e Applicazioni.

## Authors’ Affiliations

(1)
Department of Mathematics and Computer Science, University of Udine

## References

1. Belmonte-Beitia J, Torres PJ: Existence of dark soliton solutions of the cubic nonlinear Schrödinger equation with periodic inhomogeneous nonlinearity. J. Nonlinear Math. Phys. 2008, 15(3):65–72.
2. Torres PJ, Konotop VV: On the existence of dark solitons in a cubic-quintic nonlinear Schrödinger equation with a periodic potential. Commun. Math. Phys. 2008, 282: 1–9. 10.1007/s00220-008-0527-0
3. Ambrosetti A, Badiale M, Cingolani S: Semiclassical states of nonlinear Schrödinger equations. Arch. Ration. Mech. Anal. 1997, 140: 285–300. 10.1007/s002050050067
4. Gavioli A: On the existence of heteroclinic trajectories for asymptotically autonomous equations. Topol. Methods Nonlinear Anal. 2009, 34: 251–266.
5. Gavioli A: Monotone heteroclinic solutions to non-autonomous equations via phase plane analysis. Nonlinear Differ. Equ. Appl. 2011, 18: 79–100. 10.1007/s00030-010-0085-y
6. Gavioli A, Sanchez L: Heteroclinics for non-autonomous second-order differential equations. Differ. Integral Equ. 2009, 22: 999–1018.
7. Holmes PJ, Stuart CA: Homoclinic orbits for eventually autonomous planar flows. Z. Angew. Math. Phys. 1992, 43: 598–625. 10.1007/BF00946253
8. Jones CKRT, Küpper T, Schaffner K: Bifurcation of asymmetric solutions in nonlinear optical media. Z. Angew. Math. Phys. 2001, 52: 859–880. 10.1007/PL00001578
9. Aronson DG, Mantzaris NV, Othmer HG: Wave propagation and blocking in inhomogeneous media. Discrete Contin. Dyn. Syst. 2005, 13: 843–876.
10. Lewis TJ, Keener JP: Wave-block in excitable media due to regions of depressed excitability. SIAM J. Appl. Math. 2000, 61: 293–316. 10.1137/S0036139998349298
11. Yang J, Kalliadasis S, Merkin JH, Scott SK: Wave propagation in spatially distributed excitable media. SIAM J. Appl. Math. 2002, 63: 485–509.
12. Rodrigues AS, Kevrekidis PG, Porter MA, Frantzeskakis DJ, Schmelcher P, Bishop AR: Matter-wave solitons with a periodic, piecewise-constant scattering length. Phys. Rev. A 2008., 78: Article ID 013611Google Scholar
13. Margheri A, Rebelo C, Zanolin F: Connected branches of initial points for asymptotic BVPs, with application to heteroclinic and homoclinic solutions. Adv. Nonlinear Stud. 2009, 9: 95–135.
14. Boscaggin A, Zanolin F: Pairs of nodal solutions for a class of nonlinear problems with one-sided growth conditions. Adv. Nonlinear Stud. 2013, 13: 13–55.
15. Capietto A, Henrard M, Mawhin M, Zanolin F: A continuation approach to some forced superlinear Sturm-Liouville boundary value problems. Topol. Methods Nonlinear Anal. 1994, 3: 81–100.
16. Fonda, A, Garrione, M: Generalized Sturm-Liouville boundary conditions for first order differential systems in the plane. Topol. Methods Nonlinear Anal. (to appear)Google Scholar
17. Rebelo C, Zanolin F: On the existence and multiplicity of branches of nodal solutions for a class of parameter-dependent Sturm-Liouville problems via the shooting map. Differ. Integral Equ. 2000, 13: 1473–1502.
18. Conley C: An application of Wazewski method to a non-linear boundary value problem which arises in population genetics. J. Math. Biol. 1975, 2: 241–249. 10.1007/BF00277153
19. Rebelo C, Sanchez L: Existence and multiplicity for an O.D.E. with nonlinear conditions. Differ. Equ. Dyn. Syst. 1995, 3: 383–396.
20. Struwe M: Multiple solutions of anticoercive boundary value problems for a class of ordinary differential equations of second order. J. Differ. Equ. 1980, 37: 285–295. 10.1016/0022-0396(80)90099-6
21. Gaines RE, Mawhin J: Ordinary differential equations with nonlinear boundary conditions. J. Differ. Equ. 1977, 26: 200–222. 10.1016/0022-0396(77)90191-7
22. Gaines RE, Mawhin J Lecture Notes in Mathematics 568. In Coincidence Degree, and Nonlinear Differential Equations. Springer, Berlin; 1977.Google Scholar
23. Hale JK: Ordinary Differential Equations. 2nd edition. Krieger, Huntington; 1980.
24. Zanini C, Zanolin F: An example of chaos for a cubic nonlinear Schrödinger equation with periodic inhomogeneous nonlinearity. Adv. Nonlinear Stud. 2012, 12: 481–499.
25. Gradshteyn IS, Ryzhik IM: Table of Integrals, Series, and Products. 7th edition. Academic Press, Boston; 2007. Translation Edited and with a Preface by Alan Jeffrey
26. Meyer KR: Jacobi elliptic functions from a dynamical systems point of view. Am. Math. Mon. 2001, 108: 729–737. 10.2307/2695616
27. Belmonte-Beitia J, Cuevas J: Existence of dark solitons in a class of stationary nonlinear Schrödinger equations with periodically modulated nonlinearity and periodic asymptotics. J. Math. Phys. 2011., 52: Article ID 032702Google Scholar
28. Chicone C: The monotonicity of the period function for planar Hamiltonian vector fields. J. Differ. Equ. 1987, 69: 310–321. 10.1016/0022-0396(87)90122-7
29. Frauenkron H, Grassberger P: Interaction of nonlinear Schrödinger solitons with an external potential. J. Phys. A 1995, 28: 4987–4996. 10.1088/0305-4470/28/17/027
30. Sakaguchi H, Tamura M: Scattering and trapping of nonlinear Schrödinger solitons in external potentials. J. Phys. Soc. Jpn. 2004, 73: 503–506. 10.1143/JPSJ.73.503
31. Ważewski T: Sur un principe topologique de l’examen de l’allure asymptotique des intégrales des équations différentielles ordinaires. Ann. Soc. Polon. Math. 1947, 20: 279–313.