#I have a vague kind of idea that those functions form a linearly independent set but only on [0,2pi]. Could anyone give me some advice on this? Thanks very much
Yes, they form a linearly independent set on the entire real line, not just . Indeed, because they are periodic with period , whatever is true of them on is true for all x.