Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Metric space
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Generalizations of metric spaces== There are several notions of spaces which have less structure than a metric space, but more than a topological space. * [[Uniform space]]s are spaces in which distances are not defined, but uniform continuity is. * [[Approach space]]s are spaces in which point-to-set distances are defined, instead of point-to-point distances. They have particularly good properties from the point of view of [[category theory]]. * [[Continuity space]]s are a generalization of metric spaces and [[poset]]s that can be used to unify the notions of metric spaces and [[Domain theory|domain]]s. There are also numerous ways of relaxing the axioms for a metric, giving rise to various notions of generalized metric spaces. These generalizations can also be combined. The terminology used to describe them is not completely standardized. Most notably, in [[functional analysis]] pseudometrics often come from [[seminorm]]s on vector spaces, and so it is natural to call them "semimetrics". This conflicts with the use of the term in [[topology]]. === Extended metrics === Some authors define metrics so as to allow the distance function {{mvar|d}} to attain the value ∞, i.e. distances are non-negative numbers on the [[extended real number line]].{{sfn|Burago|Burago|Ivanov|2001|p=1}} Such a function is also called an ''extended metric'' or "∞-metric". Every extended metric can be replaced by a real-valued metric that is topologically equivalent. This can be done using a [[Subadditive function|subadditive]] monotonically increasing bounded function which is zero at zero, e.g. <math>d'(x, y) = d(x, y) / (1 + d(x, y))</math> or <math>d''(x, y) = \min(1, d(x, y))</math>. === Metrics valued in structures other than the real numbers === The requirement that the metric take values in <math>[0,\infty)</math> can be relaxed to consider metrics with values in other structures, including: * [[Ordered field]]s, yielding the notion of a [[generalised metric]]. * More general [[directed set]]s. In the absence of an addition operation, the triangle inequality does not make sense and is replaced with an [[ultrametric space|ultrametric inequality]]. This leads to the notion of a ''generalized ultrametric''.{{sfn|Hitzler|Seda|2016|loc=Definition 4.3.1}} These generalizations still induce a [[uniform space|uniform structure]] on the space. ===Pseudometrics=== {{Main|Pseudometric space}} A ''pseudometric'' on <math>X</math> is a function <math>d: X \times X \to \R</math> which satisfies the axioms for a metric, except that instead of the second (identity of indiscernibles) only <math>d(x,x)=0</math> for all ''<math>x</math>'' is required.{{sfn|Hitzler|Seda|2016|loc=Definition 4.2.1}} In other words, the axioms for a pseudometric are: # <math>d(x, y) \geq 0</math> # <math>d(x,x)=0</math> # <math>d(x,y)=d(y,x)</math> # <math>d(x,z)\leq d(x,y) + d(y,z)</math>. In some contexts, pseudometrics are referred to as ''semimetrics''{{sfn|Burago|Burago|Ivanov|2001|loc=Definition 1.1.4}} because of their relation to [[seminorm]]s. ===Quasimetrics=== Occasionally, a '''quasimetric''' is defined as a function that satisfies all axioms for a metric with the possible exception of symmetry.<ref>{{harvtxt|Steen|Seebach|1995}}; {{harvtxt|Smyth|1988}}</ref> The name of this generalisation is not entirely standardized.<ref>{{harvtxt|Rolewicz|1987}} calls them "semimetrics". That same term is also frequently used for two other generalizations of metrics.</ref> # <math>d(x, y) \geq 0</math> # <math>d(x,y)=0 \iff x=y </math> # <math>d(x,z) \leq d(x,y) + d(y,z)</math> Quasimetrics are common in real life. For example, given a set {{mvar|X}} of mountain villages, the typical walking times between elements of {{mvar|X}} form a quasimetric because travel uphill takes longer than travel downhill. Another example is the [[taxicab geometry|length of car rides]] in a city with one-way streets: here, a shortest path from point {{mvar|A}} to point {{mvar|B}} goes along a different set of streets than a shortest path from {{mvar|B}} to {{mvar|A}} and may have a different length. A quasimetric on the reals can be defined by setting <math display="block">d(x,y)=\begin{cases} x-y & \text{if }x\geq y,\\ 1 & \text{otherwise.} \end{cases}</math> The 1 may be replaced, for example, by infinity or by <math>1 + \sqrt{y-x}</math> or any other [[subadditivity|subadditive]] function of {{math|''y''-''x''}}. This quasimetric describes the cost of modifying a metal stick: it is easy to reduce its size by [[Filing (metalworking)|filing it down]], but it is difficult or impossible to grow it. Given a quasimetric on {{mvar|X}}, one can define an {{mvar|R}}-ball around {{mvar|x}} to be the set <math>\{y \in X | d(x,y) \leq R\}</math>. As in the case of a metric, such balls form a basis for a topology on {{mvar|X}}, but this topology need not be metrizable. For example, the topology induced by the quasimetric on the reals described above is the (reversed) [[Sorgenfrey line]]. ===Metametrics or partial metrics=== In a ''metametric'', all the axioms of a metric are satisfied except that the distance between identical points is not necessarily zero. In other words, the axioms for a metametric are: # <math>d(x,y)\geq 0</math> # <math>d(x,y)=0 \implies x=y</math> # <math>d(x,y)=d(y,x)</math> # <math>d(x,z)\leq d(x,y)+d(y,z).</math> Metametrics appear in the study of [[Δ-hyperbolic space|Gromov hyperbolic metric spaces]] and their boundaries. The ''visual metametric'' on such a space satisfies <math>d(x,x)=0</math> for points <math>x</math> on the boundary, but otherwise <math>d(x,x)</math> is approximately the distance from ''<math>x</math>'' to the boundary. Metametrics were first defined by Jussi Väisälä.{{sfn|Väisälä|2005}} In other work, a function satisfying these axioms is called a ''partial metric''<ref>{{cite web|url=http://www.dcs.warwick.ac.uk/pmetric/|title=Partial metrics: welcome|website=www.dcs.warwick.ac.uk|access-date=2 May 2018|url-status=live|archive-url=https://web.archive.org/web/20170727003912/http://www.dcs.warwick.ac.uk/pmetric/|archive-date=27 July 2017}}</ref><ref>{{cite journal |last1=Bukatin |first1=Michael |last2=Kopperman |first2=Ralph |last3=Matthews |first3=Steve |last4=Pajoohesh |first4=Homeira |title=Partial Metric Spaces |journal=American Mathematical Monthly |date=1 October 2009 |volume=116 |issue=8 |pages=708–718 |doi=10.4169/193009709X460831 |s2cid=13969183 |url=https://www.dcs.warwick.ac.uk/pmetric/monthly708-718.pdf}}</ref> or a ''dislocated metric''.{{sfn|Hitzler|Seda|2016|loc=Definition 4.2.1}} ===Semimetrics=== A '''semimetric''' on <math>X</math> is a function <math>d: X \times X \to \R</math> that satisfies the first three axioms, but not necessarily the triangle inequality: # <math>d(x,y)\geq 0</math> # <math>d(x,y)=0 \iff x=y</math> # <math>d(x,y)=d(y,x)</math> Some authors work with a weaker form of the triangle inequality, such as: :{| |<math>d(x,z)\leq \rho\,(d(x,y)+d(y,z))</math> |ρ-relaxed triangle inequality |- |<math>d(x,z)\leq \rho\,\max\{d(x,y),d(y,z)\}</math> |ρ-inframetric inequality |} The ρ-inframetric inequality implies the ρ-relaxed triangle inequality (assuming the first axiom), and the ρ-relaxed triangle inequality implies the 2ρ-inframetric inequality. Semimetrics satisfying these equivalent conditions have sometimes been referred to as ''quasimetrics'',{{sfn|Xia|2009}} ''nearmetrics''{{sfn|Xia|2008}} or '''inframetrics'''.{{sfn|Fraigniaud|Lebhar|Viennot|2008}} The ρ-inframetric inequalities were introduced to model [[round-trip delay time]]s in the [[internet]].{{sfn|Fraigniaud|Lebhar|Viennot|2008}} The triangle inequality implies the 2-inframetric inequality, and the [[ultrametric inequality]] is exactly the 1-inframetric inequality. ===Premetrics=== Relaxing the last three axioms leads to the notion of a '''premetric''', i.e. a function satisfying the following conditions: # <math>d(x,y)\geq 0</math> # <math>d(x,x)=0</math> This is not a standard term. Sometimes it is used to refer to other generalizations of metrics such as pseudosemimetrics{{sfn|Buldygin|Kozachenko|2000}} or pseudometrics;{{sfn|Helemskii|2006}} in translations of Russian books it sometimes appears as "prametric".<ref>{{harvtxt|Arkhangel'skii|Pontryagin|1990}}; {{harvtxt|Aldrovandi|Pereira|2017}}</ref> A premetric that satisfies symmetry, i.e. a pseudosemimetric, is also called a distance.{{sfn|Deza|Laurent|1997}} Any premetric gives rise to a topology as follows. For a positive real <math>r</math>, the {{Nobr|<math>r</math>-ball}} centered at a point <math>p</math> is defined as :<math>B_r(p)=\{ x | d(x,p) < r \}.</math> A set is called ''open'' if for any point ''<math>p</math>'' in the set there is an {{Nobr|<math>r</math>-ball}} centered at ''<math>p</math>'' which is contained in the set. Every premetric space is a topological space, and in fact a [[sequential space]].<!--I copied this claim from [[premetric space]] without checking--> In general, the {{Nobr|<math>r</math>-balls}} themselves need not be open sets with respect to this topology. As for metrics, the distance between two sets <math>A</math> and ''<math>B</math>'', is defined as :<math>d(A,B)=\underset{x\in A, y\in B}\inf d(x,y).</math> This defines a premetric on the [[power set]] of a premetric space. If we start with a (pseudosemi-)metric space, we get a pseudosemimetric, i.e. a symmetric premetric. Any premetric gives rise to a [[preclosure operator]] <math>cl</math> as follows: :<math>cl(A)=\{ x | d(x,A) = 0 \}.</math> ===Pseudoquasimetrics=== The prefixes ''pseudo-'', ''quasi-'' and ''semi-'' can also be combined, e.g., a '''pseudoquasimetric''' (sometimes called '''hemimetric''') relaxes both the indiscernibility axiom and the symmetry axiom and is simply a premetric satisfying the triangle inequality. For pseudoquasimetric spaces the open {{Nobr|<math>r</math>-balls}} form a basis of open sets. A very basic example of a pseudoquasimetric space is the set <math>\{0,1\}</math> with the premetric given by <math>d(0,1) = 1</math> and <math>d(1,0) = 0.</math> The associated topological space is the [[Sierpiński space]]. Sets equipped with an extended pseudoquasimetric were studied by [[William Lawvere]] as "generalized metric spaces".<ref>{{harvtxt|Lawvere|1973}}; {{harvtxt|Vickers|2005}}</ref> From a [[Category theory|categorical]] point of view, the extended pseudometric spaces and the extended pseudoquasimetric spaces, along with their corresponding nonexpansive maps, are the best behaved of the [[category of metric spaces|metric space categories]]. One can take arbitrary products and coproducts and form quotient objects within the given category. If one drops "extended", one can only take finite products and coproducts. If one drops "pseudo", one cannot take quotients. Lawvere also gave an alternate definition of such spaces as [[enriched category|enriched categories]]. The ordered set <math>(\mathbb{R},\geq)</math> can be seen as a [[Category (mathematics)|category]] with one [[morphism]] <math>a\to b</math> if <math>a\geq b</math> and none otherwise. Using {{math|+}} as the [[tensor product]] and 0 as the [[Identity element|identity]] makes this category into a [[monoidal category]] <math>R^*</math>. Every (extended pseudoquasi-)metric space <math>(M,d)</math> can now be viewed as a category <math>M^*</math> enriched over <math>R^*</math>: * The objects of the category are the points of {{mvar|M}}. * For every pair of points {{mvar|x}} and {{mvar|y}} such that <math>d(x,y)<\infty</math>, there is a single morphism which is assigned the object <math>d(x,y)</math> of <math>R^*</math>. * The triangle inequality and the fact that <math>d(x,x)=0</math> for all points {{mvar|x}} derive from the properties of composition and identity in an enriched category. * Since <math>R^*</math> is a poset, all [[Diagram (category theory)|diagrams]] that are required for an enriched category commute automatically. ===Metrics on multisets=== The notion of a metric can be generalized from a distance between two elements to a number assigned to a multiset of elements. A [[multiset]] is a generalization of the notion of a [[set (mathematics)|set]] in which an element can occur more than once. Define the multiset union <math>U=XY</math> as follows: if an element {{mvar|x}} occurs {{mvar|m}} times in {{mvar|X}} and {{mvar|n}} times in {{mvar|Y}} then it occurs {{math|''m'' + ''n''}} times in {{mvar|U}}. A function {{mvar|d}} on the set of nonempty finite multisets of elements of a set {{mvar|M}} is a metric{{sfn|Vitányi|2011}} if # <math>d(X)=0</math> if all elements of {{mvar|X}} are equal and <math>d(X) > 0</math> otherwise ([[positive definiteness]]) # <math>d(X)</math> depends only on the (unordered) multiset {{mvar|X}} ([[symmetry]]) # <math>d(XY) \leq d(XZ)+d(ZY)</math> ([[triangle inequality]]) By considering the cases of axioms 1 and 2 in which the multiset {{mvar|X}} has two elements and the case of axiom 3 in which the multisets {{mvar|X}}, {{mvar|Y}}, and {{mvar|Z}} have one element each, one recovers the usual axioms for a metric. That is, every multiset metric yields an ordinary metric when restricted to sets of two elements. A simple example is the set of all nonempty finite multisets <math>X</math> of integers with <math>d(X)=\max (X)- \min (X)</math>. More complex examples are [[information distance]] in multisets;{{sfn|Vitányi|2011}} and [[normalized compression distance]] (NCD) in multisets.{{sfn|Cohen|Vitányi|2012}}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Metric space
(section)
Add topic