Given the Legendre polynomial $P_n(\cos\theta)$, I would like to calculate the integral:

$$\int_{\frac{\pi}{2}-a}^{\frac{\pi}{2}+a}\,\,P_n(\cos\theta)\sin\theta \,\,d\theta$$

where $a\in[0,\frac{\pi}{2}]$. Any suggestion on how to proceed? If $a=\frac{\pi}{2}$, is it possible to find a closed solution?

  • 2
    $\begingroup$ If $a=\pi/2$, the integral is $2\delta_{n0}$. $\endgroup$ Jul 12, 2016 at 0:46

1 Answer 1



Considering the problem of the antiderivative $$I_n=\int P_n(\cos\theta)\sin\theta \,\,d\theta$$ changing variable $x=\cos(\theta)$, you have $$I_n=-\int P_n(x)\,dx$$ If you look here, you will notice that $$I_n=-\frac{P_{n+1}(x)-P_{n-1}(x)}{2 n+1}$$

I am sure that you can take it from here.

  • $\begingroup$ Thanks! It is clear how to proceed now! $\endgroup$
    – JFNJr
    Jul 12, 2016 at 5:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .