Green's Function: Solving a Differential Equation with a Green's Function

In summary, the student attempted to solve a differential equation for a Green's function using the integrating factor method, but was not successful. He then attempted to solve the equation for the function using the Heaviside function and found that it had the same result.
  • #1
WWCY
479
12

Homework Statement


I need to solve the following D.E for ##\phi(x,t)##
$$[\frac{\partial}{\partial t} - D \frac{\partial ^2}{\partial x^2}]\phi (x,t) = f(x,t)$$
with the help of the following DE with a Green's function
$$[\frac{\partial}{\partial t} - D \frac{\partial ^2}{\partial x^2}]G (x-x',t-t') = \delta (x-x') \delta(t-t')$$

I'm hoping that someone could look through a part of the working and comment on whether it makes sense, and also help out with a conceptual problem.

Thanks in advance!

Homework Equations

The Attempt at a Solution



##\phi## and ##G## are related as such,
$$\phi (x,t) = \int_{\infty}dx' \int_{\infty}dt' G(x-x';t-t') f(x',t')$$
Taking the spatial Fourier transform of the differential equation of G gives,
$$[\frac{\partial}{\partial t} + Dk^2]\tilde{G} (k, t-t') = \delta(t-t')$$
Since this is a Linear Differential Equation in ##t##, I can use the integrating factor method to obtain
$$Ae^{Dk^2 t}\tilde{G} = \int_{-\infty}^{t'} Ae^{Dk^2 t} \delta(t-t')dt + \int_{t'}^{\infty} Ae^{Dk^2 t} \delta(t-t')dt$$
which leads to,
$$\tilde{G}(k, t<t') = 0$$ and $$ \tilde{G}(k, t\geq t') = e^{-Dk^2 (t-t')} $$
Does the above make sense?

I also know of another way to solve the DE, though I don't know how to implement it.

Apparently carrying out the integral ##\int_{t'-\epsilon}^{t'+\epsilon} dt## on the DE for ##\tilde{G} ## will yield the same result by showing the discontinuity of ##\tilde{G}## at ##t'##. I can't really see how to do this. Could someone show me the steps?

Thanks!
 
Physics news on Phys.org
  • #2
That ##\tilde G## is zero for times ##t <t’## is not something you can deduce from the differential equation, it is something you must impose as a boundary condition.

I suggest that you use this boundary condition to write ##\tilde G = \theta(t-t’) g(t-t’)## where ##g## is some function. Insertion into the differential equation and identification of terms will give you the differential equation for ##g## and its initial condition at ##t=t’##.
 
  • #3
Thank you for assisting!

Orodruin said:
I suggest that you use this boundary condition to write ##\tilde G = \theta(t-t’) g(t-t’)## where ##g## is some function. Insertion into the differential equation and identification of terms will give you the differential equation for ##g## and its initial condition at ##t=t’##.

I'm afraid I don't quite understand what this means. Do you mind elaborating?
WWCY said:
Apparently carrying out the integral ##\int_{t'-\epsilon}^{t'+\epsilon} dt## will yield the same result by showing the discontinuity of ##\tilde{G}## at ##t'##. I can't really see how to do this

Also, do you mind explaining how this can be used to solve the problem as well? This was left as an explicit hint by a lecturer, and I can't help but think that there's something important to be learned from this.

Thank you for your patience.
 
  • #4
WWCY said:
I'm afraid I don't quite understand what this means. Do you mind elaborating?

##\theta## is the Heaviside function. It has the property that ##\partial_t\theta(t-t') = \delta(t-t')## and it is zero for ##t < t'##. This means that your function ##\tilde G##, since it is zero for ##t < t'## can be written on the given form. Insert the ansatz into the differential equation and tell me what you get.
Also, do you mind explaining how this can be used to solve the problem as well? This was left as an explicit hint by a lecturer, and I can't help but think that there's something important to be learned from this.
Yes, in my opinion, the "integration between ##t-\epsilon## and ##t + \epsilon##" sweeps what is really going on (i.e., a differential equation for distributions) under the carpet. I know it is a very popular approach, but I think it is far more intuitive to take the approach above.
 
  • #5
Hi @Orodruin , I gave it a shot:

$$[\partial _t + Dk^2]\theta g = \delta$$
which gives,
$$\theta \frac{\partial g}{\partial t} + g\delta + Dk^2 \theta g = \delta$$
For ##t>t'##,
$$\frac{d g}{dt} + (\delta + Dk^2)g = \delta$$,
Making use of the integrating factor,
$$e^{\int \delta dt + \int Dk^2 dt} = Ae^{Dk^2 t}$$
I then computed the following integral,
$$Ae^{Dk^2 t}g = \int_{\infty}\delta Ae^{Dk^2 t}$$
and got
$$G = \theta (t - t') e^{-Dk^2(t-t')}$$

Does this look ok?

Also, I have a few things I'd like to clarify:
1) Isn't it slightly "early" to introduce the Heaviside? I have always assumed that the rationale for a Green's to be 0 for all times ##< t'## was because it would be unbounded as ##t## tends to ##-\infty##. My initial assumption was that I had to somehow show that a function of type $$G = Ae^{-Dk^2(t-t')}$$ was a solution, and then show said unboundedness before setting ##A = 0## for ##t<t'##.

2) Am I allowed to perform an indefinite integral on a Dirac Delta?

Thanks for your continued patience, it is greatly appreciated.
 
  • #6
1) The physical reason for having a Green’s function that is zero for ##t < t’## is that you are looking for a retarded Green’s function, i.e., one that will tell you what happens after the source is applied given a set of initial conditions. If it was non-zero for ##t < t’## a source would give a contribution before it was introduced. This would be fine if you were looking for a solution for earlier times given some known final state, but this is usually not the case.

In your solution, you should not refer directly to special cases such as ”for t<t’” apart from getting the differential equation for g. (Also note that if you do, the delta function would be zero for those values.) The point is to make an argument based on what differential equation g has to satisfy and what initial condition it has to satisfy (by identifying the coefficient in front if the delta on the LHS with that on the RHS). Nowhere do you have to do indefinite integrals of the delta.
 
  • #7
Orodruin said:
1) The physical reason for having a Green’s function that is zero for ##t < t’## is that you are looking for a retarded Green’s function, i.e., one that will tell you what happens after the source is applied given a set of initial conditions. If it was non-zero for ##t < t’## a source would give a contribution before it was introduced. This would be fine if you were looking for a solution for earlier times given some known final state, but this is usually not the case.

So would I be right to say that ##G## and its transform must be equal to 0 before ##t'## due to the fact that there is no force on the system up till the time ##t = t'##?
Also, does this mean that a single Delta driving force centered at ##t'## immediately means that ##G = 0## for times ##<t'##?

Orodruin said:
In your solution, you should not refer directly to special cases such as ”for t<t’” apart from getting the differential equation for g. (Also note that if you do, the delta function would be zero for those values.) The point is to make an argument based on what differential equation g has to satisfy and what initial condition it has to satisfy (by identifying the coefficient in front if the delta on the LHS with that on the RHS). Nowhere do you have to do indefinite integrals of the delta.

Could you elaborate on this? I'm not sure I understand the part on special cases and identifying the coefficients of the delta on the LHS and RHS

Also, I did perform an indefinite integral (line 4 of my solution) to get my integrating factor, was this wrong?

Thanks for your continued patience!
 
  • #8
WWCY said:
So would I be right to say that ##G## and its transform must be equal to 0 before ##t'## due to the fact that there is no force on the system up till the time ##t = t'##?
Also, does this mean that a single Delta driving force centered at ##t'## immediately means that ##G = 0## for times ##<t'##?
The Green's function is the response of the system to a delta source (it is the heat equation, not an oscillator) at time ##t'##. If you are solving a system with initial conditions, you want the retarded Green's function which is homogeneous for times smaller than ##t'## so that you do not mess up the initial conditions.
Could you elaborate on this? I'm not sure I understand the part on special cases and identifying the coefficients of the delta on the LHS and RHS

Also, I did perform an indefinite integral (line 4 of my solution) to get my integrating factor, was this wrong?

Thanks for your continued patience!
The line before was wrong. For ##t > t'##, the delta is zero. With the ansatz inserted into the differential equation, you should have
$$
\delta(t-t') g(t-t') + \theta(t-t')[g'(t-t') + Dk^2 g(t-t')] = \delta(t-t') g(0) + \theta(t-t')[g'(t-t') + Dk^2 g(t-t')] = \delta(t-t').
$$
Identifying the coefficients in front of the delta on both sides gives ##g(0) = 1## and the Heaviside term gives ##g'(s) + Dk^2 g(s) = 0## for ##s > 0##. This is an ordinary differential equation for ##g(s)## in the domain ##s > 0## and a sufficient number of initial conditions to solve it uniquely.
 
  • #9
Thank you for your help @Orodruin , I believe I see it now!

For the sake of completeness though, do you mind guiding me through the steps and logic involved in using the ##t - \epsilon , t + \epsilon## integration?
 

1. What is a Green's function?

A Green's function is a mathematical tool used to solve differential equations in physics and engineering. It represents the response of a system to an impulse input at a particular point.

2. How is a Green's function used in real-world applications?

Green's functions are used in a variety of fields, including electromagnetics, fluid mechanics, and quantum mechanics. They are particularly useful in solving boundary value problems, where the behavior of a system is only known at certain points.

3. How is a Green's function different from a transfer function?

A Green's function is specific to a particular system, while a transfer function represents the relationship between input and output variables of a linear system. In other words, a Green's function is a particular solution to a differential equation, while a transfer function is a general representation of a system's behavior.

4. Can a Green's function be used to solve non-linear systems?

No, a Green's function can only be used to solve linear systems. Non-linear systems require different mathematical tools for their solutions.

5. How is a Green's function related to the concept of symmetry?

Green's functions are often used in problems with symmetry because they can simplify the mathematical calculations needed to solve these problems. In particular, symmetries such as translation, rotation, and reflection can be exploited to simplify the Green's function and make it easier to use in solving differential equations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
708
  • Calculus and Beyond Homework Help
Replies
1
Views
446
  • Calculus and Beyond Homework Help
Replies
0
Views
170
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
918
  • Calculus and Beyond Homework Help
Replies
12
Views
994
  • Calculus and Beyond Homework Help
Replies
7
Views
288
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
635
Back
Top