gen_legendre_Q( n , z )

The Legendre function of the second kind of z in SageMath. A solution of the differential equation

\[ ( 1-z^2 ) \frac{ d^2 f }{ dz^2 } -2z \frac{ d f }{ dz } + \left[ n(n+1) - \frac{ m^2 }{ 1-z^2 } \right] f = 0 \]

The second linearly independent solution of this equation is gen_legendre_P.

Explicit form:

Plot on the real axis:

Series expansion about the origin:

Special values:

Related functions:   gen_legendre_P

Function category: orthogonal polynomials sagemath-docs