Added May 23, 2019.
From Math 5587 midterm I, Fall 2016, practice exam, problem 8.
Solve for \(u(x,t)\) with \(u(x,0)=x\) and \(u_t(x,0)=0\) by factoring the PDE into two transport PDE
Mathematica ✓
ClearAll["Global`*"]; pde = D[u[x, t], {x,2}] + D[D[u[x,t],x],t] - 6*D[u[x, t], {t,2}] == 0; ic = {u[x,0]==x, Derivative[0,1][u][x,0]==0}; sol = AbsoluteTiming[TimeConstrained[DSolve[{pde,ic}, u[x, t], {x, t}], 60*10]];
Maple ✓
restart; pde := diff(u(x,t),x$2)+diff(diff(u(x,t),x),t) - 6 * diff(u(x,t),t$2)=0; ic := u(x,0)=x, eval( diff(u(x,t),t),t=0)=0; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve([pde,ic],u(x,t))),output='realtime'));
Hand solution
Solve \(u_{xx}+u_{xt}-6u_{tt}=0\) with \(u\left ( x,0\right ) =x\) and \(u_{t}\left ( x,0\right ) =0\). Writing the PDE as
Let
But \(u\left ( x,0\right ) =x\) hence \(u_{x}\left ( x,0\right ) =1\), and \(u_{t}\left ( x,0\right ) =0\). Therefore the above gives
Hence we need to solve (2) for \(w\left ( x,t\right ) \) with the above initial condition. The characteristics for (2) are
With \(x\left ( 0\right ) =\xi ,t\left ( 0\right ) =0,w\left ( 0\right ) =1\). The above equations give
Hence
From (1)
with \(u\left ( x,0\right ) =x\). The characteristics for (3) are
With \(x\left ( 0\right ) =\xi ,t\left ( 0\right ) =0,u\left ( 0\right ) =\xi \). The above equations give
But \(s=-\frac {t}{2}\) and \(\xi =x-s=x-\left ( -\frac {t}{2}\right ) =x+\frac {t}{2}\), hence
___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________