I need to find a solution to the I.V.P:
$$ u_y + uu_x = -au, a > 0 \\ u(x,0) = f(x), x \in \Bbb{R} $$
After that i need to find conditions in which $f(x)$ is singular, for :
$$ f(x) = \left\{\begin{matrix} 1 & x<0\\ 1-x & 0<x<1\\ 0 & x>1 \end{matrix}\right. $$
——-
I used the mehod of characteristics to solve this PDE, getting: $$ u = e^{-at}f(s) \\ y = t \\ x = -\frac{e^{-at}}{a}f(s) + s + \frac{f(s)}{a} $$
Now, i try to isolate $s$ from $x$ equation in order to substitute it in $f(s)$, yet i dont succeed, it stays dependent on $f(s)$..
$$ s = x + \frac{e^{-at}}{a}f(s) - \frac{f(s)}{a} $$
If i can’t substitute $s$, how can i proceed? Maybe i did something wrong?
Thank you.