GATE 2022 IN – Question 13
A periodic function of period 2 is $f(x)=\begin{cases}-1-x,&-1\le x<0\\1-x,&0<x\le1\end{cases}$. Its Fourier series contains ______.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) Only $\sin(n\pi x)$, $n=1,2,3,\ldots$
Explanation
For positive x, f(x)=1−x, while f(−x)=−1+x=−f(x). The function is odd over its symmetric period. Consequently its constant and cosine coefficients vanish, leaving **sine terms only, B**.