Partial differential equation
PDEs have multiple independent variables.
Consider the equation $$ \pdfd\psi t - c\pdfd\psi x = f(t). $$ By setting $x = x_0 - ct$ (characteristic), and considering $\psi(x(t), t)$, the equation becomes $$ \dfd\psi t = f(t). $$ (Derivation)
Integrating gives $$ \psi(x, t) = \int f(t)\, dt + g(x_0) = \int f(t)\,dt + g(x + ct) $$ where $g$ is the integration constant, which can be different for each characteristic.
Consider $$ \pdfd[2]\psi t - c^2\pdfd[2]\psi x = 0. $$
This has general solution $$ \psi(x,t) = f(x+ct) + g(x-ct). $$ (Derivation)