Question: What form must $g(x)$ have in order that the following problem have a solution? $u_x+3u_y-u=1,u(x,3x)=g(x)$. If $g(x)$ has the required form, will there be more than one solution?
My attempt:
$u_x+3u_y-u=1$
First we need the slope and the characteristic lines.
The characteristic line is in the form of $bx-ay =d$ for the equation $au_x+bu_y+cu=f(x,y)$
Since $ b = 3$ and $ a = 1$, our slope is $\frac{3}{1} \rightarrow 3$
Our characteristic lines are
$3x-y = w$ and $y = z$
and using the change of variables, we have
$ x = \frac{1}{3}w+\frac{1}{3}z$ and $ z =y$
Using the chain rule, we have
$V_wW_x+V_zZ_x + 3(V_wW_y+V_zZ_y ) - v= 1$
and taking the partial derivatives, we have
$ W_x = 3, W_y = -1, Z_x = 0$ and $Z_y =1$
Our equation becomes
$V_z - v= 1$
$\frac{dv}{dz}-v=1$
$l(z) = e^{-\frac{1}{3}z}$
so multiplying the integrating factor we have
$e^{-\frac{1}{3}z}V_z - e^{-\frac{1}{3}z}v= e^{-\frac{1}{3}z}$
Taking the reverse product rule, we have
$v(e^{\frac{-1}{3}z})= \int \frac{1}{3}e^{\frac{-1}{3}z} $
Integrating with respect to z, we have
$v(e^{\frac{-1}{3}z})= -e^{\frac{-1}{3}z} +C(w)$
Dividing $(e^{\frac{-1}{3}z})$, we have
$v= -1 +C(w)e^{\frac{1}{3}z}$
Since $ z = y$
$v= -1 +C(w)e^{\frac{1}{3}y}$
and $y = 3x$
$v= -1 +C(w)e^{\frac{1}{3}3x}$
$v= -1 +C(w)e^{x}$
So I am stuck at the $w$ part. The only thing that I can think of is to substitute $ w =3x-y$ and I am not sure what to do. The answer to do is $ g(x) = -1+2e^x$ and I almost have it except I don't know where the 2 comes from.
$v= -1 +C(3x-y)e^{x}$
and from the condition $u(x,3x) = g(x)$
$ v = -1+C(3x-3x)e^{x}$
$v= =1+C(0)e^{x}$
what the!!
Edit: I was stressing out for no reason. It turns out that as long as $C(0) =k$ or we are in $C^1$ the solution of $g(x)$ has to be $ 1 +ke^x$. Now I feel like a dummy.
$$ ... $$if you are going to put your equation on separate line anyway. – Sep 14 '14 at 03:23