Well, what are the definitions of , , etc.?
The following is a worked example:
In the following, for example
What I don't understand is that why they got .
But what do we need to substitute for ? Because this function is piece-wise, how do I know which one of the two functions I have to put into the formula?
I belive that's the definition. The resulting polynomial we get in this problem is called "Legendre's polynomial", but unfortunently there is not much about it in my textbook.