The equation as printed requires ; its sign does not affect the result. Seek separated solutions . Substitution into the wave equation gives
The Neumann boundary conditions impose . Multiplying the spatial equation by and integration by parts gives , so nontrivial spatial eigenfunctions require .
For , is constant and . For , . The first boundary condition gives , and the second gives . Thus is a positive integer and the spatial eigenfunctions are . Their time dependence is . By superposition,
The zero initial velocity sets . The trigonometric identity gives the initial profile , so only the constant mode and the first cosine mode occur. Hence
Its spatial derivative is , which vanishes at both boundaries, and its time derivative vanishes initially. Thus it satisfies all the required data.

Articles by others on the same topic (0)

There are currently no matching articles.