I have this initial value problem:
$u_t + xu_x = -u^2$, with $u(x,0)=1$.
So from this we have
$ \dfrac{dt}{1} = \dfrac{dx}{u} = \dfrac{du}{u^2}$
so $\dfrac{du}{dt} = -u^2 \implies u=\dfrac{1}{t+w}$
and $\dfrac{dx}{dt} = u \implies x=tu+z \implies z=x-tu$
where $w$,$z$ are constants. My problem is that I'm not too sure how to illustrate $u(x,t)$ as , since this is implicit.