I'm looking for the equations of the characteristics of the fan of the Burgers equation $$\frac{\partial u}{\partial t}+u\frac{\partial u}{\partial x}=0,\quad x\in\mathbb{R}, \ t>0$$ with initial condition $$ u(x,0) = \begin{cases} 1,\quad &x<0\\ -1,\quad &0<x<1\\ 0,\quad &x>1 \end{cases} $$
My solution

To find the equation in the green box would I be correct in saying that because $u$ is constant on the charachteristic curves $\frac{dx}{dt}=u$ i.e
$x=ut+1$ as $x(0)=1$, which implies
$u=\frac{x-1}{t}$?

