I am trying to solve an example... little stuck in between. Any help would be appreciated.
Consider the quasi-linear partial differential equation $ \frac{\partial u}{\partial t}+u\frac{\partial u}{\partial x}=-xu~\\ $ with the initial condition $~u(x,0)=f(x).$
a)Show that $Q=u+x^2/2$ is conserved along characetristics of this equation.
b)Use the method of characteristics to find an implicit (i.e., parametric) solution for u assuming $f(x)>0.$
c) Derive an explicit solution for the special case of $f(x)=-x^2/2$.Show that characteristics starting at $x(0)=\xi<0$ exhibit blow up in finite time. Does this imply blow up in finite time for $u(x,t)$ at a fixed location x? why or why not?
I dont know how to show part (a). for part (b), I solved this way:
$\begin{align} dx/dt&=u => x=ut+\xi\\ du/dt&=-xu =-(ut+\xi)u \end{align}$
I am little stuck here. Please help me..