I'm stuck trying to solve $uu_x+u_y=-\frac{1}{2}u$ satisfying $u(x,2x)=x^2$, this solution also needs to be in some parametrised form with $x(r,s), y(r,s),u(r,s)$.
So far I have this:
$\dfrac{dx}{ds}=u \longrightarrow x(r,s)=us+x_0$
$\dfrac{dy}{ds}=1 \longrightarrow y(r,s)=s+y_0$
$\dfrac{du}{ds}=-\dfrac{1}{2}u \longrightarrow u(r,s)=u_0e^{-s/2}$
If we have that $y(0)=0$ we can see that $y=s$, so we can replace each instance of $s$ with $y$. I know I will end up with an implicit function, but I don't know how to apply the $u(x,2x)=x^2$ condition from here. I was thinking about directly plugging in $u(x,2x)=u_0e^{-x}=x^2\Rightarrow u_0=x^2e^x$ and then after letting $x(0)=r$ (the initial curve) and some substitutions end up with $u=(2uy-x)^2e^{-x}e^{-y/2}$ but I don't think that's correct.
I feel like there's a step missing before I start doing that. I have only just been introduced to PDEs, so all of this is new, any help is welcome and I appreciate your patience with me.
As an aside, I know there is another question that is asking the exact same thing that I am, but they introduce some $\Phi$ and $F$ notations which I have never seen before and leaves me more confused than I initially was.