Elliptic Functions: Fourier Series
We have discussed various interesting properties of elliptic functions and related theta functions in detail in previous posts. In particular we discussed that these elliptic functions are doubly periodic. It is only natural then to seek the Fourier series corresponding to these functions. However in this case we will use only the real periods to expand these functions in a Fourier series. It turns out that the Fourier expansions provide us many important identities which can be used in surprisingly many ways to connect to number theory.
Fourier Series Expansion of Elliptic Functions
Let be a periodic function with period
and let us also assume that it is analytic in some strip
. Then we can clearly expand it in a Fourier series of the form
where the integration has to be done along a path connecting and
which lies entirely in the strip
.
Let so that the functions
become periodic with periods
respectively when considered as functions of
. Also these are analytic in the strip
. We can then consider the case for
which is an even function and periodic with period
and therefore can be expressed as
where so that
Calculating the above integral requires the use of residue calculus. We can first look at the integral along the parallelogram (in counterclockwise direction) joining the points . Clearly the function at hand has poles at
and
and at these points the residue is given by the expression
By residues theorem the integral is given by
It is now easy to observe that while evaluating the integral along boundary of the parallelogram the integrals on the left and right boundaries cancel each other due to periodicity and the integral on the upper boundary is given by
Putting the integral reduces to
It then follows that
and thus finally
The Fourier coefficient is now given by
We finally have the Fourier series expansion as
Similarly we can establish
Some Number Theory
We can use the above results to establish some theorems of number theory. To proceed if we put in the expansion for
we get
We can now put so that
The terms in the inner sum are of the form so that the term is
if
and
if
. Hence we can write the inner sum as a function
which can be expressed as:
where represents the count of things under its argument. Therefore we have
The magic happens when we consider the fact that can be expressed in terms of theta functions:
where is number of ways in which
can be written as sum of two squares (counting order as well as sign of the integers) and
. Upon comparing the coeffcients it follows that
for all positive integers
. Thus we have the theorem (first established by Jacobi using elliptic function theory):
The number of ways in which a positive integer can be expressed as the sum of two squares is four times the difference between the number of its divisors which are of the form and the number of its divisors which are of the form
.
Two corollaries immediately follow from this theorem:
A prime number of the form
can be expressed as the sum of two squares in essentially one way.
A prime number of the form
can not be expressed as the sum of two squares.
The above two corollaries are more properly known as Fermat’s theorem on two squares or sometimes as Thue’s Lemma.
The same technique can be used to prove similar theorems about expressing a number as sum of four squares but the proof is a bit complicated.
[...] Let’s recall the Fourier series for the elliptic functions: [...]