Plug into the original DE and seperate variables, set equal to a constant . The two ODEs are
The solutions are
To eliminate infinite discontinuities as , set . For mathematical ease, set
Evaluate this function at the boundary conditions.
The Fourier coefficients are
Summing only the odd indices gives the final solution: