Integration by parts gives the Fourier sine series coefficients
Hence
The odd periodic extension is a sawtooth, equal to on and repeated every ; its jumps at odd multiples of have midpoint value zero in the Fourier series. In particular the sine series equals zero, rather than the specified endpoint value , at . The even periodic extension is the continuous triangular wave equal to on . Their sketches are below.
The Parseval identity for a Hilbertian basis for this sine expansion gives
Figure 1.
Odd sawtooth and even triangular periodic extensions on minus two pi to two pi
.
Use the drift-removing substitution for a Dirichlet Sturm-Liouville problem, . Direct differentiation gives . The homogeneous boundary conditions become , so the eigenvalues and eigenfunctions are
The self-adjoint weighted form is
Thus the weight and leading coefficient are both . The orthogonality of Sturm-Liouville eigenfunctions reads
After multiplying the forcing equation by , it becomes . Expanding in the sine series of part (i) and dividing by gives
Every term satisfies the endpoint conditions. As a check, solving the transformed ODE directly gives , which has the same coefficients and forcing.

Articles by others on the same topic (0)

There are currently no matching articles.