I have to derive corresponding differential equation for Legendre polynomial from Rodrigues formula: $$ P_n(x)=\frac{1}{2^n n!}\left(\frac{d}{dx}\right)^n(x^2-1)^n $$ The solution is indeed $(x^2-1)y''+2xy'-n(n+1)y=0$, but I am not sure, how to derive it.
My first idea was, to write something like $P_n''+A\cdot P_n'+B\cdot P_n=0$, but I wasn't sure, what is the derivative $P_n'$ (or $P_n''$)?
Any idea, how to proceed?