A periodic function repeats its values at regular intervals. Periodicity appears throughout mathematics and the sciences: in the oscillation of springs, the motion of tides, the rotation of planets, and alternating electrical current.

Quick Reference
| Concept | Meaning |
|---|---|
| Periodic with period | for all in the domain |
| Period not unique | If is a period, so are , , , etc. |
| Fundamental period | The smallest positive period of (if it exists) |
| Constant functions | Periodic with every ; no fundamental period |
Definition
A function is periodic with period if:
- Whenever lies in the domain of , so does , and
- for every in the domain of .
The first condition ensures the domain is itself "periodic," allowing the shift to make sense. A function need not be defined for all real numbers to be periodic.
Multiple Periods and the Fundamental Period
The period of a periodic function is not unique. If is a period of , then , , , etc., are also periods:
$f(x + 2T) = f((x+T) + T) = f(x+T) = f(x),$In general:
If is periodic with period , then for every integer .
The smallest positive period of a periodic function (if it exists) is called the fundamental period of the function.
A constant function is periodic with every positive as a period, since . Because there is no smallest positive number, a constant function has no fundamental period.
Examples
Find the fundamental period of .
Solution
Suppose is a period of . Then for all : Expanding: Canceling from both sides: The right side is always an integer (the difference of two integers), so must be an integer. To find the fundamental period, we choose to be the smallest positive integer, which is $1$: The fundamental period of is .
Show that is not periodic.
Solution
Assume for contradiction that has period . Then for all , which means: Expanding : Canceling : The right side is always an integer (difference of two floor values). So the left side must be an integer for every real number . But is a linear function of with slope . If , this linear function takes all real values as varies, not just integer values. This is a contradiction. Therefore no such exists, and is not periodic.