Derivation (first-order wave equation)

We use the method of characteristics by parametrising $x(t)$. Treating $\psi\big(x(t), t\big)$, $$\begin{align*} \dfd\psi t &= \pdfd\psi t + \pdfd\psi x\dfd xt &&\text{chain rule}\\ &= \pdfd\psi x\Big(c + \dfd xt\Big) + f(t) &&\text{PDE}. \end{align*}$$ By setting $$ c + \dfd xt = 0 \implies x=x_0 - ct, $$ which is called the characteristics of the PDE, we simplify the equation into $$ \dfd\psi t = f(t) \quad\text{along characteristics}. $$