User:Tohline/Appendix/Mathematics/ToroidalFunctions
Relationships Between Toroidal Functions
| Tiled Menu | Tables of Content | Banner Video | Tohline Home Page | |
This chapter has been put together in an effort to lay the groundwork for an evaluation of Wong's (1973) derived expression for the gravitational potential both inside and outside of a uniform-density, axisymmetric torus. After multiplying his expression by the negative of <math>~G</math>, then replacing his total charge, <math>~q</math>, with the total mass, <math>~M</math>, Wong's interior (i.e., <math>~\eta^' > \eta_0</math>) solution is,
<math>~U(\eta^',\theta^')\biggr|_{\mathrm{for}~\eta^' \ge \eta_0}</math> |
<math>~=</math> |
<math>~- \frac{2^{5 / 2} a^2 G}{3} \biggl[ \frac{1}{2\pi^2 a^2}\biggl(\frac{M}{a}\biggr) \frac{\sinh^3 \eta_0}{\cosh\eta_0} \biggr] \biggl\{ - \frac{3\pi^2}{2^{5/ 2}} \biggl[ \frac{\sinh^2\eta^'}{(\cosh \eta^' - \cos \theta^')^2} \biggr] +~ (\cosh \eta^' - \cos \theta^')^{1 / 2} </math> |
|
|
<math>~ \times \sum\limits_{n=0}^\infty \epsilon_n \cos(n\theta^') Q_{n-1 / 2}(\cosh\eta^') B_n(\cosh\eta_0) \biggr\} \, , </math> |
Wong (1973), Eq. (2.65) |
where,
<math>~B_n(\cosh\eta_0)</math> |
<math>~\equiv</math> |
<math>~ (n+\tfrac{1}{2})P_{n+1/2} (\cosh\eta_0)Q^2_{n-1/2} (\cosh\eta_0) - (n-\tfrac{3}{2})P_{n-1/2} (\cosh\eta_0)Q^2_{n+1/2} (\cosh\eta_0) \, . </math> |
Wong (1973), Eq. (2.62) |
Summary |
|||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Suppose you want to evaluate the potential of a uniform-density torus whose major radius is, <math>~R</math>, and minor cross-sectional radius is, <math>~d</math>. Evaluation of the potential can be relatively easily expressed in terms of a toroidal coordinate system, <math>~(\eta,\theta)</math>, whose "origin" is at a distance, <math>~a</math>, from the symmetry axis, where, <math>~a^2 \equiv R^2 - d^2 ~~~\Rightarrow ~~~ \frac{a^2}{d^2} = \frac{R^2}{d^2} - 1\, .</math>
The surface of the uniform-density torus is defined by the toroidal "radial" coordinate, <math>~\eta_0</math>, such that,
| |||||||||||||||||||||
The volume of a torus is, <math>~V = 2\pi R(\pi d^2) \, .</math> When this is rewritten in terms of our toroidal coordinate system, we have,
|
|||||||||||||||||||||
Expressions for the relevant toroidal functions are as follows:
where, <math>~\chi \equiv \cosh\eta</math>; <math>~K</math> and <math>~E</math> are, respectively, complete elliptic integrals of the first and second kind; and,
Then, for <math>~m \ge 2</math> , the recurrence relation (for <math>~P_{m-\frac{1}{2} }</math> as well as for <math>~Q_{m-\frac{1}{2} }</math>) is,
|
Given that the portion of the leading term in Wong's expression that sits inside the square brackets is equivalent to the density, <math>~\rho_0 = M/V</math>, of the torus material — that is, given that,
<math>~\frac{1}{2\pi^2 a^2}\biggl(\frac{M}{a}\biggr) \frac{\sinh^3 \eta_0}{\cosh\eta_0} </math> |
<math>~=</math> |
<math>~\frac{\rho_0 V}{2\pi^2 a^3} \biggl[ \frac{\sinh^3 \eta_0}{\cosh\eta_0} \biggr] </math> |
<math>~=</math> |
<math>~\rho_0\, ,</math> |
— a reasonable dimensionless version of Wong's expression could be obtained by dividing through by the quantity, <math>~(G\rho_0 a^2) </math>. We prefer, instead, to normalize Wong's expression to the quantity, <math>~GM/R</math> , in which case the dimensionless version of the expression becomes,
<math>~\frac{U(\eta^',\theta^')}{GM/R} \biggr|_{\mathrm{for}~\eta^' \ge \eta_0}</math> |
<math>~=</math> |
<math>~- \frac{2^{5 / 2} }{3} \biggl[ \frac{1}{2\pi^2}\biggl(\frac{R}{a}\biggr) \frac{\sinh^3 \eta_0}{\cosh\eta_0} \biggr] \biggl\{ - \frac{3\pi^2}{2^{5/ 2}} \biggl[ \frac{\sinh^2\eta^'}{(\cosh \eta^' - \cos \theta^')^2} \biggr] +~ (\cosh \eta^' - \cos \theta^')^{1 / 2} </math> |
|
|
<math>~ \times \sum\limits_{n=0}^\infty \epsilon_n \cos(n\theta^') Q_{n-1 / 2}(\cosh\eta^') B_n(\cosh\eta_0) \biggr\} </math> |
|
<math>~=</math> |
<math>~- \frac{2^{3 / 2} \sinh^2\eta_0 }{3\pi^2}\biggl\{ - \frac{3\pi^2}{2^{5/ 2}} \biggl[ \frac{\sinh^2\eta^'}{(\cosh \eta^' - \cos \theta^')^2} \biggr] +~ (\cosh \eta^' - \cos \theta^')^{1 / 2} </math> |
|
|
<math>~ \times \sum\limits_{n=0}^\infty \epsilon_n \cos(n\theta^') Q_{n-1 / 2}(\cosh\eta^') B_n(\cosh\eta_0) \biggr\} \, . </math> |
Our Mucking Around
Begins on p. 332 of M. Abramowitz & I. A. Stegun (1995)
Recurrence Relations
According to M. Abramowitz & I. A. Stegun (1995), both <math>~P_\nu^\mu</math> and <math>~Q_\nu^\mu</math> satisfy the same recurrence relations.
<math>~P_\nu^{\mu+1}(z)</math> |
<math>~=</math> |
<math>~ (z^2 - 1)^{- 1 / 2} \biggl[ (\nu - \mu)z P_\nu^\mu(z) - (\nu + \mu)P_{\nu - 1}^\mu(z) \biggr] \, ; </math> |
<math>~(z^2-1) \frac{dP_\nu^{\mu}(z)}{dz}</math> |
<math>~=</math> |
<math>~ (\nu + \mu)(\nu - \mu +1_(z^2-1)^{1 / 2} P_\nu^{\mu - 1}(z) - \mu zP_\nu^\mu(z) \, ; </math> |
<math>~(\nu - \mu + 1)P_{\nu + 1}^{\mu}(z)</math> |
<math>~=</math> |
<math>~ (2\nu+1)zP_\nu^\mu (z) -(\nu + \mu)P_{\nu-1}^\mu(z) \, ; </math> |
<math>~(z^2-1) \frac{dP_\nu^{\mu}(z)}{dz}</math> |
<math>~=</math> |
<math>~ \nu z P_\nu^{\mu }(z) - (\nu + \mu)P_{\nu-1}^\mu(z) \, . </math> |
According to equation (14) of A. B. Basset (1893, American Journal of Mathematics, vol. 15, No. 4, pp. 287 - 302),
After replacing, <math>~n</math>, with <math>~(n + \tfrac{1}{2})</math>,
The coefficients of this last expression precisely match the coefficients in the above expression provided by M. Abramowitz & I. A. Stegun (1995), but the subscript notation is off by <math>~\tfrac{1}{2}</math>. This inconsistency most likely should be blamed on the notation adopted by Basset (1893). At the top of his p. 289 — which is a couple of pages before his equation (14) — Basset says: A toroidal function is an associated function of degree <math>~n - \tfrac{1}{2}</math> and order <math>~m</math>; and the notation which ought in strictness to be adopted for the two kinds of toroidal functions is <math>~P_{n-1 / 2}^m</math> and <math>~Q_{n-1 / 2}^m</math>; but as these functions rarely if ever occur in an investigation which also involves associated functions of integral degree <math>~n</math>, it will be generally sufficient to employ the suffix <math>~n</math> instead of <math>~n - \tfrac{1}{2}</math>. Thus, we probably should have shifted the subscript notation in his equation (14) by "-½" before incorporating our additional replacement everywhere of <math>~n</math> by <math>~(n + \tfrac{1}{2})</math>.
Independently, from equation (56) of Basset's (1888, Cambridge: Beighton, Bell and Co.) A Treatise on Hydrodynamics, we have,
This matches the Abramowitz & Stegun expression if, as before, we employ the mapping, <math>~n \rightarrow n-\tfrac{1}{2}</math>, in the subscripts only; also, note that, due to what must have been a typesetting error, the coefficient, <math>~C</math>, in Basset's expression must be replaced by the independent variable, <math>~\nu</math>. From equations (57) - (60) of Basset's (1888) Hydrodynamics, we also obtain,
where,
|
Toroidal Functions
Relationship between one another, as per equation (8) in A. Gil, J. Segura, & N. M. Temme (2000, JCP, 161, 204 - 217):
<math>~Q_{n-1 / 2}^m (\lambda)</math> |
<math>~=</math> |
<math>~(-1)^n \frac{\pi^{3/2}}{\sqrt{2} \Gamma(n-m+1 / 2)} (x^2-1)^{1 / 4} P_{m-1 / 2}^n(x) \, , </math> |
where, <math>~\lambda \equiv x/\sqrt{x^2-1}</math>.
Relation to Elliptic Integrals
<math>~P_{-1 / 2}(z)</math> |
<math>~=</math> |
<math>~ \frac{2}{\pi} \biggl[\frac{2}{z+1}\biggr]^{1 / 2} ~K\biggl( \sqrt{ \frac{z-1}{z+1}} \biggr) \, ; </math> |
<math>~P_{-1 / 2}(\cosh\eta)</math> |
<math>~=</math> |
<math>~ \biggl[\frac{\pi}{2}~\cosh\biggl(\frac{\eta}{2}\biggr)\biggr]^{-1} ~K\biggl( \tanh \frac{\eta}{2} \biggr) \, ; </math> |
Proof that these are the same expressions: |
||||||||||||||
From standard relationships between hyperbolic functions, we know that,
So, if we let <math>~u \equiv \eta/2</math> and make the association,
Also,
Q.E.D. |
<math>~Q_{-1 / 2}(z)</math> |
<math>~=</math> |
<math>~ \biggl[\frac{2}{z+1}\biggr]^{1 / 2} ~K\biggl( \sqrt{ \frac{2}{z+1} }\biggr) \, ; </math> |
<math>~Q_{-1 / 2}(\cosh\eta)</math> |
<math>~=</math> |
<math>~2 e^{- \eta / 2} ~K(e^{-\eta} ) \, ; </math> |
Proof that these are the same expressions: |
|||||||||||||||||||||||||||||||||
Copying the Whipple's formula from §14.19 of DLMF,
then setting <math>~m = n = 0</math>, we have,
Step #1: Associate … <math>z \leftrightarrow \cosh\xi</math>. Then,
Step #2: Now making the association … <math>\Lambda \leftrightarrow z/\sqrt{z^2-1}</math>, we can write,
Step #3: Again, making the association … <math>z \leftrightarrow \cosh\xi</math>, means,
which, apart from the leading factor of <math>~\pi^{-1 / 2}</math>, exactly matches the above expression. Note: From Howard Cohl's online overview — see, also, below — we find that the Whipple formula is slightly different from the one (quoted above) drawn from DLMF. According to Cohl the Whipple formula should be,
The DLMF expression needs to be multiplied by <math>~(-1)^m\Gamma (m + n + \tfrac{1}{2} )</math> in order to match the expression provided by Cohl; for the case being considered here of <math>~m=n=0</math>, this factor is precisely <math>~\Gamma(\tfrac{1}{2}) = \sqrt{\pi}</math> — see, for example, Wikipedia's discussion of the gamma function — which cancels this confusing factor of <math>~\pi^{-1 / 2}</math>. |
<math>~P_{+1 / 2}(z)</math> |
<math>~=</math> |
<math>~ \frac{2}{\pi} \biggl[ z + \sqrt{z^2-1} \biggr]^{1 / 2} ~E\biggl( \sqrt{ \frac{2(z^2-1)^{1 / 2}}{z + (z^2-1)^{1 / 2}}} \biggr) \, ; </math> |
<math>~P_{+ 1 / 2}(\cosh\eta)</math> |
<math>~=</math> |
<math>~ \frac{2}{\pi}~e^{\eta/2} ~E\biggl( \sqrt{1-e^{-2\eta}} \biggr) \, ; </math> |
Proof that these are the same expressions: |
|||||||||||||||||||||||||||
If we associate,
It also means that,
Q.E.D. |
<math>~Q_{+ 1 / 2}(z)</math> |
<math>~=</math> |
<math>~z \biggl[\frac{2}{z+1}\biggr]^{1 / 2} ~K\biggl( \sqrt{ \frac{2}{z+1} }\biggr) - \biggl[2(z+1)\biggr]^{1 / 2} E\biggl( \sqrt{\frac{2}{z+1}} \biggr) \, . </math> |
When the argument, <math>~x</math>, lies in the range, <math>~-1 < x < 1</math>:
<math>~P_{-1 / 2}(x)</math> |
<math>~=</math> |
<math>~ \frac{2}{\pi} ~K\biggl( \sqrt{ \frac{1-x}{2} } \biggr) \, ; </math> |
<math>~P_{-1 / 2}(\cos\theta)</math> |
<math>~=</math> |
<math>~ \frac{2}{\pi} ~K\biggl( \sin \frac{\theta}{2}\biggr) \, ; </math> |
<math>~Q_{-1 / 2}(x)</math> |
<math>~=</math> |
<math>~ K\biggl( \sqrt{ \frac{1+x}{2} } \biggr) \, ; </math> |
<math>~P_{+1 / 2}(x)</math> |
<math>~=</math> |
<math>~ \frac{2}{\pi} \biggl[2E\biggl( \sqrt{ \frac{1-x}{2} } \biggr) - ~K\biggl( \sqrt{ \frac{1-x}{2} } \biggr) \biggr] \, ; </math> |
<math>~Q_{+ 1 / 2}(x)</math> |
<math>~=</math> |
<math>~ K\biggl( \sqrt{ \frac{1+x}{2} } \biggr) - 2E\biggl( \sqrt{ \frac{1+x}{2} } \biggr)\, ; </math> |
Piece Together
When <math>~\mu = 0</math>, and <math>~\nu = (m- 3/ 2)</math>, the recurrence relation should be …
<math>~(m - \tfrac{1}{2})P_{m-1 / 2}(z)</math> |
<math>~=</math> |
<math>~ [2m-2]zP_{m-3 / 2} (z) -(m - \tfrac{3}{2} )P_{m - 5 / 2} (z) </math> |
<math>~\Rightarrow ~~~(2m -1)P_{m - 1 / 2}(z)</math> |
<math>~=</math> |
<math>~ 4(m-1)zP_{m - 3 /2 } (z) - (2m -3)P_{m-5 / 2} (z) </math> |
<math>~\Rightarrow ~~~P_{m - 1 / 2}(z)</math> |
<math>~=</math> |
<math>~\biggl[ \frac{ 4(m-1)zP_{m - 3 /2 } (z) - (2m -3)P_{m-5 / 2} (z) }{(2m -1)} \biggr] \, , </math> |
for all <math>~m \ge 2</math>.
Overview by Howard Cohl
This subsection is drawn verbatim from Howard Cohl's online overview of toroidal functions.
… These last two expressions allow us to express toroidal functions of a certain kind (first or second, respectively) with argument hyperbolic cosine, as a direct proportionality in terms of the toroidal function of the other kind (second or first, respectively) with argument hyperbolic cotangent. The Whipple formulae may also be expressed as follows:
<math>~Q^n_{m- 1 / 2}(\cosh\alpha)</math> |
<math>~=</math> |
<math>~(-1)^n ~\Gamma(n-m + \tfrac{1}{2}) \biggl[ \frac{\pi}{2\sinh\alpha} \biggr]^{1 / 2} P^m_{n- 1 / 2}(\coth\alpha)\, , </math> |
… and … | ||
<math>~Q^n_{m- 1 / 2}(\coth\alpha)</math> |
<math>~=</math> |
<math>~(-1)^m ~\frac{\pi}{\Gamma(m-n + \tfrac{1}{2})} \biggl[ \frac{\pi \sinh\alpha}{2} \biggr]^{1 / 2} P^m_{n- 1 / 2}(\cosh\alpha) \, . </math> |
These interesting formulae have the property that they can relate Legendre functions of the first and second kinds directly in terms of each other. The only hitch is that you need a different argument to relate them. The way it works is as such. The Legendre functions of the first kind generally are well-behaved near the origin and blow up at positive infinity. Consequently the Legendre functions of the second kind blow up at unity and exponentially converges towards zero for large values of the argument. The relevant domain for toroidal functions is from 1 to infinity. The standard hyperbolic argument for these functions are naturally chosen to be the hyperbolic cosine since it ranges from 1 to infinity. The Whipple formulae relate the Legendre functions with argument 1 to infinity, cosh, to a reversed range given by the hyperbolic cotangent function. the hyperbolic cotangent function ranges from infinity at unity to unity at infinity. At what point alpha does cosh alpha equal coth alpha? The point alpha is given by
<math>~\alpha</math> |
<math>~=</math> |
<math>~ \ln(1+\sqrt{2}) \cong 0.88137359 \, . </math> |
Therefore, <math>~e^\alpha</math> and <math>~e^{-\alpha}</math> are given, respectively, by
<math>~e^\alpha</math> |
<math>~=</math> |
<math>~ \sqrt{2} + 1 \cong 2.41421356 \, , </math> |
and |
<math>~e^{-\alpha}</math> |
<math>~=</math> |
<math>~ \sqrt{2} - 1 \cong 0.41421356 \, . </math> |
The value that <math>~\cosh \alpha</math> and <math>~\coth \alpha</math> obtain at <math>~\alpha</math> is given by
<math>~\cosh\alpha = \coth\alpha</math> |
<math>~=</math> |
<math>~ \sqrt{2} \cong 1.41421356 \, . </math> |
The value that <math>~1/\cosh\alpha</math> and <math>~\tanh \alpha</math> obtain at <math>~\alpha</math> is given by
<math>~\frac{1}{\cosh\alpha} = \tanh\alpha</math> |
<math>~=</math> |
<math>~ \frac{1}{\sqrt{2}} \cong 0.70710678 \, . </math> |
Finally, <math>~\sinh \alpha</math> and it's inverse are given respectively by unity,
<math>~\sinh\alpha = \frac{1}{\sinh\alpha} </math> |
<math>~=</math> |
<math>~ 1 \, . </math> |
We now see that the value at which the argument of the Legendre functions inversely maps the entire domain is given by cosh alpha = coth alpha ~ 1.4142356. By using the Whipple formulae for ring functions, we can inversely map the entire domain from 1 to infinity about this point cosh alpha, the square root of 2, and take full advantage of this new symmetry for Legendre functions. There being previously more definite and indefinite integrals tabulated for the Legendre function of the first kind than for the Legendre function of the second kind. In fact, this new transformation, when applied to toroidal functions yields distinct expressions which relate correspondingly the complete elliptic integrals of the first and second kind, which don't seem to be related to the linear and quadratic transformations of hypergeometric functions.
Drawn From Discussion of Solving the Poisson Equation
The following has been copied (May 2018) from an accompanying chapter that presents the integral representation of the Poisson equation in terms of toroidal functions.
Table 5: Green's Function in Terms of Zero Order, Half-(Odd)Integer Degree, Associated Legendre Functions of the Second Kind, <math>~Q^0_{m-1 / 2}(\chi)</math> (also referred to as Toroidal Functions) |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
where: <math>~\chi \equiv \frac{\varpi^2 + (\varpi^')^2 + (z - z^')^2}{2\varpi \varpi^'}</math>
H. S. Cohl & J. E. Tohline (1999), p. 88, Eqs. (15) & (16) |
||||||||||||||||||
Note that, according to, for example, equation (8.731.5) of Gradshteyn & Ryzhik (1994), <math>~Q^0_{-m - 1 / 2}(\chi) = Q^0_{m- 1 / 2}(\chi) \, .</math> Hence, the Green's function can straightforwardly be rewritten in terms of a simpler summation over just non-negative values of the index, <math>~m</math>. |
||||||||||||||||||
Referencing equations (8.13.3) and (8.13.7), respectively, of Abramowitz & Stegun (1965), we see that for the smallest two values of the non-negative index, <math>~m</math>, the function, <math>~Q_{m- 1 / 2}(\chi)</math>, can be rewritten in terms of, the more familiar, complete elliptic integrals of the first and second kind. Specifically,
Excerpt from p. 337 of M. Abramowitz & I. A. Stegun (1995) |
||||||||||||||||||
Finally, equation (8.5.3) from Abramowitz & Stegun (1965) or equation (8.832.4) of Gradshteyn & Ryzhik (1994) — also see equation (2) of Gil, Segura & Temme (2000) — provide the recurrence relation for all other values of the index, <math>~m</math>. Specifically, for all <math>~m \ge 2</math>, <math>~Q_{m - 1 / 2}(\chi) = 4\biggl[\frac{m-1}{2m-1}\biggr] \chi Q_{m- 3 / 2}(\chi) - \biggl[ \frac{2m-3}{2m-1}\biggr] Q_{m- 5 / 2}(\chi) \, .</math> Excerpt from p. 490 of W. Guatschi (1965, Communications of the ACM, 8, 488 - 492) |
See Also
- R. S. Maier (2017) — Associated Legendre Functions and Spherical Harmonics of Fractional Degree and Order
- R. S. Maier (2016, Proceedings of the Royal Society A, Vol. 472, Issue 2188, id. 20160097) — Legendre Functions of Fractional Degree: Transformations and Evaluations
© 2014 - 2021 by Joel E. Tohline |