In mathematics, a periodic function is a function which has a repeated pattern (a period) which is continued infinitely.
Examples of periodic functions are the trigonometric functions sine and cosine, which both have a period of .
In mathematics, a periodic function is a function which has a repeated pattern (a period) which is continued infinitely.
Examples of periodic functions are the trigonometric functions sine and cosine, which both have a period of .
A real number is a period of a function defined in
defined if for each
from
holds:
The function is periodic if it
admits at least one period One then also says that
is "
-periodic".
For , which is often the case, the first property is always satisfied.
The following properties apply to the period:
Mostly one is interested in the smallest positive period. This exists for any nonconstant continuous periodic function. (A constant function is periodic with any period other than 0.) If has a least positive period, then the periods of are
the multiples of
. In the other case, the set of periods of is
dense in
.
The standard examples of periodic functions are the trigonometric functions. For example, the sine function defined on all of defined sine function is periodic. Its function values repeat at intervals of
(
is the circular number Pi); thus, it has period
.
The tangent function with domain of definition is also a trigonometric function; it has period
rather than
although it can be represented as the quotient of two
-periodic functions:
.
Sums of cos and sin functions with a common (not necessarily smallest) period are again periodic. (In the figure, the common period is
.) This property of cos and sin functions is the basis of Fourier series. If two functions do not have a common period, the sum is not periodic. Example:
is not periodic.
In the definition example at the top of the figure, a function given on a half-open interval given on a half-open interval has been
continued to a periodic function of period by simply shifting by integer multiples of This type is called direct periodic continuation, to distinguish even and odd periodic continuation.
The following formal definition also provides a way to evaluate a periodically continued function with a computer, since the rounding function used is directly or indirectly realized in many mathematics systems.
DefinitionIf
a function on the interval
with
is given, then the function
with
the (direct) periodic continuation of on all of
and
its period.
⌊is the rounding function. Using the rounding function ensures that the function is
only evaluated for x values from its definition range (see figure).
Example: periodic continuation of parabolic arc with period
. The function value at the point (for example)
Since periodic functions are often developed in Fourier series and an even/odd periodic function can only be represented with cosine/sine terms, the following continuations are of particular interest:
Odd continuation:
In this case, one starts from a function defined on
the interval with
. In a first step, one continues the function by mirroring it at the zero point on the interval :
The function defined on the interval
is now directly periodically continued (as described above). This gives rise to an odd periodic function defined on
defined odd periodic function
of period
.
Just continued:
The analog procedure with
yields an even periodic function of period .
→ Main article: Fourier series
The Fourier series of a -periodic odd function
has the form
with
The goal of a Fourier series expansion is to approximate a periodic function on (all of !) by sums of simple periodic functions. Ideally, the Fourier series represents the given function on
. (A power series expansion approximates a function, which is not a polynomial, with its partial sums on a bounded (!) interval by polynomials).
In the figure, a function given on the interval
(two straight line segments, red)
continued odd to a
-periodic function and then developed into a Fourier series (with sin terms only). One can see how well/badly partial sums of the Fourier series (of lengths n= 3,6,12)
approximate the function While
is discontinuous (it has jump points), the partial sums as sums of sin terms are all continuous.
In the example
and the partial sum for n=3:
The notion of periodic function is not limited to real functions. It can be defined more generally for functions on whose source set an addition is declared.
Let be an (additive) semigroup,
a set, and
a function. If there exists a
with
for all then the function is called
periodic with period
.