Added May 23, 2019.
From Math 5587 midterm I, Fall 2016, practice exam, problem 9.
Solve for \(u(x,t)\) with \(u(x,0)=0\) and \(u_t(x,0)=x\) 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] - 12*D[u[x, t], {t,2}] == 0; ic = {u[x,0]==0, Derivative[0,1][u][x,0]==x}; 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) - 12 * diff(u(x,t),t$2)=0; ic := u(x,0)=0, eval( diff(u(x,t),t),t=0)=x; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve([pde,ic],u(x,t))),output='realtime'));
Hand solution
Solve \(u_{xx}-u_{xt}-12u_{tt}=0\) with \(u\left ( x,0\right ) =x\) and \(u_{t}\left ( x,0\right ) =x\). Writing the PDE as
Let
But \(u\left ( x,0\right ) =0\) hence \(u_{x}\left ( x,0\right ) =0\), and \(u_{t}\left ( x,0\right ) =x\). 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 ) =-4\xi \). The above equations give
Solving for \(\xi ,s\) from the first 2 equations. \(\xi =x-s=x-\frac {t}{3}\). From the last equation above
Using the above into (1) gives
with \(u\left ( x,0\right ) =0\). The characteristics for (3) are
With \(x\left ( 0\right ) =\xi ,t\left ( 0\right ) =0,u\left ( 0\right ) =0\). The above equations give
Solving the above for \(s,\xi \) gives \(\xi =x-s=x+\frac {t}{4}\). Therefore \(\frac {du}{ds}=-4\left ( x-\frac {t}{3}\right ) \) becomes
Solving the above gives
Converting to \(x,t\)
___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________