1 Introduction

The magnetic resonance (MR) is a powerful tool of investigation of basic properties of particles and nuclei. The MR is also successfully used for studies of atoms in condensed matters. The theory of the MR is presented in many books (see, e.g., Refs. [1, 2]) and research articles. As a rule, the MR is a spin resonance and its classical and quantum-mechanical descriptions are equivalent. In the present work, we rigorously prove the equivalence of these descriptions in the general case and apply the general theory for an analysis of resonance effects in electric-dipole-moment experiments with polarized beams in storage rings.

The use of the MR in nuclear, particle, atomic, and condensed matter physics consists in a determination of a spin deflection from the initial vertical direction. To find the magnetic moment, one measures the dynamics of the vertical polarization. An exhaustive analysis of the spin evolution in storage ring electric-dipole-moment (EDM) experiments needs an advanced description of magnetic and quasimagnetic resonances. In this case, spin interactions of moving particles and nuclei with magnetic and electric fields are defined by the Thomas–Bargmann–Mishel–Telegdi (T-BMT) equation [3,4,5] or by its extension taking into account the EDM [6,7,8,9]. An investigation of quasimagnetic resonances caused by the EDM is important for planned experiments with a rf electric-field flipper and a rf Wien filter (see Refs. [10,11,12]). A change of the spin (pseudo-)vector is orthogonal to the spin direction. One needs therefore to measure minor (horizontal) polarization components when a resonance is stimulated by a comparatively weak interaction. In particular, this situation takes place for a search for EDMs. In storage ring experiments, it can be convenient to use an initial horizontal beam polarization and to measure an evolution of the vertical spin component. A needed experimental precision is very high. In addition, the resonance fields of the rf electric-field flipper and the rf Wien filter are noncontinuous. For these reasons, general formulas describing spin dynamics at the magnetic and quasimagnetic resonances and their specific application are necessary.

In Sect. 2, we give the general description of the MR in the framework of classical spin physics and electrodynamics. The problem of the spin evolution at frequencies far from resonance is solved in Sect. 3. The general quantum-mechanical description of spin dynamics at the MR is presented in Sect. 4. Section 5 is devoted to a discussion of the magnetic and quasimagnetic resonances for moving particles and nuclei. Quasimagnetic resonances for particles and nuclei moving in noncontinuous perturbing fields of accelerators and storage rings are considered in Sect. 6. Distinguishing features of quasimagnetic resonances in storage ring electric-dipole-moment experiments are investigated in Sect. 7. Finally, we summarize the obtained results in Sect. 8.

The system of units \(\hbar =1,~c=1\) is used. We include \(\hbar \) and c into some equations when this inclusion clarifies the problem.

2 General classical description of nuclear magnetic resonance

In this section, we consider a usual design of the MR and obtain general equations describing the spin dynamics. While the results obtained are mostly known, the presented study allows us to apply a common approach for a consideration of classical and quantum-mechanical effects.

Let a spinning nucleus be placed into the magnetic field \({\varvec{B}}_0=B_0{\varvec{e}}_z\) and the angular frequency of the spin rotation is equal to \(\omega _0\). In this case, a rotating or oscillating horizontal magnetic field with a closed angular frequency \(\omega \approx \omega _0\) can significantly deflect the nucleus spin from the initial vertical direction. In particular, this effect allows one to measure magnetic moments of nuclei/particles with a high precision.

As a rule, one applies the main vertical magnetic field \({\varvec{B}}_0\) and the oscillating horizontal magnetic field \({\varvec{\mathcal {B}}}\cos {(\omega t+\chi )}\). In this case, the spin-dependent part of the classical Hamiltonian is given by

$$\begin{aligned}&H={\varvec{\omega }}_0\cdot {\varvec{\zeta }} +2{\varvec{\mathfrak {E}}}\cdot {\varvec{\zeta }}\cos {(\omega t+\chi )},\quad {\varvec{\omega }}_0=-\frac{g_N\mu _N}{\hbar }{\varvec{B}}_0,\nonumber \\&{\varvec{\mathfrak {E}}}=-\frac{g_N\mu _N}{2\hbar } {\varvec{\mathcal {B}}}, \end{aligned}$$
(1)

where \({\varvec{\omega }}_0\) is the angular velocity of the spin precession at the absence of the horizontal magnetic field, \({\varvec{\zeta }}\) is the spin (pseudo-)vector, \(g_N\) is the nuclear g-factor, and \(\mu _N\) is the nuclear magneton. For particles, \(g_N\mu _N\) should be replaced with \(eg\hbar /(2m)\), where \(g=2mc\mu /(es)\).

The direction of the (pseudo-)vector \({\varvec{\omega }}_0\) defines the orientation of the so-called stable spin axis. In the absence of oscillating fields, the spin remains stable if it is initially aligned along this direction. If the initial spin orientation is different, the spin describes a cone around the direction of \({\varvec{\omega }}_0\). The stable spin axis is a static quantity defined before activating the rf.

It is preferable to decompose the oscillating horizontal magnetic field into two magnetic fields rotating in opposite directions. The amplitudes of the rotating magnetic fields are equal to \({\varvec{\mathcal {B}}}/2\). We suppose that \(\omega \) is close to \(\omega _0\). In this case, one rotating field is resonant and an effect of another rotating field can be neglected. Let us direct \({\varvec{\mathfrak {E}}}\) along the x axis:

$$\begin{aligned} {\varvec{\mathfrak {E}}}=\mathfrak {E}{\varvec{e}}_x. \end{aligned}$$
(2)

This direction is not important in the considered case. The turn of the direction of \({\varvec{\mathfrak {E}}}\) by the angle \(\varphi \) is equivalent to the change of phase of the rotating resonant field by the same angle.

To calculate the spin dynamics, it is convenient to use the frame rotating about the z axis with the angular velocity \({\varvec{\omega }}\). We suppose that the direction of the frame rotation coincides with the direction of the spin rotation, \({\varvec{\omega }}_0\). The horizontal magnetic field rotating in the lab frame becomes constant in the rotating frame. In this frame, the spin rotates about the z axis with the angular frequency \(\omega _0-\omega \) and the total angular velocity of the spin rotation is equal to

$$\begin{aligned} {\varvec{\Omega }}={\varvec{\omega }}_0-{\varvec{\omega }}+ {\varvec{\mathfrak {E}}},\quad \Omega =\sqrt{(\omega _0-\omega )^2+\mathfrak {E}^2}. \end{aligned}$$
(3)

We disregard the rotating field which rotation direction is opposite to that of the spin. The vectors \({\varvec{\omega }}_0\) and \({\varvec{\omega }}\) are parallel and \({\varvec{\mathfrak {E}}}\) is the vector with the constant module \(\mathfrak {E}\) rotating in the horizontal plane.

It is convenient to use the rotating coordinate system which axis \({\varvec{e}}'_z\) coincides with the axis \({\varvec{e}}_z\) of the lab frame. The axis \({\varvec{e}}'_x\) is supposed to be parallel to the direction of the rotating field. The connection between the coordinate axes of the two frames is given by

$$\begin{aligned} {\varvec{e}}_x= & {} \cos {(\omega t+\chi )}{\varvec{e}}'_x-\sin {(\omega t+\chi )}{\varvec{e}}'_y,\nonumber \\ {\varvec{e}}_y= & {} \sin {(\omega t+\chi )}{\varvec{e}}'_x+\cos {(\omega t+\chi )}{\varvec{e}}'_y,\nonumber \\ {\varvec{e}}_z= & {} {\varvec{e}}'_z. \end{aligned}$$
(4)

It is also convenient to introduce another rotating coordinate system and to direct its vertical axis, \({\varvec{e}}''_z\), along the vector \({\varvec{\Omega }}\). Since this vector lies in the plane \(x'z'\),

$$\begin{aligned} {\varvec{e}}''_x= & {} \frac{\omega _0-\omega }{\Omega }{\varvec{e}}'_x-\frac{\mathfrak {E}}{\Omega }{\varvec{e}}'_z,\quad {\varvec{e}}''_y={\varvec{e}}'_y,\nonumber \\ {\varvec{e}}''_z= & {} \frac{\mathfrak {E}}{\Omega }{\varvec{e}}'_x+\frac{\omega _0-\omega }{\Omega }{\varvec{e}}'_z. \end{aligned}$$
(5)

The spin rotates about the axis \({\varvec{e}}_z''\) with the angular frequency \(\Omega \). As a result, the component \(P_z''\) of the unit polarization vector is constant. Other components are given by

$$\begin{aligned}&P''_x(t)=P''_x(0)\cos {\Omega t}-P''_y(0)\sin {\Omega t},\nonumber \\&P''_y(t)=P''_x(t)\sin {\Omega t}+P''_y(t)\cos {\Omega t}. \end{aligned}$$
(6)

Equations (5) and (6) allow us to find dynamics of the polarization vector in the primed coordinate system:

$$\begin{aligned} P'_x(t)= & {} \left[ 1-\frac{(\omega _0-\omega )^2}{\Omega ^2}(1-\cos {\Omega t})\right] \nonumber \\&\times \, P'_x(0)-\frac{\omega _0-\omega }{\Omega }\sin {\Omega t}P'_y(0)\nonumber \\&+\,\frac{(\omega _0-\omega )\mathfrak {E}}{\Omega ^2}(1-\cos {\Omega t})P'_z(0),\nonumber \\ P'_y(t)= & {} \left[ \frac{\omega _0-\omega }{\Omega }P'_x(0)-\frac{\mathfrak {E}}{\Omega }P'_z(0)\right] \sin {\Omega t}+\cos {\Omega t}P'_y(0),\nonumber \\ P'_z(t)= & {} \frac{(\omega _0-\omega )\mathfrak {E}}{\Omega ^2}(1-\cos {\Omega t})P'_x(0)+\frac{\mathfrak {E}}{\Omega }\sin {\Omega t}P'_y(0)\nonumber \\&+\,\left[ 1-\frac{\mathfrak {E}^2}{\Omega ^2}(1-\cos {\Omega t})\right] P'_z(0). \end{aligned}$$
(7)

We can use now Eq. (4) and express components of the polarization vector in the primed coordinate system in terms of \(P_i(t),~P_i(0)~ (i=x,y,z)\). When the initial spin direction is defined by the spherical angles \(\theta \) and \(\psi \),

$$\begin{aligned} P_x(0)=\sin {\theta }\cos {\psi },\quad P_y(0) =\sin {\theta }\sin {\psi },\quad P_z(0)=\cos {\theta },\nonumber \\ \end{aligned}$$
(8)

the final result is given by

$$\begin{aligned} P_x(t)= & {} \cos {\Omega t}\sin {\theta }\cos {(\omega t+\psi )}\nonumber \\&+\,\frac{\mathfrak {E}^2}{\Omega ^2}(1-\cos {\Omega t})\sin {\theta }\cos {(\psi -\chi )}\cos {(\omega t+\chi )}\nonumber \\&-\,\frac{\omega _0-\omega }{\Omega }\sin {\Omega t}\sin {\theta }\sin {(\omega t+\psi )}\nonumber \\&+\,\frac{\mathfrak {E}}{\Omega }\bigg [\frac{\omega _0-\omega }{\Omega } (1-\cos {\Omega t})\cos {(\omega t+\chi )}\nonumber \\&+\,\sin {\Omega t}\sin {(\omega t+\chi )}\bigg ]\cos {\theta },\nonumber \\ P_y(t)= & {} \frac{\omega _0-\omega }{\Omega }\sin {\Omega t}\sin {\theta }\cos {(\omega t+\psi )}\nonumber \\&+\,\cos {\Omega t}\sin {\theta }\sin {(\omega t+\psi )}\nonumber \\&+\frac{\mathfrak {E}^2}{\Omega ^2}(1-\cos {\Omega t})\sin {\theta }\cos {(\psi -\chi )}\sin {(\omega t+\chi )}\nonumber \\&+\,\frac{\mathfrak {E}}{\Omega }\bigg [\frac{\omega _0-\omega }{\Omega } (1-\cos {\Omega t})\sin {(\omega t+\chi )}\nonumber \\&-\,\sin {\Omega t}\cos {(\omega t+\chi )}\bigg ]\cos {\theta },\nonumber \\ P_z(t)= & {} \frac{(\omega _0-\omega )\mathfrak {E}}{\Omega ^2}(1-\cos {\Omega t})\sin {\theta }\cos {(\psi -\chi )}\nonumber \\&+\,\frac{\mathfrak {E}}{\Omega }\sin {\Omega t}\sin {\theta }\sin {(\psi -\chi )}\nonumber \\&+\,\left[ 1-\frac{\mathfrak {E}^2}{\Omega ^2}(1-\cos {\Omega t})\right] \cos {\theta }. \end{aligned}$$
(9)

Equation (9) presents the general classical description of spin dynamics at magnetic and quasimagnetic resonances and allows us to conclude that one can use both vertical and horizontal initial polarizations. When the terms proportional to \(\mathfrak {E}^2\) are neglected, Eq. (9) takes the form

$$\begin{aligned} P_x(t)= & {} \sin {\theta }\cos {(\omega _0 t+\psi )}\nonumber \\&+\,\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl \{\cos {(\omega t+\chi )}\left[ 1-\cos {(\omega _0 -\omega )t}\right] \nonumber \\&+\,\sin {(\omega t+\chi )}\sin {(\omega _0 -\omega )t}\biggr \}\cos {\theta },\nonumber \\ P_y(t)= & {} \sin {\theta }\sin {(\omega _0 t+\psi )}\nonumber \\&+\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl \{\sin {(\omega t+\chi )}\left[ 1-\cos {(\omega _0 -\omega )t}\right] \nonumber \\&-\,\cos {(\omega t+\chi )}\sin {(\omega _0 -\omega )t}\biggr \}\cos {\theta },\nonumber \\ P_z(t)= & {} \cos {\theta }\nonumber \\&+\,\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl \{\left[ 1-\cos {(\omega _0 -\omega )t}\right] \cos {(\psi -\chi )}\nonumber \\&+\,\sin {(\omega _0 -\omega )t}\sin {(\psi -\chi )}\biggr \}\sin {\theta }. \end{aligned}$$
(10)

3 Spin evolution at frequencies far from resonance

It is instructive to consider the spin evolution at frequencies far from resonance. This is especially important for the storage ring electric-dipole-moment experiments, because some periodical perturbations may imitate the presence of an EDM.

In the considered case, effects of two magnetic fields rotating in opposite directions are comparable. Therefore, it is not appropriate to decompose \({\varvec{\mathcal {B}}}\) in Eq. (1) into the two rotating fields.

It is significant that the results presented in this section are also applicable to a horizontal perturbation caused by a constant field. In this case, \(\omega =0\).

Let us direct the x axis along the vectors \({\varvec{\mathcal {B}}}\) and \({\varvec{\mathfrak {E}}}\). When the perturbation is negligible, the spin rotates with the angular velocity \({\varvec{\omega }}_0\). Therefore, it is convenient to use the primed coordinate system rotating with this angular velocity:

$$\begin{aligned}&{\varvec{e}}'_x=\cos {(\omega _0 t)}{\varvec{e}}_x+\sin {(\omega _0 t)}{\varvec{e}}_y,\nonumber \\&{\varvec{e}}'_y=-\sin {(\omega _0 t)}{\varvec{e}}_x+\cos {(\omega _0 t)}{\varvec{e}}_y,\quad {\varvec{e}}'_z={\varvec{e}}_z. \end{aligned}$$
(11)

If we denote \({\varvec{\mathfrak {K}}}=2{\varvec{\mathfrak {E}}}\cos {(\omega t+\chi )}=2\mathfrak {E}\cos {(\omega t+\chi )}{\varvec{e}}_x\), the spin dynamics in the primed frame is defined by

$$\begin{aligned}&\frac{\mathrm{d}{\varvec{\zeta }}'}{\mathrm{d}t}={\varvec{\mathfrak {K}}}' \times {\varvec{\zeta }}',\quad \mathfrak {K}_x'= 2\mathfrak {E}\cos {(\omega t+\chi )}\cos {(\omega _0 t)},\nonumber \\&\mathfrak {K}_y'=-2\mathfrak {E}\cos {(\omega t+\chi )}\sin {(\omega _0t)}. \end{aligned}$$
(12)

It is convenient to present the unit spin vector as a sum of two parts, \({\varvec{\zeta }}(t)={\varvec{\mathcal S}}(t)+{\varvec{\eta }}(t)\), where \({\varvec{\mathcal S}}\) rotates with the angular velocity \({\varvec{\omega }}_0\). In this case, \({\varvec{\mathcal S}}'\) is constant, \({\varvec{\mathcal S}}'={\varvec{\zeta }}'(0)\), and \({\varvec{\eta }}(0)=0\). In the approximation used,

$$\begin{aligned} \frac{\mathrm{d}{\varvec{\zeta }}'}{\mathrm{d}t}=\frac{\mathrm{d}{\varvec{\eta }}'}{\mathrm{d}t} ={\varvec{\mathfrak {K}}}'\times {\varvec{\mathcal S}}'. \end{aligned}$$
(13)

In the general case, the initial spin direction is defined by the spherical angles \(\theta \) and \(\psi \) [see Eq. (8)]. An integration on time results in the following evolution of the polarization vector \({\varvec{P}}={\varvec{\zeta }}/s\):

$$\begin{aligned} P_x(t)= & {} \sin {\theta }\cos {(\omega _0 t+\psi )}\nonumber \\&+\,\Biggl (\frac{\mathfrak {E}}{\omega _0 +\omega }\biggl \{\cos {(\omega t+\chi )}\left[ 1-\cos {(\omega _0 +\omega )t}\right] \nonumber \\&-\,\sin {(\omega t+\chi )}\sin {(\omega _0 +\omega )t}\biggr \}\nonumber \\&+\,\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl \{\cos {(\omega t+\chi )}\left[ 1-\cos {(\omega _0 -\omega )t}\right] \nonumber \\&+\,\sin {(\omega t+\chi )}\sin {(\omega _0 -\omega )t}\biggr \}\Biggr )\cos {\theta },\nonumber \\ P_y(t)= & {} \sin {\theta }\sin {(\omega _0 t+\psi )}\nonumber \\&+\,\Biggl (-\frac{\mathfrak {E}}{\omega _0 +\omega }\biggl \{\sin {(\omega t+\chi )}\left[ 1-\cos {(\omega _0 +\omega )t}\right] \nonumber \\&+\,\cos {(\omega t+\chi )}\sin {(\omega _0 +\omega )t}\biggr \}\nonumber \\&+\,\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl \{\sin {(\omega t+\chi )}\left[ 1-\cos {(\omega _0 -\omega )t}\right] \nonumber \\&-\,\cos {(\omega t+\chi )}\sin {(\omega _0 -\omega )t}\biggr \}\Biggr )\cos {\theta },\nonumber \\ P_z(t)= & {} \cos {\theta }\nonumber \\&+\,\Biggl (\frac{\mathfrak {E}}{\omega _0 +\omega }\biggl \{\left[ 1-\cos {(\omega _0 +\omega )t}\right] \cos {(\psi +\chi )}\nonumber \\&+\,\sin {(\omega _0 +\omega )t}\sin {(\psi +\chi )}\biggr \}\nonumber \\&+\,\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl \{\left[ 1-\cos {(\omega _0 -\omega )t}\right] \cos {(\psi -\chi )}\nonumber \\&+\,\sin {(\omega _0 -\omega )t}\sin {(\psi -\chi )}\biggr \}\Biggr )\sin {\theta }. \end{aligned}$$
(14)

Evidently, this equation is compatible with Eq. (10). Equation (14) can be reduced to the form

$$\begin{aligned}&P_x(t)=\sin {\theta }\cos {(\omega _0 t+\psi )}\nonumber \\&\quad +\Biggl \{\frac{\mathfrak {E}}{\omega _0 +\omega }\biggl [\cos {(\omega t +\chi )}-\cos {(\omega _0t -\chi )}\biggr ]\nonumber \\&\quad +\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl [\cos {(\omega t+\chi )}-\cos {(\omega _0t+\chi )}\biggr ]\Biggr \} \cos {\theta },\nonumber \\&P_y(t)=\sin {\theta }\sin {(\omega _0 t+\psi )}\nonumber \\&\quad +\Biggl \{-\frac{\mathfrak {E}}{\omega _0 +\omega }\biggl [\sin {(\omega t+\chi )}+\sin {(\omega _0t-\chi )}\biggr ]\nonumber \\&\quad +\frac{\mathfrak {E}}{\omega _0 -\omega }\biggl [\sin {(\omega t+\chi )}-\sin {(\omega _0t+\chi )}\biggr ]\Biggr \}\cos {\theta },\nonumber \\&P_z(t)=\cos {\theta }+\Biggl (\frac{\mathfrak {E}}{\omega _0 +\omega }\biggl \{\cos {(\psi +\chi )}\nonumber \\&\quad -\cos {[(\omega _0 +\omega )t+\psi +\chi ]}\biggr \}+\frac{\mathfrak {E}}{\omega _0 -\omega }\nonumber \\&\quad \times \biggl \{\cos {(\psi -\chi )}-\cos {[(\omega _0 -\omega )t+\psi -\chi ]}\biggr \}\Biggr )\sin {\theta }.\nonumber \\ \end{aligned}$$
(15)

The result obtained can be useful when a background is known. In this case, measurements at frequencies far from resonance can be applied in a statistical analysis. Otherwise, Eqs. (14) and (15) make it possible to take into account some periodical perturbations imitating the presence of the EDM. The beam rotates in a storage ring with the cyclotron frequency \(\omega _c\). In this case, any local radial or longitudinal magnetic field becomes a perturbation oscillating with the frequency \(\omega _c\) or with a multiple frequency in the presence of an appropriate symmetry. Such perturbations are clearly manifested by spin tracking [13].

An analysis of Eqs. (7), (9), and (15) displays an important property of magnetic and quasimagnetic resonances. When the perturbing field is rather weak (\(|\mathfrak {E}|\ll \Omega \)) and it needs to be determined, it is preferable to measure minor spin components. Specifically, the use of the initial vertical polarization requires a measurement of a horizontal polarization. It is of the order of \(|\mathfrak {E}|/\Omega \), while a change of the vertical spin component is of the order of \({\mathfrak {E}}^2/\Omega ^2\). Both of the horizontal spin components oscillate but only the component collinear to \({\varvec{\mathfrak {E}}}\) is nonzero on average. In practice, a detection of the oscillatory spin motion is easier than that of the small constant part of the horizontal spin component collinear to \({\varvec{\mathfrak {E}}}\).

When the initial polarization is horizontal, it is preferable to measure the vertical polarization which is of the order of \(|\mathfrak {E}|/\Omega \). In the equations for the horizontal spin components, terms proportional to \(\mathfrak {E}/\Omega \) vanish when the initial vertical polarization is equal to zero. Thus, monitoring of these components is not useful. This approach has been applied for a search for a muon EDM [14] in the framework of the muon g \(-2\) experiment at Brookhaven National Laboratory (see Ref. [15]). The search has been carried out for the initial longitudinal polarization of muons and the constant radial perturbing field caused by the EDM. The vertical spin component has been detected. This experiment has allowed one to obtain an upper bound on the muon EDM [14].

4 Quantum-mechanical description of magnetic resonance

The detailed classical description of the MR given in the previous sections exhaustively defines the spin motion caused by interactions linear in the spin. This description is well substantiated because it is based on manifestly covariant initial equations. However, spin-dependent parts of Hamiltonians contain also terms quadratic in the spin for deuteron and other nuclei with the spin \(s\ge 1\). A resonance experiment for the deuteron (\(s=1\)) is a part of the EDM program [16, 17]. The presence of the terms quadratic in the spin leads to systematical effects mimicking the EDM under the MR [18,19,20,21,22,23,24,25,26]. While the classical description of these effects is possible [18,19,20,21,22], a more general theory which has been developed in Refs. [23,24,25] is based on relativistic quantum-mechanical Hamiltonians in the Foldy–Wouthuysen representation (see Ref. [27,28,29] and the references therein). In the present study, we do not consider the effects nonlinear in the spin. Nevertheless, a need for future investigations stipulates for an advanced quantum-mechanical description of the standard MR conditioned by spin interactions linear in the spin. To solve this problem, we may use the Pauli spin matrices even for nuclei with the spin \(s\ge 1\). This possibility is based on universal commutation relations for spin components which are satisfied for any spins. The identity of the spin motion of particles with spins 1/2 and 1 near a resonance has been demonstrated in Ref. [30].

It is convenient to use the matrix Hamiltonian method for a quantum-mechanical description of the MR. When spin-tensor interactions are not taken into account, the spin rotation of nuclei/particles with spin 1/2 and with higher spins is very similar. Therefore, spin rotation of nuclei/particles with spin \(s\ge 1\) can also be described with the Dirac matrices acting on the two-component spin wave function. We consider the same field configuration as in Sect. 2.

Any Foldy–Wouthuysen Hamiltonian [27,28,29] of a relativistic spin-1/2 particle can be presented in the form

$$\begin{aligned} \mathcal{H}_\mathrm{FW}=\mathcal{H}_0+\frac{1}{2}{\varvec{\Sigma }}\cdot {\varvec{\Omega }}_1 +\frac{1}{2}{\varvec{\Pi }}\cdot {\varvec{\Omega }}_2, \end{aligned}$$
(16)

where \(\mathcal{H}_0\) is the sum of spin-independent terms. The lower spinors of the corresponding Foldy–Wouthuysen wave functions are zero. The classical limit of the sum \({\varvec{\Omega }}={\varvec{\Omega }}_1+{\varvec{\Omega }}_2\) defines the angular velocity of the spin precession. As a rule, its division into two parts mirrors contributions of spin interactions with the electric and magnetic fields.

Averaging the spin-dependent terms with the four-component spin wave functions \(\zeta ^+=\left( \begin{array}{c} 1 \\ 0 \\ 0 \\ 0\end{array}\right) \) and \(\zeta ^-=\left( \begin{array}{c} 0 \\ 1 \\ 0 \\ 0\end{array}\right) \) corresponding to the spin-up and spin-down states, respectively, results in

$$\begin{aligned} \langle i|{\varvec{\Sigma }}\cdot {\varvec{\Omega }}_1+{\varvec{\Pi }} \cdot {\varvec{\Omega }}_2|j\rangle =({\varvec{\sigma }} \cdot {\varvec{\Omega }})_{ij},\quad {\varvec{\Omega }}={\varvec{\Omega }}_1+{\varvec{\Omega }}_2, \end{aligned}$$
(17)

where \({\varvec{\Omega }}\) is the operator of the spin precession which classical limit is defined by Eq. (3) and \({\varvec{\sigma }}\) is the Pauli matrix. Certainly, averaging is fulfilled with both the spin and the coordinate wave functions.

As a result, the matrix Hamiltonian takes the form

$$\begin{aligned} H=E_0+\frac{1}{2}{\varvec{\sigma }}\cdot {\varvec{\Omega }}. \end{aligned}$$
(18)

It acts on the two-component wave function \(\Psi (t)=\left( \begin{array}{c} \Psi _+(t) \\ \Psi _-(t) \end{array}\right) \).

The components of the polarization vector are defined by

$$\begin{aligned} P_i =\frac{\langle S_i\rangle }{s},\quad i=x,y,z, \end{aligned}$$
(19)

where the \(S_i\) are corresponding spin matrices and s is the spin quantum number. Averages of the spin operators \(\sigma _i=2S_i\) are expressed by their convolutions with the wave function \(\Psi (t)\).

The corresponding relations for the polarization vector have the form

$$\begin{aligned}&P_x=C_+C_-^*+C_{-}C_+^*,\quad P_y=i(C_+C_-^*-C_-C_+^*),\nonumber \\&P_z=C_+C_+^*-C_{-}C_{-}^*. \end{aligned}$$
(20)

The quantity \({\varvec{\mathfrak {E}}}\) is defined by Eq. (2). Since

$$\begin{aligned} {\varvec{\mathcal {B}}}\cos {(\omega t+\chi )}=({\varvec{\mathcal {B}}}/2)\{\exp {[i(\omega t+\chi )]}+\exp {[-i(\omega t+\chi )]}\}, \end{aligned}$$

the Hamiltonian (18) reads

$$\begin{aligned}&H=E_0+\frac{1}{2}\left( \begin{array}{cc} \omega _0 &{}\mathfrak {G}\\ \mathfrak {G}&{}-\omega _0 \end{array}\right) ,\nonumber \\&\mathfrak {G}=\mathfrak {E}\{\exp {[i(\omega t+\chi )]}+\exp {[-i(\omega t+\chi )]}\}. \end{aligned}$$
(21)

It is convenient to make the following transformation of the wave function:

$$\begin{aligned}&\Psi (t)=\left( \begin{array}{cc} \exp {[-i(\omega t+\chi )/2]} &{} 0 \\ 0 &{}\exp {[i(\omega t+\chi )/2]} \end{array}\right) \nonumber \\&\quad \exp {(-iE_0 t)}C(t), \end{aligned}$$
(22)

It can easily be shown with the use of Eq. (20) that this transformation is equivalent to the transition to the frame rotating with the angular frequency \(\omega \). Since

$$\begin{aligned}&\Psi _+\Psi _-^*+\Psi _{-}\Psi _+^*=\cos {(\omega t+\chi )}(C_+C_-^*+C_{-}C_+^*)\\&\quad -\sin {(\omega t+\chi )}i(C_+C_-^*-C_-C_+^*),\\&i(\Psi _+\Psi _-^*-\Psi _{-}\Psi _+^*)=\sin {(\omega t+\chi )}(C_+C_-^*+C_{-}C_+^*)\\&\quad +\cos {(\omega t+\chi )}i(C_+C_-^*-C_-C_+^*),\\&\Psi _+\Psi _+^*-\Psi _{-}\Psi _{-}^*=C_+C_+^*-C_{-}C_{-}^*, \end{aligned}$$

the connection between components of the polarization vector \({\varvec{P}}\) calculated with the wave functions \(\Psi (t)\) and C(t), respectively, has the form

$$\begin{aligned}&P_x=\cos {(\omega t+\chi )}P'_x-\sin {(\omega t+\chi )}P'_y,\nonumber \\&P_y=\sin {(\omega t+\chi )}P'_x+\cos {(\omega t+\chi )}P'_y,\nonumber \\&P_z=P'_z. \end{aligned}$$
(23)

The primed components \(P_i'~(i=x,y,z)\) correspond to the wave function C(t).

Evidently, Eqs. (4) and (23) fully agree.

The transformation (22) brings the equation for the matrix Hamiltonian into the form

$$\begin{aligned} i\frac{\mathrm{d}C(t)}{\mathrm{d}t}=\frac{1}{2}\left( \begin{array}{cc} \omega _0-\omega &{} \mathfrak {G}\exp {[i(\omega t+\chi )]} \\ \mathfrak {G}\exp {[-i(\omega t+\chi )]} &{} -\omega _0+\omega \end{array}\right) C(t).\nonumber \\ \end{aligned}$$
(24)

The terms in Eq. (24) oscillating with the angular frequency \(2\omega \) can be neglected and this equation takes the form

$$\begin{aligned} i\frac{\mathrm{d}C(t)}{\mathrm{d}t}=\frac{1}{2}\left( \begin{array}{cc} \omega _0-\omega &{} \mathfrak {E} \\ \mathfrak {E} &{} -\omega _0+\omega \end{array}\right) C(t). \end{aligned}$$
(25)

The solution of Eq. (25) is given by

$$\begin{aligned} C_+(t)= & {} \left( \cos {\frac{\Omega t}{2}}-i\frac{\omega _0-\omega }{\Omega }\sin {\frac{\Omega t}{2}}\right) C_+(0)\nonumber \\&-\,i\frac{\mathfrak {E}}{\Omega } \sin {\frac{\Omega t}{2}}C_-(0),\nonumber \\ C_-(t)= & {} -i\frac{\mathfrak {E}}{\Omega }\sin {\frac{\Omega t}{2}}C_+(0)\nonumber \\&+\,\left( \cos {\frac{\Omega t}{2}}+i\frac{\omega _0-\omega }{\Omega } \sin {\frac{\Omega t}{2}}\right) C_-(0), \end{aligned}$$
(26)

where \(\Omega \) is defined by Eq. (3).

If we use Eq. (26) for a derivation of \(P'_i(t)\) in terms of \(P'_i(0)~(i=x,y,z)\), we arrive at Eq. (7). This fact clearly demonstrates the full agreement of results obtained by the classical and quantum-mechanical approaches. Similarly to the precedent section, we can use Eqs. (7), (8), and (23) for a derivation of the general equation (9). Thus, this equation is valid not only in classical spin physics but also in quantum mechanics.

The quantum-mechanical description of the spin evolution at the MR is often used in textbooks (see Ref. [2]) and research articles. In the present study, the general case has been considered and the full agreement between the classical and quantum-mechanical approaches has been demonstrated. This agreement seems to be very natural. However, its proof is not redundant, because we should take into account the existence of the difference between classical and quantum-mechanical descriptions of some spin effects (see Ref. [31]). In future investigations of resonance phenomena for nuclei with the spin \(s\ge 1\), taking into account spin interactions quadratic in the spin will be necessary. Such interactions are caused by the tensor electric and magnetic polarizabilities and the electric quadrupole moment. In this case, a transition to the spin-1 matrices can be necessary.

5 Magnetic and quasimagnetic resonances for moving particles and nuclei

Magnetic and quasimagnetic resonances for moving particles and nuclei have some distinguishing features. The main difference from the MR for nuclei at rest is the use of the T-BMT equation [3,4,5] or its extension taking into account the EDM [6,7,8,9] for a description of spin coupling with external fields. The general equation extended on the EDM defines the angular velocity of spin precession in external electric and magnetic fields in the Cartesian coordinates and has the form [6,7,8,9]

$$\begin{aligned} \frac{\mathrm{d}{\varvec{\zeta }}}{\mathrm{d}t}= & {} ({\varvec{\Omega }}_{\mathrm{T}{\text {-}}\mathrm{BMT}}+{\varvec{\Omega }}_\mathrm{EDM}) \times {\varvec{\zeta }},\nonumber \\ {\varvec{\Omega }}_{\mathrm{T}{\text {-}}\mathrm{BMT}}= & {} \frac{e}{m}\left[ \left( G +\frac{1}{\gamma +1}\right) {\varvec{\beta }}\times {{\varvec{E}}}\right. \nonumber \\&\left. - \left( G+\frac{1}{\gamma }\right) {\mathbf{B}}+\frac{G\gamma }{\gamma +1}({{\varvec{\beta }}}\cdot {{\varvec{B}}}){{\varvec{\beta }}}\right] ,\nonumber \\ {\varvec{\Omega }}_\mathrm{EDM}= & {} -\frac{e\eta }{2m}\left[ {\varvec{E}}-\frac{\gamma }{\gamma +1}({{\varvec{\beta }}}\cdot {\varvec{E}}){{\varvec{\beta }}}+{{\varvec{\beta }}} \times {\varvec{B}}\right] ,\nonumber \\ {\varvec{\beta }}= & {} \frac{\mathbf{v}}{c}, \end{aligned}$$
(27)

where \(G=(g-2)/2,~\eta =2mcd/(es)\), and d is the EDM.

Equation (27) is useful when the fields have definite directions relative to the Cartesian coordinates. As a rule, it is not the case for particles and nuclei in accelerators and storage rings. Their motion is cyclic and the fields are usually orthogonal to the beam trajectory. Therefore, it is natural to define the fields and the spin motion relative to the radial and longitudinal coordinates. The use of the cylindrical coordinate system [32] decreases the angular frequency of the spin rotation about the vertical axis by the cyclotron frequency \(\omega _c\). It is important that the angular frequencies of the spin rotation about the two horizontal axes remain the same. The resulting angular velocity of the spin rotation in the cylindrical coordinate system is equal to [32]

$$\begin{aligned}&{\varvec{\Omega }}^{(\mathrm{cyl})}=-\frac{e}{m}\left\{ G{\varvec{B}}- \frac{G\gamma }{\gamma +1}{\varvec{\beta }}({\varvec{\beta }} \cdot {\varvec{B}})\right. \nonumber \\&\quad +\left( \frac{1}{\gamma ^2-1}-G\right) \left( {\varvec{\beta }} \times {\varvec{E}}\right) +\frac{1}{\gamma }\left[ {\varvec{B}}_\Vert -\frac{1}{\beta ^2}\left( {\varvec{\beta }}\times {\varvec{E}}\right) _\Vert \right] \nonumber \\&\quad \left. + \frac{\eta }{2}\left( {\varvec{E}}-\frac{\gamma }{\gamma +1}{\varvec{\beta }}({\varvec{\beta }} \cdot {\varvec{E}})+{\varvec{\beta }}\!\times \!{\varvec{B}}\right) \!\right\} . \end{aligned}$$
(28)

The symbol \(\Vert \) means a horizontal projection for any vector.

As a rule, the vertical and horizontal components of the magnetic and quasimagnetic fields, \({\varvec{B}}\) and \({\varvec{\beta }}\times {\varvec{E}}\), enter into the expressions for \({\varvec{\omega }}_0\) and \({\varvec{\mathfrak {E}}}\) with different factors. In particular, this situation takes place for a beam in a purely magnetic storage ring:

$$\begin{aligned} {\varvec{\omega }}_0=-\frac{eG}{m}{\varvec{B}}_0,\quad {\varvec{\mathfrak {E}}}=-\frac{e}{2m}\left( \frac{1}{\gamma } +G\right) {\varvec{\mathcal {B}}}. \end{aligned}$$
(29)

Here \({\varvec{\mathcal {B}}}\) is the amplitude of the perturbing oscillatory magnetic field. In the purely magnetic storage ring, the average radial magnetic field is equal to zero. In a storage ring with electric focusing, it should be counterbalanced by a focusing vertical electric field. In this case, the horizontal components of the average Lorentz force vanish:

$$\begin{aligned} \langle {\varvec{F}}_{L\Vert }\rangle =e[\langle {\varvec{E}}_\Vert \rangle +\langle ({\varvec{\beta }}\times {\varvec{B}})_\Vert \rangle ]=0. \end{aligned}$$

To describe spin dynamics in accelerators and storage rings, one often uses the Frenet–Serret (FS) coordinate system. The axes of the FS coordinate system depend on the particle trajectory. Three axes of this coordinate system are directed parallel to the velocity and momentum, parallel to the acceleration vector, and along the binormal orthogonal to these two axes. Relative to the Cartesian coordinate system, the FS one rotates about all three axes, not only around the vertical axis as the cylindrical coordinate system.

To find the angular velocity of the spin motion in the FS coordinate system, it is necessary to subtract an angular velocity of rotation of the vector \({\varvec{N}}= \varvec{p}/p=\mathbf{v}/v\) from \({\varvec{\Omega }}_{\mathrm{T}{\text {-}}\mathrm{BMT}}+{\varvec{\Omega }}_\mathrm{EDM}\). The angular velocity of the spin motion is equal to [8]

$$\begin{aligned} {\varvec{\Omega }}^{(\mathrm{FS})}= & {} -\frac{e}{m}\left[ G{\varvec{B}}-\frac{G\gamma }{\gamma +1}{\varvec{\beta }}({\varvec{\beta }} \cdot {\varvec{B}})\right. \nonumber \\&\left. +\left( \frac{1}{\gamma ^2-1}-G\right) \left( {\varvec{\beta }} \times {\varvec{E}}\right) \right. \nonumber \\&+\left. \frac{\eta }{2}\left( {{\varvec{E}}}-\frac{\gamma }{\gamma +1}{\varvec{\beta }}({\varvec{\beta }} \cdot {\varvec{E}})+{{\varvec{\beta }}}\times {{\varvec{B}}}\right) \right] . \end{aligned}$$
(30)

A comparison of the cylindrical and FS coordinate systems has been made in Ref. [33]. Of course, Eq. (30) is more compact. However, this compactness is achieved owing to the fact that the directions of the FS coordinate axes change with time, while the directions of the axes of the cylindrical coordinate system are fixed. Therefore, Eq. (30) can create the illusion that the effect of vertical and radial magnetic fields on the spin is the same. However, when \({\varvec{E}}=0\) and the EDM is neglected, the ratios \(\Omega _\rho ^{(\mathrm{cyl})}/B_\rho \) and \(\Omega _z^{(\mathrm{cyl})}/B_z\) differ by the factor \((G\gamma +1)/(G\gamma )\). For leptons (the electron and the muon) this ratio can be rather large. The reason is that, to determine an observable effect, the motion of the axes of the FS coordinate system should be added to the spin motion in this coordinate system. Once this circumstance is taken into account, the cylindrical and FS coordinate systems give an equivalent description of the spin motion [33].

In storage ring EDM experiments, the perturbing field should act on the EDM. For this purpose, one can use a resonance radial electric field (a rf electric-field flipper). One can also add a vertical magnetic field oscillating with the same resonance frequency. When the Lorentz force created by this device is equal to zero, one obtains a rf Wien filter [10]. The very weak perturbing field is caused by the interaction of the EDM with the main magnetic or electric field. This perturbing field is constant and rotates the spin about the radial axis. This case has been discussed at the end of Sect. 3.

We can mention that a constant perturbation rotating the spin about the radial axis is also conditioned by the Earth’s gravity [34,35,36]. This perturbation is very weak.

A detailed consideration of evolution of all spin components is necessary because an interaction stimulating a resonance can be very weak. Evidently, \(\mathrm{d}{\varvec{\zeta }}/(\mathrm{d}t)\bot {\varvec{\zeta }}\). When the initial beam polarization is vertical, one needs to measure horizontal spin components. When the initial beam polarization is horizontal, it is convenient to monitor the vertical spin component (see Sect. 3). These two possibilities may be realized in storage ring experiments on a search for EDMs [16, 25, 37, 38]. In these cases, the action of oscillating fields on the EDM stimulates a resonance, while their action on the magnetic moment does not bring about any resonance effects. This takes place because the quantities \({\varvec{\Omega }}_{\mathrm{T}{\text {-}}\mathrm{BMT}}\) and \({\varvec{\Omega }}_\mathrm{EDM}\) in Eq. (27) are usually orthogonal. Corresponding quantities in Eqs. (28) and (30) possess the same property. In any case, spin resonances originating from the EDM are quasimagnetic and are not magnetic. We can also mention that the case when the x and z components of the angular velocity of spin precession are constant [see Eq. (7)] corresponds to the conditions of the EDM experiment based on the frozen spin method [39] (cf. Eq. (22) in Ref. [25]).

It has been proven in Ref. [38] that the use of the initial vertical polarization cancels some systematical errors. The use of the initial horizontal polarization does not lead to such a cancellation. However, the initial vertical polarization can meet other problems [38].

We can conclude that specific conditions of the magnetic and quasimagnetic resonances for particles and nuclei moving in accelerators and storage rings influence only parameters \(\omega _0\) and \(\mathfrak {E}\) but do not change the general equations (9) and (15) defining the spin dynamics. A calculation of small corrections appearing in exact solutions needs a modification of initial equations. This problem will be considered in the next section.

It can be added that an extremely high precision of storage ring EDM experiments needs taking into account tensor electric and magnetic polarizabilities for nuclei with spin \(s\ge 1\) (e.g., deuteron) [18,19,20,21]. The tensor magnetic polarizability, \(\beta _T\), produces the spin rotation with two frequencies instead of one, beating with a frequency proportional to \(\beta _T\), and causes transitions between vector and tensor polarizations [18,19,20,21,22, 24]. A beam with an initial tensor polarization acquires a final vector polarization [23,24,25]. Resonance effects caused by the tensor polarizabilities have been calculated in Refs. [18,19,20,21,22,23]. A comparison of spin dynamics conditioned by the tensor polarizabilities and the EDM has been carried out in Refs. [23, 25, 26]. The corresponding spin motion without taking into account spin-tensor effects is presented by the formulas of Sect. 3 provided that \(\omega =0\).

6 Quasimagnetic resonance in a noncontinuous perturbing field

The next problem which should be taken into consideration in connection with the storage ring EDM experiments is a discontinuity of perturbing fields. In the planned EDM experiments with protons, deuterons, and \(^3\)He ions at COSY [16, 17], one will use resonance stimulations with a rf electric-field flipper and a rf Wien filter. The two devices create oscillatory fields. The frequencies of the perturbing fields are synchronized with that of the spin frequency. The both devices provide for standard conditions of the MR. Semertzidis [40] and Nikolaev [41] have compared the actions of the rf electric-field flipper and the rf Wien filter on the spin. Orlov has shown [42] that a part of the longitudinal spin component is frozen (constant in time) in the oscillatory radial electric field. A more advanced theoretical analysis has been fulfilled in Ref. [10]. The theoretical calculations agree with spin tracking [10, 40].

The rf Wien filter unlike the rf electric-field flipper does not affect the motion of particles and nuclei. This is a great advantage of the former device. The latter device can be used only if it does not destroy the beam stability.

JEDI collaboration plans to perform main experiments with the rf Wien filter [11, 12, 17]. The static version of this filter is frequently used to turn the spin without an effect on beam dynamics. The rf electric-field flipper may be applied in precursor experiments [16]. The initial beam polarization is planned to be vertical. The initial horizontal beam polarization can also be used.

The stimulating frequency, \(\omega '\), should either (almost) coincide with that of the spin rotation, \(\omega _0\), or differ by \(n\omega _c~(n=\pm 1,\pm 2,\ldots ,)\) where \(\omega _c\) is the cyclotron frequency. This property can be properly substantiated and a rigorous quantitative description of the spin evolution can be given.

One usually puts devices like the electric-field flipper and the rf Wien filter into a straight section of the storage ring. Since lengths of the flipper and the filter are small as compared with the ring circumference, an approximation of the perturbing field by the delta function is permissible. An expansion of the delta function into the Fourier series is defined by the well-known formula

$$\begin{aligned} \sum ^\infty _{n=-\infty }{\delta {(\Phi -2\pi n)}}= & {} \frac{1}{2\pi }+\frac{1}{\pi }\sum ^\infty _{n=1}{\cos {(n\Phi )}}\\= & {} \frac{1}{2\pi }\sum ^\infty _{n=-\infty }{\cos {(n\Phi )}}, \end{aligned}$$

where \(\Phi =\omega _ct\) is the phase.

As a result, the following relations are valid (see, e.g., Ref. [43]):

$$\begin{aligned}&\sin {(\omega ' t+\chi )}\!\sum ^\infty _{n=-\infty }{\delta {(\Phi -2\pi n)}}\nonumber \\&\quad =\frac{1}{2\pi }\!\sum ^\infty _{n=-\infty }{\sin { [(\omega '+n\omega _c)t+\chi ]}}\nonumber \\&\quad =\frac{1}{2\pi }\!\sum ^\infty _{n=-\infty }{\sin { [(n+\nu )\Phi +\chi ]}},\nonumber \\&\cos {(\omega ' t+\chi )}\!\sum ^\infty _{n=-\infty }{\delta {(\Phi -2\pi n)}}\nonumber \\&\quad =\frac{1}{2\pi }\!\sum ^\infty _{n=-\infty }{\cos { [(\omega '+n\omega _c)t+\chi ]}}\nonumber \\&\quad =\frac{1}{2\pi }\!\sum ^\infty _{n=-\infty }{\cos {[(n+\nu )\Phi +\chi ]}}, \end{aligned}$$
(31)

where \(\nu =\omega '/\omega _c\) is the modulation tune. In this case, \(\omega _0=(n+\nu )\omega _c\) and \(\omega '=(\nu _s+K)\omega _c\), where \(\nu _s=\omega _0/\omega _c\) is the spin tune.

Equation (31) shows a possibility to use resonance devices at different frequencies. In particular, an appropriate choice for the proton and the deuteron is \(K=-2,-3\) and \(K=+1,+2\), respectively.

More adequately, the electric fields of the flipper and the filter can be characterized as follows:

$$\begin{aligned}&{\varvec{\Omega }}_\Vert =2{\varvec{\mathfrak {E}}}\cos {(\omega ' t+\chi )},\qquad {\varvec{\mathfrak {E}}}=-\frac{e\eta }{4m} {\varvec{\mathcal {E}}}(\Phi ),\nonumber \\&{\varvec{\mathcal {E}}}(\Phi )=\left\{ \begin{array}{cc} {\varvec{E}}_0 &{}\quad \mathrm{if} \quad \Phi \in \left[ -\frac{\pi l}{C}+2\pi n,\, \frac{\pi l}{C}+2\pi n\right] \\ 0 &{}\quad \mathrm{if} \quad \Phi \notin \left[ -\frac{\pi l}{C}+2\pi n,\, \frac{\pi l}{C}+2\pi n\right] \end{array}\right. ,\nonumber \\&\quad \quad n=0,\pm 1,\pm 2,\ldots , \end{aligned}$$
(32)

where l is the length of the flipper/filter, C is the ring circumference. The spin-dependent part of the classical Hamiltonian is defined by Eq. (1) and the electric field \({\varvec{E}}_0\) is directed radially.

In this case, an expansion into the Fourier series has the form

$$\begin{aligned} {\varvec{\mathcal {E}}}(\Phi )={\varvec{E}}_0 \sum ^\infty _{n=-\infty }{a_n\cos {(n\Phi )}}, \end{aligned}$$
(33)

where

$$\begin{aligned} a_0=\frac{l}{C}, \qquad a_n=\frac{1}{\pi n}\sin {\frac{\pi n l}{C}}. \end{aligned}$$
(34)

As a result,

$$\begin{aligned} {\varvec{\Omega }}_\Vert= & {} -\frac{e\eta }{2m}{\varvec{E}}_0\sum ^\infty _{n=-\infty }{a_n\cos {[(\omega '+n\omega _c)t+\chi ]}}\nonumber \\= & {} -\frac{e\eta }{2m}{\varvec{E}}_0\sum ^\infty _{n=-\infty }{a_n\cos {[(n+\nu )\Phi +\chi ]}}. \end{aligned}$$
(35)

Equations (34) and (35) show that the considered devices are not effective for oscillation modes \(n>C/(2l)\). Otherwise, the Fourier coefficients for the delta function and the flipper/filter of a finite length agree on condition that \((n l/C)\ll 1\). For a more precise Fourier expansion, one can use real parameters of the resonator fields.

The horizontal component of the angular velocity of the spin precession conditioned by a resonance interaction of the EDM with the radial electric field can be presented in the form

$$\begin{aligned} {\varvec{\Omega }}_\Vert =2{\varvec{\mathfrak {E}}}\cos {(\omega t+\chi )}, \qquad {\varvec{\mathfrak {E}}}=-\frac{e\eta }{4m}a_n{\varvec{E}}_0. \end{aligned}$$
(36)

The resonance frequency, \(\omega \), satisfies the condition

$$\begin{aligned} \omega \equiv \omega '+n\omega _c\approx \omega _0. \end{aligned}$$
(37)

An expansion of a magnetic field in the rf Wien filter in a Fourier series is very similar. Evidently, the influence as regards resonance of continuous and noncontinuous perturbing fields on the spin is practically the same.

The results presented give an exhaustive description of storage ring resonance effects caused by the magnetic dipole moment (MDM). For this purpose, one should simply substitute needed expressions for \({\varvec{\Omega }}_\Vert \) and \({\varvec{\mathfrak {E}}}\) into corresponding equations. Specifically,

$$\begin{aligned} {\varvec{\Omega }}_\Vert =2{\varvec{\mathfrak {E}}}\cos {(\omega t+\chi )}=-\frac{e}{m}\left( G+\frac{1}{\gamma }\right) a_n{\varvec{B}}_0^{(r)}\cos {(\omega t+\chi )}\nonumber \\ \end{aligned}$$
(38)

for the radial magnetic field and

$$\begin{aligned} {\varvec{\Omega }}_\Vert =2{\varvec{\mathfrak {E}}}\cos {(\omega t+\chi )}=-\frac{eg}{2m\gamma } a_n{\varvec{B}}_0^{(l)}\cos {(\omega t+\chi )} \end{aligned}$$
(39)

for the longitudinal magnetic field. The resonance effect caused by the MDM and stimulated by the rf Wien filter with the radial magnetic and vertical electric fields [\(({\varvec{E}}_0+{\varvec{\beta }}\times {\varvec{B}}_0^{(r)})_\Vert =0\)] is defined by

$$\begin{aligned} {\varvec{\Omega }}_\Vert =2{\varvec{\mathfrak {E}}}\cos {(\omega t+\chi )}=-\frac{eg}{2m\gamma ^2} a_n{\varvec{B}}_0^{(r)}\cos {(\omega t+\chi )}.\nonumber \\ \end{aligned}$$
(40)

In Sects. 24, the vertical direction of the stable spin axis is considered. The presence of the EDM tilts this direction. Therefore, the results obtained in Sects. 24 cannot be directly applied to describe the spin motion in storage ring EDM experiments. This problem is solved in the next section.

7 Distinguishing features of a quasimagnetic resonance in storage ring electric-dipole-moment experiments

Main distinguishing features of storage ring EDM experiments are a simultaneous influence of external fields on the electric and magnetic dipole moments and the existence of a resonance effect even when the stimulating torque acting on the EDM is equal to zero. The last situation occurs when the resonance in a EDM experiment is stimulated by the rf Wien filter with the vertical magnetic and radial electric fields [\(({\varvec{E}}_0+{\varvec{\beta }}\times {\varvec{B}}_0^{(\mathrm{osc})})_r=0\)]. The paradoxical property of the existence of the resonance effect on condition that \({\varvec{\Omega }}_\mathrm{EDM}=0\) has been first discovered by Semertzidis [40] with a computer simulation. The existence of this effect has been confirmed and has been rigorously proven by the subsequent theoretical analysis fulfilled in Refs. [10, 41, 42].

In the present work, we give a very simple explanation of the distinguishing features of a quasimagnetic resonance in storage ring EDM experiments. This explanation is valid for any initial polarization of particles or nuclei.

Let us first consider the possibility of resonance stimulated by the oscillating vertical magnetic field in the storage ring with the main magnetic field \({\varvec{B}}_0\). The oscillating vertical magnetic field can be presented in the form \({\varvec{\mathcal {B}}}(\Phi )\cos {(\omega 't+\chi )}\), where

$$\begin{aligned} {\varvec{\mathcal {B}}}(\Phi )={\varvec{B}}_0^{(\mathrm{osc})} \sum ^\infty _{n=-\infty }{a_n\cos {(n\Phi )}}, \qquad {\varvec{B}}_0^{(\mathrm{osc})}={B}_0^{(\mathrm{osc})}{\varvec{e}}_z.\nonumber \\ \end{aligned}$$
(41)

An expansion into the Fourier series results in

$$\begin{aligned} {\varvec{\mathcal {B}}}(\Phi )\cos {(\omega 't+\chi )}={\varvec{B}}_0^{(\mathrm{osc})} \sum ^\infty _{n=-\infty }{a_n\cos {[(\omega '+n\omega _c)t+\chi ]}},\nonumber \\ \end{aligned}$$
(42)

where the coefficients \(a_n\) are defined by Eq. (34). We consider only the resonance mode (37).

The angular velocity of the spin rotation in the cylindrical coordinates is given by (\({\varvec{\beta }}=\beta {\varvec{e}}_\phi \))

$$\begin{aligned} {\varvec{\Omega }}^{(\mathrm{cyl})}= & {} \omega _0[1+b_z\cos {(\omega t+\chi )}]\nonumber \\&\times \, {\varvec{e}}_z- \frac{e\eta }{2m}\beta B_0\left[ 1+b_r\cos {(\omega t+\chi )}\right] {\varvec{e}}_r,\nonumber \\ \omega _0= & {} -\frac{eG}{m}B_0. \end{aligned}$$
(43)

We suppose that the quantities \(\omega _0\) and \(\beta \) can be positive and negative. In the considered case,

$$\begin{aligned} b_r=b_r^{(m)}=b_z=b_z^{(m)}=\frac{a_nB_0^{(\mathrm{osc})}}{B_0}. \end{aligned}$$
(44)

It is convenient to divide the vector \({\varvec{\Omega }}^{(\mathrm{cyl})}\) into the constant and oscillating parts, \({\varvec{\Omega }}^{(0)}\) and \({\varvec{\Omega }}^{(1)}\), as follows:

$$\begin{aligned} {\varvec{\Omega }}^{(\mathrm{cyl})}={\varvec{\Omega }}^{(0)} +{\varvec{\Omega }}^{(1)}\cos {(\omega t+\chi )}. \end{aligned}$$

It is also convenient to consider separately the contributions from the electric and magnetic dipole moments. The former contributions are proportional to \(\eta \).

Figure 1 presents the angular velocity of the spin rotation. Evidently, the constant and oscillating parts of the vector \({\varvec{\Omega }}^{(\mathrm{cyl})}\) are collinear. The vector \({\varvec{\Omega }}^{(0)}\) defines the direction of the stable spin axis and forms the small angle

$$\begin{aligned} \vartheta =\sin {\vartheta } =- \frac{e\eta }{2m\omega _0}\beta B_0=\frac{\eta \beta }{2G} \end{aligned}$$
(45)

with the z axis. We may consider only terms linear in \(\eta \). In this approximation,

$$\begin{aligned} {\varvec{\Omega }}^{(\mathrm{cyl})}=\omega _0[1+b_z\cos {(\omega t+\chi )}]{\varvec{e}}_\vartheta , \qquad {\varvec{e}}_\vartheta ={\varvec{e}}_z+\vartheta {\varvec{e}}_r.\nonumber \\ \end{aligned}$$
(46)

Equation (46) and Fig. 1 show that any resonance effect does not exist.

It can similarly be proven that the resonance effect does not appear in an all-electric storage ring when the main and oscillating electric fields are also radial.

The situation is different when the resonance is stimulated by the rf electric-field flipper in the storage ring with the main magnetic field. In this case,

$$\begin{aligned}&{\varvec{E}}_0=E_0{\varvec{e}}_r,\qquad b_r=b^{(e)}_r=\frac{a_nE_0}{\beta B_0},\nonumber \\&b_z=b^{(e)}_z=-\frac{\beta a_nE_0}{GB_0}\left( \frac{1}{\gamma ^2-1}-G\right) . \end{aligned}$$
(47)

All parameters can be positive and negative.

Fig. 1
figure 1

Magnetic-field “flipper”. A summation of the contributions from the EDM and the MDM leads to the collinearity of the constant and oscillating parts of the vector \({\varvec{\Omega }}^{(\mathrm{cyl})}\). A resonance effect does not exist

Fig. 2
figure 2

Electric-field flipper. The resonance effect takes place and is defined by the vector \({\varvec{\Omega }}_\zeta ^{(1)}\)

It is very convenient to switch to the new axes, \({\varvec{e}}_\zeta ={\varvec{e}}_r-\vartheta {\varvec{e}}_z,\,{\varvec{e}}_\phi \) and \({\varvec{e}}_\vartheta \), to describe the resonance spin dynamics in the general case. In this case,

$$\begin{aligned} {\varvec{\Omega }}^{(\mathrm{cyl})}= & {} \omega _0[1+b_z\cos {(\omega t+\chi )}]{\varvec{e}}_\vartheta \nonumber \\&+\,\omega _0\vartheta (b_r-b_z)\cos {(\omega t+\chi )}{\varvec{e}}_\zeta . \end{aligned}$$
(48)

As before, the vector \({\varvec{e}}_\vartheta \) specifies the direction of the stable spin axis. The parameters used are defined by Eqs. (43), (45), and (47). It can be checked that

$$\begin{aligned} b^{(e)}_r-b^{(e)}_z=\frac{a_nE_0}{\beta B_0}\cdot \frac{G+1}{G\gamma ^2}=-\frac{ega_nE_0}{2m\beta \gamma ^2\omega _0}. \end{aligned}$$
(49)

This situation is illustrated by Fig. 2. The vectors \({\varvec{\Omega }}^{(0)}\) and \({\varvec{\Omega }}^{(1)}\) are not collinear and the resonance effect takes place.

If \(|b_z|\ll 1\), the general equations obtained in the preceding sections can be used. In this case,

$$\begin{aligned} \mathfrak {E}=\frac{1}{2}\omega _0\vartheta (b^{(e)}_r-b^{(e)}_z) =-\frac{e\eta }{4m}\cdot \frac{G+1}{G\gamma ^2}a_nE_0. \end{aligned}$$
(50)

When the initial spin direction is horizontal, the vertical spin polarization defined by Eq. (15) reads

$$\begin{aligned} P_z(t)=\mathfrak {E}t\sin {(\psi -\chi )}=-\frac{e\eta }{4m}\cdot \frac{G+1}{G\gamma ^2}a_nE_0t\sin {(\psi -\chi )}.\nonumber \\ \end{aligned}$$
(51)

This equation agrees with the previous results [10, 42]. We can mention that the longitudinal direction is opposite to \({\varvec{e}}_\phi \) for positively charged particles. We underline that the present study provides for the description of the beam polarization in the general case. In particular, the horizontal spin polarization at the initial vertical spin direction is given by

$$\begin{aligned}&P_x(t)=\mathfrak {E}t\sin {(\omega t+\chi )},\nonumber \\&P_y(t)=-\mathfrak {E}t\cos {(\omega t+\chi )}. \end{aligned}$$
(52)

Just the initial vertical beam polarization will be used in the planned experiments at COSY [16, 17].

As a rule, the condition \(|b_z|\ll 1\) is a satisfactory approximation because the length of the flipper is much less than the ring circumference (\(l\ll C\)). In the planned deuteron EDM precursor experiment [16], \(l/C=5\times 10^{-3}\).

The precedent studies [10, 40,41,42] have shown that the addition of the rf magnetic-field flipper with the vertical field to the rf electric-field flipper significantly improves beam dynamics but does not eliminate the EDM effect. This conclusion first followed from the computer simulation [40]. It is confirmed by the geometrical method.

The above-mentioned addition allows one to obtain the rf Wien filter and leads to a very unusual spin dynamics. The Lorentz force in this device vanishes. Evidently, the resonance part of the radial component of \({\varvec{\Omega }}^{(\mathrm{cyl})}\) is proportional to the Lorentz force (\({\varvec{\beta }}\cdot {\varvec{E}}=0\)) and also vanishes. In this case, \(B_0^{(\mathrm{osc})}=-E_0/\beta \). The angular velocity of the spin rotation takes the form

$$\begin{aligned} {\varvec{\Omega }}^{(\mathrm{cyl})}=\omega _0[1+(b^{(e)}_z+b^{(m)}_z)\cos {(\omega t+\chi )}]{\varvec{e}}_z +\omega _0\vartheta {\varvec{e}}_r,\nonumber \\ \end{aligned}$$
(53)

where \(\vartheta \) is given by Eq. (45). Amazingly, there is not an effect of the resonance field on the EDM and the resonance effect proportional to the EDM is ensured by the action of the oscillating fields on the MDM. To determine this effect, it is convenient to pass to the axes \({\varvec{e}}_\vartheta \) and \({\varvec{e}}_\zeta \):

$$\begin{aligned} {\varvec{\Omega }}^{(\mathrm{cyl})}=\omega _0[1+\delta \cos {(\omega t+\chi )}]{\varvec{e}}_\vartheta -\omega _0{\vartheta {\delta }}\cos {(\omega t+\chi )}{\varvec{e}}_\zeta .\nonumber \\ \end{aligned}$$
(54)

It follows from Eqs. (43), (44) and the relation \(b^{(m)}_r=-b^{(e)}_r\) that

$$\begin{aligned} \delta =b^{(e)}_z+b^{(m)}_z=b^{(e)}_z-b^{(e)}_r=-\frac{a_nE_0}{\beta B_0}\cdot \frac{G+1}{G\gamma ^2}. \end{aligned}$$
(55)

Figure 3 shows that the vectors \({\varvec{\Omega }}^{(0)}\) and \({\varvec{\Omega }}^{(1)}\) are not collinear and therefore the rf Wien filter provides for the resonance effect.

Fig. 3
figure 3

rf Wien filter. While the resonance action on the EDM vanishes, the resonance effect is ensured by the action of the oscillating fields on the MDM and is defined by the vector \({\varvec{\Omega }}_\zeta ^{(1)}\)

If we neglect \(\delta \) as compared with unit in the term proportional to \({\varvec{e}}_\vartheta \), we can use the general equations obtained in the precedent sections. In this case,

$$\begin{aligned} \mathfrak {E}=-\frac{1}{2}\omega _0{\vartheta {\delta }} =-\frac{e\eta }{4m}\cdot \frac{G+1}{G\gamma ^2}a_nE_0. \end{aligned}$$
(56)

In this approximation, the addition of the oscillating vertical magnetic field does not change the resonance effect. However, taking into account terms of the order of \(\delta \) demonstrates a difference between the EDM effects caused by the rf electric-field flipper and the rf Wien filter (containing the same rf electric-field flipper). While the difference is small, it is crucial for the establishment of consent between analytical derivations and computer simulations.

To simplify the derivation, we may consider the case when \(\chi =0,\,\omega =\omega _0\) and the initial beam polarization is azimuthal. In this case, the spin azimuth is equal to

$$\begin{aligned} \phi =\frac{\pi }{2}+\omega _0t+\delta \sin {\omega _0t} \end{aligned}$$

and the azimuthal beam polarization is given by

$$\begin{aligned} P_\phi (t)=\sin {\phi }=\cos {(\omega _0t+\delta \sin {\omega _0t})}. \end{aligned}$$
(57)

As a result, the change of the beam polarization along the \({\varvec{e}}_\vartheta \) axis during one spin revolution reads

$$\begin{aligned} \Delta P_\vartheta =-\omega _0{\vartheta {\delta }}\int _{-T/2}^{T/2} {\cos {(\omega _0t+\delta \sin {\omega _0t})} \cos {\omega _0 t}\,\mathrm{d}t}, \end{aligned}$$
(58)

where \(T=2\pi /\omega _0\). Since

$$\begin{aligned}&\cos {(\omega _0t+\delta \sin {\omega _0t})}\cos {\omega _0 t}\\&\quad =\frac{1}{2}[\cos {(\delta \sin {\omega _0t})}+ \cos {(2\omega _0t+\delta \sin {\omega _0t})}], \end{aligned}$$

we can apply properties of the Bessel functions (n is integer):

$$\begin{aligned}&J_n(z)=\frac{1}{\pi }\int _0^\pi {\cos {(nx-z\sin {x})}\mathrm{d}x},\\&J_{-n}(z)=(-1)^nJ_n(z). \end{aligned}$$

With the use of tables of integrals [44], we obtain the following exact formula:

$$\begin{aligned} \Delta P_\vartheta =\pi \vartheta [J_0(|\delta |)+J_2(|\delta |)]\delta . \end{aligned}$$
(59)

As a result, the average build-up of the vertical spin polarization is given by

$$\begin{aligned} P_z(t)= & {} -\frac{\omega _0{\vartheta {\delta }}}{2}[J_0(|\delta |) +J_2(|\delta |)] t\nonumber \\= & {} -\frac{e\eta }{4m}\cdot \frac{G+1}{G\gamma ^2}a_nE_0 [J_0(|\delta |)+J_2(|\delta |)] t. \end{aligned}$$
(60)

We can add that

$$\begin{aligned} J_0(|\delta |)+J_2(|\delta |)=\frac{2}{|\delta |}J_1(|\delta |). \end{aligned}$$

When \(|\delta |\ll 1,~ J_0(|\delta |)+J_2(|\delta |)\approx 1-\delta ^2/8\).

When \(\delta \rightarrow 0\), we obtain the approximate equation (51) (on condition that \(\psi =\pi /2+\chi \)).

Similar equations are also valid for the rf electric-field flipper. In this case,

$$\begin{aligned} \Delta P_\vartheta= & {} \pi \vartheta [J_0(|b^{(e)}_z|) +J_2(|b^{(e)}_z|)]\delta ,\nonumber \\ P_z(t)= & {} -\frac{\omega _0{\vartheta {\delta }}}{2} [J_0(|b^{(e)}_z|)+J_2(|b^{(e)}_z|)] t\nonumber \\= & {} -\frac{e\eta }{4m}\cdot \frac{G+1}{G\gamma ^2}a_nE_0 [J_0(|b^{(e)}_z|)+J_2(|b^{(e)}_z|)] t. \end{aligned}$$
(61)

Thus, actions of the rf electric-field flipper and the rf Wien filter on the spin can be distinguished while the difference is rather small. The exact equations (60), (61) should be applied for a comparison of analytical results with computer simulations. Moreover, the use of the difference between the resonance effects conditioned by the rf electric-field flipper and the rf Wien filter is necessary for checking spin tracking programs.

One of the key problems in EDM experiments is the problem of systematical errors. Equations (28) and (30) show that the vertical electric field and the radial and longitudinal magnetic fields may create a resonance effect imitating the presence of the EDM. This effect can occur due to misalignments and imperfections of the oscillating fields in the rf Wien filter. Similarly directed constant imperfection fields can also exist in the storage ring. However, they do not create any resonance effect.

To decrease systematic errors, it is necessary to avoid any dependence of the particle motion on the fields of the rf Wien filter. This means canceling the Lorentz force in both radial and vertical directions [10]. With allowance for Eq. (28) and the relation \(({\varvec{E}}_0+{\varvec{\beta }}\times {\varvec{B}}_0^{(\mathrm{osc})})\left| _z\right. =0\), we obtain the formula (\({\varvec{\beta }}=\beta {\varvec{e}}_\phi \))

$$\begin{aligned}&{\varvec{\Omega }}_\Vert =-\frac{e}{m}\cdot \frac{G+1}{\gamma ^2}a_n{\varvec{B}}^{(r)},\nonumber \\&\mathfrak {E}=-\frac{e}{2m}\cdot \frac{G+1}{\gamma ^2}a_nB_0^{(r)}. \end{aligned}$$
(62)

This formula agrees with the result obtained in Ref. [10]. A nonzero value of \(B_0^{(r)}\) conditions a systematic error. It is rather difficult to distinguish the EDM signal from this systematic error. One can use the fact that these quantities differently depend on the velocity [10].

Another systematic error is caused by the longitudinal magnetic field. This systematic error has not been considered in Ref. [10] but it has been mentioned later [45]. Equation (28) shows that it causes the resonance effect defined by

$$\begin{aligned}&{\varvec{\Omega }}_\Vert =-\frac{e}{m}\cdot \frac{G+1}{\gamma }a_n{\varvec{B}}^{(l)},\nonumber \\&\mathfrak {E}=-\frac{e}{2m}\cdot \frac{G+1}{\gamma }a_n{B}_0^{(l)}. \end{aligned}$$
(63)

One more systematical error can appear when the particle velocity inside the rf Wien filter has a vertical component. This component can be conditioned by field misalignments. In this case,

$$\begin{aligned}&{\varvec{\Omega }}_\Vert =\frac{e}{m}\left( G+\frac{1}{\gamma +1}\right) \beta _za_nE_0\cos {(\omega t+\chi )}{\varvec{e}}_\phi ,\nonumber \\&\mathfrak {E}=\frac{e}{2m}\left( G+\frac{1}{\gamma +1} \right) \beta _za_nE_0. \end{aligned}$$
(64)

This systematical error also consists in the spin rotation around the longitudinal direction.

In the presence of the longitudinal magnetic field or the vertical component of the particle velocity, the spin turns around the longitudinal direction while the EDM effect consists in the spin rotation around the radial direction. As a result, the phases of rotating horizontal spin components appearing due to the above-mentioned sources of systematical errors and due to the EDM effect differ on \(\pi /2\).

When the initial beam polarization is horizontal and the rf Wien filter is well synchronized with the spin rotation, \(\omega =\omega _0\) and the phase difference in Eqs. (9) and (10) is \(\psi -\chi =\pm \pi /2\). In this case, the systematical errors caused by the longitudinal magnetic field and the vertical component of the particle velocity vanish and the only important systematical error is conditioned by the vertical electric field and the radial magnetic one. However, the former systematical errors should be taken into account when the resonance conditions are not exactly satisfied.

8 Summary

In the present paper, a general theoretical description of the MR is given. We have derived the general formulas describing a behavior of all components of the polarization vector at the MR and have considered the case of an arbitrary initial polarization. The equations obtained are exact on condition that the nonresonance rotating field is neglected. The spin dynamics has also been calculated at frequencies far from resonance without neglecting the above-mentioned field. A quantum-mechanical analysis of the spin evolution at the MR has been fulfilled and the full agreement between the classical and quantum-mechanical approaches has been proven.

Distinguishing features of magnetic and quasimagnetic resonances for particles and nuclei moving in accelerators and storage rings (including resonances caused by the EDM) have been investigated in detail. We have considered the quasimagnetic resonance in a noncontinuous perturbing field. We have also fulfilled a detailed description of a quasimagnetic resonance in storage ring EDM experiments. We have applied the simple geometrical method and have determined the spin dynamics in the general case. We have shown for the first time the difference between the resonance effects conditioned by the rf electric-field flipper and the rf Wien filter. The existence of this difference is crucial for the establishment of consent between analytical derivations and computer simulations and for checking spin tracking programs.

The results obtained define also the spin dynamics caused by systematical errors which appear due to misalignments and imperfections of the resonance fields in the rf Wien filter.