# Periodic function

(Redirected from Period (mathematics))

In mathematics, a periodic function is a function that repeats its values in regular intervals or periods. The most important examples are the trigonometric functions, which repeat over intervals of 2π radians. Periodic functions are used throughout science to describe oscillations, waves, and other phenomena that exhibit periodicity. Any function that is not periodic is called aperiodic. An illustration of a periodic function with period $P.$ ## Definition

A function f is said to be periodic if, for some nonzero constant P, it is the case that

$f(x+P)=f(x)$ for all values of x in the domain. A nonzero constant P for which this is the case is called a period of the function. If there exists a least positive constant P with this property, it is called the fundamental period (also primitive period, basic period, or prime period.) Often, "the" period of a function is used to mean its fundamental period. A function with period P will repeat on intervals of length P, and these intervals are sometimes also referred to as periods of the function.

Geometrically, a periodic function can be defined as a function whose graph exhibits translational symmetry. Specifically, a function f is periodic with period P if the graph of f is invariant under translation in the x-direction by a distance of P. This definition of periodic can be extended to other geometric shapes and patterns, as well as be generalized to higher dimensions, such as periodic tessellations of the plane. A sequence can also be viewed as a function defined on the natural numbers, and for a periodic sequence these notions are defined accordingly.

## Examples

### Real number examples

For example, the sine function is periodic with period $2\pi$ , since

$\sin(x+2\pi )=\sin x$ for all values of $x$ . This function repeats on intervals of length $2\pi$ (see the graph to the right).

Everyday examples are seen when the variable is time; for instance the hands of a clock or the phases of the moon show periodic behaviour. Periodic motion is motion in which the position(s) of the system are expressible as periodic functions, all with the same period.

For a function on the real numbers or on the integers, that means that the entire graph can be formed from copies of one particular portion, repeated at regular intervals.

A simple example of a periodic function is the function $f$ that gives the "fractional part" of its argument. Its period is 1. In particular,

$f(0.5)=f(1.5)=f(2.5)=\cdots =0.5$ The graph of the function $f$ is the sawtooth wave. A plot of $f(x)=\sin(x)$ and $g(x)=\cos(x)$ ; both functions are periodic with period 2π.

The trigonometric functions sine and cosine are common periodic functions, with period 2π (see the figure on the right). The subject of Fourier series investigates the idea that an 'arbitrary' periodic function is a sum of trigonometric functions with matching periods.

According to the definition above, some exotic functions, for example the Dirichlet function, are also periodic; in the case of Dirichlet function, any nonzero rational number is a period.

### Complex number examples

Using complex variables we have the common period function:

$e^{ikx}=\cos kx+i\,\sin kx.$ Since the cosine and sine functions are both periodic with period 2π, and the complex exponential above is made up of cosine and sine waves, the above (actually Euler's formula) has the following property. If L is the period of the function then

$L={\frac {2\pi }{k}}.$ Complex functions may be periodic along one line or axis in the complex plane but not on another. For instance, $e^{z}$ is periodic along the imaginary axis but not the real axis.

#### Double-periodic functions

A function whose domain is the complex numbers can have two incommensurate periods without being constant. The elliptic functions are such functions. ("Incommensurate" in this context means not real multiples of each other.)

## Properties

Periodic functions can take on values many times. More specifically, if a function $f$ is periodic with period $P$ , then for all $x$ in the domain of $f$ and all positive integers $n$ ,

$f(x+nP)=f(x)$ If $f(x)$ is a function with period $P$ , then $f(ax)$ , where $a$ is a non-zero real number such that $ax$ is within the domain of $f$ , is periodic with period ${\textstyle {\frac {P}{|a|}}}$ . For example, $f(x)=\sin(x)$ has period $2\pi$ therefore $\sin(5x)$ will have period ${\textstyle {\frac {2\pi }{5}}}$ .

Some periodic functions can be described by Fourier series. For instance, for L2 functions, Carleson's theorem states that they have a pointwise (Lebesgue) almost everywhere convergent Fourier series. Fourier series can only be used for periodic functions, or for functions on a bounded (compact) interval. If $f$ is a periodic function with period $P$ that can be described by a Fourier series, the coefficients of the series can be described by an integral over an interval of length $P$ .

## Generalizations

### Antiperiodic functions

One common subset of periodic functions is that of antiperiodic functions. This is a function f such that f(x + P) = −f(x) for all x. (Thus, a P-antiperiodic function is a 2P-periodic function.) For example, the sine or cosine function is π-antiperiodic and 2π-periodic. While a P-antiperiodic function is a 2P-periodic function, the inverse is not necessarily true.

### Bloch-periodic functions

A further generalization appears in the context of Bloch waves and Floquet theory, which govern the solution of various periodic differential equations. In this context, the solution (in one dimension) is typically a function of the form:

$f(x+P)=e^{ikP}f(x)$ where k is a real or complex number (the Bloch wavevector or Floquet exponent). Functions of this form are sometimes called Bloch-periodic in this context. A periodic function is the special case k = 0, and an antiperiodic function is the special case k = π/P.

### Quotient spaces as domain

In signal processing you encounter the problem, that Fourier series represent periodic functions and that Fourier series satisfy convolution theorems (i.e. convolution of Fourier series corresponds to multiplication of represented periodic function and vice versa), but periodic functions cannot be convolved with the usual definition, since the involved integrals diverge. A possible way out is to define a periodic function on a bounded but periodic domain. To this end you can use the notion of a quotient space:

${\mathbb {R} /\mathbb {Z} }=\{x+\mathbb {Z} :x\in \mathbb {R} \}=\{\{y:y\in \mathbb {R} \land y-x\in \mathbb {Z} \}:x\in \mathbb {R} \}$ .

That is, each element in ${\mathbb {R} /\mathbb {Z} }$ is an equivalence class of real numbers that share the same fractional part. Thus a function like $f:{\mathbb {R} /\mathbb {Z} }\to \mathbb {R}$ is a representation of a 1-periodic function.

## Calculating period

Consider a real waveform consisting of superimposed frequencies, expressed in a set as ratios to a fundamental frequency, f: F = ​1f [f1 f2 f3 … fN] where all non-zero elements ≥1 and at least one of the elements of the set is 1. To find the period, T, first find the least common denominator of all the elements in the set. Period can be found as T = ​LCDf. Consider that for a simple sinusoid, T = ​1f. Therefore, the LCD can be seen as a periodicity multiplier.

• For set representing all notes of Western major scale: [1 ​9854433253158] the LCD is 24 therefore T = ​24f.
• For set representing all notes of a major triad: [1 ​5432] the LCD is 4 therefore T = ​4f.
• For set representing all notes of a minor triad: [1 ​6532] the LCD is 10 therefore T = ​10f.

If no least common denominator exists, for instance if one of the above elements were irrational, then the wave would not be periodic.
{"ft_lang_label":"__label__en","ft_lang_prob":0.84637034,"math_prob":0.99762535,"size":7855,"snap":"2020-10-2020-16","text_gpt3_token_len":1792,"char_repetition_ratio":0.20264934,"word_repetition_ratio":0.018808777,"special_character_ratio":0.21833228,"punctuation_ratio":0.107869744,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9997644,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80],"im_url_duplicate_count":[null,7,null,null,null,9,null,null,null,8,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,8,null,7,null,null,null,null,null,null,null,null,null,null,null,null,null,8,null,null,null,null,null,10,null,null,null,null,null,null,null,3,null,null,null,null,null,null,null,7,null,null,null,null,null,null,null,6,null,10,null,10,null,10,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-02-17T20:02:31Z\",\"WARC-Record-ID\":\"<urn:uuid:a69147c0-cd63-43c5-ab7c-b7f3d3f60102>\",\"Content-Length\":\"104833\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ce44c488-e43d-470c-9c36-f76520372331>\",\"WARC-Concurrent-To\":\"<urn:uuid:c4929246-6228-4be1-84ae-9d1616671e05>\",\"WARC-IP-Address\":\"208.80.154.224\",\"WARC-Target-URI\":\"https://en.wikipedia.org/wiki/Period_(mathematics)\",\"WARC-Payload-Digest\":\"sha1:GXY5KBIPFVZJUEUXR66DQN7IAGQJXBGG\",\"WARC-Block-Digest\":\"sha1:DV6GK7H5FT6XQ26JFFD6LGTYOMXALODR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-10/CC-MAIN-2020-10_segments_1581875143079.30_warc_CC-MAIN-20200217175826-20200217205826-00453.warc.gz\"}"}