Introduction

Skyrmions, originally for resonance states of baryons1, were first unambiguously observed in the form of skyrmion crystals (SkXs) in various chiral magnets and by various experimental techniques2,3,4,5,6,7. Magnetic skyrmions are topological non-trivial spin textures of magnetic films characterized by a skyrmion number of \(Q=\frac{1}{4\pi }\int {\bf{m}}\cdot ({\partial }_{x}{\bf{m}}\times {\partial }_{y}{\bf{m}})\ {\rm{d}}x{\rm{d}}y\), here m is the unit vector of magnetization. Q must be an integer for an infinite magnetic film, and a non-zero Q spin texture is called a skyrmion of skyrmion number Q. It was isolated circular skyrmions, not an SkX, that were predicted in early theories8,9. Isolated skyrmions were indeed observed later in confined structures and films10,11,12,13,14,15. It is an experimental fact that SkXs form in a very narrow magnetic-field-temperature window. Outside the window, stripy phases appear. Stripes, which can even coexist with SkXs, are in fact easier to form than an SkX does. In contrast, those stripy phases do not appear together with isolated skyrmions. Interestingly, stripes were observed many years before the SkXs16. These stripy phases are called helical, spiral, and cycloid spin orders. A one-dimensional model9,17,18,19,20,21 was used to describe the rotation of spins perpendicular to stripes. To date, a holistic description of various stripy structures, especially ramified stripes and stripy maze22,23,24,25,26,27,28,29, is lacking. The general belief is that those stripes are not skyrmions and have zero skyrmion numbers30 although some race-track stripes are called merons with 1/2 skyrmion number or bimerons27,31,32.

In this article, we show that stripy magnetic textures appear in a chiral magnetic film with Dzyaloshinskii–Moriya interaction (DMI) are actually irregular skyrmions. Each stripy texture has exactly skyrmion number 1. The irregular shape is due to the negative skyrmion formation energy (relative to ferromagnetic state) when the ferromagnetic state is not the ground state. For a given system, the morphology of these skyrmions is random when the skyrmion number density is low. At extremely low density, magnetic textures are ramified stripes in order to maximize the negative skyrmion formation energy gain. The exact appearance of each pattern is very sensitive to the initial spin configuration and its dynamical path. The basic building blocks of irregular random skyrmions are stripes of well-defined width. The optimal width comes from the competition between Heisenberg’s exchange energy and the DMI energy that, respectively, prefer a larger and smaller width. Unexpectedly, this exchange energy and DMI energy dependence of width are opposite to the skyrmion size of an isolated skyrmion that increases with DMI interaction and decreases with exchange energy33,34.

Results

Model

We consider an ultra-thin ferromagnetic film of thickness d in the xy plane. The film has an exchange energy Eex with exchange stiffness constant A, an interfacial DMI energy EDM with DMI coefficient D, an anisotropy energy Ean with a perpendicular easy-axis anisotropy K, and the Zeeman energy EZe in a perpendicular magnetic field H. The total energy Etotal reads

$${E}_{{\rm{total}}}={E}_{{\rm{ex}}}+{E}_{{\rm{DM}}}+{E}_{{\rm{an}}}+{E}_{{\rm{Ze}}},$$
(1)

where Eex = Adm2 dS, EDM = Dd[mzm − (m )mz] dS, \({E}_{{\rm{an}}}=Kd\iint (1-{m}_{z}^{2})\ {\rm{d}}S\), and EZe = μ0HMsd(1 − mz) dS. Ms is the saturation magnetization and μ0 is the vacuum permeability. The integration is over the whole film. The energy is set to zero, Etotal = 0, for the ferromagnetic state of mz = 1. m is assumed uniform in the thickness direction. The demagnetization effect is included in Ean through the effective anisotropy \(K={K}_{u}-{\mu }_{0}{M}_{\,\text{s}\,}^{2}/2\) corrected by the shape anisotropy, here Ku is the perpendicular magnetocrystalline anisotropy. This is a good approximation when the film thickness d is much smaller than the exchange length34. It is known that isolated circular skyrmions are metastable state of energy \(8\pi Ad\sqrt{1-\kappa }\) when κ = π2D2/(16AK) < 134. Here we use MuMax3 simulator35 to numerically solve the Landau–Lifshitz–Gilbert (LLG) equation for the stable states in the opposite regime of κ > 1 where circular skyrmions are not stable states34, see Method.

Ramified stripy skyrmions

For a sample of 300 nm × 300 nm × 0.4 nm under the periodical boundary conditions and with A = 10 pJ m−1, D = 6 mJ m−2, K = 0.49 MJ m−3, and Ms = 0.58 MA m−1 that are typical values for those chiral magnets supporting SkXs30,36,37, κ > 1, so that single domain and isolated circular skyrmion are not stable any more34. We will start from a small nucleation magnetic domain with sharp domain wall to speed up skyrmion formation dynamics although stripe skyrmions will appear spontaneously due to thermal or other fluctuations in reality. Figure 1 shows how a disk domain of diameter 20 nm (Fig. 1a), a hexagonal domain of side length 10 nm (Fig. 1b), and a square domain of length 20 nm (Fig. 1c) evolve according to the LLG equation with α = 0.25. α will not change physics described below because we are interested in the spin textures of the LLG equation that do not vary with time. However, α can change the evolution path and energy dissipation rate so that it can influence which fixed point to pick when a system has many fixed points (different spin textures) like the current situation. This is similar to the sensitiveness of attractor basins to the damping in a macro spin system38. The initial configurations in Fig. 1a–c are obtained by reversing spins in the white regions from mz = − 1 to mz = 1 such that the configurations have very sharp domain walls and zero skyrmion number Q = 0. Figure 1d–f and Fig. 1g–i show, respectively, the intermediate spin structures and final stable spin textures from the three different initial configurations of Fig. 1a–c. After a short time of order of picoseconds, the initial states transform into irregular structures of skyrmion number Q = 1, no matter whether the initial shape is circular or non-circular as shown in Fig. 1j–l where the time is in logarithmic scale. As time goes on, Q (the blue lines in Fig. 1j–l stays at 1, and system energy Etotal (the red curves) is negative and keeps decreasing until it reaches a stable ramified stripy spin texture. Clearly, this irregular ramified spin texture is a non-circular skyrmion whose formation energy is negative. The negative formation energy explains why the skyrmion prefers to stretch out to occupy the whole space to lower its energy. This process is clearly demonstrated in Supplementary Video 1 that shows how the system evolves from Fig. 1a to  1g and how Q grows from 0 to 1. The simulations show also that the exact pattern is very sensitive to the initial configuration and dynamical/kinetic paths as well as how energy dissipates. In a real system, the process shall proceed spontaneously from any randomly generated nucleation centre no matter by a thermal fluctuation or an intentional agitation.

Fig. 1: Dependence of ramified stripe-morphology on nucleation domains.
figure 1

Numerical solutions of the Landau–Lifshitz–Gilbert equation with the periodical boundary conditions and A = 10 pJ m−1, D = 6 mJ m−2, K = 0.49 MJ m−3, Ms = 0.58 MA m−1 for a sample of 300 nm × 300 nm × 0.4 nm. A, D, K, and Ms are exchange stiffness constant, the Dzyaloshinskii–Moriya interaction coefficient, easy-axis anisotropy, and saturation magnetization, respectively. ac are different initial configurations of a disk of diameter 20 nm (a), a hexagon of side length 10 nm (b) and a square of length 20 nm (c). df are intermediate states at 0.3 ns with irregular shapes. gi are the final stable patterns with irregular ramified stripes. Skyrmion charge density ρ is encoded by colours (the blue for positive and the red for negative) while the grayscale encodes mz. The dark black lines denote mz = 0. The positive and negative charges exist respectively only around convex and concave areas. The spin profile across the stripes at the green  is considered. jl are the evolution of total energy Etotal and topological skyrmion number Q (t is in the logarithmic scale). Q reaches the skyrmion number 1 within 1 ps. Clearly, the skyrmion number is a constant and the total energy is negative and approaches a constant almost independent from the initial configurations.

We use color to encode the skyrmion charge density ρ defined as ρ = m (∂xm × ∂ym)/(4π) as indicated by the color bar in Fig. 1. Interestingly, ρ is non-zero only around convex (positive) and concave (negative) areas. ρ is almost zero along the long straight stripe. This may explain why the skyrmion number of stripy textures was thought to be zero in the literature30. As shown in Fig. 1j–l, the sum of all positive and negative skyrmion charge is always quantized to 1 protected by the topology. The continuous decrease of energy Etotal also indicates the final morphology of the ramified stripe skyrmions is not unique and depends on the dynamical path of the system evolution that in turn relates to the initial configuration.

Optimal stripe width

One striking feature about the stripes shown in Fig. 1 is a well-defined stripe width that is usually referred to a given wave vector in experiments. The competition between the exchange energy and DMI energy can easily lead to a A/D dependence9,17,18,19,20. However, it is highly non-trivial to understand the effect of the magnetic anisotropy on stripe width. In order to understand the underlying physics of this well-defined width, one needs a good spin texture profile along the direction perpendicular (x) to the stripes. We found that black (mz ≤ 0) and white (mz ≥ 0) stripes can be approximated by \({{\Theta }}(x)=2\arctan \left[\frac{\sinh (L/2w)}{\sinh (| x| /w)}\right]\) and \({{\Theta }}(x)=2\arctan \left[\frac{\sinh (| x| /w)}{\sinh (L/2w)}\right]\) (xL/2), respectively. Θ is the polar angle of the magnetization at position x and x = 0 is the centre of a stripe. L and w measure respectively the stripe width and skyrmion wall thickness as schematically illustrated in Fig. 2a. Figure 2b demonstrates the excellence of this approximate profile for a set of model parameters of A = 10 pJ m−1, D = 6 mJ m−2, K = 0.49 MJ m−3, and Ms = 0.58 MA m−1. The y − axis is mz and x = 0 is the stripe centre where mz = 1. Different symbols are numerical data across different stripes labelled by the green  in Fig. 1g–i. The solid curve is the fit of profile \(\cos {{\Theta }}(x)\) with L = 10.78 nm and w = 3.05 nm. All data from different stripes falling onto the same curve demonstrates that stripes, building blocks of pattern, are identical.

Fig. 2: Properties of stripe skyrmions.
figure 2

a Schematic diagram of spin texture of parallel stripes. b Symbols, from different stripes labelled by textcircledn in Fig. 1g–i, are \({m}_{z}=\cos {{\Theta }}\) from MuMax3. The green solid line is the fit of \({{\Theta }}(x)=2\arctan \left[\frac{\sinh (| x| /w)}{\sinh (L/2w)}\right]\). (Θ ≤ π/2) and \({{\Theta }}(x)=2\arctan \left[\frac{\sinh (L/2w)}{\sinh ((| x-L| ))/\left.w\right)}\right]\) (Θ ≥ π/2) with L = 10.78 nm and w = 3.05 nm. x = 0 is the centres of white stripes. All data from different stripes fall onto the same curve means that stripes of the same width are basic building blocks of stripe skyrmions. c A/D-dependence of stripe width L for various κ = π2D2/(16AK) = 1.3 (the green stars); 1.8 (the blue squares); and 2.9 (the red circles). The solid lines are the fits of L = aA/D with a = 7.61 for κ = 1.3; a = 6.82 for κ = 1.8; a = 6.47 for κ = 2.9. Inset: the dependence of L on κ for A/D = 1 nm. A, D, and K are exchange stiffness constant, the Dzyaloshinskii–Moriya interaction coefficient, and easy-axis anisotropy, respectively. Symbols are the numerical data and the dashed line is the theoretical prediction without any fitting parameter. The error bar is the standard deviation of stripe width from various places. d The dependences of stripe width L on skyrmion number density for A = 10 pJ m−1, D = 6 mJ m−2, K = 0.49 MJ m−3, and Ms = 0.58 MA m−1. Ms is saturation magnetization. The number of skyrmions varies from 1 to 113 in our sample of 300 nm × 300 nm × 0.4 nm under the periodical boundary conditions. The dashed line is L = 10.52 nm. The error bars are the standard deviation of stripe width from various places.

Using the excellent spin profile, one can obtain magnetic energy of a film filled with the stripe skyrmions as a function of L and w. Minimizing the energy against L and w allows us to obtain A, D, and K dependence of stripe width L and skyrmion wall thickness w. In terms of L, ϵ = L/(2w), ξ = A/D, and κ, the total system energy density of a film filled by such stripes is

$$E=\frac{4D}{\xi }\left[\frac{{\xi }^{2}}{{L}^{2}}{g}_{1}(\epsilon )-\frac{\pi \xi }{4L}+\frac{{\pi }^{2}}{64\kappa }{g}_{2}(\epsilon )\right],$$
(2)

where \(\scriptstyle{g}_{1}(\epsilon )=\int_{0}^{1}\frac{{[2\epsilon \sinh (\epsilon )\cosh (\epsilon x)]}^{2}}{{[{\sinh }^{2}(\epsilon )+{\cosh }^{2}(\epsilon x)]}^{2}}{\rm{d}}x\), and \(\scriptstyle{g}_{2}(\epsilon )=\int_{0}^{1}\frac{{[2\sinh (\epsilon )\sinh (\epsilon x)]}^{2}}{{[{\sinh }^{2}(\epsilon )+{\cosh }^{2}(\epsilon x)]}^{2}}{\rm{d}}x\). The optimal stripe width obtained from minimizing energy E is \(L=a\frac{4A}{\pi D}\), where a depends weakly on κ = π2D2/(16AK) > 1. The physics of this result is clear: DMI energy is negative, and one can add more stripes by reducing L such that the total energy will be lowered. On the other hand, the exchange energy will increase with the decrease of L. As a result, L is proportional to A/D which is opposite to the behaviour of size of an isolated skyrmion whose size increases with D and decreases with A30,34. These theoretical results agree very well with micro-magnetic simulations as shown in Fig. 2c with a = 7.61 for κ = 1.3; a = 6.82 for κ = 1.8; a = 6.47 for κ = 2.9. The dependence of L on κ for a fixed A/D = 1 nm is shown in the inset. One can see that L depends weakly on large κ 1. Unexpectedly, L are the same no matter whether we have one, two, or more ramified and non-ramified stripe skyrmions. This is reflected in the skyrmion number density independence of L as shown in Fig. 2d.

Transformation from stripy states to SkXs

To understand why condensed stripe skyrmions and SkXs can appear together in a given chiral magnetic film when the material parameters are fixed, we try to increase the number of skyrmions in our film of 300 nm × 300 nm × 0.4 nm. Encouraged by the results in Fig. 1 that each nucleation domain creates one irregular stripe skyrmion, we place 2, 100, and 169 small disk domains of diameter 10 nm as shown in Fig. 3a–c and let them evolve according to the LLG equation. Figure 3d–f are the final steady states. As expected, we indeed obtained two irregular ramified stripe skyrmions Fig. 3d. For the case of 100 skyrmions, some of them have rectangular shape and are arranged in a nematic phase while the rest of skyrmions look like disks and are in a lattice structure Fig. 3e. In the case of 169 skyrmions, skyrmions are circular and are in a triangular lattice Fig. 3f. The skyrmion nature of the spin textures can be clearly confirmed by the change of Q (blue) with time as shown in Fig. 3g (the solid, dashed, and dotted lines for Q = 2, 100, and 169 respectively). Figure 3g shows also how system energy (the red lines) changes with time. One interesting feature is that total energy is not sensitive to skyrmion number density before skyrmion–skyrmion distance is comparable to the optimal stripe width and skyrmions take stripe shape. The system energy starts to increase with the skyrmion number density, and condensed skyrmions transform from rectangular stripe skyrmions in the nematic phase into circular skyrmions in a triangular lattice. This feature does not favour SkX formation, and may explain why SkXs were observed in the presence of an external magnetic field: With only one skyrmion in the whole system as those shown in Fig. 1, the net magnetic moment is zero because spin up (white area) and down spin (black area) are almost equal so that magnetic moment cancel each other. As skyrmion number increases, the net magnetic moment increases and becomes non-zero.

Fig. 3: Morphology change with skyrmion-number-density.
figure 3

Various number of skyrmions are created in a sample of 300 nm × 300 nm × 0.4 nm with the periodical boundary conditions from various nucleation domains in square lattice initially. The material parameters are the same as those in Fig. 1. The grayscale denotes the z-component of magnetization mz. The topological charge density distributions in af are encoded in the color denoted by color bar of ρ (nm−2). To speed up the system reaching its final stable states, we use a large Gilbert damping constant of α = 1. ac are the initial configurations with N = 2 (a), 100 (b) and 169 (c) nucleation domains, respectively. df are the final stable pattern. Skyrmion charge density ρ is encoded in colours (the red and the blue for positive and negative ρ respectively) while mz is encoded in the grayscale. The dark black lines denote mz = 0. The positive and negative charges exist respectively only around canvex and concave areas. g is the evolution of total energy Etotal (the left y-axis) and topological skyrmion number Q (both Q and t are in the logarithmic scale). Clearly, Q reaches 2, 100, and 169, respectively, in a very short time. The total energy is negative and approaches a constant, indicating a stable state.

Discussion

We have showed that stripe and ramified stripe skyrmions are essentially the same as the circular skyrmions in SkXs. The difference in skyrmion shapes at different skyrmion number density come from the skyrmion–skyrmion interaction. When the average distance between two nearby skyrmions is order of the stripe width, the skyrmion–skyrmion repulsion compress skyrmions into circular objects. This understanding permits an SkX in the absence of an external magnetic field as long as one can use other means to add more skyrmions into a film such as a scanning tunnelling tip6.

We have presented results for the interfacial DMI so far, similar results are also true for bulk DMI. As shown in Fig. 4, one ramified stripe skyrmion has very similar structures for interfacial Fig. 4a and bulk Fig. 4b DMIs when we start from the same initial configuration with the same interaction strength. The only difference is the change of Neel type of stripe wall to the Bloch-type stripe wall as shown by the color-coding in the figures.

Fig. 4: Similarity of ramified stripe skyrmions in bulk and interfacial Dzyaloshinskii–Moriya interaction (DMI).
figure 4

Structures of one stripe skyrmion for interfacial (a) and bulk (b) DMIs starting from the same initial configurations. The sample size is 300 nm × 300 nm × 0.4 nm with the same model parameters as those for Fig. 1 except DMI coefficient D = 4 mJ m−2. The periodical boundary conditions are used in the simulations. The z-component of magnetization mz is encoded in grayscale shown in the left color bar. The in-plane spin component is encoded by the colors denoted by the right color bar.

A perpendicular magnetic field can modify the morphology and width of a stripe without changing its skyrmion number. Stripe width increases (decreases) with the field when out-of-plane spin component is anti-parallel (parallel) to the field.

It requires a certain amount of energy to destroy a stable or metastable state by definition. Thus, all skyrmions discussed in this paper are stable against thermal noise as long as the thermal energy is smaller than their potential barriers. Supplementary Video 2 shows the state in Fig. 3e stable at 50 K.

Skyrmions provide a fertile ground for studying fundamental physics. For example, the topological Hall effect is a phenomenon about how non-collinear magnetization in SkXs affects electron transport. Knowing stripy phases are also condensed irregular skyrmions, it expands surely arena of the topological Hall effect. We can not only study how electron transport be affected by the skyrmion crystals, but also skyrmions in other condensed phases such as nematic phases, or how the elongation and orientation of stripe skyrmion affect Hall transport. The discovery of stripe skyrmions allows us to investigate how the topology, the local and global geometries affect spin excitations separately.

The assertion that ramified stripes and other stripes appeared together with SkXs are irregular skyrmions are firmly confirmed by the nano-magnetic simulations. These stripes have a well-defined width that is from the competition between exchange interaction energy and DMI energy. The inverse of the width is the well-known wave vector used to describe the spiral spin order in the literature16. In contrast to isolated skyrmions whose size increases with DMI constant and decreases with the exchange stiffness constant, the stripe width increases with the exchange stiffness constant and decreases with the DMI constant. Counter-intuitively, SkXs are highly compressible like a gas, not like an atomic crystal. This detailed property need a careful further study. Our findings should have far reaching implications to skyrmion physics and to skyrmion-based applications.

Methods

Numerical simulations

Spin dynamics is governed by the LLG equation,

$$\frac{\partial {\bf{m}}}{\partial t}=-\gamma {\bf{m}}\times {{\bf{H}}}_{{\rm{eff}}}+\alpha {\bf{m}}\times \frac{\partial {\bf{m}}}{\partial t},$$
(3)

where m, γ, α are respectively the unit vector of the magnetization, gyromagnetic ratio, and the Gilbert damping. \({{\bf{H}}}_{{\rm{eff}}}=2A{\nabla }^{2}{\bf{m}}+2K{m}_{z}\hat{z}+{{\bf{H}}}_{{\rm{d}}}+{{\bf{H}}}_{{\rm{DM}}}\) is the effective field including the exchange field characterized by the exchange stiffness A, crystalline anisotropy field, demagnetizing field Hd, and DMI field HDM.

In the absence of energy source like an electric current, the LLG equation describes a dissipative system whose energy can only decrease39,40. Thus, solving LLG equation is an efficient way to find stable spin textures. In the present case, we apply periodic boundary conditions to eliminate the edge effects. We use the Mumax3 package35 to numerically solve the LLG equation with mesh size of 1 nm × 1 nm × 0.4 nm for those skyrmions of L > 5 nm. For skyrmions of L < 5 nm, the mesh size is 0.1 nm × 0.1 nm × 0.4 nm. The number of stable states and their structures should not depend on the Gilbert damping constant, but spin dynamics is very sensitive to α. To speed up our simulations, we use a large α of 0.25 and 1. We consider only material parameters that support condensed skyrmion states. The skyrmion size L is obtained directly from numerical data or by fitting the simulated spin profile to \({{\Theta }}(x)=2\arctan \left[\frac{\sinh (L/2w)}{\sinh (| x| /w)}\right]\) (the black stripes for mz ≤ 0) and \({{\Theta }}(x)=2\arctan \left[\frac{\sinh (| x| /w)}{\sinh (L/2w)}\right]\) (white stripes for mz ≥ 0) with stripe width L and wall width w. Here − L/2 ≤ xL/2 and x = 0 is the centre of a stripe. It should be pointed out that the physics discussed here does not depend on the boundary conditions. However, different boundary conditions have different confinement potentials (or potential well depth) for stripe skyrmions, and can affect the maximal skyrmion number density below which a condensed skyrmion state is metastable.

Energy density of a film filled by stripes

Following similar assumptions as those in Ref. 19, we can compute the energy density of a system filled with stripes of width L that parallel to the y-axis and are periodically arranged along the x-axis. If Θ is the polar angle of spins and spin profile is \({{\Theta }}(x)=2\arctan \left[\frac{\sinh ((| x-nL| )/w)}{\sinh (L/2w)}\right]+n\pi\) with integer n and x ((n−0.5)L, (n + 0.5)L) as shown in Fig. 2a, the total energy of the film in the range of y1 < y < y2 and x1 < x < x2 is

$${E}_{{\rm{total}}}=d\int_{{y}_{1}}^{{y}_{2}}\!\!\int_{{x}_{1}}^{{x}_{2}}[A{({\partial }_{x}{{\Theta }})}^{2}-D{\partial }_{x}{{\Theta }}+K{\sin }^{2}{{\Theta }}]\ {\rm{d}}x{\rm{d}}y.$$

x2x1 and y2y1 are much bigger than L, we need only to minimize energy density E = Etotal/[d(x2x1)(y2y1)]. Then one has

$$E=\frac{1}{L}\int_{-L/2}^{L/2}\left[A{\left(\frac{\partial {{\Theta }}}{\partial x}\right)}^{2}-D\frac{\partial {{\Theta }}}{\partial x}+K{\sin }^{2}{{\Theta }}\right]{\rm{d}}x.$$
(4)

In terms of ϵ = L/(2w), terms in E are,

$${E}_{{\rm{ex}}} = \, \mathop{\int}\nolimits_{-L/2}^{L/2}A{\left[\frac{\partial {{\Theta }}(x)}{\partial x}\right]}^{2}{\rm{d}}x\\ = \, \frac{A}{{w}^{2}}\mathop{\int}\nolimits_{-L/2}^{L/2}{\left[\frac{2\sinh (L/w)\cosh (x/w)}{{\sinh }^{2}(L/w)+{\sinh }^{2}(x/w)}\right]}^{2}{\rm{d}}x\\ = \, \frac{2A}{L}\mathop{\int}\nolimits_{-1}^{1}{\left[\frac{2\epsilon \sinh (\epsilon )\cosh (\epsilon x)}{{\sinh }^{2}(\epsilon )+{\sinh }^{2}(\epsilon x)}\right]}^{2}{\rm{d}}x,\\ = \, \frac{4A}{L}{g}_{1}(\epsilon )$$
$${E}_{{\rm{DM}}}= \, -D\mathop{\int}\nolimits_{-L/2}^{L/2}\frac{\partial {{\Theta }}(x)}{\partial x}{\rm{d}}x\\ = \, -D\left[{{\Theta }}(L/2)-{{\Theta }}(-L/2)\right]=-\pi D,$$
$${E}_{{\rm{an}}}= \, \int_{-L/2}^{L/2}K{\sin }^{2}{{\Theta }}(x){\rm{d}}x\\ = \, K\int_{-L/2}^{L/2}{\left[\frac{2\sinh (L/2w)\sinh (x/w)}{{\sinh }^{2}(L/2w)+{\sinh }^{2}(x/w)}\right]}^{2}{\rm{d}}x\\ = \, \frac{K}{2}\int_{-1}^{1}{\left[\frac{2\sinh (\epsilon )\sinh (\epsilon x)}{{\sinh }^{2}(\epsilon )+{\sinh }^{2}(\epsilon x)}\right]}^{2}L\ {\rm{d}}x\\ = \, KL{g}_{2}(\epsilon ).$$

Add the three terms up, the energy density E is

$$E=\frac{4A}{{L}^{2}}{g}_{1}(\epsilon )-\frac{\pi D}{L}+K{g}_{2}(\epsilon ).$$

In terms of L, ϵ, ξ = A/D and κ = π2D2/(16AK), we obtain Eq. (2),

$$E=\frac{4D}{\xi }\left[\frac{{\xi }^{2}}{{L}^{2}}{g}_{1}(\epsilon )-\frac{\pi \xi }{4L}+\frac{{\pi }^{2}}{64\kappa }{g}_{2}(\epsilon )\right].$$

The first and the third terms on the right-hand side are positive, thus

$$E\ge \frac{4D}{\xi }\left[\sqrt{\frac{4{\pi }^{2}{\xi }^{2}}{64{L}^{2}\kappa }{g}_{1}(\epsilon ){g}_{2}(\epsilon )}-\frac{\pi \xi }{4L}\right]=\frac{\pi D}{L}\left[\sqrt{\frac{{g}_{1}{g}_{2}}{\kappa }}-1\right].$$

To have negative E, κ must be larger than \(\sqrt{{g}_{1}{g}_{2}}\ge 1\).