Fourier series
A Fourier series is a way to represent a function as the sum of simple sine waves.
A simple trigonometric function consists of a smooth surface. If you continue to add these trigonometric functions, you can get a function with a different shape.
For example, let’s create a square function using a Fourier series.

As shown in the figure above, you can get a shape similar to a rectangular function by adding three ordinary trigonometric functions. Here is a list of expressions.
This is only a combination of three waves, so it is not yet a complete rectangle. However, if you do this infinitely, you get a clean function.
Application of Fourier series
Fourier series is often used to obtain a specific waveform in an electronic circuit.
For example, the Fourier series for squares and sawteeth is:
