Problems with Fourier transformation: jump at discontinuity

kahn10
Messages
1
Reaction score
0

Homework Statement



Consider a particle in an infinite square well of width  = 1. The particle is in a state
given by:

Phi=A(1/2-|x-1/2)

a=1

b) Find the general form of the expansion coefficients (the Fourier coefficients, right?)
for expanding the function in terms of the square-well basis set.
c) On the same graph, plot the wave function and the expansion in terms of square well
functions (take the sum to at least five terms or so) to verify the notion of expanding
the wave function in eigenstates of the well.

Homework Equations



a_n=1/L *Integrate[f[x]*Cos(n*Pi*x/L),{x,-L,L}]
b_n=1/L *Integrate[f[x]*Sin(n*Pi*x/L),{x,-L,L}]

f[x]=a_0/2+Sum[a_n*Cos(n*Pi*x/L)+b_n*Sin(n*Pi*x/L),{n,1,Infinity}]

The Attempt at a Solution


I ran through the generalized form for a_n and b_n and got the following values:

a_n=2*(-(1/(2 n^2 \[Pi]^2)) + (-1)^n/(2 n^2 \[Pi]^2)) Cos[2 n \[Pi] x]

b_n=2*((-1)^n Sin[2 n \[Pi] x])/(2 n \[Pi])

I got these by splitting the transformation at 1/2 and rewriting 0 to 1/2 as A(1/2-(1/2-x)=x and 1/2 to 1 as A(1/2-(x-1/2)=(1-x). When :I graph my final transform it lines up nicely with the right side of my phi but not the left. I know I'm missing an a_0 but I can't explain why it is so off for tho 0 to 1/2 portion.
 
Physics news on Phys.org
You might want to take the time to learn how to write the equations in LaTeX. I found your post incredibly hard to read.
kahn10 said:

Homework Statement



Consider a particle in an infinite square well of width  = 1. The particle is in a state
given by:

Phi=A(1/2-|x-1/2)

a=1
What does a represent?
b) Find the general form of the expansion coefficients (the Fourier coefficients, right?)
for expanding the function in terms of the square-well basis set.
c) On the same graph, plot the wave function and the expansion in terms of square well
functions (take the sum to at least five terms or so) to verify the notion of expanding
the wave function in eigenstates of the well.

Homework Equations



a_n=1/L *Integrate[f[x]*Cos(n*Pi*x/L),{x,-L,L}]
b_n=1/L *Integrate[f[x]*Sin(n*Pi*x/L),{x,-L,L}]

f[x]=a_0/2+Sum[a_n*Cos(n*Pi*x/L)+b_n*Sin(n*Pi*x/L),{n,1,Infinity}]

The Attempt at a Solution


I ran through the generalized form for a_n and b_n and got the following values:

a_n=2*(-(1/(2 n^2 \[Pi]^2)) + (-1)^n/(2 n^2 \[Pi]^2)) Cos[2 n \[Pi] x]

b_n=2*((-1)^n Sin[2 n \[Pi] x])/(2 n \[Pi])

I got these by splitting the transformation at 1/2 and rewriting 0 to 1/2 as A(1/2-(1/2-x)=x and 1/2 to 1 as A(1/2-(x-1/2)=(1-x). When :I graph my final transform it lines up nicely with the right side of my phi but not the left. I know I'm missing an a_0 but I can't explain why it is so off for tho 0 to 1/2 portion.
Right idea, but you need to think about what the eigenstates for the square well are. It's not the same as the Fourier basis.
 
Hello everyone, I’m considering a point charge q that oscillates harmonically about the origin along the z-axis, e.g. $$z_{q}(t)= A\sin(wt)$$ In a strongly simplified / quasi-instantaneous approximation I ignore retardation and take the electric field at the position ##r=(x,y,z)## simply to be the “Coulomb field at the charge’s instantaneous position”: $$E(r,t)=\frac{q}{4\pi\varepsilon_{0}}\frac{r-r_{q}(t)}{||r-r_{q}(t)||^{3}}$$ with $$r_{q}(t)=(0,0,z_{q}(t))$$ (I’m aware this isn’t...
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
Back
Top