Periodic function \(f(x)\) is given below:\[f(x) = \begin{cases} -1, & \text{when } -\pi < x < 0 \\ 1, & \text{when } 0 < x < \pi \end{cases}\]; \(f(x + 2\pi) = f(x)\)The CORRECT option representing the Fourier series expansion of \(f(x)\) is:
- A\(f(x) = \dfrac{4}{\pi}\left[\sin x + \dfrac{\sin 3x}{3} + \dfrac{\sin 5x}{5} + \cdots\right]\)
- B\(f(x) = -\dfrac{4}{\pi}\left[\sin x + \dfrac{\sin 3x}{3} + \dfrac{\sin 5x}{5} + \cdots\right]\)
- C\(f(x) = 1 + \dfrac{4}{\pi}\left[\sin x + \dfrac{\sin 3x}{3} + \dfrac{\sin 5x}{5} + \cdots\right]\)
- D\(f(x) = 1 - \dfrac{4}{\pi}\left[\sin x + \dfrac{\sin 3x}{3} + \dfrac{\sin 5x}{5} + \cdots\right]\)