
THE REAL LINE
The real line represents the set of all real numbers, which is a one dimensional Euclidean space. In particular, it can be described by a single coordinate variable .

Such a variable can be used to define complex valued functions on the real line. A useful case concerns square-integrable functions that define a Hilbert space with inner product
Intuitively, this is an extension of the dot product in Euclidean geometry. The natural norm is given by
.
GABOR ATOM
We define the normalized function where
This kind of function is called a Gabor atom. It was invented by Dennis Gabor when trying to apply mathematical tools from quantum mechanics to sound theory. This function combines a translation with a modulation
. Of course, the term atom does not refer to a physical atom but to an elementary waveform in order to decompose sounds or other signals.
The following figure shows the real part of (upper) and the absolute value of its Fourier transform
(lower) for a choice of parameters
and
.

As it can be observed, the atom is concentrated at and its Fourier transform at
. However, there is significant dispersion for each curve, which means that both the atom and its Fourier transform are spread over the real line.
HEISENBERG DISPERSION
The natural question that arises is whether it would be possible to reduce the dispersion simultaneously for both the atom and its Fourier transform. The answer given by Heisenberg is no, because the product of the two dispersions is constrained by an inequality of the form where
is some constant.
In the following figure, the atom has been shrink to reduce its dispersion over the real line. As expected by the Heisenberg inequality, the dispersion is larger for the Fourier transform.

Similarly, in the following figure, the atom has been stretched to reduce the dispersion of its Fourier transform. As expected by the Heisenberg inequality, the dispersion is larger for the atom.

OPERATORS X & D
The quantity can be interpreted as a probability density function of the atom’s location, which satisfies the normalization condition
. The expectation of the position is naturally given by
This suggests to introduce the position operator
The expectation can then be rewritten as
In a more algebraic way
In addition, it can be pointed out that is Hermitian, that is to say
.
The quantity can be interpreted as a probability density function of the Fourier transform’s location, which satisfies the normalization condition
as a consequence of the Parseval’s theorem. The expectation of the frequency is naturally given by
However, it is well known that .
This suggests to introduce the derivation operator
The expectation can then be rewritten as
Or equivalently
In a more algebraic way
In addition, it can be pointed out that is Hermitian, that is to say
.
COMMUTATOR
An important property of and
is that they do not commute, which means that applying
then
is not equivalent to applying
then
.
Thus, the default of commutativity can be measured through the concept of commutator defined as follows
This relation is very close to the usual quantum mechanical expression .
HEISENBERG INEQUALITY
We begin to derive the inequality in the case of two Hermitian operators and
such that
. The key point is given by the Cauchy-Schwarz inequality
In fact, this can be seen as a generalization of a very simple geometrical formula for two vectors and
in the plane
Now we transform the two sides of the Cauchy-Schwarz inequality.
First, The operator being Hermitian it satisfies
. The same occurs for
which implies
Second, we transform the right hand side of the Cauchy-Schwarz inequality. The magnitude of a complex number being greater than the magnitude of its imaginary part we have
Therefore the Cauchy-Schwarz inequality implies
Or more simply
Then, we make the connection with the operators and
by substituting
and
. It comes
where and
are dispersions of
and
respectively.
The commutator satisfies
This leads to
And finally to the Heisenberg inequality
This relation is very close to the usual quantum mechanical expression . Thus, the origin of the Heisenberg inequality is strongly mathematical and very independent from the physical world unlike many common beliefs.
I happened to come across your blog by chance. The articles have the required mathematical rigor and are informative.