I think Mathematica does not know how to deal with these boundary conditions for second-order PDEs . How would you like the answer to come back? How is the general Fourier series?
This is mentioned in the Mathematica Cookbook (and possibly elsewhere) ...
By breaking down the problem for Mathematica (with a size factor of v->1 ), you will find
In[1]:= genSoln = DSolve[D[u[x, t], {x, 2}] == D[u[x, t], {t, 2}], u, {x, t}] // First Out[1]= {u -> Function[{x, t}, C[1][t - x] + C[2][t + x]]} In[2]:= Solve[u[0, t] == 0 /. genSoln] Out[2]= {{C[1][t] -> -C[2][t]}} In[3]:= u[l, 0] == 0 /. genSoln /. C[1][x_] :> -C[2][x] // Simplify Out[3]= C[2][-l] == C[2][l]
that the solution is written as f(tx)-f(t+x) , where f is periodic over [-l,l] ...
You can no longer do without making assumptions about the smoothness of the decision.
You can check if the standard Fourier series approach will work, for example
In[4]:= f[x_, t_] := Sin[n Pi (t + x)/l] - Sin[n Pi (t - x)/l] In[5]:= And[D[u[x, t], {x, 2}] == D[u[x, t], {t, 2}], u[0, t] == 0, u[l, 0] == 0] /. u -> f // Reduce[