Top Banner Ad

AAS203C — Unit 3: Fourier Series& Fourier Transform

Table of Contents (16 sections)

AAS203C · Calculus, Laplace Transform and Numerical Techniques · Unit 3

Fourier Series& Fourier Transform

Unit Scope & Exam Weightage: This unit represents periodic signals as sums of sines and cosines and extends the idea to non-periodic signals through the Fourier integral theorem and Fourier transform. Applications named in the syllabus are computer graphics, cyber security, digital image processing, machine-learning feature extraction and image compression. The attached PYQs contain 4 clusters: three 7-mark problems and one 2-mark constant-term question.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 Fourier series expansion of a function in the interval c to c+2l 1 (2024-25) 7m Survival Mode
2 Half Range Series: Half range sine and cosine series in the interval -l to l 1 (2023-24) 7m High-Yield
3 Fourier Integral theorem 1 (2024-25, contour-integral outlier) 7m Mixed Question
4 Periodic function integrated in #1 — Foundation
5 even and odd function integrated in #1, #2 — Step Saver
6 Dirichlet’s Condition for the Existence of a Fourier Series 0 direct — Theory
7 Change of Interval integrated in #2 — Core Tool
8 Parseval’s Identity used implicitly in ∑1/n2\sum1/n^2 — Power Tool
9 Fourier transform 0 direct — ECE Core
10 Inverse Fourier Transform 0 direct — ECE Core
11 Finite Fourier Sine and Cosine transform 0 direct — ECE Tool
12 Applications : Computer Graphics 0 direct — ECE Context
13 Cyber Security 0 direct — ECE Context
14 Digital Image Processing 0 direct — ECE Context
15 Machine Learning Feature Extraction 0 direct — ECE Context
16 Image compression 0 direct — ECE Context

2-Hour Last-Night Survival Checklist:

  1. On (−l,l)(-l,l): f=a02+∑(ancos⁡nπxl+bnsin⁡nπxl)f=\frac{a_0}2+\sum\bigl(a_n\cos\frac{n\pi x}l+b_n\sin\frac{n\pi x}l\bigr), with an=1l∫−llfcos⁡nπxl dxa_n=\frac1l\int_{-l}^lf\cos\frac{n\pi x}l\,dx, bn=1l∫−llfsin⁡nπxl dxb_n=\frac1l\int_{-l}^lf\sin\frac{n\pi x}l\,dx.
  2. Even function ⇒ bn=0b_n=0; odd function ⇒ a0=an=0a_0=a_n=0. Use symmetry before integrating.
  3. Half-range sine series on (0,L)(0,L): bn=2L∫0Lf(x)sin⁡nπxL dxb_n=\frac2L\int_0^Lf(x)\sin\frac{n\pi x}L\,dx; cosine series uses cos⁡nπxL\cos\frac{n\pi x}L.
  4. Constant term on (−l,l)(-l,l) is a02=12l∫−llf(x)dx\frac{a_0}2=\frac1{2l}\int_{-l}^lf(x)dx; odd parts contribute zero.
  5. Transform pair: F(ω)=∫−∞∞f(t)e−iωtdtF(\omega)=\int_{-\infty}^{\infty}f(t)e^{-i\omega t}dt, f(t)=12π∫F(ω)eiωtdωf(t)=\frac1{2\pi}\int F(\omega)e^{i\omega t}d\omega; DCT compresses images by keeping low-frequency coefficients.

1. Periodic Functions, Symmetry and Dirichlet’s Conditions

A function is periodic with period TT if f(t+T)=f(t)f(t+T)=f(t) for all tt. It is even if f(−x)=f(x)f(-x)=f(x) and odd if f(−x)=−f(x)f(-x)=-f(x).

1.1 Dirichlet’s Condition for Existence

A Fourier series exists at a point xx if ff is bounded, has only finitely many discontinuities and extrema in one period, and the one-sided limits exist there. At a jump, the series converges to 12[f(x−)+f(x+)]\frac12[f(x^-)+f(x^+)].

1.2 Symmetry Shortcuts

Symmetry Coefficients
Even bn=0b_n=0; compute an=2l∫0lfcos⁡nπxl dxa_n=\frac2l\int_0^lf\cos\frac{n\pi x}l\,dx
Odd a0=an=0a_0=a_n=0; compute bn=2l∫0lfsin⁡nπxl dxb_n=\frac2l\int_0^lf\sin\frac{n\pi x}l\,dx
Neither compute all integrals over the full interval

Examiner Tip: State the parity of the function in the first line. It is a free step mark and halves the integration work in most PYQs.


2. Fourier Series on (c,c+2l)(c,c+2l) and Change of Interval

For a function defined on c<x<c+2lc<x<c+2l, put t=x−ct=x-c to shift to (0,2l)(0,2l) or use the direct form

f(x)=a02+∑n=1∞[ancos⁡nπ(x−c)l+bnsin⁡nπ(x−c)l],f(x)=\frac{a_0}{2}+\sum_{n=1}^{\infty}\left[a_n\cos\frac{n\pi(x-c)}{l}+b_n\sin\frac{n\pi(x-c)}{l}\right], an=1l∫cc+2lf(x)cos⁡nπ(x−c)l dx,bn=1l∫cc+2lf(x)sin⁡nπ(x−c)l dx.a_n=\frac1l\int_c^{c+2l}f(x)\cos\frac{n\pi(x-c)}l\,dx,\qquad b_n=\frac1l\int_c^{c+2l}f(x)\sin\frac{n\pi(x-c)}l\,dx.

On (−π,π)(-\pi,\pi), this reduces to f(x)=a02+∑(ancos⁡nx+bnsin⁡nx)f(x)=\frac{a_0}{2}+\sum(a_n\cos nx+b_n\sin nx) with an=1π∫−ππfcos⁡nx dxa_n=\frac1\pi\int_{-\pi}^{\pi}f\cos nx\,dx, etc.

2.1 Parseval’s Identity

For (−π,π)(-\pi,\pi),

1π∫−ππf2(x) dx=a022+∑n=1∞(an2+bn2).\frac1\pi\int_{-\pi}^{\pi}f^2(x)\,dx=\frac{a_0^2}{2}+\sum_{n=1}^{\infty}(a_n^2+b_n^2).

It converts a series question into an integral identity and is the reason ∑1/n2=π2/6\sum1/n^2=\pi^2/6 can be obtained from the Fourier series of x2x^2.

After-Topic PYQs:

  • 2024-25 (7m): "Obtain the Fourier series for the function f(x)=x2,−π≤x≤πf(x) = x^2, -\pi \le x \le \pi. Hence, or otherwise show that 112+122+132+142+...=∑n=1∞1n2=π26\frac{1}{1^2} + \frac{1}{2^2} + \frac{1}{3^2} + \frac{1}{4^2} + ... = \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}"
  • 2023-24 (2m): "Find the constant term if the function f(x)=x+x2f(x) = x+x^2 is expanded in Fourier series defined in (-1, 1)."

3. Half-Range Series and Change of Interval

On 0<x<L0<x<L, a function may be extended as even or odd to (−L,L)(-L,L):

Sine series: f(x)=∑n=1∞bnsin⁡nπxL,bn=2L∫0Lf(x)sin⁡nπxL dx,\text{Sine series: } f(x)=\sum_{n=1}^{\infty}b_n\sin\frac{n\pi x}{L},\qquad b_n=\frac2L\int_0^Lf(x)\sin\frac{n\pi x}{L}\,dx, Cosine series: f(x)=a02+∑n=1∞ancos⁡nπxL,an=2L∫0Lf(x)cos⁡nπxL dx.\text{Cosine series: } f(x)=\frac{a_0}{2}+\sum_{n=1}^{\infty}a_n\cos\frac{n\pi x}{L},\qquad a_n=\frac2L\int_0^Lf(x)\cos\frac{n\pi x}{L}\,dx.

These are the finite Fourier sine and cosine transforms in their series form. In digital image processing, a two-dimensional cosine series becomes the DCT used in JPEG compression; in machine learning, low-order coefficients act as compact feature vectors.

Examiner Tip: For a triangular pulse, exploit symmetry: if f(L−x)=f(x)f(L-x)=f(x), the half-range sine coefficients vanish for even nn. This saves a full integration.

After-Topic PYQ (2023-24, 7m): "Find the half range Fourier sine series f(x)f(x) defined over the range 0<x<40 < x < 4 as f(x)={x,0<x<24−x,2<x<4f(x) = \begin{cases} x, 0 < x < 2 \\ 4 - x, 2 < x < 4 \end{cases}"


4. Fourier Integral Theorem and Fourier Transform

Fourier integral theorem: if ff satisfies Dirichlet’s conditions and is absolutely integrable, then

f(x)=1π∫0∞ ⁣ ⁣∫−∞∞f(t)cos⁡α(t−x) dt dα.f(x)=\frac1\pi\int_0^\infty\!\!\int_{-\infty}^{\infty}f(t)\cos\alpha(t-x)\,dt\,d\alpha.

Writing the inner exponential form gives the Fourier transform pair

F(ω)=∫−∞∞f(t)e−iωtdt,f(t)=12π∫−∞∞F(ω)eiωtdω.F(\omega)=\int_{-\infty}^{\infty}f(t)e^{-i\omega t}dt,\qquad f(t)=\frac1{2\pi}\int_{-\infty}^{\infty}F(\omega)e^{i\omega t}d\omega.

4.1 Finite Fourier Sine and Cosine Transforms

Fs(n)=∫0Lf(x)sin⁡nπxLdx,Fc(n)=∫0Lf(x)cos⁡nπxLdx.F_s(n)=\int_0^Lf(x)\sin\frac{n\pi x}{L}dx,\qquad F_c(n)=\int_0^Lf(x)\cos\frac{n\pi x}{L}dx.

They invert to the half-range sine and cosine series of Section 3.

4.2 ECE Applications

  • Computer graphics: periodic textures and lighting patterns are synthesised from harmonic components.
  • Cyber security: spectral analysis detects anomalies in network traffic signals.
  • Digital image processing and compression: two-dimensional DCT keeps low-frequency image content and discards visually insignificant high-frequency coefficients.
  • Machine learning feature extraction: Fourier coefficients become translation-invariant features for classification.

Examiner Tip: A contour-integral question appearing in this unit is solved by the residue theorem; do not force a Fourier argument. Identify the integrand, locate poles inside the unit circle, and multiply the residue sum by 2πi2\pi i.

After-Topic PYQ (2024-25, 7m): *"Use contour integral to evaluate:

∫02πcos⁡2θdθ5+4cos⁡θ\int_0^{2\pi} \frac{\cos 2\theta d\theta}{5 + 4 \cos \theta}

"*


5. Solved Exam-Ready Questions

Solved Q1 (2024-25 — 7 Marks)

Q: Obtain the Fourier series for the function f(x)=x2,−π≤x≤πf(x) = x^2, -\pi \le x \le \pi. Hence, or otherwise show that 112+122+132+142+...=∑n=1∞1n2=π26\frac{1}{1^2} + \frac{1}{2^2} + \frac{1}{3^2} + \frac{1}{4^2} + ... = \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}

Solution:

  • x2x^2 is even, so bn=0b_n=0.
  • a0=1π∫−ππx2dx=2π23a_0=\frac1\pi\int_{-\pi}^{\pi}x^2dx=\frac{2\pi^2}{3}, hence a02=π23\frac{a_0}{2}=\frac{\pi^2}{3}.
  • an=2π∫0πx2cos⁡nx dxa_n=\frac2\pi\int_0^\pi x^2\cos nx\,dx. Using ∫x2cos⁡nx dx=x2sin⁡nxn+2xcos⁡nxn2−2sin⁡nxn3\int x^2\cos nx\,dx=\frac{x^2\sin nx}{n}+\frac{2x\cos nx}{n^2}-\frac{2\sin nx}{n^3}, we get ∫0πx2cos⁡nx dx=2π(−1)nn2\int_0^\pi x^2\cos nx\,dx=\frac{2\pi(-1)^n}{n^2}, so an=4(−1)nn2a_n=\frac{4(-1)^n}{n^2}.
  • Hence
x2=π23+4∑n=1∞(−1)nn2cos⁡nx.x^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac{(-1)^n}{n^2}\cos nx.
  • Put x=πx=\pi: cos⁡nπ=(−1)n\cos n\pi=(-1)^n, so (−1)ncos⁡nπ=1(-1)^n\cos n\pi=1.
π2=π23+4∑n=1∞1n2 ⇒ ∑1n2=π26.\pi^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac1{n^2}\ \Rightarrow\ \sum\frac1{n^2}=\frac{\pi^2}{6}.
  • Answer: x2=π23+4∑(−1)ncos⁡nxn2\boxed{x^2=\frac{\pi^2}{3}+4\sum\frac{(-1)^n\cos nx}{n^2}} and ∑1/n2=π2/6\boxed{\sum1/n^2=\pi^2/6}.

Solved Q2 (2023-24 — 7 Marks)

Q: Find the half range Fourier sine series f(x)f(x) defined over the range 0<x<40 < x < 4 as f(x)={x,0<x<24−x,2<x<4f(x) = \begin{cases} x, 0 < x < 2 \\ 4 - x, 2 < x < 4 \end{cases}

Solution:

  • L=4L=4, k=nπ4k=\frac{n\pi}{4},
bn=24[∫02xsin⁡kx dx+∫24(4−x)sin⁡kx dx].b_n=\frac{2}{4}\left[\int_0^2x\sin kx\,dx+\int_2^4(4-x)\sin kx\,dx\right].
  • First integral I1=−2cos⁡2kk+sin⁡2kk2I_1=-\frac{2\cos2k}{k}+\frac{\sin2k}{k^2}.
  • With u=4−xu=4-x, the second integral is (−1)n+1I1(-1)^{n+1}I_1, so bn=12[1+(−1)n+1]I1b_n=\frac12[1+(-1)^{n+1}]I_1.
  • Therefore bn=0b_n=0 for even nn. For odd nn, cos⁡2k=0\cos2k=0 and sin⁡2k=(−1)(n−1)/2\sin2k=(-1)^{(n-1)/2}, giving
bn=(−1)(n−1)/2(nπ/4)2=16(−1)(n−1)/2n2π2.b_n=\frac{(-1)^{(n-1)/2}}{(n\pi/4)^2}=\frac{16(-1)^{(n-1)/2}}{n^2\pi^2}.
  • Answer: f(x)=16π2∑m=0∞(−1)m(2m+1)2sin⁡(2m+1)πx4\boxed{f(x)=\frac{16}{\pi^2}\sum_{m=0}^{\infty}\frac{(-1)^m}{(2m+1)^2}\sin\frac{(2m+1)\pi x}{4}}.

Solved Q3 (2023-24 — 2 Marks)

Q: Find the constant term if the function f(x)=x+x2f(x) = x+x^2 is expanded in Fourier series defined in (-1, 1).

Solution: Here l=1l=1.

a02=12l∫−llf(x)dx=12∫−11(x+x2)dx=12(0+23)=13.\frac{a_0}{2}=\frac1{2l}\int_{-l}^{l}f(x)dx=\frac12\int_{-1}^{1}(x+x^2)dx=\frac12\left(0+\frac23\right)=\frac13.

Answer: 13\boxed{\frac13}.


Solved Q4 (2024-25 — 7 Marks)

Q: *Use contour integral to evaluate:

∫02πcos⁡2θdθ5+4cos⁡θ\int_0^{2\pi} \frac{\cos 2\theta d\theta}{5 + 4 \cos \theta}

Solution:

  • Put z=eiθz=e^{i\theta}. Then cos⁡θ=12(z+z−1)\cos\theta=\frac12(z+z^{-1}), cos⁡2θ=12(z2+z−2)\cos2\theta=\frac12(z^2+z^{-2}), dθ=dzizd\theta=\frac{dz}{iz}.
  • The integral becomes
∮∣z∣=1z4+12iz2(2z+1)(z+2) dz.\oint_{|z|=1}\frac{z^4+1}{2iz^2(2z+1)(z+2)}\,dz.
  • Inside poles: z=0z=0 of order 2 and z=−12z=-\frac12; z=−2z=-2 lies outside.
  • Res⁡(−1/2)=17/162i(1/4)⋅2⋅(3/2)=1724i=−17i24\operatorname{Res}(-1/2)=\frac{17/16}{2i(1/4)\cdot2\cdot(3/2)}=\frac{17}{24i}=-\frac{17i}{24}.
  • At z=0z=0, with h(z)=z4+12i(2z+1)(z+2)h(z)=\frac{z^4+1}{2i(2z+1)(z+2)}, h′(0)=h(0)(−2−12)=5i8h'(0)=h(0)(-2-\frac12)=\frac{5i}{8}.
  • Sum of residues =−17i24+5i8=−i12=-\frac{17i}{24}+\frac{5i}{8}=-\frac{i}{12}.
  • Integral =2πi(−i/12)=2\pi i(-i/12).
  • Answer: π6\boxed{\frac{\pi}{6}}.

6. Practice Questions (Self-Test)

  1. (2 Marks) State Dirichlet’s conditions for a Fourier series to exist.
  2. (2 Marks) Write the Fourier transform pair and state where the 1/(2π)1/(2\pi) factor appears.
  3. (7 Marks) Find the Fourier series of f(x)=xf(x)=x on (−π,π)(-\pi,\pi) and deduce ∑(−1)n+1/n=π/4\sum(-1)^{n+1}/n=\pi/4.
  4. (7 Marks) Find the half-range cosine series of f(x)=xf(x)=x on (0,2)(0,2).
  5. (7 Marks) State Parseval’s identity and verify it for f(x)=xf(x)=x on (−π,π)(-\pi,\pi).
  6. (7 Marks) Explain how a 2-D DCT achieves image compression by discarding high-frequency coefficients.
  7. (7 Marks) Use the Fourier integral theorem to write the transform of e−a∣t∣e^{-a|t|} and state its inverse.