Related Question:
I am doing a PDE problem from a course that I will take next semester. I watched this video in advance. It appears that I am doing something wrong with the initial data.
Consider the following first order PDE
\begin{cases} uu_x+yu_y=x, \\ u(x,1)=2x. \end{cases}
- State the condition which guarantees that the initial surface $\Gamma$ is not characteristic.
- Use the method of characteristics to find a solution of the PDE and discuss for which $(x,y)\in\mathbb R^2$ the solution exists.
For the second part, the general form of the method of characteristics is $au_x+bu_y=f$. Therefore, we have that
$$\frac{dx}{a}=\frac{dy}{b}=\frac{du}{f}$$ or $$\frac{dx}{u}=\frac{dy}{y}=\frac{du}{x}$$
In order to solve these equations, we need to find the value of two constants $C_1$ and $C_2$. First, let
$$\frac{dx}{u}=\frac{du}{x}$$
Then,
$$ \frac{du}{dx}=\frac{x}{u}~~\Rightarrow~~~ udu = xdx ~~\Rightarrow~~~ \frac{u^2}{2}=\frac{x^2}{2}+C ~~\Rightarrow~~~ C_1=x^2-u^2$$
Next, let
$$\frac{dx}{u}=\frac{dy}{y}$$
Then,
$$\frac{dy}{dx}=\frac{y}{u} ~~\Rightarrow~~~ \frac{1}{y}dy = \frac{1}{u}dx ~~\Rightarrow~~~ \ln(y)=\frac{x}{u}+C ~~\Rightarrow~~~ C_2=y+e^{\frac{x}{u}} $$
So, we have that $C_1=x^2-u^2$ and $C_2=y+e^{\frac{x}{u}}$. We can combine the two constants such that $C_2=F(C_1)$ where $F$ is an arbitrary differentiable function. Then,
$$y+e^{\frac{x}{u}}=F(x^2-u^2)$$
We now need to apply our initial data. We are given that $u(x,1)=2x$. Therefore,
$$1+e^{\frac{1}{2}}=F(-3x^2)$$
This doesn't appear to help us find the solution. If instead we set $C_1=F(C_2)$ then
$$x^2-u^2=F(y+e^{\frac{x}{u}})$$
Applying the initial data produces
$$-3x^2=F(1+e^{\frac{1}{2}})$$
That also appears to be incorrect. I must have made a mistake in applying the initial data. How can we apply the initial data to solve for $u$?