I'm having significant issues with a problem and would appreciate any help at all with it. It is regarding proving the orthogonality of Legendre polynomials using a specific recursion formula and property of Legendre polynomials.
I have been given the following relation $$x P'_n(x) -P'_{n-1}(x) = n P_n (x) $$ And that $$ \int^{1}_{-1} f(x) P_n (x) dx = 0 $$ for any polynomial $f(x)$ of degree less than $n$.
I must then show that for $ n \geq 1$
$$ \int^{1}_{-1} P_n (x)^2 dx = \frac{1}{2n} \int^{1}_{-1} x \frac{d}{dx} (P_n (x)^2)dx $$
And then determine the value of the integral, that being $\frac{2}{2n+1}$. I must use the two stated facts, I'd be grateful for any help with this, thank you guys.
$$\int\limits_{-1}^{1} P_n(x)^2 \;dx = $$ $$\int\limits_{-1}^{1} P_n(x)P_n(x) \;dx = $$ $$\frac{1}{2n}\int\limits_{-1}^{1} 2n P_n(x)P_n(x) \;dx = $$
Substituting your first relation in: $$\frac{1}{2n}\int\limits_{-1}^{1} 2 \left[x P'_n(x) - P'_{n-1}(x)\right] P_n(x)\;dx = $$
$$\frac{1}{2n}\int\limits_{-1}^{1} 2 x P'_n(x) P_n(x) \; dx - \frac{1}{2n}\int\limits_{-1}^{1} 2 P'_{n-1}(x) P_n(x)\;dx = $$
Given your second property defining orthogonality (since after all $P'$ is of lesser degree than $P$) the entire second integral drops out.
$$\frac{1}{2n}\int\limits_{-1}^{1} x 2 P_n(x) P'_n(x) \; dx = $$
Reverse of the chain rule:
$$\frac{1}{2n}\int\limits_{-1}^{1} x \frac{d}{dx} P^2_n(x) \; dx $$
QED
And for anyone who asks/wonders, or is inclined to criticize... I answered this question because it was asked, and this is a Q&A forum. I shouldnt have to justify answering questions on a Q&A forum though, but this is the culture here.