# Quasiperiodic function

In mathematics, a quasiperiodic function is a function that has a certain similarity to a periodic function. A function ${\displaystyle f}$ is quasiperiodic with quasiperiod ${\displaystyle \omega }$ if ${\displaystyle f(z+\omega )=g(z,f(z))}$, where ${\displaystyle g}$ is a "simpler" function than ${\displaystyle f}$. What it means to be "simpler" is vague.

A simple case (sometimes called arithmetic quasiperiodic) is if the function obeys the equation:

${\displaystyle f(z+\omega )=f(z)+C}$

Another case (sometimes called geometric quasiperiodic) is if the function obeys the equation:

${\displaystyle f(z+\omega )=Cf(z)}$

A useful example is the function:

${\displaystyle f(z)=\sin(Az)+\sin(Bz)}$

If the ratio A/B is rational, this will have a true period, but if A/B is irrational there is no true period, but a succession of increasingly accurate "almost" periods.

An example of this is the Jacobi theta function, where

${\displaystyle \vartheta (z+\tau ;\tau )=e^{-2\pi iz-\pi i\tau }\vartheta (z;\tau ),}$

shows that for fixed τ it has quasiperiod τ; it also is periodic with period one. Another example is provided by the Weierstrass sigma function, which is quasiperiodic in two independent quasiperiods, the periods of the corresponding Weierstrass function.

Functions with an additive functional equation

${\displaystyle f(z+\omega )=f(z)+az+b\ }$

are also called quasiperiodic. An example of this is the Weierstrass zeta function, where

${\displaystyle \zeta (z+\omega ,\Lambda )=\zeta (z,\Lambda )+\eta (\omega ,\Lambda )\ }$

for a z-independent η when ω is a period of the corresponding Weierstrass ℘ function.

In the special case where ${\displaystyle f(z+\omega )=f(z)\ }$ we say f is periodic with period ω in the period lattice ${\displaystyle \Lambda }$.

## Quasiperiodic signals

Quasiperiodic signals in the sense of audio processing are not quasiperiodic functions; instead they have the nature of almost periodic functions and that article should be consulted. The more vague and general notion of quasiperiodicity has even less to do with quasiperiodic functions in the mathematical sense.