Periodic function: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Nassiv64
 
No edit summary
 
Line 1: Line 1:
{{Short description|Function that repeats its values at regular intervals or periods}}
{{Short description|Function with a repeating pattern}}
{{Distinguish|periodic mapping}}
{{Distinguish|periodic mapping}}
{{Redirect-distinguish|Period length|repeating decimal}}
{{Redirect-distinguish|Period length|repeating decimal}}
{{Redirect2|Aperiodic|Non-periodic}}
{{Redirect2|Aperiodic|Non-periodic}}
[[Image:Periodic function illustration.svg|thumb|right|300px|An illustration of a periodic function with period <math>P.</math>]]
[[Image:Periodic function illustration.svg|thumb|An illustration of a periodic function with period <math>P.</math>]]


A '''periodic function''', also called a '''periodic waveform''' (or simply '''periodic wave'''), is a [[Function (mathematics)|function]] that repeats its values at regular intervals or [[period (physics)|periods]]. The repeatable part of the function or [[waveform]] is called a '''''cycle'''''.<ref name="IEC">{{cite web |title=IEC 60050 — Details for IEV number 103-05-08: "cycle" |url=https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=103-05-08 |access-date=2023-11-20 |website=International Electrotechnical Vocabulary |language=}}</ref> For example, the [[trigonometric functions]], which repeat at intervals of <math>2\pi</math> [[radian]]s, are periodic functions. Periodic functions are used throughout science to describe [[oscillation]]s, [[wave]]s, and other phenomena that exhibit [[Frequency|periodicity]]. Any function that is not periodic is called '''''aperiodic'''''.
A '''periodic function''' is a [[function (mathematics)|function]] that repeats its values at regular intervals. For example, the trigonometric functions, which are used to describe [[wave]]s and other repeating phenomena, are periodic. Many aspects of the natural world have periodic behavior, such as the [[phases of the Moon]], the swinging of a [[pendulum]], and the [[human heart|beating]] of a heart.
 
The length of the interval over which a periodic function repeats is called its '''[[period (physics)|period]]'''. Any function that is not periodic is called '''aperiodic'''.


==Definition==
==Definition==
A function {{math|<var>f</var>}} is said to be '''periodic''' if, for some '''nonzero''' constant {{math|<var>P</var>}}, it is the case that
[[Image:Sine.svg|thumb|A graph of the sine function. It is periodic with a fundamental period of <math>2\pi</math>.]]
A function is defined as '''periodic''' if its values repeat at regular intervals. For example, the positions of the hands on a [[clock]] display periodic behavior as they cycle through the same positions every 12 hours. This repeating interval is known as the '''period'''.


:<math>f(x+P) = f(x) </math>
More formally, a function <math>f</math> is periodic if there exists a constant <math>P</math> such that
:<math>f(x+P) = f(x)</math>
for all values of <math>x</math> in the [[domain of a function|domain]]. A '''nonzero''' constant <math>P</math> for which this condition holds is called a '''period''' of the function.<ref name=":0">{{Cite book |last=Tolstov |first=Georgij Pavlovič |title=Fourier series |last2=Tolstov |first2=Georgij Pavlovič |date=2009 |publisher=Dover Publ |isbn=978-0-486-63317-6 |edition=Nachdr. |series=Dover books on mathematics |location=New York |page=1}}</ref>


for all values of {{math|<var>x</var>}} in the domain. A nonzero constant {{mvar|P}} for which this is the case is called a '''period''' of the function. If there exists a least positive<ref>For some functions, like a [[constant function]] or the [[Dirichlet function]] (the [[indicator function]] of the [[rational number]]s), a least positive period may not exist (the [[infimum]] of all positive periods {{math|<var>P</var>}} being zero).</ref> constant {{math|<var>P</var>}} 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 {{math|<var>P</var>}} will repeat on intervals of length {{math|<var>P</var>}}, and these intervals are sometimes also referred to as '''periods''' of the function.
If a period <math>P</math> exists, any integer multiple <math>nP</math> (for a positive integer <math>n</math>) is also a period. If there is a ''least positive'' period, it is called the '''{{vanchor|fundamental period}}''' (also '''primitive period''' or '''basic period''').<ref>For some functions, like a [[constant function]] or the [[Dirichlet function]] (the [[indicator function]] of the [[rational number]]s), a least positive period may not exist (the [[infimum]] of all positive periods <math>P</math> being zero).</ref> Often, "the" period of a function is used to refer to its fundamental period.


Geometrically, a periodic function can be defined as a function whose graph exhibits [[translational symmetry]], i.e. a function {{math|<var>f</var>}} is periodic with period {{math|<var>P</var>}} if the graph of {{math|<var>f</var>}} is [[invariant (mathematics)|invariant]] under [[translation (geometry)|translation]] in the {{math|<var>x</var>}}-direction by a distance of {{math|<var>P</var>}}. This definition of periodicity can be extended to other geometric shapes and patterns, as well as be generalized to higher dimensions, such as periodic [[tessellation]]s of the plane. A [[sequence (mathematics)|sequence]] can also be viewed as a function defined on the [[natural number]]s, and for a [[periodic sequence]] these notions are defined accordingly.
Geometrically, a periodic function's graph exhibits [[translational symmetry]]. Its graph is [[invariant (mathematics)|invariant]] under [[translation (geometry)|translation]] in the <math>x</math>-direction by a distance of <math>P</math>. This implies that the entire graph can be formed from copies of one particular portion, repeated at regular intervals.


==Examples==
==Examples==
[[Image:Sine.svg|thumb|right|350px|A graph of the sine function, showing two complete periods]]
Periodic behavior can be illustrated through both common, everyday examples and more formal mathematical functions.
 
===Real number examples===
The [[sine function]] is periodic with period <math>2\pi</math>, since
 
:<math>\sin(x + 2\pi) = \sin x</math>
 
for all values of <math>x</math>.  This function repeats on intervals of length <math>2\pi</math> (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 number]]s or on the [[integer]]s, that means that the entire [[Graph of a function|graph]] can be formed from copies of one particular portion, repeated at regular intervals.


A simple example of a periodic function is the function <math>f</math> that gives the "[[fractional part]]" of its argument. Its period is 1. In particular,
===Real-valued functions===
Functions that map real numbers to real numbers can display periodicity, which is often visualized on a graph.


====Sawtooth wave====
An example is the function <math>f</math> that represents the "[[fractional part]]" of its argument. Its period is 1. For instance,
: <math>f(0.5) = f(1.5) = f(2.5) = \cdots = 0.5</math>
: <math>f(0.5) = f(1.5) = f(2.5) = \cdots = 0.5</math>
The graph of the function <math>f</math> is a [[sawtooth wave]].


The graph of the function <math>f</math> is the [[sawtooth wave]].
====Trigonometric functions====
[[Image:Sine cosine plot.svg|thumb|A plot of <math>f(x) = \sin(x)</math> and <math>g(x) = \cos(x)</math>; both functions are periodic with period <math>2\pi</math>.]]
The trigonometric functions are common examples of periodic functions. The [[sine function]] and [[cosine function]] are periodic with a fundamental period of <math>2\pi</math>, as illustrated in the figure to the right. For the sine function, this is expressed as:
: <math>\sin(x + 2\pi) = \sin x</math>
for all values of <math>x</math>.


[[Image:Sine cosine plot.svg|300px|right|thumb|A plot of <math>f(x) = \sin(x)</math> and <math>g(x) = \cos(x)</math>; both functions are periodic with period <math>2\pi</math>.]]
The field of [[Fourier series]] investigates the concept that an arbitrary periodic function can be expressed as a sum of trigonometric functions with matching periods.
The [[trigonometric function]]s sine and cosine are common periodic functions, with period <math>2\pi</math> (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.
====Exotic functions====
Some functions are periodic but possess properties that make them less intuitive. The [[Dirichlet function]], for example, is periodic, with any nonzero rational number serving as a period. However, it does not possess a fundamental period.


===Complex number examples===
===Complex-valued functions===
Using [[complex analysis|complex variables]] we have the common period function:
Functions with a domain in the [[complex number]]s can exhibit more complex periodic properties.


:<math>e^{ikx} = \cos kx + i\,\sin kx.</math>
====Complex exponential====
 
The complex exponential function is a periodic function with a purely imaginary period:
Since the cosine and sine functions are both periodic with period <math>2\pi</math>, the complex exponential is made up of cosine and sine waves. This means that [[Euler's formula]] (above) has the property such that if <math>L</math> is the period of the function, then
:<math>e^{ikx} = \cos kx + i\,\sin kx</math>
 
Given that the cosine and sine functions are both periodic with period <math>2\pi</math>, [[Euler's formula]] demonstrates that the complex exponential function has a period <math>L</math> such that
:<math>L = \frac{2\pi}{k}.</math>
:<math>L = \frac{2\pi}{k}</math>.


====Double-periodic functions====
====Double-periodic functions====
A function whose domain is the [[complex number]]s can have two incommensurate periods without being constant. The [[elliptic function]]s are such functions. ("Incommensurate" in this context means not real multiples of each other.)
A function on the complex plane can have two distinct, incommensurate periods without being a constant function. The [[elliptic function]]s are a primary example of such functions. ("Incommensurate" in this context refers to periods that are not real multiples of each other.)


==Properties==
==Properties==
<!-- '''periodicity with period zero''' ''P'' ''' greater than zero if !-->
Periodic functions can take on values many times. More specifically, if a function <math>f</math> is periodic with period <math>P</math>, then for all <math>x</math> in the domain of <math>f</math> and all positive integers <math>n</math>,<ref name=":1" />
Periodic functions can take on values many times. More specifically, if a function <math>f</math> is periodic with period <math>P</math>, then for all <math>x</math> in the domain of <math>f</math> and all positive integers <math>n</math>,
: <math>f(x + nP) = f(x)</math>


: <math>f(x + nP) = f(x)</math>
A significant property related to integration is that if <math>f(x)</math> is an [[Integral|integrable]] periodic function with period <math>P</math>, then its definite integral over any interval of length <math>P</math> is the same.<ref name=":1">{{Cite book |last=Tolstov |first=Georgij Pavlovič |title=Fourier series |date=2009 |publisher=Dover Publ |isbn=978-0-486-63317-6 |edition=Nachdr. |series=Dover books on mathematics |location=New York |page=2}}</ref> That is, for any real number <math>a</math>:
: <math>\int_a^{a+P} f(x) \, dx = \int_0^P f(x) \, dx</math>
This property is crucial in areas such as [[Fourier series]], where the coefficients are determined by integrals over one period.


If <math>f(x)</math> is a function with period <math>P</math>, then <math>f(ax)</math>, where <math>a</math> is a non-zero real number such that <math>ax</math> is within the domain of <math>f</math>, is periodic with period <math display="inline">\frac{P}{a}</math>. For example, <math>f(x) = \sin(x)</math> has period <math>2 \pi</math> and, therefore, <math>\sin(5x)</math> will have period <math display="inline">\frac{2\pi}{5}</math>.
If <math>f(x)</math> is a function with period <math>P</math>, then <math>f(ax)</math>, where <math>a</math> is a non-zero real number such that <math>ax</math> is within the domain of <math>f</math>, is periodic with period <math>\frac{P}{|a|}</math>. For example, <math>f(x) = \sin(x)</math> has period <math>2\pi</math> and, therefore, <math>\sin(5x)</math> will have period <math>\frac{2\pi}{5}</math>.


Some periodic functions can be described by [[Fourier series]]. For instance, for [[Lp space|''L''<sup>2</sup> functions]], [[Carleson's theorem]] states that they have a [[pointwise]] ([[Lebesgue measure|Lebesgue]]) [[almost everywhere convergence|almost everywhere convergent]] [[Fourier series]]. Fourier series can only be used for periodic functions, or for functions on a bounded (compact) interval. If <math>f</math> is a periodic function with period <math>P</math> that can be described by a Fourier series, the coefficients of the series can be described by an integral over an interval of length <math>P</math>.
A key property of many periodic functions is that they can be described by a [[Fourier series]]. This series represents a periodic function as a sum of simpler periodic functions, namely [[sine and cosine|sines and cosines]]. For example, a sound wave from a musical instrument can be broken down into the fundamental note and various [[overtone]]s. This decomposition is a powerful tool in fields like physics and signal processing. While most "well-behaved" periodic functions can be represented this way,<ref>For instance, for [[Lp space|''L''<sup>2</sup> functions]], [[Carleson's theorem]] states that they have a [[pointwise]] ([[Lebesgue measure|Lebesgue]]) [[almost everywhere convergence|almost everywhere convergent]] [[Fourier series]].</ref> Fourier series can only be used for periodic functions or for functions defined on a finite length. If <math>f</math> is a periodic function with period <math>P</math> that can be described by a Fourier series, the coefficients of the series can be described by an [[integral]] over an interval of length <math>P</math>.


Any function that consists only of periodic functions with the same period is also periodic (with period equal or smaller), including:
Any function that is a combination of periodic functions with the same period is also periodic (though its fundamental period may be smaller). This includes:
* addition, [[subtraction]], multiplication and division of periodic functions, and
* addition, [[subtraction]], multiplication and division of periodic functions,<ref name=":0" /> and
* taking a power or a root of a periodic function (provided it is defined for all <math>x</math>).
* taking a power or a root of a periodic function (provided it is defined for all <math>x</math>)


==Generalizations==
==Generalizations==
The concept of periodicity can be generalized beyond functions on the real number line. For example, the idea of a repeating pattern can be applied to shapes in multiple dimensions, such as a periodic [[tessellation]] of the plane. A [[Sequence (mathematics)|sequence]] can also be viewed as a function defined on the [[Natural number|natural numbers]], and the concept of a [[periodic sequence]] is defined accordingly.


===Antiperiodic functions===
===Antiperiodic functions===
Line 132: Line 137:
[[Category:Fourier analysis]]
[[Category:Fourier analysis]]
[[Category:Types of functions]]
[[Category:Types of functions]]
[[Category:Trigonometry]]
[[Category:Signal processing]]

Latest revision as of 15:44, 29 September 2025

Template:Short description Script error: No such module "Distinguish". Template:Redirect-distinguish Script error: No such module "Redirect hatnote".

File:Periodic function illustration.svg
An illustration of a periodic function with period P.

A periodic function is a function that repeats its values at regular intervals. For example, the trigonometric functions, which are used to describe waves and other repeating phenomena, are periodic. Many aspects of the natural world have periodic behavior, such as the phases of the Moon, the swinging of a pendulum, and the beating of a heart.

The length of the interval over which a periodic function repeats is called its period. Any function that is not periodic is called aperiodic.

Definition

File:Sine.svg
A graph of the sine function. It is periodic with a fundamental period of 2π.

A function is defined as periodic if its values repeat at regular intervals. For example, the positions of the hands on a clock display periodic behavior as they cycle through the same positions every 12 hours. This repeating interval is known as the period.

More formally, a function f is periodic if there exists a constant P such that

f(x+P)=f(x)

for all values of x in the domain. A nonzero constant P for which this condition holds is called a period of the function.[1]

If a period P exists, any integer multiple nP (for a positive integer n) is also a period. If there is a least positive period, it is called the Template:Vanchor (also primitive period or basic period).[2] Often, "the" period of a function is used to refer to its fundamental period.

Geometrically, a periodic function's graph exhibits translational symmetry. Its graph is invariant under translation in the x-direction by a distance of P. This implies that the entire graph can be formed from copies of one particular portion, repeated at regular intervals.

Examples

Periodic behavior can be illustrated through both common, everyday examples and more formal mathematical functions.

Real-valued functions

Functions that map real numbers to real numbers can display periodicity, which is often visualized on a graph.

Sawtooth wave

An example is the function f that represents the "fractional part" of its argument. Its period is 1. For instance,

f(0.5)=f(1.5)=f(2.5)==0.5

The graph of the function f is a sawtooth wave.

Trigonometric functions

File:Sine cosine plot.svg
A plot of f(x)=sin(x) and g(x)=cos(x); both functions are periodic with period 2π.

The trigonometric functions are common examples of periodic functions. The sine function and cosine function are periodic with a fundamental period of 2π, as illustrated in the figure to the right. For the sine function, this is expressed as:

sin(x+2π)=sinx

for all values of x.

The field of Fourier series investigates the concept that an arbitrary periodic function can be expressed as a sum of trigonometric functions with matching periods.

Exotic functions

Some functions are periodic but possess properties that make them less intuitive. The Dirichlet function, for example, is periodic, with any nonzero rational number serving as a period. However, it does not possess a fundamental period.

Complex-valued functions

Functions with a domain in the complex numbers can exhibit more complex periodic properties.

Complex exponential

The complex exponential function is a periodic function with a purely imaginary period:

eikx=coskx+isinkx

Given that the cosine and sine functions are both periodic with period 2π, Euler's formula demonstrates that the complex exponential function has a period L such that

L=2πk.

Double-periodic functions

A function on the complex plane can have two distinct, incommensurate periods without being a constant function. The elliptic functions are a primary example of such functions. ("Incommensurate" in this context refers to periods that are 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,[3]

f(x+nP)=f(x)

A significant property related to integration is that if f(x) is an integrable periodic function with period P, then its definite integral over any interval of length P is the same.[3] That is, for any real number a:

aa+Pf(x)dx=0Pf(x)dx

This property is crucial in areas such as Fourier series, where the coefficients are determined by integrals over one period.

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 P|a|. For example, f(x)=sin(x) has period 2π and, therefore, sin(5x) will have period 2π5.

A key property of many periodic functions is that they can be described by a Fourier series. This series represents a periodic function as a sum of simpler periodic functions, namely sines and cosines. For example, a sound wave from a musical instrument can be broken down into the fundamental note and various overtones. This decomposition is a powerful tool in fields like physics and signal processing. While most "well-behaved" periodic functions can be represented this way,[4] Fourier series can only be used for periodic functions or for functions defined on a finite length. 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.

Any function that is a combination of periodic functions with the same period is also periodic (though its fundamental period may be smaller). This includes:

  • addition, subtraction, multiplication and division of periodic functions,[1] and
  • taking a power or a root of a periodic function (provided it is defined for all x)

Generalizations

The concept of periodicity can be generalized beyond functions on the real number line. For example, the idea of a repeating pattern can be applied to shapes in multiple dimensions, such as a periodic tessellation of the plane. A sequence can also be viewed as a function defined on the natural numbers, and the concept of a periodic sequence is defined accordingly.

Antiperiodic functions

One subset of periodic functions is that of antiperiodic functions. This is a function f such that f(x+P)=f(x) for all x. For example, the sine and cosine functions are π-antiperiodic and 2π-periodic. While a P-antiperiodic function is a 2P-periodic function, the converse is not necessarily true.[5]

Bloch-periodic functions

A further generalization appears in the context of Bloch's theorems 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)=eikPf(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. Whenever kP/π is rational, the function is also periodic.

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:

/={x+:x}={{y:yyx}:x}.

That is, each element in / is an equivalence class of real numbers that share the same fractional part. Thus a function like f:/ 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 = <templatestyles src="Fraction/styles.css" />1fTemplate:Nnbsp[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 = <templatestyles src="Fraction/styles.css" />LCDf. Consider that for a simple sinusoid, T = <templatestyles src="Fraction/styles.css" />1f. Therefore, the LCD can be seen as a periodicity multiplier.

  • For set representing all notes of Western major scale: [1 <templatestyles src="Fraction/styles.css" />98 <templatestyles src="Fraction/styles.css" />54 <templatestyles src="Fraction/styles.css" />43 <templatestyles src="Fraction/styles.css" />32 <templatestyles src="Fraction/styles.css" />53 <templatestyles src="Fraction/styles.css" />158] the LCD is 24 therefore T = <templatestyles src="Fraction/styles.css" />24f.
  • For set representing all notes of a major triad: [1 <templatestyles src="Fraction/styles.css" />54 <templatestyles src="Fraction/styles.css" />32] the LCD is 4 therefore T = <templatestyles src="Fraction/styles.css" />4f.
  • For set representing all notes of a minor triad: [1 <templatestyles src="Fraction/styles.css" />65 <templatestyles src="Fraction/styles.css" />32] the LCD is 10 therefore T = <templatestyles src="Fraction/styles.css" />10f.

If no least common denominator exists, for instance if one of the above elements were irrational, then the wave would not be periodic.[6]

See also

Template:Cmn

References

Template:Reflist

  • Script error: No such module "citation/CS1".

External links

Template:Authority control

  1. a b Script error: No such module "citation/CS1".
  2. For some functions, like a constant function or the Dirichlet function (the indicator function of the rational numbers), a least positive period may not exist (the infimum of all positive periods P being zero).
  3. a b Script error: No such module "citation/CS1".
  4. For instance, for L2 functions, Carleson's theorem states that they have a pointwise (Lebesgue) almost everywhere convergent Fourier series.
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".