{'fraction_non_alphanumeric': 0.0356043855850106, 'fraction_numerical': 0.013790431036447767, 'mean_word_length': 4.565393885576557, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Neutrino flavor oscillations and spin rotation in matter and electromagnetic field

We obtain a relativistically covariant wave equation for neutrinos in dense matter and electromagnetic field, which describes both flavor oscillations and neutrino spin rotation. Using this equation we construct a quasi-classical theory of these phenomena. We obtain the probabilities of arbitrary spin-flavor transitions assuming the external conditions to be constant. We demonstrate that the resonance behavior of the transition probabilities is possible only when the neutrino flavor states cannot be described as superpositions of the mass eigenstates. We discover that a resonance, which is similar to the Mikheev-Smirnov-Wolfenstein resonance, takes place for neutrinos in magnetic field due to the transition magnetic moments. This resonance gives an opportunity to determine, whether neutrinos are Dirac or Majorana particles.


I. INTRODUCTION
The phenomenological theory of neutrino oscillations in vacuum is based on the pioneer works by B. Pontecorvo (see [1]). The study of the influence of external conditions is the next important step toward understanding the nature of neutrino. The first significant result in this field was obtained by Wolfenstein [2]. In his paper the neutrino interaction with the medium was described as a collective effect. Such interaction is associated with the forward elastic scattering of neutrinos by the fermions of the medium. It is described by an effective potential, which modifies the dispersion law. On the base of this approach the Mikheev-Smirnov-Wolfenstein (MSW) effect [3] was discovered.
However, to describe the neutrino evolution it is also important to take into account the electromagnetic properties of neutrinos. Being a massive neutral particle, a Dirac neutrino is characterized by an anomalous magnetic moment. In addition to the diagonal anomalous magnetic moments [4] neutrinos are characterized by the so-called transition (non-diagonal) moments [5] (see also [6] and references therein), which affect the mixing of different neutrino mass eigenstates.
One of the reasons of neutrino spin rotation is the direct interaction of neutrino magnetic moment with external field [4]. This effect was widely discussed in the 1980s (see, e.g., [7,8]). In particular, the possible impact of the neutrino spin rotation on the solar neutrino problem was considered.
Another reason for the spin rotation is the interaction of neutrino with matter [9] (a review of the original papers can be found in [10]). Spin precession takes place even in the case when the matter is at rest and not polarized. If the background medium moves relative to the laboratory reference frame or if it is polarized by some external electromagnetic field, then the neutrino helicity can also change. This effect takes place, since there is a preferred direction different from the direction of the neutrino momentum in these cases.
The motion and the polarization of the background medium were for a long time known to influence the neutrino propagation. The motion of the medium was considered, e.g. in [11]. In [12][13][14] the concept of the induced magnetic moment of the neutrino was used to describe the background polarization. The value of the induced magnetic moment should be calculated for a particular medium (e.g., in [15] it was calculated for the medium composed of electrons only). However, it was not until [9] that the external medium was for the first time considered as a factor, which results in an actual spin precession of the neutrino. As the discovery of the spin rotation in the medium was rather unexpected, for a time the researchers did not pay attention to this effect (see, e.g., [16]). Only recently the astrophysical applications of the neutrino spin rotation were studied [17][18][19][20][21][22][23]. Although the importance of such effect for the neutrino physics is obvious, its interpretation remains ambiguous [24].
Since the character of the neutrino interaction with electromagnetic field depends on the neutrino flavor, there are correlations between the spin rotation and the flavor oscillations. In the framework of the phenomenological theory these correlations were not studied in a mathematically rigorous way.
In all the important issues neutrino should be considered as a relativistic particle. Hence, a consistent quantum description of the spin rotation may be achieved only with the use of a relativistically covariant equation generalizing the Dirac equation. The interaction of the mass eigenstates with the electromagnetic field is described by the Dirac-Pauli equation, and the interaction with the medium is described by a phenomenological equation, which was obtained in [25,26]. Thus, to describe the neutrino evolution taking into account both the flavor oscillations and the spin rotation, we also need an explicitly covariant equation for the neutrino wave function.
The paper is organized as follows. In Sec. II we derive the equation for neutrino evolution in dense medium following [27], and generalize it taking into account the direct interaction of neutrino with the electromagnetic field due to its anomalous moments, including neutrino transition magnetic and electric moments. In Sec. III we obtain a quasiclassical approximation of this equation and get its solution as a matrix exponential. Using these solutions, we derive a general formula for the probabilities of spin-flavor transitions in the case of constant external conditions. In Sec. IV we study two special cases, for which explicit solutions are available. Such solutions exist when the neutrino propagates in electromagnetic field or in moving unpolarized matter. All the results of this section are obtained in the two-flavor model. In Sec. V we discuss the main characteristics of the neutrino behavior in the cases considered in the previous section. In Sec. VI we summarize the main results of the paper. In Sec. VII we discuss some phenomenological consequences of the results obtained.

II. WAVE EQUATION
The equation, which describes the spin rotation of the neutrino mass eigenstates [25,26], takes into account only the neutrino interaction with the medium via neutral currents. Hence, it cannot describe the influence of the medium on the flavor oscillations, a major contribution to which is made by the charged currents. Unfortunately, it is impossible to construct a direct generalization of this equation to describe flavor transitions using the phenomenological approach, because the operator, which transforms the mass eigenstates of neutrino to the flavor states, is not unitary, when it is defined by the mixing matrix only (see e.g. [28]).
To obtain a relativistically covariant equation describing both the neutrino flavor oscillations and its spin rotation, we use a modification of the Standard Model [29,30], where all the fermions with equal electroweak quantum numbers are combined in SU (3)-multiplets. That is, each of such multiplets consists of a set of three Dirac fermions. In the framework of this approach, wave functions Ψ (i) (x) describe the fermion multiplet (i) as a whole. These wave functions are 12-component objects and satisfy the modified Dirac equation In this equation I is the 3 × 3 identity matrix, M (i) is a Hermitian mass matrix of the fermion multiplet, which can be represented as follows where the eigenvalues m (i) l of the mass matrix can be identified with the masses of the multiplet components, and the matrices P (i) l are orthogonal projectors on the subspaces with these masses. In Eq. (2.1) the product of the Dirac matrices and the matrices M (i) , I is defined as the tensor product. The transformation properties of the solutions of Eq. (2.1) are described in detail in [30].
The procedure of quantization in this model is well defined. So, we can obtain the Dyson decomposition, which enables one to construct the perturbation theory in the interaction picture. As a consequence, we can use the standard diagram technique not only in the tree approximation, but also for the computations of higher-order processes including the radiative corrections. Hence, we can write the equation, which is analogous to the Dirac-Schwinger equation of quantum electrodynamics (see, e.g., [31]).
Here we consider the neutrino propagation in matter composed of electrons, protons and neutrons (e, p, n). That is, we assume that the density of the neutrino flux is small enough to neglect the effect of neutrino collective oscillations, which were studied, e.g., in [32,33]. Following [27], we obtain the equation describing the neutrino interaction with matter. This interaction, associated with forward elastic scattering of neutrinos by the background fermions, in the framework of quantum field theory may be taken into account if we insert the neutrino mass operator in the modified Dirac equation. In the lowest order of the perturbation theory the analog of the Dirac-Schwinger equation for the neutrino multiplet takes the form Here g is the weak interaction constant, θ W is the Weinberg angle, T (i) is the weak isospin projection of the background fermion (i), Q (i) is the electric charge of the background fermion in the units of the positron charge e. The Green functions of free W and Z bosons are denoted as D W µν (x − y) and D Z µν (x − y) respectively, and S (i) (x, y|g) are the Green functions of the fermion multiplets in the real-time formalism [34] (see also [35,36] and references therein) taking into account the external conditions g, i.e. the temperature and the chemical potential of the system.
For relatively low neutrino energies, when where E F , T f are the Fermi energy and the temperature of the background fermions (see e.g. [37]), we can use the Fermi approximation. Then and Eq. (2.3) takes the form where G F is the Fermi constant. The imaginary parts of the Green functions after the summation over the quantum numbers of the background fermions are reduced to the density matrices, that is S (i) (x, x|g) ⇒ −i̺ (i) (x, x|g). The structure of the density matrix for spin 1/2 fermions is well known from the general considerations [38]. Since now it is necessary to consider the constituent parts of the medium as the components of the multiplets, for the corresponding density matrices we have determines the neutrino interaction with electrons via the charged currents, while the potential determines the neutrino interaction with all fermions of the medium via the neutral currents. Thus, the neutrino evolution equation may be written in the form where P (e) is the projector on the state of neutrino with the electron flavor, and M ≡ M (ν) . Equation (2.11) describes both flavor oscillations and neutrino spin rotation in dense matter. This equation generalizes the equation, used in [25,26] to describe the neutrino spin precession. Since this equation is obtained by reducing the mass operator of neutrino, the range of energies for which it is applicable is limited from above only. That is, Eq. (2.11) is valid for neutrinos of arbitrary low energies, including the relic ones.
Consider the structure of Eq. (2.11). As already mentioned, the wave function Ψ (x) is a 12-component object. It is convenient to introduce a block structure of this object, that is to define the object as a set of three Dirac bispinors ψ i (x) (2.12) Meanwhile, the γ-matrices in the evolution equation act on the components of the Dirac bispinors, and the matrices M, P (e) permute the bispinors Similarly to the γ-matrices in the ordinary Dirac equation, the matrices M and P (e) acting on the vectors in the flavor space, may be written in different representations, related by unitary transformations. We will use the term "the mass representation" for the representation, where the mass matrix is diagonal, i.e. the mass matrix takes the form (2.14) The mass matrices and the projectors in the defined above representations are connected by the Pontecorvo-Maki-Nakagawa-Sakata mixing matrix U (see [39]) Every solution of Eq. (2.11) corresponds to some neutrino state. We define the mass eigenstates of the neutrino as the states described by the wave functions Ψ ′ i (x) (i = 1, 2, 3), which take the following form in the mass representation at any space-time point We define the states of neutrino with a particular flavor at a definite space-time point as the states described by the wave functions Ψ i (x) (i = 1, 2, 3), which take the following form in the flavor representation at a given point (2.17) It should be emphasized that if the potential f α(e) (see Eq. (2.9)) is not equal to zero, the mass matrix does not commute with the operator of Eq. (2.11). Therefore, in contrast to the vacuum case, for the neutrino interacting with the medium via the charged currents the mass states cannot be properly defined. In other words, the solutions of Eq. (2.11) cannot take the form (2.16) at all the space-time points, and so the mass states do not exist.
A further generalization of neutrino evolution equation (2.11) can be constructed by taking into account the interaction of neutrino with electromagnetic field. As already mentioned, being a massive particle, a Dirac neutrino is characterized by its anomalous magnetic moment. Due to the effect of mixing, neutrinos are created and detected in flavor states, which are different from the mass eigenstates. However, the magnetic moments for flavor neutrinos, i.e. for neutrinos with indefinite mass, are not properly defined. Thus, it is more convenient to define the magnetic moments for the mass eigenstates of neutrinos. Then, in addition to the diagonal magnetic moments µ (i) , there are transition magnetic and electric moments µ (ij) , ε (ij) , which are non-diagonal elements of the matrices of magnetic and electric moments in the mass representation. The values of these moments were obtained in [5] (see also [6]) in the framework of the Standard Model. In the lowest order of the expansion in the powers of the ratio M 2 l /M 2 W the magnetic and the electric moments take the form where M l (l = e, µ, τ ) are the masses of the charged leptons, M W is the mass of the W -boson, and µ 0 is defined by the relation Therefore, to generalize Eq. (2.11) to the case of neutrino interacting with electromagnetic field, we add terms describing the direct interaction of neutrino with the field due to the anomalous magnetic moments and the transition magnetic and electric moments similarly to the Dirac-Pauli equation Here F µν is the electromagnetic field tensor, ⋆ F µν = − 1 2 e µνρλ F ρλ is the dual electromagnetic field tensor. The interaction with µ (ij) , ε (ij) is taken into account by introducing the Hermitian matrices of transition moments M h and M ah . In the mass representation these matrices take the form The matrices M h , M ah in the flavor representation may be obtained with the use of the mixing matrix U. Thus, Eq. (2.20) describes neutrino propagation in matter composed of electrons, protons and neutrons in the presence of electromagnetic field. It takes into account both the modification of the flavor oscillations and the spin rotation phenomenon due to the forward elastic scattering by the background fermions and to the interaction with the electromagnetic field. Eq. (2.20) provides an opportunity to study the correlations between these phenomena in a mathematically rigorous way.
Equation (2.20) was derived for the case when the external conditions are changing rather slowly. When the characteristics of the medium and the electromagnetic field are changing rapidly, one should use the approach described in [40] (see also [41]). However, the matrix structure of the equation remains the same.
Note, that even for the solution with the constant external condition there is an important application. If we know the exact solutions of a wave equation, then we are able to calculate the probabilities of different processes of neutrino production using the technique, analogous to the Furry picture in quantum electrodynamics.

III. QUASI-CLASSICAL APPROXIMATION
Using Eq. (2.20) we can study the behavior of neutrinos of arbitrary low energies including the relic neutrinos. However, all the main experimental results in neutrino physics were obtained in the energy range m 2 l /E 2 ν ≪ 1, when the phenomenological approach is also valid.
In this case we can use the quasi-classical approximation to describe the neutrino evolution. Since for the ultrarelativistic particles de Broglie wavelength is small, we can interpret x µ not as the coordinates of the event space, but as the coordinates of the neutrino. If we consider the neutrino multiplet moving with a constant 4-velocity u µ (u 2 = 1), then we can make the substitution x µ = τ u µ . It means that the neutrino evolution is characterized by its proper time τ only. The proper time is related to the path length L as follows By analogy with the quasi-classical spin wave functions [42], we introduce quasi-classical spin-flavor wave functions Ψ (τ ), which describe spin-flavor coherent neutrino states. The corresponding evolution equation follows from Eq. (2.20), if we make the substitution It should be noted that substitution (3.2) is possible only when u µ = const. Since the quasi-classical spin-flavor wave functions are required to satisfy the condition γ µ u µ Ψ (τ ) = Ψ (τ ), the evolution equation takes the form In Eq. (3.4) we use the following notations In this paper we restrict ourselves to considering external conditions, which do not vary with the space-time point, as it is the first order approximation of a realistic background. It means, we assume that the effective potentials and the electromagnetic field tensor are constant For reasons presented in [41], in this case it is necessary to impose additional constraints on the external conditions. The strengths of the electric and magnetic fields and the averaged current and polarization of the medium should obey a self-consistent system of equations. This system of equations consists of the Maxwell equations, the Lorentz equationj and the Bargman-Michel-Telegdi quasi-classical spin evolution equation [43] In these equations the dot denotes differentiation with respect to the proper time. From equations (3.8) and (3.9) we find the sufficient condition for currents and polarizations to remain constant Then for the effective potentials defined by Eq. (2.9), (2.10), the following relations must be satisfied The necessary and sufficient condition for a tensor to have a zero eigenvalue is its second invariant to be equal to zero. Therefore, we consider only the fields, which satisfy the condition Obviously, condition (3.12) is satisfied for the magnetic field, which is the most interesting model for astrophysical applications. In this particular case relations (3.10) imply that both the velocity of the medium components v and the 3-dimensional vector of polarization ζ are parallel to the vector of magnetic induction. If the fields and the effective potentials do not depend on the coordinates of the event space, then it is possible to write the solution of Eq. (2.20) using the resolvent U (τ ) where the constant 12-component object Ψ 0 has the form Here ψ 0 is a constant bispinor, e j is an arbitrary unit vector in the three-dimensional vector space over the field of complex numbers, and s µ 0 is a 4-vector of neutrino polarization such that (us 0 ) = 0. The resolvent in this case takes the form where the matrix F is defined by Eq.  .4) indicates that even when the effective potentials are independent of the coordinates of the event space in general case the spin and the flavor degrees of freedom cannot be separated. In other words, there are no integrals of motion which characterize neutrino flavor states and neutrino polarization states separately. In general case the neutrino propagates in more complicated spin-flavor states. However, we can calculate the probabilities to detect a neutrino in a state with a definite flavor and a definite projection of the spin on a certain direction. Moreover, a neutrino can be in a mass eigenstate only when there is no interaction with matter via the charged currents and the transition moments are not taken into account. This case is discussed in detail in [41]. Obviously, we can come to the same conclusions, if we describe the neutrino using quantum equation (2.20).
As was already mentioned, the model of constant fields is the first approximation of a realistic background. It is a rather good approximation, since vector and axial currents for fermions propagating in the constant fields, which satisfy (3.12), in the quasi-classical approximation coincide with those obtained in the quantum description (for more details see [44]). If the external conditions vary slowly, the adiabatic approximation, based on quasi-classical solutions in the constant fields, gives good results. In [45,46] an analytical method is developed to describe neutrino propagation in matter in the case, when the dependence of the density on the distance can be considered as several narrow segments, where it changes steeply, separated by wide sloping segments (cliff and valley approximation). This method can also be generalized to the case of interaction with electromagnetic field, if needed. In other cases to consider a realistic environment, one should search for numerical solutions of the quantum equation (2.20). Note, that in this case the quasi-classical approximation is not valid in general case.
While calculating the transitions probabilities from one state of the neutrino to another, it is convenient to use quasi-classical spin-flavor density matrices introduced similarly to the quasi-classical spin density matrices (see [42]) In this formula s µ 0 defines the initial polarization state of the neutrino, and the projector P (α) 0 defines its initial flavor state. Thus, P (α) 0 is a projector on the initial spin-flavor state of the neutrino. Note, that since in our case the states of the neutrino multiplet are pure states, all the results may be obtained with the help of the wave functions, and using density matrices is convenient though not necessary. The transition probability from the state α to the state β in the time τ is determined by the following relation As it was already mentioned, it is not possible to write an explicit analytical expression for the matrix exponential (3.15) in the general case. Therefore, we have to use numerical methods to calculate the transition probability. The most effective way to perform such calculations is based on Backer-Campbell-Hausdorff formula. Using this formula, we can write the expression for the transition probability as follows where Taking into account the relation between the proper time and the neutrino path length (3.1), we conclude that the actual expansion parameter in formula (3.18) is the ratio of the distance between the source and the detector to the flavor oscillation length in vacuum L/L osc , since in the ultra-relativistic limit the valueL = 2π|u|/(m 2 − m 1 ) is the standard oscillation length of the phenomenological theory L osc = 4πE ν /(m 2 2 − m 2 1 ) expressed through another set of quantum numbers.
Expression (3.18) converges rapidly, since it is a series of exponential type. So, it is convenient to use (3.18) for calculating the transition probabilities. This approach provides the opportunity to avoid problems arising in direct calculations of the transition probabilities based on numerical solutions of Eq. (3.3), since we can avoid working with rapidly oscillating functions. When calculating expressions (3.19), it is convenient to decompose the flavor projectors using the generators of the SU (3) group, represented as the Gell-Mann matrices, and to use some effective parametrization for the mixing matrix (see, e.g., [47]).

IV. EXACT SOLUTIONS
Formula (3.18) can be used to calculate the values of the probabilities in a general case. However, for some models it is possible to represent the matrix exponential in an explicit form. The study of such models is important for understanding some qualitative properties of neutrino evolution in external conditions.
In particular, the exact solutions may be obtained in two physically interesting cases. First, an explicit solution of Eq. (3.3) exists when neutrino propagates in unpolarized homogeneous moving medium. Second, an explicit solution exists, when neutrino interacts with electromagnetic field, if we neglect the transition electric moments. The existence of the spin integrals of motion makes it possible to find the solutions in these cases. We consider the two-flavor model, in which the probabilities of the transitions take a more simple form than in the realistic three-flavor model. In where σ i , i = 1, 2, 3 are the Pauli matrices, σ 0 is the identity 2 × 2 matrix, θ is the vacuum mixing angle. The value µ 1 /µ 0 is very small, since it is determined by the ratio of the masses of leptons and the W -boson squared (see (2.23)).
To convert the operators, including the resolvent U (τ ), from the mass representation to the flavor representation, one should use the transformation where U ′ (τ ) is the resolvent in the mass representation, and U (τ ) is the resolvent in the flavor representation. The Pontecorvo-Maki-Nakagawa-Sakata mixing matrix U in the two-flavor model is as follows Let us consider the neutrino behavior in the constant homogeneous electromagnetic field. In this case, if we neglect the transition electric moments, for the matrix (3.4) in the mass representation we have The spin integral of motion, which defines the projection of the spin on the direction of the magnetic field in the neutrino rest frame, takes the form Therefore, the resolvent is given by the relation where The spin projector has the form The resolvent in the flavor representation may be obtained using transformation (4.3) where If we introduce the notations then X ζ = sin 2θ ζ = sin 2(θ m ζ + θ), Y ζ = cos 2θ ζ = cos 2(θ m ζ + θ).

(4.13)
That is, θ ζ is an effective mixing angle, which arises when neutrino propagates in electromagnetic field. It is an analog of the famous effective mixing angle in matter [2].
It should be noted that if we do not take into account the transition moments, then θ m ζ = 0. As already mentioned, only in this case we can consider a flavor state of the neutrino as a superposition of the mass eigenstates. Now we calculate the probabilities of the spin-flavor transitions between different states of the neutrino. For this purpose it is convenient to use the resolvent in the flavor representation, which is given by the relation (4.7). We consider the transitions between the states with definite flavor. In the flavor representation the projectors on such states take the form P (α) 0 (4.14) To obtain the projectors on the initial and final state with electron flavor one should choose ξ 0 , ξ ′ 0 = 1, otherwise ξ 0 , ξ ′ 0 = −1. We also assume that in these states neutrino has a definite helicity, i.e.
where the values ζ 0 , ζ ′ 0 = 1 correspond to the right-handed neutrino in the initial and final state, and ζ 0 , ζ ′ 0 = −1 correspond to the left-handed neutrino. Using formula (3.17), we obtain Here The transition probabilities determined by Eq. (4.17) depend on six frequencies. It is quite expected that the probabilities W 1 and W 3 depend on the initial neutrino polarization ζ 0 . What is more interesting, the probabilities W 1 and W 2 also depend on the initial neutrino flavor ξ 0 .
If we neglect the transition moment in (4.17) (i.e. set µ 1 = 0), and also assume (ss sp ) = 0, i.e. consider neutrino moving orthogonally to the magnetic field in the laboratory reference frame, then the expressions for the transition where If we consider the neutrino with initial electron flavor (ξ 0 = 1), then the formulas (4.19) coincide with those obtained in [48,49]. As was demonstrated in [48], the probabilities in this case still depend on six frequencies. However, the dependence on the initial polarization state ζ 0 vanishes. The values of the transition moments determined by the Standard Model are very small. However, the interaction with the transition moments leads to an interesting effect. The denominators of the functions Y ζ = cos 2θ ζ and X ζ = sin 2θ ζ , which determine the effective mixing angle, are resonant. As is well known, if the external conditions (in our case, the magnetic induction) vary rather slowly, it can lead to the resonance, which is analogous to the MSW resonance. Note that this is a completely new effect, which was not mentioned in the literature before. The resonance condition cos 2θ ζ = 0 reduces to the relation µ 0 N = 1, if we neglect the terms proportional to the ratio µ 1 /µ 0 .
Let us consider the neutrino propagation in dense unpolarized matter, composed of components moving with the same velocities. In this case the potentials describing the interaction with the medium via charged and neutral currents are proportional The coefficient a is determined by the properties of the background fermions a = i=e,p,n n (i) n (e) (T (i) − 2Q (i) sin 2 θ W ). (4.22) In the two-flavor model matrix (3.4) in the mass representation takes the form Here we use the following notations (see (3.5)) The spin integral of motion has the formS = γ 5 γ σ s σ . If the medium is at rest, the operatorS coincides with the helicity operator. The resolvent is written as follows (4.26) The resolvent in the flavor representation may be obtained from the resolvent in the mass representation using transformation (4.3)  The calculation of the transitions probabilities between the spin-flavor states in this case is quite similar to the calculation for the neutrino in electromagnetic field. Since the structure of the resolvents (4.10) and (4.27) is identical, the expression for the transition probabilities between the states with definite flavor (4.14) and definite helicity (4.15), may be obtained from (4.16), (4.17), if we make the substitution (4.31) Thus, the expressions for the transition probabilities coincide with those obtained in [50]. Obviously, in this case the probabilities are also characterized by six frequencies and depend on the initial flavor and polarization state of the neutrino.
Obviously, the denominators of the functionsỸ ζ andX ζ , which determine the effective mixing angle in matter Y ζ = cos 2θ ζ ,X ζ = sin 2θ ζ , are resonant, too. For the matter at rest this results in the MSW resonance [3]. If the medium is at rest, then for the left-handed neutrinosθ ζ=−1 coincides with the effective mixing angle in matter since in the ultra-relativistic limit |u|/(m 2 − m 1 ) coincides with 2E ν /(m 2 2 − m 2 1 ). Note that for neutrino propagating in matter, as well as for the neutrino interacting with electromagnetic field, formula (4.17) may be used not only to calculate the probabilities of the transitions between the states with definite helicity, but also to calculate the transition probabilities between the states with arbitrary polarization. For this purpose it is enough to replace s µ sp in Eq. (4.17) with the desired polarization vector s µ 0 . In this case the probabilities may behave in a different way. As already mentioned, the neutrino helicity does not change if the neutrino moves in matter at rest or along the direction of the electromagnetic field. However, if we choose the initial neutrino polarization different from the longitudinal one, even in these cases spin-flip transitions may take place.

V. SPIN ROTATION
Equation (4.17) gives the transition probabilities for both neutrino in dense moving matter and in the electromagnetic field. Hence, in these cases the behavior of probabilities is characterized by a number of common properties. Therefore, in this section we use the same notations for the variables X ±1 , Y ±1 , Z ±1 , ω, s µ in these cases.
As was already mentioned both in the case of electromagnetic field and in the case of moving medium the probabilities depend on the initial flavor and polarization state of the neutrino, and are characterized by six non-multiple frequencies. The frequencies Z +1 and Z −1 characterize flavor oscillations of neutrinos with different polarization. Four combinational frequencies ω ± (Z +1 ± Z −1 )/2 arise due to correlations between flavor transitions and neutrino spin rotation. The dependence of the spin-flavor transition probabilities on the distance between the source and the detector has the character of a composite beat.
Due to the properties mentioned, even in the two-flavor model a detailed analysis of the results is rather complicated. Therefore, for clarity, we consider only the spin-flip probability W 24 = W 2 + W 4 . For neutrinos with initial left-handed polarization the probability W 24 actually determines the decrease of the total number of neutrinos of all flavors registered experimentally. Because of the correlations with the flavor transitions, this probability is defined by the expression where the total amplitude of the spin-flip transitions is as follows The probability W 24 is characterized by four frequencies and the coefficients corresponding to the oscillating terms are defined by the formulas Though the structure of the formulas for the transition probabilities for neutrino interacting with dense medium and with electromagnetic field is similar, these formulas have different physical meaning. When neutrino propagates in dense matter, the spin-flip probability is limited above by the total amplitude of the spin-flip transitions which depends on the 4-velocities of the medium v µ and the neutrino u µ . In (5.5) ϑ is the angle between the neutrino velocity and the medium velocity in the laboratory reference frame, u 0 and v 0 are the Lorentz factors of the neutrino and the medium. Note that the total amplitude does not depend on the number density of the components of the medium.
If the neutrino velocity is greater than the medium velocity, then the total amplitude reaches its maximum value when that is when cos ϑ max is equal to the ratio of the medium velocity to the neutrino velocity. The value of the total amplitude of the spin-flip transitions is equal to If the neutrino velocity is less than the medium velocity, then the total amplitude of the spin-flip transitions reaches its maximum value when that is when cos ϑ max is equal to the ratio of the neutrino velocity to the medium velocity. The value of the total amplitude of the spin-flip transitions is equal to unity For the medium at rest the helicity does not change, since in this case v 0 = 1 and the total amplitude of the spin-flip transitions is equal to zero (see (5.5)). Equation (5.7) implies that if the medium velocity is much less then the neutrino velocity, the probability for neutrino to change its helicity is strongly suppressed. In the medium moving with approximately the same velocity as the neutrino, such probability may reach its maximum value, when the velocities of the neutrino and the medium are almost co-directed (see (5.6)-(5.9)). The dependence of the total amplitude A on the angle ϑ between the directions of motion of the neutrino and the medium is demonstrated in Fig. 1. When neutrino propagates in magnetic field, the total amplitude is given by the expression where ϑ M is the angle between the direction of neutrino propagation and the magnetic field. That is, the total amplitude depends on the neutrino velocity and the direction of the magnetic-field vector, but does not depend on the value of the magnetic induction. The total amplitude (5.10) is different from unity only when ϑ M ≈ 0 or ϑ M ≈ π.
Moreover, the angular region, where this difference is essential, contracts when the Lorentz factor of the neutrino u 0 increases. The dependence of the total amplitude A on the angle ϑ M is demonstrated in Fig. 2.
Since the transition moment which is equal to µ 1 (m 1 + m 2 )/2 is small, far away from the resonance determined by condition µ 0 N = 1 the following approximate equalities hold Y ζ ≈ cos 2θ, X ζ ≈ sin 2θ. (5.11) Thereby the coefficients corresponding to the oscillating terms are as follows That is, the beats are effectively characterized by two frequencies ω 2 and ω 3 . When the resonance condition µ 0 N = 1 is satisfied, then For the corresponding oscillating terms we have (1 + ξ 0 (sin 2θ − cos 2θ)), (1 + ξ 0 (sin 2θ + cos 2θ)), (1 − ξ 0 (sin 2θ + cos 2θ)), (1 − ξ 0 (sin 2θ − cos 2θ)). (5.14) All these coefficients are non-vanishing. However, in the resonance case only two frequencies are sufficiently different from each other. Therefore, in this case the beats are also effectively characterized by two frequencies only.
To illustrate the main properties of the spin evolution in matter, we study neutrino propagation in medium composed of electrons only. In this case a = −1/2+2 sin 2 θ W . The dependence of the spin-flip probability on the distance between the source and the detector L in Figs 3-12 is given as a function of dimensionless parameter L/L osc , where L osc is the flavor oscillation length in vacuum. The behavior of the spin-flip probability depends on the dimensionless parameter where n (e) is the electron number density in the laboratory reference frame. The figures are plotted for sin 2 θ = 0.297 (this corresponds to θ 12 [39]). Figures 3,4 are given for the case when matter velocity is greater then the neutrino velocity. Here we choose the angle between the neutrino and the matter velocity corresponding to the maximum value of the total amplitude of the spin-flip probability for the chosen values of the Lorentz factors of neutrino and the medium (see (5.8), (5.9)). For the chosen values of the velocities cos ϑ max ≈ 0.998. Parameter k, which characterizes the medium density, is chosen to be 10. As can be seen from the figures, the character of the spin oscillations depends significantly on the initial neutrino flavor ξ 0 . When the medium density is greater, the dependence on the initial flavor ξ 0 becomes more significant.
While Figs. 3, 4 are plotted for the angle such that cos ϑ max ≈ 0.998, in Figs. 5, 6 the total spin-flip transition probability is plotted for cos ϑ = 0.95, i.e. for a greater value of the angle between the neutrino and the medium velocities. In this case the maximum value of the spin-flip transition probability is much less then unity, and the characteristic frequencies are much greater, then those for cos ϑ = cos ϑ max . Figures 7, 8 correspond to the case, when neutrino moves faster then the medium. Though these figures are plotted for cos ϑ max , the total amplitude of the spin oscillations is much less then for the cases discussed above.

VI. SUMMARY
In conclusion we summarize the main results of the paper. We obtain the equation for neutrino evolution taking into account neutrino interaction with matter and with external electromagnetic field. As this equation has no purely spin or purely flavor integrals of motion, we introduce the concept of spin-flavor states of the neutrino, which are described by eigenvectors of a spin-flavor integral of motion.
To describe the evolution of ultra-relativistic particles we consider quasi-classical approximation of this equation. We obtain the formal solution of this equation in the case, when the external conditions do not depend on the coordinates of the event space. Using Backer-Campbell-Hausdorff formula, we develop the general method of calculating the probabilities of the transitions between arbitrary neutrino spin-flavor states.
Then we study neutrino propagation in moving dense matter and in electromagnetic field taking into account the transition magnetic moments, with the use of quasi-classical evolution equation. We find the analytical solutions of the evolution equation and demonstrate, that the expressions for the spin-flavor transition probabilities depend on the initial flavor and polarization state of the neutrino.
We predict resonance behaviour of neutrino in magnetic field due to the transition moments, which was unknown before. Both this resonance and the resonance for neutrino in moving matter, which is a generalization of the famous Mikheev-Smirnov-Wolfenstein resonance, are consequences of the fact that in the general case the neutrino states cannot be described as a superposition of the mass eigenstates, when neutrino propagates in matter and electromagnetic field.

VII. CONCLUSION
In the present paper we have studied neutrino flavor oscillation and spin rotation in external fields. Our approach is based on the modification of the Standard Model put forward in papers [29,30], where neutrinos are Dirac particles. Unfortunately, we cannot construct a mathematically rigorous description of Majorana neutrinos in the same way. However, from the phenomenological point of view, it seems that to study Majorana neutrinos we only need to change γ µ f µ (1 + γ 5 )/2 to γ µ f µ γ 5 and assume µ 0 = 0 in Eq. (2.20). In this case the formulas for spin-flavor transition probabilities for neutrino in magnetic field will indicate no MSW-like resonance behavior due to transition magnetic moments, which is predicted in this paper for Dirac neutrinos. Hence, the existence of the predicted resonance can become a criterion, which allows us to distinguish between the Dirac and Majorana neutrinos. For this reason here we make some estimates on the magnetic induction and neutrino energies, for which the resonance is expected.
For Dirac neutrino propagating in magnetic field the resonance condition is µ 0 N = 1. That is, if the neutrino propagates orthogonally to the magnetic field, then the resonance is reached when u 0 (B/B 0 ) ≈ 1.3 · 10 13 , where B 0 ≈ 4, 41 · 10 13 gauss is the Schwinger magnetic field. That is, B ≈ 5.8 · 10 26 (m ν /E ν ) gauss, where m ν is the average neutrino mass.
Let us consider a magnetar as an example. In a magnetar the magnetic induction can reach the value of B = 10 16 gauss. Let the neutrino mass be m ν = 0.0333 eV. Then the neutrino energy, which is required for the resonance to take place, is E ν ≈ 1.9 GeV, which is a very high value.
Hence, a question arises whether the spin-flip effect can be observed at all. For the chosen values of neutrino mass and magnetic induction, the characteristic length of spin oscillations is about L = π/(µ ν B) ≈ 1070 km, where according to the Standard Model the diagonal magnetic moment of the neutrino is µ ν = µ 0 m ν ≈ 3 · 10 −19 (m ν /1eV)µ B . That is much more, than the typical dimensions of magnetars, which is about R mgt ≈ 20 − 30 km. Therefore, the spin oscillations are rather unlikely to be observed for a magnetar. Note, that the values of magnetic induction larger than B = 10 16 Gauss are not observed nowadays for any astrophysical objects.
However, this effect can play a significant role in the early Universe, since the values of the fields could be very high. Due to the effect of moving matter on neutrino spin rotation, the spin-flip phenomenon can also be observed for neutrino propagating in galactic jets.
As is well known, there are models of New Physics, which predict greater values of neutrino magnetic moments. Note, that the present experimental limit on the neutrino magnetic moment is µ ν < 2.9 · 10 −11 µ B [51,52]. For the chosen value of neutrino mass m ν that is about 9 orders of magnitude higher, than the Standard Model theoretical prediction. To take into account such New Physics we only need to choose greater values of neutrino magnetic moments in the expressions for transition probabilities. Therefore, if the New Physics exists, then near magnetars or even near some neutron stars the spin-flip effect may be observed. In this case the absence of the resonance discussed above will mean that neutrinos are Majorana particles.