$$ \frac{\partial u }{\partial t} + u^2 \frac{\partial u}{\partial x}=0 $$ $$ 0 < x < \infty , t>0$$ initial value $u(x,0) = \sqrt{x}, 0< x < \infty$
I've tried to solve this problem but get stuck
this is what I've done so far:
characteristic equations $$\frac{dx}{dt} =u^2$$ $$\frac{du}{dt} = 0$$
since $\frac{du}{dt} = 0$ then $u = A $ , with A is constant from the initial value $$u(x(0),0)=\sqrt{x_0} = B $$ so $u=\sqrt{x_0}$
$\frac{dx}{dt}=u^2 = \left( \sqrt{x_0} \right) ^2 = x_0^2$ then $x = x_0^2 t + x_0$
and what should I do next to find $u(x,t)$ ?