I don’t really have a background in differential equations and am studying functional analysis right now. In the textbook we follow I came across this second order partial differential equation. I have no idea how to tackle it.
$$\frac{\partial^2y}{\partial t^2}=a^2\frac{\partial^2y}{\partial x^2}$$ With boundary condition: $y(t,0)=y(t,1)=0$. And initial condition: $\frac{\partial y}{\partial t}(0,x)=0$. Can someone explain me how to tackle such a problem. I don’t really want a full solution just a push or two in the right direction.
The equation can be rearranged as the following (because partial derivatives commute):
(∂/∂t - a∂/∂x)(∂/∂t + a∂/∂x)y = 0
we know that f(x+at) is nulled by (∂/∂t - a∂/∂x) and g(x-at) is nulled by (∂/∂t + a∂/∂x)y
Therefore (because the operators commute because partial derivatives commute), the general form of the solution is :
y(x,t) = f(x+at) + g(x-at)
Now you can find substitute in your initial conditions to find the answer. I'll leave that to you, unless you want more help
Edit: in case you don't know how to do this, I'll briefly explain how to solve by method of characteristics.
Take the equation:
∂y/∂t + a∂y/∂x =0 (*)
We want to find a path x(t) such that y does not vary along this path. In other words, y(x(t),t)=constant
By the multivariate chain rule,
dy/dt = (∂y/∂t)(dt/dt) + (∂y/∂x)(dx/dt)
Thus dy/dt = (∂y/∂t) + (∂y/∂x)(dx/dt)
we can rearrange (*) to get: ∂y/∂t = -a∂y/∂x
Thus dy/dt = -a(∂y/∂x) + (∂y/∂x)(dx/dt)
Since y is constant on this path, we have dy/dt =0
Thus 0= (∂y/∂x) (dx/dt -a)
Thus if x = at +B where B is some other constant, then this equality is satisfied. Thus y doesn't change along the path: x= at + B
Thus y(x,t) = y(x-at,0)
Thus the general solution is y(x,t) = f(x-at) for some function f