Can I Solve This Complicated Equation with a Dirac Delta Function?

Click For Summary

Discussion Overview

The discussion revolves around solving a complicated differential equation involving a Dirac delta function, specifically ψ''(z)=[k²/4 – M² – kδ(z)]ψ(z). Participants explore methods for finding solutions, including numerical approaches and analytical techniques, while noting the challenges posed by the delta function and additional terms in the equation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant expresses difficulty in solving the equation by hand or using an older version of Mathematica, seeking assistance.
  • Another participant shares a numerical approach using NDSolve in Mathematica, providing specific parameter values and code snippets.
  • A different participant suggests that an exponential function combined with a cosine term nearly satisfies the equation but introduces an additional term, proposing that an infinite series might be a viable solution.
  • One participant recommends solving the differential equation separately for regions z<0 and z>0, where the delta function is zero, and then matching solutions at z=0, noting the continuity of the function and the discontinuity in its derivative at that point.

Areas of Agreement / Disagreement

Participants present various methods and approaches to tackle the problem, indicating a lack of consensus on the best solution strategy. Some participants focus on numerical methods while others emphasize analytical techniques.

Contextual Notes

Participants acknowledge the complexity introduced by the delta function and the additional terms in the differential equation, which may affect the solution process. There is also mention of the need for continuity and the behavior of derivatives at the point where the delta function is located.

Goddar
Messages
202
Reaction score
16
Hi there, my version of Mathematica may be too old and I'm not finding this one by hand so any help would be appreciated:
ψ''(z)=[k2/4 –M2 –kδ(z)]ψ(z),
where δ(z) is the Dirac delta, k and M constants.

i can solve the same equation without the M^2 term by exp(k|z|/2), but this one proves to be much more complicated.

Please note that this is part of a problem where solving the D.E. is actually not the issue: I'm supposed to use a software or anything that helps so I'm really just trying to get the answer.. thanks!
 
Physics news on Phys.org
Version 9.0.1 DSolve can't crack it.

Perhaps this will help

In[1]:= k = 1; m = 2;
f = s[z] /. NDSolve[{s''[z] == (k^2/4 - m^2 - k DiracDelta[z]) s[z], s[0] == 0, s'[0] == 1/2}, s[z], {z, 0, 10}]

Out[2]= InterpolatingFunction[{{0., 10.}}, <>][z]}

In[3]:= Plot[f, {z, 0, 10}]

Out[3]= ...PlotSnipped...
 
Thank you Bill, I'm going to look into this "interpolating function"...
Actually, exp[–k|z|/2]cos(Mz) almost works but i pick up an extra term in the D.E.; maybe an infinite series would do the job, i just can't find it so far...
 
you don't need Mathematica or anything, just solve the simple second order DE for z<0 and z>0 (the delta function term is zero here) and then match them at z=0. The function itself should be continuous and then there is a jump in the derivative at z=0 due to the delta function.
 
Thank you, you're right. It's good to remember what these functions really are sometimes!..
I'm going to try that.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
3K
Replies
4
Views
4K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K