I want to find the general solution to $3U_x-4U_y = x^2$ using the method of characteristics. I'm given the answer which is $U(x,y)=\frac{x^3}{9}+F(3y+4x)$ but I'm having trouble getting to this solution.
Here is my attempt so far: $$ x=x(t,s) $$ $$ y=y(t,s) $$ Using the chain rule:
$$ \frac{dU}{dt} = U_x\frac{d x}{d t}+U_y\frac{d y}{d t} $$
So $\frac{dU}{dt}=x^2$ if: $$ \frac{d x}{d t}=3\implies x(t,s)=3t+c_x(s) $$ and $$ \frac{d y}{d t}=-4\implies y(t,s)=-4t+c_y(s) $$
Now force $(x,y)$ to match $(t,s)$ at $x = t=0$: $$ x(t,s) \vert _{t=0}=0 \implies c_x(s)=0 $$ $$ y(t,s) \vert _{t=0}=s \implies c_y(s)=s $$ so $$ x(t,s)=3t\implies t=\frac{x}{3} $$ $$ y(t,s)=-4t+s\implies s=y+\frac{4x}{3} $$ Now $\frac{dU}{dt}=x^2=9t^2$ and solving for $U$ reveals: $$ U=3t^3+F(s) $$ Since $U(t,s) \vert _{t=0}=U(0,s)=F(s)$. Substitute for $t$ and $s$: $$ U(x,y)=\frac{x^3}{9}+F(y+\frac{4x}{3}) $$
This is close to the correct answer but the function $F(y+\frac{4x}{3})$ should be $F(3y+4x)$.
Thanks for any help you can give!
Edit: Fixed the solution a little but it still seems I'm missing a factor of 3 in the function $F$.
Can I simply multiply everything in the function $F$ by 3 without changing the solution, and if so, is it because this is just a general solution (no initial conditions provided) or is there another reason?