# Positive-definite function

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Positive-definite_function
> Markdown URL: https://mediated.wiki/source/Positive-definite_function.md
> Source: https://en.wikipedia.org/wiki/Positive-definite_function
> Source revision: 1330717759
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Bimodal function}}
In [mathematics](/source/mathematics), a '''positive-definite function''' is, depending on the context, either of two types of [function](/source/function_(mathematics)).

== Definition 1 ==
Let <math>\mathbb{R}</math> be the set of [real number](/source/real_number)s and <math>\mathbb{C}</math> be the set of [complex number](/source/complex_number)s.

A function <math> f: \mathbb{R} \to \mathbb{C} </math>  is called ''positive semi-definite'' if for all real numbers ''x''<sub>1</sub>, …, ''x''<sub>''n''</sub> the ''n'' × ''n'' [matrix](/source/matrix_(mathematics))

:<math> A = \left(a_{ij}\right)_{i,j=1}^n~, \quad a_{ij} = f(x_i - x_j) </math>

is a [positive ''semi-''definite matrix](/source/positive-definite_matrix).{{citation needed|date=June 2023}}

By definition, a positive semi-definite matrix, such as <math>A</math>, is [Hermitian](/source/Hermitian_matrix); therefore ''f''(−''x'') is the [complex conjugate](/source/complex_conjugate) of ''f''(''x'')).

In particular, it is necessary (but not sufficient) that

:<math> f(0) \geq 0~, \quad |f(x)| \leq f(0) </math>

(these inequalities follow from the condition for ''n'' = 1, 2.)

A function is ''negative semi-definite'' if the inequality is reversed.  A function is ''definite'' if the weak inequality is replaced with a strong (<, > 0).

===Examples===
If <math>(X, \langle \cdot, \cdot \rangle)</math> is a real [inner product space](/source/inner_product_space), then <math>g_y \colon X \to \mathbb{C}</math>, <math>x \mapsto \exp(i \langle y, x \rangle)</math> is positive definite for every <math>y \in X</math>: for all <math>u \in \mathbb{C}^n</math> and all <math>x_1, \ldots, x_n</math> we have
:<math>
u^* A^{(g_y)} u
= \sum_{j, k = 1}^{n} \overline{u_k} u_j e^{i \langle y, x_k - x_j \rangle}
= \sum_{k = 1}^{n} \overline{u_k} e^{i \langle y, x_k \rangle} \sum_{j = 1}^{n} u_j e^{- i \langle y, x_j \rangle}
= \left| \sum_{j = 1}^{n} \overline{u_j} e^{i \langle y, x_j \rangle} \right|^2
\ge 0.
</math>
As nonnegative linear combinations of positive definite functions are again positive definite, the [cosine function](/source/cosine_function) is positive definite as a nonnegative linear combination of the above functions:
:<math>
\cos(x) = \frac{1}{2} ( e^{i x} + e^{- i x}) = \frac{1}{2}(g_{1} + g_{-1}).
</math>

One can create a positive definite function <math>f \colon X \to \mathbb{C}</math> easily from positive definite function <math>f \colon \R \to \mathbb C</math> for any [vector space](/source/vector_space) <math>X</math>: choose a [linear function](/source/linear_function) <math>\phi \colon X \to \R</math> and define <math>f^* := f \circ \phi</math>.
Then
:<math>
u^* A^{(f^*)} u
= \sum_{j, k = 1}^{n} \overline{u_k} u_j f^*(x_k - x_j) 
= \sum_{j, k = 1}^{n} \overline{u_k} u_j f(\phi(x_k) - \phi(x_j)) 
= u^* \tilde{A}^{(f)} u
\ge 0,
</math>
where <math>\tilde{A}^{(f)} = \big( f(\phi(x_i) - \phi(x_j)) = f(\tilde{x}_i - \tilde{x}_j) \big)_{i, j}</math> where <math>\tilde{x}_k := \phi(x_k)</math> are distinct as <math>\phi</math> is [linear](/source/linear).<ref>{{cite book |last1=Cheney |first1=Elliot Ward |title=A course in Approximation Theory |date=2009 |publisher=American Mathematical Society |isbn=978-0-8218-4798-5 |pages=77–78 |url=https://books.google.com/books?id=II6DAwAAQBAJ |access-date=3 February 2022}}</ref>

===Bochner's theorem===
{{main|Bochner's theorem}}

Positive-definiteness arises naturally in the theory of the [Fourier transform](/source/Fourier_transform); it can be seen directly that to be positive-definite it is sufficient for ''f'' to be the Fourier transform of a function ''g'' on the real line with ''g''(''y'') ≥ 0.

The converse result is ''[Bochner's theorem](/source/Bochner's_theorem)'', stating that any [continuous](/source/continuous_function) positive-definite function on the real line is the Fourier transform of a (positive) [measure](/source/measure_(mathematics)).<ref>{{cite book | last=Bochner | first=Salomon | author-link=Salomon Bochner | title=Lectures on Fourier integrals | url=https://archive.org/details/lecturesonfourie0000boch | url-access=registration | publisher=Princeton University Press | year=1959}}</ref>

====Applications====

In [statistics](/source/statistics), and especially [Bayesian statistics](/source/Bayesian_statistics), the theorem is usually applied to real functions. Typically, ''n'' scalar measurements of some scalar value at points in <math>R^d</math> are taken and points that are mutually close are required to have measurements that are highly correlated.  In practice, one must be careful to ensure that the resulting covariance matrix (an {{nowrap|''n'' × ''n''}} matrix) is always positive-definite.  One strategy is to define a correlation matrix ''A'' which is then multiplied by a scalar to give a [covariance matrix](/source/covariance_matrix): this must be positive-definite.  Bochner's theorem states that if the correlation between two points is dependent only upon the distance between them (via function ''f''), then function ''f'' must be positive-definite to ensure the covariance matrix ''A'' is positive-definite. See [Kriging](/source/Kriging).

In this context,  Fourier terminology is not normally used and instead it is stated that ''f''(''x'') is the [characteristic function](/source/characteristic_function_(probability_theory)) of a [symmetric](/source/symmetric) [probability density function (PDF)](/source/probability_density_function).

===Generalization===
{{main|Positive-definite function on a group}}

One can define positive-definite functions on any [locally compact abelian topological group](/source/locally_compact_abelian_topological_group); Bochner's theorem extends to this context. Positive-definite functions on groups occur naturally in the [representation theory](/source/representation_theory) of groups on [Hilbert space](/source/Hilbert_space)s (i.e. the theory of [unitary representation](/source/unitary_representation)s).

==Definition 2==
Alternatively, a function <math>f : \reals^n \to \reals</math> is called ''positive-definite'' on a [neighborhood](/source/neighborhood_(mathematics)) ''D'' of the origin if <math>f(0) = 0</math> and <math>f(x) > 0</math> for every non-zero <math>x \in D</math>.<ref>{{cite book|last=Verhulst|first=Ferdinand|title=Nonlinear Differential Equations and Dynamical Systems|edition=2nd|publisher=Springer|year=1996|isbn=3-540-60934-2}}</ref><ref>{{cite book|last=Hahn|first=Wolfgang|title=Stability of Motion|url=https://archive.org/details/stabilityofmotio0000hahn|url-access=registration|publisher=Springer|year=1967}}</ref> 

Note that this definition conflicts with definition 1, given above.

In physics, the requirement that <math>f(0) = 0</math> is sometimes dropped (see, e.g., Corney and Olsen<ref>{{cite journal|first1=J. F.|last1=Corney|first2=M. K.|last2=Olsen|title=Non-Gaussian pure states and positive Wigner functions|journal=Physical Review A|date=19 February 2015|issn=1050-2947 |article-number=023824|volume=91|issue=2|doi=10.1103/PhysRevA.91.023824|arxiv=1412.4868|bibcode=2015PhRvA..91b3824C|s2cid=119293595}}</ref>).

==See also==
* [Positive definiteness](/source/Positive_definiteness)
* [Positive-definite kernel](/source/Positive-definite_kernel)

==References==
* Christian Berg, Christensen, Paul Ressel. ''Harmonic Analysis on Semigroups'', GTM, Springer Verlag. 
* Z. Sasvári, ''Positive Definite and Definitizable Functions'', Akademie Verlag, 1994
* Wells, J. H.; Williams, L. R. ''Embeddings and extensions in analysis''. Ergebnisse der Mathematik und ihrer Grenzgebiete, Band 84. Springer-Verlag, New York-Heidelberg,  1975. vii+108 pp.

==Notes==
<references/>

==External links==
* {{springer|title=Positive-definite function|id=p/p073890}}

Category:Complex analysis
Category:Dynamical systems
Category:Types of functions

---
Adapted from the Wikipedia article [Positive-definite function](https://en.wikipedia.org/wiki/Positive-definite_function) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Positive-definite_function?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
