1. Introduction
The central impediment to reducing the dimensionality of quantum transition amplitudes is the presence of angular cross-terms
sequestered in various square roots of quadratic forms. Direct spatial integration is sometimes possible (see, for instance, [
1], among many others), and at other times addition theorems (e.g., [
2,
3,
4,
5,
6,
7,
8]) are more useful. One may instead apply Fourier transforms (e.g., [
9,
10,
11]) and/or Gaussian transforms (e.g., [
12,
13,
14]) to effect these reductions. An example of the latter technique is given in
Appendix A.
The author has recently introduced [
15] a fifth reduction method in the spirit of Fourier and Gaussian transforms that constitutes an M-1-dimensional integral representation over the interval
for products of M Slater orbitals, which is one fewer integral dimension than a Gaussian transform requires, and roughly a quarter of the integral dimensions introduced by a Fourier transform for such a product. Subsequent work constructed [
16] a sixth reduction method using an M-1-dimensional integral representation over the interval
.
A comparison of all of these approaches often centers on the Slater orbital
, commonly written without arguments as
, which acts as a seed function from which Slater functions [
17], Hylleraas powers [
18], and hydrogenic wave functions can be derived by differentiation. In nuclear physics, it is known as the Yukawa [
19] exchange potential, and in plasma physics as the Debye–Hückel potential, arising from screened charges [
20] so that the Coulomb potential is replaced by an effective screened potential [
21,
22]. Screening of charges also appears in solid-state physics, where this function is called the Thomas–Fermi potential. In the atomic physics of negative ions, the radial wave function is given by the equivalent Macdonald function
[
23]. This function also appears in the approximate ground state wave function [
24] for a hydrogen atom interacting with hypothesized non-zero-mass photons [
25]. With imaginary
, this function is also (
times) the free-space Green’s function (see, for instance, [
26], among many others). We will simply call these
Slater orbitals herein.
2. The Central Problem with Two-Range Addition Theorems
The present work focuses on addition theorems. Probably the most familiar addition theorem, for the Coulomb potential [
27] (p. 670, Eq. (B.40)), is
This is an example of a “two-range addition theorem” characterized by the two-fold notation
and
and comprising a single infinite series. It may be utilized in the simplest example of a transition amplitude so that [
27] (p. 669 (B.35))
where the notations
and
are made manifest in the second-to-last line. Here, we use the much more general notation of previous work [
14], in which the short-hand form for shifted coordinates is
,
is a momentum variable within any plane wave associated with the (first) integration variable, the
are coordinates external to the integration, and the
js are defined in the Gaussian transform [
14] of the generalized Slater orbital (
A2), as shown below. One can also take derivatives of the Slater orbital
with respect to
in the integrand to obtain functions with
, such as hydrogenic
s-states, and likewise in the solution on the last line.
If both of the functions have the Slater orbital form, one may use a lesser-known addition theorem found in Magnus, Oberhettinger, and Soni [
28],
that may be cast into modern notation [
27] (p. 670 (B.42) has the equivalent version with imaginary
):
Weniger [
29] gives a brilliant derivation of this addition theorem, and several others, via three-dimensional Taylor expansions.
This allows one to solve the next most complicated integral, [
30] (p. 155 No. 2.481.1 with
, and GR5 p. 357 No. 3.351.2):
While this approach seems to be an excellent path forward, for more complicated integrals, it manifests problems. For instance, the author attempted to use this approach for a product of five Slater orbitals with shifted coordinates, but the split integrals in this two-range approach manifested pairs of large-amplitude, nearly canceling, terms in numerical checks of each step that eventually brought the project to a standstill for lack of accuracy.
Figure 1 shows this sort of oscillating behavior in sequential pairs or triplets of terms in a series having opposite signs.
4. A One-Range Addition Theorem for Slater Orbitals That Has a Single
Infinite Series
We wish to prove the following:
Proof of Theorem 1. Consider the general Yukawa-form function,
where
An initial solution attempt using a Taylor series expansion in
k gave terms that had echoes of Macdonald functions, but the coefficients of the general term were difficult to discern. (This was one of those interesting times when one’s training in graphic design can lend service to abstract mathematical visualization.) However, given that any Yukawa-form function is proportional to a Macdonald function with index 1/2, it occurred to me that performing a Gaussian transform on it [
30] (p. 384 No. 3.471.9), splitting off and expanding the k-dependent term in a series [
30] (p. 27 No. 1.211.1), and performing the inverse Gaussian transform on the remainder might lead to the correct series of Macdonald functions with increasing indices.
Thus,
where the factors in braces on the second and third lines constitute the inverse Gaussian transform [
30] (p. 384 No. 3.471.9). This completes the proof. □
For any convergent series
whose limit
s is known, following Bouferguene and Jones [
33], define
as the ratio
of partial sums
Then, the series converges linearly if
and logarithmically if
. The limit
s, in the present case, is simply the left-hand side of (
12). Because the right-hand side of (
12) has positive powers of
B and negative powers of
C multiplying a decaying exponential in
C, one would expect some interplay between these two for various values of
B and
C. Since Theorem 1 is restricted to values of
, let us keep it fixed at a small enough value,
, that the interplay between
B and
C can be explored.
For values of
B and
C less than one, convergence of (
12) is quite rapid, a category well represented by using the arbitrary values
given in the first line of
Table 1, with the first four terms in the series explicitly given by
. When only
C becomes larger than one, the convergence is much more rapid. However, when
B is larger than one, the series does not converge very fast (row three, though formally linearly convergent with
), if at all, unless
C is also larger than one (row four). Convergence is excellent with
with
either much larger or much smaller (
, row six, or
).
Since some of the the parameters are variables in semi-infinite integrals and will, thus, vary widely, additional convergence tests follow the next section.
5. A One-Range Addition Theorem for Slater Orbitals
One can consider an application of this new addition theorem, with , for a conventional Slater orbital with a shifted-position vector magnitude in spherical coordinates (wherein one has the freedom to choose the direction of the rotational axis such that ), grouped as
Corollary 1.
by setting
in Theorem 1 (
9). Note that this one-range addition theorem has the advantage of consisting of just a single infinite series and two finite series rather than the two infinite series and four finite series in Guseinov’s [
8] one-range addition theorem for Slater orbitals (
6). Most subsequent applications (corollaries) do not even have these finite series in addition to the infinite one.
One sees that the expansion of powers of
in Legendre polynomials—given in Weisstein [
34] (where the smallest value of
m is zero or one depending on whether
j is even or odd, respectively)—makes this version seem less appealing than the addition theorem found in Magnus, Oberhettinger, and Soni [
28] (
4), above, since applying orthogonality relations will truncate the finite series in
m rather than the infinite series in
n. However, in many cases, it will avoid the significant negative numerical consequences of round-off errors in cancelling terms of large magnitude and opposite signs that sometimes appear in applications of the latter two-range addition theorem.
It is interesting that (
16) is not the only grouping possible, so we essentially have four one-range addition theorems in one for Slater orbitals in spherical coordinates. One may set
in Theorem 1 (
9) to obtain:
Corollary 2.
Since the Macdonald function on the right-hand side has half-integer indices, it is an exponential multiplying inverse powers of its argument. Therefore, this addition theorem essentially allows one to pluck out problematic pieces of the quadratic form in the square root of the exponential, leaving an integrable exponential (if we are integrating over
). The cost of dealing with an infinite series may be worth it if
is small enough that the series converges reasonably fast. One might alternately even decide to pluck out everything
except the problematic angular portion of the quadratic from in the square root of the exponential by setting
to obtain
Corollary 3.
While this choice might seem too strange—with its imaginary argument in the Macdonald function—to pursue further, it has secondary value in that one can actually integrate the
term over the angular variable
Theorem 2.
using the computer calculus program Mathematica 7. This adds to our set of angular integrals that we have not found in the literature—appearing as Equation (
24) in a previous paper [
32].
Finally, one can take the complement of Corollary 3 by setting to obtain
Corollary 4.
Because this series involving the half-integer Macdonald function has terms of order
to
(multiplying a negative exponential of both variables), it should be the most reliably convergent of these four one-range addition theorems. For this reason, we will use this one-range addition theorem as a test case to solve the integral over two Slater orbitals (
21) in the next section.
Before we do this, however, let us perform a side-by-side convergence comparison with the addition theorem found in Magnus, Oberhettinger, and Soni [
28] (
3). We set the angular parameter to an arbitrary intermediate value,
, while the charge (or screening or decay length) parameter
will vary, as will
and
, either of which might take on any value in the semi-infinite range of external integrals they appear in.
Figure 1a shows that for
,
, and
, Corollary 4 converges rapidly and uniformly, whereas (
3) oscillates, with the first two terms in the series positive, the next two negative, the subsequent three terms positive, and so on. While the oscillations die down to the
level, relative to the first term, no limit for
is discernible within 48 terms in the series, since it oscillates in a manner reminiscent of chaotic systems. Please see
Figure 2a.
When
increases by a factor of 10 in
Figure 1b to
, while
and
remain the same, Corollary 4 converges uniformly and even more rapidly, and (
3), though still oscillating, is likewise improved in the sign and size of the initial terms and in the apparent rate of convergence (at about 13 terms). Again, the values for
oscillate in a manner similar to
Figure 2a, but with the amplitudes all less than one, as seen in
Figure 2b. If one were to average the magnitudes of the spikes in
in
Figure 2b, that would be less than one, so this series might be said to converge linearly in this very rough sense. All these trends continue if one increases
by another factor of 10 to
, while
and
remain the same, as they do if
, and
, while
stays the same. If we have
, and
, and
, the behavior of the two series is not much changed from
Figure 1b and
Figure 2b.
However, if
and
(while
stays the same), the first term in the addition theorem found in Magnus, Oberhettinger, and Soni (
3) is too large by a factor of 10,000, and the partial sums
only begin to resemble
in the 41st term of the series, and even there, the convergence parameter
for the sequence of partial sums (
14) has oscillation spikes as large as in
Figure 2a. Corollary 4, on the other hand, converges nicely.
If we make the charge (or screening or decay length) parameter ten times larger, and retain large , and , even Corollary 4 fails to converge. This might be concerning because the will often range over semi-infinite external integrals, but the lack of convergence at tiny values of s for large may well be overshadowed by the larger values of s for smaller that converge well, even for large , as seen next.
In this same extremal vein, if we make a hundred-fold boost in
, while having the
less than one,
, and
, Corollary 4 converges nicely but the first term in the addition theorem found in Magnus, Oberhettinger, and Soni (
3) is too large by a factor of 70,000, and the convergence parameter
for the sequence of partial sums (
14) has oscillation spikes as large as in
Figure 1a.
Finally, if both
are of order unity,
and
,
Figure 1c, the behavior of both Corollary 4 and (
3) are much as in
Figure 1a and
Figure 2a.
The oscillating behavior seen in the red dashed curves of
Figure 1 is typical of two-range addition theorems like (
3) and poses significant problems for the numerical checking of intermediate steps in any analytical reducion of integrals using such, as well as final numerical calculations that contain such series.
As for a comparison with Guseinov’s [
8] one-range addition theorem, the very complexity of Equation (
6), which does not even display the full set of complicated sub-definitions in his addition theorem, in comparison with Corollary 4 (
20) is a strong argument in favor of the latter.
One would like to compare the convergence of the new one-range addition theorem that is Corollary 4 (
20) to the prior one-range addition theorem of Guseinov (
6), but comparing a single infinite series to a series that is doubly infinite and has four additional finite series is a bit like comparing apples to orangutans.
However, even if such a comparison were possible, as one expert in the field of one-range addition theorems of the latter sort, and of convergence in general, Ernst Joachim Weniger, says [
35],
One-range addition theorems for Slater-type functions are fairly complicated mathematical objects, whose series coefficients are essentially overlap integrals. Thus, a detailed analysis of the existence and convergence properties of such an addition theorem is certainly a very demanding task.
Analysis by Rico, Loapez, and Ramiarez of a one-range addition theorem they crafted for hydrogenic wave functions—which is akin to (
6)—and applied to the integral over a product of two hydrogenic functions with the same charge [
6], found that they needed 100 terms in the series to achieve 5 significant figures, and 10,000 were required for 10 significant figures.
One might bear that in mind as we look into convergence in the following test.
6. A Test of a This One-Range Addition Theorem for Slater Orbitals
Let us use this one-range addition theorem, Corollary 4 (
20), in the second product within the integral over two Slater orbitals (
5). The result is a doubly infinite series whose sum is the known analytic function,
Theorem 3. where the n-sum is over even values only so that the floor function that is the upper limit of the j-sum, , gives 0 for and for . There is a restriction that may be circumvented by exchanging these parameters. The case of is given in Theorem 4. Proof of Theorem 3. Since there is no angular dependence in the first Slater orbital, we expand the second using (
20),
where the factor
on the fourth line gives a factor of two for even
n and zero for odd
n so that the
that precedes it is universally— thus redundantly—one. Since the Gaussian transform of the Macdonald function is known [
36] (p. 230 No. 3.16.1.13),
where
U is the Tricomi confluent hypergeometric function, one might as well use that approach in the
integral. The Gaussian transform of
is [
30] (p. 355 No. 3.325).
The process of utilizing these two integral transforms is identical to the one laid out for a related integral in
Appendix A except that there is neither a plane wave nor a shifted coordinate, both of which lead to cross terms and a need to complete the square. Therefore, in the present integral, the equivalent of the exponential in the last line of the integral in this Appendix (
A3) is
, and no change of variables is required to integrate over
:
where we have used the same change of variables to
as in the integral in
Appendix A (
A6). The
integral is easily done [
30] (p. 384 No. 3.471.9), giving
Here, we changed variables to a somewhat different
for this new problem than in the integral in
Appendix A (
38), but to the same purpose. This integral can be done if we expand
into a finite sum [
30] (p. 26 No. 1.111) of isolate powers of
s, since
n is even, and expand the denominator
into a series via [
37] (p. 455 No. 7.3.1.27)
We would like, then, to explicate these powers of
z via [
37] (p. 430 No. 7.2.1.1),
|1 − z|<1∨(|1 − z|=1∧ℜ(−a − b + c)>0∨(|1 − z|=1∧1 − z≠1∧−1<ℜ(−a − b + c)≤0)|
However, because of the condition
in this second step, we must first rewrite
and transform the second factor. Since
is typically the nuclear charge or the decay length,
s will be larger than one throughout the integral, and so for the most part,
Finally, we expand
into a second finite series [
30] (p. 978 No. 8.468) (
41), below, before integrating to obtain the desired result (
21). □
Since Theorem 3 contains two infinite series whose convergence should be checked, let us define a two-dimensional analogue of (
13),
whose limit
s is known, partial sums
and
as the limit of the ratio of a partial sum’s average of its three larger-index nearest neighbors:
Then, one might have confidence in the convergence of the double series if
. The limit
s, in the present case, is simply the first line of Theorem 3 (
21).
The analytic function in the first line of Theorem 3 (
21) has value
for parameters arbitrarily chosen to be
. For the
term in the outermost series, we find that the first three terms in the
k series contribute strongly,
, and sum to
. This is seen as the ridge at
in
Figure 3a. For
, the terms in the
k series fall off more rapidly,
, and sum to
. For
and higher, each term in the
k series again shows convergence at roughly a digit of accuracy every other term. The terms are
and sum to
. The next two terms in the
n series,
and
, indicate fairly slow convergence (to
with these five terms), but there are, indeed, no alternating signs that might cause roundoff errors such as I found when using the two-range addition theorem in Magnus, Oberhettinger, and Soni [
28] (
4), applied to five Slater orbitals.
As
is given a ten-fold increase to
(
),
Figure 3b, or a hundred-fold increase to
(
),
Figure 3c, while retaining
and
, one sees that the convergences of the two series are more similar, and somewhat slower but uniform. Using a modest value for
while raising the
to
and
(
, results in convergence very similar to
Figure 3c, but for
and
, for which
numerical problems ensue in the series of Theorem 3.
The proof of Theorem 3 relied on the inequality
holding in Equation (
28), where the variable of integration
s ranges over
, so one might expect problems if
is much larger than
. It turns out that
even 0.8% larger than
produces negative terms in the series that manifest in the downturned lip at
in the graph,
Figure 3d, of
. While the graph appears to converge for higher values of k, and the convergence parameter
, in such a case as this, one should instead simply exchange the definitions
whenever
. The case
is given in Theorem 4 in the following subsection.
Theorem 3 is, thus, shown to be valid for a wide range of parameters as one example of the utility of Theorem 1 as manifested in Corollary 4 (
20).
We show a technique in
Section 7 that might be utilized to avoid the need for the second infinite series (in
k), at the modest cost of a term-by-term generation of integrals via computer calculus programs. Even if this sequence of steps gives us “just” a singly infinite series approximation to an analytic function that is obtainable exactly by other means such as (
5), this may nevertheless sound like an irrational method of working. However, those other means likely have reached their limit of applicability with Fromm and Hill’s [
9] tour-de-force Fourier transform integration over the angular and radial variables for a product of six Slater orbitals in three 3D integration variables, three orbitals of which had shifted coordinates. What are we to do, then, if we have seven Slater orbitals in four 3D integration variables and/or four orbitals with shifted coordinates? It could be that this one-range addition theorem might allow us to trudge a viable path.
The Case of
There will be many applications for which the atomic charge (or screened charges or nuclear decay lengths in the various applications noted in the introduction) are the same for both Slater orbitals. One need not entirely rederive (
5) but may simply take the limit of the final result, the first line of Theorem 3, to give the first line of the following:
Proof of Theorem 4. For the general case where
is not necessarily equal to
, to perform the final integral, we had to expand the denominator
into an infinite hypergeometric series (
27). However, this step becomes unnecessary if
, since this expression then becomes one. As before, we expand
into a finite series [
30] (p. 978 No. 8.468) (
41), below, before integrating to obtain the desired result (
34). □
The reader wishing to take such an approach with a different problem is cautioned that if the expansions of and into finite sums are not done before a computer calculus integration is attempted, the result may very well include almost-cancelling terms of infinite magnitude along with finite terms.
Theorem 4 involves the product
(apart from an additional power of
in the denominator in the second line, versus an additional power of
in the denominator in the first line), so in these tests,
was held constant at
and only
was varied. The performance of Theorem 4 at
is modest at about four-digit accuracy, though the contribution of subsequent terms falls off uniformly, as seen in
Figure 4a. For a tenfold increase to
and another tenfold increase to
, the curves are similar but the accuracy drops by about one digit for each tenfold increase. A similar trend was seen in the results for Theorem 3. As one increases from
to
, one must use quadruple precision to obtain reliable results in the terms with higher values of
n.
Having shown that this one-range addition theorem (
9) produces correct results (though of of modest accuracy) for one particular overlap integral whose exact analytical form is known, we move in the next section to a problem that has defied reduction to analytical form for some sixty years.
7. Application to a Previously Unsolved Problem
Let us now apply (
9) to the seemingly insoluble integral (
A7), whose reduction to a one-dimensional integral is given in
Appendix A, which has an integrand containing the Yukawa-form function,
that has a complicated dependence on the integration variable
:
The argument of (
35) in this example shares a problematic nature with (
4) in that it is non-integrable precisely because it is a quadratic form confined within a square root. Therefore, let us apply the one-range addition theorem (
9) to it:
For the first two terms, this can be directly integrated using the computer calculus program
Mathematica 7, but for the remainder, we change variables to
to obtain
For
, we have
When all of the parameters are of order one or less, this first term accounts for 99% of the value of the integral. Numerical integration of the first line of (
37) with
, for instance, gives
, and the
term gives an over-estimate of
. Adding in the
contribution (
) gives an additional two decimal places of accuracy:
. The
and 3 terms contribute
and
, respectively.
More generally, we can expand the half-integer Macdonald function as a finite series [
30] (p. 978 No. 8.468) (
41):
complete the square in the exponential
, change variables to
with unit Jacobian, and expand the binomial
in a sum over
K to give an integrable function, whose value is
The integral in the last line is given by [
38] (p. 139 No. 1.3.2.5 for even non-negative powers and p. 140 No. 1.3.2.6 for odd positive powers (noting that the exponentials have different coefficients:
versus
, respectively)), though
Mathematica 7 provides the result in a more compact form (and in terms of the incomplete gamma function equivalent of the error function):
For
, however, the derivation leading to (
42) would lead to a K-series as a polynomial in the denominator whose integral with
one would need, and not even the simplest version with
in the denominator seems to be tabulated. Alternatively, one could revert to the
s integral with inverse powers multiplying the more complicated exponential
, but this does not seem to be tabulated, either. Neither versions
7 nor
13 of
Mathematica nor
Maple 25 can calculate this integral in general, including for specific powers needed for
. This leaves one with the prospect of using the process of (
27) through (
29), above, ultimately resulting in a second infinite series in
k like we had in Theorem 3 (
21).
However, as shown in
Appendix B, if we back up to (
38) and write the half-integer Macdonald function as a Meijer-G function, both versions
7 and
13 of
Mathematica can calculate this integral using very strict parameters for specific powers of
g. The three examples of this that are required for
and 2 are
One notes that for the second of these, one has
, whereas the concerns in the previous paragraph around the use of (
43) would allow its use for this value of
g for one term.
The resolution of this seeming discrepancy is more easily seen in the case
. The integrand
in the second form in (
38) will have
j and
m running from zero to
. The term with
will yield a power for
s (after cancelling
with the
arising from the Macdonald function) of
, giving an integrand of the form
, the last two terms of which would be integrable via (
43) and first two of which would not. However, the method derived in
Appendix B will only work when the entire set of four terms is simultaneously integrated, so in order to integrate these first two terms, we must drag the last two terms along for the ride, and exclude them from duplicate integration via (
43). Since the powers of
s increase in steps of 2, the next larger power for
s will be
, for which
is fully integrable via (
43). Thus, we set the cutoff point for use of (
43) at
or
.
Consider, now, the first six terms of (
38) for
. The exact value is unknown, so one cannot use the formalism of (
13) through (
14) to formally establish convergence. Since the derivations involving several different numerical integrals to represent
differ by one part in
, we will use the
integral representation in the first line of (
38) as a proxy for the exact result and call its numerical value
t, which in this case is
. We find that terms with
,
and those with
,
each fall off quite slowly, but their sum (of oppositely signed terms) falls off rapidly:
which in turn sums to
, giving 14 digits of accuracy with just six terms despite the fact that it is the sum of oppositely signed terms having similar magnitudes. Below, we give the solution for charge (or screening or decay length) parameters
, but for slightly unequal charges, one must use double-precision calculations, as here, or higher if the values are even closer.
To double-check that this presumption (of the cause of the slow fall-off of both the terms with
and those with
) is the case, we set the charge parameters
to markedly different values while retaining the others as they are:
. In this case
. We find that terms with
,
and those with
,
each fall off very rapidly, as does their sum (of oppositely signed terms),
which in turn sums to
, giving 13 digits of accuracy with only these six terms.
Suppose that we increase
by a factor of ten to 17, while retaining the other parameters,
, then
. We find that the terms with
and those with
both range from
to
and sum to
, accurate to seven places. Given that the size of
t drops precipitously as
ranges over large values in a hypothesized external integral, the corresponding drop in accuracy of the series approximation (
38) to
t is not too worrisome. Homeier, Weniger, and Steinborn [
7] cast this sort of thinking into more formal language: The pointwise convergence of their
one-range addition theorem follows in a mathematically rigorous sense neither from this derivation, nor from the numerical experiments reported in [[
6]] …. But the very compact addition theorem [their eq. (21)] shows that the Yukawa potential—although not being an element of the Sobolev sapce
—is directly related to the Coulomb Sturmians that are elements of this Sobolev space. Hence, the one-range addition theorem should be interpreted in the sense of distributions with respect to this Sobolov space.
Changing the value of
k affects the plane wave oscillation frequency in the original integral in (
37), but in this series expansion,
k also appears in the arguments of the error functions and as powers, so the effects of changes in
k are hard to predict. If we increase it to half of its maximal value,
, then
. We find that the terms with
range from
to
and those with
range from
to
and sum to
, accurate to ten places.
Pushing
k to its maximum,
, gives
. At this limit, terms with
converge very slowly,
as do those with
,
but their sum (of oppositely signed terms) falls off fairly nicely,
and sums to
, giving 6 digits of accuracy.
Finally, we turn to larger values of
. For
,
Mathematica gives values for the
term of (
42) and
that are a factor of 10 larger than the numerical integral of the penultimate form of (
38), and one finds markedly different values for
when the incomplete gamma function in (
42) is replaced by its exponential integral [
39] or confluent hypergeometric
1 function [
40] equivalents. In such cases, the ease of a general expression of (
42) must give way to term-by-term derivations like those for
in (
44), which do not have this deficit (and sum to
, matching
to ten decimal places), or switch from
Mathematica to another program for numerical accuracy.
Returning to the Cheshire [
41] integral (
A9) of
Appendix A, which has
, the complexity of the above reduces considerably to
We, thus, have developed a series solution to the Cheshire integral, and its generalization, for
.