Stakgold Chap 7 Exercise 7.16
PDF · 45 pages · 720.7 KB
Open PDF file
Phil's long working document on a Stakgold exercise about a semi-infinite rod driven at x=0 by a source like e^{-iωt}. It solves the problem by XT separation of variables, time Laplace transform, spatial Laplace transform, and Fourier cosine and sine transforms. It derives the damped traveling wave on p 242, examines the transient term and the missing initial condition, and records failed attempts, with personal commentary.
AI-written summary; may contain errors.
Extracted text (machine-read; may contain errors)
1
Stakgold Chapter 7 Exercise 7.16
PhL
4.6-17.11
I spent 11 days trying to do this problem. It was just exercise, I got most of it done. Part (c) I got into
accidentally, Stak never asked for it. Part (d) he did ask for and I feel his question is illogical.
This thing ballooned out so much that this new doc was needed.
(a) Solve the Problem using XT separation of variables...................................................................... 2
(a1) Derive p 242 A .............................................................................................................................. 2
(a2) Derive p 242 B. .............................................................................................................................. 4
(b) Solve the Problem using a time Laplace Transform: that is, derive p 242 C. ............................. 5
(b1) Show that the solution p 242 C is consistent with our assumption that u(x,0) = 0. ...................... 7
Plan A: fails, and for a good reason ................................................................................................. 7
Plan B: succeeds at showing that solution p 242 C has property u(x,0) = 0 ..................................... 9
(b3) Find the leading term of the transient part of the solution for large t. ......................................... 11
(c) Redo this same problem using the spatial Laplace Transform. ................................................... 13
(c1) State the equation in s-space and find its solution there. ............................................................. 13
(c2) Calculate the three required inverse Laplace Transforms ........................................................... 15
I think I know what went wrong ..................................................................................................... 15
(c3) A more detailed previous solution of the same problem, giving same 1/2 result. ...................... 17
(1) Set up the problem in x and s spaces. ........................................................................................ 18
(2) Find solution to the s space problem. ........................................................................................ 18
(3) Identify functions needing inverse Laplace transforms. ............................................................ 19
(4) Compute the first two terms of result (*). ................................................................................. 20
(5) Compute the third term of the result (*). ................................................................................... 21
(d) Redo this problem using the spatial Fourier Cosine Transform. ................................................ 22
Plan A: Try Fourier Cosine. ............................................................................................................... 23
Plan B: Try Fourier Sine. ................................................................................................................... 24
Plan C: Try cosine transform again, two Debnath Rules. ................................................................... 24
Plan D. Try sine transform again, two more Debnath Rules. ............................................................. 26
Plan E. Try the full Fourier Transform .............................................................................................. 29
Plan F: Try cosine transform yet again. ............................................................................................ 31
Plan G : We know our solution is p 242C. Suppose we "evenize" this and say ................................ 32
Plan H. Try full Fourier Transform again. .......................................................................................... 33
Plan I. Is there some way to do the transform on g rather than on u ? ............................................... 34
Plan J: Imagine heating a full infinite rod at the center ..................................................................... 34
Point of Confusion Revisited. Suppose we have some f(x) like this .................................................. 38
(e) Redo this problem using the spatial Fourier Sine Transform. .................................................... 38
Digression: Maple has made an error! ............................................................................................... 41
Can we do the transient integral? ........................................................................................................ 43
Preliminary Comments on the Half Rod
2
The problem is that of a 1D semi-infinite rod which is driven at its left end by a sinusoidal source. We are
supposed to solve this problem in three different ways below.
How does this problem fit with our "cylinder picture"? The space R is the half line, boundary is just the
left end, so think of that as the positive x axis. Then translate this thing "up" in the t direction to create the
cylinder, which in this case is just a semi-infinite vertical sheet running x = 0,∞ and t = 0,T say. The
"initial condition" would be to specify u(x,0) on the bottom edge of the sheet, and the "boundary
condition" would be to specify u(0,t) along the left edge of this sheet.
What is the causal Green's function here? It is what propagates you from one point on the sheet to
another point above it on the sheet. If we require g = 0 on the cylinder base and walls (meaning on the
bottom of the sheet and on the left edge of the sheet) , the Green's Function is (7.23) which Stak derived
from the image method. Given that g function, we should be able to solve any heat problem using 7.14.
We know that the dS0 integral becomes just a point, so this (7.14) reads (no inside sources)
u(x,t) = ∫0
∞ dx0 g(x,t|x0,0) u(x0,0) - ∫0
t dt0 ∂n0g(x,t|x0,t0) u(0,t0)
u(x,t) = ∫0
∞ dx0 g(x,t|x0,0)f(x0) - ∫0
t dt0 ∂n0g(x,t|x0,t0) h(0,t0)
The "boundary" is the left end of the rod, and the "initial condition" if any would be u(x,0) from x = 0 to
∞. So our famous "cylinder picture" is just a vertical line going from t = 0 up to t = T. An "initial
condition" would refer to
(a) Solve the Problem using XT separation of variables.
First, what exactly is "the problem" here? In his first statement of the problem on page 241, Stak assumes
we have a specific q and h function: q(x,t) = q(x)e-iωt and h(0,t) = A e-iωt . There is no f(x) specified.
The problem is presented as 7.109. This system is presented in the (7.8) modality with time in (-∞,∞).
Our task in part (a) here is to try a separated solution of the form u = XT where T = e-iωt. We then get
from the PDE
-iω XT - ∂x2XT = q(x)T
=>
(-∂x2-iω)X(x) = q(x)
which appears to be a 1D Helmholtz ODE (∂x2 + iω)X(x) = -q(x) so k2 = iω. Thus we are left with a
purely x-space equation for X(x) which might then have BC's X(0) = a and X(∞) = b. Our interval is in
fact (0,∞) and so x = ∞ is a singular endpoint, and we will use X(∞) = 0 to get a finite s-norm solution.
(a1) Derive p 242 A
If q(x) = 0, the solution to this equation (∂x2 + iω)X(x) = 0 is given by X(x) = exp(± -iω x). Write
-i = e-iπ/2 = (1-i)/ 2 . Then our solution would be X(x) = exp(±x ω (1-i)/ 2 ) = exp[± ω/2 (1-i)x].
Our solution at this point would be ( we select constant A to match the h(0,t) = A e-iωt BC)
u(x,t) = A exp[± ω/2 (1-i)x] e-iωt =A exp[± ω/2 x] exp[± ω/2 (-ix) -iωt)]
3
// for later use, we know that this also = A exp(± -iω x) e-iωt
but now we have to select the - sign to get an L2 solution on the half rod. So
X(x) = A exp[- ω/2 (1-i)x]
T(t) = e-iωt
u(x,t) = A exp[- ω/2 (1-i)x] e-iωt = A exp[- ω/2 x] exp[+i { ω/2 (x)-ωt)}]
(*)
// for later use, we know that this also = A exp(- -iω x) e-iωt
The left expression exactly matches page 242 A. The right expression shows a familiar complex wave
moving to the right, but with a decaying envelope function. Our solution above was completely
determined by the boundary conditions X(0) = A and X(∞) = 0, just as discussed above.
Question: What happened to condition f(x) ??
Going back to the original problem statement, suppose we had specified an f(x), and supposed we
followed the usual EV method of solution of Stak page 213. We have - 2X = λX. In that method, we are
solving problems which have u(x,t) = 0 on the boundary and that becomes X = 0 and then we have a real
EV problem. However, in our present problem our boundary σ is the point x = 0, and we do not have the
condition that u(0,t) = 0 there. Rather, our condition is that u(0,t) = A e-iωt there. Therefore the entire XT
separation + EV method does not apply to our present problem, although we still seek a separated
solution here of the form XT.
We have successfully solved our q=0 problem and have found a complex solution u(x,t) of the XT
form. No further boundary conditions can be specified since we have our solution. It is true that at t = 0
we have u(x,0) = X(x) = X(x) = A exp[- ω/2 (1-i)x] . This "is what it is" and you cannot impose f(x) = 0
on this problem!
So how does this problem fit into our past framework? We had the notion of a cylinder where we
specified h on σ and f at t=0, and that determined the solution u(x,t). Here, we do have h specified on σ
still, namely we have h(0,t) = A e-iωt . Why can't we specify an f(x) at t = 0 and seek a solution by our
usual methods? Our generic half rod solution is this:
u(t,x) = ∫0
t dt0 ∫0
∞ dx0 g(x|x0) q(t0,x0)
+ ∫0
∞ dx0 f(x0) { g(x|x0)}|t0=0]
+ ∫0
t dt0 [h(0,t0){-∂nx0 g(x|x0)} + g(x|x0)∂n0u(tx0,t0) ]
(7.14 gen, half rod)
and if we go with the Dirichlet g function with g = 0 on the boundary, and we take q = 0, we get this
problem solution
u(x,t) = ∫0
∞ dx0 f(x0) { g(x|x0)}|t0=0] + ∫0
t dt0 [h(0,t0){-∂nx0 g(x|x0)}|x0=0]
4
We already considered a half rod driven by h(t) at the left end on page 207, an and we found an explicit
form in fact for ∂nx0 g(x|x0) in page 207B with g itself given in 7.23 (the half rod propagator), to wit,
g(x|x0) = H(t-t0) / 4π(t-t0) { exp[ -(x-x0)2/ 4(t-t0) – exp[ -(x+x0)2/ 4(t-t0)
7.23
∂nx0 g(x|x0)|x0=0 = H(t-t0) / 4π(t-t0) * (x/(t-t0)) * exp[ - x2/4(t-t0)]
p 207 B
We can then set h(0,t0) = Aexp(-iωt0) and then for whatever f(x) we select, we get a solution u(x,t). I
presume that were we do impose f(x) = A exp[- ω/2 (1-i)x], we would arrive at the damped wave
solution we obtained above as (*).
The upshot is that the our "present problem" is in a different class of problems. Instead of specifying
the three functions q,f and h to get a solution, here we assume that XT = Xe-iωt and we just see where
that leads. It leads to an ODE for X with X(0) = A and X(∞) = 0 and we get the damped wave solution
and f(x) comes out as it may. OK, fair enough.
(a2) Derive p 242 B.
Question: does the real part of u(x,t) solve our q(x) = 0 equation?
(∂t- ∂x2) u(x,t)= 0
=>
(∂t- ∂x2) Re{u(x,t)} + i (∂t- ∂x2) Im{u(x,t)} = 0
Therefore the two pieces must separately solve the PDE. So define v(x,t) = Re{u(x,t)} and we find
(∂t- ∂x2) v(x,t) = 0
and v(0,t) = Acos(ω,t)
so we have found a solution to this problem which is then the following
v(x,t) = Re { A exp[- ω/2 x] exp[+i ω/2 (x)-iωt)]}
= A exp[- ω/2 x] cos [ ω/2 x -ωt) ]
// agrees with p 242 B
I agree that this represents a (real) wave moving to the right (as t increases, x increases to maintain the
same phase) at velocity determined by ω/2 Δx - ωΔt = 0 or vphase = Δx/Δt = ω/ ω/2 = 2ω . But the
amplitude of the wave has a drop-off envelope as shown. I just created my first-ever Maple animated
plot and it was great, added it to the user guide plot section. You see the sine thing running to the right
with a fixed decay envelope.
So this is a very interesting problem. Now why is there no initial condition (IC) f(x) specified [ I
explained that above now, but keep this OK older notes] ? For our solution above, you see that
u(x,t=0) = A exp[- ω/2 (1-i)x]
f(x) for the complex problem
v(x,t=0) = A exp[- ω/2 x] cos [ ω/2 x ) ]
f(x) for the real part problem
5
Thus, it is already determined, you cannot impose it. Here is another argument I came up with for now
f(x): This problem is specified on t in (-∞,∞) so you could argue that there IS no initial time. Again, we
are in the (7.8) modality of specifying a heat problem where there is no initial condition (go look, p 198).
So our solution is one that "goes on forever" like my animation does. You wiggle the left end of the
half rod at a fixed frequency, and a damped wave travels down the rod, just as you would expect. What is
a little surprising is that we are doing the heat equation, not the wave equation. A great Stak problem.
(b) Solve the Problem using a time Laplace Transform: that is, derive p 242 C.
Warning: This is not the same problem as that in part (a). Stak calls it an "initial value problem" but he
fails to state the initial value u(x,0) !! In fact the initial value is f(x) = 0! Thus, when we start our driving
term at t = 0, there will be a transition period of time before the "steady state" solution of the part (a)
problem sets in!!! We can regard the integral second term in p 242 C as providing "transients" for small t,
and we can see that for large t this integral term → 0 and we then get just our wave solution.
(b1) Now we reconsider the same problem in the (7.8a) modality. There is no q, t>0 only, same BC as in
part a (the real problem). The solution found here is the same, except there is a mysterious extra term that
seems to be some kind of transient thing. I just updated my Laplace notes, and I think yes we can interpret
this second term as a continuum of transients that are part of the solution. This is something I have never
seen before.
Why do we have this transients term in Part (b) and not in Part (a) ? *******
We start out as usual and I will call U(x,s) the time Laplace transform of u(x,t) so we then have
∫0
∞ ds e-stf(t) = F(s)
// Schaum page 162
∫0
∞ ds e-st∂tf(t) = sF(s)-f(0)
// these are just general formulas ...
and here then is our time-Laplace transformed equation:
sU(x,s)-u(x,0) - ∂x2 U(x,s) = 0
The boundary condition is u(0,t) = Acos(ωt) so we can Laplace this to get
U(0,s) = As/(s2+ω2)
So here then is a statement of our problem in terms of U(x,s)
(∂x2 - s) U(x,s) = -u(x,0)
U(0,s) = As/(s2+ω2)
What are we going to do about u(x,0) which we don't know?? It is sitting there due to the f(0) in the
Laplace transform. This f(0) means u(x,0). Since we are in the (7.8a) model, you need to specify this. But
we are told that u(0,t) = Acos(ωt) so u(0,0) = A. Thus, it does not seem logical to assume that u(x,0) = 0
6
since we know u(0,0) = A . Nevertheless, I will go ahead and assume u(x,0) = 0 (almost everywhere, let's
say) and see what happens. So then
(∂x2 - s) U(x,s) = 0
U(0,s) = As/(s2+ω2)
where s is regarded for now as a fixed parameter. The candidate ODE solutions are exp(± s x), but since
we are on our half-rod, we take U(x,s) = K exp(- s x) . Then U(0,s) = K = As/(s2+ω2) . So our proposed
solution is this
U(x,s) = A exp(- s x) s/(s2+ω2)
Our next problem is to do the inverse Laplace transform which we see has two poles and a cut. I could do
it, but let's try to look this up instead. My Schaum table does not have such a messy thing. Bateman has a
table of Laplace and another table of Inverse Laplace, very excellent, and here is an entry on page 246 of
ET 1
Scale Check on the above result. If α = 0 we get
p/(p2+β2)
↔
cos(βt)
which is correct, Schaum p 164
This applies to my case if I take β = ω and α1/2 = x and of course p = s. We will have
(αβ/2)1/2 = ω/2*x2 = x ω/2
The inverse is then
Aexp(- x ω/2 ) cos [ ωt - x ω/2 ]
- (A/π) ∫0
∞ du e-ut sin(x u ) (u/(u2+ ω2)
= Aexp(- x ω/2 ) cos [ ωt - x ω/2 ] - (A/π) ∫0
∞ dρ e-ρt sin(x ρ ) (ρ/(ρ2+ ω2))
and hurray, this agrees exactly with p 242 C.
Notice how Bateman is providing a whole catalog of GR scope for both Laplace and Inverse Laplace!
7
[ Maple gives a much different result, which I just note here and then ignore. ]
Comments about the Solution 242 C.
As noted above, the first term can be written this way
A Re{ exp(- -iω x) e-iωt }
Notice that
( ∂t- ∂x2) [ exp(- -iω x) e-iωt ]
= (-iω)[ exp(- -iω x) e-iωt] - (-)2(-iω) [ exp(- -iω x) e-iωt] = 0
so it is obvious that the first term solves the homo equation. But this is also obvious for the second term
(the integral term) since
( ∂t- ∂x2) [ e-ρt sin(ρ1/2x) ] = (-ρ) [ e-ρt sin(ρ1/2x) ] - (-)ρ [ e-ρt sin(ρ1/2x) ] = 0
So I just want to make the point that both terms trivially are solutions of our homo heat equation. We
shall show below, with some pain, that at t = 0, the integral term exactly cancels the first term causing us
to have f(x) = 0, and that is why we have the integrand shown which wraps [ e-ρt sin(ρ1/2x) ] in this
second term.
Although I still don't know any theory of PDE's, it would seem that the two terms in p 242 C are in
fact linearly independent solutions. I don't think Stak ever claimed that a generic PDE of order n has n
independent solutions, but he may have.
(b1) Show that the solution p 242 C is consistent with our assumption that u(x,0) = 0.
Plan A: fails, and for a good reason
NOW, in the above I assumed that u(x,0) = 0. Does the solution show this to be true? The first term is
easy to evaluate at t = 0 and is clearly non-zero, but the integral term takes more work. We start with
I ≡ ∫0
∞ dρ sin(x ρ ) (ρ/(ρ2+ ω2))
8
which Maple cannot do. Change to
y = ρ
y2= ρ 2ydy = dρ
I = ∫0
∞ 2ydy sin(xy) y2/ (y4+ ω2) = 2 ∫0
∞ dy sin(xy) y3(y4+ ω2)
which Maple still cannot do, but I recognize this as a Fourier Sine transform as listed off in ET 1. If you
look at the high end, integral is like ∫0
∞ dy sin(xy)/y = (π/2)sign(x) so things seem convergent.
My first step is to write I as two terms
I = 2 ∫0
∞ dy sin(xy) (1/2) [ y/(y2+iω) + y/(y2-iω) ] = ∫0
∞ dy sin(xy) y/(y2+iω) + CC
Let's rewrite this to fit with the Bateman table by swapping x and y , and add two minus signs:
I = – ∫0
∞ dx sin(xy) x/(iω-x2) + CC
Now Bateman says on page 65 ET 1
so I have to interpret a2 = iω = eiπ/2 ω => a = eiπ/4 ω . So if I blindly apply this transform, I get
I = (π/2) cos[eiπ/4 ω y ] + cc
= (π/2) cos[ (1+i)/ 2 ω y ] + cc
= (π/2) cos[ (1+i) y ] + cc
= (π/2){ cos[ ω/2 y ] cos[i ω/2 y ] - sin[ ω/2 y ] sin[i ω/2 y ] } + cc
= (π/2){ cos[ ω/2 y ] cosh[ ω/2 y ] - i sin[ ω/2 y ] sinh[ ω/2 y ] } + cc
= (π/2) 2{ cos[ ω/2 y ] cosh[ ω/2 y ] }
= π{ cos[ ω/2 y ] cosh[ ω/2 y ] }
Let's go back now to our solution
u(x,t) = Aexp(- x ω/2 ) cos [ ωt - x ω/2 ] - (A/π) ∫0
∞ dρ e-ρt sin(x ρ ) (ρ/(ρ2+ ω2))
We have shown that
9
u(x,0) = Aexp(- x ω/2 ) cos[x ω/2 ] - (A/π) { π{ cos[ ω/2 x ] cosh[ ω/2 x ] }
= Aexp(- x ω/2 ) cos[x ω/2 ] – A cos[ ω/2 x ] cosh[ ω/2 x ]
= A cos[x ω/2 ] { exp(- x ω/2 ) – cosh[ ω/2 x }
and this is NOT coming out zero.
Now we think about Bateman's remark. This integrand with a real has a pole right along the
integration, and that is why he has done the CPV thing. But I don't have this situation, so I think the result
simply does not apply.
Plan B: succeeds at showing that solution p 242 C has property u(x,0) = 0
Let's try the integral a different way. go back to
I = ∫0
∞ dx sin(xy) x/(x2+iω) + CC
Now define α2 = -iω so we then have
I = ∫0
∞ dx sin(xy) x/(x2-α2) + CC
= ∫0
∞ dx sin(xy) (1/2) [ 1/(x+α) + 1/(x-α) ] + cc
Now define
∫0
∞ dx sin(xy)/ (x+α) ≡ J(α)
Then our final result will be
I = (1/2)[J(α) + J(-α)] + cc
Where is α located in the complex plane?
α2 = -iω = e-iπ/2 ω
α = e-iπ/4 ω
so α in Q IV !
To get from α to -α, I would propose rotating CCW by π, so at all times we have |argα| < π. So not on the
real axis, then I am happy to use this Bateman result for complex α page 64.
Then it would seem that
10
J(α) = Ci(αy)sin(αy) - si(αy) cos(αy)
which is a fairly complicated result! Here are those functions defined
We can see that Ci is even in its argument whereas si is odd [ wrong, see below]. So look again at
J(α) = Ci(αy)sin(αy) - si(αy) cos(αy)
We see that J(α) is odd in its argument (!), so therefore J(α) + J(-α) = 0. Therefore I = 0 and our entire
integral second term vanishes. But then we still have the first term sitting around!
Let's look "more carefully" at the supposed symmetry rules just quoted. AS page 232 disagree and
claim that
Ci(-z) = Ci(z) -iπ
if argz in (0,π)
In my case, suppose -z = αy. Then since α is in Q4 and y is real, -z is in Q2 which meets the conditions.
So I would then say
Ci(αy) = Ci(-αy) -iπ
if arg(αy) in (0,π)
This detail is not quite clear if you just look at the naive expression for Ci(x) above. Now what about si
you ask? From AS 232 we have
si(z) = Si(z) - π/2
and
Si(-z) = - Si(z) without restrictions
Therefore
si(-z) = Si(-z) - π/2 = - Si(z) - π/2 = - [Si(z) - π/2] - π = - si(z) -π
si(-z) = - si(z) -π
Using these rules let's see what happens:
J(α) = Ci(αy)sin(αy) - si(αy) cos(αy)
11
J(-α) = Ci(-αy)sin(-αy) - si(-αy) cos(-αy)
= - Ci(-αy)sin(αy) - si(-αy) cos(αy)
// trig only
= - [Ci(αy)+iπ] sin(αy) - [- si(αy) -π] cos(αy)
= - Ci(αy)sin(αy) -iπsin(αy) + si(αy)cos(αy) + π cos(αy)
= - Ci(αy)sin(αy) + si(αy)cos(αy) + π [ cos(αy) - i sin(αy) ]
= - Ci(αy)sin(αy) + si(αy)cos(αy) + π e-iαy
= - J(α) + π e-iαy
So this seems to tell us that
J(α) + J(-α) = π e-iαy
Then we get for I ( I change y back to x now)
I = (1/2)[J(α) + J(-α)] + cc
= (1/2)[ π e-iαx] + cc = (π/2) [e-iαx + cc ]
α = e-iπ/4 ω
So here we go:
α = e-iπ/4 ω = (1-i)/ 2 * ω = (1-i) ω/2
e-iαx = exp(-iαx) = exp( -i (1-i) ω/2 x) = exp( (-i-1) ω/2 x) = exp(-i ω/2 x) exp(- ω/2 x)
Then we have
I = (π/2) [e-iαx + cc ]
= (π/2) [exp(-i ω/2 x) exp(- ω/2 x) + exp(i ω/2 x) exp(- ω/2 x) ]
= (π/2) exp(- ω/2 x) [exp(-i ω/2 x) + exp(i ω/2 x)]
= π exp(- ω/2 x) cos( ω/2 x)
So this then is our claimed limit of the integral in the second term of p 242 C when t = 0. So here we can
add both terms with t = 0 to get
u(x,0) = A exp(- ω/2 x) cos( ω/2 x) - (A/π) [π exp(- ω/2 x) cos( ω/2 x)]
= A exp(- ω/2 x) cos( ω/2 x) - A exp( ω/2 x) cos( ω/2 x)]
= 0
Well THAT didn't take long! So I assumed u(x,0) = 0 at the start (despite the left end point being at A),
and this fact is recovered from the solution!)
(b3) Find the leading term of the transient part of the solution for large t.
12
You wonder that maybe for very small ρ the transient might go on forever giving a constant offset of
some sort. But the rest of the integrand is 0 near ρ = 0 so probably not. This is of course exactly the
subject of Stak Appendix B. I guess I need to wander off now on that Appendix and nail it down before
continuing here. DONE.
The second term in p 242 C is of the form of a normal Laplace transform and we have
f(ρ) = sin( ρ x)ρ/(ρ2+ω2)
For large t, the integral (without the -A/π factor) is equal to my corrected form of B.5 which is this
F(ρ) = the integral = Σn=0∞ f(n)(0) t-n-1
so it is just question of doing the derivatives? The n = 0 term vanishes, so probably n = 1 will be the
leading term. Using Maple I find that
f(0) = 0
f'(0) = 0
f"(ρ) ≈ (3/4) x/(ω2 ρ ) as ρ→ 0.
so this is problematic! Obvious if you say f(ρ) ≈ x ρ3/2 for small ρ, then f"(ρ) ~ ρ-1/2 . So we have to
roll our own here:
∫0
∞ dρ e-ρt sin(x ρ ) (ρ/(ρ2+ ω2))
≈ (x/ω2) ∫0
∞ dρ e-ρt ρ3/2 = (x/ω2) (3/4) π t-5/2
// Maple
I would perhaps be a little more accurate by allowing that x might be large, then we have
(1/ω2) ∫0
∞ dρ e-ρt sin(x ρ ) ρ
Maple says this for the integral.
so this is indeed a much better result because we now see more info. So the answer to the question asked
here (large t behavior of the integral in 242C) is this:
13
- (A/π) (x/ω2) (3/4) π exp(-x2/4t) t-5/2
// leading term for large t
and this applies even if x is very large. You could of course write
exp(-x2/4t) ≈ 1 - x2/4t = 1 - (x/2)2 t-1
and you could argue that this really contributes to the t-7/2 second term, so the "leading term" is this
think with the exp set to 1. This shows how fast the transient component of our solution drops off.
(c) Redo this same problem using the spatial Laplace Transform.
This is not what Stak asked us to do! He said use the spatial Fourier Cosine. But since I have started this
Laplace thing, I will finish it. [ this decision cost me about 5 days! ] By "this same problem" we mean
the problem with f(x) = 0 whose solution is p 242C. We do not mean the part (a) problem which just
gives the steady state solution.
(c1) State the equation in s-space and find its solution there.
(∂t - ∂x2)u(x,t) = 0
∫0
∞ ds e-sx ∂x2 f(x) = s2F(s)-sf(0)-f'(0)
∫0
∞ ds e-sx ∂x2 u(x,t) = s2U(s,t) - s u(0,t) - ∂xu(0,t)
We know that u(0,t) = A cos(ωt). But we do NOT know what ∂xu(x,t)|x=0 is. As in the last section, I will
simply assume it is zero, and hope for the best.
Note: This assumption is completely wrong. For any moderate t > 0, there will be some slope u'(0,t) of
the temperature profile at the left end of the rod which is NOT zero. I showed this explicitly in the ω = 0
case in a separate doc "Using the Laplace Transform.doc" section 5 . Thus, all the work below is invalid.
But somehow, even with this wrong assumption about u'(0,t), and also dealing with "illegal" f(s)
functions in s-space, we end up with a result which is exactly 1/2 the correct answer! This same thing
happened in the ω = 0 case (section 9 of doc just mentioned), not surprising. This result is so strange, that
I will not delete the erroneous work below, in the hope that someday I might learn why we get half the
right answer despite taking glaringly wrong steps in the analysis.
Then we have
∂t U(s,t) - [s2U(s,t) - s A cos(ωt)] = 0
Now in the previous solution I successfully assumed u(x,0) = 0 which suggests that U(s,0) = 0 as well. So
here then is our little system:
14
(∂t - s2) U(s,t) = A s cos(ωt)
U(s,0) = 0
(*)
PAUSE 3: The RHS should be - Ascos(ωt) ! So when all is said and done, I will take A→-A.
The homogeneous solution is U(s,t) = B exp(s2t). As a particular solution we could try
U(s,t) = α sin(ωt) + β cos(ωt)
∂tU(s,t) = αω cos(ωt) - βω sin(ωt)
αω cos(ωt) - βω sin(ωt) - αs2 sin(ωt) - βs2 cos(ωt) = A s cos(ωt)
[ αω - βs2 - As] cos(ωt) - [ βω+αs2] sin(ωt) = 0
αω - βs2 - As = 0
βω+αs2 = 0
=> βω = -αs2 =>
β = -α (s2/ω)
Then
αω = As +βs2 = As - α (s4/ω)
α [ ω + s4/ω ] = As
=> α [ ω2 + s4 ] = Asω
=>
α = Asω/(ω2+s4)
Then β = - α (s2/ω) = -Asω/(ω2+s4) * (s2/ω) = -As3/ (ω2+s4)
=>
β = -As3/ (ω2+s4)
So here is our general solution to the equation of (*) above
U(s,t) = α sin(ωt) + β cos(ωt) + B exp(s2t)
Setting t = 0 gives
U(s,0) = β + B = 0
=>
B = -β
So our final solution is then
U(s,t) = α sin(ωt) + β cos(ωt) - β exp(s2t)
α = Asω/(ω2+s4)
β = -As3/ (ω2+s4)
Let's test this solution to make sure it is correct:
15
This we have verified both that U solves the PDE, but also that U=0 at t = 0.
(c2) Calculate the three required inverse Laplace Transforms
So now we have to inverse Laplace each of these terms to construct u(x,t). Here are the three cases we
will need to study
g1(s) = s/(s4+ω2)
g2(s) = s3/(s4+ω2)
g3(s) = exp(s2t) s3/(s4+ω2)
The first two are standard, the third is "illegal", but I did not know that at the time. I realized that for this
third one, you cannot pull the contour to the left and pretend it is just the four pole residues, because the
residual contour does not vanish. In the next section, I realize that the vertical contour integral of g3 is
nevertheless finite so we can blindly compute it as if it were an ILT.
I think I know what went wrong
Recall that I was considering three Laplace inversion cases:
function of s
inverse Laplace Transform (t now replaced with x)
g1(s) = s/(s4-ω2)
→ (1/2a2) { -cos(ax) + cosh(ax) }
g2(s) = s3/(s4-ω2)
→ (1/2) { cos(ax)+ ch(ax) }
g3(s) = exp(s2t) s3/(s4-ω2) → (1/2) { exp(-a2t) cos(ax) + exp(a2t) ch(ax) }
// checked 1x
16
The first two are rock solid, but the third is wrong according to Maple. I think this is the problem: In the
third case, the factor exp(s2t) blows up if you close the vertical Mellin-Barnes inversion contour to the
left, so adding the four pole residues does not give the answer. For the first two cases, we are OK on this
issue. The second case has ets/s integrand behavior and the ets allows left closure. But the third case of
course has exp(s2t) ets/s behavior and closure is then not allowed.
On the other hand, the vertical integral itself has good convergence at the top and bottom of the
imaginary axis direction since exp(s2t) = exp(- |s|2t) in that direction. so probably the right way to do this
is to treat the integral as a conventional integral. So let's look at this integral:
(1/2πi) ∫ds exp(s2t) exs s3/(s4+ω2)
As shown in the new ILT document this inverse Laplace Transform is given by
G(x) = (1/2) exp( ω/2 x) cos( ω/2 x + ωt)
+ (1/2π) ∫0
∞ dρ e-ρt sin(xρ1/2)ρ /(ρ2+ω2)
and this is fairly close to p 242 C but x should be -x. But I have not assembled the total answer yet, so
let's assemble the pieces:
U(s,t) = α sin(ωt) + β cos(ωt) - β exp(s2t)
α = Asω/(ω2+s4)
β = -As3/ (ω2+s4)
= Asω/(ω2+s4) * sin(ωt) - As3/ (ω2+s4) cos(ωt) + As3/ (ω2+s4) exp(s2t)
= Aω sin(ωt) [ s/(ω2+s4) ] - A cos(ωt) [s3/ (ω2+s4)] + A [exp(s2t) s3/ (ω2+s4) ]
= Aω sin(ωt) [ s/(s4+ω2) ] - A cos(ωt) [s3/ (s4+ω2)] + A [exp(s2t) s3/(s4+ω2) ]
To transform the first two terms, we can use our adjusted results from above
g1(s) = s/(s4+ω2)
→ (1/2a2) { -cos(ax) + cosh(ax) }
a2 = iω
g2(s) = s3/(s4+ω2)
→ (1/2) { cos(ax)+ ch(ax) }
a = i1/2 ω
So these two terms then give
a = (1+i) ω/2
= Aω sin(ωt) (1/2a2) { -cos(ax) + cosh(ax) } - A cos(ωt) (1/2) { cos(ax)+ ch(ax) }
= Aω sin(ωt) (1/2iω) { -cos(ax) + cosh(ax) } - A cos(ωt) (1/2) { cos(ax)+ ch(ax) }
= A sin(ωt) (1/2i) { -cos(ax) + cosh(ax) } - A cos(ωt) (1/2) { cos(ax)+ ch(ax) }
= A (-i)sin(ωt) (1/2) { -cos(ax) + cosh(ax) } - A cos(ωt) (1/2) { cos(ax)+ ch(ax) }
= (A/2)[ (-i)sin(ωt) { -cos(ax) + cosh(ax) } - cos(ωt) { cos(ax)+ ch(ax) } ]
= (A/2)[ isin(ωt) { cos(ax)- ch(ax) } - cos(ωt) { cos(ax)+ ch(ax) } ]
= -(A/2)[ isin(ωt) { -cos(ax) + ch(ax) } + cos(ωt) { cos(ax)+ ch(ax) } ]
= -(A/2)[ cos(ax) {cos(ωt) - i sin(ωt)} + ch(ax) { cos(ωt)+ isin(ωt) } ]
= -(A/2)[ cos(ax) e-iωt + ch(ax) eiωt ]
= -(A/4) [ (eiax + e-iax) e-iωt + (eax + e-ax) eiωt ]
= -(A/4) [ exp(iax-iωt) + exp(-iax-iωt) + exp(ax+iωt) + exp(-ax+iωt) ]
17
= -(A/4) [ exp(i(1+i) ω/2 x-iωt) + exp(-i(1+i) ω/2 x-iωt)
+ exp((1+i) ω/2 x+iωt) + exp(-a(1+i) ω/2 x+iωt) ]
= -(A/4) [ exp((i-1) ω/2 x-iωt) + exp((1-i) ω/2 x-iωt)
+ exp((1+i) ω/2 x+iωt) + exp(-(1+i) ω/2 x+iωt) ]
= -(A/4) [ exp(- ω/2 x) exp(i[ ω/2 x-ωt])+ exp( ω/2 x) exp(-i[ ω/2 x+ωt] )
+ exp( ω/2 x) exp(i [ ω/2 x+ωt)]) + exp(- ω/2 x) exp(-i [ ω/2 x-ωt)] ]
= -(A/4) [ exp(- ω/2 x) { exp(i[ ω/2 x-ωt]) + exp(-i [ ω/2 x-ωt)] }
+ exp( ω/2 x) { exp(i [ ω/2 x+ωt)]) + exp(-i[ ω/2 x+ωt] ) }
= -(A/4) [ exp(- ω/2 x) { 2 cos[ ω/2 x-ωt] }
+ exp( ω/2 x) { 2 cos[ ω/2 x+ωt)] }
= -(A/2) { exp(- ω/2 x) cos[ ω/2 x-ωt] + exp( ω/2 x) cos[ ω/2 x+ωt)] }
Summary to this point: When we do ILT to the first two terms of our U(s,t) solution, we get
-(A/2) { exp(- ω/2 x) cos[ ω/2 x-ωt]} -(A/2) { exp( ω/2 x) cos[ ω/2 x+ωt)] }
When we do ILT on the third term, that gives
-(A/π) (-1/2) ∫0
∞ dρ exp(-ρt) sin(tρ1/2)ρ /(ρ2+ω2) + (A/2) exp( ω/2 x) cos( ω/2 x + ωt)
I am absolutely amazed and of course happy to see the left-directed waves cancelling exactly leaving us
with this final result
u(x,t) = A(-1/2) { exp(- ω/2 x) cos[ ω/2 x-ωt]}
-(A/π) (-1/2) ∫0
∞ dρ exp(-ρt) sin(tρ1/2)ρ /(ρ2+ω2)
I have the same (-1/2) error in all my terms !!!
PAUSE 3A: But I had a wrong sign on A all along, and here I finally fix it to get
u(x,t) = A(1/2) { exp(- ω/2 x) cos[ ω/2 x-ωt]}
-(A/π) (1/2) ∫0
∞ dρ exp(-ρt) sin(tρ1/2)ρ /(ρ2+ω2)
// final result!
and now I have everything off by a factor of (1/2).
So there it is! Despite the doubly illegal method, I get exactly 1/2 of the exact right answer!
(c3) A more detailed previous solution of the same problem, giving same 1/2 result.
18
I think somehow this section was written first because you see me doing the pole residues. I later realized
I could just look those up, and then I did the third g3 term from my ILT doc. In any event, this section
follows the exact same path as section (c2) above.
(1) Set up the problem in x and s spaces. In regular x space, the problem is this:
(∂t - ∂x2)u(x,t) = 0
0 ≤ x < ∞
t ≥ 0
u(x,0) = 0
boundary condition BC ( a.e. , true that u(0,0) = A by next line)
u(0,t) = Acos(ωt)
initial condition IC
When the PDE is transformed to s-space by the usual spatial Laplace transform, the PDE becomes
∂t U(s,t) - [ s2U(s,t) - s u(0,t) - ∂xu(0,t)] = 0
Since u(x,0) = 0 a.e., we have ∂xu(0,t) = 0 a.e. as well. [ My bogus assumption] There is perhaps some
issue with the value of this derivative right at t = 0, where one might argue that ∂xu(0,0) = ∞ due to the
a.e. situation noted above. But we are going to study our transformed equation for t > 0 so we set ∂xu(0,t)
= 0 and the above becomes
∂t U(s,t) - [ s2U(s,t) - s Acos(ωt) ] = 0
or
(∂t- s2) U(s,t) = -Ascos(ωt)
Since u(x,0) = 0 for x > 0, integrating even with the a.e situation says U(s,0) = 0. We thus arrive at the
following s-space first order ODE problem:
(∂t- s2) U(s,t) = -Ascos(ωt)
t > 0
U(s,0) = 0
(2) Find solution to the s space problem. A first order ODE with an initial condition can have only one
solution. That solution is this:
U(s,t) = α sin(ωt) + β cos(ωt) - β exp(s2t)
α = -Asω/(ω2+s4)
β = As3/ (ω2+s4)
Maple confirms directly that this U(s,t) satisfies our system above, and we know that there can only be
one solution.
19
So there is very little doubt but that this U(s,t) is the correct s-space solution. There are no missing powers
of 2, for example.
(3) Identify functions needing inverse Laplace transforms. If we install our α and β coefficients, the
solution U(s,t) becomes
U(s,t) = -Asω/(ω2+s4) sin(ωt) + As3/ (ω2+s4)cos(ωt) - As3/ (ω2+s4)exp(s2t)
= -Aω sin(ωt) [s/(s4+ω2)] + A cos(ωt)[s3/ (s4+ω2)] - A [exp(s2t) s3/ (s4+ω2)]
= -Aω sin(ωt) [g1(s)] + A cos(ωt)[ g2(s)] - A [g3(s)]
where
g1(s) = s/(s4+ω2)
g2(s) = s3/(s4+ω2)
g3(s) = exp(s2t) s3/(s4+ω2)
Our task is to find the Inverse Laplace Transform of each of these functions,
Gi(x) = (1/2πi) ∫C ds exs gi(s)
and our final problem solution will then be
20
u(x,t) = -Aω sin(ωt)G1(x) + A cos(ωt)[ G2(x)] - A [G3(x)]
(*)
Notice that all three gi(s) have the same denominator which can be factored this way
(s4+ω2) = (s+ia)(s-ia)(s+a)(s-a)
where a ≡ i1/2 ω
( so a2 = iω)
The point s = a is located at a point with phase π/4 and radius ω in the first quadrant of the s plane. We
can in fact plot the four pole locations and label them as follows: (i rotates a pole ccw 90 degrees)
(4) Compute the first two terms of result (*). For g1 and g2 we can compute the inverse transform by
sliding the recovery contour to the left. This picks up four pole residues and when the contour reaches a
great half circle on the left, it vanishes due to the factor ets in the integrand (t < 0, Re(s) < 0). I computed
G1,2(x) in this manner in full detail. But here, I will instead look up these two results in a table. Schaum
page 167 says
s/(s4-a4) → (1/2) [ ch(ax)-cos(ax) ]/a2
(s4-a4) = (s2- a2)(s2+a2)
s3/(s4-a4) → (1/2) [ ch(ax)+cos(ax) ] = (s-a)(s+a)(s+ia)(s-ia)
These results are valid for a = any complex number and are evaluated by picking of the residues of the
four poles, all of which lie to the left of our contour C. As we change the phase of a, the four poles just
rotate around on a circle of radius |a| and stay spaced apart by 90 degrees. The poles are located as we see
at s = ±a and s=±ia. We want to have ω2 = -a4 so ω = -ia2, say, and then ω = i-1/2a and a = i1/2 ω .
Thus we get these results
s/(s4+ω2) → (1/2) [ ch(ax)-cos(ax) ]/a2
where a = i1/2 ω
a2 = iω
s3/(s4+ω2) → (1/2) [ ch(ax)+cos(ax) ]
a = (1+i) ω/2
Thus we know the first two terms of our solution. It is quite amazing how many lines of algebra it takes to
get things the way we want, and Maple is pretty much useless.
u(x,t) = -Aω sin(ωt)G1(x) + A cos(ωt)[ G2(x)]
= -Aω sin(ωt) (1/2) [ ch(ax)-cos(ax) ]/a2 + A cos(ωt) (1/2) [ ch(ax)+cos(ax) ]
= -Aω sin(ωt) (1/2) [ ch(ax)-cos(ax) ]/(iω) + A cos(ωt) (1/2) [ ch(ax)+cos(ax) ]
21
= A i sin(ωt) (1/2) [ ch(ax)-cos(ax) ] + A cos(ωt) (1/2) [ ch(ax)+cos(ax) ]
= (A/2) ch(ax) [cos(ωt) + i sin(ωt) ] + (A/2) cos(ax) [cos(ωt) - i sin(ωt) ]
= (A/2) [ ch(ax) eiωt + cos(ax)e-iωt]
= (A/4) [ (eax + e-ax) eiωt + (eiax + e-iax)e-iωt]
Let ω/2 = c for the moment, so that a = (1+i)c . Then continue along with more algebra:
= (A/4) [ (e(1+i)c x + e-(1+i)c x) eiωt + (ei(1+i)c x + e-i(1+i)c x)e-iωt]
= (A/4) [ e(1+i)cx+iωt + e-(1+i)cx+iωt + ei(1+i)cx-iωt + e-i(1+i)cx-iωt]
= (A/4) [ e(1+i)cx+iωt + e-(1+i)cx+iωt + e(i-1)cx-iωt + e(1-i)cx-iωt]
= (A/4) [ ecx+i(cs+ωt) + e-cx-i(cx-ωt) + e-cx+i(cx-ωt) + ecx-i(cx+ωt)]
= (A/4) [ ecxei(cs+ωt) + e-cxe-i(cx-ωt) + e-cxei(cx-ωt) + ecxe-i(cx+ωt)]
= (A/4) [ ecxei(cs+ωt) + ecxe-i(cx+ωt) + e-cxe-i(cx-ωt) + e-cxei(cx-ωt) ]
= (A/4) [ ecx 2cos(cx+ωt) + e-cx 2cos(cx-ωt)]
= (A/2) [ ecx cos(cx+ωt) + e-cx cos(cx-ωt)]
c = ω/2
= damped wave going to the left + damped wave going to the right
(5) Compute the third term of the result (*). I did this in full detail. The integral of interest is
G3(x) = (1/2πi) ∫C ds exs g3(s) = (1/2πi) ∫C ds exs exp(s2t) s3/(s4+ω2)
The game plan is to shift the C contour to the left, picking up the two rightmost pole residues, then C is
along the imaginary axis, and we can rotate it into a real axis integral. The contribution of the two pole
residues is this (see raw notes)
G3(x) from both poles = (1/2) exp( ω/2 x) cos( ω/2 x + ωt)
and the contribution of the residual vertical integral is this
G3(x) from imaginary axis integral = (1/2π) ∫0
∞ dρ e-ρt sin(tρ1/2)ρ /(ρ2+ω2)
Since the third term in our solution is - A [G3(x)] we have
third term = -(A/2) ecx cos(cx+ωt) - A(1/2π) ∫0
∞ dρ e-ρt sin(tρ1/2)ρ /(ρ2+ω2)
= - damped wave to the left - transient term
But recall that we have already found that
first two terms = (A/2) [ ecx cos(cx+ωt) + e-cx cos(cx-ωt)]
22
The (unwanted!) damped waves going to the left exactly cancel when we add the three terms and our final
result comes out being
u(x,t) = (A/2) e-cx cos(cx-ωt) - A(1/2π) ∫0
∞ dρ e-ρt sin(tρ1/2)ρ /(ρ2+ω2)
or
u(x,t) = (1/2) { A e-cx cos(cx-ωt) - (A/π) ∫0
∞ dρ e-ρt sin(tρ1/2)ρ /(ρ2+ω2)
= (1/2) { the answer appearing in p 242 C and which we verified using time Laplace }
So we get the right answer apart from a factor of 2 which I cannot understand. It is as if the s space
equation were really (∂t- s2) U(s,t) = -2Ascos(ωt), but that 2 is not there as you see above. I am at a total
loss on this factor of two issue and have had to just give up on finding it. I did recheck the time Laplace
calculation and it agrees with p 242 C.
(d) Redo this problem using the spatial Fourier Cosine Transform.
I will correctly solve this problem using the Fourier Sine Transform in Section (e). I am keeping this
Section (d) for historical interest only. I had two major misconceptions here which caused me to flail
again and again with various "Plans", and I kept ending up with contradictions.
The first misconception was that you can pass (∂t-∂x2) through the Fourier Cosine (or Sine)
expansion integral and then conclude that the k space ODE is (∂t + k2)U(k,t) = 0. This ODE then leads to
a contradiction since then no solution U(k,t) is possible since we require U(k,0) = 0. This was the hardest
bug to find, and I explain it all in "order interchange for limits.doc" Section 7 and following.
The second misconception was that you can only apply a Fourier Sine Transform to an odd function
and you can only apply a Fourier Cosine Transform to an even function. The fact is that you can apply
either of these transforms to any function you want, as long as the transform integral converges. I updated
this in my "transforms.doc" stuff.
In retrospect, correcting these misconceptions was very important for me to do, they surely would
have caused more disasters "down the road". So this is the way it works, you sometimes have to flail for a
lot of days in order to repair your bad knowledge in some subject. Yes, having human people to talk to
would perhaps have cut this short, but I think still that the school or hard knocks has its benefits.
I did derive the four "Dubnath Rules" here, one of which I will in fact use in Section (e). So that part
of the work is about all that survives.
Here are some previous frustrated comments I made concerning Section (d):
Frustrated Comment: Everything below is just scribble which I leave. I could not solve this problem
using any kind of spatial Fourier related transform. I ran into endless logic problems, not math
problems, so I don't even know what to do. The fact that the known solution p 242C is not even in x
seems right at the start to rule out the Fourier Cosine transform approach that Stak is suggesting, for
example. But deeper down, there is some problem with trying to transform a parabolic PDE using a
spatial transform that one does not run into if you transform with a time transform as in an earlier part
of this problem. I need more guidance to work in k space with a heat conduction problem, Stak has
23
done nothing so far. Of course in QED things are always simpler with k space propagators, so there is
probably a way to interpret the question and get a reasonable answer, I just don't know what it is.
And my efforts on this problem begin here:
This is what Stakgold asked for, not part c above, but fine. I wonder how the factor of 2 issue will come
out here? I am starting this section at 4 PM 4.13.11 after spending a lot of days on (c) above. [ And I am
now restarting here at 3 PM 4.16.11] Here again is the x-space problem,
(∂t - ∂x2)u(x,t) = 0
0 ≤ x < ∞
t ≥ 0
u(x,0) = 0
boundary condition BC ( a.e. , true that u(0,0) = A by next line)
u(0,t) = Acos(ωt)
initial condition IC
And here is my standard issue Fourier Cosine transform for x on the interval (0,∞) ( because that is our
region of interest in this problem! )
f(z) = 2/π ∫0
∞ dk cos(kz) fk
// expansion
fk = 2/π ∫0
∞ dz cos(kz) f(z)
// projection
∫0
∞ dz cos(kz) cos(k'z) = (π/2)δ(k-k')
// orthogonality
∫0
∞ dk cos(kz) cos(kz') = (π/2)δ(z-z')
// completeness
Plan A: Try Fourier Cosine. So let's expand
u(x,t) = 2/π ∫0
∞ dk cos(kx) U(k,t)
x ≥ 0
We insert this into our PDE and get [ See "essay on Stak heat k space" for why this next step is wrong!]
(∂t - ∂x2) u(x,t) = 2/π ∫0
∞ dk cos(kx) (∂t + k2)U(k,t) = 0
and we conclude from completeness of the EF's that
(∂t + k2)U(k,t) = 0
(*)
Our initial condition is
U(k,t) = 2/π ∫0
∞ dx cos(kx) u(x,t)
=>
U(k,0) = 0 since
u(x,0) = 0
24
But right here we are Dead in the Water as follows. A solution to (*) is U(k,t) = Bexp(-k2t)/k and since
this is a first order ODE, this is the only linearly independent solution. If U(k,0) = 0 then B = 0, except
possibly at k = ∞. So we then end up with U(k,t) = 0 as our only solution and so u(x,t) = 0 as well.
Plan B: Try Fourier Sine. Suppose we try a Fourier sine transform? Then we will get
U(k,t) = 2/π ∫0
∞ dx sin(kx) u(x,t)
=>
U(k,0) = 0 since
u(x,0) = 0
But this leads to the exact same Dead in the Water problem.
Plan C: Try cosine transform again, two Debnath Rules. Let's try to mimic the Laplace method done
in the previous section. There we applied the Laplace transform to each term in the heat equation, so here
let's try applying the Fourier Cosine transform to each term:
(∂t - ∂x2)u(x,t) = 0
2/π ∫0
∞ dx cos(kx) [ ∂x2 u(x,t) ] = ?
In the Laplace case we just looked this up as a general thing in a Laplace table, which we could derive
ourselves from parts integrations. So here let's try parts integrations. Here is the first one:
I ≡ ∫0
∞ dx cos(kx) [ ∂x2 u(x,t) ] = – ∫0
∞ dx [∂x cos(kx)] [ ∂x u(x,t) ] + { cos(kx) [ ∂x u(x,t) ]} |x=∞0
= - J - [ ∂x u(x,t) ]|x=0
But [ ∂x u(x,t) ]|x=0 is the same thing I did not know in the Laplace problem!!! But let's blindly continue,
maybe it will cancel out. We then have a second parts:
J ≡ ∫0
∞ dx [∂x cos(kx)] [ ∂x u(x,t) ] = – ∫0
∞ dx [∂x2 cos(kx)] u(x,t) + { [∂x cos(kx)] u(x,t) } |x=∞0
= -K - [∂x cos(kx)]|x=0 u(0,t) = -K
// since sin(kx) = 0.
So no it does not cancel. [ It is true, Fourier cosine is not going to work in this problem. ]
[ Let's now just follow through here. I have just shown above that
I = K - [ ∂x u(x,t) ]|x=0 = ∫0
∞ dx [∂x2 cos(kx)] u(x,t) - [ ∂x u(x,t) ]|x=0
= - k2 ∫0
∞ dx cos(kx) u(x,t) - [ ∂x u(x,t) ]|x=0
25
= -k2 U(k,t) - [ ∂x u(x,t) ]|x=0
or
∫0
∞ dx cos(kx) [ ∂x2 u(x,t) ] = -k2 U(k,t) - [ ∂x u(x,t) ]|x=0
or
Fc [∂x2 u(x,t) ] = -k2 Fc[u(x,t) ] - [ ∂x u(x,t) ]|x=0
where Fc = 1 * integral is my normalization. If you use Fc1 =
2/π *integral normalization, then of
course you will have Fc1 = 2/π Fc. If you then multiply the above line through by 2/π you get
Fc1 [∂x2 u(x,t) ] = -k2 Fc1[u(x,t) ] - 2/π [ ∂x u(x,t) ]|x=0
and this is in agreement with my Debnath quote
So at least I have derived this rule properly! While we're at it, my single-parts result above said
∫0
∞ dx cos(kx) [ ∂x2 u(x,t) ] = ∫0
∞ dx cos(kx) ∂x [∂xu(x,t) ]
= – ∫0
∞ dx [∂x cos(kx)] [ ∂x u(x,t) ] - [ ∂x u(x,t) ]|x=0
If I replace ∂xu(x,t) → u(x,t) everywhere, this says
∫0
∞ dx cos(kx) [ ∂x u(x,t) ] = – ∫0
∞ dx [∂x cos(kx)] [u(x,t) ] - [u(x,t) ]|x=0
= + k ∫0
∞ dx sin(kx) u(x,t) - [u(x,t) ]|x=0
or
Fc [∂x u(x,t) ] = + k Fs[u(x,t) ] - [u(x,t) ]|x=0
or
Fc1 [∂x u(x,t) ] = + k Fs1[u(x,t) ] - 2/π [u(x,t) ]|x=0
and this last is seen to be in agreement with another Debnath rule
and be sure to notice that this line involves both the cosine and sine transforms, whereas the ∂x2 line only
had cosine ones.
Now since the cosine transform of ∂x2 brings in [ ∂x u(x,t) ]|x=0 which is a piece of information we
don't have in this problem, let's try the sine transform and see what it does! Paste and edit: ]
26
Plan D. Try sine transform again, two more Debnath Rules. Let's try to mimic the Laplace method
done in the previous section. There we applied the Laplace transform to each term in the heat equation, so
here let's try applying the Fourier Sine transform to each term:
(∂t - ∂x2)u(x,t) = 0
2/π ∫0
∞ dx sin(kx) [ ∂x2 u(x,t) ] = ?
In the Laplace case we just looked this up as a general thing in a Laplace table, which we could derive
ourselves from parts integrations. So here let's try parts integrations. Here is the first one:
I ≡ ∫0
∞ dx sin(kx) [ ∂x2 u(x,t) ] = – ∫0
∞ dx [∂x sin(kx)] [ ∂x u(x,t) ] + { sin(kx) [ ∂x u(x,t) ]} |x=∞0
= - J
// parts = 0 because now sin(k0) = 0, so [ ∂x u(x,t) ]|x=0 does not appear!
We then have a second parts:
J ≡ ∫0
∞ dx [∂x sin(kx)] [ ∂x u(x,t) ] = – ∫0
∞ dx [∂x2 sin(kx)] u(x,t) + { [∂x sin(kx)] u(x,t) } |x=∞0
= -K + { k cos(kx) u(x,t) } |x=∞0 = -K - k u(0,t)
So this looks a little more hopeful. We then have
I = - J = - [-K - k u(0,t)] = K + k u(0,t)
where
K = ∫0
∞ dx [∂x2 sin(kx)] u(x,t) = - k2 ∫0
∞ dx sin(kx)u(x,t)
Therefore we have shown that
2/π ∫0
∞ dx sin(kx) [ ∂x2 u(x,t) ] = 2/π { - k2 ∫0
∞ dx sin(kx)u(x,t) + k u(0,t) }
But of course
f(x) = 2/π ∫0
∞ dk sin(kz) F(k)
// expansion
F(k) = 2/π ∫0
∞ dx sin(kx) f(x)
// projection
so that
27
2/π ∫0
∞ dx sin(kx)u(x,t) = U(k,t)
so we have then shown that
2/π ∫0
∞ dx sin(kx) [ ∂x2 u(x,t) ] = { - k2 2/π ∫0
∞ dx sin(kx)u(x,t) + 2/π k u(0,t) }
= -k2 U(k,t) + 2/π k u(0,t)
Now it remains to apply our Fourier Sine Transform to the first term in our homo heat equation
2/π ∫0
∞ dx sin(kx) [ ∂t u(x,t) ] = ∂t 2/π ∫0
∞ dx sin(kx) [u(x,t) ] = ∂t U(k,t)
Then our homo equation reads, after application of the Fourier Sine Transform:
∂t U(k,t) – [-k2 U(k,t) + 2/π k u(0,t)] = 0
(∂t + k2) U(k,t) = 2/π k u(0,t)
// This is the correct result !!!! But I don't use it here.
But we have a paradox as follows. Suppose as in Part A we said
u(x,t) = 2/π ∫0
∞ dk sin(kx) U(k,t)
(∂t - ∂x2) u(x,t) = 2/π ∫0
∞ dk sin(kx) (∂t + k2)U(k,t) = 0
Then I appeal to the completeness of the sin(kx) to get
(∂t + k2)U(k,t) = 0
Obviously I am missing something here. [ I was indeed. the above equation is wrong, see "an essay on
Stak heat k space".]
Moreover, looking at p 242 C, if I take x → -x, the integral term is odd in x, but the first term is neither
even or odd in x. Thus the solution is neither even nor odd, so neither the Fourier Sine nor Cosine
transform is justified! [ Another wrong statement ! ] Only the full Fourier Transform would be justified.
[ Let's now just follow through here with the sine stuff. I have just shown above that
I = ∫0
∞ dx sin(kx) [ ∂x2 u(x,t) ] = - k2 ∫0
∞ dx sin(kx)u(x,t) + k u(0,t)
28
or
Fs [ ∂x2 u(x,t) ] = -k2Fs [u(x,t) ] + k u(0,t)
or
Fs1 [ ∂x2 u(x,t) ] = -k2Fs1 [u(x,t) ] + 2/π k u(0,t)
which is in agreement with Debnath
The first parts result above was
∫0
∞ dx sin(kx) [ ∂x2 u(x,t) ] = – ∫0
∞ dx [∂x sin(kx)] [ ∂x u(x,t) ]
or taking ∂x u(x,t)→ u(x,t) as we did above
∫0
∞ dx sin(kx) [ ∂x u(x,t) ] = – ∫0
∞ dx [∂x sin(kx)] [ u(x,t) ] = -k ∫0
∞ dx cos(kx) u(x,t)
or
Fs [ ∂x u(x,t) ] = -k Fc[u(x,t)]
or
Fs1 [ ∂x u(x,t) ] = -k Fc1[u(x,t)]
which agrees with the fourth Debnath rule
Therefore I have derived all four Debnath rules, confirming that they do not contain typos:
These rules are stated in the convention that the transforms are stated symmetrically with 2/π in front
of each integral. If you put constant 1 in front of the dx integral (and then 2/π in front of the dk one), the
three factors 2/π seen in the above rules are all replaced by 1. For some reason Schaum does not state
these four rules!!! Nor do they appear in A&S 2010. Nor do they appear even in ET I.
29
But GR7 has lots of data on the transforms of the derivatives on page 1121 in its Integral Transforms
section:
where the SN reference Sneddon Fourier Transforms. Notice how the 2/π is "handled" here by putting
it into the ar-1 and notice the typo as well. That should be limx→0 in the definition of ar-1. So here you
see those "conditions" that Debnath stated, which are basically that things go away at ∞.
I will send Dan an email on this right now. DONE. I also mentioned the discontinuity thing.
Plan E. Try the full Fourier Transform in the same manner. [ This section is pretty useless, I leave it
though.] But that requires (-∞,∞) for the x integral. So this brings up the question: how do you do
Fourier analysis just on (0,∞) where you don't want to rule out either x2 or x3 say as a component of the
solution? I am puzzled as to why this all seems so difficult and strange? Well just try it anyway and see
what happens.
f(x) = ∫-∞
∞ dk fk e-ikx
// expansion
30
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
So we go with our expansion this way
u(x,t) = ∫-∞
∞ dk e-ikx U(k,t)
Apply (∂t - ∂x2) to get
0 = ∫-∞
∞ dk e-ikx (∂t+ k2)U(k,t)
Now appeal to the completeness of the e-ikx to get
(∂t+ k2)U(k,t) = 0
which is what we get in all these transforms. We then have
U(k,t) = (1/2π) ∫-∞
∞ dx e+ikx u(x,t)
Now the question is: what do we use for u(x,0) ? On the right we want = 0. Perhaps on the left side we
need to have the entire negative rod running at A cos(ωt) as if it were a reservoir. Then that at least gives
us a model for what to do on the left. We would then get
U(k,t) = (1/2π) ∫-∞
0 dx e+ikx A cos(ωt) = (1/2π) A cos(ωt) ∫-∞
0 dx e+ikx = (1/2) δ(k) ?
This seems a bit contrived. Suppose instead I go for u(-x,t) = u(x,t) and contrive to make it even in this
manner. Then we get U(k,0) = 0 and we are then back to our old problem that this makes U(k,t) = 0. So I
need to get over this hump in the road.
It is true that if we consider "distributional solutions" of homo (∂t+ k2)f(k,t) = 0 we could consider
f(k,t) = Σn=1∞ kn δ(k)
// but this is really the same as saying f(k,t) = 0.
f(k,t) = C δ(k)
// this is not the same as zero and solves the homo equation!
(∂t+ k2) C δ(k) = 0 + Ck2δ(k) = 0 + 0 = 0
f(k,t) = C δ(k)/k would also work in this manner, but does not Fourier very well! f(x,t) = 1/0 = ∞.
31
So I suppose we could consider this possible solution of our homo equation
U(k,t) = Bexp(-k2t) + Cδ(k)
Then our initial condition let's say is still U(k,0) = 0, we then get B + Cδ(k) = 0 which says B = -Cδ(k).
Then our solution is this
U(k,t) = -Cδ(k) exp(-k2t) + C δ(k) = C δ(k)[ 1 - exp(-k2t)]
But again this is just zero !
Plan F: Try cosine transform yet again.
[I keep making the same (∂t + k2)U(k,t) = 0 wrong statement! ]
Our boundary condition enters the k-space fray this way
u(x,t) = 2/π ∫0
∞ dk cos(kx) U(k,t)
u(0,t) = 2/π ∫0
∞ dk cos(k0) U(k,t) = 2/π ∫0
∞ dk U(k,t) = Acos(ωt)
which is an "integral condition" on U(k,t). So here then seems to be our k-space problem:
[ my usual error below]
(∂t + k2)U(k,t) = 0
U(k,0) = 0
∫0
∞ dk U(k,t) = A π/2 cos(ωt)
I am not used to this kind of BC situation, but let's try to plod ahead. But that journey ends in a hurry. The
only solution to this ODE is
U(k,t) = Bexp(-k2t)/k
∂tU(k,t) = -kBexp(-k2t)
and then our condition U(k,0) = 0 requires B/k = 0 and we then have NO solution. Secondly, we seem to
have a first order ODE with two BC's which does not sound healthy. Thirdly, how did we know that u(x,t)
was even so we could use the cos(kx) expansion? Perhaps it also has sin(kx) contributions.
Consider again our condition above
Acos(ωt) = 2/π ∫0
∞ dk U(k,t)
32
Do I know how to solve this integral equation? I could try U(k,t) = g(k) A cos(ωt), then we have
Acos(ωt) = 2/π A cos(ωt) ∫0
∞ dk g(k)
1 = 2/π ∫0
∞ dk g(k)
There are lots of functions g(k) whose integral would gives this, so there are an infinite number of
solutions of this type to my "integral equation". But let's continue and say
U(k,t) = g(k) A cos(ωt)
where
1 = 2/π ∫0
∞ dk g(k)
U(k,0) = g(k) A
Then suppose we have our same ODE in k space [ My usual repeated error.]
(∂t+k2)U(k,t) = 0
=>
U(k,t) = B exp(-tk2)
Then we can have conflicting facts
U(k,t) = g(k) A cos(ωt) = B exp(-tk2)
The time dependences don't match. Well suppose we try our second form in the first equation
Acos(ωt) = 2/π ∫0
∞ dk U(k,t)
= 2/π ∫0
∞ dk B exp(-tk2) = 2/π B (1/2) π t-1/2
and again we get conflicting time dependences. So this Plan gets nowhere.
Plan G : We know our solution is p 242C. Suppose we "evenize" this and say
u(x,t) = Aexp(- |x| ω/2 ) cos [ ωt - |x| ω/2 ] - (A/π) ∫0
∞ dρ e-ρt sin(|x| ρ ) (ρ/(ρ2+ ω2))
Then we can at least ask this question: What does this solution look like in full Fourier Integral k space? I
think it at least converges. The second term would involve the following
(1/2π) ∫-∞
∞ dx sin(|x| ρ ) e+ikx = (1/2π) ∫-∞
∞ dx sin(|x| ρ )[ cos(kx)+isin(kx) ]
33
= (1/2π) ∫-∞
∞ dx sin(|x| ρ ) cos(kx) = (1/π) ∫0
∞ dx sin(x ρ ) cos(kx)
= (1/π)(1/2) ∫0
∞ dx [ sin( ρ -k)x + sin( ρ +k)x ] = 0 + 0 = 0
So I have just proven the interesting fact that the Fourier Transform of an "evenized" sine function is 0.
On the other hand, if we let ρ = k2 and dρ = 2kdk we can write
∫0
∞ dρ e-ρt sin(|x| ρ ) (ρ/(ρ2+ ω2)) = ∫0
∞ 2kdk exp(-k2t) sin(|x|k) (k2/(k4+ ω2)) ≡ u(x,t)
which we can interpret as a Fourier Sine Transform and we have
u(x,t) = 2 ∫0
∞ dk k exp(-k2t) sin(|x|k) (k2/(k4+ ω2))
Then
U(k,t) = 2k exp(-k2t) (k2/(k4+ ω2))
So I have shown that the second term in p 242C is the Fourier Sine Transform of the above line, apart
from constants. [ I think this notion will arise again when I eventually do this thing right below. ]
Comment: Stakgold's question is illogical, so I cannot solve his problem. He says to use a Fourier
Cosine Transform to obtain the same solution which solution is this,
u(x,t) = Aexp(- x ω/2 ) cos [ ωt - x ω/2 ] - (A/π) ∫0
∞ dρ e-ρt sin(x ρ ) (ρ/(ρ2+ ω2))
= Aexp(- x ω/2 ) cos [ ωt - x ω/2 ] - (2A/π) ∫0
∞ dk k exp(-k2t) sin(kx) (k2/(k4+ ω2))
The second term is odd in x, while the first term is neither odd nor even. Thus, you CANNOT write this
solution u(x,t) as a Fourier Sine or as a Fourier Cosine transform of some U(k,t). [ This is wrong and I
had a misconception here, which is now fixed in transforms.doc ]
Plan H. Try full Fourier Transform again. The only possible thing I can think of that would give some
reasonable interpretation of Stakgold's question is to do a full Fourier transform. We might then
complexify our solution above and write
v(x,t) = Aexp(- x ω/2 ) exp{-i [ ωt - x ω/2 ] } - (2A/π)(i) ∫0
∞ dk k exp(-k2t) e-ikx (k2/(k4+ ω2))
where then u(x,t) = Re[ v(x,t)]. We might then ask about V(k,t). Data:
34
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
This would involve for example (let α = ω/2 )
(1/2π) ∫-∞
∞ dx e+ikx { Aexp(- αx) exp{-i [ ωt - αx ] } }
= e-iωt (1/2π) ∫-∞
∞ dx e+ikx { Aexp(- αx) exp[iαx ] }
[ STOP. this integral diverges at the -∞ end since α = ω/2 > 0, so go no further! We could try it with an
evenized v(x,t), but I will be doing the right solution soon, so don't bother. ]
Plan I. Is there some way to do the transform on g rather than on u ?
The general solution for the half-rod problem is given by 7.14 where you would install the half-rod
propagator which is given by 7.23. As expressed there, this g is in fact odd in x0, but that does not fit very
well with the Fourier cosine transform which is for even functions.
Plan J: Imagine heating a full infinite rod at the center x = 0, but only LOOK AT the right side. In
this case, we would use the full rod propagator of page 200 A. I can see how the heating pattern would be
symmetric about x = 0 since the two patterns will just be mirror images. [ I think this is in fact an OK way
to approach this problem, where you treat the heat source as a q instead of on h! ]
Point of Confusion: Consider y = x3 in the region x > 0. Imagine reflecting this on the negative side,
so we then have the curve y = |x|3 really. So on the right it is y = x3 > 0 and on the left it is y = -x3 >
0. This two region function is certainly even in x, since f(-x) = |-x|3 = |x|3 = f(x). Can we expand this
function using a Fourier Cosine transform?
f(x) = 2/π ∫0
∞ dk cos(kx) fk
// expansion
fk = 2/π ∫0
∞ dx cos(kx) f(x)
// projection
∫0
∞ dz cos(kx) cos(k'x) = (π/2)δ(k-k')
// orthogonality
∫0
∞ dk cos(kx) cos(kx') = (π/2)δ(x-x')
// completeness
35
Well, for f(x) = |x|3 we will have a non-convergent projection. But in our actual problem where the
temperature propagates "slowly" and has expo decay, maybe it does converge. So in our contrived
problem here we have u(x,t) that is even in x, and which we hope decays exponentially so we can
actually do a Fourier cosine projection. My "point of confusion" here was really this: the function
f(x) = x3 is odd in x, so you wonder how you could use a Fourier Cosine transform. The resolution is
that f(x) = |x|3 is even!
So let's continue on our infinite frozen string driven in the middle. In 7.14, the entire solution is given by
u(x,t) = ∫0
t dt0 ∫-∞
∞ dx0 g(x|x0) q(t0,x0)
(*)
q(t0,x0) = δ(x0) A cos(ωt0)
g(x|x0) = page 198 7.10
Then it would seem that our answer is
u(x,t) = ∫0
t dt0 ∫-∞
∞ dx0 g(x,t|x0,t0) δ(x0) A cos(ωt0)
= A ∫0
t dt0 g(x,t|0,t0) cos(ωt0)
= A ∫0
t dt0 H(t-t0)exp(-|x|2/[4(t-t0)] ) ( 4π(t-t0) )-1/2 cos(ωt0)
Now
∫0
t dt0 H(t-t0) = ∫0
t dt0 H(t>t0) = ∫0
t dt0 H(t0< t) = ∫0
t dt0 , no constraint
so it seems that our answer is then
u(x,t) = (A/ 4π ) ∫0
t dt0 exp(-|x|2/[4(t-t0)] ) (t-t0)-1/2 cos(ωt0)
The claim is that this must be the same as p 242 C, but that would take a long time to prove because it is
somewhat of an ugly integral. It is not a Fourier Cosine Transform due to the upper endpoint.
So this does not involve the Fourier cosine transform anywhere! But, we could apply it our starting
equation (*) above, which is roughly the same as applying it to the very end here. We would have to look
up
F(k) = ∫0
∞ dx cos(kx) f(x) = ∫0
∞ dx cos(kx) exp(-|x|2/[4(t-t0)] )
where I take the projection constant as 1 to match Schaum p 176. define
b = 1/[4(t-t0)]
1/b = 4(t-t0)
1/4b = (t-t0)
b-1/2 = 2 t-t0
36
F(k) = ∫0
∞ dx cos(kx) exp(-bx2) = (1/2) π/b exp(-k2/4b)
= (1/2) π 2 t-t0 exp(-k2(t-t0)) = π t-t0 exp(-k2(t-t0))
Then we get above that
U(k,t) = (A/ 4π ) ∫0
t dt0 { π t-t0 exp(-k2(t-t0))} (t-t0)-1/2 cos(ωt0)
= (A/2) ∫0
t dt0 exp(-k2(t-t0)) cos(ωt0)
= (A/2) exp(-k2t) ∫0
t dt0 exp(k2t0)) cos(ωt0)
= (A/2) exp(-k2t) ∫0
t dx exp(k2x) cos(ωx)
This integral Maple says is this
So we then get
U(k,t) = (A/2) [ k2(cos(ωt) -1) + ωsin(ωt) ]/(k4+ω2)
This looks convergent for an inverse transform, and we get
u(x,t) = (2/π) ∫0
∞ dk cos(kx) {(A/2) [ k2(cos(ωt) -1) + ωsin(ωt) ]/(k4+ω2) }
= (A/π) ∫0
∞ dk cos(kx) { [ k2(cos(ωt) -1) + ωsin(ωt) ]/(k4+ω2) }
37
T1 = (A/π) (cos(ωt) -1) ∫0
∞ dk cos(kx) k2 /(k4+ω2)
T2 = (A/π) ωsin(ωt) ∫0
∞ dk cos(kx) 1/(k4+ω2)
But these are not in my Schaum short list. Bateman has this stuff however.
for T2
Now for T1 we have to use this Bateman rule with n = 1 to get our extra k2 factor
So we then have where α4 = ω2 so that α2 = ω and α = ω
∫0
∞ dk cos(kx) 1/(k4+ω2) = (π/2) α-3 exp(-αx/ 2 ) sin(π/4 + αx/ 2 )
∫0
∞ dk cos(kx) k2/(k4+ω2) = (-1) ∂x2 { (π/2) α-3 exp(-αx/ 2 ) sin(π/4 + αx/ 2 ) }
So here is the very strange answer I have obtained:
u(x,t) = T1 + T2
= (A/π) (cos(ωt) -1) (-1) ∂x2 { (π/2) α-3 exp(-αx/ 2 ) sin(π/4 + αx/ 2 ) }
+ (A/π) ωsin(ωt) (π/2) α-3 exp(-αx/ 2 ) sin(π/4 + αx/ 2 )
α = ω
= (A/2) (cos(ωt) -1) (-1) ∂x2 { α-3 exp(-αx/ 2 ) sin(π/4 + αx/ 2 ) }
+ (A/2) sin(ωt) α-1 exp(-αx/ 2 ) sin(π/4 + αx/ 2 )
α = ω
38
Note that α/ 2 = ω/2 so we seem to have an exponential decay that matches the first term in p 242C.
But where is the p 242C integral going to come from? So something is not quite right. [ Probably this
could be made to fly, but I will not attempt repairs since the correct solution lies ahead. ]
Point of Confusion Revisited. Suppose we have some f(x) like this
[ Here is where I started to realize that you can Fourier Cosine Transform a non-even function. ]
f(x) = Asin(kx)exp(-x2) + Bsin2(kx) exp(-x2)
which I have tried to make convergent, and which has an odd piece plus an even piece. What is the
Fourier Cosine Projection of this odd first piece?
∫0
∞ dx cos(kx) sin(kx) exp(-x2) = (1/2) ∫0
∞ dx sin(2kx) exp(-x2)
Maple tells us this integral
which is real, despite looking imaginary (there are two I's here, and somewhere I showed that erf(ix) =
purely imaginary). In any event, we can see that the integral is real, so we get
F(k) = A (1/2) exp(-k2) (-1/2) π i erf(ik)
// = A (1/2) exp(-k2) (1/2) π erfi(k) !
My point is simply that the Fourier Cosine transform of an odd f(x) term need not be zero! Somewhere I
got the idea that you could only apply this transform to f(x) that had only even pieces.
But look at the recovery formula:
f(x) = ∫0
∞ dk cos(kx) F(k)
You want to say that f(x) is even because cos(kx) is, but we don't have x < 0 in this transform!
Another example: The Fourier Cosine transform of e-bx is b/(k2+b2). Obviously this transform works
both ways. And obviously e-bx = Σn=0∞ (-bx)2/n! has an odd and an even piece.
(e) Redo this problem using the spatial Fourier Sine Transform.
39
Hopefully all my woes are encapsulated in Section (d) above, and my solution here will "go through"
without incident. [ Well, there was one "incident": Maple made the first error I have ever seen it make. ]
We will use the Schaum convention so we can use the Schaum tables:
U(k,t) = ∫0
∞ dx sin(kx) u(x,t)
// projection
u(x,t) = (2/π) ∫0
∞ dk sin(kx) U(k,t)
// expansion
Statement of Problem: We apply boundary schedule h(t) = Acos(ωt) to the x=0 end of a frozen (u=0) half
rod, and we want to know u(x,t). So:
(∂t-∂x2)u(x,t) = 0
u(x,0) = 0 (frozen)
u(0,t) = h(t) (schedule)
We know the Debnath rule from Section (d) Plan D above which says (Schaum normalization)
Fs [ ∂x2 u(x,t) ] = -k2Fs [u(x,t) ] + k u(0,t)
Since the cosine transform requires knowing u'(0,t) which we don't know, we must use the sine transform.
I assume this is a typo on Stak's part, he meant the sine transform I think and I will mark that as an error
in the book.
So applying the above rule our PDE becomes this ODE
(∂t+k2) Fs [u(x,t) ] = k h(t)
or
(∂t+k2) U(k,t)= kAcos(ωt)
Meanwhile we have
U(k,0) = ∫0
∞ dx sin(kx) u(x,0) = ∫0
∞ dx sin(kx) 0 = 0
so our ODE system is then this
(∂t+k2) U(k,t)= kAcos(ωt) t >0, x>0
U(k,0) = 0
The most general homogeneous solution to this equation is
Uhomo(k,t) = c exp(-k2t)
For a particular solution we try
Upart(k,t) = αsin(ωt) + βcos(ωt)
40
(∂t+k2) Upart(k,t) = αωcos(ωt) - βωsin(ωt) + k2 αsin(ωt) + k2 βcos(ωt)
= (αω+k2β)cos(ωt) + (k2α-βω)sin(ωt)
But this has to equal kAcos(ωt) so we have
(αω+k2β) = kA
(k2α-βω) = 0
=>
βω = αk2
β = αk2/ω
k2β = αk4/ω
Then first equation gives
αω + αk4/ω = kA
αω2 + αk4 = kAω
α(ω2+k4) = Aωk
=>
α = Aωk/(k4+ω2)
β = Ak3/(k4+ω2)
Our solution is then
U(k,t) = c exp(-k2t) + αsin(ωt) + βcos(ωt)
and then applying our BC we get
U(k,0) = c 1 + 0 + β 1 = c+β = 0
=> c = -β
So then our full k-space solution to this problem is:
U(k,t) = -β exp(-k2t) + αsin(ωt) + βcos(ωt)
α = Aωk/(k4+ω2)
β = Ak3/(k4+ω2)
= -A exp(-k2t) k3/(k4+ω2) + Aωk sin(ωt)/(k4+ω2) + Ak3 cos(ωt)/(k4+ω2)
or
U(k,t)/A = - { exp(-k2t) k3/(k4+ω2)} + ω sin(ωt) { k /(k4+ω2)} + cos(ωt) { k3/(k4+ω2) }
where we show in {...} the three inverse Fourier Sine transforms we will need. So define
g1(k) = exp(-k2t) k3/(k4+ω2)
g2(k) = k /(k4+ω2)
g3(k) = k3/(k4+ω2)
and we are then looking for
u(x,t)/A = (2/π) ∫0
∞ dk sin(kx) [ – g1(k) + ω sin(ωt) g2(k) + cos(ωt) g3(k) ]
or
(π/2A) u(x,t) = – ∫0
∞ dk sin(kx) g1(k) + ω sin(ωt) ∫0
∞ dk sin(kx) g2(k) + cos(ωt) ∫0
∞ dk sin(kx) g3(k)
41
Schaum does not have these so we hunt in ET I. They are not there either and work is required. I of
course dealt with all this in earlier parts of this doc (but in Laplace World). Let's get Maple help to save
time. We have
∫0
∞ dk sin(kx) gn(k) = π/2 { 2/π ∫0
∞ dk sin(kx) gn(k) } = π/2 fouriersin(gn(k),k,x)
Maple can do g2(k) and g3(k) OK,
Digression: Maple has made an error!
But amazingly, Maple is making a mistake here!!!! I don't think I have ever seen that happen. The right
answer for g3 is this from Alpha, which has the extra cos factor:
You also get this answer from the power diff rule (which I did by hand). I tried the integral directly but
Maple said it was undefined:
42
So poor Maple is suffering a bit of late. These two integrals are in GR7 p 426, just to confirm:
and in this second one you see the cosine factor that Maple omits. The BI refers to Bierens de Haan 1867
which is on the French library system but I could not download it today for some reason.
So let's get these two down before starting into g1(k): [ and I have now included the cos factor]
∫0
∞ dk sin(kx) g2(k) = (π/2ω) exp(- ω/2 x) sin( ω/2 x)
∫0
∞ dk sin(kx) g3(k) = (π/2) exp(- ω/2 x) cos( ω/2 x)
Now Maple cannot do g1 and I think it will just stay in integral form. So we then have
(π/2A) u(x,t) = – ∫0
∞ dk sin(kx) g1(k) + ω sin(ωt) ∫0
∞ dk sin(kx) g2(k) + cos(ωt) ∫0
∞ dk sin(kx) g3(k)
= – ∫0
∞ dk sin(kx) exp(-k2t) k3/(k4+ω2) + ω sin(ωt) (π/2ω) exp(- ω/2 x) sin( ω/2 x)
+ cos(ωt) (π/2) cos( ω/2 x) exp(- ω/2 x)
or
u(x,t)/A = – (2/π) ∫0
∞ dk sin(kx) exp(-k2t) k3/(k4+ω2)
+ sin(ωt) exp(- ω/2 x) sin( ω/2 x) + cos(ωt) cos( ω/2 x) exp(- ω/2 x)
The last two terms become
exp(- ω/2 x) [sin(ωt) sin( ω/2 x) + cos(ωt) cos( ω/2 x)]
= exp(- ω/2 x) [cos(ωt - ω/2 x )]
43
which is our famous damped right-moving wave. Now we can look at the integral term:
[u(x,t)/A]integral term = – (2/π) ∫0
∞ dk sin(kx) exp(-k2t) k3/(k4+ω2)
Change to k2 = ρ and 2kdk = dρ to get
= – (2/π) ∫0
∞ dρ(2k)-1 sin( ρ x) exp(-ρt) k3/(k4+ω2)
= – (1/π) ∫0
∞ dρ sin( ρ x) exp(-ρt) ρ/(ρ2+ω2)
So this thing comes out correct (see p 242C). Our total answer for Section (e) here is then:
u(x,t) = A exp(- ω/2 x) [cos(ωt - ω/2 x )] – (A/π) ∫0
∞ dρ sin( ρ x) exp(-ρt) ρ/(ρ2+ω2)
which agrees with p 242C. [ By the way, I started this doc on Exercise 7.16 17 days ago and have now
finally finished the last part today 4.23.11. ]
Recall that the second term arises because we had u=0 initially, and it takes a while for the wave to travel
down the rod and get into a steady state where all of that u=0 initial freeze is removed. At any time then
the second term is the difference between the steady state wave and what is actually on the rod. It is a
transient in effect and it fades away due to the e-ρt .
Can we do the transient integral?
I = ∫0
∞ dk sin(kx) exp(-k2t) k3/(k4+ω2)
The integrand is even in k so we can write
= (1/2) ∫-∞
∞ dk sin(kx) exp(-k2t) k3/(k4+ω2)
But the expo blows up or down so we cannot close the contour on the GC. So no go on that. We can
simplify into four terms by doing partial fractions this way
44
Then you only need an integral of this type, where a = ±e±iπ/4 ω ( four points on a circle all at 45
degrees) :
∫-∞
∞ dk sin(kx) exp(-k2t) /(k-a)
OK, let's brute force expand sin(ka) and 1/(k-a) in powers of k
sin(kx) = Σi=1,3∞ (-1)(i-1)/2 (kx)i/i!
(k-a) = -(a-k) = -a(1-k/a)
(k-a)-1 = (-a)-1 1/(1-k/a) = (-a)-1 Σj=0∞ (k/a)j
So we then have
∫-∞
∞ dk sin(kx) exp(-k2t) /(k-a) =
= Σi=1,3∞ (-1)(i-1)/2 (1/i!) xi (-a)-1 Σj=0∞ a-j ∫-∞
∞ dk exp(-k2t) ki+j
= Σi=1,3∞ (-1)(i+1)/2 (1/i!) xi Σj=0∞ a-j-1 I(t,i+j)
But the integral vanishes if i+j = odd, but i is already only odd, so j must be odd, so
= Σi=1,3∞ (-1)(i+1)/2 (1/i!) xi Σj=1,3..∞ a-j-1 2 ∫0
∞ dk exp(-k2t) ki+j
= Σi=1,3∞ (-1)(i+1)/2 (1/i!) xi Σj=1,3..∞ a-j-1 Γ(i/2+j/2+1/2) ti/2+j/2+1/2
and then finally we have to sum this on the four on-circle values of constant a = ±e±iπ/4 ω . This one of
the ugliest real integrals I have ever seen!
Comment: Remember that for ω = 0 we know the solution to this problem is
45
u(x,t) = A[1 - erf(x/(2 t ))]
This reminds us that the "influence" propagates instantly onto the rod so that at all x > 0 we have an
influence (might be very small) for any t. Thus, this "heat wave" certainly goes faster than the speed of
light. You feel a little temperature rise a light year away after a mere 1 sec of heat application time.
Obviously the heat conduction equation does not really model the real world in this respect.