General considerations
The starting point is the choice of the model used for our analyses, which is the Hénon-like [28] 4D symplectic map that describes the transverse betatron motion in a FODO cell with nonlinearities [7]. Such a map, written in Courant–Snyder normalized co-ordinates, is composed of rotations of frequencies \(\omega _x\) and \(\omega _y\) and a \(2(r+1)\)-polar kick, i.e. ,
$$\begin{aligned} \begin{pmatrix} x'\\ p'_x\\ y' \\ p'_y \end{pmatrix} = R(\omega _x,\omega _y) \begin{pmatrix} x &{}\\ p_x &{}+ \sqrt{\beta _x} {\text {Re}}\left[ \left( \dfrac{ K_r + i J_r}{r!} \right) \left( \sqrt{\beta _x}\, x+i\sqrt{\beta _y}\,y \right) ^r\right] \\ y &{}\\ p_y &{}- \sqrt{\beta _y} {\text {Im}}\left[ \left( \dfrac{ K_r + i J_r}{r!} \right) \left( \sqrt{\beta _x}\,x+i\sqrt{\beta _y}\,y \right) ^r\right] \end{pmatrix}\, , \end{aligned}$$
(1)
where \(R(\omega )\) is a 2D rotation matrix and \(R(\omega _x,\omega _y)=\mathrm {diag}\left( R(\omega _x),R(\omega _y)\right) \), while \( K_r\) and \( J_r\) are the normal and the skew integrated strength of the \(2(r+1)\)-polar magnet, respectively. They are obtained by considering the following expression for the transverse magnetic field
$$\begin{aligned} B_y +i B_x = B\rho \sum _{r=1}^{M} \left( k_r+ij_r\right) \frac{\left( x+i y\right) ^r}{r!} \, , \end{aligned}$$
(2)
where \(B\rho \) is the beam magnetic rigidity and \(K_r=k_r \ell \), \(J_r = j_r \ell \), where \(\ell \) is the length of the magnetic element.
In certain situations, it is interesting to introduce an explicit amplitude-detuning effect in the map of Eq. (1) that models the case where a magnetic multipole excites the resonance, whereas the effect of other magnetic elements, not modeled as kicks in the map, is to generate an amplitude-dependent detuning. In this case, the rotation matrix in Eq. (1) is replaced by a rotation matrix \(R(\omega _x+\alpha _{xx}J_x + \alpha _{xy}J_y, \omega _y+\alpha _{xy}J_x + \alpha _{yy}J_y)\), where the linear actions \(J_x=(x^2+p_x^2)/2\), and \(J_y=(y^2+p_y^2)/2\) have been used, which defines an amplitude-dependent 4D rotation.
We say that \(\omega _x, \omega _y\) satisfy a \((m,\, n)\) difference resonance condition if the following holds
$$\begin{aligned} m\omega _x - n\omega _y = 2\pi k \qquad m, n \in \mathbb {N}, k \in \mathbb {Z} \, , \end{aligned}$$
(3)
and the resonance order is given by \(m+n\).
Normal Form theory applied to the map of Eq. (1) close to a \((m,\, n)\) resonance condition allows a resonant Normal Form to be built, from which a quasi-resonant interpolating Hamiltonian can be derived [7]. The analysis focuses on the resonances of orders 3 and 4 that, at the leading order in the actions, are possible to excite using common magnetic elements (the details about which magnet type can excite a given resonance are given in Appendix A) according to the following scheme
-
(1, 2) resonance: normal sextupole (\(j_2=0\));
-
(2, 1) resonance: skew sextupole (\(k_2=0\));
-
(3, 1) resonance: skew octupole (\(k_3=0\));
-
(1, 3) resonance: skew octupole (\(k_3=0\)).
We remark that the Normal Form approach provides the resonant terms due to a given nonlinearity as perturbations in the actions \(J_x\) and \(J_y\), instead of using the resonance strength as the perturbation parameter.
We also remark that the correspondence between magnet type and resonance is valid for the case of a single kick, i.e. , for a map of the form of Eq. (1). In the case of a system with two nonlinear kicks, the fourth-order resonances can also be excited by using a combination of normal and skew sextupoles.
Phase-space topology of the Hamiltonian model
The Normal Form Hamiltonian in the resonant case, written in action-angle variables reads
$$\begin{aligned} \mathcal {H}(\phi _x,\,J_x,\,\phi _y,\,J_y) = \omega _x J_x + \omega _y J_y + \alpha _{xx}J_x^2 + 2\alpha _{xy} J_x J_y + \alpha _{yy} J_y ^2 + G J_x^{m/2} J_y^{n/2}\cos (m\phi _x-n\phi _y) \, , \end{aligned}$$
(4)
where the amplitude-detuning parameters \(\alpha _{xx}\), \(\alpha _{xy}\), \(\alpha _{yy}\) have been introduced and the quasi-resonance condition is given by \(m\,\omega _x - n\,\omega _y\approx 0\). The resonance-strength parameter G is directly proportional to the magnet strength \(k_r\) or \(j_r\), as one can verify by computing the resonant Normal Form Hamiltonian for map (1) using, e.g. , software presented in Ref. [29].
The canonical transformation (see [30, p. 410])
$$\begin{aligned} \begin{aligned} J_x&= mJ_1\,,&\phi _1&= m \phi _x -n \phi _y\,, \\ J_y&= J_2-nJ_1\,,&\phi _2&= \phi _y\,, \ \end{aligned} \end{aligned}$$
(5)
introduces the fast and slow phases and casts the Hamiltonian into the form
$$\begin{aligned} \mathcal {H}(\phi _1,J_1) =\delta J_1 +\alpha _{12} J_1 J_2 +\alpha _{11}J_1^2 +G(mJ_1)^{\frac{m}{2}}(J_2-nJ_1)^{\frac{n}{2}}\cos \phi _1 + \Big [\omega _yJ_2+ \alpha _{22}J_2^2\Big ]\,, \end{aligned}$$
(6)
where \(\delta =m\,\omega _x-n\,\omega _y\) is the resonance-distance parameter, and the new constants \(\alpha _{11}\), \(\alpha _{12}\), and \(\alpha _{22}\) are functions of \(\alpha _{xx}\), \(\alpha _{xy}\) and \(\alpha _{yy}\) according to
$$\begin{aligned} \begin{aligned} \alpha _{11}&= m^2\alpha _{xx} - 2m\, n\, \alpha _{xy}+n^2\alpha _{yy}\, ,\\ \alpha _{12}&= 2(m\, \alpha _{xy}-n\, \alpha _{yy})\, ,\\ \alpha _{22}&= \alpha _{yy}\, . \end{aligned} \end{aligned}$$
(7)
We remark that the term in square brackets of Eq. (6) can be discarded as it is a function of \(J_2\) only, which is an integral of motion since \({\partial \mathcal {H}}/{\partial \phi _2}=0\). Hence, it represents a constant additive term of the Hamiltonian. Furthermore, the term \(\alpha _{12}\) induces a shift in the location of the resonance crossing, which occurs for \(\delta + \alpha _{12} J_2=0\), thus making the resonance-crossing process dependent on the value of \(J_2\) ( a time-independent quantity). We remark also that the condition \(J_y>0\) constrains the motion within the circle \(J_1 < J_2/n\), which we call the allowed circle. The existence of the allowed circle is a consequence of having chosen a difference resonance, i.e. , with the minus sign in Eq. (3). Sum resonances do not fulfil this property that is essential for emittance exchange.
It is worth mentioning that if instead of the resonance (m, n) one would like to analyze the (n, m) resonance, an exchange of the two transverse directions x and y can be applied to Eqs. (4), (5), and (7). However, the resulting Hamiltonian (6) will contain a term \(-\delta J_1\), instead. Hence, the direction of the resonance crossing is reversed between the two resonances. Moreover, the amplitude-detuning terms will be different for the two resonances, which in turns implies that the actual crossing time will be different. Given the complexity of the symmetry induced, in the following the analysis of the resonances (m, n) and (n, m) is carried out by only exchanging m and n in Eq. (4).
To study the phase-space structure, it is convenient to express Eq. (6) using the rescaled variable \(\tilde{J}_1 =J_1/J_2\), that gives the Hamiltonian
$$\begin{aligned} \tilde{\mathcal {H}}(\phi _1,\tilde{J}_1) =\frac{\delta }{G J_2^{\frac{m+n-2}{2}}} \tilde{J}_1 +\frac{\alpha _{12}}{G J_2^{\frac{m+n-4}{2}}} \tilde{J}_1 +\frac{\alpha _{11}}{G J_2^{\frac{m+n-6}{2}}} \tilde{J}_1^2 +(m\tilde{J}_1)^{\frac{m}{2}}(1-n\tilde{J}_1)^{\frac{n}{2}}\cos \phi _1\, . \end{aligned}$$
(8)
It appears that the resonance-crossing process is actually governed by the parameter
$$\begin{aligned} \eta = \frac{\delta }{G J_2^{\frac{m+n-2}{2}}} \, . \end{aligned}$$
(9)
Therefore, there is an interplay between the distance from resonance, \(\delta \), the multipole strength, proportional to G, and the invariant action \(J_2\). We also remark that the coefficients \(\alpha _{12}, \alpha _{11}\) are rescaled by the quantity \(1/(G J_2^{\frac{m+n-6}{2}})\).
The equations of motion for the Hamiltonian of Eq. (6) are
$$\begin{aligned} \begin{aligned} \dot{\phi }_1&= \frac{\partial \mathcal {H}}{\partial J_1}= \delta +2\alpha _{11}J_1+\alpha _{12} J_2 +\frac{m}{2}G(mJ_1)^{\frac{m}{2}-1} (J_2-nJ_1)^{\frac{n}{2} -1} \Big [ mJ_2 -n (m+n)J_1 \Big ]\cos \phi _1\,,\\ \dot{J}_1&= -\frac{\partial \mathcal {H}}{\partial \phi _1}=G \, (mJ_1)^{\frac{m}{2}}(J_2-nJ_1)^{\frac{n}{2}}\sin \phi _1\,, \end{aligned} \end{aligned}$$
(10)
and the phase-space topology that is originated by them depends both on m and n, although some features do not.
The knowledge about the existence of the fixed points of Eq. (10) and their stability is essential for understanding the phase-space topology. The solutions of the equation \({\partial \mathcal {H}}/{\partial \phi _1}=0\) that satisfy the condition \(J_2-nJ_1=0\) are particularly relevant for our study, since they lie on the border of the allowed circle, and for this reason, these solutions have to be unstable fixed points and are computed by solving
$$\begin{aligned} \cos \phi _1=\frac{2(\delta +2\alpha _{11} J_1+\alpha _{12} J_2)}{Gm^{m/2}\left[ n^2J_1-m(J_2-nJ_1)\right] J_1^{\frac{m}{2}-1}(J_2-nJ_1)^{\frac{n}{2}-1}}\, . \end{aligned}$$
(11)
When imposing the condition \(J_1-nJ_2=0\), the r.h.s. of Eq. (11) is not singular only if \(n=1\) or \(n=2\) (the exactly resonant case will be discussed later).
The separatrix that passes through the unstable fixed points on the border of the allowed circle is called coupling arc (as in Ref. [25]) and is found by solving the equation
$$\begin{aligned} \mathcal {H}(\phi _1, J_1) = \delta \frac{J_2}{n} + \left( \frac{\alpha _{11}}{n} + \frac{\alpha _{12}}{n}\right) J_2^2\,, \end{aligned}$$
(12)
which can be rewritten as
$$\begin{aligned} n\delta + \alpha _{11}n^2(J_2+nJ_1) + n\alpha _{12}J_2= G m^{m/2} J_1^{m/2}(J_2-nJ_1)^{\frac{n}{2}-1}\cos \phi _1\, . \end{aligned}$$
(13)
For \(n=1\), the term \((J_2-nJ_1)^{1/2}\) appears in the numerator of Eq. (11) with a positive power, and when \(J_1=J_2\), i.e. , on the allowed circle, \(\cos \phi _1=0\), so \(\phi _1=\pm \pi /2\). With no amplitude detuning, the equation of the coupling arc reads
$$\begin{aligned} \delta (J_2-J_1)^{1/2} = Gm^{m/2} J_1^{m/2} \cos \phi _1\, , \end{aligned}$$
(14)
and the existence of solutions requires \(\delta \cos \phi _1 > 0\). If \(\delta >0\) the coupling arc lies in the right hemicircle, while for \(\delta <0\) it lies in the left one. Furthermore, for large values of \(|\delta |\) the coupling arc is very close to the allowed circle, as it can be seen from the equation in the limit \(|\delta | \rightarrow +\infty \).
For \(n=2\), the term \((J_2-2J_1)\) disappears from the denominator of Eq. (11), and the coupling-arc intersections are found for
$$\begin{aligned} \cos \phi _1 = 2^{\frac{m}{2}-1}\frac{\delta + (\alpha _{11}+\alpha _{12})J_2}{Gm^{m/2}J_2^{m/2}} \, , \end{aligned}$$
(15)
which exist as long as \(|\cos \phi _1|\le 1\), and they do not depend on \(J_1\). In this case, in the absence of amplitude detuning, we obtain a simple expression for the coupling arc
$$\begin{aligned} J_1 = \left( \frac{\delta }{2 Gm^{m/2}\cos \phi _1}\right) ^{2/m}\, . \end{aligned}$$
(16)
Once the Hamiltonian of Eq. (6) is recast in Cartesian coordinates \((X=\sqrt{2J_1}\cos \phi _1,\,Y=\sqrt{2J_1}\sin \phi _1)\), one can observe that the other fixed points, which could be associated to the presence of other separatrices, can be found only on the X axis due to symmetry reasons.
First of all, we remark that the origin \((X=0,\,Y=0)\) is a fixed point only if \(m > 1\). In this case, we can study the isoenergetic surface of the origin from the equation \(\mathcal {H}(\phi _1,J_1)=0\), i.e. ,
$$\begin{aligned} J_1(\delta + \alpha _{11}J_1 + \alpha _{12}J_2 + Gm^{m/2}J_1^{m/2 - 1}(J_2-nJ_1)^{n/2}\cos \phi _1) = 0 \, , \end{aligned}$$
(17)
which is solved for \(J_1=0\) or for
$$\begin{aligned} \delta + \alpha _{12}J_2 = - \alpha _{11}J_1 - Gm^{m/2}J_1^{m/2 - 1}(J_2-nJ_1)^{n/2}\cos \phi _1 \, . \end{aligned}$$
(18)
For \(m=2\), we can solve analytically the case without amplitude-detuning terms, as the equation becomes
$$\begin{aligned} \delta = - 2G(J_2-nJ_1)^{n/2}\cos \phi _1\, . \end{aligned}$$
(19)
A solution \(J_1(\phi _1)\) that passes through the origin when \(\mathrm{acos}(\delta /(2GJ_2^{n/2}))\) exists, i.e. , for \(|\delta |\le 2GJ_2^{n/2}\). The solution lies in the positive-X domain if \(\delta <0\), and in the negative one if \(\delta >0\). For \(m>2\), the origin is a genuine fixed point and the Hamiltonian can be linearized around the origin using the coordinates X, Y. One obtains a simple rotator Hamiltonian, i.e. , \(\mathcal {H}_\text {lin} = \delta (X^2+Y^2)/2\), which shows that the origin is an elliptic fixed point.
Finally, additional fixed points might exist on the axis \(Y=0\), and they should be solutions of \({\partial \mathcal {H}}/{\partial X}=0\), having set \(Y=0\). The equation reads
$$\begin{aligned} \delta + \alpha _{11}X^2 + \alpha _{12}J_2 + \frac{G}{2}\left( \frac{m}{2}\right) ^\frac{m}{2} \left( J_2-\frac{n}{2}X^2\right) ^{\frac{n}{2}-1}\,X^{m-2}\left[ 2mJ_2-2-n(m+n)X^2\right] =0\, . \end{aligned}$$
(20)
The number of real solutions of Eq. (20) that lie inside the allowed circle depends on the degree of the resulting polynomial in X, which is determined by the order of the resonance condition. Therefore, the topology of the phase space of higher-order resonances can be very complicated, and its detail is a crucial element for the feasibility of emittance sharing. A specialized discussion on fixed points on the \(Y=0\) axis is carried out for each resonance taken into consideration in our study in Sect. 2.3.
We remark that when \(\delta +\alpha _{12}J_2=0\), i.e. , the resonance condition is met, and \(\alpha _{11}=0\), the nontrivial solutions of Eq. (20) are given by
$$\begin{aligned} 2mJ_2 -n(m+n)X^2 = 0\,, \qquad \text {or} \qquad X = \pm \sqrt{\frac{2mJ_2}{n(m+n)}}\, . \end{aligned}$$
(21)
The two symmetrical solutions are both stable fixed points. For the origin, the previous discussion holds, having set \(\delta =0\). Moreover, the coupling arc equation at resonance becomes \(\cos \phi _1 =0\), and the coupling arc is reduced to the diameter of the allowed circle passing through \(\phi _1 = \pm \pi /2\), for any value of m and n. Separatrices that are not coupling arcs approximate the behavior of a coupling arc close to the resonance (see, e.g. , the top-right phase-space portrait of Fig. 4).
In general, at resonance, the allowed circle is symmetrically divided in two regions. Hence, whatever the resonance is crossed, if \(\alpha _{11}=0\) there is always a neighborhood of the resonant condition \(\delta +\alpha _{12}J_2=0\) where the phase space is divided into two regions. This is the ideal condition to perform emittance sharing, as it will be shown in Sect. 2.4.
In the following, we analyze some resonances that can be excited using magnetic elements commonly installed in particle accelerators.
Motion close to low-order resonances
We now compute the most important features of the phase space of the resonant Normal Form Hamiltonian for low-order resonances excited by sextupole or octupole magnets. The theory of emittance sharing relies on separatrix crossing; therefore, we need to know which fixed points exist in the phase space, their stability, and where separatrices exist. In general, we will search for unstable fixed points on the allowed circle, which give rise to a coupling arc, for stable fixed points on \(\phi _1=0\) or \(\phi _1=\pi \), and for possible extra separatrices.
Resonance (1,2)
Resonance (1, 2) Hamiltonian in \((\phi _1, J_1)\) coordinates, corresponding to the resonant Normal Form of a Hénon-like map with a normal sextupolar kick, reads [25, 26],
$$\begin{aligned} \mathcal {H}(\phi _1,J_1) = \delta J_1 + \alpha _{11}J_1^2 + \alpha _{12}J_1 J_2 + GJ_1^{1/2}(J_2-2J_1)\cos \phi _1\, . \end{aligned}$$
(22)
The phase-space features an allowed circle given by \(J_1<J_2/2\), and a coupling arc. From Eq. (11), one obtains the unstable fixed points as solutions of
$$\begin{aligned} \cos \phi =\frac{\delta + (\alpha _{11} + \alpha _{12})J_2}{G\sqrt{2J_2}} \end{aligned}$$
(23)
and a coupling arc (see Eq. (13)) that, expressed in Cartesian coordinates, reads
$$\begin{aligned} 4\alpha _{11}(X^2+Y^2) - \frac{G}{\sqrt{2}}X + 2(\delta + \alpha _{12}J_2+2\alpha _{11}J_2)=0\, . \end{aligned}$$
(24)
This represents a circumference that crosses the allowed circle when
$$\begin{aligned} \left| \frac{\delta + (\alpha _{11} + \alpha _{12})J_2}{G\sqrt{2J_2}}\right| \le 1 \end{aligned}$$
(25)
dividing it in two regions. When \(\alpha _{11}=0\), the coupling arc reduces to the straight line
$$\begin{aligned} X = \frac{\sqrt{2}(\delta + \alpha _{12}J_2)}{2G} \end{aligned}$$
(26)
that sweeps through the phase space if \(\delta \) is varied, defining two equal regions when \(\delta =-\alpha _{12} J_2\). The equation of the stable fixed points for \(\phi _1=0\) or \(\phi _1=\pi \) reads
$$\begin{aligned} (\delta + 2\alpha _{11}J_1 + \alpha _{12}J_2)J_1^{1/2} \pm G(J_2-6J_1)=0 \, , \end{aligned}$$
(27)
and we obtain two real solutions inside the allowed circle, one for each side of the coupling arc. Therefore, the phase space is always divided into no more than two regions. Some phase-space portraits are shown in Fig. 1.
Resonance (2,1)
The starting point is the Hénon-like 4D map with a skew sextupole kick and the resonant Normal Form provides an interpolating Hamiltonian up to order 3 of the form
$$\begin{aligned} \mathcal {H}(\phi _1,J_1) = \delta J_1 + \alpha _{11}J_1^2 + \alpha _{12}J_1J_2+ 2G J_1\sqrt{J_2-J_1}\cos \phi _1 \, , \end{aligned}$$
(28)
and the motion is limited to the allowed circle \(J_1<J_2\). The fixed points on the allowed circle are given by \(\cos \phi _1=0\), i.e. , \(\phi _1=\pm \pi /2\), whereas the expression of the coupling arc is obtained by solving \(\mathcal {H}(J_1,\phi _1) - \mathcal {H}(J_1=J_2,\phi _1=\pm \pi /2)\), i.e. ,
$$\begin{aligned} (\delta +\alpha _{11}(J_2+J_1)+\alpha _{12}J_2)\sqrt{J_2-J_1} = 2GJ_1\cos \phi _1\,, \end{aligned}$$
(29)
which is easily solved when \(\alpha _{11}=0\):
$$\begin{aligned} J_1(\phi _1) = -\frac{{\hat{\delta }}^{2} - {\hat{\delta }} \sqrt{16 G^{2} J_{2} \cos \left( \phi _{1}\right) ^{2} + {\hat{\delta }}^{2}} }{8 G^{2} \cos \left( \phi _{1}\right) ^{2}} \qquad \text {with} \qquad {\hat{\delta }} = \delta +\alpha _{12}J_2 \, . \end{aligned}$$
(30)
We remark that if \({\hat{\delta }}>0\) we must have \(\cos \phi _1>0\), i.e. , the coupling arc lies in the positive domain of X, whereas for \({\hat{\delta }}<0\) in the negative one. Moreover, for \({\hat{\delta }}=0\) the coupling arc reduces to a line that evenly divides the allowed circle. On the other hand, we can look for solutions when \(\phi _1=0\) and \(\phi _1=\pi \), and when \(\alpha _{11}=0\), Eq. (30) reads
$$\begin{aligned} {\hat{\delta }}\sqrt{J_2-J_1} \pm G(2J_2-3J_1) = 0\, . \end{aligned}$$
(31)
Assuming \(G>0\), we need to impose conditions on the existence of the solutions before squaring: for \(\phi _1=0\) and \({\hat{\delta }}>0\), the condition \(2J_2/3<J_1<J_2\) holds, while for \({\hat{\delta }}<0\) we require \(J_1<2J_2/3\). For \(\phi _1=\pi \), the conditions are reversed. Finally, we obtain the solutions
$$\begin{aligned} J_1^\pm = \frac{2}{3}J_2 \pm \frac{{\hat{\delta }}}{18G^2} \left( \sqrt{12G^2 J_2+{\hat{\delta }}^2}\mp {\hat{\delta }}\right) \, . \end{aligned}$$
(32)
No matter the sign, the quantity inside the brackets is always positive, which implies \(J_1^+>2J_2/3\) if \({\hat{\delta }}>0\) and \(J_1^+<2J_2/3\) if \({\hat{\delta }}<0\), and this solution is acceptable only for \(\phi _1=0\). Conversely, \(J_1^->2J_2/3\) if \({\hat{\delta }}<0\) and \(J_1^-<2J_2/3\) if \({\hat{\delta }}>0\). This solution is only acceptable when \(\phi _1=\pi \). Finally, we always have a solution in the positive X semi-axis and one in the negative one, as long as the solution for \(J_1\) inside the allowed circle, but, as \(J_1^+ \rightarrow J_2\) when \({\hat{\delta }} \rightarrow \infty \), and \(J_1^- \rightarrow J_2\) as \({\hat{\delta }}\rightarrow -\infty \), this never occurs.
Let us study the trajectory of a point whose initial condition is at the origin. We have to solve the equation \(\mathcal {H}(\phi _1,J_1) = 0\), i.e. ,
$$\begin{aligned} J_1\left( \delta + 2G\sqrt{J_2-J_1}\cos \phi _1\right) =0\,, \end{aligned}$$
(33)
and we have the solutions \(J_1=0\) and \(\delta + 2G\sqrt{J_2-J_1}\cos \phi _1=0\). The latter can only be solved for \(\cos \phi _1<0\) if \(\delta >0\), and \(\cos \phi _1>0\) if \(\delta <0\). Therefore, there is only one trajectory passing through the origin: it does not alter the topology of the phase space introducing new islands (see Fig. 2), and the allowed circle is always divided into two regions, thus making the emittance sharing possible.
We remark that in Fig. 2 and in general in the phase-space portraits of the Hamiltonian functions discussed in this paper, we used large values of \(\delta \) and \(J_2\), compared to those chosen for the numerical simulations that will be later discussed. This is justified by the fact that the Hamiltonian models depend on the unique parameter \(\eta =\delta /(G\sqrt{J_2})\), for third order resonances, and \(\eta =\delta /(GJ_2)\), for fourth-order ones (see Eq. 9), hence it is perfectly justified to choose conditions with \(\eta \sim 1\).
Resonance (1,3)
For the (1, 3) resonance, which is excited by a skew octupole, we have the quasi-resonant Hamiltonian
$$\begin{aligned} \mathcal {H}(\phi _1,J_1) = \delta J_1 + \alpha _{12}J_1 J_2 + \alpha _{11}J_1^2 + GJ_1^{1/2}(J_2-3J_1)^{3/2}\cos \phi _1 \, . \end{aligned}$$
(34)
If we set \(\alpha _{11}=\alpha _{12}=0\), which is the case when the resonance is excited without sextupolar kicks, we have fixed points for \(\phi _1=0\) or for \(\phi _1=\pi \) that are the solutions of
$$\begin{aligned} \frac{\partial \mathcal {H}}{\partial J_1}\Big |_{\phi _1=0,\pi } = \delta \pm \frac{G}{2}\left( J_1^{-1/2}(J_2-3J_1)^{3/2} - 9J_1^{1/2}(J_2-3J_1)^{1/2}\right) =0 \, , \end{aligned}$$
(35)
that gives
$$\begin{aligned} \delta J_1^{1/2} = \pm \frac{G}{2}\left( 9 J_1 (J_2-3J_1)^{1/2} - J_1^{1/2}(J_2-3J_1)^{3/2}\right) \, . \end{aligned}$$
(36)
The r.h.s. of Eq. 36 is positive when \(\pm G\left( J_1-\frac{J_2}{12}\right) > 0\), and we will compare it to the sign of \(\delta \). Let us choose \(G>0\). For \(\phi _1=0\), we have solutions for \(\delta >0\) and \(J_2/12<J_1<J_2/3\), or for \(\delta <0\) and \(0<J_1<J_2/12\). For \(\phi =\pi \), the conditions are reversed. By squaring the equation, which gives a cubic polynomial, we compute its roots, taking into account all conditions. The solutions are given in Fig. 3. There are the following possibilities:
-
if \(\delta /(GJ_2)>1\), there exists only one stable fixed point for \(\phi _1=\pi \) that tends to the origin when \(\delta /(G J_2)\gg 1\);
-
if \(0< \delta /(GJ_2) < 1\), there are two fixed points on \(\phi _1=0\) and one on \(\phi _\pi \). The inner solution on \(\phi _1=0\) (\(J_1^+\)) and the solution on \(\phi _1=\pi \) (\(J_1^-\)) are stable, while the outer fixed point on \(\phi _1=0\) is unstable, and generates a separatrix. The phase space is divided into three regions: \(S^\pm \) around \(J_1^\pm \), and \({\hat{S}}\) that is the area between the separatrix which crosses \({\hat{J}}_1\) and the allowed circle. Portraits with \(\delta /(GJ_2)=0.1\) and \(\delta /(GJ_2)=0.8\) are shown in Fig. 4;
-
if \(\delta =0\), two fixed points are present in \(J_2/12\), at \(\phi _1=0\) and \(\phi _1=\pi \). The separatrix degenerates to the diameter of the allowed circle.
-
if \(\delta <0\), one has the same situation as for \(\delta >0\), but exchanging \(\phi _1=0\) and \(\phi _1=\pi \).
Resonance (3,1)
From the general properties stated before, the allowed circle is \(J_1 <J_2\) and the coupling arc intersects the border of the allowed circle at \(\phi _1=\pm \pi /2\). Then, we have the origin that, being \(m>2\), is a stable fixed point.
For what concerns the fixed points on the X axis, we initially consider the case with \(\alpha _{11}=\alpha _{12}=0\). For \(\phi _1=0\) or \(\phi _1=\pi \), the equation \({\partial H}/{\partial J_1}=0\) reads
$$\begin{aligned} 2\delta \sqrt{J_2-J_1}=\pm 3\sqrt{3}GJ_1^{1/2}(4J_1-3J_2)\, . \end{aligned}$$
(37)
Assuming \(G>0\), for \(\delta >0\) we can accept solutions on \(\phi _1=0\) for \(J_1<3J_2/4\) and on \(\phi _1=\pi \) for \(3J_2/3<J_1<J_2\), and the opposite for \(\delta <0\). By squaring, we obtain the cubic equation
$$\begin{aligned} 4\delta ^2(J_2-J_1)=27 G^2 J_1(4J_1-3J_2)^2 \end{aligned}$$
(38)
whose roots can be studied by rewriting the equation as
$$\begin{aligned} \frac{4\delta ^2}{27G^2}=\frac{J_1(4J_1-3J_2)^2}{J_2-J_1}=f\left( \frac{J_1}{J_2}\right) \,, \end{aligned}$$
(39)
and by studying \(f(J_1/J_2)\) as a function of \(J_1\) in \([0,J_2]\). This function has zeroes in \(J_1=0\) and \(J_1=3J_2/4\) and diverges to \(+\infty \) as \(J_1\rightarrow J_2\). From its derivative, we find that a local maximum exists for \(J_1=(3-\sqrt{3})J_2/4\) and the corresponding value of \(\delta \) is (see Eq. (39))
$$\begin{aligned} \delta ^* =\pm \frac{9G}{2}\sqrt{2\sqrt{3}-3}J_2\approx \pm 3.1GJ_2\, . \end{aligned}$$
(40)
The plot of \(f(J_1/J_2)\) is shown in Fig. 5. Considering the sign conditions on the solution, one has the following possibilities (some examples of phase-space portraits are shown in Fig. 6):
-
if \(\delta >\delta ^*\), there are a stable fixed point at the origin and a stable fixed point at the right of the coupling arc for \(\phi _1=0\) and \(J_1>3J_2/4\) (see Fig. 6, right);
-
if \(0<\delta <\delta ^*\), a stable fixed point at the origin, an unstable fixed point for \(\phi _1=\pi \), \(0<J_1<(3-\sqrt{3})J_2/4\), and a stable fixed point for \(\phi _1=\pi \) and \((3-\sqrt{3})J_2/4<J_1<3J_2/4\), plus a stable fixed point at the right of the coupling arc, for \(\phi _1=0\) and \(J_1>3J_2/4\). The separatrix that passes through the unstable fixed point is the green line in Fig. 6 (centre) delimiting the regions \(S_1\) and \(S_2\);
-
if \(\delta =0\), two stable fixed points at \(J_1=3J_2/4\); the coupling arc is a line that passes through the origin (see Fig. 6, left);
-
if \(-\delta ^*<\delta <0\), a stable fixed point at the origin, an unstable fixed point for \(\phi _1=0\), \(0<J_1<(3-\sqrt{3})J_2/4\), and a stable fixed point for \(\phi _1=0\) and \((3-\sqrt{3})J_2/4<J_1<3J_2/4\), plus a stable fixed point at the left of the coupling arc, for \(\phi _1=\pi \) and \(J_1>3J_2/4\). The topology is the same of Fig. 6 (centre), but horizontally reversed;
-
\(\delta <-\delta ^*\): a stable fixed point at the origin and a stable fixed point at the left of the coupling arc for \(\phi _1=\pi \) and \(J_1>3J_2/4\). Once more, the topology is mirrored w.r.t. the rightmost plot of Fig. 6.
Emittance-sharing process
General considerations
Let us consider a process described by the Hamiltonian of Eq. (4), with either \(\omega _x\) or \(\omega _y\), or both, slowly changing as a function of time to cross the \((m,\,n)\) resonance. According to the transformations that led to Eq. (6), this is modeled varying \(\delta \) from a case where \({\hat{\delta }}=\delta +\alpha _{12}J_2\gg 0\) to one where \({\hat{\delta }}\ll 0\), i.e. , \({\hat{\delta }}\) is adiabatically changed from \(+\delta _\text {max}\) to \(-\delta _\text {max}\) during a time interval T. The variation of \({\hat{\delta }}\) changes the position of the coupling arc, that sweeps the disk \(J_1<J_2/n\) within which the dynamics is constrained.
A particle starts its orbit far from the resonance, with an action \(J_{1,\text {i}} = J_{x,\text {i}}/m\), where the only fixed point is close to the origin and the particle orbit is almost a circle, of area \(2\pi J_{1,\text {i}}\). This area is an adiabatic invariant, and it is conserved when \({\hat{\delta }}\) is slowly varied. As \({\hat{\delta }}\) is decreased, the moving coupling arc reduces the extent of the region the particle is orbiting in, dividing the allowed circle in two parts that have equal area when \({\hat{\delta }}=0\). When the area of the initial region is equal to \(2\pi J_{1,\text {i}}\), according to separatrix crossing theory [31], the particle will cross the coupling arc and enter the other phase-space region with an action corresponding to the area of the arrival region at the jump time divided by \(2\pi \).
Since the allowed circle has an area \(2\pi J_2/n\), the resulting action will be
$$\begin{aligned} J_{1,\text {f}} = \frac{J_2}{n}-J_{1,\text {i}}\,, \end{aligned}$$
(41)
and, transforming back to the initial actions
$$\begin{aligned} J_{x,\text {f}} = m J_{1,\text {f}} = m \left( \frac{J_{y,\text {i}}+ n J_{x,\text {i}}/m}{n}-\frac{J_{x,\text {i}}}{m}\right) = \frac{m}{n}J_{y,\text {i}} \end{aligned}$$
(42)
and
$$\begin{aligned} J_{y,\text {f}} = \frac{n}{m} J_{x,\text {i}}\, . \end{aligned}$$
(43)
As \(\delta \) continues decreasing, the area of the region containing the particle orbit increases and, at the end of the variation of \(\delta \) (far from the resonance), the orbit is a circle around the origin whose area corresponds to the new action.
For each particle, this process realizes an action sharing between the two degrees of freedom. The product \(J_x J_y\) remains constant, but the two values are, at the end of the process, reallocated according to a n/m ratio. Note that for the case of the linear coupling resonance, i.e. , \(n=m=1\), this corresponds to the well-known emittance exchange process [21, 23, 24]. It is essential to stress that the analysis outlined before holds true only when the phase space is exactly divided into two regions by the coupling arc, and no other separatrices are present. Otherwise, a different analysis is needed to assess whether the additional phase-space regions, such as the ones visible in the centre plot of Fig. 6, interfere with the trapping process leading to the emittance sharing. A discussion on this and how to mitigate such effects is carried out in Sect. 2.4.2. If the action sharing is successful, it is possible to verify what happens in the presence of a set of initial conditions that are Gaussian distributed in both planes \((x, p_x)\) and \((y,p_y)\), i.e. , an exponential distribution in \(J_x\) and \(J_y\). Using the standard definition, i.e. , \(\varepsilon _x = \langle {J_x}\rangle \), \(\varepsilon _y = \langle {J_y}\rangle \), the initial distribution reads
$$\begin{aligned} \rho _\text {i}(J_x,J_y) = \frac{1}{\varepsilon _{x}\varepsilon _{y}}\exp ( -\frac{J_x}{\varepsilon _{x}} - \frac{J_y}{\varepsilon _{y}}) \end{aligned}$$
(44)
and, after the exchange process using Eqs. (42, 43), we obtain the final distribution
$$\begin{aligned} \rho _\text {f}(J_x,J_y) = \frac{1}{\varepsilon _{x}\varepsilon _{y}}\exp ( -\frac{m}{n}\frac{J_y}{\varepsilon _{x}} - \frac{n}{m}\frac{J_x}{\varepsilon _{y}}) \, . \end{aligned}$$
(45)
The new averages are given by the integrals
$$\begin{aligned} \begin{aligned} \varepsilon _{x,\text {f}} = \langle {J_{x,\text {f}}}\rangle&= \int _0^\infty \mathrm{d}J_x\int _0^\infty \mathrm{d}J_y\, J_x\, \rho _\text {f}(J_x,J_y)&= \frac{m}{n}\langle {J_{y,\text {i}}}\rangle = \frac{m}{n}\varepsilon _{y,\text {i}} \\ \varepsilon _{y,\text {f}} = \langle {J_{y,\text {f}}}\rangle&= \int _0^\infty \mathrm{d}J_x\int _0^\infty \mathrm{d}J_y\, J_y\, \rho _\text {f}(J_x,J_y)&=\frac{n}{m}\langle {J_{x,\text {i}}}\rangle = \frac{n}{m}\varepsilon _{x,\text {i}} \, , \end{aligned} \end{aligned}$$
(46)
and it is evident that an emittance sharing occurred.
It is also possible to compute the initial distributions in terms of \(J_1\) and \(J_2\)
$$\begin{aligned} \begin{aligned} \rho _1(J_1)&=\int _0^\infty \mathrm{d}J_y \, \rho _\text {i}(mJ_1,J_y) = \frac{1}{\varepsilon _x} \exp (-\frac{mJ_1}{\varepsilon _x}) \\ \rho _2(J_2)&= \int _0^{\frac{m}{n}J_2}\mathrm{d}J_x\, \rho _\text {i}\left( J_x,J_2-\frac{n}{m}J_x\right) = \frac{m}{m\,\varepsilon _x-n\,\varepsilon _y} \left[ \exp \left( -\frac{J_2}{\varepsilon _y}\right) - \exp \left( -\frac{m\,J_2}{n\,\varepsilon _x}\right) \right] \, . \end{aligned} \end{aligned}$$
(47)
Then, given the dependence of the phase-space topology on the conserved parameter \(J_2\), it is useful to consider the initial Gaussian distribution in \(J_x\) and \(J_y\) as an ensemble of distributions in \(J_1\) dependent on the parameter \(J_2\) distributed as \(\rho _2(J_2)\): the distribution of \(J_1\) for a given \(J_2\) reads
$$\begin{aligned} \rho _{12}(J_1|J_2) = \frac{\rho (mJ_1, J_2-nJ_x/m)}{\rho _2(J_2)} = \frac{m\,\varepsilon _y - n\,\varepsilon _x}{m\,\varepsilon _x \varepsilon _y} \frac{\exp (\frac{n-m}{\varepsilon _x}J_1)}{1 - \exp (\frac{n\,\varepsilon _x-m\,\varepsilon _y}{n\,\varepsilon _x\varepsilon _y}J_2)} \end{aligned}$$
(48)
where the normalization
$$\begin{aligned} \int _0^\infty \mathrm{d}J_2\, \rho _2(J_2) \int _0^{J_2/n} \mathrm{d}J_1 \, \rho _{12}(J_1|J_2) = 1 \end{aligned}$$
(49)
holds.
During the emittance-sharing process, \(\delta \) is varied between \(\pm \delta _\text {max}\), and correspondingly, \(\eta \) (see Eq. (9)) varies between \(\pm \eta _\text {max}\), where \(\eta _\text {max}=\eta (\delta _\text {max})\). For any pair \((J_{1,\text {i}},J_{2,\text {i}})\), there exists a value \(\eta ^*\) for which the area of the phase-space region \(A_{J_{_,\text {i}}{2}}(\eta )\) satisfies \(2\pi J_{1,\text {i}}=A_{J_{2,\text {i}}}(\eta ^*)\), and whenever the phase space is divided into two regions, \(A_{J_{2,\text {i}}}(\eta )\) is a monotonic decreasing function of \(\eta \) (and of \(\delta \)) during the resonance-crossing process. Therefore, the function \(J_1(\eta ^*)=A(\eta ^*)/(2\pi )\) is monotonic as well. During the resonance crossing, the fraction \(\tau \) of particles that effectively undergoes emittance sharing is given by all particles for which \(\eta ^*\in [-\eta _\text {max},\eta _\text {max}]\) and it can be obtained by
$$\begin{aligned} \tau = \int _0^\infty \mathrm{d}J_2 \,\rho _2(J_2) \int _{J_1(-\eta _\text {max})}^{J_1(\eta _\text {max})}\mathrm{d}J_1\,\rho _{12}(J_1) \, . \end{aligned}$$
(50)
The sharing fraction \(\tau \) will also be a monotonic function of \(\eta _\text {max}\). The parameter \(\eta _\text {max}\) determines the effectiveness of the emittance sharing due to geometrical reasons: under the assumption that the initial beam distributions are Gaussian, one can define the following parameter
$$\begin{aligned} \kappa _\text {geom} = \frac{\delta _\text {max}}{G \langle {J_{2,\text {i}}}\rangle ^{(m+n-2)/2}} \, . \end{aligned}$$
(51)
as the relevant quantity to study the performance of the emittance-sharing process.
The phase-space geometry is certainly important in the emittance-sharing process, but the efficiency is also influenced by the adiabaticity of the resonance-crossing process. A form for the adiabaticity parameter should therefore be determined. For this purpose, we remark that the Hamiltonian of Eq. (6) can be written, while \(\delta \) is varied, as
$$\begin{aligned} \mathcal {H}= \epsilon t J_1 + H_0(J_1) + G H_1(\phi _1,J_1)\,, \end{aligned}$$
(52)
where \(\epsilon =2\delta _\text {max}/T\), and \(H_0, H_1\) represent the amplitude-dependent and resonant terms, respectively, that appear in the equations of motion
$$\begin{aligned} \begin{aligned} \dot{J}_1&= -G \, \frac{\partial H_1}{\partial \phi } \\ {\dot{\phi }}_1&= \epsilon t + \frac{\partial H_0}{\partial J} + G \, \frac{\partial H_1}{\partial J} \, . \end{aligned} \end{aligned}$$
(53)
As shown in Ref. [24], under the rescaling of time \({\bar{t}} = Gt\), one obtains the equations
$$\begin{aligned} \begin{aligned} \frac{\partial J_1}{\partial {\bar{t}}}&= -\frac{\partial H_1}{\partial \phi } \\ \frac{\partial \phi _1}{\partial {\bar{t}}}&= \frac{\epsilon }{G^2} {\bar{t}} + \frac{1}{G}\frac{\partial H_0}{\partial J} + \frac{\partial H_1}{\partial J} \, . \end{aligned} \end{aligned}$$
(54)
Therefore, the appropriate adiabaticity parameter is given by \(\epsilon /G^2\), i.e. , one obtains the same emittance sharing if G scales as \(G\sim \sqrt{\epsilon }\), while the amplitude-detuning terms are rescaled by a factor G. Parenthetically, as discussed in Ref. [24], it is possible to improve the adiabaticity of the resonance-crossing process by using \(\delta \sim (\epsilon t)^p \) with \(p>1\). If \(\epsilon \) is kept constant and the sharing efficiency is evaluated for different values of \(\delta _\text {max}\), then the parameter that controls the emittance sharing, including the dynamical effects, is given by
$$\begin{aligned} \kappa _\text {dyn} = \frac{\sqrt{\delta _\text {max}}}{G \langle {J_{2,\text {i}}}\rangle ^{(m+n-2)/2}}\, . \end{aligned}$$
(55)
We remark that \(\kappa _\text {geom}/\kappa _\text {dyn} = \sqrt{\delta _\text {max}}\).
Note that an effective resonance strength, which corresponds to the inverse of the parameter \(\kappa _\text {dyn}\) defined above, was introduced in Ref. [25] and [26] as the unique parameter needed to describe the emittance sharing due to the crossing of the resonance (1, 2). Our discussion shows that the purely phenomenological choice can be explained by means of rigorous mathematical arguments.
Effect of phase-space topology on emittance sharing
A general assumption on emittance sharing requires that the allowed circle is divided by the coupling arc in two regions. From the considerations reported in Sect. 2.3, this is always true for third-order resonances. However, for fourth-order resonances, such as (1, 3) and (3, 1), the situation is more complex. Indeed, close to the resonance (1, 3), an extra phase-space region is present (see Fig. 4), although it does not affect the emittance sharing.
Let us follow the evolution of the system from a state when \(\delta \gg GJ_2\) and one with \(\delta \ll -GJ_2\). At the beginning, only a fixed point is present, around which the particle orbits. When \(\delta <GJ_2\), the region \({\hat{S}}\) appears (see Fig. 4) and particles orbiting outside the new separatrix are automatically captured into that region, without any jump in \(J_1\), since the area they enclose within their orbit remains the same.
While \(\delta \) further decreases, however, \({\hat{S}}\) is pushed toward the outer circle. Particles inside it are then captured into \(S^+\), for which \(\varTheta ^+={\mathrm{d}A(S^+)}/{\mathrm{d}\delta }>0\), with the expected change in the adiabatic invariant. However, since in the crossing of the outer separatrix no change of adiabatic invariant occurs, the passage from \({\hat{S}}\) to \(S^-\) is perfectly equivalent to the passage between \(S^+\) and \(S^-\). Once \(\delta \) reaches zero, the situation is perfectly symmetric, with two stable fixed points and a separatrix dividing the allowed circle in two equal parts.
We then continue reducing \(\delta \) in the negative domain. A new unstable fixed point appears at \(\phi _1=\pi \), and a topology akin to the third plot of Fig. 4, although mirrored, appears. The problem is whether the new outer region will trap particles, and this turns out not to be possible. The outer region is maximal at \(\delta =-G J_2\), and the unstable fixed point is at \(J_1=J_2/4\) and \(\phi _1=\pi \). We can thus estimate the area of the outer region as the difference between the outer circle at \(J_1=J_2/3\), and the circle at \(J_1=J_2/4\), which gives \(\pi J_2/6\). On the contrary, particles inside \({\hat{S}}\) have a minimum action of \(J_2/4\), i.e. , their orbit area is at least \(\pi J_2/2\). Hence, since the area of \({\hat{S}}\) is always smaller than \(\pi J_2/2\), no particle can reach the minimum action required when crossing from \(S^+\) to \({\hat{S}}\). Thus, \({\hat{S}}\) remains void until, at \(\delta =-GJ_2\) it disappears completely.
Finally, the extra fixed point does not affect the emittance exchange process, as all particles pass from \(S^-\) to \(S^+\), which results, according to our previous generic analysis, in an emittance exchange.
In the case of the resonance (3, 1), the presence of extra stable fixed points (see Fig. 6) translates in an extra (and unavoidable) phase-space region that can, in principle, trap particles, thus spoiling the emittance sharing. Nevertheless, the numerical observations discussed in Sect. 3) show that emittance sharing is still feasible, although with some reduction in performance due to the particles trapped in the extra region.