Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need to Find Green Function

  1. Jan 13, 2007 #1
    1. The problem statement, all variables and given/known data

    Hey folks,

    I need to find a Green function for the equation:

    y'' +1/4y = f(x)

    With boundary conditions y(0)=y(pi) = 0

    3. The attempt at a solution

    I tried some combination of solutions that look like sin(kx) and sin(k-pi)
    and looked at the strum liouville equation too and meassed with a Wronkskian.

    I was just wandering if there was an easier way to do this?
  2. jcsd
  3. Jan 15, 2007 #2
  4. Jan 15, 2007 #3
    pde problems are usually messy and tedious, which i have so far avoided and even prof. mathwonk himself admitted he is lacking in. perhaps you should post in the differential equations forum where there are some pde's experts to assist you.
    Last edited: Jan 15, 2007
  5. Jan 16, 2007 #4


    User Avatar
    Science Advisor

    Do you mean y"+ (1/4)y ? (Not y"+ 1/(4y).)

    What is the DEFINITION of Green's function?

    The Green's function for this problem, G(x,t), must satisfy:

    Gxx+ (1/4)G= 0 for all [itex]x\ne t[/itex].
    G(0,t)= 0, G([itex]\pi[/itex],t)= 0
    G is continuous at x= t.
    Derivative of G at t, from the right, minus derivative of G at t,from the left, must equal 1.

    The general solution of y"+ (1/4)y= 0 is A cos((1/2)x+ B sin((1/2)x) so Green's function must be of the form
    [tex]G(x,t)= \left{\begin{array}{c}A cos((1/2)x)+ B sin((1/2)x if x< t \\C cos((1/2)x)+ D sin((1/2)x) if x> t \end{array}\right[/itex]

    G(0,t)= A= 0, G([itex]\pi[/itex],t)= D= 0

    G(t,t)= A cos((1/2)t)+ B sin((1/2)t= C cos((1/2)t)+ D sin((1/2)t)

    -(1/2)C sin((1/2)t)+ (1/2)D cos((1/2)t)+ (1/2)A sin((1/2)t)- (1/2)B cos((1/2)t)= 1

    Solve for A, B, C, D.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook