1 Introduction

Curvilinear coordinate systems different from the rectangular Cartesian coordinate system are of value in simple geometric considerations as the cumbersome mathematical expressions for determination, for example, of areas and volumes can be overcome. Moreover, curvilinear coordinate systems are particularly valuable in the field theory and differential equations solution. In order to express boundary conditions of differential equations in a reasonably simple way, coordinate surfaces that fit the physical boundaries of the problem are essential [1]. Therefore, a range of field problems that can be handled effectively depend upon the number of well-developed coordinate systems. Particularly, the orthogonal curvilinear coordinate systems [2] appear to be the most useful.

The recently finalized similar oblate spheroidal (SOS) orthogonal coordinate system [3, 4] can be a powerful tool for a description of physical processes inside or in the vicinity of the bodies with geometry of an oblate spheroid. Such bodies range (but are not limited to) from planets with a small oblateness (like the Earth with the ratio of the semi-axes difference to the major semi-axis length ≈1:300), through elliptical galaxies up to significantly flattened objects like disk galaxies.

In the field of atmospheric physics, it was stated [3] that the SOS coordinates could be of help for better modeling of geopotential surfaces, allowing for a better description of the spatial variation of the apparent gravity. Still more advantageously, the SOS coordinates could be used for modeling of the potential and atmosphere of significantly more oblate celestial bodies, e.g., the gas giants. Further, similar oblate spheroids are frequently used for modeling of iso-density levels inside galaxies [5, 6]. Therefore, the SOS coordinates can be helpful also in this field.

In electrostatics and solid-state physics, the SOS coordinates could find application in description of electric field potential in ferroelectric materials (e.g., ferroelectric nanocomposites) containing dielectric inclusions (or vice versa—ferroelectric inclusions in dielectric matrix) [7], particularly the inclusions of spheroidal shape [8].

The similar oblate spheroidal coordinates are distinct from all the standard orthogonal coordinate systems [2, 9] including the confocal oblate spheroidal system, as one coordinate surfaces family of the SOS coordinates is not of the second degree (and even not of the fourth degree) but it is formed by general power functions \(z \approx x^{1 + \mu }\) (i.e., with a real-number exponent 1 + μ) rotated around the z-axis [3, 4]. They are orthogonal to the similar oblate spheroids representing the first set of the coordinate surfaces. (For terminological clarity, a spheroid means in this text an ellipsoid of revolution or rotational ellipsoid. An oblate spheroid is a quadric surface obtained by rotating an ellipse about the shorter principal axis).

Already reported [4] were the analytical coordinate transformation from the SOS coordinates to the Cartesian system as well as the metric scale factors and the Jacobian determinant. Further, the formulas necessary for the transformation of a vector field between the SOS system and the Cartesian coordinates were recently published [10]. Generalized sine and cosine applicable in the transformation were introduced as well. The derived analytical relations cannot be expressed in a closed form; nevertheless they employ convergent infinite power series (with generalized binomial coefficients) and are thus still analytical.

Nevertheless, there are still missing significant parts of algebra connected with the SOS coordinate system. Predominantly, solutions of standard differential equations in the SOS coordinates are not derived. It is known that several important scalar differential equations can be reduced to the Helmholtz equation or to its special case, the Laplace equation [2]. Therefore, the scalar fields in several areas of physics can be based on the solutions of the Helmholtz and of the Laplace equations.

This article deals with the task to solve the simpler of the two types of the abovementioned differential equations, the Laplace equation, in the SOS coordinate system. A solution of the Laplace equation would represent an important step in the development of the SOS coordinate system and its applicability in astrophysics (e.g., for modeling of gravitational potential) and in other fields of physics (cosmology, geodesy, climatology, electromagnetism). Determination of harmonic functions could also help to find solutions of the other, more complex, differential equations in the SOS coordinates.

The organization of the text is following. First, a short summary of the SOS coordinate system is provided. Then, the azimuthally symmetric Laplace equation in the SOS coordinates is formulated and a possible shape of the harmonic function is modeled. Special separation procedure is reported next, and the radial part of the equation is solved. Simple but informative enough solutions of the angular part of the separated equation are found. The found simple solutions as well as the Laplace equation itself are rewritten to the form enabling solution generalization. A new type of polynomials—generalizing the Legendre ones—are found to be a part of the harmonic functions in the SOS coordinates for the interior space. A recursion formula for the polynomials is derived. Finally, the complete interior solution of the Laplace equation in the azimuthally symmetric case in the SOS system is reported.

Occasionally during the derivation, the found interim results for the limiting case of oblate spheroids, i.e., for the spherical case, are compared with the well-known solution for the spherical coordinates.

A number of formulas needed within the article and derived on the basis of binomial identities are reported in Appendix A. Nevertheless, due to the fact that some derivations with an extensive use of combinatorial identities are very lengthy when written in a full detail, a large part of them are moved to Supplements to this article.

2 The SOS coordinates

The SOS coordinates were introduced by White et al. [3]. The full description of the analytical solution of SOS coordinates can be found in [4]. A shortened, but more overviewable summary is reported in [10]. It is recommended to find details of the system in the abovementioned references. A limited description (to the extent needed for the tasks of this article) is given also in this section.

For the SOS coordinate system (R, ν, λ) [4], the basic coordinate surfaces of the R coordinate are similar oblate spheroids given in 3D Cartesian coordinates (x3D, y3D, z3D) by the formula

$$x_{{3{\text{D}}}}^{2} + y_{{3{\text{D}}}}^{2} + \left( {1 + \mu } \right)z_{{3{\text{D}}}}^{2} = R^{2}$$
(1)

The R coordinate value is equal to the equatorial radius of the particular spheroid from the family. The parameter μ characterizes the whole family of the similar oblate spheroids. The parameter μ > 0 for oblate spheroids, and the minor and major semi-axes of each member of the spheroid family have the ratio (1 + μ)−1/2. As a limit (when μ = 0), a sphere (and spherical coordinate surfaces) is determined by (1). A special reference spheroid is introduced with the equatorial radius R0, usually coinciding with the reference surface of the object for which the SOS coordinate system is to be applied.

The second set of the coordinate surfaces, orthogonal to the similar oblate spheroids defined above, are power functions in 3D of the shape [3, 4]

$$z_{{3{\text{D}}}} \sim \left( {\sqrt {x_{{3{\text{D}}}}^{2} + y_{{3{\text{D}}}}^{2} } } \right)^{1 + \mu }$$
(2)

The labeling, i.e., the coordinate ν corresponding to these surfaces, is equivalent to the so-called parametric latitude [4]. The coordinate ν is also equivalent to the parameter used for the standard parametric equation of the ellipse, representing the meridional section of the reference spheroid mentioned above, having a special equatorial radius (major semi-axis) equal to R0, i.e.,

$$\sqrt {x_{{3{\text{D}}}}^{2} + y_{{3{\text{D}}}}^{2} } \; = \;R_{0} \cos \nu \;{\text{and}}\;z_{{3{\text{D}}}} = \frac{{R_{0} }}{{\sqrt {1 + \mu } }}\sin \nu$$
(3)

Using this definition, the coordinate ν is equal to zero in the equatorial plane while it is equal to ± π/2 on the rotation axis (+ in the north,—in the south). From Eqs. (3) and (17) of [4], the relation for the power function coordinate surfaces in 3D (2) in dependence on the coordinate ν can be detailed as

$$z_{{3{\text{D}}}} \; = \; \frac{1}{{\sqrt {1 + \mu } }}\frac{1}{{R_{0}^{\mu } }}\frac{\sin \nu }{{\cos^{1 + \mu } \nu }}\left( {\sqrt {x_{{3{\text{D}}}}^{2} + y_{{3{\text{D}}}}^{2} } } \right)^{1 + \mu }$$
(4)

(the correctness of the relation can be easily tested when cos◦ν and sin◦ν according to (3) are plugged into this relation).

Finally, the third set of the coordinate surfaces, orthogonal to the previous two, are semi-infinite planes containing the rotation axis. The associated coordinate is the longitude angle λ, which is the same as its equivalent coordinate in the spherical coordinate system.

A key role in the derivation of the SOS coordinate algebra (e.g., the coordinates transformation between the SOS and the Cartesian system [4]) plays the dimensionless parameter W defined as

$$W = \left( {\frac{R}{{ R_{0} }}} \right)^{\mu } \frac{\sin \nu }{{\cos^{1 + \mu } \nu }}$$
(5)

which will be used frequently in this article. The constant-W surfaces are straight half-lines starting at the origin and rotated around the system axis, i.e., cones [4]. In what follows, the calculation is restricted to the parametric latitude \(\nu \in 0,\frac{\pi }{2}\). With this limitation, the parameter W, see Eq. (5), is always nonnegative which simplifies further derivations. Due to the symmetry (reflection with respect to the equator), expressions and solutions relevant for the SOS system in the complementary range \(\nu \in - \frac{\pi }{2},\;0\)) can be easily obtained.

The SOS coordinates can be transformed to the Cartesian coordinates using analytical expressions including infinite power series with generalized binomial coefficients [4, 10]. Relations enabling such approach were first reported by Pólya and Szegö [11]. Due to the convergency limits of the involved power series, the expressions were derived separately in so-called “the small-ν region” and separately in “the large-ν region” [4]. The border between the two regions is defined by the parameter W value (see Eq. (5)) fulfilling the following relation:

$$W_{{{\text{border}}}} \left( {R,\nu } \right) = \sqrt {\frac{{\mu^{\mu } }}{{\left( {1 + \mu } \right)^{1 + \mu } }}} \; = \;{\text{constant}}$$
(6)

This border surface is a straight half-line starting at the origin and rotated around the system axis (and forming thus a surface of a cone) [4]. Although Wborder is a constant for a fixed µ, the coordinates R and ν vary along the half-line.

3 Important basic relations of the SOS coordinate system

In order to fulfill the aim of this article, some already derived relations for the SOS coordinates [4, 10] are needed. Therefore, the relevant ones are listed in this section. The formulae are listed separately for the small-ν region and for the large-ν region.

First needed relations are the metric scale factors [4, 10]. Below are listed the metric scale factors for R coordinate,

$$h_{R} = \sqrt { \mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} } \;{\text{and}}\;h_{R} = \frac{1}{{\sqrt {1 + \mu } }}\sqrt { \mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} {\frac{\mu }{1 + \mu } k} \\ k \\ \end{array} } \right)\left( {W^{{ - \frac{2}{1 + \mu }}} } \right)^{k} }$$
(7)

as well as for ν coordinate,

$$h_{\nu } = \frac{R}{{\sqrt {1 + \mu } }}\frac{\partial W}{{\partial \nu }}\sqrt {\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \left( {\mu + 2} \right) - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} }$$

and

$$h_{\nu } = \frac{R}{1 + \mu }W^{{ - \frac{2 + \mu }{{1 + \mu }}}} \frac{\partial W}{{\partial \nu }}\sqrt {\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \frac{2 + \mu }{{1 + \mu }} + \frac{\mu }{1 + \mu }k } \\ k \\ \end{array} } \right)\left( {W^{{ - \frac{2}{1 + \mu }}} } \right)^{k} }$$
(8)

, respectively. The left side (or the first one) of the above relations shows the formula valid for the small-ν region while the right side shows the formula valid for the large-ν region. The partial derivative in the hν relations can be expressed as

$$\frac{\partial W}{{\partial \nu }} = \left( {\frac{R}{{ R_{0} }}} \right)^{\mu } \frac{{1 + \mu \sin^{2} \nu }}{{\cos^{2 + \mu } \nu }} = \frac{{1 + \mu \sin^{2} \nu }}{ \sin \nu \cos \nu }W$$
(9)

For completeness, we also report the partial derivative of W with respect to R, which is easily obtained from (5)

$$\frac{\partial W}{{\partial R}} = \frac{\mu }{R}\left( {\frac{R}{{ R_{0} }}} \right)^{\mu } \frac{\sin \nu }{{\cos^{1 + \mu } \nu }} = \frac{\mu }{R}W$$
(10)

Further, the already derived Jacobian determinant \(\Im = h_{R} h_{\nu } h_{\lambda }\) [4, 10] is listed:

$$\Im = \frac{{R^{2} }}{{\sqrt {1 + \mu } }} \frac{\partial W}{{\partial \nu }}\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \frac{\mu + 3}{2} - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k}$$
$$\Im = \frac{{R^{2} W^{{ - \frac{3 + \mu }{{1 + \mu }}}} }}{{\sqrt {\left( {1 + \mu } \right)^{3} } }} \frac{\partial W}{{\partial \nu }}\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \frac{1}{2} \frac{\mu + 3}{{1 + \mu }} + \frac{\mu }{1 + \mu }k} \\ k \\ \end{array} } \right)\left( {W^{{ - \frac{2}{1 + \mu }}} } \right)^{k}$$
(11)

Again, the first relation shows the analytic formula valid for the small-ν region, while the second relation shows the formula valid for the large-ν region. The Jacobian divided by the square of the hR metric scale factor is expressed as

$$\frac{\Im }{{h_{R}^{2} }} = \frac{{R^{2} }}{{\sqrt {1 + \mu } }} \frac{\partial W}{{\partial \nu }} \mathop \sum \limits_{k = 0}^{\infty } \frac{{ - \frac{\mu + 3}{2} }}{{{-} \frac{\mu + 3}{2} - \mu k}}\left( {\begin{array}{*{20}c} {{-} \frac{\mu + 3}{2} - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} \,\,and$$
$$\frac{\Im }{{h_{R}^{2} }} = \frac{{R^{2} }}{{\sqrt {1 + \mu } }}W^{{ - \frac{3 + \mu }{{1 + \mu }}}} \frac{\partial W}{{\partial \nu }}\mathop \sum \limits_{k = 0}^{\infty } \frac{{ - \frac{1}{2} \frac{\mu + 3}{{\mu + 1}}}}{{ - \frac{1}{2} \frac{\mu + 3}{{1 + \mu }} + \frac{\mu }{1 + \mu }k}}\left( {\begin{array}{*{20}c} { - \frac{1}{2} \frac{\mu + 3}{{1 + \mu }} + \frac{\mu }{1 + \mu }k} \\ k \\ \end{array} } \right)\left( {W^{{ - \frac{2}{1 + \mu }}} } \right)^{k}$$
(12)

for the small-ν region and for the large-ν region, respectively [4, 10].

The Jacobian divided by the square of the hν metric scale factor is derived in Appendix A of this article both for the small-ν region (the first relation, (A8) in the appendix) and for the large-ν region (the second relation, (A9) in the appendix):

$$\begin{gathered} \frac{\Im }{{h_{\nu }^{2} }} = \frac{{\sqrt {1 + \mu } }}{{\frac{\partial W}{{\partial \nu }}}}\mathop \sum \limits_{k = 0}^{\infty } \frac{{\frac{\mu + 1}{2}}}{{\frac{\mu + 1}{2} - \mu k}}\left( {\begin{array}{*{20}c} {\frac{\mu + 1}{2} - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} \;{\text{and}}\; \hfill \\ \frac{\Im }{{h_{\nu }^{2} }} = \frac{{W\sqrt {1 + \mu } }}{{\frac{\partial W}{{\partial \nu }}}}\mathop \sum \limits_{k = 0}^{\infty } \frac{\frac{1}{2}}{{\frac{1}{2} + \frac{\mu }{1 + \mu }k}}\left( {\begin{array}{*{20}c} {\frac{1}{2} + \frac{\mu }{1 + \mu }k} \\ k \\ \end{array} } \right)\left( {W^{{ - \frac{2}{1 + \mu }}} } \right)^{k} \hfill \\ \end{gathered}$$
(13)

Finally, the functions for the generalized cosine (fC) and for the generalized sine (fS) [10] in the frame of the SOS coordinate system are reported:

$$f_{C} = \sqrt {\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - 1 - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} } \,\;{\text{and}}\;$$
$$f_{C} = \frac{{W^{{ - \frac{1}{1 + \mu }}} }}{{\sqrt {1 + \mu } }}\sqrt {\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \frac{1}{1 + \mu } + \frac{\mu }{1 + \mu }k} \\ k \\ \end{array} } \right)\left( {W^{{ - \frac{2}{1 + \mu }}} } \right)^{k} }$$
(14)
$$f_{S} = W\sqrt {1 + \mu } \sqrt {\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \left( {1 + \mu } \right) - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} } \;{\text{and}}\;f_{S} = \sqrt {\mathop \sum \limits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - 1 + \frac{\mu }{1 + \mu }k} \\ k \\ \end{array} } \right)\left( {W^{{ - \frac{2}{1 + \mu }}} } \right)^{k} }$$
(15)

The left sides (the first realtions) show the formulae valid for the small-ν region, while the right sides (the second relations) for the large-ν region. As fS, fC depend solely on W (not separately on R and ν), these functions are constant at the same surfaces in 3D where W is constant. As (see the text after (5)) the constant-W surfaces are cones with the tip at the origin and the axis coinciding with the rotation axis of the coordinate system, so are also fS, fC constant on the same surfaces.

For µ = 0, the generalized cosine and the generalized sine become cosine function and sine function, respectively. Similarly as for the standard cosine and sine, the following relation is valid for the generalized cosine and the generalized sine:

$$f_{C}^{2} + f_{S}^{2} = 1$$
(16)

Further (see [10] or Appendix A, relation (A13), and using (16)) the relations of the generalized cosine and of the generalized sine to the metric scale factor hR are

$$f_{S}^{2} = \frac{1 + \mu }{\mu }\left( {1 - h_{R}^{2} } \right) , f_{C}^{2} = \frac{{\left( {1 + \mu } \right)h_{R}^{2} - 1}}{\mu }$$
(17)

The functions listed in this section all contain infinite power series with generalized binomial coefficients. Operations with them are not as straightforward as a simple multiplication or summation of two expressions. Nevertheless, it is possible to deal with them with a help of known combinatorial identities [11,12,13,14,15]. The important ones, used in the derivations also in this article, are listed in [10]. With their help, a number of more complex relations needed for the Laplace equation solution are derived in Appendix A and subsequently used in the following sections.

4 Laplace equation in SOS coordinates in azimuthally symmetric case

The Laplace equation,

$${\Delta }V = 0$$
(18)

in the SOS coordinates can be derived using the general formula for the Laplace operator \({\Delta }\). In general curvilinear orthogonal coordinates, it is reported in [16], Eq. (15). Applied to the SOS case and the symbols for the SOS coordinates R, ν, λ, the operator can be written as

$$\Delta V = \frac{1}{\Im }\left[ {\frac{\partial }{\partial R}\left( {\frac{\Im }{{h_{R}^{2} }}\frac{{\partial V\left( {R,\nu ,\lambda } \right)}}{\partial R}} \right) + \frac{\partial }{\partial \nu }\left( {\frac{\Im }{{h_{\nu }^{2} }}\frac{{\partial V\left( {R,\nu ,\lambda } \right)}}{\partial \nu }} \right) + \frac{\partial }{\partial \lambda }\left( {\frac{\Im }{{h_{\lambda }^{2} }}\frac{{\partial V\left( {R,\nu ,\lambda } \right)}}{\partial \lambda }} \right)} \right]$$
(19)

where V(R,ν) denotes the potential function (or generally any function with physical meaning on which the Laplace operator is to be applied) and \(\Im = h_{R} h_{\nu } h_{\lambda }\) is the Jacobian determinant.

The Laplace Eq. (18) in the SOS coordinates in azimuthally symmetric case (i.e., when the potential function is independent of λ) is then

$$\frac{\partial }{\partial R}\left( {\frac{\Im }{{h_{R}^{2} }}\frac{{\partial V\left( {R,\nu } \right)}}{\partial R}} \right) + \frac{\partial }{\partial \nu }\left( {\frac{\Im }{{h_{\nu }^{2} }}\frac{{\partial V\left( {R,\nu } \right)}}{\partial \nu }} \right) = 0$$
(20)

The basic strategy for its solution is to modify the equation algebraically in such a way that it enables variables separation, and thus transformation of the partial differential equation to a set of ordinary differential equations.

It follows from the shape of the involved functions (the metric scale factors and the Jacobian) in the SOS case that a standard separation procedure using Stäckel matrix (see e.g., [2]) is not applicable. Therefore, either separation is not possible, or it is a non-standard one, and another way for separation thus has to be searched for.

To test which of the abovementioned options is correct, a model potential was input into the Laplace Eq. (20). With the experience with the Laplace equation in the spherical coordinates, the model of the solution of the Laplace equation in the similar oblate spheroidal coordinates was first tested in the form of a product of three functions plus a constant VC:

$$V_{{1}} \left( {R,\nu } \right) = R^{\alpha } F\left( W \right)G\left( {\upnu } \right) + V_{{\text{C}}}$$
(21)

It was found in the first round of derivation that at least one (but certainly not the only one) solution in this form exists, and it is equal to

$$V_{{1}} \left( {R,\nu } \right) = c_{1} R\frac{{f_{S} \left( W \right)}}{{h_{R} \left( W \right)}} + V_{{\text{C}}}$$
(22)

where c1 is an arbitrary real constant, fS is the generalized sine (15) and hR is the metric scale factor of the R coordinate in the SOS coordinate system [4]. Both functions fS and hR depend on the composed variable W (see Eq. (5)), not individually on the coordinates R and/or ν. Although the derivation of the result (22) is non-trivial, it is not reported here in detail as the sequence of the steps leading to it is very similar to the one which will be reported in the second applied model further in the text.

The found result (22) indicates that—at least for some solutions of the Laplace equation in the SOS coordinates, or for some region in the space—the solution can be written without an explicitly expressed dependence on ν coordinate, only with the explicit dependence on R and on W, moreover appearing in two separate functions, a product of which (plus a constant) represents the solution. Therefore, the second applied model function reflecting this finding and to be tested was of the form

$$V_{2} \left( {R,\nu } \right) = r\left( R \right)F\left( W \right) + V_{C}$$
(23)

where r and F are functions of R and W, respectively. This new model excludes G(ν) function contained in the model (21); on the other side, it tests a more general function r(R) for the radial part of the model.

When we insert the model potential (23) into the Laplace equation in the azimuthally symmetric case (20), we obtain the equation in the form

$$\frac{\partial }{\partial R}\left( {\frac{\Im }{{h_{R}^{2} }}\frac{\partial }{\partial R}\left( {r\left( R \right)F\left( W \right)} \right)} \right) + \frac{\partial }{\partial \nu }\left( {\frac{\Im }{{h_{\nu }^{2} }}\frac{\partial }{\partial \nu }\left( {r\left( R \right)F\left( W \right)} \right)} \right) = 0$$
(24)

By an intensive use of the product and of the chain rules, and by the use of relations (A96), (A97) and (A38) derived in Appendix A, the equation can be rewritten into the form

$$\begin{gathered} \left\{ {\left[ {\left( {\mu - 2} \right)\mu + \left( {\mu + 3} \right)\mu h_{R}^{2} + \frac{{h_{R}^{4} \left( {1 + \mu } \right)^{2} }}{{f_{C}^{2} }} } \right]\frac{W}{F\left( W \right)}\frac{dF\left( W \right)}{{dW}} + \left[ {\mu^{2} + \frac{{h_{R}^{4} \left( {1 + \mu } \right)^{2} }}{{f_{C}^{2} f_{S}^{2} }}} \right]\frac{{W^{2} }}{F\left( W \right)}\frac{{d^{2} F\left( W \right)}}{{dW^{2} }}} \right\} \hfill \\ \quad+ \left\{ { \frac{{R^{2} }}{r\left( R \right)}\frac{{d^{2} r\left( R \right)}}{{dR^{2} }} - \frac{R}{r\left( R \right)}\frac{dr\left( R \right)}{{dR}}} \right\} + \left\{ {\left[ {\left( {\mu + 3} \right)h_{R}^{2} + 2\mu \frac{W}{F\left( W \right)}\frac{dF\left( W \right)}{{dW}}} \right]\frac{R}{r\left( R \right)}\frac{dr\left( R \right)}{{dR}}} \right\} = 0 \hfill \\ \end{gathered}$$
(25)

where fC and fS are the generalized cosine and sine reported in the previous chapter. This extensive derivation can be found in Supplement B, Sect. B1.

It can be easily checked that when setting µ = 0 (i.e., in the spherical case) the equation simplifies (thanks to the characteristics of the generalized cosine and sine, as well as the metric scale factor hR) to

$$\begin{gathered} \frac{1}{{\cos^{2} \nu }} \frac{W}{F\left( W \right)}\frac{dF\left( W \right)}{{dW}} + \frac{1}{{\cos^{2} \nu \sin^{2} \nu }}\frac{{ W^{2} }}{F\left( W \right)}\frac{{d^{2} F\left( W \right)}}{{dW^{2} }} \hfill \\ \quad+ \frac{{R^{2} }}{r\left( R \right)}\frac{{d^{2} r\left( R \right)}}{{dR^{2} }} + 2\frac{R}{r\left( R \right)}\frac{dr\left( R \right)}{{dR}} = 0 \hfill \\ \end{gathered}$$
(26)

Further taking into account the form of derivatives of F(W), see Eqs. (A44) and (A47) in Appendix A, we obtain—in this special case, i.e., for µ = 0—the Laplace equation in the spherical coordinates:

$$\frac{ 1}{{F\left( W \right)}}\frac{{\partial^{2} F\left( W \right)}}{{\partial \nu^{2} }} - \frac{\sin \nu }{{\cos \nu }} \frac{1}{F\left( W \right)}\frac{\partial F\left( W \right)}{{\partial \nu }} + \frac{{R^{2} }}{r\left( R \right)}\frac{{d^{2} r\left( R \right)}}{{dR^{2} }} + 2\frac{R}{r\left( R \right)}\frac{dr\left( R \right)}{{dR}} = 0$$
(27)

(it has to be taken into account that ν is latitude, not the polar angle, and that W, according to its definition by (5), does not depend on R in the case when µ = 0, but solely on ν).

5 Separation of Laplace equation in the SOS coordinates

For a solution of Eq. (25), i.e., the Laplace equation in the SOS coordinates, we can apply a special variable separation approach. It can be seen that the first two terms in (25), containing the first and the second derivative of F(W) and closed by curl brackets, depend only on the composed variable W, not explicitly on R, while the third and the fourth terms (the middle ones, containing the first and the second derivative of r(R)) depend only on R. The last term (also closed by curl brackets) is a product of a pure W-dependent function and a pure R-dependent function. It does worth to notice that there is no explicit dependence on the coordinate ν, as also the functions hR, fC and fS depend only on the composed variable W. The coordinate ν enters the equation only through W.

Equation (25) can be thus written in the following simplified form:

$$a\left( W \right) + b\left( R \right) + c\left( W \right)d\left( R \right) = 0$$
(28)

with a clear correspondence of the individual terms in (28) with the terms in (25). In order this equation being fulfilled for any W and for any R, either b(R) and d(R) has to be equal to constants for any R, or a(W) and c(W) has to be equal to constants for any W. Otherwise, two different equations would arise for a(W), c(W) or for b(R), d(R) functions when keeping R equal to a particular value R1, and when keeping R equal to another particular value R2 (or also similarly when keeping W = W1, and when keeping W = W2). If b(R1) is not equal to b(R2), then the equations

$$a\left( W \right) + b\left( {R_{1} } \right) + c\left( W \right)d\left( {R_{1} } \right) = 0$$
(29)
$$a\left( W \right) + b\left( {R_{2} } \right) + c\left( W \right)d\left( {R_{2} } \right) = 0$$
(30)

would be generally two different equations for a(W) and c(W), and they could not be fulfilled at once for all possible W. It cannot be compensated by different values d(R1) and d(R2). The same reasoning can be done for other possible cases.

When the first possibility—i.e., a(W) and c(W) (according to (25)) are constants—is tested, it is concluded (after extensive algebraic operations not reported here) that the Laplace equation cannot be fulfilled in this case.

The second possibility—i.e., the case when b(R) and d(R) are constants—leads to the following relations (easily obtained by comparison of (28) and (25)):

$$d\left( R \right) = \frac{R}{r\left( R \right)}\frac{\partial r\left( R \right)}{{\partial R}} = K_{d}$$
(31)
$$b\left( R \right) = \frac{{R^{2} }}{r\left( R \right)}\frac{{\partial^{2} r\left( R \right)}}{{\partial R^{2} }} - \frac{R}{r\left( R \right)}\frac{\partial r\left( R \right)}{{\partial R}} = K_{b}$$
(32)

where Kd, Kb are separation constants. The first differential Eq. (31) has the solution for r(R) in the form

$$r\left( R \right) = C_{d} R^{{K_{d} }}$$
(33)

This relation tells us that the radial part of the Laplace equation (at least in some solution of the Laplace equation, or in some region in space) is basically the same as for the spherical case solution, except the equatorial radius R is used instead of radius.

It follows from the second Eq. (32), see Supplement B, Sect. B2 for details, that the following equation connects the separation constants Kb and Kd:

$$K_{b} = K_{d} \left( {K_{d} - 2} \right)$$
(34)

Then, the remaining part of the Laplace Eq. (25), i.e., (in the abbreviated notation)

$$a\left( W \right) + K_{d} \left( {K_{d} - 2} \right) + c\left( W \right)K_{d} = 0$$
(35)

can be written—with a help of the separation constant Kd—in the form (see (B36) in Supplement B, Sect. B2)

$$\begin{gathered} \left[ {\mu^{2} + \frac{{h_{R}^{4} \left( {1 + \mu } \right)^{2} }}{{f_{C}^{2} f_{S}^{2} }}} \right]\frac{{W^{2} }}{F\left( W \right)}\frac{{d^{2} F\left( W \right)}}{{dW^{2} }} \hfill \\ \quad+ \left[ {\left( {\mu - 2} \right)\mu + \left( {\mu + 3} \right)\mu h_{R}^{2} + \frac{{h_{R}^{4} \left( {1 + \mu } \right)^{2} }}{{f_{C}^{2} }} + 2K_{d} \mu } \right]\frac{W}{F\left( W \right)}\frac{dF\left( W \right)}{{dW}} \hfill \\ \quad+ K_{d} \left( {\mu + 3} \right)h_{R}^{2} + K_{d} \left( {K_{d} - 2} \right) = 0 \hfill \\ \end{gathered}$$
(36)

Although it is not a fully rigorous terminology, this remaining part of the Laplace equation (and its algebraic modifications) in the SOS coordinates—depending solely on the composed parameter W—will be sometimes denoted as “angular part of the Laplace equation” in the following text, as it is the part of the Laplace equation depending also on the meridional coordinate ν hidden in W.

6 Relatively simple but informative solution of the angular part of the Laplace equation

The further strategy for the solution is to modify algebraically (36) to the form containing only the metric scale factor hR, not fC and fS, and to see how that form can be solved. With the help of relations (17), and also (A22) from Appendix A, and after rather extensive algebraic manipulations (see Supplement B, Sect. B2 for details), (36) is modified to the form containing—in the pre-factors of the derivatives and of the function F(W) itself—only powers of hR function and the parameter W:

$$\begin{gathered} \frac{{d^{2} F\left( W \right)}}{{dW ^{2} }} + \frac{1}{\mu W} \hfill \\ \frac{{\left[ {\left( {\mu^{2} - \mu - 7} \right) + 2K_{d} \left( {2 + \mu } \right)} \right]h_{R}^{2} + \left[ {\left( {\mu^{2} + 8\mu + 9} \right) - 2K_{d} \left( {1 + \mu } \right)} \right]h_{R}^{4} + \left( { - 2\mu - 4} \right)\left( {1 + \mu } \right)h_{R}^{6} + \left[ {2 - \mu - 2K_{d} } \right]}}{{\left( {2 + \mu } \right)h_{R}^{2} - 1}} \hfill \\ \frac{dF\left( W \right)}{{dW}} + \frac{{K_{d} }}{{\mu^{2} W^{2} }} \hfill \\ \frac{{\left[ { - 3\mu - 7 + \left( {2 + \mu } \right)K_{d} } \right]h_{R}^{2} + \left[ {\left( {7\mu + 8 + \mu^{2} } \right) - \left( {1 + \mu } \right)K_{d} } \right]h_{R}^{4} - \left( {1 + \mu } \right)\left( {\mu + 3} \right)h_{R}^{6} - \left[ {K_{d} - 2} \right]}}{{\left( {2 + \mu } \right)h_{R}^{2} - 1}}F\left( W \right) = 0 \hfill \\ \end{gathered}$$
(37)

Equation (37) is a rather complicated ordinary second order differential equation for F(W), moreover depending also on the separation constant Kd. Its solution is not trivial and—before finding a general solution—it would be of advantage to find at least one relatively simple solution. There is certainly a trivial solution (F(W) equal to zero) and—for Kd = 0 which makes the last term zero—another clear solution is also when F(W) is a constant. However, these solutions are not informative enough to enable steps forward in finding all the possible solutions. Therefore, still relatively simple, but a non-trivial non-constant solution has to be searched for.

Equation (37) can be possibly written also with a help of an unknown g(W) function as follows [17]:

$$\frac{{\partial^{2} F\left( W \right)}}{{\partial W^{2} }} + f\left( W \right)\frac{\partial F\left( W \right)}{{\partial W}} + \left[ {f\left( W \right)g\left( W \right) - \left[ {g\left( W \right)} \right]^{2} + \frac{\partial g\left( W \right)}{{\partial W}}} \right]F\left( W \right) = 0$$
(38)

where f(W) is the factor by the first derivative of F(W) in (37), i.e.,

$$f\left( W \right) = \frac{1}{\mu W}\frac{{\left[ {\left( {\mu^{2} - \mu - 7} \right) + 2K_{d} \left( {2 + \mu } \right)} \right]h_{R}^{2} + \left[ {\left( {\mu^{2} + 8\mu + 9} \right) - 2K_{d} \left( {1 + \mu } \right)} \right]h_{R}^{4} + \left( { - 2\mu - 4} \right)\left( {1 + \mu } \right)h_{R}^{6} + \left[ {2 - \mu - 2K_{d} } \right]}}{{\left( {2 + \mu } \right)h_{R}^{2} - 1}}$$
(39)

By a comparison of the factor by the function F(W) in (37) and (38), and by substituting f(W) according to (39), we obtain the first order differential equation for g(W) in the form:

$$\begin{gathered} \frac{{K_{d} }}{{\mu^{2} W^{2} }}\frac{{\left[ { - 3\mu - 7 + \left( {2 + \mu } \right)K_{d} } \right]h_{R}^{2} + \left[ {\left( {7\mu + 8 + \mu^{2} } \right) - \left( {1 + \mu } \right)K_{d} } \right]h_{R}^{4} - \left( {1 + \mu } \right)\left( {\mu + 3} \right)h_{R}^{6} - \left[ {K_{d} - 2} \right]}}{{\left( {2 + \mu } \right)h_{R}^{2} - 1}} \hfill \\ = + \frac{1}{\mu W}\frac{{\left[ {\left( {\mu^{2} - \mu - 7} \right) + 2K_{d} \left( {2 + \mu } \right)} \right]h_{R}^{2} + \left[ {\left( {\mu^{2} + 8\mu + 9} \right) - 2K_{d} \left( {1 + \mu } \right)} \right]h_{R}^{4} + \left( { - 2\mu - 4} \right)\left( {1 + \mu } \right)h_{R}^{6} + \left[ {2 - \mu - 2K_{d} } \right]}}{{\left( {2 + \mu } \right)h_{R}^{2} - 1}}g\left( W \right) \hfill \\ \quad- \left[ {g\left( W \right)} \right]^{2} + \frac{\partial g\left( W \right)}{{\partial W}} \hfill \\ \end{gathered}$$
(40)

Then, a solution of the second order differential equation for F(W) is transferred to a solution of the first order differential equation for g(W). If such g(W) could be found, then an exact solution of the partial Laplace Eq. (37) would be possible to find as well (see [17]). Nevertheless, the above first order nonlinear differential Eq. (40) for g(W), which is the Ricatti general equation [17], has to be solved first for g(W).

Note that writing the Laplace equation (the separated part of it depending only on W, to be precise) in the special form of (38) equation is possibly not the only option how to find a solution. Probably, other solutions could be found in cases when the equation cannot be written in the form of (38). Nevertheless, (38) could lead to one of the simplest solutions. The search for another/others would be facilitated when at least one solution is known.

Further, we still simplify the task by setting Kd = 1, which could lead to still more specific solution of (40). Nevertheless, even in such case the equation is not trivial to solve. Again, extensive trials and algebraic derivations (see Supplement B, Sect. B3 for details), which use (A75), (A111), (A29) derived in Appendix A, are employed for solving (40). The particular solution for Kd = 1 is then found with the shape

$$g\left( W \right) = \frac{1}{\mu W}\left[ {1 - \left( {1 + \mu } \right)h_{R}^{2} } \right] = - \frac{{f_{C}^{2} }}{W}$$
(41)

where the generalized cosine function fC is given by (14). Equation (38), in which we know the function g(W), has then the particular solution (see [17]):

$$F_{0} \left( W \right) = {\text{exp}}\left\{ { - \smallint g\left( W \right)dW} \right\} = {\text{exp}}\left\{ { - \smallint \frac{1}{\mu W}\left[ {1 - \left( {1 + \mu } \right)h_{R}^{2} } \right]dW} \right\} = {\text{exp}}\left\{ {\frac{\mu + 1}{\mu }\smallint \frac{{h_{R}^{2} }}{W}dW - \frac{1}{\mu }\smallint \frac{ 1}{W}dW} \right\}$$
(42)

According to Appendix A, relation (A111), the integral containing the metric scale factor hR can be expressed in the following form:

$$\smallint W^{ - 1} h_{R}^{2} dW = \ln \left( {\frac{{f_{S} }}{{f_{C} }}} \right)$$
(43)

and the particular solution of the angular part of the Laplace equation is thus

$$F_{0} \left( W \right) = {\text{exp}}\left[ {\frac{\mu + 1}{\mu }\ln \left( {\frac{{f_{S} }}{{f_{C} }}} \right) - \frac{1}{\mu }\ln W} \right] = W^{{ - \frac{1}{\mu }}} \left( {\frac{{f_{S} }}{{f_{C} }}} \right)^{{\frac{\mu + 1}{\mu }}}$$
(44)

Thanks to the identities of [11], see Appendix A, (A1), (A2), (A3), (A4), (A5), this relation can be transformed to a still simpler expression (the derivation shown in Supplement B, Sect. B3), particularly

$$F_{0} \left( W \right)\sim \frac{{f_{S} }}{{h_{R} }}$$
(45)

where fS/hR is the generalized sine divided by the metric scale factor of the coordinate R. According to (7), (14), (15), and also (A7) from Appendix A, we can write for fS/hR the analytical expressions

$$\frac{{f_{S} }}{{h_{R} }} = W\sqrt {1 + \mu } \sqrt {\frac{{\mathop \sum \nolimits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \left( {1 + \mu } \right) - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} }}{{\mathop \sum \nolimits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} }}} = W\sqrt {1 + \mu } \sqrt {\mathop \sum \limits_{k = 0}^{\infty } \frac{{ - \left( {1 + \mu } \right)}}{{ - \left( {1 + \mu } \right) - \mu k}}\left( {\begin{array}{*{20}c} { - \left( {1 + \mu } \right) - \mu k} \\ k \\ \end{array} } \right)\left( {W^{2} } \right)^{k} }$$
(46)

in the small-ν region and

$$\frac{{f_{S} }}{{h_{R} }} = \sqrt {1 + \mu } \sqrt {\frac{{\mathop \sum \nolimits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} { - 1 + \frac{\mu }{1 + \mu }k} \\ k \\ \end{array} } \right)\left( {W^{{ - { }\frac{2}{{1 + {\upmu }}}}} } \right)^{k} }}{{\mathop \sum \nolimits_{k = 0}^{\infty } \left( {\begin{array}{*{20}c} {\frac{\mu }{{1 + {\upmu }}} k} \\ k \\ \end{array} } \right)\left( {W^{{ - { }\frac{2}{{1 + {\upmu }}}}} } \right)^{k} }}} = \sqrt {1 + \mu } \sqrt {\mathop \sum \limits_{k = 0}^{\infty } \frac{ - 1}{{ - 1 + \frac{\mu }{1 + \mu }k}}\left( {\begin{array}{*{20}c} { - 1 + \frac{\mu }{1 + \mu }k} \\ k \\ \end{array} } \right)\left( {W^{{ - { }\frac{2}{{1 + {\upmu }}}}} } \right)^{k} }$$
(47)

in the large-ν region. Notice that fS/hR depends solely on W (not separatelly on R and ν). Therefore, fS/hR function is constant on the same surfaces in 3D where W is constant, i.e., on the cones with the tip at the origin and the axis coinciding with the rotation axis of the coordinate system. For an axial 2D section through the coordinate system, these cones become straight half-lines radiating from the center. For a better imagination, xz plane map of the constant levels of fS/hR function is shown in Fig. 1.

Fig. 1
figure 1

Constant levels of fS/hR function (the generalized sine divided by the metric scale factor hR) in one quadrant of xz plane for the SOS coordinate system with µ = 2. The set of the orthogonal SOS coordinate system lines is used here as a background for a better overview

As fS/hR appears to be a very important ratio in the Laplace equation solution, it does worth to derive some identities valid for this ratio. From the abovementioned derivation in Supplement B, Sect. B3, the following identity can be deduced:

$$\left( {\sqrt {1 + \mu } } \right)^{{\frac{1}{\mu }}} \frac{{f_{S} }}{{h_{R} }} = W^{{ - \frac{1}{\mu }}} \left( {\frac{{f_{S} }}{{f_{C} }}} \right)^{{\frac{\mu + 1}{\mu }}} \mathop \Rightarrow \limits^{{}} \left( {\frac{{f_{S} }}{{h_{R} }}} \right)^{\mu } = \frac{1}{{\sqrt {1 + \mu } W}}\left( {\frac{{f_{S} }}{{f_{C} }}} \right)^{1 + \mu }$$
(48)

It can be further shown (see Eqs. (153) and (157) in [10]) that the ratio fS/hR in a point is proportional to the ratio of the Cartesian coordinate z3D and the equatorial radius R of the corresponding SOS coordinate spheroid surface for that point, i.e.,

$$\frac{{f_{S} }}{{h_{R} }} = \left( {1 + \mu } \right)\frac{{z_{{3{\text{D}}}} }}{R} \mathop \Rightarrow \limits^{{}} z_{{3{\text{D}}}} = \frac{1}{1 + \mu }R\frac{{f_{S} }}{{h_{R} }}$$
(49)

For the spherical case, where µ = 0, hR = 1, fS = sin (ν) and R meaning the radius of a sphere, this relation becomes trivial: sin (ν) = z3D/R.

We can also derive Cartesian coordinates x3D, y3D in 3D as a function of fS/hR:

$$x_{{3{\text{D}}}}^{2} = \cos^{2} \lambda R^{2} \frac{{f_{C}^{2} }}{{h_{R}^{2} }} = \cos^{2} \lambda R^{2} \left( {1 - \frac{1}{1 + \mu }\frac{{f_{S}^{2} }}{{h_{R}^{2} }}} \right)$$
(50)
$$y_{{3{\text{D}}}}^{2} = \sin^{2} \lambda R^{2} \frac{{f_{C}^{2} }}{{h_{R}^{2} }} = \sin^{2} \lambda R^{2} \left( {1 - \frac{1}{1 + \mu }\frac{{f_{S}^{2} }}{{h_{R}^{2} }}} \right)$$
(51)

The derivation is done in Appendix A (see Eqs. (A25), (A26)). Therefore, the squared distance from the axis of rotation expressed in the SOS coordinate system is

$$x_{{3{\text{D}}}}^{2} + y_{{3{\text{D}}}}^{2} = R^{2} \frac{{f_{C}^{2} }}{{h_{R}^{2} }} = R^{2} \left( {1 - \frac{1}{1 + \mu }\frac{{f_{S}^{2} }}{{h_{R}^{2} }}} \right)$$
(52)

Finally, the squared position vector magnitude can be determined using (49) and (52) as

$$v_{r}^{2} = x_{{3{\text{D}}}}^{2} + y_{{3{\text{D}}}}^{2} + z_{{3{\text{D}}}}^{2} = R^{2} \left( {1 - \frac{\mu }{{\left( {1 + \mu } \right)^{2} }}\frac{{f_{S}^{2} }}{{h_{R}^{2} }}} \right) = \frac{{R^{2} }}{1 + \mu }\left( {2 + \mu - \frac{1}{{h_{R}^{2} }}} \right)$$
(53)

where (17) was used for the rightmost expression derivation.

When we return to Eq. (45), we see that the first determined non-trivial and non-constant solution of the angular part of the Laplace equation is

$$F_{A1} \left( W \right) = c_{{{\text{A}}1}} \frac{{f_{S} }}{{h_{R} }}$$
(54)

The fS/hR function is here multiplied by the arbitrary constant cA1, as such multiplication evidently also leads to a solution of (37). The index 1 denotes that this is the solution valid for the separation constant Kd equal to 1, while the index A denotes that this is the first-kind solution of the expected two different kinds of solution (as the equation to be solved is the second-order differential equation).

Note that for µ = 0, fS/hR results in sin (ν). In this limit, the solution function is

$$\left. { F_{0} \left( W \right)} \right|_{\mu = 0} \sim \sin \nu$$
(55)

This function is basically the solution of the angular part of the Laplace equation in the spherical coordinates, particularly the first-degree Legendre polynomial (considering that we do not have polar coordinates—the origin of ν coordinate is here at the equator). It does worth to note that powers of sin(ν) form (within the Legendre polynomials) the angular part of the solution of the Laplace equation in the spherical coordinates.

7 Simple solution of the second kind

It has to be noted that (54) is only a particular solution of Eq. (38). Nevertheless, the general solution for Kd = 1 can be obtained as well. The general solution (for Kd = 1) is given by (see [17])

$$F\left( W \right) = c_{{{\text{A}}1}} F_{0} \left( W \right) + c_{B1} F_{0} \left( W \right)\smallint \frac{1}{{\left[ {F_{0} \left( W \right)} \right]^{2} }}{\text{exp}}\left[ { - \smallint f\left( W \right)dW} \right]dW = F_{A1} \left( W \right) + F_{B1} \left( W \right)$$
(56)

The first part, i.e., by cA1, is a solution of its own, as it is the already found solution (54). The second part, i.e., the function FB1(W), is thus a new, separate, second-kind solution:

$$F_{B1} \left( W \right) = c_{B1} F_{0} \left( W \right)\smallint \frac{1}{{\left[ {F_{0} \left( W \right)} \right]^{2} }}{\text{exp}}\left[ { - \smallint f\left( W \right)dW} \right]dW$$
(57)

To find it in an analytic form, we have to determine the integrals (inner and outer) in (57). The integration and then the derivation of the second-kind solution for Kd = 1 is done in Supplement B, Sect. B4 (the relations (14), (15), (17), and also (A75), (A1), (A2), (A3), (A4), (A5), (A7) from Appendix A, as well as Eq. (82) from [4] are employed in the supplement). The second possible real solution of the angular part of the separated Laplace equation for the given model (Kd = 1) is then derived in the form

$$F_{B1} \left( W \right) = c_{B1} \frac{{f_{S} }}{{h_{R} }}\left[ {\ln \left( {\frac{{f_{S} }}{{\left( {1 + \mu } \right)f_{C} }} + \sqrt {1 + \frac{{f_{S}^{2} }}{{\left( {1 + \mu } \right)^{2} f_{C}^{2} }}} } \right) - \sqrt {1 + \frac{{\left( {1 + \mu } \right)^{2} f_{C}^{2} }}{{f_{S}^{2} }}} } \right]$$
(58)

or, equivalently, with inverse hyperbolic sine instead of logarithm,

$$F_{B1} \left( W \right) = c_{B1} \frac{{f_{S} }}{{h_{R} }}\left[ {\sinh^{ - 1} \left( {\frac{{f_{S} }}{{\left( {1 + \mu } \right)f_{C} }}} \right) - \sqrt {1 + \frac{{\left( {1 + \mu } \right)^{2} f_{C}^{2} }}{{f_{S}^{2} }}} } \right]$$
(59)

(taking into account the well-known relation between the inverse hyperbolic sine and the logarithm functions).

A correctness of this more complex solution (denoted “the second-kind solution” in what follows) of the full Laplace Eq. (24), in which the found radial part solution (33) with Kd = 1 is used, is successfully tested in Supplement B Sect. B5 ((17), (10), (16), and also (A91), (A93), (A18), (A98), (A78), (A92), (A38) listed in Appendix A are employed there). It is confirmed that (58) (as well as (59)) is one of the solutions.

8 The found solutions rewritten to the form suitable for further generalization

The found second-kind solution for Kd = 1, i.e., (58), contains relations with fS/fC. Nevertheless, it can be written in terms of fS/hR as well, as (see Eq. (A24) in Appendix A)

$$\frac{{f_{S}^{2} }}{{f_{C}^{2} }} = \frac{{ \frac{{f_{S}^{2} }}{{h_{R}^{2} }}}}{{1 - \frac{1}{1 + \mu } \frac{{f_{S}^{2} }}{{h_{R}^{2} }}}}$$
(60)

It is of advantage to define a new function

$$s \equiv \frac{{f_{S} }}{{h_{R} }}$$
(61)

The power series expressions of s are recorded in (46) and (47). As \(h_{R}^{2}\) is equal to 1 on the equator and to 1/(1 + µ) on the polar axis (see Eq. (91) in [4] and employ the fact that hR is constant on straight lines going through the origin), and as fS is 0 on the equator and 1 on the polar axis (see [10], Eqs. (114) and (115)), the ratio fS/hR is 0 on the equator, while it is equal to \(\sqrt {1 + \mu }\) on the polar axis, i.e.,

$$\left. s \right|_{{{\upnu } = 0}} = \left. {\frac{{f_{S} }}{{h_{R} }}} \right|_{{{\upnu } = 0}} = 0 \;{\text{ and }}\; \left. s \right|_{{{\upnu } = {\uppi }/2}} = \left. {\frac{{f_{S} }}{{h_{R} }}} \right|_{{{\upnu } = {\uppi }/2}} = \sqrt {1 + \mu }$$
(62)

Further (see Eq. (91) in [4] and Eq. (123) in [10]), on the reference spheroid, s can be expressed in a closed form as

$$\left. s \right|_{{R = R_{0} }} = \left. {\frac{{f_{S} }}{{h_{R} }}} \right|_{{R = R_{0} }} = \frac{{f_{S0} }}{{h_{R0} }} = \frac{{\sqrt {\frac{1 + \mu }{{1 + \mu \sin^{2} {\upnu }}}\sin^{2} {\upnu }} }}{{\frac{1}{{\sqrt {1 + \mu \sin^{2} {\upnu }} }}}} = \sqrt {1 + \mu } \sin {\upnu }$$
(63)

With a help of (61), the second-kind solution (58) in terms of s is (see the derivation in Supplement C, part C1)

$$F_{B1} \left( s \right) = c_{B1} \left[ {s\frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right)\left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right) - \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]$$
(64)

or equivalently

$$F_{B1} \left( s \right) = c_{B1} \left[ {s\frac{1}{2}\ln \left( {\frac{{\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } + s}}{{\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } - s}}} \right) - \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]$$
(65)

Note that the expression in the square brackets simplifies, for µ = 0 (i.e., for the spherical case), to

$$\left[ {s\frac{1}{2}\ln \left( {\frac{1 + s}{{1 - s }}} \right) - 1} \right]$$
(66)

which is the first degree Legendre function of the second kind.

Similarly, the first determined solution of the angular part of the Laplace equation, i.e., the first-kind solution, is written in terms of s as

$$F_{A1} \left( s \right) = c_{A1} s$$
(67)

which is (for µ = 0) the Legendre function of the first kind (or Legendre polynomial) of the first degree (see Eq. (55)).

It has to be noted that the range of the variable s is, in the SOS case, larger than in the spherical case (where the range is < –1, 1 >). According to (62), the upper limit of s is \(\sqrt {1 + \mu }\) in the SOS case.

9 The angular part of the Laplace equation rewritten to the form suitable for further generalization

We now know that solutions exist resembling Legendre functions of the first degree and both of the first kind and of the second kind. Therefore, it does worth to test if the angular part of the Laplace equation in the SOS coordinates can be written in the form similar to the Legendre equation.

Further step is thus to rewrite the angular part of the Laplace equation in the SOS coordinates (37) to the form containing only the variable s. The derivation is reported in Supplement C, part C2. With the help of the relations (A19), (A20) and (A31) from Appendix A, we arrive at the equation

$$\begin{gathered} { } \left[ {\left( {1 + \mu } \right) - s^{2} } \right]\left[ {\left( {1 + \mu } \right)^{2} - \mu s^{2} } \right]\frac{{d^{2} F\left( s \right)}}{{ds^{2} }} \hfill \\ \quad+ s\left[ { - \left( {3\mu + 2} \right)\left( {1 + \mu } \right) + 2\mu \left( {1 + \mu } \right)K_{d} + \mu \left( {3 - 2K_{d} } \right)s^{2} } \right]\frac{dF\left( s \right)}{{ds}} \hfill \\ \quad+ K_{d} \left[ {\left( {K_{d} - 2} \right)\mu s^{2} + \left( {1 + \mu } \right)K_{d} + \left( {1 + \mu } \right)^{2} } \right]F\left( s \right) = 0 \hfill \\ \end{gathered}$$
(68)

termed “generalized Legendre equation” in what follows. Indeed, for a special case when µ = 0 (i.e., for the spherical case) the equation reduces to the well-known Legendre equation

$${ } \left( {1 - s^{2} } \right)\frac{{d^{2} F\left( s \right)}}{{ds^{2} }} - 2s\frac{dF\left( s \right)}{{ds}} + K_{d} \left( {K_{d} + 1} \right)F\left( s \right) = 0$$
(69)

10 Solutions for the special case K d = 0

We already know the solution of (68) in the special case Kd = 1 (see Eq. (67) and (65)). We can relatively easily find the solutions in the case when the separation constant Kd = 0. (68) then simplifies to

$${ } \left[ {\left( {1 + \mu } \right) - s^{2} } \right]\left[ {\left( {1 + \mu } \right)^{2} - \mu s^{2} } \right]\frac{{d^{2} F\left( s \right)}}{{ds^{2} }} + s\left[ { - \left( {3\mu + 2} \right)\left( {1 + \mu } \right) + 3\mu s^{2} } \right]\frac{dF\left( s \right)}{{ds}} = 0$$
(70)

It is clear that one solution (the first-kind solution) is when F(s) equals to a constant, here denoted cA0:

$$F_{A0} \left( s \right) = c_{A0}$$
(71)

The second-kind solution is more complicated. Nevertheless, if we use—as a test function—the part of the already found second-kind first-degree solution (64), particularly the logarithm-based function,

$$\frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right) \left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right)$$
(72)

we get its first and second derivatives as follows. The first derivative is

$$\begin{gathered} \frac{d}{ds}\left[ {\sinh^{ - 1} \left( {\frac{1}{{\sqrt {1 + \mu } }} \frac{s}{{\sqrt {\left( {1 + \mu } \right) - s^{2} } }}} \right)} \right] = \frac{d}{ds}\left[ {\frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right) \left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right)} \right] \hfill \\ \quad= \frac{{\left( {1 + \mu } \right)}}{{\left( {\left( {1 + \mu } \right) - s^{2} } \right)}}\frac{1}{{\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } }} \hfill \\ \end{gathered}$$
(73)

, and the second derivative is

$$\begin{gathered} \frac{d}{ds}\left\{ {\frac{d}{ds}\left[ {\frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right) \left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right)} \right]} \right\} = \frac{d}{ds}\left\{ {\frac{{\left( {1 + \mu } \right)}}{{\left( {\left( {1 + \mu } \right) - s^{2} } \right)}}\frac{1}{{\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } }}} \right\} \hfill \\ \quad= \frac{{\left( {1 + \mu } \right)s}}{{\left( {\left( {1 + \mu } \right) - s^{2} } \right)^{2} }}\frac{{\left[ {\left( {3\mu + 2} \right)\left( {1 + \mu } \right) - 3\mu s^{2} } \right]}}{{\left[ {\left( {1 + \mu } \right)^{2} - \mu s^{2} } \right]\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } }} \hfill \\ \end{gathered}$$
(74)

The derivatives inserted to (70) result in the equation

$$\begin{gathered} { } \left[ {\left( {1 + \mu } \right) - s^{2} } \right]\left[ {\left( {1 + \mu } \right)^{2} - \mu s^{2} } \right]\frac{{\left( {1 + \mu } \right)s}}{{\left( {\left( {1 + \mu } \right) - s^{2} } \right)^{2} }}\frac{{\left[ {\left( {3\mu + 2} \right)\left( {1 + \mu } \right) - 3\mu s^{2} } \right]}}{{\left[ {\left( {1 + \mu } \right)^{2} - \mu s^{2} } \right]\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } }} \hfill \\ \quad+ s\left[ { - \left( {3\mu + 2} \right)\left( {1 + \mu } \right) + 3\mu s^{2} } \right]\frac{{\left( {1 + \mu } \right)}}{{\left( {\left( {1 + \mu } \right) - s^{2} } \right)}}\frac{1}{{\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } }} = 0 \hfill \\ \end{gathered}$$
(75)

After cancellation of a number of terms in the equation, what remains is

$${ } \left[ {\left( {3\mu + 2} \right)\left( {1 + \mu } \right) - 3\mu s^{2} } \right] + \left[ { - \left( {3\mu + 2} \right)\left( {1 + \mu } \right) + 3\mu s^{2} } \right] = 0$$
(76)

which is obviously fulfilled for any s. Then, the given function (72) multiplied by a constant, i.e.,

$$F_{B0} \left( s \right) = c_{B0} \frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right) \left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right)$$
(77)

is the searched solution of the second kind for Kd = 0.

11 Polynomials as a solution of the angular part of the Laplace equation in the SOS coordinates

It was shown in the previous text that s = fS/hR function is a basis for the found simple solutions of the angular part of the Laplace equation in the SOS coordinates for Kd = 0 and Kd = 1. Moreover, fS/hR function becomes sin (ν) in the limit µ = 0. At the same time, it is known that powers of sin (ν) form (within the Legendre polynomials) the solution of the Laplace equation in the spherical coordinates.

Therefore, a possibility is further tested, if the angular part of the Laplace equation in the SOS coordinates for various Kd could be written generally in the form of Legendre-like polynomials, which employ fS/hR (i.e., the generalized sine divided by the metric scale factor of R coordinate) instead of the standard sine as the argument, i.e.,

$$F_{{A\beta_{2} }} \left( s \right) = \mathop \sum \limits_{{j = \beta_{1} }}^{{\beta_{2} }} c_{j} \left( {\frac{{f_{S} }}{{h_{R} }}} \right)^{j} = \mathop \sum \limits_{{j = \beta_{1} }}^{{\beta_{2} }} c_{j} s^{j}$$
(78)

Here, cj are unknown constants, and β1, β2, β2 ≥ β1, are some integer numbers determining the number and power of the solution terms. This model, hopefully, will lead to the first-kind solutions when proper cj constants are found.

The angular part of the Laplace Eq. (68) can be—with this model—written in the form

$$\begin{gathered} { } \left[ {\left( {1 + \mu } \right) - s^{2} } \right]\left[ {\left( {1 + \mu } \right)^{2} - \mu s^{2} } \right]\frac{{d^{2} F_{{A\beta_{2} }} \left( s \right)}}{{ds^{2} }} \hfill \\ + s\left[ { - \left( {3\mu + 2} \right)\left( {1 + \mu } \right) + 2\mu \left( {1 + \mu } \right)K_{d} + \mu \left( {3 - 2K_{d} } \right)s^{2} } \right]\frac{{dF_{{A\beta_{2} }} \left( s \right)}}{ds} \hfill \\ \quad+ K_{d} \left[ {\left( {K_{d} - 2} \right)\mu s^{2} + \left( {1 + \mu } \right)K_{d} + \left( {1 + \mu } \right)^{2} } \right]F_{{A\beta_{2} }} \left( s \right) = 0 \hfill \\ \end{gathered}$$
(79)

The first and second derivatives of \(F_{{A\beta_{2} }} \left( s \right)\) (which are easily acquired for a polynomial function), as well as the polynomial \(F_{{A\beta_{2} }} \left( s \right)\) itself, are inserted to (79). The equation is subsequently simplified. This is done in Supplement D, part D1. Then, the following equation is obtained:

$$\begin{gathered} \mathop \sum \limits_{{j = \beta_{1} }}^{{\beta_{2} }} c_{j} \left\{ {\left( {1 + \mu } \right)^{3} j\left( {j - 1} \right) + \left( {1 + \mu } \right)\left[ { - \left( {1 + 2\mu } \right)j^{2} + \left\{ {2\mu K_{d} - \left( {1 + \mu } \right)} \right\}j + K_{d} \left[ {K_{d} + \left( {1 + \mu } \right)} \right]} \right]s^{2} } \right. \hfill \\ \quad\left. { + \mu \left[ {j^{2} + 2\left( {1 - K_{d} } \right)j + K_{d} \left( {K_{d} - 2} \right)} \right]s^{4} } \right\}s^{j - 2} = 0 \hfill \\ \end{gathered}$$
(80)

This is the angular part of the Laplace equation in the SOS coordinates when (78) polynomial is used as a solution model.

It can be seen that the term with the pre-factor \(j\left( {j - 1} \right)\left( {1 + \mu } \right)^{3}\) in (80) will be always the term with the lowest power when j is equal to β1, and—moreover—it cannot be compensated by any other term in the sum as no other has that low power. Therefore, it has to be zero for j equal to β1. Similarly, this term cannot be compensated by any other term (as no other has that power of s) also for j equal to β1 + 1. This restricts the bottom limit of the sum, β1, to 0. In such case (β1 = 0), both abovementioned terms are zero thanks to the pre-factor \(j\left( {j - 1} \right)\). Thus, we select β1 = 0 in what follows.

Further, it can be seen that the term with the fourth power in s will always give in the sum the term with the largest power in s = fS/hR when j is equal to β2. Moreover, it cannot be compensated by any other term in the sum as no other has that large power. Therefore, the pre-factor has to be zero itself (in order the particular \(c_{{\beta_{2} }}\) could be nonzero). It can be easily shown that in order to fulfill

$$\mu \left[ {\beta_{2}^{2} + 2\left( {1 - K_{d} } \right)\beta_{2} + K_{d} \left( {K_{d} - 2} \right)} \right] = 0$$
(81)

, the roots have to be β2 = Kd or β2 = Kd–2. Moreover, it can be seen that the term with the fourth power in s in (80) will always give in the sum the term with the second largest power in s when j is equal to β2–1. It cannot be compensated by any other term as no other has that large power. It can be easily shown that in order to fulfill

$$\mu \left[ {\left( {\beta_{2} - 1} \right)^{2} + 2\left( {1 - K_{d} } \right)\left( {\beta_{2} - 1} \right) + K_{d} \left( {K_{d} - 2} \right)} \right] = 0$$
(82)

, the roots have to be β2 = Kd ± 1, or \(c_{{\beta_{2} - 1}}\) has to be zero. As the β2 roots for the abovementioned cases j = β2 and j = β2–1 are mutually incompatible, it is clear that \(c_{{\beta_{2} - 1}}\) has to be zero, and that the upper limit of the sum, β2, is either equal to Kd or to Kd–2. We conservatively select the larger one, i.e., Kd. Moreover, as the upper limit of the sum, β2, has to be an integer number, then Kd has to be an integer, too. Further, it has to be positive or zero (i.e., Kd ≥ 0), according to our condition β2 ≥ β1. Thus, Kd cannot be negative. This is a significant result, as it is different from the spherical case (i.e., when µ = 0, also discussed in Supplement D part D1) for which negative constants Kd are also allowed. It means that (78) model polynomial cannot lead to a solution for any negative separation constant Kd when µ > 0. Further search for solutions with negative exponents Kd in the radial part (i.e., in fact for the exterior points up to the infinity) has still to continue in the future for the spheroidal (SOS) case.

For integer Kd ≥ 0, we further employ the above derived limits in the sum of (80), and we then have the basic equation for the model (78), i.e., for the first-kind solutions, in the form

$$\begin{aligned} \mathop \sum \limits_{j = 0}^{{K_{d} }} c_{j} &\left\{\left( {1 + \mu } \right)^{3} j\left( {j - 1} \right) + \left( {1 + \mu } \right)\left[ { - \left( {1 + 2\mu } \right)j^{2} + \left\{ {2\mu K_{d} - \left( {1 + \mu } \right)} \right\}j + K_{d} \left[ {K_{d} + \left( {1 + \mu } \right)} \right]} \right]s^{2}\right.\\ &\quad \left.+ \mu \left[ {j^{2} + 2\left( {1 - K_{d} } \right)j + K_{d} \left( {K_{d} - 2} \right)} \right]s^{4} \right\}s^{j - 2} = 0 \end{aligned}$$
(83)

12 Solutions of the first kind for the special cases K d = 2, 3, 4, 5 and 6

We already know the solution in the form of polynomial for Kd = 0 and 1 (see Eqs. (71) and (67)). In Supplement D, part D2, the polynomial solutions of (83) for Kd = 2, 3, 4, 5 and 6 are derived, and they are reported here.

For Kd = 2, the polynomial solution is

$$F_{A2} \left( s \right) = \frac{1}{2}\left[ {\left( {\mu + 3} \right)s^{2} - \left( {1 + \mu } \right)^{2} } \right] ,$$
(84)

while it is

$$F_{A3} \left( s \right) = \frac{1}{2}\left[ {\left( {3\mu + 5} \right)s^{3} - 3\left( {1 + \mu } \right)^{2} s} \right]$$
(85)

for Kd = 3. The polynomial solution for Kd = 4 is

$$F_{A4} \left( s \right)\sim \left[ {\left( {3\mu^{2} + 30\mu + 35} \right)s^{4} - 2 \cdot 3\left( {\mu + 5} \right)\left( {1 + \mu } \right)^{2} s^{2} + 3\left( {1 + \mu } \right)^{4} } \right] ,$$
(86)

and the solution for Kd = 5 is

$$F_{A5} \left( s \right)\sim \left[ {\left( {15\mu^{2} + 70\mu + 63} \right)s^{5} - 10\left( {3\mu + 7} \right)\left( {1 + \mu } \right)^{2} s^{3} + 15\left( {1 + \mu } \right)^{4} s^{1} } \right]$$
(87)

Finally, the polynomial solution for Kd = 6 is

$$\begin{gathered} F_{A6} \left( s \right)\sim \left[ {\left( {5\mu^{3} + 105\mu^{2} + 315\mu + 231} \right)s^{6} - 5\left( {3\mu^{2} + 42\mu + 63} \right)\left( {1 + \mu } \right)^{2} s^{4} } \right. \hfill \\ \left. {\quad \quad \quad \quad + 3 \cdot 5\left( {\mu + 7} \right)\left( {1 + \mu } \right)^{4} s^{2} - 5\left( {1 + \mu } \right)^{6} } \right] \hfill \\ \end{gathered}$$
(88)

Notice that—for µ = 0—the derived polynomials reduce to the Legendre polynomials of degree 2 to 6. For the found polynomial solutions with various Kd, normalization factors which would enable employing a proper recursion formula have still to be determined. Such formula is the topic of the next section.

13 Generalized Legendre polynomials and Bonnet-like recursion formula

Derivation of the higher-degree polynomial solutions of the angular part of the separated Laplace equation in the SOS coordinates (similarly as in the previous section) is increasingly more and more time demanding for the extent of calculations involved. Therefore, it would be of advantage to have a recursion formula which can derive relatively easily the higher-degree polynomial from a limited number of the lower-degree polynomials. For the spherical coordinates case, such recursion is known as Bonnet formula. Its derivation is based on a formal expansion of the following generating function in powers of t,

$${ }\left[ {1 - 2xt + t^{2} } \right]^{{ - { }\frac{1}{2}}} = \mathop \sum \limits_{n = 0}^{\infty } P_{n} \left( x \right)t^{n}$$
(89)

where Pn(x) are the Legendre polynomials. The Bonnet recursion formula for the spherical case Legendre polynomials is then

$$P_{n + 1} \left( x \right) = \frac{2n + 1}{{n + 1}}xP_{n} \left( x \right) - \frac{n}{n + 1}P_{n - 1} \left( x \right){ }$$
(90)

For SOS coordinates, derivation based on the already known seven Legendre-like polynomials (for Kd = 0, 1, 2, 3, 4, 5 and 6, see the previous sections) results in the similar formula

$$P_{n + 1}^{SI} \left( s \right) = \frac{2n + 1}{{n + 1}}\frac{1}{1 + \mu }sP_{n}^{SI} \left( s \right) - \frac{n}{n + 1}\left( {1 - \frac{\mu }{{\left( {1 + \mu } \right)^{2} }}s^{2} } \right)P_{n - 1}^{SI} \left( s \right){ }$$
(91)

which reproduces the first seven previously derived SOS Legendre-like polynomials \(\left( {n = K_{{\text{d}}} ,\;P_{n}^{SI} \left( s \right)\sim F_{An} \left( s \right)} \right)\), except different normalization factors. These polynomials are summarized in Table 1. We will call them the generalized Legendre polynomials (or generalized Legendre functions of the first kind), and use for them the notation \(P_{n}^{SI} \left( s \right)\) where the upper index SI discriminates them from the standard Legendre polynomials \(P_{n} \left( s \right)\) applicable in the spherical case. The “I” part of the upper index tells that these polynomials are valid only for the interior solution of the angular part of the separated Laplace equation.

Table 1 Table of the first several lower-degree generalized Legendre polynomials PnSI(s) for SOS coordinates with the proper normalization factors for the first-kind solution of the generalized Legendre equation (i.e., the angular part of the separated Laplace equation in the SOS coordinates) up to the sixth degree

For µ = 0, it can be easily seen that the recursion formula (91) reduces to the well-known Bonnet formula (90) for the spherical case Legendre polynomials.

In Supplement D, part D3, the recursion formula (91) is tested. It is used to determine higher-degree polynomials (Kd = 2, 3, 4, 5 and 6) from the first two (Kd = 0, 1). The results of the use of the Bonnet-like recursion formula (91) correspond to the ones determined in the previous section. The calculation by-products are the correct normalization coefficients of the polynomials, which are then included into the polynomials recorded in Table 1. In Table 1, therefore, the generalized Legendre polynomials PnSI for the SOS coordinates with the proper normalization factors for the interior first-kind solution of the generalized Legendre equation up to 6th degree are listed.

It can be seen from Table 1 that for µ = 0, the SOS case polynomial solutions are the same as for the spherical case (as s = fS/hR is then equal to sin ν = sin χ). It can be also seen that the Legendre-like polynomials PnSI are finite for any nonnegative µ.

When the generalized Legendre polynomials PnSI(s) are compared (see Table 1) with the Legendre polynomials Pn(s) applicable for the spherical case (µ = 0), we see that there are two main differences. First, the factors by the powers of s are no more simple integers k0, but they are more complex factors containing µ, which are (without a mathematical rigor) of the form (k0 + k1µ + k2µ2 + …)(1 + µ)l. For µ = 0, these factors result in the same integer number as for the spherical case Legendre polynomials, as expected. Further, for µ ≠ 0, a normalization factor exists differing from the spherical case one by 1/(1 + µ)n for each generalized Legendre polynomial. In the limit of the spherical case (µ → 0), the factor 1/(1 + µ)n becomes equal to one for all the polynomials. For the spheroidal case (µ > 0), nevertheless, it differs from 1 and, therefore, is essential when employing the recursion formula.

This above analysis indicates (although it is not a full rigorous proof for an arbitrary polynomial degree) that the generalized Legendre polynomials can be derived by the use of the recursion formula (91) also for the higher degrees than those listed in Table 1. It also indicates (although it is not proven rigorously) that the generalized Legendre polynomials determined in this way are solutions of the generalized Legendre equation (which is equivalent to the angular part of the Laplace equation in the SOS coordinates).

While the Legendre polynomials are orthogonal (with respect to the weighting function equal to 1), simple integration tests show that the generalized Legendre polynomials are not orthogonal with respect to the same weighting function. It is, therefore, more complicated to find proper coefficients for a solution given by particular boundary conditions. This is, nevertheless, out of the scope of this paper, and we leave finding of a proper weighting function on experienced mathematicians. (We only note that the known procedures used for Bessel functions weighting [18, 19] do not work as the Kd separation constant is present in (68) equation also in the factor by the first derivative, not only by the function itself.)

14 The second-kind solutions of the second degree and of the third degree

Let us title the second solution of the generalized Legendre equation (or equivalently of the angular part of the Laplace equation in the SOS coordinates) the generalized Legendre function of the second kind. We will denote it QnS(s), where n denotes degree. Two second-kind solutions were previously found: for Kd = 0 (see Eq. (77)), to which Q0S(s) is proportional, i.e.,

$$Q_{0}^{S} \left( s \right) = \frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right) \left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right)$$
(92)

and for Kd = 1 (see Eq. (64)), to which Q1S(s) is proportional, i.e.,

$$Q_{1}^{S} \left( s \right) = \frac{1}{1 + \mu }\left[ {s\frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right)\left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right) - \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]$$
(93)

The above relations for the generalized Legendre functions of the second kind are with the normalization factor set in such a way that the initial part of the relations equals to P0SI(s)Q0SI(s) and P1SI(s)Q0SI(s).

According to (62), the upper limit (i.e., on the pole) of s is \(\sqrt {1 + \mu }\). When assessing the denominator value in the logarithm function, it is seen that the generalized Legendre functions of the second kind diverge on the axis of rotation, similarly as in the spherical case. Therefore, the second-kind solution is probably of less applicability in physics than the first-kind solution. Nevertheless, as there could be some special applications also for the second-kind solution in case of singularity, e.g., when solving the Laplace equation in Schwarzschild spacetime [20], it does worth to derive the higher-degree second-kind solutions of the generalized Legendre equation in the SOS case as well.

The second degree solution of the second kind was found by a tedious way of testing a model function. The derivation is done in Supplement E, part E1. The result is as follows:

$${ }Q_{2}^{S} \left( s \right)\sim \frac{{\left( {3 + \mu } \right)s^{2} - \left( {1 + \mu } \right)^{2} }}{2}\frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right) \left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right) - \frac{3}{2}s \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} }$$
(94)

It can be easily checked that—in the special case when µ = 0—it would simplify to the classical second-kind Legendre function of the second degree.

For further test of a prospective recursion procedure, it does worth to have also the third degree solution. Extensive derivation and algebraic manipulations shown in detail in Supplement E, part E2, lead to the following formula for the solution:

$$\begin{gathered} Q_{3}^{S} \left( s \right)\sim \frac{1}{2}\left( {\left( {5 + 3\mu } \right)s^{3} - 3\left( {1 + \mu } \right)^{2} s} \right)\frac{1}{2}\ln \left( { \frac{{\left[ {s + \sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } } \right]^{2} }}{{\left( {1 + \mu } \right) \left[ {\left( {1 + \mu } \right) - s^{2} } \right] }}} \right) \hfill \\ \quad \quad - \frac{1}{2}\left( {\frac{4\mu + 15}{3}s^{2} - \frac{4}{3}\left( {1 + \mu } \right)^{2} } \right)\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } { } \hfill \\ \end{gathered}$$
(95)

When µ = 0, then the function simplifies to the classical second-kind Legendre function of the third degree, as can be easily found by the substitution µ = 0:

$$\left. {Q_{3}^{S} \left( s \right)} \right|_{\mu = 0} = Q_{3} \left( s \right) = \frac{1}{2}\left( {5s^{3} - 3s} \right)\frac{1}{2}\ln \left( {\frac{1 + s}{{1 - s}}} \right) - \left( {\frac{5}{2}s^{2} - \frac{2}{3}} \right){ }$$
(96)

15 The second-kind solutions

The already found second-kind solutions of the degree 0 to 3 are listed in Table 2. In Table 2, there are—for comparison—also listed the classical Legendre functions of the second kind for the spherical case up to the degree six. It has to be noted that standardly, these functions are reported only up to the degree 3. Therefore, Q4(x) and Q5(x) were obtained as the corresponding coefficient of expansion of the generating function

$$\left[ {1 - 2xt + t^{2} } \right]^{{ - { }\frac{1}{2}}} \sinh^{ - 1} \left( {\frac{x - t}{{\sqrt {1 - x^{2} } }}} \right) = \mathop \sum \limits_{n = 0}^{\infty } Q_{n} \left( x \right)t^{n}$$
(97)
Table 2 Generalized Legendre functions of the second-kind QnSI applicable for the solution of the Laplace equation in the SOS coordinates up to the degree six with proper normalization factors

A generating function different from (97) which can help to determine the higher-degree Legendre functions of the second-kind Qn(x) is based on the generating function

$$\left[ {1 - 2xt + t^{2} } \right]^{{ - { }\frac{1}{2}}} \ln \left( {\frac{{ - x + t + \left[ {1 - 2xt + t^{2} } \right]^{{{ }\frac{1}{2}}} }}{1 - x}} \right) = \mathop \sum \limits_{n = 0}^{\infty } U_{n} \left( x \right)t^{n}$$
(98)

suggested in [21]. Un(x) functions are here the polynomials forming the second part (i.e., the one not by the logarithm) of the Legendre functions of the second kind, and thus

$$Q_{n} \left( x \right) = P_{n} \left( x \right)Q_{0} \left( x \right) - U_{n} \left( x \right)$$
(99)

The classical Legendre functions of the second-kind Q5(x) and Q6(x) in Table 2 were obtained using (99).

It is known that for the spherical case solution (µ = 0), the Bonnet recursion formula (90) is valid also for the second-kind solutions. With its help, higher-degree second-kind Legendre functions can be relatively easily derived when µ = 0. It indicates that the Bonnet-like formula (91) could similarly work also for the second-kind generalized Legendre functions, i.e., for the SOS coordinates case.

It can be deduced by comparing PnSI(s) in Table 1 with Eqs. (92), (93), (94) and (95) that the following relation holds for the second-kind functions:

$$Q_{n}^{SI} \left( s \right) = P_{n}^{SI} \left( s \right)Q_{0}^{SI} \left( s \right) - T_{n} \left( s \right)\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} } { }$$
(100)

where Tn(s) is a polynomial (especially, T0(s) = 0, T1(s) = 1/(1 + µ)). The first term in (100) has identical form as for the standard Legendre functions (see e.g., [22, 23]), and the second term contains special function \(\sqrt {\left( {1 + \mu } \right)^{2} - \mu s^{2} }\) which equals to 1 for µ = 0. In Supplement E part E3, a test is performed if the recursion formula (91) can be used (similarly as for the standard Legendre functions) also for the generalized Legendre function of the second kind, i.e.,

$$Q_{n + 1}^{SI} \left( s \right) = \frac{2n + 1}{{n + 1}}\frac{1}{1 + \mu }sQ_{n}^{SI} \left( s \right) - \frac{n}{n + 1}\left( {1 - \frac{\mu }{{\left( {1 + \mu } \right)^{2} }}s^{2} } \right)Q_{n - 1}^{SI} \left( s \right){ }$$
(101)

and which normalization coefficients are to be used. The derivation confirmed that the recursion formula reproduces the found solutions for the second (Eq. (94)) and third (Eq. (95)) degree function. The functions with a proper normalization coefficients for the use in the recursion formula are reported in Table 2. Further, (101) is used in Supplement E, part E3, also for determination of the second-kind functions Q4SI(s), Q5SI(s) and Q6SI(s) which are then also included into Table 2. It can be observed that QnSI(s) = Qn(x) when µ = 0 in all cases.

As the formula for QnSI(s) determination contains in the pre-factor by logarithm (i.e., by Q0SI(s)) the term PnSI(s), which is the first-kind solution of the generalized Legendre equation, the range of the separation constant Kd for which the second-kind solutions exist is the same as for the first-kind solutions. Therefore, neither the second-kind solution (similarly as the first-kind solutions) derived in the form shown above does exist for negative separation constants Kd.

16 The complete solution in interior points

Finally, the complete interior solution of the azimuthally symmetric case of the Laplace equation in orthogonal similar oblate spheroidal coordinates (20) with applied variables separation introduced by (23) can be written in the form

$$V\left( {R,\nu } \right) = V\left( {R,W} \right) = V\left( {R,\frac{{f_{2} }}{{h_{R} }}} \right) = V\left( {R,s} \right) = \mathop \sum \limits_{n = 0}^{\infty } a_{n} R^{n} P_{n}^{SI} \left( s \right) + \mathop \sum \limits_{n = 0}^{\infty } b_{n} R^{n} Q_{n}^{SI} \left( s \right)$$
(102)

where the radial part solution (33) is used, and PnSI(s) and QnSI(s) are the generalized Legendre functions of the first and of the second kind, respectively. Several low-index functions can be seen in Tables 1 and 2. Note that the zero degree solution \(a_{0} R^{0} P_{0}^{SI} \left( s \right)\) is equal to the constant VC (see Eq. (23)). an and bn are arbitrary real coefficients, which can be determined for the particular boundary conditions. (102) thus represents the harmonic functions in the SOS coordinates.

However, as shown in the previous text, this solution exists only for the nonnegative integer values of the separation constant Kd = n.

17 Conclusions

The interior solution of the azimuthally symmetric case of the Laplace equation in the orthogonal similar oblate spheroidal coordinates (20) was found (see Eq. (102)). During the derivation, the Laplace equation was separated by a special separation procedure to the radial (see Eqs. (31), (32)) and the so-called angular (see Eq. (36)) parts. While the solution (33) of the radial part is simple power of the equatorial radius of the oblate spheroidal coordinate surfaces, the separated angular part of the Laplace equation is significantly more complicated and leads to the generalized Legendre Eq. (68). Its solution then leads to the generalized Legendre functions of the first and of the second kind with argument s = fS/hR, i.e., the generalized sine divided by the metric scale factor of the coordinate R. Analytical expressions with infinite power series involving generalized binomial coefficients were written for this argument (see Eqs. (46) and (47)).

Several lower-degree generalized Legendre functions of both kinds were derived and are listed in Tables 1 and 2. The recursion formula for the generalized Legendre polynomials (see Eq. (91)) was found. The general solution of the rotationally symmetric Laplace equation for the interior space is reported (see Eq. (102)).

The presented solution is a step forward in the establishment of the SOS coordinates as a useful tool in the field physics. Further, the determination of the harmonic functions could facilitate finding solutions of more complex differential equations in the SOS coordinates, for example the Poisson equation or the Helmholtz equation.

Within the Laplace solution determination process, relevant identities valid for the SOS coordinate system in general and for the generalized sine and cosine functions in particular were derived as well (see Appendix A).

The found solution exists only for the nonnegative integer values of the exponent of the equatorial radius in the solution. Therefore, the solution has physical meaning only for the interior space (i.e., it is restricted to a certain annulus) and cannot be used for a region extended up to the infinity, as the solution would diverge. In order to find solutions in the exterior points, another approach has to be used. The exterior points solution is in fact already partially known to the author. However, due to the extent of the present text, it will be published elsewhere together with other considerations on the Laplace equation solution in the SOS coordinates.