We’re trying to get inside Fourier’s head, so to speak, and explore the origins of his methods. To do this, we’re going to look at his derivation of the identity
(Again, this is from Paul J. Nahin’s wonderful “Hot Molecules, Cold Electrons”.)
First, we need the indefinite integral
(Deriving this integral is an easy exercise, but worth knowing.) Now suppose you have a right-angled triangle with the two unspecified angles being and, by necessity,
. Letting the hypotenuse be 1, the side adjacent to
be
and the remaining side (necessarily) being
, we have that
By using the appropriate substitution, we get
Now, using the “fact” that
(which you can get from, e.g., long division), we integrate to get the indefinite integral
Comparing the two expressions on the right, we see that . By replacing
with
, we get
Combining our previous expressions yields
Replacing by
, we can immediately get Fourier’s identity:
This is a remarkable identity, but is it true? It is very instructive to graph the right-hand side to see what happens. As it turns out, the identity is only kind-of true. It can be improved, and I suggest finding the mistakes in the derivation as a first step to doing so.