PDE problem, that puzzles me ...

Axel Vogt's picture
Based on some older Math group thread my problem is the following (0 < t):

F:= (x,t) -> Int(exp(-t*eta^2+x*eta)/(1+exp(eta)),eta = -infinity .. infinity);

satisfies 0 = 'diff(F(x,t),t) + diff(F(x,t),x$2)' and for that PDE Maple gives

  pdsolve(PDE, f(x,t),build): combine(%):
  subs(_c[1]=c,_C1=c1,_C2=c2,_C3=c3,%): rhs(%);
  S:=unapply(%, x,t);

    S := (x, t) -> c3*c1*exp(c^(1/2)*x-c*t)+c3*c2*exp(-c^(1/2)*x-c*t)

by separation of variables.

I am interested in t=1/2 ( to get (F(x,1/2) ) and for that define

G:= x -> Int(exp(-1/2*(eta-x)^2)/(1+exp(eta)),eta = -infinity .. infinity);

Then we have 'exp(-1/2*(x)^2) * F(x,1/2) = G(x)'; # combine(%): is(%); # =true

Being a bit lame I do not really analytically determine G(+- infinity), but
by plotting and taking large values (say at x=+-40), which gives me 0
and sqrt(2*pi) for x=-infinity. So for very small x that G(x) *not* zero.

However using the solution S one gets 0 at both ends as a sum of 2 Gaussians:

  'exp(-1/2*x^2)*S(x,1/2)';
                                2
                               x
                        exp(- ----) S(x, 1/2)
                               2

  expand(%): combine(%): combine(%,exp): 
  completesquare(%,x): simplify(%,size);

             /               1/2 2                   1/2 2 \
             |         (x - c   )              (x + c   )  |
          c3 |c1 exp(- -----------) + c2 exp(- -----------)|
             \              2                       2      /

I can not find my fault :-(

www.mapleprimes.com/files/102_heat_problem.mws

alec's picture

Not all solutions

Not all solutions are returned by pdsolve. Without the build option, it gives

pdsolve(PDE, f(x,t));
  (f(x, t) = _F1(x) _F2(t)) &where

           2
          d                          d
        [{--- _F1(x) = _c[1] _F1(x), -- _F2(t) = -_c[1] _F2(t)}]
            2                        dt
          dx

which is only a part of all possible solutions, not including such solutions as f(x,t) = x^2 - 2t, for example.

Alec

HINT `+`

It needs some help:

pdsolve(PDE, f(x,t),HINT=`+`,build);


                              2
        f(x, t) = -1/2 _c[2] x  + _C1 x + _C2 + _c[2] t + _C3


alec's picture

Another comment

Suppose that F(x,t) = F1(x)*F2(t). Now,

value(F(0,t)) assuming positive;
                                  1/2
                                Pi
                                ------
                                   1/2
                                2 t

From here, F2(t) = c/sqrt(t) which doesn't satisfy the conditions given in the PDE solutions. That means that F(x,t) can not be written as a product of F1(x) and F2(t).

Alec

Axel Vogt's picture

Thx

Thank you both, I see.

Ok, I can not solve it, the question is from groups.google.de/group/sci.math.symbolic/browse_frm/thread/456afbdf28007cbf/
where the notations are a bit different from Manzoni's post (but his final task is just the problem for me)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}