1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Partial Differential Equations

  1. Nov 10, 2005 #1
    I need help with Diffusion on the Whole Line.

    For instance, my first homework problem is:

    Solve the diffusion equation Ut = Uxx with the initial value conditions phi(x) = 1 for |x| > l, phi(x) = 0 for |x| < l. I don't know what to do, and the book I'm using isn't the least bit enlightening.
     
  2. jcsd
  3. Nov 10, 2005 #2

    Tide

    User Avatar
    Science Advisor
    Homework Helper

    Have you tried solving the diffusion equation using a Laplace transform wrt to the time variable?
     
  4. Nov 10, 2005 #3

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Your book won't be enlightening if you don't take more care in reading it. No, the problem does NOT say " phi(x) = 1 for |x| > l, phi(x) = 0 for |x| < l". That doesn't make sense- phi is a function of both x and t. I suspect that the problem says: phi(x,0)= 1 for |x|> 1, ph(x,0)= |x|< 1. Also, there will have to be boundary conditions on x: probabably that the solution stays bounded as x goes to both infinity and -infinity. Looks to me like you will need a Fourier Transform solution: write phi(x,t) in the form
    [tex]\phi(x,t)= \frac{1}{\sqrt{2\pi}\int_{-\infty}^{\infty}f(t)e^{ixs}ds[/tex].
    Put that into the differential equation to get an ordinary differential equations for f(t).
     
    Last edited: Nov 10, 2005
  5. Nov 10, 2005 #4
    Phi is not a function of x and t, only x. The solution equation u(x,t) is a function of x and t... maybe you could picture phi(x) as being u(x,0), but I don't think that's quite right either. Also, it's |x| < the letter l, not 1. Here are exact words:

    "Solve the diffusion equation with the initial condition

    phi(x) = 1 for |x| < L and phi(x) = 0 for |x| > L.

    Write your answer in terms of Erf(x) <== the error function of statistics."

    The only thing I'm left to go on is the equation the guy derived in the section:

    1/(4*pi*k*t)^(1/2)*[integral from -infinity to infinity] {exp((-(x-y)^2)/4kt) * phi(y) * dy}

    In one of the examples, an initial condition was given without constraints, and it was in terms of x. He then proceeded to plug it into the equation given above as the same function, in terms of y.

    I say the book sucks because it dedicates all of two pages to this topic, and it's very very veryyyyy ambiguous with the examples; it doesn't really let me know how I should go about solving a problem of this nature.

    Also, that image didn't work. I think I need software?

    Thanks for telling me what my book says, though :)
     
  6. Nov 10, 2005 #5

    saltydog

    User Avatar
    Science Advisor
    Homework Helper

    Is this the problem:


    [tex]\text{DE:}\quad \frac{\partial u}{\partial t}=\frac{\partial^2 u}{\partial t^2};\quad -\infty<x<\infty,\quad t>0[/tex]

    [tex]\text{IC:}\quad u(x,0)=\Phi(x)=
    \left\{
    \begin{array}{rcl}
    1 & \mbox{for} & |x|\le L \\
    0 & \mbox{for} & |x|>L
    \end{array}
    \right
    [/tex]

    As you so stated, the solution is given by the heat kernel:

    [tex]u(x,t)=\frac{1}{\sqrt{4\pi t}}\int_{-\infty}^{\infty} e^{-(x-y)^2/4t} \Phi(y)dy[/tex]

    So there you go . . . now, plug in [itex]\Phi(x)[/tex] (use any value of L for starters like L=1) and then express the integral as you so indicated.

    Try and find in the library, "Basic Partial Differential Equations" by D. Bleecker and G. Csordas.

    Edit: Oh yea, a plot wouldn't hurt neither you know.
     
    Last edited: Nov 10, 2005
  7. Nov 10, 2005 #6
    I don't understand. I'm supposed to plug in zero for phi? doesn't that just give me zero? I'm so confused by this material that my brain is imploding.
     
  8. Nov 10, 2005 #7

    saltydog

    User Avatar
    Science Advisor
    Homework Helper

    Well, let's say for example that L=1. So for the integral:

    [tex]u(x,t)=\frac{1}{\sqrt{4\pi t}}\int_{-\infty}^{\infty} e^{-(x-y)^2/4t} \Phi(y)dy[/tex]

    Phi is non-zero only in [-1,1], everywhere else it's zero so the integral is zero there too. So isn't that the same as:

    [tex]u(x,t)=\frac{1}{\sqrt{4\pi t}}\int_{-1}^{1} e^{-(x-y)^2/4t} (1)dy[/tex]

    So what's the value at x=15 and t=100? Wouldn't that be:

    [tex]u(15,100)=\frac{1}{\sqrt{4\pi (100)}}\int_{-1}^{1} e^{-(15-y))^2/(400)} (1)dy[/tex]
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Partial Differential Equations
Loading...