I have a pde: $y_{xx}-y_{tt}=4$. By using the substitution $v=x-t, u=x+t$ I have boiled it down to $y(x,t)=a(x+t)+b(x-t)+x^2-t^2$ however I have initial conditions $y_t(x,0)=0$ and $y(x,0)=sin(x)$.
I just can't make them fit together! I have tried combinations of squaring $x+t$ and $x-t$ with various sines and cosines all over the place but I just can't see it. If I could have some help that would be great and also the thought process would be good too.
The solution I got with general functions may very well be wrong, I expanded out partial derivatives wrt u and v then put it all together.