Question:

A periodic function \( f(x) \), with period 2, is defined as \[ f(x) = \begin{cases} -1 - x & \text{for } -1 \leq x&t;0 \\ 1 - x & \text{for } 0 \leq x \leq 1 \end{cases} \] The Fourier series of this function contains _________

Show Hint

For odd periodic functions, the Fourier series contains only sine terms, while for even functions, it contains only cosine terms.
Updated On: Nov 25, 2025
  • Both cos (\( n \pi x \)) and sin (\( n \pi x \)) where \( n = 1, 2, 3, \dots \)
  • Only sin (\( n \pi x \)) where \( n = 1, 2, 3, \dots \)
  • Only cos (\( n \pi x \)) where \( n = 1, 2, 3, \dots \)
  • Only cos (\( 2n \pi x \)) where \( n = 1, 2, 3, \dots \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Fourier series for periodic functions.
The Fourier series for a periodic function consists of sine and cosine terms. Since the given function is odd (i.e., \( f(-x) = -f(x) \)), its Fourier series will only contain sine terms. Step 2: Analyzing the options.
- (A) Incorrect, since the function is odd, the Fourier series will not contain cosine terms.
- (B) Correct, since the function is odd, the Fourier series contains only sine terms.
- (C) Incorrect, cosine terms are excluded for odd functions.
- (D) Incorrect, this suggests a different form for cosine terms, but we need only sine terms for an odd function. Step 3: Conclusion.
Thus, the correct answer is (B) Only sin (\( n \pi x \)) where \( n = 1, 2, 3, \dots \).
Was this answer helpful?
0
0

Top Questions on Fourier Series

Questions Asked in GATE IN exam

View More Questions