2.15.2 Benjamin Bona Mahony ut+ux+uu+xuxxt=0

problem number 112

Added December 27, 2018.

Taken from https://en.wikipedia.org/wiki/List_of_nonlinear_partial_differential_equations

Solve for u(x,t)

ut+ux+uu+xuxxt=0

Mathematica

ClearAll["Global`*"]; 
pde =  D[u[x, t], t] + D[u[x, t], x] + u[x, t]*D[u[x, t], x] - D[D[u[x, t], {x, 2}], t] == 0; 
sol =  AbsoluteTiming[TimeConstrained[DSolve[pde, u[x, t], {x, t}], 60*10]];
 

{{u(x,t)12c1c2tanh2(c2t+c1x+c3)8c1c2c2c11}}

Maple

restart; 
pde := diff(u(x,t),t)+diff(u(x,t),x)+u(x,t)*diff(u(x,t),x)-diff(u(x,t),x,x,t)=0; 
cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,u(x,t))),output='realtime'));
 

u(x,t)=12_C3_C22(tanh(_C2x+_C3t+_C1))28_C22_C3_C2_C3_C2

____________________________________________________________________________________