PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Industry
Chemical Engineering
Image Processing
Mechanical Engineering
Petroleum Engineering
Environmental Sciences
Bioinformatics
Data Analysis and Mining
Financial Risk Management
Statistics
Software Engineering
More...
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance and Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Special Functions
>
Built-in
Mathematica
Symbol
Orthogonal Polynomials
Special Functions
Tutorials »
|
LegendreQ
SphericalHarmonicY
SpheroidalPS
GegenbauerC
JacobiP
See Also »
|
Functions for Separable Coordinate Systems
Functions Used in Quantum Mechanics
Mathematical Functions
Special Functions
More About »
LegendreP
LegendreP
[
n
,
x
]
gives the Legendre polynomial
.
LegendreP
[
n
,
m
,
x
]
gives the associated Legendre polynomial
.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
Explicit formulas are given for integers
and
.
The Legendre polynomials satisfy the differential equation
.
The Legendre polynomials are orthogonal with unit weight function.
The associated Legendre polynomials are defined by
.
For arbitrary complex values of
n
,
m
and
z
,
LegendreP
[
n
,
z
]
and
LegendreP
[
n
,
m
,
z
]
give Legendre functions of the first kind.
LegendreP
[
n
,
m
,
a
,
z
]
gives Legendre functions of type
a
. The default is type 1.
The symbolic form of type 1 involves
, of type 2 involves
and of type 3 involves
.
Type 1 is defined only for
within the unit circle in the complex plane. Type 2 represents an analytic continuation of type 1 outside the unit circle.
Type 2 functions have branch cuts from
to
and from
to
in the complex
plane.
Type 3 functions have a single branch cut from
to
.
LegendreP
[
n
,
m
,
a
,
z
]
is defined to be
Hypergeometric2F1Regularized
[-
n
,
n
+1, 1-
m
, (1-
z
)/2]
multiplied by
for type 2 and by
for type 3.
For certain special arguments,
LegendreP
automatically evaluates to exact values.
LegendreP
can be evaluated to arbitrary numerical precision.
LegendreP
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Compute the 10
Legendre polynomial:
In[1]:=
Out[1]=
In[1]:=
Out[1]=
Scope
(7)
Generalizations & Extensions
(4)
Applications
(3)
Properties & Relations
(1)
Possible Issues
(1)
Neat Examples
(2)
SEE ALSO
LegendreQ
SphericalHarmonicY
SpheroidalPS
GegenbauerC
JacobiP
TUTORIALS
Orthogonal Polynomials
Special Functions
MORE ABOUT
Functions for Separable Coordinate Systems
Functions Used in Quantum Mechanics
Mathematical Functions
Special Functions
RELATED LINKS
Demonstrations with LegendreP
(
Wolfram Demonstrations Project
)
NKS|Online
(
A New Kind of Science
)
New in 1 | Last modified in 5