Legendre polynomials (also known as Legendre functions of the first kind, Legendre coefficients, or zonal harmonics)
are solutions of the Legendre differential equation.
The Legendre polynomial,
can be defined by the contour integral

The first seven Legendre polynomials are:







"shifted" Legendre polynomials (which obey the orthogonality relationship):




Powers in terms of Legendre polynomials:

![{\displaystyle x^{2}={\frac {1}{3}}[P_{0}(x)+2P_{2}(x)]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/685bc6005f1f71112eeab78e10c0c63633df1c8f)
![{\displaystyle x^{3}={\frac {1}{5}}[3P_{1}(x)+2P_{3}(x)]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f95e83961b601f0a2b99d603e01a354f4897a919)
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^4= \frac{1}{35}[7P_0 (x) + 20P_2(x)+ 8P_4(x)]}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^5= \frac{1}{63}[27P_1 (x) + 28P_3(x)+ 8P_5(x)]}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^6= \frac{1}{231}[33P_0 (x) + 110P_2(x)+ 72P_4(x)+ 16P_6(x)]}
See also