4.5 Applications of Fourier Series
Periodically Forced Oscillation
Let us return to the forced oscillations. Consider a mass-spring system as before, where we have a mass on a spring with spring constant , with damping , and a force applied to the mass. Suppose the forcing function is -periodic for some . We have already seen this problem in chapter 2 with a simple .

The equation that governs this particular setup is
The general solution consists of (4.5.1) consists of the complementary solution , which solves the associated homogeneous equation , and a particular solution of Equation (4.5.1) we call . For , the complementary solution will decay as time goes by. Therefore, we are mostly interested in a particular solution that does not decay and is periodic with the same period as . We call this particular solution the steady periodic solution and we write it as as before. What will be new in this section is that we consider an arbitrary forcing function instead of a simple cosine.
For simplicity, let us suppose that . The problem with is very similar. The equation
has the general solution
where . Any solution to is of the form . The steady periodic solution has the same period as .
In the spirit of the last section and the idea of undetermined coefficients we first write
Then we write a proposed steady periodic solution as
where and are unknowns. We plug into the differential equation and solve for and in terms of and . This process is perhaps best understood by example.
Resonance
Just like when the forcing function was a simple cosine, resonance could still happen. Let us assume and we will discuss only pure resonance. Again, take the equation
When we expand and find that some of its terms coincide with the complementary solution to , we cannot use those terms in the guess. Just like before, they will disappear when we plug into the left hand side and we will get a contradictory equation (such as ). That is, suppose
where for some positive integer . In this case we have to modify our guess and try
In other words, we multiply the offending term by . From then on, we proceed as before.
Of course, the solution will not be a Fourier series (it will not even be periodic) since it contains these terms multiplied by . Further, the terms will eventually dominate and lead to wild oscillations. As before, this behavior is called pure resonance or just resonance.
Note that there now may be infinitely many resonance frequencies to hit. That is, as we change the frequency of (we change ), different terms from the Fourier series of may interfere with the complementary solution and will cause resonance. However, we should note that since everything is an approximation and in particular is never actually zero but something very close to zero, only the first few resonance frequencies will matter.
As , the solution to (4.5.2) is
for some particular solution .
If we just try an given as a Fourier series with as usual, the complementary equation, , eats our harmonic. That is, the term with is already in in our complementary solution. Therefore, we pull that term out and multiply it by . We also add a cosine term to get everything right. That is, we try
Let us compute the second derivative.
We now plug into the left hand side of the differential equation.
If we simplify we obtain
This series has to equal to the series for . We equate the coefficients and solve for and .
That is,
When , you will not have to worry about pure resonance. That is, there will never be any conflicts and you do not need to multiply any terms by . There is a corresponding concept of practical resonance and it is very similar to the ideas we already explored in Chapter 2. Basically what happens in practical resonance is that one of the coefficients in the series for can get very big. We will not go into details here.
-
- Jiří Lebl (Oklahoma State University).These pages were supported by NSF grants DMS-0900885 and DMS-1362337.
Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.