Question I am working on:
Use the method of characteristics to find a solution for the generalized transport equation for $u(t,x)$ given by $$u_t+x^2u_x=0$$ for $x > 0$ and $t > 0$, with initial condition $u(0,x) = \cos(x)$ and subject to $u(t,0) = 1$. Describe the asymptotic behavior of the solution for t →∞. Does the problem have a solution for all x∈R?
I am having difficulty because from what I was familiar with in class my solution should be $\cos(x-x^2t)$ because $u_x$ is being multiplied by $x^2$, but taking the partial derivative with respect to $x$ and $t$ shows this isn't a solution. Any help would be greatly appreciated.