Exercise 3.4.24. As discussed on page 178, the first three Legendre polynomials are 1, , and
. Find the next Legendre polynomial; it will be a cubic polynomial defined for
and will be orthogonal to the first three Legendre polynomials.
Answer: The process of finding the fourth Legendre poloynomial is essentially an application of Gram-Schmidt orthogonalization. The first three polynomials are
We can find the fourth Legendre polynomial by starting with and subtracting off the projections of
on the first three polynomials:
For the first term we have
so that the first term does not appear in the expression for
.
The third term drops out for the same reason: its numerator is
That leaves the second term with numerator of
and denominator
We then have
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fifth Edition
and the accompanying free online course, and Dr Strang’s other books
.