Apply the above result to the initial boundary value problem \[ \begin {aligned} u_t-u_x&=0,\qquad t>0,\ x\in \mathbb {R},\\ u(0,x)&=g(x),\qquad x\in \mathbb {R}. \end {aligned} \] Solve this problem explicitly.
Also state a result about the initial value problem \[ \begin {aligned} u_t-u_x&=f(t,x),\qquad t>0,\ x\in \mathbb {R},\\ u(0,x)&=g(x),\qquad x\in \mathbb {R}. \end {aligned} \]