Green's Function for a harmonic oscillator

In summary, the conversation discusses the use of contour integration to find the Green's function for a system with loss. The solution involves choosing the correct contour direction, which is determined by considering the exponential function and the direction of time flow. The trick of introducing loss and then taking it to zero is also mentioned as a way to handle the poles on the real axis. It is noted that a proper understanding of generalized functions may be needed for a more rigorous approach.
  • #1
TheBigDig
65
2
Homework Statement
Express the equation of motion for a classical harmonic oscillator in 1-dimension in the general form above. Indicate how the harmonic oscillator can be treated by the Green function method. Obtain the corresponding Green function (in frequency domain) for this case
Relevant Equations
[tex]\ddot{x}+\omega_0 ^2 x = A(t)[/tex]
[tex]x(t)=\int dt' g(t-t')A(t')[/tex]
[tex]\ddot{g}+\omega_0 ^2 g = \delta(t-t')[/tex]
[tex]G(\omega) = \frac{1}{\omega_0 ^2-\omega^2}[/tex]
[tex]g(t-t') = \frac{1}{2\pi}\int d\omega e^{-i\omega(t-t')}G(\omega) = -\frac{1}{2\pi} \int d\omega \frac{e^{-i\omega(t-t')}}{\omega^2-\omega_0^2}[/tex]
[tex]\oint dz f(z) = 2\pi i R[/tex]
I know that due to causality g(t-t')=0 for t<t' and I also know that for t>t', we should get
[tex]g(t-t')=\frac{sin(\omega_0(t-t'))}{\omega_0}[/tex]
But I can't seem to get that to work out.
Using the Cauchy integral formula above, I take one pole at -w_0 and get
[tex]\frac{ie^{i\omega_0(t-t')}}{2\omega_0}[/tex]
and the other pole at +w_0
[tex]\frac{-ie^{i\omega_0(t-t')}}{2\omega_0}[/tex]
Summing these together I get
[tex]g(t-t') = \frac{i(e^{i\omega_0(t-t')}-e^{-i\omega_0(t-t')})}{2\omega_0}[/tex]
I'm sure I'm just missing a factor of -1 or something that could get this in the correct form but I've been through it twice and can't find my slip up
 
Physics news on Phys.org
  • #2
Perhaps check whether you should be closing the contour in the upper-half plane or lower-half plane.
 
  • #3
How does closing the contour in the upper half differ from closing in the lower half? Apologies, I'm a physicist and have had a crash course in complex analysis so this isn't really my strong suit
 
  • #4
Given the sign of ##t-t'##, the integral will converge in one of the half planes and diverge in the other, so you have to choose the one in which it will converge. A simple way to see which one is correct is to consider ##e^{-iz(t-t')}## with ##z=iy##. Do you need ##y>0## or ##y<0## as ##y \to \pm\infty## to get the exponential to go to 0? Depending on which contour you end up using, you'll either enclose the poles with a contour that goes clockwise or counterclockwise.
 
  • #5
The trick I like to use it to introduce some loss into the system, and then take it to zero. The trouble with the poles arises because your equations are symmetric with respect to time reversal, but to get a causal solution you have to select the direction of time flow (to get cause and effect). One intuitive way is to add loss.

So let your equation be

##\ddot{x}+\gamma \dot{x} + \omega_0^2 x = A(t)##

Clearly taking the limit ##\gamma\to 0## corresponds to what you want. In the abscence of driver, ##A=0##, and in the limit of very small loss ##\left|\gamma\right|\ll \omega_0##, the solutions are:

##x_{hom}\approx \exp\left(-\gamma t/2\right)\left(const \cdot \cos\omega_0 t + const\cdot\sin\omega_0 t\right)##

So if you want your system to loose energy as the time goes forward, ##\gamma\ge 0##. Now do your contour integration, keep using the fact that ##\gamma \ll \omega_0## to keep expressions simple. You will find that this ##\gamma## displaces your poles off the real axis, which will allow you to carry out the integration without any problems. Finally you will be able to set ##\gamma\to 0^+## to arrive at the end result.

In my notation (assuming that ##G(t-t')=\frac{1}{2\pi}\int d\omega \exp\left(-i\omega\left(t-t'\right)\right)\tilde{G}\left(\omega\right)##)

##\tilde{G}\left(\omega\right)\approx\frac{1}{\left(\left(\omega_0 + i\gamma/2\right)-\omega\right)\left(\left(\omega_0-i\gamma/2\right) +\omega\right)}##

So you will have poles at ##\omega=\pm \omega_0 + i\gamma/2##, so your contour will be enclosing the poles counter-clock-wise.
 
  • Like
Likes stevendaryl
  • #6
Cryo said:
The trick I like to use it to introduce some loss into the system, and then take it to zero.
You do not need to do this if you accept that the solution is to be seen as a distribution rather than a normal function and don't insist on having to compute the Green's function by Fourier transform. You can just assert ##G(t-t_0) = \theta(t-t_0) g(t)##, where ##\theta## is the Heaviside function. Insertion into the differential equation for the Green's function directly gives ##g(t)## as a linear combination of a sine and cosine as well as the initial conditions at ##t = t_0## to fix the constants.

If one insists on using Fourier transforms, one needs to take great care in terms of which way you go around the poles because the poles are on the real axis. This prescription (together with the different ways of closing the contours at infinity as mentioned in #2) will lead you to either the retarded Green's function, the advanced Green's function, or (if passing the poles on opposite sides) the Feynman Green's function.
 
  • Like
Likes Cryo
  • #7
Orodruin said:
You do not need to do this if you accept that the solution is to be seen as a distribution rather than a normal function and don't insist on having to compute the Green's function by Fourier transform.

I agree, but the OP was asking about contours. Also, proper handling of generalized functions requires some familiarity with them which is not always included in physics courses, the contour integration methods on the other hand are bread-and-butter.
 
  • #8
vela said:
Given the sign of ##t-t'##, the integral will converge in one of the half planes and diverge in the other, so you have to choose the one in which it will converge. A simple way to see which one is correct is to consider ##e^{-iz(t-t')}## with ##z=iy##. Do you need ##y>0## or ##y<0## as ##y \to \pm\infty## to get the exponential to go to 0? Depending on which contour you end up using, you'll either enclose the poles with a contour that goes clockwise or counterclockwise.
I see. So I'm taking the lower half contour which should account for a missing factor of -1 in my solution.
 
  • #9
Orodruin said:
poles are on the real axis

Hence, why I like my trick :-)
 
  • #10
Cryo said:
Also, proper handling of generalized functions requires some familiarity with them which is not always included in physics courses
Proper handling in mathematical terms, yes. However, the only property you really need to argue for is ##\theta’ = \delta##. If you are going to talk about Green’s functions you need at least some familiarity with ##\delta## and it is not difficult to argue for this being reasonable. (Technically you also need ##\delta’##, but you can argue that it is a different beast altogether and all you really need is that.) That amount of rigor is about the same as you would get from a ”physics” FT course.

TheBigDig said:
I see. So I'm taking the lower half contour which should account for a missing factor of -1 in my solution.
Note that you also need to worry about the pole prescription!
 

FAQ: Green's Function for a harmonic oscillator

1. What is the Green's Function for a harmonic oscillator?

The Green's Function for a harmonic oscillator is a mathematical function that describes the response of a harmonic oscillator to an external force or perturbation. It is a fundamental tool in quantum mechanics and allows for the calculation of the time evolution of a system.

2. How is the Green's Function for a harmonic oscillator derived?

The Green's Function for a harmonic oscillator is derived by solving the differential equation for the harmonic oscillator and using the boundary conditions to obtain a solution in terms of the Green's Function. This involves using the method of separation of variables and solving for the eigenvalues and eigenfunctions of the system.

3. What are the applications of the Green's Function for a harmonic oscillator?

The Green's Function for a harmonic oscillator has many applications in physics, particularly in quantum mechanics and statistical mechanics. It is used to calculate the response of a system to an external force, as well as to study the properties of quantum systems and their interactions with their environment.

4. Can the Green's Function for a harmonic oscillator be used for non-harmonic systems?

Yes, the Green's Function for a harmonic oscillator can be extended to non-harmonic systems by using a perturbation approach. This involves treating the non-harmonic terms as small perturbations and using the Green's Function for the harmonic oscillator as a starting point. This method is commonly used in theoretical physics to study more complex systems.

5. What are the advantages of using the Green's Function for a harmonic oscillator?

The Green's Function for a harmonic oscillator provides a powerful and elegant mathematical framework for studying the behavior of quantum systems. It allows for the calculation of time-dependent quantities and can be used to solve a wide range of problems in physics. Additionally, it provides a deeper understanding of the underlying principles of quantum mechanics and their applications in various fields.

Back
Top