The function is odd, so only sine terms appear and the mean is zero. Then $b_n = \frac{2}{\pi}\int_0^{\pi} \sin nx\,dx = \frac{2}{n\pi}(1 - \cos n\pi)$, which is $\frac{4}{n\pi}$ for odd $n$ and 0 for even $n$. So $f(x) = \frac{4}{\pi}\left[\sin x + \frac{\sin 3x}{3} + \frac{\sin 5x}{5} + \cdots\right]$.
More PDE: Fourier series, separation of variables, diffusion, wave and Laplace equations questions
GATE 2026 CE (CE2) Q30– A partial differential equation is given below. 2 u x2 - 2 u y2 = 0 Possible solution(s)…
GATE 2025 CE (CE1) Q13– Which one of the following options is the correct Fourier series of the periodic function…
GATE 2025 CE (CE1) Q28– Which of the following equations belong/belongs to the class of second-order, linear,…
GATE 2024 CE (CE1) Q12– The second-order differential equation in an unknown function u: u(x, y) is defined as 2u…
GATE 2024 CE (CE1) Q28– For the following partial differential equation, x2f x2 + y2f y2 = x2 + y22, which of the…
GATE 2024 CE (CE2) Q11– A partial differential equation 2T x2 + 2T y2 = 0 is defined for the two-dimensional field…