Q19Mathematics I
Question
Find the Fourier series expansion of the following periodic function with period :
Hence show that:
Answer
This detailed problem requires the rigorous derivation of the complete Fourier series for a discontinuous square wave function. By evaluating the resulting infinite trigonometric series at a precise point of continuity, , we mathematically deduce the famous Leibniz infinite series formula for Pi, proving exactly that
Fourier series allow us to represent almost any periodic function, even those with sharp discontinuities (like square waves), as an infinite sum of smooth, continuous sine and cosine waves. This specific problem requires us to derive the Fourier series for a standard periodic square wave and then use that exact mathematical series to prove one of the most famous identities in mathematical history: the Gregory-Leibniz infinite series for .
Step 1: Defining the Square Wave Function
Consider a classic odd square wave function, , formally defined over a single full fundamental period of as follows:
The first critical analytical step in any Fourier problem is to check for symmetry. We systematically test the function: for a positive (which falls in the negative interval) gives , which is exactly . Since for all , this function is rigorously classified as an odd function. A fundamental, mathematically proven property of Fourier series dictates that any purely odd function will consist exclusively of sine terms. Therefore, we can immediately and definitively state that the cosine coefficients and for all .
Step 2: Calculating the Sine Coefficients ()
We are now left to compute only the sine coefficients, , using the standard Fourier definition:
Because the product of an odd function () and another odd function () results mathematically in an strictly even function, we can dramatically simplify the calculation by integrating only over the positive half of the interval and doubling the result:
On the strictly positive interval , our defined function is simply the constant . Substituting this into the integral gives:
We now execute the basic integration. The antiderivative of is :
We apply the absolute mathematical identities: and for any integer . Substituting these gives the final formula for the coefficients:
We must meticulously analyze this coefficient for different values of : - If is an even integer (), then . The parenthesis becomes . Thus, for all even harmonics. - If is an odd integer (), then . The parenthesis becomes . Thus, . Therefore, the complete, rigorously derived Fourier series for the square wave is:
Step 3: Proving the Leibniz Series for Pi
To extract a profound mathematical identity from this series, we must strategically evaluate it at a highly specific point of continuity. We strictly choose the point . At exactly , the original defined function sits perfectly flat at a value of exactly . Therefore, .
We now substitute into every single term of our derived infinite Fourier series:
We systematically evaluate each specific trigonometric sine term: - - - - This precise alternating pattern continues infinitely.
Substituting these exact values back into the equation yields the beautiful alternating series:
To finalize the mathematical proof, we simply multiply both sides of the absolute equation by , successfully isolating the series and arriving at the legendary Leibniz formula: