I have the following problem:


I need to evaluate the integral $$\int\_{\cos(\alpha)}^{1} P\_l(t)P\_{l'}(t) dt $$ for $\alpha \in [0,\pi]$ and each combination of $l$ and $l'$, where $P\_l$ is the l-th Legendre polynomial.
The thing is that this integral occurs in a double series with truly messy functions $f(l)$ and $g(l')$(unfortunately they are more than two lines long, so no chance to evaluate anything here), such that:


$$\sum\_{l=0}^{\infty} \sum\_{l'=0}^{\infty} f(l)g(l') \int\_{\cos(\alpha)}^{1} P\_l(t)P\_{l'}(t) dt$$


So my whole calculation depends on this one integral.


Is there any chance to get an expression (analytically or numerically for this integral in the double series)? The problem that numerical integration faces, is that there is no chance to actually evaluate the double series for single values)
A foolish approximation would be to consider just a few terms here of this whole double sum, but has somebody a better idea?


$$f(l)=\left(\frac{c\_1}{2l+1} \left(P\_{l+1}(\cos(\alpha))-P\_{l-1}(cos(\alpha))\right)+c\_2 \delta\_{1l}\right)\int\_{R}^{\infty} k\_{l}(c\_3r) r^2 r^{-(l+1)} dr$$
I should add that I am sure that one can solve this integral analytically, although I have not done it yet, so this might get some sum that also depends on l($k\_l$ is the modified spherical bessel function of the second kind)


$$g(l')=c\_4 P\_{l'}(\cos(\alpha\_2))$$


Constant terms are given by: $c\_1,...,c\_4$



How to get an expression for this integral(Numerically/Analytically)
It seems what you want is formula (50) here:
<http://mathworld.wolfram.com/LegendrePolynomial.html>


