I was going through solving wave equations using fourier and I came across a note saying $A\sin\alpha x +B\cos \alpha x \neq 0$
I believe this applies to $\alpha ,A,B\neq 0$
I was solving $$ \frac{\partial^2 u}{\partial t^2}=\frac{\partial^2 u}{\partial x^2}$$
which was reduced to $$u(x,t)=(A\sin\alpha x +B\cos \alpha x).(C\sin\alpha t +D\cos \alpha t)$$
The boundary condition given as $u(x,0)=0 \implies 0=D(A\sin\alpha x +B\cos \alpha x)$
And here it said $D=0 \because A\sin\alpha x +B\cos \alpha x \neq 0$
How is this possible?
The next boundary considition states $$u(x,\pi)=0 \implies u(x,t)= \sum_{n=1}^\infty C\sin(nx)(A\sin nx +B\cos nx)$$
How did the $\Sigma$ come here?
All the boundary conditions are as follows:-
$$u(x,0)=0 \\ u(x,\pi )=0 \\ u(0,t)=sin t \\ u_x(0,t)=t^2$$
That is because $\alpha$,$A$ and $B$ are constants, and when since $x$ can be arbitrary, the expression $Acos(\alpha x)+B sin(\alpha x)$ can not be zero for all $x$.