Legendre Polynomials
Ever heard of polynomials that are 'perpendicular' to each other? Welcome to the world of Legendre Polynomials! They are a special sequence of functions that help solve complex problems in physics and engineering, and understanding them starts with simple algebra you already know.

What Are Legendre Polynomials?
Legendre Polynomials are a special sequence of polynomials, denoted as
Each polynomial in the sequence is named after its degree. The first few are:
(a constant function) (a simple linear function) (a quadratic function) (a cubic function)
At first glance, the coefficients (the numbers in front of the variables) might seem random, but there is a precise formula that generates every single one. These polynomials are famous because they are the solutions to an important equation in physics called Legendre's differential equation. While you don't need to understand that advanced equation now, you can learn how to generate and use these powerful mathematical tools with just your algebra and pre-calculus skills.
How Do You Find Legendre Polynomials? The Rodrigues' Formula Recipe
So where do these specific polynomials come from? There's a fantastic 'recipe' for cooking up any Legendre polynomial you want. It's called Rodrigues' Formula, and it's the key to unlocking the entire sequence.
This formula might look intimidating, but let's break it down into simple parts:
: This is the degree of the polynomial you want to find. If you want , you set . : This is 'n factorial', which means you multiply by every whole number smaller than it, down to 1. For example, . : This is just a constant number that scales the polynomial correctly. You calculate this first and set it aside. : This is the core polynomial part. You take the expression and raise it to the power of . : This is the most complex part. It means 'take the derivative with respect to , times'. If you haven't learned calculus yet, don't worry! For polynomials, there's a simple rule called the Power Rule. The derivative of is . You just bring the exponent down as a multiplier and subtract one from the exponent. The derivative of a constant is . You just apply this rule over and over, times.
Let's find
Find the Legendre Polynomial
Step 1: Identify n and calculate the constant.
For
Step 2: Work on the polynomial part.
We need to find
Step 3: Take the derivative n times.
We need to take the derivative of
First derivative:
Second derivative:
Step 4: Combine the constant and the final polynomial.
Now we multiply our result from Step 1 and Step 3.
We can simplify this by distributing the
This can also be written as
Worked Example: How to Calculate P₃(x)
Practice makes perfect. Let's follow the same steps to calculate the next polynomial in the sequence,
Find the Legendre Polynomial
Step 1: Identify n and calculate the constant.
For
Step 2: Work on the polynomial part.
We need to find
First,
Step 3: Take the derivative n times.
We need to take the derivative of
First derivative:
Second derivative:
Third derivative:
Step 4: Combine the constant and the final polynomial.
Multiply the results from Step 1 and Step 3.
Distribute the
Now, simplify the fractions. Both 120 and 72 are divisible by 24.
This is commonly written as
What Makes Legendre Polynomials Special? The Idea of Orthogonality
The main reason Legendre polynomials are so important isn't their formula, but a property called orthogonality. In geometry, 'orthogonal' is a fancy word for perpendicular. Two lines are orthogonal if they meet at a right angle (
Two Legendre polynomials
Let's unpack that. The
Why is this useful? This property allows scientists and engineers to break down very complex functions or signals into a sum of simpler Legendre polynomials. It's like having a special set of building blocks (the
Visualizing the Polynomials: A Look at Their Graphs and Properties
Graphing the first few Legendre polynomials reveals some interesting patterns. They all pass through the point
is a simple horizontal line. is a straight line passing through the origin. is an upward-opening parabola. is a cubic curve with a classic 'S' shape.
Another key feature is their symmetry. Polynomials with an even degree (
Here is a table summarizing these properties:
| Polynomial | Formula | Degree (n) | Value at x=1 | Symmetry |
|---|---|---|---|---|
| 0 | 1 | Even | ||
| 1 | 1 | Odd | ||
| 2 | 1 | Even | ||
| 3 | 1 | Odd | ||
| 4 | 1 | Even |
Verify the property that
Step 1: Write down the formula for
From our previous work, we know:
Step 2: Substitute
We replace every
Step 3: Evaluate the expression.
First, calculate the powers of 1. Since
The property holds true! This is a great way to check your work after using Rodrigues' formula. If you don't get 1 when you plug in

Where Are These Used in the Real World?
Legendre polynomials might seem like an abstract math topic, but they are essential tools in many fields of science and technology. Their unique orthogonality property makes them perfect for modeling and approximating real-world phenomena.
Here are a few examples:
- Physics and Astronomy: When calculating the gravitational field of a planet like Earth, which isn't a perfect sphere, physicists use Legendre polynomials to describe the complex shape of the field. They are also fundamental in quantum mechanics for describing the wave functions of atoms, and in electromagnetism for calculating the electric potential around charged objects.
- Engineering: In thermal engineering, Legendre polynomials help solve problems related to heat conduction in different shapes, like spheres and cylinders. They can describe how temperature is distributed throughout an object when it's heated or cooled.
- Computer Graphics and Data Science: In computer modeling, complex surfaces can be approximated by a series of Legendre polynomials. This allows for efficient storage and rendering of smooth, organic shapes. In data analysis, they can be used to fit a curve to a set of data points, a process known as polynomial regression.
Essentially, anywhere a problem involves spheres or spherical coordinates and needs to be broken down into simpler parts, Legendre polynomials are likely to be involved. They are a bridge between pure mathematics and practical application.
Common Mistakes to Avoid
When first working with Legendre polynomials, a few common pitfalls can trip you up. Being aware of them can help you avoid errors in your calculations.
- Forgetting the Constant: The
part of Rodrigues' formula is easy to forget, but it's crucial for making the polynomials 'normalized' so that . Always calculate it first. - Binomial Expansion Errors: When calculating
for larger , it's easy to make a mistake. Write out your steps carefully or use the Binomial Theorem if you know it. - Derivative Mistakes: Taking the derivative many times can be tedious. A small error in one step will throw off the entire final answer. Go one step at a time and double-check your application of the power rule.
- Mixing up
and : Remember that is the fixed degree for the polynomial you are calculating, while is the variable. Don't mix them up during differentiation. - Misunderstanding Orthogonality: The orthogonality property only works on the specific interval from
to . It does not apply over other intervals, like to .
Quick Reference Guide
Here is a quick summary of the most important formulas and facts about Legendre Polynomials.
Rodrigues' Formula
The master formula to generate any
The First Five Legendre Polynomials
Key Properties
- Orthogonality:
for . - Value at x=1:
for all . - Value at x=-1:
. (It's for even and for odd ). - Symmetry:
is an even function if is even, and an odd function if is odd.
Frequently Asked Questions
What's the difference between a regular polynomial and a Legendre polynomial?
A regular polynomial can have any coefficients, like
Do I need to know calculus to find Legendre polynomials?
Rodrigues' formula uses derivatives, which is a calculus concept. However, for polynomials, the process is just a simple rule (the power rule) applied repeatedly. You can learn and apply this rule without needing a full calculus course.
Why is the interval always [-1, 1] for their special properties?
The interval
What does the 'P' and the subscript 'n' in P_n(x) mean?
The 'P' stands for 'Polynomial', and it's used by convention for Legendre polynomials. The subscript 'n' is called the index or order, and it simply tells you the degree of the polynomial in the sequence. For example,
Are there other types of special polynomials like these?
Yes, many! Mathematicians have discovered other sets of orthogonal polynomials that are useful for different problems. Some famous examples include Hermite polynomials (used in quantum mechanics), Laguerre polynomials (for the hydrogen atom), and Chebyshev polynomials (used in approximation theory).
Where will I see Legendre polynomials in future studies?
If you continue studying physics, engineering, or applied mathematics in college, you will almost certainly encounter them. They appear in courses on electricity and magnetism, quantum mechanics, differential equations, and numerical analysis.
Is P_4(x) always a 4th-degree polynomial?
Yes, exactly. The index
Can I use a computer or calculator to find them?
Absolutely. Computer algebra systems like WolframAlpha, Mathematica, or Python libraries like SciPy can calculate Legendre polynomials instantly. While it's important to learn the process by hand first, these tools are great for checking your work or finding higher-order polynomials quickly.