Periodic driving forces Principle of Superposition Particular solution for a sum of cosine waves Fourier Series Periodic functions The fundamental frequency Orthogonal functions Obtaining Fourier coefficients Analogy with vector components Fourier Series examples The square wave The saw tooth wave
What will we do in this chapter? We will consider the problem of driving a damped harmonic oscillator with a periodic but non-sinusoidal driving force. A periodic driving force has the property that f(t + t) = f(t) where t is the period. This is an interesting problem , but more importantly, it provides a great excuse for discussing the Fourier series. We begin by discussion the principle of superposition which is true for linear systems which obey linear differential equations. This allows us to obtain particular integrals for sums of sinusoidal driving forces. We next develop the technique of Fourier Series where we can write any periodic function of as a sum of sine and cosine functions with frequencies which are integral multiples of the fundamental frequency of w=2p/t. Our demonstration exploits the fact that sine and cosine function are orthogonal functions which means that integral over the trig functions over a complete period vanishes unless they have have are the same w multiple. There is analogy between finding Fourier components and vector components. We conclude by finding Fourier series for square and saw tooth waves.
Superposition Although this allows us to generalize the result quite a bit, it seems just like a curiosity, it can’t really be true that that many periodic forces can be written as a sum of sinusoidal terms? But interestingly enough it is due to the Fourier Theorem
Fourier Series Let us consider making an expansion of the periodic driving force depicted below. The pattern repeats every t seconds. Because the force is periodic, the coefficients can be determined from one representative part. For convenience we use this piece. t The Fourier Theorem says that we can write a “reasonable” periodic function as sum of sine and cosine terms with frequencies which are integer multiples of the fundamental frequency of w = 2p/t. These functions have the same periodicity as the driving force. We will show that the force can be represented by this series.
Orthogonal functions We will show how to get the coefficients an and bn which we will call the Fourier coefficients. The trick is to exploit an orthogonality property of the sin and cosine functions. If we integrate over one complete or multiple complete periods of the cosine curve we will get zero. This will happen for both terms as long as n and m are not equal or both equal to zero.
Orthogonal functions continued What happens when the trig integrals do not vanish? This vanishes for any integral trig argument since one always integrates over a full multiple of a sine oscillation.
Obtaining Fourier coefficients We thus can get the Fourier sine coefficients by integrating over one period with the sine of the given frequency.
Completing the coefficients This is a very deep analogy in linear algebra called Hilbert Space
Evaluate the square wave Fourier coefficients Here is a sketch of the function which is an odd function. We use -t/2 < t < t/2 The integrals over cos wt vanish by symmetry. Thus an=0. This leaves the sin integrals and bn terms. We exploit symmetry and double the sine integral from 0 to t/2
Square wave series t This plot shows how well this series matches our square wave using 3 terms: f(t) = b1sin wt + b3sin 3wt + b5sin5wt and 15 terms. Clearly we get more fidelity with 15 terms but there are still some vicious overshoots. This is often called the Gibbs phenomenon.
Our particular “square” solution We can depict the series by the Fourier “spectrum”. I would call this the amplitude spectrum. Only odd frequencies are excited. When function has sharp edges -- as in the square wave-- high frequencies are required or the resultant distribution will be rounded.
How to find a Fourier Series
Saw tooth wave example This function is neither even or odd about t=0 so we will have both sin and cosine terms. We begin by evaluating the an cosine terms. This time we integrate from 0 to t rather than -t/2 to t/2 as we did last time. We actually get no cosine terms even though the saw tooth has mixed symmetry. This is actually because all cosine functions are even about t/2 and the saw tooth is odd about this point, but you can always work it out the hard way as we did. On to the sine coefficients..
The Saw Tooth continued... Again we get a fairly good representation with 15 terms although the Gibbs overshoot is quite apparent.
A shifted saw tooth