Wavefunction DFT (Mathematica)

Click For Summary
SUMMARY

The discussion centers on issues encountered while using the Discrete Fourier Transform (DFT) in Mathematica to compute wavefunctions. The user reports discrepancies between the output of the DFT and the expected results from the analytical Fourier Transform (CFT). Despite the DFT being correctly normalized, the scaling appears incorrect, influenced by parameters such as n1 (steps) and L (domain). The user seeks guidance on adjusting the FourierParameters option to account for the value of dx in the DFT computation.

PREREQUISITES
  • Understanding of Discrete Fourier Transform (DFT) principles
  • Familiarity with Mathematica version used for computations
  • Knowledge of FourierParameters option in Mathematica
  • Basic concepts of wavefunction and Fourier Transform in quantum mechanics
NEXT STEPS
  • Research how to properly set the FourierParameters option in Mathematica
  • Explore the differences between Discrete Fourier Transform and Continuous Fourier Transform
  • Learn about normalization techniques in DFT computations
  • Investigate parameter adjustments in Mathematica for wavefunction analysis
USEFUL FOR

Researchers, physicists, and computational scientists working with wavefunctions and Fourier analysis in Mathematica, particularly those troubleshooting DFT computations.

algorhythmic
Messages
1
Reaction score
0
This question is not directly related to QM although my reason for asking it is I'm trying to compute wavefunctions on my PC -- please excuse me if this is the wrong place to ask. I am having trouble using the DFT in Mathematica although I don't think my problem is directly Mathematica related.

My problem is that the DFT is not giving me the output I expect, i.e. the output that I get if I take the analytical FT.

In the following images I have the wavefunction as given and compute the CFT and DFT:

CFT : http://imgur.com/WxMTl,ROzWg#1
DFT : http://imgur.com/WxMTl,ROzWg#0

As you can see the although the DFT is correctly normalized to 1, it is incorrectly scaled. If I change the parameters n1 (steps) or L (domain) then this scaling is affected.
I need to do something to get the Fourier[] DFT function to know about the value dx. I have tried adjusting the FourierParemeters option for Fourier and have spent a great amount of time without finding a solution to what seems to be a very simple problem.

Any help would be *greatly* appreciated.

Thanks.
 
Last edited:
Physics news on Phys.org
What sort of answer are you looking for, and what do you think that the solution should be? In other words, are you certain that Mathematica is right but that you might be looking at it in a different light. I find this happens a lot with Mathematica; often, I will use it (or Wolfram Alpha) and when I solve an entire solution I will get the more elegant expression as a result (the kind that I would not compute by hand), then I do the steps (in Mathematica) and get a "different" answer (that I would get if I did on paper) and its equivalent.
 

Similar threads

Replies
0
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 128 ·
5
Replies
128
Views
14K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K