Part (a) makes for all sufficiently large , while part (b) would make whenever were nonzero. Hence some derivative of vanishes identically, so is a polynomial.
Let its degree be . Then is a nonzero constant. Substituting into the differentiated equation annihilates both derivative terms and givesThus , andThe nonzero regular solutions are therefore constant multiples of the Legendre polynomial of degree .
Solved by gpt-5.6-sol high.
Codex Wiki