"Every function can be represented as a Fourier series"? It seems that some, especially in electrical engineering and musical signal processing, describe that every signal can be represented as a Fourier series.
So this got me thinking about the mathematical proof for such argument.
But even after going through some resources about the Fourier series (which I don't have too much background in, but grasp the concept), I cannot find a mathematical proof for whether every function can be represented by a Fourier series. There was a hint about the function having to be periodic.
So that means that the "every function can be represented as a Fourier series" is a myth and it doesn't apply on signals either, unless they're periodic?
But then I can also find references like these:
http://msp.ucsd.edu/techniques/v0.11/book-html/node171.html
that say/imply that every signal can be made periodic? So does that change the notion about whether Fourier series can represent every function, with the new condition of first making it periodic, if necessary?
 A: Since you're referring to signals here, it seems appropriate to consider this question from the viewpoint of an electrical engineer.
If we impose some restrictions on what kind of functions can be considered a "signal," then all periodic signals have a Fourier series.


*

*The function should be piecewise continuous.

*the function should be be bounded.


These are reasonable physical restrictions that all real signals should meet. These are also more than enough for a function to have a Fourier series.
Now, for a function that isn't periodic, we can find a Fourier series for a piece of it through a process called "windowing." Basically you isolate a part of the signal on some interval, and pretend that piece is one period of a periodic signal. The Fourier coefficients for each "window" tell you the power spectrum of the signal as time progresses.
A: I came across this question because I wanted to ask the same thing. In Gilbert Strang's Linear Algebra LEC 24, towards the end: https://youtu.be/8MF3pz-oYHo?t=41m8s he mentions that the parts of a fourier series is like an orthogonal basis, and that you can project a function onto the fourier series like any other projection onto orthogonal basis.
And the intuitive way to think about its restriction to be periodic is because the parts that make up the fourier series are periodic.
(I'd love to see something more rigourous though)
A: A bounded periodic integrable function F will certainly "have" a Fourier series, but the sum of the series can fail to be equal to F at some points, even if F is continuous. 
A: Well there are 3 conditions for a Fourier Series of a function to be exist:
1. It has to be periodic.
2. It must be single valued, continuous.it can have finite number of finite discontinuities.
3. It must have only a finite number of Maxima and minima within the period.
4. The Integral over one period of |f(X)| must converge.
Each of them have Analytical proofs but let's discuss them using analogy.
1). See that Fourier series can be written as complex exponent and they represent circles(like this one https://www.youtube.com/watch?v=55y13PF0uSg&feature=share ), see as circles are bounded curve , the vectors connected with them and the output point must come back on the same path for a larger time , hence they must be periodic (well for non-periodic functions it also works but you will only get the result for a particular region).
2).The continuous part is clear I hope so. For the discontinuous part, you have to remember that they never go to infinity as if it does than at that part the curve goes forever and as circular motions are periodic , the expansion must have a finite bound (in a region)
In a similar way we can get the Intitution of other 2 points.
