Fourier transforms in Mathematica
Unfortunately there are many slightly different ways to define the Fourier transform. So the first two questions when using Mathematica (or any other software) to compute Fourier transforms are what definition of Fourier transform does it use, and what to do if you want to use a different definition.
The answer to the first question is that Mathematica defines the Fourier transform of f as
The answer to the second question is that Mathematica defines a parameterized Fourier transform by
where a defaults to 0 and b defaults to 1.
ExamplesFor example, if (x) = exp(-x^2/2), then we can compute Mathematica's default Fourier transform with
[x_] := Exp[-x^2/2] FourierTransform[[x], x, ]
This computes
But if we set (a, b) to (0, 2) with
FourierTransform[[x], x, FourierParameters -> {0, 2 Pi}]
we compute
Theorems under various conventionsSeveral years ago I got frustrated enough with the multitude of Fourier transform conventions that I made a sort of Rosetta stone, giving several of the most basic theorems under each of eight definitions. I used the parameterization
where m is either 1 or 2, is either 1 or -1, and q is either 1 or 2.
My and q are the sign and absolute value of Mathematica's b. The relation between my m and Mathematica's a is slightly more complicated and given in the table below.
The post Fourier transforms in Mathematica first appeared on John D. Cook.