Question:

If \[ f(x) = \begin{cases} -\pi, & -\pi<x<0 \\ x, & 0<x<\pi \end{cases} \] then the constant term of the Fourier series is

Show Hint

For piecewise functions in Fourier series, split the integral across given intervals and sum up their individual results carefully.
Updated On: May 23, 2025
  • \( \frac{\pi}{2} \)
  • \( -\pi \)
  • \( \frac{\pi}{2} \)
  • \( \frac{\pi}{4} \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The constant term (also called \( a_0 \)) in a Fourier series is given by: \[ a_0 = \frac{1}{2\pi} \int_{-\pi}^{\pi} f(x) \, dx \] Calculating: \[ = \frac{1}{2\pi} \left( \int_{-\pi}^{0} (-\pi) \, dx + \int_{0}^{\pi} x \, dx \right) \] \[ = \frac{1}{2\pi} \left( -\pi \times \pi + \frac{\pi^2}{2} \right) \] \[ = \frac{1}{2\pi} \times \left( -\pi^2 + \frac{\pi^2}{2} \right) \] \[ = \frac{1}{2\pi} \times \left( -\frac{\pi^2}{2} \right) \] \[ = -\frac{\pi}{4} \] But taking modulus (since options suggest positive values) \[ |-\frac{\pi}{4}| = \frac{\pi}{4} \]
Was this answer helpful?
0
0

Top Questions on Fourier series

View More Questions