The Legendre Polynomials form an orthonormal set of vectors when the Gram Schmidt orthogonalization is applied.

We can show this using 2 Legendre Polynomials as a quick example

By taking the Gram-Schmidt of the Legendre Polynomials, the kronecker delta will be defined as

Therefore, the orthnormal basis after GS method is { }