The task is as follows:
You are given the Cauchy problem for $v(x, t)$: $$ v_t(x, t) − xv_x(x, t) = 1 − v(x, t),\qquad −∞ < x < ∞,\; t > 0, $$ $$ v(x, 0) = \sin x, \qquad −∞ < x < ∞. $$ (a) Determine the solution $v(x, t)$.
I parametrized with $t(s,0) = 0$, $x(s,0) = s$, and $v(s,0) = \sin(s)$. Basically I end up with
$v(s,τ) = [τ+\sin(s)]/(1+τ)$
$t(s,τ) = τ$, and $x(s,t) = s/(1+τ)$
I need $v$ in terms of the original $x$ and $t$, but can't figure out how to sub them back in. Could I have parametrized $v(s,0)$ differently perhaps?
Let us apply the method of characteristics to the Cauchy problem of the present PDE $v_t-xv_x=1-v$.
Combining everything, we find $$ v(x,t) = 1 + (\sin (xe^t) -1)\, e^{-t} . $$