logistic_guy
Senior Member
- Joined
- Apr 17, 2024
- Messages
- 1,287
Solve the differential equation the hard way by Dirac delta function to obtain Green's function.
dx2d2y+k2y=f(x)
a<x<b
dx2d2y+k2y=f(x)
a<x<b
This should be written as:g(x,s)=⎩⎪⎪⎨⎪⎪⎧Acoskx+BsinkxCcoskx+Dsinkxa≤s<xx<s≤b
As I said before, A,B,C,and D are not constants, but rather functions of x. And the goal is find them to get Green's function.g(x,s)=⎩⎪⎪⎨⎪⎪⎧Acosks+BsinksCcosks+Dsinksa≤s<xx<s≤b
We simplify the expression above to get:g(x,s)=⎩⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎧(ksink(b−a)sink(b−x))(sinkacosks−coskasinks)(ksink(b−a)sink(x−a))(−sinkbcosks+coskbsinks)a≤s<xx<s≤b