I've tried that the integration by part already for
. . . . .\(\displaystyle \displaystyle \int_{-1}^{1}\, dz\, \left[\,z^n\, \times\, P_{n} (z)\,\right] \)
but it didn't lead me really far because, if I set
. . . . .\(\displaystyle u\, =\, z^n\)
. . . . .\(\displaystyle dv\, =\, P_n (z)\)
then I don't know what v equals.
But if I use
. . . . .\(\displaystyle u\, =\, P_{n}(z) \, \mbox{ and }\, dv\, =\, z^n \)
then I end up with the solution:
. . . . .\(\displaystyle \dfrac{2}{n\, +\, 1}\, -\, \dfrac{1}{n\, +\, 1}\, \times\, \) \(\displaystyle \displaystyle \int_{-1}^{1}\, dz\, \left[\, z^{n+1}\, \times\, P'_{n} (z)\, \right]\)
But I don't know what to do further with that integral.
On the other hand, if I use given result of:
. . . . .\(\displaystyle P'_{n+1} (z)\, -\, P'_{n-1} (z)\, =\, (2n\,+\,1)\, \times\, P_{n} (z)\)
and manipulate to get:
. . . . .\(\displaystyle P_{n} (z) \,=\, \dfrac{1}{2n\,+\,1}\, \times\, \left[\,P'_{n+1} (z)\, -\, P'_{n-1} (z)\,\right]\)
then multiplying by zn:
. . . . .\(\displaystyle z^n\, \times\, P_{n} (z)\, = \, \dfrac{1}{2n\,+\,1}\,\times \, \left[\,z^n \,\times \, P'_{n+1} (z)\, -\, z^n\, \times\, P'_{n-1} (z)\, \right]\)
integrating
. . . . .\(\displaystyle \int_{-1}^1 \,dz\, \left[\,z^n \, \times\, P_{n} (z)\, \right]\, = \, \dfrac{1}{2n\,+\,1}\, \times\, \) \(\displaystyle \displaystyle \int_{-1}^1\, dz\, \left\{\, \left[\,z^n \,\times\, P'_{n+1} (z)\, -\, z^n \,\times \, P'_{n-1} (z)\,\right]\, \right\}\)
now integrating by parts again for each of this integrals I have:
. . . . .\(\displaystyle \displaystyle \int_{-1}^1\, dz\, \left[\,z^n\, \times\, P'_{n+1} (z)\,\right]\, =\, \left[\,n\, \times\, z^{n-1}\, \times\, P_{n+1} (z)\,\right]_{-1}^1 \,-\, n\, \times\,\) \(\displaystyle \displaystyle \int_{-1}^1 dz\, \left[\,z^{n-1} \,\times\, P_{n+1} (z)\,\right]\)
and similar for the other integral.
Now, if I take:
. . . . .\(\displaystyle \left[\,n \,\times\, z^{n-1} \,\times \, P_{n+1} (z)\right]_{-1}^1\, =\, n \,\times\, P_{n+1}(1)\, -\, n \,\times\, (-1)^{n-1}\, \times\, P_{n+1} (-1)\)
since given assumptions:
. . . . .\(\displaystyle P_n (1)\, =\, 1\)
. . . . .\(\displaystyle P_n (-1)\, =\, (-1)^n\)
my question is: Is it also
. . . . .\(\displaystyle P_{n+1} (1)\, = \,1\)
. . . . .\(\displaystyle P_{n+1} (-1)\, = \,(-1)^n\)
???
If yes, then I have:
. . . . .\(\displaystyle \left[\,n \, \times \,z^{n-1} \,\times\, P_{n+1} (z)\,\right]_{-1}^1 \,= \,2n\)
and for the other Integral
. . . . .\(\displaystyle -\left[\,n \,\times \,z^{n-1} \, \times \,P_{n-1} (z)\, \right]_{-1}^1 \,=\, -2n\)
Which is great, but then I still have one integral left which is in form
. . . . .\(\displaystyle - \dfrac{n}{2n\,+\,1} \, \times \, \) \(\displaystyle \displaystyle \int_{-1}^1 \, dz\, \left[\, z^{n-1} \,\times \, P_{n+1}\,\right]\)
That is my problem.
Though my idea is that, since:
. . . . .\(\displaystyle \displaystyle \int_{-1}^1\, dz\, \left[\,z^k \,\times \, P_n\,\right]\, =\, 0 \, \mbox{ when }\,k\, =\, 0,\, 1,\, 2,\, ...,\, n\,-\,1\)
is it then from this property also
. . . . .\(\displaystyle \displaystyle \int_{-1}^1\, dz\, \left[\,z^{n-1}\, \times \,P_{n+1}\,\right]\, = \,0\)