## D'Alembert's solution

Why is it that in the D'Alembert's solution of the Cauchy problem for one dimensional wave equation, f(x) has to be twice continuously differentiable and g(x) has to be continuously differentiable ?