I want to use d'Alembert's solution of the wave equation to find the solution of $$\frac{\partial ^2 u}{\partial x^2} = \frac{\partial ^2 u}{\partial t^2} \qquad (0\leq t, 0\leq x)$$
$$\frac{\partial u}{\partial t}(0,t) = \alpha\frac{\partial u}{\partial x}(0,t) \qquad (0 \leq t)$$
$$ u(x,0) = \phi_0(x) $$ $$ \frac{\partial u}{\partial t}(x,0) = \phi_1(x) $$
for all $\alpha \neq -1$. I've been substituting $u(x,t) = f(x-t) + g(x+t)$ in an attempt to solve for $f$ and $g$ in terms of the initial conditions, but this doesn't seem to be going anywhere. What would be a good way to approach this problem? For example, would it make any sense to allow $f(-x)= -f(x)$, and $g(-x)= -g(x)$?