everyone!! Could you please help me with a question?
Using separation of variables one can derive the general solution of the wave equation as can be seen in the following picture:
There is a solution to the following problem, which I do not fully understand. It is probably some basic maths that I have overlooked but I still cannot figure it out.
In the general solution one can see that the coefficients $b_n$ and $c_n$ are computed using the two integrals in which the initial conditions $f(x)$ and $g(x)$ are multiplied with $sin(\frac{n\pi}{L}x)$. In the solution, one simply reads off the coefficients of the sine series in the initial conditions without multiplying it with the $sin(n\pi x/L)$ and integrating. My question is why one may simply take the coefficients from the IC? Also, I do not understand why the last term in the solution is $sin(3x)$ instead of $sin(\frac{3x}{2})$ because L = 2*pi.