Consider the wave equation
$$u_{tt}=u_{xx}$$ with boundary conditions $$u\left(x,t\right)=X\left(x\right)T\left(t\right)$$ $$u\left(\pm a,t\right)=0$$ $$u\left(x,0\right)=\max\left(0,1-\left(x/b\right)^2\right)$$ $$u_t\left(x,0\right)=0$$ $$-a\le x\le a$$ Let $$u\left(x,t\right)=X\left(x\right)T\left(t\right)$$ $$\frac{X^{\prime\prime}}{X}={\frac{T}{T}}^{\prime\prime}=-\lambda$$ $$X(x)=A\cos\sqrt\lambda x+B\sin\sqrt\lambda x$$ $$X\left(-a\right)=A\cos\sqrt\lambda (-a)+B\sin\sqrt\lambda(-a)=0$$ $$\Longrightarrow\sqrt\lambda\left(-a\right)=n\pi$$ with $$A=0$$
Or $$\sqrt\lambda\left(-a\right)=\frac{n\pi}{2}$$ with $$B=0$$ Which seems slightly ambiguous. Just wondering whether there is a clue I am not seeing which would allow us to conclude that $$X(0) = 0$$ which would confirm that $$\sqrt\lambda\left(-a\right)=n\pi$$ with $$A\ =0.$$
Thank you in advance for your time.