2

I'm trying to solve $u_t+uu_x=-cu$ with $u(x,0)=u_0(x)$

Using the method of characteristics we get $\frac{dt}{ds}=1$ or $t=s$ likewise, $\frac{dx}{ds}=u$ and $\frac{du}{ds}=-cu$. The last equations implies that $u=u_0(x)e^{ct}$ so the second implies
$\frac{dx}{ds}=u=u_0(x)e^{ct}$ How do I finish this off?

I stumbled across this link but I don't understand the accepted solution after the part where the person says let $x(0)=f(u_0)$ and everything after that.

From $u(x,0)=u_0(x)$ isn't $x(0)$ just $x$ or $s$ or am I doing something wrong?

Anyways how would I finish off the solution?

Arctic Char
  • 16,007
Jama
  • 541

1 Answers1

1

$$u_t+u\:u_x=-cu\tag 1$$ $$ds=\frac{dt}{1}=\frac{dx}{u}=\frac{du}{-c}$$ A first characteristic equation comes from solving $\frac{dt}{1}=\frac{du}{-c}$ : $$u\,e^{ct}=c_1$$ A second characteristic equation comes from $\frac{dx}{u}=\frac{du}{-c}$: $$u+c\,x=c_2$$ The general solution of the PDE expressed on the form of implicit equation $c_2=F(c_1)$ with arbitrary function $F$ is : $$\boxed{u+c\,x=F\left(u\,e^{ct}\right)}\tag 2$$ CONDITION :

$u(x,0)=u_0(x)$ with known (given) function $u_0(x)$ . $$u_0(x)+c\,x=F\left(u_0(x)\right)$$ Consider the inverse function of $X=u_0(x)$ say $x(X)=u_0^{(-1)}(X)$

The superscript $(-1)$ denotes the inverse function, not a power $-1$. Take care to not confuse. $$X+c\,u_0^{(-1)}(X)=F\left(X\right)$$ Since $u_0(x)$ is a known function we can consider that the inverse function $u_0^{(-1)}(X)$ is known in general. Thus the function $F(X)$ is known now : $$F\left(X\right)=X+c\,u_0^{(-1)}(X)$$

We put it into the above general solution $(2)$ where $X=u\,e^{ct}$ : $$\boxed{u+cx=u\,e^{ct}+c\,u_0^{(-1)}\left(u\,e^{ct}\right)}\tag 3$$ In this implicit equation, $u(x,t)$ is the particular solution of the PDE which agrees with the specified condition.

When it is possible, solving the implicit equation for $u$ would give the solution on explicit form. Of course this is not possible if $u_0(x)$ is not given explicitly. But even if $u_0(x)$ is explicitly given it is not always possible with standard functions. In those cases one consider the implicit solution $(3)$ as the final solution of the problem.

JJacquelin
  • 66,221
  • 3
  • 37
  • 87