A Fourier series is a mathematical tool that represents a function, which is periodic on a specific interval, as a linear combination of cosine and sine waves.
Consider the trigonometric functions and that are periodic on the interval :
Question
i) What is the period of ?
ii) Show that the sum of two periodic functions produces another periodic function if the ratio of the periods of the component functions is a rational number.
Answer
i) The period is the interval after which the range of the function repeats itself. The sine wave completes one full cycle when , which happens when . Hence, the period of is .
ii) Let and with periods and respectively, where . For all , the output of the function repeats itself when
where .
In other words, the period of is , which implies that . Therefore, and hence must be a rational number.
The linear combination is a periodic function since the ratio of the periods of the cosine and sine functions is a rational number. It follows that is also a periodic function. Therefore, we can express a function that is periodic on the interval as an infinite sum of cosine and sine functions:
Eq105 is known as a Fourier series.
To find , we integrate eq105 with respect to over the interval :
The cosine and sine functions have the period of . As we are integrating over multiples of , we have . Hence, or
To find , we multiply eq105 by and integrate with respect to over the period :
Since is an integer, . Using the trigonometric identity , we have because we are again integrating over an integral number of complete periods for either sine function. Therefore,
Using the trigonometric identity of ,
Since we are again integrating over an integral number of complete periods for either cosine function, all the terms in the summation equals zero except when . We have or
where we have relabelled the index from to .
To find , we multiply eq105 by and integrate with respect to over the period . Using the same logic as the derivation of eq108 and the trigonometric identity , we have
Question
i) Can a Fourier series be defined for a function that is periodic on the interval instead of ?
ii) Can we represent a periodic function of period with a Fourier series on the interval instead of ?
Answer
i) Yes, the representation is the same as eq105 but has slightly different formulae for the coefficients. Repeating the above steps in determining the coefficients, we have
ii) Yes. However, the Fourier series representation is , which is slightly different from eq105. The corresponding coefficients are , and . The function in this representation now repeats every instead of every .
The fourier series can also be expressed in the complex form. Substituting the identities and , where in eq105, we have
Let and , where . From eq108, . Similarly, from eq109, . Therefore, and eq110 becomes
where we have relabelled the constant as without loss of generality (see Q&A below).
If we let the dummy index for the second summation and subsequently relabel as , we have
Therefore, can be expressed as
To find , we substitute eq108 and eq109 in to give
Question
i) Show that .
ii) What is the corresponding equation for eq113 if is periodic on the interval instead of ?
Answer
i) From eq113, . Comparing this equation with eq106, . This implies that eq113 is valid for all , including even though the derivation involves , which is for .
ii) Repeating the above steps for the derivation of the complex form of a Fourier series using eq109a, eq109b and eq109c, we have