I've seen several problems with $u_x^2 + u_y^2$, such as here Characteristics method applied to the PDE $u_x^2 + u_y^2=u$.
But what about this equation: $$u_x + \frac{1}{2}u_y^2+\frac{1}{2}x^2=0$$ with initial conditions $u(0,y)=f(y)$.
I am told that that fully eliminating parameters is not possible with $f$ unspecified. Apparently the best you can do it is with two equations with one extra variable.
Anyone able to help me out?
Assume $p=\frac{\partial v}{\partial x}$, $q=\frac{\partial v}{\partial y}$, and applying the transformation $v=u+x^3/6$ as mentioned Gregory Sir, the above PDE reduce to $2p+q^2 =0$. Then by using Charpit auxiliary equation we get $p=a$ and $q=b$ where $a$ and $b$ are arbitrary constant satisfy the relation $2a+b^2=0$. Now using $dv=pdx+qdy$, we get $v=ax+by+c$ and so $u=-\frac {x^3} 6+ax+by+c$ is the general solution. Using the relation $2a+b^2 =0$ and given initial condition you got the particular solution.