Question: Assumptions in pdsolve

Hello,

How can I use assmptions in partial differential equations?

For example consider the following differential equation

pde:=diff(u(x,t),t)+alpha*diff(u(x,t),x)=0
sol:=pdsolve(pde,build) assuming alpha=0

This gives me the same solution if alpha!=0

I also tried this

assume(alpha=0)
pde:=diff(u(x,t),t)+alpha*diff(u(x,t),x)=0
sol=pdsolve(pde,build)

I again got the same result as if alpha!=0. Except this time there was a tilde on the right side of alpha (to my knowledge that means there are assumptions on alpha)

How do you apply assumptions in PDEs? 

 

 

Please Wait...