I am trying to solve the following equation with initial condition: \begin{equation} u_t + uu_x = -cu, \end{equation} $$u(t=0) = v_0(x)$$
In addition to that, I know the solution of equation $u_t + uu_x = 0$, which is $v(x,t)$, with the same initial condition. So, by using method of charachteristics: $$u = dx/dt, \ \ \ cdt = -\frac{du}{u}$$ Integrating the second equation to get $$u = v_0(x)e^{-ct},$$ where I have used initial condition. After that I am kind of stuck, I think we can say that the general solutuion will be $$u = v(x,t)e^{-ct},$$ but why? Is it correct that first charachteristic equation will kind of give us as the solution some function $u = u(x,t)$, which we happened to know already, because it's the same charachteristic as for equation $u_t + uu_x = 0$, solution of which is $v(x,t)$, which we used to replace $v_0(x)$ in the equation above?