Step 1: Characteristics.
For \(u_t+u_x=0\), the characteristic ODEs are
\[
\frac{dx}{dt}=1, \frac{du}{dt}=0.
\]
Hence \(x-t=\text{const}\) and \(u\) is constant along each line \(x-t=c\).
\(\Rightarrow\) The general solution is \(u(x,t)=f(x-t)\) for some profile \(f\).
Step 2: Fit the initial data.
At \(t=0\), \(u(x,0)=f(x)=e^{-x^2}\).
Therefore \(u(x,t)=e^{-(x-t)^2}\).
Step 3: Evaluate at \(t=1\).
\[
u(x,1)=e^{-(x-1)^2}.
\]
(Check) \(u_t=2(x-t)e^{-(x-t)^2}(-1)= -2(x-t)e^{-(x-t)^2}\),
\(u_x=2(x-t)e^{-(x-t)^2}\). Hence \(u_t+u_x=0\) as required.
Final Answer:
\[
\boxed{u(x,1)=e^{-(x-1)^2}}
\]
Consider the ordinary differential equation:
The partial differential equation \[ \frac{\partial^2 u}{\partial x^2} + 4 \frac{\partial^2 u}{\partial x \partial y} + 2 \frac{\partial^2 u}{\partial y^2} = 0 \] is ________.