Periodic Functions

Theory

A function f(x)f(x) is called periodic if there exists a positive number pp such that

f(x+p)=f(x)for all x.f(x+p)=f(x) \quad \text{for all } x.

The smallest such pp is called the fundamental (primitive) period.

Exercises

Exercise 1
Question

Draw graphs of the following functions:

  1. f(x)=sinxf(x)=\sin x
  2. g(x)=cos(nx)g(x)=\cos(nx)
Show solution ↓
Solution

1. Graph of f(x)=sinxf(x)=\sin x

  • The fundamental period of sinx\sin x is 2π2\pi.
  • Key points in one period:
(0,0),(π2,1),(π,0),(3π2,1),(2π,0).(0,0),\quad \left(\frac{\pi}{2},1\right),\quad (\pi,0),\quad \left(\frac{3\pi}{2},-1\right),\quad (2\pi,0).
  • The graph repeats this pattern every 2π2\pi units.

How to draw:

  1. Mark the key points over [0,2π][0,2\pi].
  2. Draw a smooth wave passing through them.
  3. Repeat the same shape to the left and right.

2. Graph of g(x)=cos(nx)g(x)=\cos(nx)

  • The fundamental period of cos(nx)\cos(nx) is
2πn.\frac{2\pi}{n}.
  • Increasing nn makes the graph oscillate faster.
  • The amplitude remains 11.

How to draw:

  1. Compute the period 2πn\frac{2\pi}{n}.
  2. Plot one cosine curve over [0,2πn]\left[0,\frac{2\pi}{n}\right].
  3. Repeat this pattern periodically.

Important observation:

  • Larger nn \Rightarrow shorter period
  • Same maximum and minimum values (±1\pm 1)
  • More waves in the same interval