confusion about completeness relations
PDF · 19 pages · 295.1 KB
Open PDF file
Personal working note by Phil dated 5.23.10, written while updating the Fourier Cosine Transform section of his transforms document. He traces a factor-of-2 error to a wrong completeness relation taken from Stakgold, and shows that cos·cos and sin·sin integrals give delta(x'-x) plus or minus delta(x'+x), derived from exponentials. It also reviews transform theory and gives examples and appendices.
AI-written summary; may contain errors.
Extracted text (machine-read; may contain errors)
1
Confusion about Completeness Relations: A Paradox
PhL
5.23.10
Well, this is just one of those things. You make a mistake early on, or some bad assumptions, or allow
yourself to be misled, and you then tumble down a sad tunnel to disaster. You then have to find the
problem, thread backwards out of the disaster, and make sure everything is OK again. A lot of things have
to be screwed back down that came loose in the process.
Overview: I was simply updating the Fourier Cosine Transform section of my transforms.doc (and also
another doc where I actually did the work), and I started noticing inconsistencies, factors of 2 wrong,
completely illogical results. I began thinking that somehow the distributional equalities for delta functions
are dependent on the choice of Hilbert Space (eg, the space of even L2 functions), rather than being
general mathematical statements. My disaster pathway and recovery was this:
1. I was "pretty darn sure" that
∫0
∞ dk cos(kx') cos(kx) = (π/2) δ(x'– x)
// wrong!!
(*)
∫0
∞ dk sin(kx') sin (kx) = (π/2) δ(x'– x)
// wrong!!
I saw the first (*) clearly stated on page 293 of Stak (4.70) and I knew for 100% sure that
∫0
∞ dk [ cos(kx') cos(kx) + sin(kx') sin (kx) ] = π δ(x'– x)
// this is correct
so given the first line above, I felt the second had to also be true. But then when I inserted projection into
expansion and assumed f(x) happened to be even (the cosine case), I kept being off by a factor of 2, which
I interpreted as saying that (*) "sometimes" has a different constant depending on "your interval" or "your
problem" etc etc. I kept trying different examples, trying to get the simplest possible case that showed
"the paradox" (hence all the examples below, which I have now fixed up). I was thinking maybe
somehow "completeness" is specific to the interval, and so on (It is in a sense, but not in the sense I was
thinking about.) In fact, I thought I carefully derived (*) "from first principles" so I was very sure it was
true, especially with Stakgold's blatant p 293 confirmation. Notice the combination of making an error
AND being misled, or reinforced, in that error. The failure of this derivation is now documented in
Appendix B. I was so amazed about the bad factor of (1/2) that I did a specific transform of an even
function (Appendix A), but that example (gaussian) did not show up the factor of (1/2) "error"! This bad
situation persisted from maybe noon 5/23 to noon 5/24. I then happened to notice that the above δ relation
has different symmetry on the two sides. The left side is even in x, but the right side is not even in x, so I
finally realized "something is wrong here".
2. I did not know the resolution at this point, so I went off and tried to do a rigorous proof of (*) using
distribution theory ( see "an exercise in distribution theory.doc"). I used a Gaussian test function φ(x)
even though it is not quite kosher, and I attempted to prove the distributional equation (*) by integrating
both sides against the test function. To my great interest, my proof failed, so the plot thickened. I then
studied this distributional theory example more, and I finally realized that the correct results are these
2
∫0
∞ dk cos(kx') cos(kx) = (π/2) [ δ(x'– x) + δ(x'+ x) ]
// this is correct
∫0
∞ dk sin(kx') sin (kx) = (π/2) [ δ(x'– x) – δ(x'+ x) ]
// this is correct
These are the "general mathematic results" and are not dependent on any particular ODE problem you
might be thinking about. These results have all the correct symmetry properties. Then, adding insult to
injury, I realized you can derive the above equations in about 10 seconds by just expanding cos in
exponentials everywhere. The Stakgold statement of (*) was technically correct because his problem was
using x in (0,∞) so the second delta function cannot get "a hit" and can be omitted. [ But he issued no
comments on this. ]
Once I included the second term in the cosine result above, all the paradoxes went away, and no
mystery was left. The mysterious factor of (1/2) for even functions always gets resolved by that second
delta function and you get (1/2) { f(x) + f(-x) } = f(x) because you assumed f(x) was even.
3. The reader should have no reason to look any further in this document apart from the numbered results
stated in Section 1, and perhaps the "quick review" of transform theory in Section 3. I just keep all the
rest around in case I get confused again some day and start wandering down this same path. One detail to
note is that in this world we are dealing with a singular boundary value problem so the eigenfunctions and
their eigenvalues don't strictly even exist. But we know how to handle this, and we know how to
normalize even the singular eigenfunctions in a manner that makes the transform theory work perfectly.
CONTENTS:
1. First, derive some "facts" from the exponential delta function statement. ................................... 2
2. Thinking about the Fourier Cosine Integral Transform ................................................................. 4
3. Quick Review of Transform Theory. ................................................................................................ 6
4. Write out the full FT in real and imaginary parts: .......................................................................... 7
5. Stak with full intervals. ....................................................................................................................... 9
6. Stak with half intervals. ...................................................................................................................... 9
Example 1: ............................................................................................................................................. 10
Example 2: ............................................................................................................................................. 11
Example 3. ............................................................................................................................................. 13
Conclusion: all paradoxes have now gone away! .............................................................................. 14
Appendix A: ........................................................................................................................................... 14
Appendix B: An example of transform of an even function f(x) ...................................................... 16
1. First, derive some "facts" from the exponential delta function statement.
Using only the fact that ∫-∞
∞ ds e-ist = 2π δ(t) , we do the following derivation:
3
∫-∞
∞ dx cos(k'x) cos(kx) = (1/4) ∫-∞
∞ dx [eik'x + e-ik'x] [eikx + e-ikx]
= (1/4) ∫-∞
∞ dx [ ei(k'+k)x + ei(k'-k)x + ei(-k'+k)x + ei(-k'-k)x ]
= (1/4) 2π [δ(k'+k) + δ(k'-k) + δ(-k'+k)+ δ(-k'-k)]
= π [δ(k'-k) + δ(k'+k) ]
Thus we may say that
(1/π) ∫-∞
∞ dx cos(k'x) cos(kx) = δ(k'– k) + δ(k'+ k)
(1)
(2/π) ∫0
∞ dx cos(k'x) cos(kx) = δ(k'– k) + δ(k'+ k)
(3)
Now repeat the above for two sines and edit the changes { sin = [e+ - e-]/(2i) }
∫-∞
∞ dx sin(k'x) sin(kx) = (-1/4) ∫-∞
∞ dx [eik'x – e-ik'x] [eikx – e-ikx]
= (-1/4) ∫-∞
∞ dx [ ei(k'+k)x – ei(k'-k)x – ei(-k'+k)x + ei(-k'-k)x ]
= (-1/4) 2π [δ(k'+k) – δ(k'-k) – δ(-k'+k)+ δ(-k'-k)]
= π [δ(k'-k) – δ(k'+k) ]
Thus we may say that
(1/π) ∫-∞
∞ dx sin(k'x) sin(kx) = δ(k'– k) – δ(k'+ k)
(2)
(2/π) ∫0
∞ dx sin(k'x) sin(kx) = δ(k'– k) – δ(k'+ k)
(4)
If we try ∫-∞
∞ dx sin(k'x)cos(kx), say, the integrand is odd in x and we just get 0.
So here is a summary of the above results expressed "both ways" :
(1/π) ∫-∞
∞ dx cos(k'x) cos(kx) = δ(k'– k) + δ(k'+ k)
(1)
(1/π) ∫-∞
∞ dx sin(k'x) sin(kx) = δ(k'– k) – δ(k'+ k)
(2)
4
(2/π) ∫0
∞ dx cos(k'x) cos(kx) = δ(k'– k) + δ(k'+ k)
(3)
(2/π) ∫0
∞ dx sin(k'x) sin(kx) = δ(k'– k) – δ(k'+ k)
(4)
(1/π) ∫-∞
∞ dk cos(kx') cos(kx) = δ(x'– x) + δ(x'+ x)
(5)
(1/π) ∫-∞
∞ dk sin(kx') sin(kx) = δ(x'– x) – δ(x'+ x)
(6)
(2/π) ∫0
∞ dk cos(kx') cos(kx) = δ(x'– x) + δ(x'+ x)
(7)
(2/π) ∫0
∞ dk sin(kx') sin(kx) = δ(x'– x) – δ(x'+ x)
(8)
If our entire universe consists of x in (0,∞) , then we can drop the second delta function. You might worry
about what happens in this case if x = 0 and x' = 0. We can see that LHS(8) = 0, so in this case we must
keep both terms to get δ(0)-δ(0) = 0. And I guess we conclude RHS(7) = 2 δ(0) in this case.
We can add the following to the above list
∫0
∞ dk cos[k(x-x')] = ∫0
∞ dk [ cos(kx') cos(kx) + sin(kx') sin (kx) ] = π δ(x'– x)
(9)
which is easy to verify from (7) and (8). This appears in Jackson 3.139 page 84.
2. Thinking about the Fourier Cosine Integral Transform
Let's start with the complex transform from above which was this
f(x) = ∫-∞
∞ dk fk e-ikx
// expansion
fk = (1/2π) ∫-∞
∞ dx f(x) e+ikx
// projection
∫-∞
∞ dx ei(k-k')x = ∫-∞
∞ dx cos[(k-k')x] = 2π δ(k-k')
// orthogonality
∫-∞
∞ dk e-ik(x'-x) = ∫-∞
∞ dk cos[k(x-x')] = 2π δ(x-x')
// completeness
(0) Let's first verify that the above is correct in our "direction" of interest:
If we insert the projection into the expansion, we get
f(x) = ∫-∞
∞ dk fk e-ikx = ∫-∞
∞ dk { (1/2π) ∫-∞
∞ dx' f(x') e+ikx' } e-ikx
5
= ∫-∞
∞ dx' f(x'){ (1/2π) ∫-∞
∞ dk e+ikx' e-ikx }
from which we conclude that
∫-∞
∞ dk e+ikx' e-ikx = 2π δ(x-x')
which agrees with our section 1 above. And of course the other direction is the same idea. The other
direction is a statement of orthogonality for these non-normalizable functions.
(1) We first write out the expansion:
f(x) = ∫-∞
∞ dk fkcos(kx) + i ∫-∞
∞ dk fksin(kx)
If f(x) is even in x, the second term must vanish since it is odd in x. Thus, for even f(x),
f(x) = ∫-∞
∞ dk fkcos(kx)
(2) We next write out the projection:
fk = (1/2π) ∫-∞
∞ dx f(x) cos(kx) + (i/2π) ∫-∞
∞ dx f(x) sin(kx)
If f(x) is even in x, the second term must vanish since its integrand is odd in x. Thus, for even f(x),
fk = (1/2π) ∫-∞
∞ dx f(x) cos(kx)
and this tells us that fk is even in k. At this point, we have said nothing about things being real. If even
f(x) happens to be real, then fk is also real, but let's not make this restriction!
(3) At this point, merely assuming that f(x) is even, we have shown that our Full FT can simply be
rewritten in this manner,
f(x) = ∫-∞
∞ dk fk cos(kx)
fk = (1/2π) ∫-∞
∞ dx f(x) cos(kx)
If we insert the projection into the expansion, we get
f(x) = ∫-∞
∞ dk fk cos(kx) = ∫-∞
∞ dk {(1/2π) ∫-∞
∞ dx' f(x') cos(kx')} cos(kx)
6
= (1/2) ∫-∞
∞ dx' f(x') { (1/π) ∫-∞
∞ dk cos(kx') cos(kx) }
= (1/2) ∫-∞
∞ dx' f(x') { δ(x'– x) + δ(x'+ x) }
// Section 1 result (5)
= (1/2) [ f(x) + f(-x)]
= f(x)
// using the fact that f(x) was assumed to be even.
When I first did this, I didn't know about the second δ term, so I was getting a "paradox" f(x) = (1/2) f(x),
but that paradox has now gone away!
3. Quick Review of Transform Theory.
What exactly is the meaning of one of these "transforms"? As Stakgold explains (p 268 circa), you start
with a differential operator L, throw in some homo boundary conditions, then solve Lφλ = sλφλ and
determine the spectrum for λ and the eigenfunctions φλ. You know from general theory that
eigenfunctions corresponding to different eigenvalues will be orthogonal (perhaps with s(x) weighting
function). You solve (L-sλ)g = δ for the Green's function g(x|ξ λ) and you then can show that the
completeness delta function is given by
– (1/2πi) ∫
dλ g(x|ξ; λ) = δ(x-ξ)/s(x) = Σλ φλ(x) φ¯λ(ξ)
// completeness
∫dx s(x)φλ'(x)* φλ(x) = δλλ'
// orthonormality
where the φn must be to be normalized. Now you can talk about a transform. Try this
f(x) = Σλ fλ φλ(x)
// expansion
To "get" the transform, you need to solve this expansion for the projection fλ. To do that you apply the
operator ∫dx s(x) φλ'(x)* to both sides (integral is over your "interval"),
∫dx s(x)φλ'(x)* f(x) = ∫dx s(x)φλ'(x) {Σλ fλ φλ(x) }
= Σλ fλ {∫dx s(x)φλ'(x)* φλ(x)} = Σλ fλ δλλ' = fλ'
so only (weighted) orthogonality was needed to find the projection. Now we have a "transform"
f(x) = Σλ fλ φλ(x)
// expansion
7
fλ = ∫dx s(x) φλ(x)* f(x)
// projection
I have been deliberately vague about the meaning of Σλ. It means the sum over the spectrum. Each
eigenfunction of the complete basis is supposed to be included once ( not two or three times....).
So we were able to obtain our "transform" without ever considering the "completeness relation".
However, we verify that now by inserting the projection into the expansion
f(x) = Σλ fλ φλ(x) = Σλ { ∫dx' s(x') φλ(x')* f(x') } φλ(x) = ∫dx' f(x') s(x'){ Σλ φλ(x')* φλ(x)}
= ∫dx' f(x') δ(x-x') = f(x)
Now go back to the development of Section 2 above. We start with the full FT, but then we restrict our
domain to functions which are even in x. We end up with this "translation" or "rewrite" of the full FT:
f(x) = ∫-∞
∞ dk fk cos(kx)
fk = (1/2π) ∫-∞
∞ dx f(x) cos(kx)
What is the corresponding EV problem here? Full x interval. No weight function. Stakgold approaches
this issue on page 293. Oops. There are no "true" eigenvalues of the EV equation because EF's are not
normalizable on our infinite interval. But the Green's problem does have a solution which he writes down,
and we can then apply our rule – (1/2πi) ∫
dλ g(x|ξ; λ) = δ(x-ξ)/s(x) and this he claims gives the same
result as I show in Section 1 above [ where we drop the second δ since working on (0,∞) only]. So Stak
gets this thing and the resulting transform by actually computing g, he does not do it as a specialization of
the full complex FT.
Commented added: In the cosine problem on (0,∞), you do get Σλ φλ(x) φ¯λ(x') = δ(x-x') as noted
above. But when you "extend" this problem to the full x interval (-∞,∞), you pick up that second δ term
which seems to conflict with our "theory" which, as you see, only shows δ(x-x'). In this extended
problem, our BC is u'(0) = 0 so is not really at an endpoint, so I think we have to say this does not really
fit into the formalism. We are making it fit by doing this little extension. This could surely be put on a
solid basis, but I don't see the need to do it since everything seems OK now.
4. Write out the full FT in real and imaginary parts:
f(x) = ∫-∞
∞ dk fk e-ikx
// expansion
fk = (1/2π) ∫-∞
∞ dx f(x) e+ikx
// projection
f(x) = ∫-∞
∞ dk fk [ cos(kx) - i sin(kx)]
// expansion
8
fk = (1/2π) ∫-∞
∞ dx f(x) [ cos(kx) + i sin(kx)]
// projection
What happens when we put the projection into the expansion?
f(x) = ∫-∞
∞ dk fk [ cos(kx) - i sin(kx)]
= ∫-∞
∞ dk {(1/2π) ∫-∞
∞ dx' f(x') [ cos(kx') + i sin(kx')]} [ cos(kx) - i sin(kx)]
= ∫-∞
∞ dx' f(x') { (1/2π) ∫-∞
∞ dk [ cos(kx') + i sin(kx')] [ cos(kx) - i sin(kx)]
= ∫-∞
∞ dx' f(x') { (1/2π) ∫-∞
∞ dk [ cos(kx') cos(kx) + sin(kx') sin(kx)] }
We threw out integrals with odd integrands. Now, there are two terms remaining, both are even, the cos
cos and the sin sin. We know from Section 1 that these add up to 2π δ(x-x') and then we get the right
answer.
Now look what happens when we apply this to an even function:
f(x) = ∫-∞
∞ dk fk cos(kx)
+ vanishing term
// expansion
fk = (1/2π) ∫-∞
∞ dx f(x) cos(kx)
+ vanishing term
// projection
For even functions, the second terms are not there, so we don't get that sin(kx') sin(kx) contribution. In
this case we get just
∫-∞
∞ dx' f(x') { (1/2π) ∫-∞
∞ dk [ cos(kx') cos(kx) }
= (1/2) ∫-∞
∞ dx' f(x') { (1/π) ∫-∞
∞ dk [ cos(kx') cos(kx) }
= (1/2) ∫-∞
∞ dx' f(x') { [δ(x'– x) + δ(x'+ x) ] }
// Section 1 (5)
= (1/2) { f(x) + f(-x) } = f(x)
// since f(x) assumed even
and all is well. When I did not know about the presence of the δ(x'+ x) term, things were not "well" and I
kept getting f(x) = (1/2) f(x) and this was the big "paradox".
9
5. Stak with full intervals. Let's look at Stak p 293 yet again and just convert his results to full intervals.
So here is then his transform (4.71) -- I am doing nothing more than rewriting it --
f(x) = (2/π)1/2 (1/2) ∫-∞
∞ dk fkcos(kx) = (1/2π)1/2 ∫-∞
∞ dk fkcos(kx)
fk = (2/π)1/2 (1/2) ∫-∞
∞ dx f(x) cos(kx) = (1/2π)1/2 ∫-∞
∞ dx f(x) cos(kx)
Now, what happens if we put the projection into the expansion:
f(x) = (1/2π)1/2 ∫-∞
∞ dk fkcos(kx)
= (1/2π)1/2 ∫-∞
∞ dk {(1/2π)1/2 ∫-∞
∞ dx' f(x') cos(kx')}cos(kx)
= ∫-∞
∞ dx' f(x') { (1/2π) ∫-∞
∞ dk cos(kx')}cos(kx) }
= (1/2) ∫-∞
∞ dx' f(x') { (1/π) ∫-∞
∞ dk cos(kx')}cos(kx) }
= (1/2) ∫-∞
∞ dx' f(x') { δ(x'– x) + δ(x'+ x) }
// Section 1 (5)
= (1/2) {f(x) + f(-x)} = f(x)
// all is well
6. Stak with half intervals. OK, let's do it again with things exactly as he has them stated.
f(x) = (2/π)1/2 ∫0
∞ dk fk cos(kx)
fk = (2/π)1/2 ∫0
∞ dx f(x) cos(kx)
Now put the projection into the expansion:
f(x) = (2/π)1/2 ∫0
∞ dk fkcos(kx)
= (2/π)1/2 ∫0
∞ dk{(2/π)1/2 ∫0
∞ dx' f(x') cos(kx')}cos(kx)
= ∫0
∞ dx' f(x') [ (2/π) ∫0
∞ dk{cos(kx')}cos(kx) ]
10
= ∫0
∞ dx' f(x') [ δ(x'– x) + δ(x' + x) ]
// Section 1 result (7)
= f(x)
// since don't get a hit on the second delta function since x > 0
Let's go back to our "theory" which is this (set s(x) = 1 to keep things clearer)
Σλ φλ(x) φ¯λ(ξ) = δ(x-ξ)
// completeness
∫dx φλ'(x) φ¯λ(x) = δλ'λ
// orthogonality
If λ is a continuous spectrum, we would I think write these as
∫dλ φλ(x) φ¯λ(ξ) = δ(x-ξ)
// completeness
∫dx φλ'(x) φ¯λ(x) = δ(λ-λ')
// orthogonality
where dλ integrates over the continuous spectrum, and dx integrates over the interval. The φλ(x) are the
eigenfunctions of the Laplace equation in 1D with some unspecified BC's, and λ is in the spectrum. The
transform is then going to be
f(x) = ∫dλ fλ φλ(x)
fλ = ∫dx f(x) φ¯λ(x)
If you "put either into the other" you will get an identity according to the completeness and orthogonality
relations shown above.
Example 1: Consider (0,∞) as the interval for x, and I guess u'(0) = 0 as the boundary condition. We
know that the eigenfunctions have the form ~ cos(kx) where k = λ .
First question: what is "the measure" going to be in the dλ integral? Note that dλ ≠ dk. I will just
assume for the moment that the correct measure is dk. Then we have
∫dk φk(x) φ¯k(ξ) = δ(x-ξ)
// completeness
∫0
∞ φk'(x) φ¯k(x) = δ(k-k')
// orthogonality
I can see that the spectrum for k (without duplication) would be the positive real k axis. If I include the
negative axis, I am including the same eigenfunction twice and that must be wrong. So I will refine the
above and say this:
11
∫0
∞ dk φk(x) φ¯k(ξ) = δ(x-ξ)
// completeness
∫0
∞ dx φk'(x) φ¯k(x) = δ(k-k')
// orthogonality
From Section 1 (3) we may write
∫0
∞ dx cos(kx)cos(k'x) = (π/2) δ(k-k')
where we omit the δ(k'+ k) term since we are only using k > 0. It then follows that the "correctly
normalized" eigenfunctions φk(x) are these
φk(x) = (2/π)1/2 cos(kx)
=> ∫0
∞ dx φk'(x) φ¯k(x) = δ(k-k')
We can then write the correct transform for this problem as follows
f(x) = ∫0
∞ dk fk φk(x) = (2/π)1/2 ∫0
∞ dk fk cos(kx)
fk = ∫0
∞ dx f(x) φ¯k(x) = (2/π)1/2 ∫0
∞ dx f(x) cos(kx)
and this is exactly how it appears on Stak p 293. At this point, I could "move the constant" so it is all in
the projection by writing:
g(x) = ∫0
∞ dk gk cos(kx)
gk = (2/π) ∫0
∞ dx g(x) cos(kx)
Example 2: Consider (-∞,∞) as the interval for x, and I guess u'(0) = 0 as the boundary condition. We
know that the eigenfunctions have the form ~ cos(kx) where k = λ .
First question: what is "the measure" going to be in the dλ integral? Note that dλ ≠ dk. I will just
assume for the moment that the correct measure is dk. Then we have
∫dk φk(x) φ¯k(ξ) = δ(x-ξ)
// completeness
∫-∞
∞ φk'(x) φ¯k(x) = δ(k-k')
// orthogonality
I can see that the spectrum for k (without duplication) would be the positive real k axis. If I include the
negative axis, I am including the same eigenfunction twice and that must be wrong. So I will refine the
above and say this:
12
∫0
∞ dk φk(x) φ¯k(ξ) = δ(x-ξ)
// completeness
∫-∞
∞ dx φk'(x) φ¯k(x) = δ(k-k')
// orthogonality
The corresponding transform should be this:
f(x) = ∫0
∞ dk fk φk(x)
fk = ∫-∞
∞ dx f(x) φ¯k(x)
Let's just verify to make sure we are still error-free at this point:
f(x) = ∫0
∞ dk fk φk(x) = ∫0
∞ dk { ∫-∞
∞ dx' f(x') φ¯k(x')} φk(x)
= ∫-∞
∞ dx' f(x') { ∫0
∞ dk φ¯k(x') φk(x) } = ∫-∞
∞ dx' f(x') δ(x-x') = f(x)
so yes, we are still OK.
So now let's find our normalized eigenfunctions φk(x). I will assume that the following Section 1 fact
derived above is a mathematical fact that is independent of the theory of ODE's and all that stuff. It is
something I could prove rigorously in distribution theory by taking finite models for delta functions. That
fact is this:
∫-∞
∞ dx cos(kx)cos(k'x) = π δ(k-k')
// Section 1 result (1) restricting to k,k' > 0
It then follows that the "correctly normalized" eigenfunctions φk(x) are these
φk(x) = (1/π)1/2 cos(kx)
=> ∫-∞
∞ dx φk'(x) φ¯k(x) = δ(k-k')
We can then write the correct transform for this problem as follows
f(x) = ∫0
∞ dk fk φk(x) = (1/π)1/2 ∫0
∞ dk fk cos(kx)
fk = ∫-∞
∞ dx f(x) φ¯k(x) = (1/π)1/2 ∫-∞
∞ dx f(x) cos(kx)
and this form does not appear anywhere in Stak. If we now put the second into the first we get
13
f(x) = (1/π)1/2 ∫0
∞ dk fk cos(kx)
= (1/π)1/2 ∫0
∞ dk { (1/π)1/2 ∫-∞
∞ dx' f(x') cos(kx')} cos(kx)
= (1/2) ∫-∞
∞ dx' f(x') { (2/π) ∫0
∞ dk { cos(kx') cos(kx) }
= (1/2) ∫-∞
∞ dx' f(x') { δ(x'– x) + δ(x'+ x) }
= (1/2) { f(x) + f(-x)}
= f(x)
// since f(x) assumed even (see the BC), and all is well
Example 3. Our example 2 which came out fine was this:
f(x) = ∫0
∞ dk fk φk(x) = (1/π)1/2 ∫0
∞ dk fk cos(kx)
fk = ∫-∞
∞ dx f(x) φ¯k(x) = (1/π)1/2 ∫-∞
∞ dx f(x) cos(kx)
We could "move the constant" to get this alternate form
g(x) = ∫0
∞ dk gk cos(kx)
gk = (1/π) ∫-∞
∞ dx g(x) cos(kx)
Now, I can see from the second line that gk is even in k if I choose to interpret it as existing for negative k
(that is, I am extending the meaning of gk). Then the integrand in the first line is even in k, and we could
then write the first transform above in this way:
g(x) = (1/2) ∫-∞
∞ dk gk cos(kx)
gk = (1/π) ∫-∞
∞ dx g(x) cos(kx)
and I could then again "move the constant" and obtain
h(x) = ∫-∞
∞ dk hk cos(kx)
hk = (1/2π) ∫-∞
∞ dx h(x) cos(kx)
14
Now let's insert the second into the first and see what happens:
h(x) = ∫-∞
∞ dk {(1/2π) ∫-∞
∞ dx' h(x') cos(kx')} cos(kx)
= (1/2) ∫-∞
∞ dx' h(x') { (1/π) ∫-∞
∞ dk cos(kx') cos(kx) }
= (1/2) ∫-∞
∞ dx' h(x') { δ(x-x') + δ(x+x')}
= h(x)
// as usual, and all is well
Conclusion: all paradoxes have now gone away!
Appendix A: Notes from my failed attempt to show that ∫-∞
∞ dk sin(kx)sin(kx') = π δ(x-x').
When I first did this, I thought I had a proof of this fact, but now that I know that the result is wrong, I
went back and found the error in my proof. So here is the logic of that proof with the error corrected and
we see how the proof leads to the conclusion that the above is correct only for x ≠ - x' . If we are working
with x only in (0,∞), then the quoted fact can be regarded as true, but not for x in (-∞,∞).
Let's now look at the full transform completeness statement
∫-∞
∞ dk e-ik(x'-x) = 2π δ(x-x')
// completeness
We can write this out the LHS as follows:
∫-∞
∞ dk e-ik(x'-x) = ∫-∞
∞ dk {cos[k(x-x')] - i sin[k(x-x')] } = 2π δ(x-x')
But we know that ∫-∞
∞ dk sin[k(x-x')] = 0 because the integrand is an odd function of k. Thus, we arrive
at these fairly obvious facts
∫-∞
∞ dk cos[k(x-x')] = 2π δ(x-x')
∫-∞
∞ dk sin[k(x-x')] = 0
We can write
15
cos[k(x-x')] = cos(kx)cos(kx') + sin(kx)sin(kx')
// Schaum p 15
sin[k(x-x')] = sin(kx)cos(kx') - cos(kx)sin(kx')
// Schaum p 14
Inserting these into the above we get
∫-∞
∞ dk { cos(kx)cos(kx') + sin(kx)sin(kx')} = 2π δ(x-x')
// this is true!
∫-∞
∞ dk { sin(kx)cos(kx') - cos(kx)sin(kx')} = 0
// and so is this.
Each term in the second equation is 0 since the integrand is odd. Neither term in the first line vanishes due
to oddness of the integrand in k.
Now, is there some way we can show that the two terms in the first line are the same? Try this:
∫-∞
∞ dk cos(kx)cos(kx') = ∫-∞
∞ dk sin(kx+π/2)sin(kx' + π/2)
We are free to change variables to k' = k + a for any fixed a, so write this as
= ∫-∞
∞ dk' sin([k'-a]x+π/2)sin([k'-a]x' + π/2)
and now remove the prime
= ∫-∞
∞ dk sin([k-a]x+π/2)sin([k-a]x' + π/2)
= ∫-∞
∞ dk sin(kx + [π/2-ax]) sin(kx' + [π/2-ax'])
If we now choose a such that ax = π/2 this becomes [ so from now on, a = (π/2)/x ]
= ∫-∞
∞ dk sin(kx) sin(kx' + [ax-ax'])
Now expand
sin(kx' + [ax-ax']) = sin(kx') cos[ax-ax'] + cos(kx') sin[ax-ax']
Our expression above then becomes
= ∫-∞
∞ dk sin(kx) { sin(kx') cos[ax-ax'] + cos(kx') sin[ax-ax'] }
16
= cos[ax-ax'] ∫-∞
∞ dk sin(kx) sin(kx') + sin[ax-ax'] ∫-∞
∞ dk sin(kx) cos(kx')
In the second term the integrand is odd so it vanishes. The first term then gives
= cos[ax-ax'] ∫-∞
∞ dk sin(kx) sin(kx')
But a is not arbitrary it is equal to a = (π/2)/x so this result is then
= cos[x(π/2)/x -x'(π/2)/x] ∫-∞
∞ dk sin(kx) sin(kx')
= cos[(π/2) -(π/2)x'/x] ∫-∞
∞ dk sin(kx) sin(kx')
= sin[(π/2)(x'/x)] ∫-∞
∞ dk sin(kx) sin(kx')
So we have now proven this fact:
∫-∞
∞ dk cos(kx)cos(kx') = sin[(π/2)(x'/x)] ∫-∞
∞ dk sin(kx) sin(kx')
And we have this starting fact from above:
∫-∞
∞ dk cos(kx)cos(kx') + ∫-∞
∞ dk sin(kx)sin(kx')} = 2π δ(x-x')
Inserting the previous line we get
{ sin[(π/2)(x'/x)] + 1} ∫-∞
∞ dk sin(kx)sin(kx') = 2π δ(x-x')
Now, as long as we don't have x = -x', we can divide both sides by {} to get
∫-∞
∞ dk sin(kx)sin(kx') = 2π δ(x-x') / {sin[(π/2)(x'/x)] + 1} = 2π δ(x-x') / {1 + 1} = π δ(x-x')
If x = -x', then {} = 0 and we conclude that ∫-∞
∞ dk sin(kx)sin(kx') = 0/0 so we have no conclusion in
this case. There could be an extra δ(x+x') term sitting on the right and we would never know it.
Appendix B: An example of transform of an even function f(x)
Let's take f(x) = exp(-q2x2) as an example. The integral in question is this: (GR7 p 488)
17
Thus we get, setting p = k and λ = 0
fk = (1/2π) ∫-∞
∞ dx exp(-q2x2) cos(kx) = (1/2π)( π /q)exp(-k2/4q2)
Fine, now put this back into the expansion:
f(x) = ∫-∞
∞ dk fk cos(kx)
= ∫-∞
∞ dk{ (1/2π)( π /q)exp(-k2/4q2)} cos(kx)
= (1/2π)( π /q) ∫-∞
∞ dk exp(-k2/4q2)} cos(kx)
Q = (2q)-1
= (1/2π)( π /q) {( π /Q) exp(-x2/4Q2)
1/Q = 2q, 1/(4Q2) = 4q2/4
= (1/2π)( π /q) {(2q π ) exp(-x2/4Q2)
= exp(-x2q2) = f(x)
QED and all is well
__________________________________________________________________________________
The following sections were added on 4.22.11, well after this doc was written.
7. Does the Fourier Transform apply to piecewise continuous functions?
I think the answer is yes, but with a caveat mentioned below. Generically, we know we can fit a step or
triangle function, say, using a Fourier Transform. The box gives the sinc, and the box is "piecewise
continuous". This works because the basis functions form a complete set in some sense. I am looking now
on the web. One guys says this, where he opens by saying f(x) and f'(x) are both piecewise continuous.
Notice that he indicates L1 convergence and not L2. Notice also that the LHS of his theorem allows as
there might be a discontinuity at x ! So this theorem has a lot to say about our questions of today.
18
Another author makes a similar statement for Fourier series and has a proof
And another author says
"Complex exponentials (or sines and cosines) are periodic functions, and the set of complex exponentials
is complete and orthogonal. Thus the Fourier transform can represent any piecewise continuous
function and minimizes the least-square error between the function and its representation."
Here then is that caveat. If you compute a Fourier projection and then insert it back into the expansion,
you are supposed to recreate the original function from which you got the projections. BUT, even an full
(infinite number of terms) Fourier Series or a Fourier Integral expansion cannot be discontinuous. So, if
your starting function had a (finite) discontinuity, your recovered function will have a nearly vertical
interpolating line such that right at the point of discontinuity, your expansion will create a value that is
exactly the average of the function value just to either side of the discontinuity.
A standard example with Fourier Series is reconstructing a sawtooth. If you take a finite but
reasonable number of terms, your reconstruction looks like this (from Maple doc)
19
Here you see those slightly tipped vertical lines which cross in this case right at the value x = 0, so in the
reconstruction here (which happens to be from a Laplace transform), you get f(1) = (1/2)[ 1 + (-1)] = 0. I
think the same idea happens in all "Fourier related" transforms and probably others as well.
I don't know what this theorem is called, and I have decided not to track it down right now, but to
accept the result.