Skip to content
GATEiit

GATE AE, ME, CE, EE, XE + 5 more · Complex Analysis and Fourier Series

Fourier Series

Fourier series of periodic functions on [-L, L] and [0, 2π]: Euler coefficient formulas, even/odd parity and half-range expansions, Dirichlet jump convergence and Parseval's identity.

Before you start

This topic comes before: Fourier series representation of continuous and discrete time periodic signals, Separation of Variables (Wave, Heat and Laplace Equations) and BVPs

Concept notes

1. Trigonometric orthogonality and Euler formulas on [-L, L]

Any well-behaved function f(x) of period 2L expands as a Fourier series: f(x)=a02+∑n=1∞[ancos⁡ ⁣(nπxL)+bnsin⁡ ⁣(nπxL)].

Using orthogonality on [−L,L], Euler's formulas give: a0=1L∫−LLf(x) dx,an=1L∫−LLf(x)cos⁡ ⁣(nπxL)dx,bn=1L∫−LLf(x)sin⁡ ⁣(nπxL)dx. Notice the DC constant term is a02= average value of f(x) over one period. On [−π,π] (or [0,2π]), set L=π.

Odd square wave f(x) vs 3-term Fourier sum (Dirichlet midpoint at jumps)−ππ½[f(0⁻)+f(0⁺)] = 0Odd f ⇒ aₙ = 0, only sine terms
Truncated odd square-wave Fourier sum: at every jump discontinuity (x = 0), the series converges to the midpoint average ½[f(0⁻) + f(0⁺)].

2. Even, odd and half-range cosine/sine expansions

Checking symmetry on [−L,L] saves half the integrals:

  • f is EVEN (f(−x)=f(x)): every bn=0 (cosine series only); an=2L∫0Lf(x)cos⁡nπxL dx.
  • f is ODD (f(−x)=−f(x)): a0=0 and every an=0 (sine series only); bn=2L∫0Lf(x)sin⁡nπxL dx.

Half-range expansions on [0,L]: given f only on (0,L) (like initial PDE profiles), extend even for a pure half-range cosine series (bn=0), or extend odd for a pure half-range sine series (a0=an=0).

3. Dirichlet conditions, jump convergence and Parseval's identity

Under Dirichlet conditions (piecewise smooth with finitely many jumps per period), the Fourier series converges to:

  • f(x) at every point of continuity, and
  • the average of left and right limits 12[f(x−)+f(x+)] at every jump discontinuity (and at interval endpoints ±L, averaging f((−L)+) and f(L−)).

Parseval's identity relates mean-square energy in x directly to Fourier coefficients: 1L∫−LL[f(x)]2 dx=a022+∑n=1∞(an2+bn2), which GATE often uses to sum infinite series such as ∑1n2=π26 or ∑1n4=π490.

Formulas to remember

Fourier series (period 2L)
f(x)=a02+∑n=1∞(ancos⁡nπxL+bnsin⁡nπxL)
Euler cosine & sine coefficients
an=1L∫−LLf(x)cos⁡nπxL dx,bn=1L∫−LLf(x)sin⁡nπxL dx
DC / constant termMean value over one period
a02=12L∫−LLf(x) dx
Even & odd shortcuts
Even f  ⟹  bn=0;Odd f  ⟹  a0=an=0
Convergence at jump
S(x0)=f(x0−)+f(x0+)2
Parseval's identity
1L∫−LL[f(x)]2 dx=a022+∑n=1∞(an2+bn2)

Common mistakes

  • Using a024 instead of a022 inside Parseval's identity when f(x)=a02+∑(… ) (note: 1L∫−LL(a0/2)2dx=2LLa024=a022).
  • Writing f(x)=a0+… while taking a0=1L∫−LLf dx without dividing by 2, always verify the constant term against the period mean.
  • Remembering an,bn formulas only on [−π,π] and forgetting to scale 1L and nπxL on general [−L,L].
  • Evaluating at endpoints x=±L using only f(L−) instead of averaging f(L−) with f(−L+).
  • Integrating (x)cos⁡(nx) or (x)sin⁡(nx) when f already is a finite trig polynomial, rewrite sin⁡2x or cos⁡3x algebraically first.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Fourier series of |x| on [-π, π] and summing ∑ 1/(2k-1)²

numerical

Expand f(x)=∣x∣ on [−π,π] as a Fourier series, and deduce ∑k=1∞1(2k−1)2.

  1. Step 1: Use even symmetry to set bₙ = 0 and find a₀, aₙ.

    Try it on paper first.

Example 2: Fourier series value at a jump discontinuity

numerical

A 2π-periodic function satisfies f(x)=−2 on (−π,0) and f(x)=3x+4 on (0,π). To what values does its Fourier series converge at x=0 and x=π?

  1. Step 1: Average left and right limits at x = 0.

    Try it on paper first.

Example 3: Half-range sine expansion of a constant

numerical

Find the half-range Fourier sine series of f(x)=1 on 0<x<L.

  1. Step 1: Use odd extension so a₀ = aₙ = 0.

    Try it on paper first.

Example 4: Parseval's theorem for ∑ 1/n⁴

numerical

Given x2=π23+4∑n=1∞(−1)nn2cos⁡(nx) on [−π,π], apply Parseval's identity to evaluate ∑n=1∞1n4.

  1. Step 1: Match a₀ = 2π²/3, aₙ = 4(−1)ⁿ/n², bₙ = 0.

    Try it on paper first.

Previous year questions

No official PYQ in our currently live papers is tagged with this exact topic yet. The topic test below uses original GATE-style questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE Engineering Mathematics (AE, ME, CE, EE, XE + 5 more) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.