Consider
F[x_, n_, m_] := 2^{n/2}*WaveletPsi[HaarWavelet[], 2^{n}*x - m]
A paper I am reading uses a different convention of the Fourier transform than Mathematica's default setting, so I decided to compute a certain Fourier transform manually with the integrate command. However, when I try to run
FullSimplify[Integrate[F[x, n, m]*Exp[-I*w*x], {x, -Infinity, Infinity},Assumptions -> {Element[{n, m}, Integers], Element[w, Reals]}]]
the only output I get is Mathematica inserting the definition of F to the integral and LaTeXfying the Element commands. This is a bit odd since the Transform most certainly exists. What is going on?
Edit: The output I get is
{Integrate[2^(n/2) E^(-I w x) ( \!\(\*
TagBox[GridBox[{
{"\[Piecewise]", GridBox[{
{
RowBox[{"-", "1"}],
RowBox[{
FractionBox["1", "2"], "<",
RowBox[{"{",
RowBox[{
RowBox[{"-", "m"}], "+",
RowBox[{
SuperscriptBox["2", "n"], " ", "x"}]}], "}"}], "<", "1"}]},
{"1",
RowBox[{"0", "<",
RowBox[{"{",
RowBox[{
RowBox[{"-", "m"}], "+",
RowBox[{
SuperscriptBox["2", "n"], " ", "x"}]}], "}"}], "<",
FractionBox["1", "2"]}]},
{"0",
TagBox["True",
"PiecewiseDefault",
AutoDelete->True]}
},
AllowedDimensions->{2, Automatic},
Editable->True,
GridBoxAlignment->{"Columns" -> {{Left}}, "Rows" -> {{Baseline}}},
GridBoxItemSize->{"Columns" -> {{Automatic}}, "Rows" -> {{1.}}},
GridBoxSpacings->{"Columns" -> {
Offset[
0.27999999999999997`], {
Offset[0.84]},
Offset[0.27999999999999997`]}, "Rows" -> {
Offset[0.2], {
Offset[0.4]},
Offset[0.2]}},
Selectable->True]}
},
GridBoxAlignment->{"Columns" -> {{Left}}, "Rows" -> {{Baseline}}},
GridBoxItemSize->{"Columns" -> {{Automatic}}, "Rows" -> {{1.}}},
GridBoxSpacings->{"Columns" -> {
Offset[
0.27999999999999997`], {
Offset[0.35]},
Offset[0.27999999999999997`]}, "Rows" -> {
Offset[0.2], {
Offset[0.4]},
Offset[0.2]}}],
"Piecewise",
DeleteWithContents->True,
Editable->False,
SelectWithContents->True,
Selectable->False,
StripWrapperBoxes->True]\) ), {x, -\[Infinity], \[Infinity]},
Assumptions -> (n | m) \[Element] Integers && w \[Element] Reals]}
List
, use round brackets()
. Second, you should useFourierTransform
, notIntegrate
(there are several question on StackExchange about this). Third, it works if you explicitly specifym
andn
, for example:f[x_, n_, m_] := 2^(n/2)*WaveletPsi[HaarWavelet[], 2^n*x - m]; FourierTransform[f[x, n, m] /. {n -> 3, m -> 2}, x, w]
returns(2 I E^((I w)/4) (-1 + E^((I w)/16))^2)/(Sqrt[\[Pi]] w)
$\endgroup$