I am trying to solve the characteristic equations of $u_t + u^2u_x = 0$ without initial conditions in order to show graphically how profiles get smoothed or develop a shock depending on initial data.
I have that the characteristic equations are $\frac{dt}{ds}=1$, $\frac{dx}{ds} = u^2$ and $\frac{dz}{ds} = 0$.
Then that $t=s+c_1$, where $c_1$ is a constant, $u =\frac{-1}{s+c_2}$
Is this right and what do I need to do next in order to get a general solution?
Any help much appreciated, thanks.