for some coefficients a_k and b_k as long as f is sufficiently nice (I don't remember the exact condition, sorry).
This is very useful, but the functions sin(x), sin(2x), ... , cos(x), cos(2x), ... don't constitute a basis in the formal sense I mentioned above as you need an infinite sum to represent most functions. It is still often called a basis though.
You can represent any function f: [-pi, pi] -> R as an infinite sum
for some coefficients a_k and b_k as long as f is sufficiently nice (I don't remember the exact condition, sorry).This is very useful, but the functions sin(x), sin(2x), ... , cos(x), cos(2x), ... don't constitute a basis in the formal sense I mentioned above as you need an infinite sum to represent most functions. It is still often called a basis though.