This is an assignment question which I've been working on to solve the inhomogeneous wave equation $u_{tt} - c^{2}u_{xx} = f(x,t)$.
I separated the equation out into a system of two equations: $u_{t} + cu_{x} = v$ and $v_{t} - cv_{x} = f(x,t)$.
It says to solve the first differential equation to find that $u(x, t) = \int\limits_{0}^{t} v(x-ct+cs,s) ds$.
My idea is to use the linearity of the differential equation $u_{t} - cu_{x}$ to get that the solution to the homogenous equation is $f(x-ct)$ and then guessing that another solution is $g(x+ct)$ and using this to derive the solution given but didn't have any luck.
What's the general process to solving these kind of differential equations? I'm mostly attempting random ideas to solve it.