# Legendre functions

Functions that are solutions of the Legendre equation $$\label{eq1} \bigl( 1 - x^2 \bigr) \frac{\mathrm{d}^2y}{\mathrm{d}x^2} - 2x \frac{\mathrm{d}y}{\mathrm{d}x} + \left( \nu(\nu+1) - \frac{\mu^2}{1-x^2} \right)y = 0,$$ where $\nu$ and $\mu$ are arbitrary numbers. If $\nu = 0,1,\ldots$, and $\mu=0$, then the solutions of equation \ref{eq1}, restricted to $[-1,1]$, are called Legendre polynomials; for integers $\mu$ with $-\nu \leq \mu \leq \nu$, the solutions of \ref{eq1}, restricted to $[-1,1]$, are called Legendre associated functions.