1 INTRODUCTION

In this work, we apply computer algebra methods to investigate the dynamics of a system of two bodies (satellite and stabilizer) connected by a spherical hinge that moves in a central Newtonian force field along a circular orbit. Determining the equilibria for the system of bodies on a circular orbit is of practical interest for designing composite gravitational orientation systems of satellites that can stay on the orbit for a long time without energy consumption. The dynamics of various composite schemes for satellite–stabilizer gravitational orientation systems was discussed in detail in [1].

In this paper, we analyze the spatial equilibria (equilibrium orientations) of the satellite–stabilizer system in the orbital coordinate system for certain values of the principal central moments of inertia of the bodies. The action of the stabilizer on the satellite provides new equilibrium orientations for the two-body system, as well as introduces dissipation into the system.

Equilibrium orientations of the satellite–stabilizer system are determined by real roots of a system of algebraic equations. To find equilibrium solutions, the system of algebraic equations is decomposed using linear algebra methods and algorithms for Gröbner basis construction. Some classes of equilibrium solutions are obtained explicitly from algebraic equations included in the Gröbner basis. The parameter values that cause the change in the number of equilibrium orientations for the satellite–stabilizer system are found. Symbolic-numerical analysis of the evolution of conditions for equilibria existence in the space of dimensionless parameters is carried out.

The effectiveness of Gröbner basis construction algorithms is analyzed depending on the number of parameters for the problem under consideration. The investigation is carried out using the Maple computer algebra system [9].

The algebraic methods for determining the equilibrium orientations of the two-body system described in this work were successfully used to analyze the dynamics of a satellite–gyrostat system [2, 3], as well as the dynamics of a satellite with an aerodynamic orientation system [4]. In mechanics, computer algebra is widely employed to analyze polynomial systems with the use of symbolic computations. Some computer algebra algorithms for solving these problems were described in [13, 15].

2 EQUATIONS OF MOTION

Let us consider the system of two bodies connected by a spherical hinge that moves along a circular orbit [5].

To write equations of motion for two bodies, we introduce the following right-handed Cartesian coordinate systems (see Fig. 1): \(C{{X}_{a}}{{Y}_{a}}{{Z}_{a}}\) is the absolute coordinate system with the origin at the Earth’s center of mass C (the plane \(C{{X}_{a}}{{Y}_{a}}\) coincides with the equatorial plane and the \(C{{Z}_{a}}\)-axis coincides with the Earth’s axis of rotation) and \(OXYZ\) is the orbital coordinate system. The OZ-axis is directed along the radius vector that connects the Earth’s center of mass \(C\) with the center of mass of the two-body system \(O\), the OX-axis is directed along the linear velocity vector of the center of mass O, and the OY-axis is directed along the normal to the orbital plane. The coordinate system for the ith body (\(i = 1,2\)) is \({{O}_{i}}{{x}_{i}}{{y}_{i}}{{z}_{i}}\), where \({{O}_{i}}{{x}_{i}}\), \({{O}_{i}}{{y}_{i}}\), and \({{O}_{i}}{{z}_{i}}\) are principal central axes of inertia for the ith body. The orientation of the coordinate system \({{O}_{i}}{{x}_{i}}{{y}_{i}}{{z}_{i}}\) with respect to the orbital coordinate system is determined using the pitch \({{\alpha }_{i}}\), yaw \({{\beta }_{i}}\), and roll \({{\gamma }_{i}}\) angles [1]:

$$\begin{gathered} a_{{11}}^{{(i)}} = \cos{{\alpha }_{i}}\cos{{\beta }_{i}}, \\ a_{{12}}^{{(i)}} = \sin{{\alpha }_{i}}\sin{{\gamma }_{i}} - \cos{{\alpha }_{i}}\sin{{\beta }_{i}}\cos{{\gamma }_{i}}, \\ a_{{13}}^{{(i)}} = \sin{{\alpha }_{i}}\cos{{\gamma }_{i}} + \cos{{\alpha }_{i}}\sin{{\beta }_{i}}\sin{{\gamma }_{i}}, \\ \end{gathered} $$
$$\begin{gathered} a_{{21}}^{{(i)}} = \sin{{\beta }_{i}},\quad a_{{22}}^{{(i)}} = \cos{{\beta }_{i}}\cos{{\gamma }_{i}}, \\ a_{{23}}^{{(i)}} = - \cos{{\beta }_{i}}\sin{{\gamma }_{i}}, \\ \end{gathered} $$
((1))
$$\begin{gathered} a_{{31}}^{{(i)}} = - \sin{{\alpha }_{i}}\cos{{\beta }_{i}}, \\ a_{{32}}^{{(i)}} = \cos{{\alpha }_{i}}\sin{{\gamma }_{i}} + \sin{{\alpha }_{i}}\sin{{\beta }_{i}}\cos{{\gamma }_{i}}, \\ a_{{33}}^{{(i)}} = \cos{{\alpha }_{i}}\cos{{\beta }_{i}} - \sin{{\alpha }_{i}}\sin{{\beta }_{i}}\sin{{\gamma }_{i}}. \\ \end{gathered} $$
Fig. 1.
figure 1

Basic coordinate systems.

Suppose that \(({{a}_{i}},0,0)\) are the coordinates of the spherical hinge P in the body coordinate system \({{O}_{i}}{{x}_{i}}{{y}_{i}}{{z}_{i}}\); \({{A}_{i}},{{B}_{i}},{{C}_{i}}\) are principal central moments of inertia; M = \({{M}_{1}}{{M}_{2}}{\text{/}}({{M}_{1}} + {{M}_{2}})\); Mi is the mass of the ith body; \({{p}_{i}}\), \({{q}_{i}}\), and \({{r}_{i}}\) are the projections of the absolute angular velocity of the ith body onto the axes \(O{{x}_{i}}\), \(O{{y}_{i}}\), and \(O{{z}_{i}}\); and \({{\omega }_{0}}\) is the angular velocity for the center of mass of the two-body system moving along a circular orbit. Then, using expressions for kinetic energy and force function, which determines the effect of the Earth’s gravitational field on the system of two bodies connected by a hinge [1], the equations of motion for this system can be written as Lagrange equations of the second kind by symbolic differentiation in the Maple system:

$${{A}_{i}}\mathop {\dot {p}}\nolimits_i + ({{C}_{i}} - {{B}_{i}}){{q}_{i}}{{r}_{i}} - 3\omega _{0}^{2}({{C}_{i}} - {{B}_{i}})a_{{32}}^{{(i)}}a_{{33}}^{{(i)}} = 0,$$
$$\begin{gathered} ({{B}_{i}} + Ma_{i}^{2})\mathop {\dot {q}}\nolimits_i - M{{a}_{i}}{{a}_{j}}(a_{{13}}^{{(i)}}a_{{13}}^{{(j)}} + a_{{23}}^{{(i)}}a_{{23}}^{{(j)}} + a_{{33}}^{{(i)}}a_{{33}}^{{(j)}})\mathop {\dot {q}}\nolimits_j \\ + \;M{{a}_{i}}{{a}_{j}}(a_{{13}}^{{(i)}}a_{{12}}^{{(j)}} + a_{{23}}^{{(i)}}a_{{22}}^{{(j)}} + a_{{33}}^{{(i)}}a_{{32}}^{{(j)}})\mathop {\dot {r}}\nolimits_j \\ + \;M{{a}_{i}}{{a}_{j}}(a_{{13}}^{{(i)}}({{r}_{j}}({{p}_{j}}a_{{13}}^{{(j)}} - {{r}_{j}}a_{{11}}^{{(j)}}) \\ - \;{{q}_{j}}({{q}_{j}}a_{{11}}^{{(j)}} - {{p}_{j}}a_{{12}}^{{(j)}})) \\ + \;a_{{23}}^{{(i)}}({{r}_{j}}({{p}_{j}}a_{{23}}^{{(j)}} - {{r}_{j}}a_{{21}}^{{(j)}}) - {{q}_{j}}({{q}_{j}}a_{{21}}^{{(j)}} - {{p}_{j}}a_{{22}}^{{(j)}})) \\ + \;a_{{33}}^{{(i)}}({{r}_{j}}({{p}_{j}}a_{{33}}^{{(j)}} - {{r}_{j}}a_{{31}}^{{(j)}}) - {{q}_{j}}({{q}_{j}}a_{{31}}^{{(j)}} - {{p}_{j}}a_{{32}}^{{(j)}}))) \\ + \;M{{a}_{i}}\omega _{0}^{2}({{a}_{j}}(a_{{13}}^{{(i)}}a_{{11}}^{{(j)}} + a_{{23}}^{{(i)}}a_{{21}}^{{(j)}} + a_{{33}}^{{(i)}}a_{{31}}^{{(j)}}) \\ + \;3a_{{33}}^{{(i)}}({{a}_{i}}a_{{31}}^{{(i)}} - {{a}_{j}}a_{{31}}^{{(j)}})) \\ + \;(({{A}_{i}} - {{C}_{i}}) - Ma_{i}^{2}){{r}_{i}}{{p}_{i}} - 3\omega _{0}^{2}({{A}_{i}} - {{C}_{i}})a_{{33}}^{{(i)}}a_{{31}}^{{(i)}} = 0, \\ \end{gathered} $$
((2))
$$\begin{gathered} ({{C}_{i}} + Ma_{i}^{2})\mathop {\dot {r}}\nolimits_i + M{{a}_{i}}{{a}_{j}}(a_{{12}}^{{(i)}}a_{{13}}^{{(j)}} + a_{{22}}^{{(i)}}a_{{23}}^{{(j)}} + a_{{32}}^{{(i)}}a_{{33}}^{{(j)}})\mathop {\dot {q}}\nolimits_j \\ - \;M{{a}_{i}}{{a}_{j}}(a_{{12}}^{{(i)}}a_{{12}}^{{(j)}} + a_{{22}}^{{(i)}}a_{{22}}^{{(j)}} + a_{{32}}^{{(i)}}a_{{32}}^{{(j)}})\mathop {\dot {r}}\nolimits_j \\ - \;M{{a}_{i}}{{a}_{j}}(a_{{12}}^{{(i)}}({{r}_{j}}({{p}_{j}}a_{{13}}^{{(j)}} - {{r}_{j}}a_{{11}}^{{(j)}}) \\ - \;{{q}_{j}}({{q}_{j}}a_{{11}}^{{(j)}} - {{p}_{j}}a_{{12}}^{{(j)}})) \\ + \;a_{{22}}^{{(i)}}({{r}_{j}}({{p}_{j}}a_{{23}}^{{(j)}} - {{r}_{j}}a_{{21}}^{{(j)}}) - {{q}_{j}}({{q}_{j}}a_{{21}}^{{(j)}} - {{p}_{j}}a_{{22}}^{{(j)}})) \\ + \;a_{{32}}^{{(i)}}({{r}_{j}}({{p}_{j}}a_{{33}}^{{(j)}} - {{r}_{j}}a_{{31}}^{{(j)}}) - {{q}_{j}}({{q}_{j}}a_{{31}}^{{(j)}} - {{p}_{j}}a_{{32}}^{{(j)}}))) \\ - \;M{{a}_{i}}\omega _{0}^{2}({{a}_{j}}(a_{{12}}^{{(i)}}a_{{11}}^{{(j)}} + a_{{22}}^{{(i)}}a_{{21}}^{{(j)}} + a_{{32}}^{{(i)}}a_{{31}}^{{(j)}}) \\ + \;3a_{{32}}^{{(i)}}({{a}_{i}}a_{{31}}^{{(i)}} - {{a}_{j}}a_{{31}}^{{(j)}})) \\ + \;(({{B}_{i}} - {{A}_{i}}) + Ma_{i}^{2}){{p}_{i}}{{q}_{i}} - 3\omega _{0}^{2}({{B}_{i}} - {{A}_{i}})a_{{31}}^{{(i)}}a_{{32}}^{{(i)}} = 0. \\ \end{gathered} $$

Here,

$$\begin{gathered} {{p}_{i}} = ({{{\dot {\alpha }}}_{i}} + {{\omega }_{0}})a_{{21}}^{{(i)}} + {{{\dot {\gamma }}}_{i}}, \\ {{q}_{i}} = ({{{\dot {\alpha }}}_{i}} + {{\omega }_{0}})a_{{22}}^{{(i)}} + {{{\dot {\beta }}}_{i}}\sin{{{\dot {\gamma }}}_{i}}, \\ {{r}_{i}} = ({{{\dot {\alpha }}}_{i}} + {{\omega }_{0}})a_{{23}}^{{(i)}} + {{{\dot {\beta }}}_{i}}\cos{{{\dot {\gamma }}}_{i}}. \\ \end{gathered} $$
((3))

In the first three equations of (2), \(i = 1\) and \(j = 2\); in the next three equations of (2), \(i = 2\) and \(j = 1\). In (3), \(i = 1,2\). In (2) and (3), the dot denotes time (\(t\)) differentiation.

3 EQUILIBRIUM ORIENTATIONS

By assuming \({{\alpha }_{i}} = {{\alpha }_{{i0}}} = {\text{const}}\), \({{\beta }_{i}} = {{\beta }_{{i0}}} = {\text{const}}\), and \({{\gamma }_{i}} = {{\gamma }_{{0i}}} = {\text{const}}\) in (2) and (3), as well as by introducing the designations \(a_{{ij}}^{{(1)}} = {{a}_{{ij}}}\) and \(a_{{ij}}^{{(2)}} = {{b}_{{ij}}}\), for \({{A}_{i}} \ne {{B}_{i}} \ne {{C}_{i}}\), we obtain the equations

$$\begin{gathered} {{a}_{{22}}}{{a}_{{23}}} - 3{{a}_{{32}}}{{a}_{{33}}} = 0, \\ {{m}_{1}}({{a}_{{23}}}{{a}_{{21}}} - 3{{a}_{{33}}}{{a}_{{31}}}) + {{a}_{{23}}}{{b}_{{21}}} - 3{{a}_{{33}}}{{b}_{{31}}} = 0, \\ {{n}_{1}}({{a}_{{22}}}{{a}_{{21}}} - 3{{a}_{{32}}}{{a}_{{31}}}) - {{a}_{{22}}}{{b}_{{21}}} + 3{{a}_{{32}}}{{b}_{{31}}} = 0, \\ {{b}_{{22}}}{{b}_{{23}}} - 3{{b}_{{32}}}{{b}_{{33}}} = 0, \\ {{b}_{{23}}}{{a}_{{21}}} - 3{{b}_{{33}}}{{a}_{{31}}} + {{m}_{2}}({{b}_{{23}}}{{b}_{{21}}} - 3{{b}_{{33}}}{{b}_{{31}}}) = 0, \\ - \;{{b}_{{22}}}{{a}_{{21}}} + 3{{b}_{{32}}}{{a}_{{31}}} + {{n}_{2}}({{b}_{{22}}}{{b}_{{21}}} - 3{{b}_{{32}}}{{b}_{{31}}}) = 0, \\ \end{gathered} $$
((4))

which allow us to determine the equilibrium orientation for the system of two bodies connected by a spherical hinge in the orbital coordinate system. In (4), we introduce the following designations: m1 = ((A1C1) – \(Ma_{1}^{2}){\text{/}}M{{a}_{1}}{{a}_{2}}\), \({{m}_{2}} = (({{A}_{2}} - {{C}_{2}}) - Ma_{2}^{2}){\text{/}}M{{a}_{1}}{{a}_{2}}\), n1 = ((B1 – A1) – \(Ma_{1}^{2}){\text{/}}M{{a}_{1}}{{a}_{2}}\), and n2 = ((B2A2) – \(Ma_{2}^{2}){\text{/}}M{{a}_{1}}{{a}_{2}}\). Taking into account the expressions for the direction cosines from (1), system (4) can be regarded as a system of six equations in six unknowns \({{\alpha }_{i}}\), \({{\beta }_{i}}\), and \({{\gamma }_{i}}\) (\(i = 1,2\)).

Another (more convenient) way of closing equations (4) is to add six orthogonality conditions for the direction cosines:

$$\begin{gathered} a_{{21}}^{2} + a_{{22}}^{2} + a_{{23}}^{2} - 1 = 0, \\ a_{{31}}^{2} + a_{{32}}^{2} + a_{{33}}^{2} - 1 = 0, \\ {{a}_{{21}}}{{a}_{{31}}} + {{a}_{{22}}}{{a}_{{32}}} + {{a}_{{23}}}{{a}_{{33}}} = 0, \\ b_{{21}}^{2} + b_{{22}}^{2} + b_{{23}}^{2} - 1 = 0, \\ b_{{31}}^{2} + b_{{32}}^{2} + b_{{33}}^{2} - 1 = 0, \\ {{b}_{{21}}}{{a}_{{31}}} + {{b}_{{22}}}{{b}_{{32}}} + {{b}_{{23}}}{{b}_{{33}}} = 0. \\ \end{gathered} $$
((5))

Equations (4) and (5) form a closed algebraic system of equations in 12 unknown direction cosines that determine the equilibrium orientations of the two-body system. For this system, the following problem is formulated: for given \({{m}_{1}}\), \({{n}_{1}}\), \({{m}_{2}}\), and \({{n}_{2}}\), determine all twelve direction cosines. The other six direction cosines (\({{a}_{{11}}}\), \({{a}_{{12}}}\), \({{a}_{{13}}}\) and \({{b}_{{11}}}\), \({{b}_{{12}}}\), \({{b}_{{13}}}\)) can be obtained from the orthogonality conditions.

In this work, we focus on symbolic methods for analyzing equilibrium solutions given by algebraic equations (4) and (5).

4 ANALYZING THE EQUILIBRIUM ORIENTATIONS OF THE TWO-BODY SYSTEM BY COMPUTER ALGEBRA METHODS

Let us analyze solutions Change to “of” the system of algebraic equations (4) and (5) in detail.

To solve the algebraic system (4) and (5), various algorithms for Gröbner basis construction are used [8]. Construction of the Gröbner basis is an algorithmic procedure that completely reduces the problem with a system of polynomials in many variables to the consideration of a polynomial in one variable.

The investigation is carried out using the Groebner[Вasis] package for Maple 17 [9, 10]. This package uses a set of five algorithms to compute Gröbner bases for monomials of various orders and various codomains of polynomial coefficients. The type of the algorithm is specified by the option method=meth. This option executes the fastest universal direct method available.

Construction of the Gröbner basis for the system (4) and (5) of 12 second-order algebraic equations, whose coefficients depend on four parameters, is a very complicated algorithmic problem.

To analyze the system (4) and (5), the following three algorithms were applied. First, method=mapleF4 executes the F4 algorithm developed by D.S. Faugere and written in the Maple language. The F4 algorithm supports all orders of monomials and types of polynomial coefficients from any field, as well as computations in Ore noncommutative algebras. Second, method=fglm executes the FGLM algorithm for Gröbner basis construction, developed by Faugere, Gianni, Lazard, and Mora [11]. Third, method=walk executes the Walk algorithm developed by Collart, Kalkbrener, and Mall, which supports all commutative fields and orders of monomials; it converts the Gröbner basis from one monomial order to another [12].

Using the plex option (lexicographic ordering by variables), it is generally impossible to construct the Gröbner basis for 12 polynomials \({{f}_{i}}\)\((i = 1,2,\;...,\;12)\) that are the left-hand sides of the equations in the system (4) and (5) in 12 variable direction cosines \({{a}_{{ij}}}\) and \({{b}_{{ij}}}\)\((i = 2,3,j = 1,2,3)\).

Below, we present results of Gröbner basis construction for the system (4) and (5) in some special cases.

The instruction Maple–infolevel[GroebnerBasis] := 2 gives information on the type of the algorithm used and its run time. All computations were carried out on a computer with Intel Core i7 2.4 GHz and 8 GB RAM.

Case 1:\({{m}_{1}} = {{n}_{1}} = {{m}_{2}} = {{n}_{2}} = m\). In this case, the F4 algorithm with the \(tdeg\) option (ordering by powers) was used to construct the Gröbner basis. The time for computing the Gröbner basis with the F4 algorithm and \(tdeg\) order was approximately two hours (7124.35 s) for a 3.668-Kb file containing the polynomials of the basis. We failed to recompute the resulting basis for the \(plex\) order with the FGLM algorithm because of a program interruption caused by exceeding the allowable memory limit for the Maple system. The error message was as follows: Error, (in Groebner:-Basis) object too large.

Case 2:\({{m}_{1}} = {{n}_{1}} = m;{{m}_{2}} = {{n}_{2}} = 1\). This case is simpler than case 1. Here, the Gröbner basis was also constructed using the F4 algorithm with the \(tdeg\) option. The time for computing the Gröbner basis with the F4 algorithm and \(tdeg\) order was 5503.5 s for a 3375-Kb file containing the polynomials of the basis. We also failed to recompute the resulting basis for the \(plex\) order with the FGLM algorithm because of a program interruption caused by exceeding the allowable memory limit. The Maple system terminated after 5952 s.

Case 3:\({{m}_{1}} = m,{{n}_{1}} = {{m}_{2}} = {{n}_{2}} = 1\). This case is even simpler than cases 1 and 2. The Gröbner basis was constructed using the Walk algorithm with the \(plex\) option for 12 polynomials \({{f}_{i}}\)\((i = 1,2,\;...,\;12)\), which were the left-hand sides of the equations in the system (4) and (5) in 12 variables \({{a}_{{ij}}}\) and \({{b}_{{ij}}}\)\((i = 2,3,j = 1,2,3)\):

G:=map(factor,Groebner[Basis]([f1, … f12], plex(b21, …, a33))).

The procedure for Gröbner basis construction involved two steps. First, the F4 algorithm was used (its run time was 3017.5 s). Then, the Walk algorithm was executed. The total computation time was 12 324 s. The number of polynomials in the resulting Gröbner basis was 170, and the number of rows in the basis exceeded one million. Nevertheless, in this basis, we selected the following polynomial that depends only on one variable \(x = a_{{33}}^{2}\):

$$P(x) = {{P}_{1}}(x){{P}_{2}}(x){{P}_{3}}(x){{P}_{4}}(x){{P}_{5}}(x){{P}_{6}}(x) = 0.$$
((6))

Here,

$$\begin{gathered} {{P}_{1}}(x) = x(x - 1), \\ {{P}_{2}}(x) = 16({{m}^{2}} - 1){{x}^{2}} \\ - \;40({{m}^{2}} - 1)x + 49{{m}^{2}} - 25 = 0, \\ {{P}_{3}}(x) = 64{{m}^{2}}(4m - 1){{x}^{2}} \\ - \;32(2{{m}^{2}} - 1)(4m - 1)x + 7m + 5 = 0, \\ {{P}_{4}}(x) = 64{{m}^{2}}(4m + 1){{x}^{2}} \\ - \;32(2{{m}^{2}} - 1)(4m + 1)x + 7m - 5 = 0, \\ {{P}_{5}}(x) = 18{{(m + 1)}^{4}}(m - 1){{x}^{2}} \\ + \;12{{(m + 1)}^{2}}(m - 1)({{m}^{2}} - 3m - 1)x \\ + \;(7m + 5)(7{{m}^{2}} - 1)(5{{m}^{2}} - 2) = 0, \\ {{P}_{6}}(x) = {{m}^{2}}x - {{m}^{2}} + 1 = 0. \\ \end{gathered} $$

To find equilibrium solutions, we had to consider six individual cases with zero quadratic polynomials, \({{P}_{i}} = 0,(i = 1,2,\;...,\;6)\). As a result, we obtained the values of \({{a}_{{33}}}\) that depend only on the parameter \(m\). The value of the direction cosine \({{a}_{{32}}}\) can be found from the second polynomial in the Gröbner basis, while \({{a}_{{31}}}\) is obtained from orthogonality conditions (5). The values of the other direction cosines can be found from the system of equations (4).

It should be noted that, in case 3, the two-step algorithm for computing the Gröbner basis with the lexicographical ordering option (first, it uses the \(tdeg\) order and, then, recomputes the resulting basis for the \(plex\) order by using the FGLM algorithm) proved to be more efficient. The computation time with the F4 algorithm and \(tdeg\) order was 630.125 s for 490 polynomials in the basis. The recomputation of this basis for the \(plex\) order by using the FGLM algorithm took 1823.4 s for 170 polynomials in the basis. The total run time of the two-step algorithm was 2453.525 s, which is five times faster than that of the Walk algorithm for the same case. Among all methods described above, the elimination block ordering \(lexdeg\) with explicit specification of the method (method=walk) showed the maximum computation time.

Equilibrium solutions for the system of two bodies in the orbital plane for \({{\beta }_{i}} = 0\), \({{\gamma }_{i}} = 0\), and \({{\alpha }_{i}} \ne 0\) were considered in [6, 7]. In the planar case, the system (4) and (5) has simple solutions of four types:

$$\begin{gathered} \sin{{\alpha }_{1}} = 0,\quad \sin{{\alpha }_{2}} = 0, \\ \cos{{\alpha }_{1}} = 0,\quad \cos{{\alpha }_{2}} = 0, \\ \cos{{\alpha }_{1}} = 0,(\sin{{\alpha }_{1}} + {{m}_{2}}\sin{{\alpha }_{2}}) = 0, \\ \cos{{\alpha }_{2}} = 0,({{m}_{1}}\sin{{\alpha }_{1}} + \sin{{\alpha }_{2}}) = 0. \\ \end{gathered} $$
((7))

In [7], planar oscillations of the two-body system were analyzed, all equilibrium orientations (7) were determined, and sufficient conditions for the stability of the equilibrium orientations were obtained using the energy integral as a Lyapunov function.

The results presented above suggest that, in the general case, the system of algebraic equations (4) and (5) cannot be solved by direct application of the Gröbner basis construction methods. Below, we consider a combined approach to this problem.

5 COMBINED APPROACH TO THE PROBLEM

Let us consider the second, third, fifth, and sixth equations of system (4) with respect to the variables \({{a}_{{21}}}\), \({{a}_{{31}}}\), \({{b}_{{21}}}\), and \({{b}_{{31}}}\). These equations form a homogeneous subsystem

$$\begin{gathered} ({{m}_{1}}{{a}_{{23}}}){{a}_{{21}}} - (3{{m}_{1}}{{a}_{{33}}}){{a}_{{31}}} + ({{a}_{{23}}}){{b}_{{21}}} - (3{{a}_{{33}}}){{b}_{{31}}} = 0, \\ ({{n}_{1}}{{a}_{{22}}}){{a}_{{21}}} - (3{{n}_{1}}{{a}_{{32}}}){{a}_{{31}}} - ({{a}_{{22}}}){{b}_{{21}}} + (3{{a}_{{32}}}){{b}_{{31}}} = 0, \\ ({{b}_{{23}}}){{a}_{{21}}} - (3{{b}_{{33}}}){{a}_{{31}}} + ({{m}_{2}}{{b}_{{23}}}){{b}_{{21}}} - (3{{m}_{2}}{{b}_{{33}}}){{b}_{{31}}} = 0, \\ - \;({{b}_{{22}}}){{a}_{{21}}} + (3{{b}_{{32}}}){{a}_{{31}}} + ({{n}_{2}}{{b}_{{22}}}){{b}_{{21}}} - (3{{n}_{2}}{{b}_{{32}}}){{b}_{{31}}} = 0. \\ \end{gathered} $$
((8))

The determinant of system (8) is

$$\begin{gathered} \Delta = ({{m}_{1}}{{n}_{1}}{{m}_{2}}{{n}_{2}} + 1){{a}_{{11}}}{{b}_{{11}}} \\ - \;({{m}_{1}}{{m}_{2}} + {{n}_{1}}{{n}_{2}})({{a}_{{22}}}{{b}_{{33}}} - {{a}_{{32}}}{{b}_{{23}}}) \\ \times \;({{a}_{{33}}}{{b}_{{22}}} - {{a}_{{23}}}{{b}_{{32}}}) \\ + \;({{m}_{1}}{{n}_{1}} + {{m}_{2}}{{n}_{1}})({{a}_{{22}}}{{b}_{{32}}} - {{a}_{{32}}}{{b}_{{22}}})({{a}_{{23}}}{{b}_{{33}}} - {{a}_{{33}}}{{b}_{{23}}}). \\ \end{gathered} $$

If \(\Delta \ne 0\), then \({{a}_{{21}}} = {{a}_{{31}}} = {{b}_{{21}}} = {{b}_{{31}}} = 0\) and system (8) is divided into two subsystems:

$$\begin{gathered} {{a}_{{22}}}{{a}_{{23}}} - 3{{a}_{{32}}}{{a}_{{33}}} = 0,\quad {{b}_{{22}}}{{b}_{{23}}} - 3{{b}_{{32}}}{{b}_{{33}}} = 0, \\ a_{{22}}^{2} + a_{{23}}^{2} = 1,\quad b_{{22}}^{2} + b_{{23}}^{2} = 1, \\ a_{{32}}^{2} + a_{{33}}^{2} = 1,\quad b_{{32}}^{2} + b_{{33}}^{2} = 1, \\ {{a}_{{22}}}{{a}_{{32}}} + {{a}_{{23}}}{{a}_{{33}}} = 0,\quad {{b}_{{22}}}{{b}_{{32}}} + {{b}_{{23}}}{{b}_{{33}}} = 0. \\ \end{gathered} $$
((9))

System (9) can be solved using Gröbner basis construction methods. Let us construct the Gröbner basis by using the FGLM algorithm with the \(plex\) option for eight polynomials \({{f}_{i}}\)\((i = 1,2,\;...,\;8)\), which are the left-hand sides of the equations in system (9) in eight variables \({{a}_{{ij}}}\) and \({{b}_{{ij}}}\)\((i = 2,3,j = 2,3)\). The total computation time is 0.05 s. The resulting Gröbner basis includes 18 polynomials. Let us write out some polynomials that depend on the variables \({{a}_{{22}}}\) and \({{a}_{{33}}}\) from this basis: \({{a}_{{22}}}(a_{{22}}^{2} - 1)\), \({{a}_{{33}}}(a_{{33}}^{2} - 1)\), and \(a_{{22}}^{2} - a_{{33}}^{2}\). From the Gröbner basis constructed, we can find the solutions of system (9):

$$\begin{gathered} a_{{22}}^{2} = 1,\quad {{a}_{{23}}} = 0,\quad {{a}_{{32}}} = 0,\quad a_{{33}}^{2} = 1, \\ b_{{22}}^{2} = 1,\quad {{b}_{{23}}} = 0,\quad {{b}_{{32}}} = 0,\quad b_{{33}}^{2} = 1; \\ \end{gathered} $$
((10))
$$\begin{gathered} {{a}_{{22}}} = 0,\quad a_{{23}}^{2} = 1,\quad a_{{32}}^{2} = 1,\quad {{a}_{{33}}} = 0, \\ {{b}_{{22}}} = 0,\quad b_{{23}}^{2} = 1,\quad b_{{32}}^{2} = 1,\quad {{b}_{{33}}} = 0. \\ \end{gathered} $$
((11))

In total, we have eight different solutions: four solutions for \(a_{{22}}^{2} = 1\) and \(a_{{33}}^{2} = 1\) (solutions (10)) and four solutions for \(a_{{23}}^{2} = 1\) and \(a_{{32}}^{2} = 1\) (solutions (11)). The condition \(\Delta \ne 0\), e.g., for the solution with a22 = \({{a}_{{33}}} = {{b}_{{22}}}\) = b33 = 1, holds for the following constraints on the system parameters: m1m2(n1n2 – 1) + \(({{m}_{1}} - {{n}_{1}}){{n}_{2}} + {{m}_{2}}{{n}_{1}} \ne 0\). For \(\Delta = 0\), we have the case of parametric solutions to system (8) [14].

Let us now consider the first and second equations in system (4). They form a homogeneous subsystem with respect to the variables \({{a}_{{23}}}\) and \({{a}_{{33}}}\):

$$\begin{gathered} ({{a}_{{22}}}){{a}_{{23}}} - (3{{a}_{{32}}}){{a}_{{33}}} = 0, \\ ({{m}_{1}}{{a}_{{21}}} + {{b}_{{21}}}){{a}_{{23}}} - 3({{m}_{1}}{{a}_{{31}}} + {{b}_{{31}}}){{a}_{{33}}} = 0. \\ \end{gathered} $$
((12))

If the determinant of system (12) is \({{\Delta }_{1}}\) = a22b31\({{a}_{{32}}}{{b}_{{21}}} - {{m}_{1}}({{a}_{{21}}}{{a}_{{32}}} - {{a}_{{22}}}{{a}_{{31}}}) \ne 0,\) then \({{a}_{{23}}} = 0\) and a33 = 0.

Equations 4 and 5 of system (4) also form a homogeneous subsystem with respect to \({{b}_{{23}}}\) and \({{b}_{{33}}}\):

$$\begin{gathered} ({{b}_{{22}}}){{b}_{{23}}} - (3{{b}_{{32}}}){{b}_{{33}}} = 0, \\ ({{m}_{2}}{{b}_{{21}}} + {{a}_{{21}}}){{b}_{{23}}} - 3({{m}_{2}}{{b}_{{31}}} + {{a}_{{31}}}){{b}_{{33}}} = 0. \\ \end{gathered} $$
((13))

If the determinant of system (13) is \({{\Delta }_{2}}\) = b22a31\({{b}_{{32}}}{{a}_{{21}}} - {{m}_{2}}({{b}_{{21}}}{{b}_{{32}}} - {{b}_{{22}}}{{b}_{{31}}}) \ne 0,\) then \({{b}_{{23}}} = 0\) and \({{b}_{{33}}}\) = 0. If \({{\Delta }_{1}} \ne 0\) and \({{\Delta }_{2}} \ne 0\), then \({{a}_{{23}}} = 0\), \({{a}_{{33}}} = 0\), \({{b}_{{23}}} = 0\), \({{b}_{{33}}} = 0\), and system (4) takes the form

$$\begin{gathered} {{n}_{1}}({{a}_{{21}}}{{a}_{{22}}} - 3{{a}_{{31}}}{{a}_{{32}}}) - {{b}_{{21}}}{{a}_{{22}}} + 3{{b}_{{31}}}{{a}_{{32}}} = 0, \\ {{n}_{2}}({{b}_{{21}}}{{b}_{{22}}} - 3{{b}_{{31}}}{{b}_{{32}}}) - {{a}_{{21}}}{{b}_{{22}}} + 3{{a}_{{31}}}{{b}_{{32}}} = 0, \\ a_{{21}}^{2} + a_{{22}}^{2} - 1 = 0,\quad b_{{21}}^{2} + b_{{22}}^{2} - 1 = 0, \\ a_{{31}}^{2} + a_{{32}}^{2} - 1 = 0,\quad b_{{31}}^{2} + b_{{32}}^{2} - 1 = 0, \\ {{a}_{{21}}}{{a}_{{31}}} + {{a}_{{22}}}{{a}_{{32}}} = 0,\quad {{b}_{{21}}}{{b}_{{31}}} + {{b}_{{22}}}{{b}_{{32}}} = 0. \\ \end{gathered} $$
((14))

System (14) can be solved using Gröbner basis construction methods. Let us construct the Gröbner basis by using the FGLM algorithm with the lexicographic ordering option for eight polynomials \({{f}_{i}}\)\((i = 1,2,\;...,\;8)\), which are the left-hand sides of the equations in system (14) in eight variables \({{a}_{{ij}}}\) and \({{b}_{{ij}}}\)\((i = 2,3,j = 1,2)\):

G:=map(factor,Groebner[Basis]([f1, … f8], plex(b21,…,a32))).

The total computation time is 0.125 s. The resulting Gröbner basis includes 27 polynomials. From this basis, we write out the polynomial that depends only on one variable \({{a}_{{32}}}\):

$$P({{a}_{{32}}}) = {{P}_{7}}({{a}_{{32}}}){{P}_{8}}({{n}_{1}},{{n}_{2}},{{a}_{{32}}}) = 0.$$
((15))

Here,

$$\begin{gathered} {{P}_{7}}({{a}_{{32}}}) = {{a}_{{32}}}(a_{{32}}^{2} - 1), \\ {{P}_{8}}({{a}_{{32}}}) = 64n_{1}^{2}(4n_{1}^{2}n_{2}^{{}} - 1)(n_{1}^{2}n_{2}^{{}} - 1)a_{{32}}^{4} \\ - \;32(2n_{1}^{2} - 1)(4n_{1}^{2}n_{2}^{{}} - 1)(n_{1}^{2}n_{2}^{{}} - 1)a_{{32}}^{2} \\ + \;({{(4n_{1}^{2}n_{2}^{2} + 2)}^{2}} - 9{{({{n}_{1}} + {{n}_{2}})}^{2}}) = 0. \\ \end{gathered} $$

In addition, this Gröbner basis implies the following relationships:

$$a_{{21}}^{2} = a_{{32}}^{2},a_{{22}}^{2} = a_{{31}}^{2},b_{{21}}^{2} = b_{{32}}^{2},b_{{22}}^{2} = b_{{31}}^{2}.$$
((16))

Taking into account relationships (16), system (14) can be rewritten as follows:

$$\begin{gathered} 4{{n}_{1}}{{a}_{{21}}}{{a}_{{22}}} - {{b}_{{21}}}{{a}_{{22}}} - 3{{b}_{{22}}}{{a}_{{21}}} = 0, \\ 4{{n}_{2}}{{b}_{{21}}}{{b}_{{22}}} - {{a}_{{21}}}{{b}_{{22}}} - 3{{a}_{{22}}}{{b}_{{21}}} = 0, \\ a_{{21}}^{2} + a_{{22}}^{2} - 1 = 0,\quad b_{{21}}^{2} + b_{{22}}^{2} - 1 = 0. \\ \end{gathered} $$
((17))

The solution of system (17) reduces to the solution of the biquadratic equation from (15).

Using relationships (15) and (16), we can write all solutions of system (14).

1. The solutions obtained under the condition \({{P}_{7}}({{a}_{{32}}}) = 0\) (\({{a}_{{32}}} = 0\)) are

$$\begin{gathered} {{a}_{{32}}} = 0,\quad a_{{31}}^{2} = 1,\quad a_{{22}}^{2} = 1,\quad {{a}_{{21}}} = 0, \\ b_{{22}}^{2} = 1,\quad {{b}_{{21}}} = 0,\quad {{b}_{{32}}} = 0,\quad b_{{31}}^{2} = 1. \\ \end{gathered} $$
((18))

Solutions (18) exist if \({{\Delta }_{1}}\) = \(({{b}_{{31}}} - {{m}_{1}}{{a}_{{31}}}) \ne 0\) and \({{\Delta }_{2}}\) = \(({{a}_{{31}}} - {{m}_{2}}{{b}_{{31}}}) \ne 0\)\(({\text{|}}{{m}_{2}}{\text{|}} \ne 1)\).

2. The solutions obtained under the condition \({{P}_{7}}({{a}_{{32}}}) = 0\)\((a_{{32}}^{2} = 1)\) are

$$\begin{gathered} a_{{32}}^{2} = 1,\quad {{a}_{{31}}} = 0,\quad a_{{21}}^{2} = 1,\quad {{a}_{{22}}} = 0, \\ b_{{21}}^{2} = 1,\quad {{b}_{{22}}} = 0,\quad {{b}_{{31}}} = 0,\quad b_{{32}}^{2} = 1. \\ \end{gathered} $$
((19))

Solutions (19) exist if \({{\Delta }_{1}}\) = \(({{b}_{{21}}} + {{m}_{1}}{{a}_{{21}}}) \ne 0\)\(({\text{|}}{{m}_{1}}{\text{|}} \ne 1)\) and \({{\Delta }_{2}}\) = \(({{a}_{{21}}} + {{m}_{2}}{{b}_{{21}}}) \ne 0\)\(({\text{|}}{{m}_{2}}{\text{|}} \ne 1)\).

3. In the third case \(({{P}_{8}}({{n}_{1}},{{n}_{2}},{{a}_{{32}}}) = 0)\), system (14) has the following solutions at \({{\Delta }_{1}} \ne 0\) and \({{\Delta }_{2}} \ne 0\):

$$\begin{gathered} a_{{32}}^{2} = \frac{{2n_{1}^{2} - 1}}{{4n_{1}^{2}}} \\ \pm \;\frac{{(8n_{1}^{3}{{n}_{2}} - 5{{n}_{1}}({{n}_{1}} + {{n}_{2}}) + 2)\sqrt {(4{{n}_{1}}{{n}_{2}} - 1)({{n}_{1}}{{n}_{2}} - 1)} }}{{8n_{1}^{2}(4{{n}_{1}}{{n}_{2}} - 1)({{n}_{1}}{{n}_{2}} - 1)}}, \\ a_{{31}}^{2} = 1 - a_{{32}}^{2},\quad {{a}_{{33}}} = 0, \\ a_{{21}}^{2} = a_{{32}}^{2},\quad a_{{22}}^{2} = a_{{31}}^{2},\quad {{a}_{{23}}} = 0, \\ b_{{32}}^{2} = \frac{{n_{2}^{2} - 1}}{{4n_{2}^{2}}} \\ \pm \;\frac{{(8n_{2}^{3}{{n}_{1}} - 5{{n}_{2}}({{n}_{1}} + {{n}_{2}}) + 2)\sqrt {(4{{n}_{1}}{{n}_{2}} - 1)({{n}_{1}}{{n}_{2}} - 1)} }}{{8n_{2}^{2}(4{{n}_{1}}{{n}_{2}} - 1)({{n}_{1}}{{n}_{2}} - 1)}}, \\ b_{{31}}^{2} = 1 - b_{{32}}^{2},\quad {{b}_{{33}}} = 0, \\ b_{{21}}^{2} = b_{{32}}^{2},\quad b_{{22}}^{2} = b_{{31}}^{2},\quad {{b}_{{23}}} = 0. \\ \end{gathered} $$
((20))

Solutions (20) exist if \({{n}_{1}}{{n}_{2}} < 1{\text{/}}4\) and \({{n}_{1}}{{n}_{2}} > 1\).

Next, as in the previous case, we consider the first and third equations of system (4) with respect to \({{a}_{{22}}}\) and \({{a}_{{32}}}\), as well as the fourth and sixth equations of (4) with respect to \({{b}_{{22}}}\) and \({{b}_{{32}}}\). If \({{\Delta }_{3}}\) = a33b21\({{a}_{{23}}}{{b}_{{31}}} + {{n}_{1}}({{a}_{{23}}}{{a}_{{31}}} - {{a}_{{21}}}{{a}_{{33}}}) \ne 0\) is the determinant of the first subsystem with respect to \({{a}_{{22}}}\) and \({{a}_{{32}}}\), then \({{a}_{{22}}} = 0\) and \({{a}_{{32}}} = 0\). If \({{\Delta }_{4}}\) = a21b33b23a31 + \({{n}_{2}}({{b}_{{23}}}{{b}_{{31}}} - {{b}_{{21}}}{{b}_{{33}}}) \ne 0\) is the determinant of the second subsystem with respect to \({{b}_{{22}}}\) and \({{b}_{{32}}}\), then \({{b}_{{22}}} = 0\) and \({{b}_{{32}}} = 0\). If \({{\Delta }_{3}} \ne 0\) and \({{\Delta }_{4}} \ne 0\), then \({{a}_{{22}}} = 0\), \({{a}_{{32}}} = 0\), \({{b}_{{22}}} = 0\), \({{b}_{{32}}} = 0\), and system (4) takes the form

$$\begin{gathered} {{m}_{1}}({{a}_{{23}}}{{a}_{{21}}} - 3{{a}_{{33}}}{{a}_{{31}}}) + {{b}_{{21}}}{{a}_{{23}}} - 3{{b}_{{31}}}{{a}_{{33}}} = 0, \\ {{m}_{2}}({{b}_{{23}}}{{b}_{{21}}} - 3{{b}_{{33}}}{{b}_{{31}}}) + {{a}_{{21}}}{{b}_{{23}}} - 3{{a}_{{31}}}{{b}_{{33}}} = 0, \\ a_{{21}}^{2} + a_{{23}}^{2} - 1 = 0,\quad b_{{21}}^{2} + b_{{23}}^{2} - 1 = 0, \\ a_{{31}}^{2} + a_{{33}}^{2} - 1 = 0,\quad b_{{31}}^{2} + b_{{33}}^{2} - 1 = 0, \\ {{a}_{{21}}}{{a}_{{31}}} + {{a}_{{23}}}{{a}_{{33}}} = 0,\quad {{b}_{{21}}}{{b}_{{31}}} + {{b}_{{23}}}{{b}_{{33}}} = 0. \\ \end{gathered} $$
((21))

As in the previous case, system (21) is solved by constructing the Gröbner basis for the system of polynomials (22) with the FGLM algorithm and \(plex\) option for eight polynomials \({{f}_{i}}\)\((i = 1,2,\;...,\;8)\), which are the left-hand sides of the equations in system (21) in eight variables \({{a}_{{ij}}}\) and \({{b}_{{ij}}}\)\((i = 2,3,j = 1,3)\). The total computation time is 0.172 s. The resulting Gröbner basis includes 27 polynomials.

From this basis, we write out the polynomial that depends only on one variable \({{a}_{{33}}}\):

$$P({{a}_{{33}}}) = {{P}_{9}}({{a}_{{33}}}){{P}_{{10}}}({{m}_{1}},{{m}_{2}},{{a}_{{33}}}) = 0.$$
((22))

Here,

$$\begin{gathered} {{P}_{9}}({{a}_{{33}}}) = {{a}_{{33}}}(a_{{33}}^{2} - 1), \\ {{P}_{{10}}}({{a}_{{33}}}) = 256m_{1}^{2}{{(2{{m}_{1}}{{m}_{2}} + 1)}^{2}}a_{{33}}^{4} \\ - \;8(2{{m}_{1}}{{m}_{2}} + 1)(64m_{1}^{3}{{m}_{2}} + 32{{m}_{1}}({{m}_{1}} - {{m}_{2}}) - 25)a_{{33}}^{2} \\ + \;({{(8{{m}_{1}}{{m}_{2}} - 5)}^{2}} - 36{{({{m}_{1}} - {{m}_{2}})}^{2}}) = 0. \\ \end{gathered} $$

In addition, this Gröbner basis implies the following relationships:

$$a_{{21}}^{2} = a_{{33}}^{2},\quad a_{{23}}^{2} = a_{{31}}^{2},\quad b_{{21}}^{2} = b_{{33}}^{2},\quad b_{{23}}^{2} = b_{{31}}^{2}.$$
((23))

Using relationships (22) and (23), we can write all solutions of system (21).

4. The solutions obtained under the condition \({{P}_{9}}({{a}_{{33}}}) = 0\) (\({{a}_{{33}}} = 0\)) are

$$\begin{gathered} {{a}_{{33}}} = 0,\quad a_{{31}}^{2} = 1,\quad a_{{23}}^{2} = 1,\quad {{a}_{{21}}} = 0, \\ b_{{23}}^{2} = 1,\quad {{b}_{{21}}} = 0,\quad {{b}_{{33}}} = 0,\quad b_{{31}}^{2} = 1. \\ \end{gathered} $$
((24))

These solutions exist if \({{\Delta }_{3}}\) = \(({{b}_{{31}}} - {{n}_{1}}{{a}_{{31}}}) \ne 0\)\(({\text{|}}{{n}_{1}}{\text{|}} \ne 1)\) and \({{\Delta }_{4}}\) = \(({{a}_{{31}}} - {{n}_{2}}{{b}_{{31}}}) \ne 0\)\(({\text{|}}{{n}_{2}}{\text{|}} \ne 1)\).

5. The solutions obtained under the condition \(a_{{33}}^{2} = 1\) are

$$\begin{gathered} a_{{33}}^{2} = 1,\quad {{a}_{{31}}} = 0,\quad a_{{21}}^{2} = 1,\quad {{a}_{{23}}} = 0, \\ b_{{21}}^{2} = 1,\quad {{b}_{{23}}} = 0,\quad {{b}_{{31}}} = 0,\quad b_{{33}}^{2} = 1. \\ \end{gathered} $$
((25))

These solutions exist if \({{\Delta }_{3}}\) = \(({{b}_{{21}}} + {{n}_{1}}{{a}_{{21}}}) \ne 0\)\(({\text{|}}{{n}_{1}}{\text{|}} \ne 1)\) and \({{\Delta }_{4}}\) = \(({{a}_{{21}}} - {{n}_{2}}{{b}_{{21}}}) \ne 0\)\(({\text{|}}{{n}_{2}}{\text{|}} \ne 1)\).

6. For \({{P}_{{10}}}({{m}_{1}},{{m}_{2}},{{a}_{{33}}}) = 0\), system (21) has the following solutions at \({{\Delta }_{3}} \ne 0\) and \({{\Delta }_{4}} \ne 0\):

$$\begin{gathered} a_{{33}}^{2} = \frac{1}{2} - \frac{{32{{m}_{1}}{{m}_{2}} + 25}}{{64m_{1}^{2}(2{{m}_{1}}{{m}_{2}} + 1)}} \pm \\ \pm \;\frac{{(8m_{1}^{2} - 5)\sqrt {64{{m}_{1}}{{m}_{2}}({{m}_{1}}{{m}_{2}} + 1) + 25} }}{{64m_{1}^{2}(2{{m}_{1}}{{m}_{2}} + 1)}}, \\ \end{gathered} $$
$$\begin{gathered} a_{{31}}^{2} = 1 - a_{{33}}^{2},\quad {{a}_{{32}}} = 0, \\ a_{{21}}^{2} = a_{{33}}^{2},\quad a_{{23}}^{2} = a_{{31}}^{2},\quad {{a}_{{22}}} = 0, \\ b_{{33}}^{2} = \frac{1}{2} - \frac{{32{{m}_{1}}{{m}_{2}} + 25}}{{64m_{2}^{2}(2{{m}_{1}}{{m}_{2}} + 1)}} \pm \\ \pm \;\frac{{(8m_{2}^{2} - 5)\sqrt {64{{m}_{1}}{{m}_{2}}({{m}_{1}}{{m}_{2}} + 1) + 25} }}{{64m_{2}^{2}(2{{m}_{1}}{{m}_{2}} + 1)}}, \\ \end{gathered} $$
((26))
$$\begin{gathered} b_{{31}}^{2} = 1 - b_{{33}}^{2},\quad {{b}_{{32}}} = 0,\quad b_{{21}}^{2} = b_{{33}}^{2}, \\ b_{{23}}^{2} = b_{{31}}^{2},\quad {{b}_{{22}}} = 0,\quad (2{{m}_{1}}{{m}_{2}} \ne - 1). \\ \end{gathered} $$

The expression \(64{{m}_{1}}{{m}_{2}}({{m}_{1}}{{m}_{2}} + 1) + 25\) is non-negative for any \({{m}_{1}},{{m}_{2}}\).

Thus, in the general case, we have obtained the families of equilibrium solutions (10), (11), (18), (19), (20), (24), (25), and (26) to the original system of 12 algebraic equations (4) and (5) under the constraints \(\Delta \ne 0\), \({{\Delta }_{1}} \ne 0\), \({{\Delta }_{2}} \ne 0\), \({{\Delta }_{3}} \ne 0\), and \({{\Delta }_{4}} \ne 0\). The conditions for satisfying these constraints can be verified numerically for each set of system parameters.

In conclusion, it should be noted that the combination of the computer algebra and linear algebra methods makes it possible to investigate a wide class of equilibrium orientations for the system of two bodies connected by a spherical hinge on a circular orbit under certain constraints imposed on the parameters of the problem. Based on the results presented in this paper, using symbolic computation methods, it has been shown that, on a circular orbit, the two-body system can have both planar and spatial configurations in equilibrium orientation.

Traditionally, to find steady-state configurations, numerical methods for finding roots of systems of nonlinear algebraic equations are employed, e.g., iteration methods (simple iteration method and Seidel method), Newton method, descent method, secant method, and Steffensen’s method [1620]. Disadvantages of this approach are well known. Localizing the solution that guarantees the convergence of the method and finding all real roots are the most difficult problems that arise when solving systems of nonlinear equations numerically. When the coefficients of algebraic equations depend on the parameters of the problem, as in our case, numerical methods fail to determine the behavior of the roots in the parameter space.

In this work, we have used another approach based on symbolic computation methods to solve the system of nonlinear algebraic equations. It has allowed us to reduce the system of 12 second-order algebraic equations to a polynomial in one variable, find its analytical solution, and investigate the conditions for the existence of the solutions in the parameter space of the problem.