If you can determine an orthonormal basis on [-1,1], you can avoid the messy integration of that infinite sum.
There is a part of this question I don't understand:
Eventually they ended up with:
So the part I don't understand right at the begining where they have:
Should it not be ?
Because in my texbook is given by:
I'm very confused, can anyone help?