Navigate back to the activity.
Navigate back to the Central Forces Course Page.
Estimated Time: 10-15 minutes
Students use maple to find the first few coefficients of a Legendre Series to approximate a function. They then explore how this approximations changes as the number of terms included in the Legendre Series is increased.
This activity should follow a short lecture defining the Legendre Polynomial Series and relating that to other series approximations students have done, e.g., fourier series, linear combinations of spin states.
We find that students understand this activity better if we begin by making a rough plot of the function $f(x)$ to be approximated by the Legendre Series. Then draw plots of each of the first 3 or 4 Legendre polynomials and tell them that the purpose of the maple worksheet is to help them see how they will find out “How much of $P_1 (z)$ is in $f(x)$, and how much of $P_2 (z)$ is in $f(x)$, and how much of $P_3 (z)$ is in $f(x)$, …” This helps them to get a qualitative grasp of what they will do in the worksheet before they begin.
Note: When more than about 50 terms are used, the resulting plot may show anomalous behavior due to numerical artifacts.
Some questions that help to stimulate good conversation about this worksheet are:
It is useful to reemphasize the form of the Legendre Series and how one goes about finding the coefficients.
$$f(z) = \sum_k a_k P_k(z)$$
$$a_k = (k + \frac{1}{2})\int_{-1}^1 P_k(z)^* f(z) dz $$