GATE CE 2003 · Matrices & General Properties

MCQ · 1 mark · Problem EM-MTYP-0077

The Fourier series expansion of a symmetric and even function, f(x) where \[\begin{matrix} f(x) &=1+(2x/\pi), & \; -\pi \lt x \lt 0 \\ &=1-(2x/\pi), & \; 0 \lt x \lt \pi \end{matrix}\]will be
  1. A
    \(\sum_{n=1}^{\infty } \frac{4}{\pi ^{2}n^{2}}(1+cos n\pi )\)
  2. B
    \(\sum_{n=1}^{\infty } \frac{4}{\pi ^{2}n^{2}}(1-cos n\pi )\)
  3. C
    \(\sum_{n=1}^{\infty } \frac{4}{\pi ^{2}n^{2}}(1-sin n\pi )\)
  4. D
    \(\sum_{n=1}^{\infty } \frac{4}{\pi ^{2}n^{2}}(1+sin n\pi )\)

Solve it on GATE DA practice →More Matrix Types & Properties problems

Show the worked solutionSince given function is symmetric and even, its Fourier series contain only cosine terms.\[\begin{aligned} a_{0}&=\frac{2}{c}\int_{0}^{c}f\left ( x \right )dx\\ \text{and } a_{n}&=\frac{2}{c}\int_{0}^{c}f\left ( x \right )\cos \frac{n\pi x}{c}dx\\ &\text{Using above result and using,}\\ f\left ( x \right )&=1-\frac{2x}{\pi } \text{ we get}\\ a_{0}&=\frac{2}{\pi }\int_{0}^{\pi }\left ( 1-\frac{2x}{\pi } \right )dx \\ &=\frac{2}{\pi }\left ( x-\frac{x^{2}}{\pi } \right )_{0}^{\pi }=0 \\ \text{and } a_{n}&=\frac{2}{\pi }\int_{0}^{\pi }\left ( 1-\frac{2x}{\pi } \right )\cos nx\: dx \\ &=\frac{2}{\pi }\left [ \left ( 1-\frac{2x}{\pi } \right )\frac{\sin nx}{n}-\left ( -\frac{2}{\pi } \right )\left ( -\frac{\cos nx}{n^{2}} \right ) \right ]_{0}^{\pi } \\ &=\frac{2}{\pi }\left [ -\frac{2\cos n\pi }{\pi n^{2}}+\frac{2}{\pi n^{2}} \right ] \\ &=\frac{4}{n^{2}\pi ^{2}}\left [ 1-\cos n\pi \right ]\end{aligned}\]

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com