Fourier series and Fourier transforms — Unit 4 Notes (Engineering Mathematics II)

BAS201 · Unit 4

Fourier series and Fourier transforms notes — Unit 4

Free unit-wise study notes on fourier series and fourier transforms for Engineering Mathematics II, Semester 2 of B.Tech — Computer Science & Engineering — key concepts, examples, important questions and a revision checklist for semester exams.

Complete 20-page hand-written notes covering Fourier Series and Transforms. Master Dirichlet's conditions, Even/Odd function symmetry shortcuts, Half-range series, Parseval's identity, and Fourier Sine/Cosine Transforms.

Notebook — 20 pages

Page 1

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

1. Intro to Fourier Series

A Fourier Series is an expansion of a periodic function f(x)f(x) into an infinite sum of sines and cosines.

Unlike Taylor Series which expands functions into polynomials (and only works near a specific point), Fourier Series works for periodic functions over an entire interval, even if the function has discontinuities (breaks).

Next — Page 2 — Euler's Coefficients

1 of 20

Page 2

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

2. Euler's Coefficients

To find the Fourier series, we must calculate three constants: a0,ana_0, a_n, and bnb_n. These are called Euler's formulas:

  • a0=1πcc+2πf(x),dxa_0 = \frac{1}{\pi} \int_c^{c+2\pi} f(x) \\, dx
  • an=1πcc+2πf(x)cos(nx),dxa_n = \frac{1}{\pi} \int_c^{c+2\pi} f(x) \cos(nx) \\, dx
  • bn=1πcc+2πf(x)sin(nx),dxb_n = \frac{1}{\pi} \int_c^{c+2\pi} f(x) \sin(nx) \\, dx

If the interval is (0,2π)(0, 2\pi), the integration limits are 00 to 2π2\pi.
If the interval is
(π,π)(-\pi, \pi), the integration limits are π-\pi to π\pi.

Next — Page 3 — Dirichlet's Conditions

2 of 20

Page 3

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

3. Dirichlet's Conditions

Not every function can be expanded into a Fourier series. A function f(x)f(x) must satisfy Dirichlet's conditions in the interval (c,c+2π)(c, c+2\pi):

  • Single-Valued: f(x)f(x) must have only one value for any given xx.
  • Bounded: f(x)f(x) must be finite. It cannot go to infinity.
  • Piecewise Continuous: f(x)f(x) can have discontinuities, but only a finite number of them.
  • Finite Max/Min: f(x)f(x) can only have a finite number of maxima and minima.

If these conditions are met, the series converges to f(x)f(x) at all points of continuity.

Next — Page 4 — Discontinuous Points

3 of 20

Page 4

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

4. Points of Discontinuity

What happens if we evaluate the Fourier series exactly at a point where the function breaks (a discontinuity at x=ax=a)?

Dirichlet proved that at a point of discontinuity, the Fourier series converges to the average of the left-hand limit and right-hand limit.

f(a)=f(a)+f(a+)2f(a) = \frac{f(a^-) + f(a^+)}{2}

Exam Tip: If a problem asks you to deduce a series sum (like 113+15=π41 - \frac{1}{3} + \frac{1}{5} = \frac{\pi}{4}) after finding the Fourier series, you just plug in a specific value of xx. If that xx is at a break, use the average formula.

Next — Page 5 — Even and Odd Functions

4 of 20

Page 5

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

5. Even and Odd Functions

Using symmetry can cut your integration work in half. This ONLY applies when the interval is symmetric around zero: (π,π)(-\pi, \pi) or (L,L)(-L, L).

Even Function: f(x)=f(x)f(-x) = f(x)

(Example: cosx,x2,x\cos x, x^2, |x|). The graph is symmetric about the y-axis.

Odd Function: f(x)=f(x)f(-x) = -f(x)

(Example: sinx,x3,x\sin x, x^3, x). The graph is symmetric about the origin.

Next — Page 6 — Symmetry Shortcuts

5 of 20

Page 6

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

6. Symmetry Shortcuts

If the interval is (π,π)(-\pi, \pi):

If f(x)f(x) is EVEN:

  • bn=0b_n = 0 (No sine terms!)
  • a0=2π0πf(x),dxa_0 = \frac{2}{\pi} \int_0^{\pi} f(x) \\, dx
  • an=2π0πf(x)cos(nx),dxa_n = \frac{2}{\pi} \int_0^{\pi} f(x) \cos(nx) \\, dx

If f(x)f(x) is ODD:

  • a0=0a_0 = 0 and an=0a_n = 0 (No cosine terms!)
  • bn=2π0πf(x)sin(nx),dxb_n = \frac{2}{\pi} \int_0^{\pi} f(x) \sin(nx) \\, dx

Next — Page 7 — Useful Integration Tricks

6 of 20

Page 7

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

7. Useful Integration Tricks

You will repeatedly evaluate sine and cosine terms at integer multiples of π\pi. Memorize these:

  • sin(nπ)=0\sin(n\pi) = 0
  • cos(nπ)=(1)n\cos(n\pi) = (-1)^n (Alternates: -1 for n=1, 1 for n=2)
  • sin(2nπ)=0\sin(2n\pi) = 0
  • cos(2nπ)=1\cos(2n\pi) = 1
  • sin(0)=0,cos(0)=1\sin(0) = 0, \cos(0) = 1

Next — Page 8 — Half Range Series

7 of 20

Page 8

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

8. Half Range Series

Sometimes you are given a function only in the half interval (0,π)(0, \pi) or (0,L)(0, L) and asked to expand it.

You can intentionally extend the function to (π,π)(-\pi, \pi) in two ways:

  • Half Range Cosine Series: Extend it as an EVEN function. As a result, bn=0b_n=0. You only calculate a0a_0 and ana_n.
  • Half Range Sine Series: Extend it as an ODD function. As a result, a0=0a_0=0 and an=0a_n=0. You only calculate bnb_n.

Next — Page 9 — Arbitrary Period (2L)

8 of 20

Page 9

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

9. Arbitrary Period ($2L$)

Real-world signals don't have periods of exactly 2π2\pi. They have arbitrary periods like 2L2L (e.g., period of 10 sec, where 2L=10L=52L=10 \Rightarrow L=5).

We modify the Euler formulas by replacing xx with πxL\frac{\pi x}{L}.

f(x)=a02+n=1ancos(nπxL)+n=1bnsin(nπxL)f(x) = \frac{a_0}{2} + \sum_{n=1}^\infty a_n \cos\left(\frac{n\pi x}{L}\right) + \sum_{n=1}^\infty b_n \sin\left(\frac{n\pi x}{L}\right)

Next — Page 10 — Arbitrary Period Coefficients

9 of 20

Page 10

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

10. Arbitrary Period Coefficients

The new coefficients for interval (c,c+2L)(c, c+2L):

  • a0=1Lcc+2Lf(x),dxa_0 = \frac{1}{L} \int_c^{c+2L} f(x) \\, dx
  • an=1Lcc+2Lf(x)cos(nπxL),dxa_n = \frac{1}{L} \int_c^{c+2L} f(x) \cos\left(\frac{n\pi x}{L}\right) \\, dx
  • bn=1Lcc+2Lf(x)sin(nπxL),dxb_n = \frac{1}{L} \int_c^{c+2L} f(x) \sin\left(\frac{n\pi x}{L}\right) \\, dx

All symmetry rules (Even/Odd) work exactly the same way for interval (L,L)(-L, L).

Next — Page 11 — Parseval's Identity

10 of 20

Page 11

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

11. Parseval's Identity

Parseval's identity connects the average power of the function to its Fourier coefficients. It states that the integral of the square of the function equals the sum of the squares of the coefficients.

Exam usage: They will ask you to find the Fourier series, and then say "Hence deduce that π28=1+132+152...\frac{\pi^2}{8} = 1 + \frac{1}{3^2} + \frac{1}{5^2} ..." Parseval's theorem is the tool to solve these deductions.

Next — Page 12 — Harmonic Analysis

11 of 20

Page 12

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

12. Harmonic Analysis

Sometimes, instead of an equation f(x)f(x), you are given raw data points (a table of xx and yy values from an experiment). Finding the Fourier series from numerical data is called Harmonic Analysis.

We use summation instead of integration:

  • a0=2×yNa_0 = 2 \times \frac{\sum y}{N}
  • an=2×ycos(nx)Na_n = 2 \times \frac{\sum y \cos(nx)}{N}
  • bn=2×ysin(nx)Nb_n = 2 \times \frac{\sum y \sin(nx)}{N}

Where NN is the number of data points (excluding the repeating last point).

Next — Page 13 — Intro to Fourier Transforms

12 of 20

Page 13

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

13. Intro to Fourier Transforms

Fourier Series is for periodic functions. But what if a function is non-periodic (like a single pulse)? We use the Fourier Transform, which extends the period to infinity (LL \to \infty).

The Inverse Fourier Transform is:
f(x)=12πF(s)eisx,dsf(x) = \frac{1}{2\pi} \int_{-\infty}^{\infty} F(s) e^{isx} \\, ds

Next — Page 14 — Sine and Cosine Transforms

13 of 20

Page 14

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

14. Sine and Cosine Transforms

If the function is defined only on (0,)(0, \infty), we use Sine and Cosine transforms.

Fourier Cosine Transform (FCT):

Fc(s)=0f(x)cos(sx),dxF_c(s) = \int_0^\infty f(x) \cos(sx) \\, dx

Fourier Sine Transform (FST):

Fs(s)=0f(x)sin(sx),dxF_s(s) = \int_0^\infty f(x) \sin(sx) \\, dx

(Note: Different textbooks might place a 2π\sqrt{\frac{2}{\pi}} coefficient in front. Check your university syllabus standard).

Next — Page 15 — Properties of Fourier Transforms

14 of 20

Page 15

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

15. Properties of Fourier Transforms

Like Laplace, Fourier transforms have shifting and scaling properties:

  • Linearity: Faf(x)+bg(x)=aF(s)+bG(s)F\\{af(x) + bg(x)\\} = aF(s) + bG(s)
  • Change of Scale: Ff(ax)=1aF(sa)F\\{f(ax)\\} = \frac{1}{a} F\left(\frac{s}{a}\right)
  • Shifting Theorem: Ff(xa)=eisaF(s)F\\{f(x-a)\\} = e^{-isa} F(s)
  • Modulation Theorem: Ff(x)cos(ax)=12[F(s+a)+F(sa)]F\\{f(x) \cos(ax)\\} = \frac{1}{2} [F(s+a) + F(s-a)]

Next — Page 16 — Convolution for Fourier

15 of 20

Page 16

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

16. Convolution Theorem (Fourier)

The convolution of two functions f(x)f(x) and g(x)g(x) over the entire real line is defined as:

(fg)(x)=f(u)g(xu),du(f \ast g)(x) = \int_{-\infty}^\infty f(u) g(x-u) \\, du

Next — Page 17 — Parseval's for Fourier Transforms

16 of 20

Page 17

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

17. Parseval's for Fourier Transforms

Parseval's identity applies to transforms as well, stating that the total energy in the time domain equals the total energy in the frequency domain.

f(x)2,dx=12πF(s)2,ds\int_{-\infty}^\infty |f(x)|^2 \\, dx = \frac{1}{2\pi} \int_{-\infty}^\infty |F(s)|^2 \\, ds

For Cosine and Sine transforms on (0,)(0, \infty):

0f(x)2,dx=2π0Fc(s)2,ds=2π0Fs(s)2,ds\int_0^\infty |f(x)|^2 \\, dx = \frac{2}{\pi} \int_0^\infty |F_c(s)|^2 \\, ds = \frac{2}{\pi} \int_0^\infty |F_s(s)|^2 \\, ds

Next — Page 18 — Transform of Derivatives

17 of 20

Page 18

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

18. Transform of Derivatives

To solve differential equations using Fourier transforms, we need the derivative property. Assuming f(x)0f(x) \to 0 as x±x \to \pm \infty:

  • Ff(x)=(is)F(s)F\\{f'(x)\\} = (is) F(s)
  • Ff(x)=(is)2F(s)=s2F(s)F\\{f''(x)\\} = (is)^2 F(s) = -s^2 F(s)

This converts derivatives into simple multiplication by s2-s^2, turning boundary value PDEs (like heat conduction) into solvable ODEs.

Next — Page 19 — Solving Equations

18 of 20

Page 19

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

19. Solving Equations via Fourier

Fourier Transforms are typically used to solve Partial Differential Equations (PDEs) defined on infinite or semi-infinite intervals.

  1. 1.Take the Fourier transform of the PDE with respect to one variable (usually xx).
  2. 2.The PDE will reduce to an ODE in the other variable (usually tt).
  3. 3.Solve the resulting ODE.
  4. 4.Take the Inverse Fourier Transform to find the final solution.

Next — Page 20 — Unit 4 Revision Checklist

19 of 20

Page 20

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 4

20. Unit 4 Revision Checklist

Before the exam, ensure you can:

  • State Dirichlet's conditions for Fourier expansion.
  • Write the a0,an,bna_0, a_n, b_n formulas for an arbitrary period 2L2L.
  • Explain what happens to a Fourier series at a point of discontinuity.
  • Identify an Even vs Odd function to save time calculating ana_n or bnb_n.
  • Use Parseval's identity to deduce a series sum.
  • Write the definition of the Fourier Sine and Cosine transforms.

20 of 20

Continue in this subject