# Embedding

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

{{Redirect|Isometric embedding|related concepts in [metric space](/source/metric_space)s|isometry}}
{{For|embeddings of graphs in two-dimensional manifolds|graph embedding}}
{{Other uses}}
{{Short description|Inclusion of one mathematical structure in another, preserving properties of interest}}
In [mathematics](/source/mathematics), an '''embedding''' (or '''imbedding'''<ref>{{harvnb|Spivak|1999|page=49}} suggests that "the English" (i.e. the British) use "embedding" instead of "imbedding".</ref>) is one instance of some [mathematical structure](/source/mathematical_structure) contained within another instance, such as a [group](/source/group_(mathematics)) that is a [subgroup](/source/subgroup).

When some object <math>X</math> is said to be embedded in another object <math>Y</math>, the embedding is given by some [injective](/source/Injective_function) and structure-preserving map <math>f:X\rightarrow Y</math>. The precise meaning of "structure-preserving" depends on the kind of mathematical structure of which <math>X</math> and <math>Y</math> are instances. In the terminology of [category theory](/source/category_theory), a structure-preserving map is called a [morphism](/source/morphism).

The fact that a map <math>f:X\rightarrow Y</math> is an embedding is often indicated by the use of a "hooked arrow" ({{unichar|21AA|RIGHTWARDS ARROW WITH HOOK|ulink=Unicode}});<ref name="Unicode Arrows">{{cite web| title = Arrows – Unicode| url = https://www.unicode.org/charts/PDF/U2190.pdf| access-date = 2017-02-07}}</ref> thus: <math> f : X \hookrightarrow Y.</math> (On the other hand, this notation is sometimes reserved for [inclusion map](/source/inclusion_map)s.)

Given <math>X</math> and <math>Y</math>, several different embeddings of <math>X</math> in <math>Y</math> may be possible. In many cases of interest there is a standard (or "canonical") embedding, like those of the [natural number](/source/natural_number)s in the [integer](/source/integer)s, the integers in the [rational number](/source/rational_number)s, the rational numbers in the [real number](/source/real_number)s, and the real numbers in the [complex number](/source/complex_number)s. In such cases it is common to identify the [domain](/source/Domain_of_a_function) <math>X</math> with its [image](/source/image_(mathematics)) <math>f(X)</math> contained in <math>Y</math>, so that <math>X\subseteq Y</math>.

==Topology and geometry==
===General topology===

In [general topology](/source/general_topology), an embedding is a [homeomorphism](/source/homeomorphism) onto its image.<ref>{{harvnb|Hocking|Young|1988|page=73}}. {{harvnb|Sharpe|1997|page=16}}.</ref> More explicitly, an injective [continuous](/source/continuous_function_(topology)) map <math>f : X \to Y</math> between [topological space](/source/topological_space)s <math>X</math> and <math>Y</math> is a '''topological embedding''' if <math>f</math> yields a homeomorphism between <math>X</math> and <math>f(X)</math> (where <math>f(X)</math> carries the [subspace topology](/source/subspace_topology) inherited from <math>Y</math>). Intuitively then, the embedding <math>f : X \to Y</math> lets us treat <math>X</math> as a [subspace](/source/subspace_topology) of <math>Y</math>. Every embedding is injective and [continuous](/source/continuous_function_(topology)). Every map that is injective, continuous and either [open](/source/open_map) or [closed](/source/closed_map) is an embedding; however there are also embeddings that are neither open nor closed. The latter happens if the image <math>f(X)</math> is neither an [open set](/source/open_set) nor a [closed set](/source/closed_set) in <math>Y</math>.

For a given space <math>Y</math>, the existence of an embedding <math>X \to Y</math> is a [topological invariant](/source/topological_invariant) of <math>X</math>. This allows two spaces to be distinguished if one is able to be embedded in a space while the other is not.

====Related definitions====

If the domain of a function <math>f : X \to Y</math> is a [topological space](/source/topological_space) then the function is said to be ''{{visible anchor|locally injective at a point}}'' if there exists some [neighborhood](/source/Neighbourhood_(mathematics)) <math>U</math> of this point such that the restriction <math>f\big\vert_U : U \to Y</math> is injective. It is called ''{{visible anchor|locally injective}}'' if it is locally injective around every point of its domain. Similarly, a ''{{visible anchor|local topological embedding|text=local (topological, resp. smooth) embedding}}'' is a function for which every point in its domain has some neighborhood to which its restriction is a (topological, resp. smooth) embedding. 

Every injective function is locally injective but not conversely. [Local diffeomorphism](/source/Local_diffeomorphism)s, [local homeomorphism](/source/local_homeomorphism)s, and smooth [immersion](/source/Immersion_(mathematics))s are all locally injective functions that are not necessarily injective. The [inverse function theorem](/source/inverse_function_theorem) gives a sufficient condition for a continuously differentiable function to be (among other things) locally injective. Every [fiber](/source/Fiber_(mathematics)) of a locally injective function <math>f : X \to Y</math> is necessarily a [discrete subspace](/source/Discrete_space) of its [domain](/source/Domain_of_a_function) <math>X.</math>

===Differential topology===

In [differential topology](/source/differential_topology):
Let <math>M</math> and <math>N</math> be smooth [manifold](/source/manifold)s and <math>f:M\to N</math> be a smooth map. Then <math>f</math> is called an [immersion](/source/immersion_(mathematics)) if its [derivative](/source/pushforward_(differential)) is everywhere injective. An '''embedding''', or a '''smooth embedding''', is defined to be an immersion that is an embedding in the topological sense mentioned above (i.e. [homeomorphism](/source/homeomorphism) onto its image).<ref>{{harvnb|Bishop|Crittenden|1964|page=21}}. {{harvnb|Bishop|Goldberg|1968|page=40}}. {{harvnb|Crampin|Pirani|1994|page=243}}. {{harvnb|do Carmo|1994|page=11}}. {{harvnb|Flanders|1989|page=53}}. {{harvnb|Gallot|Hulin|Lafontaine|2004|page=12}}. {{harvnb|Kobayashi|Nomizu|1963|page=9}}. {{harvnb|Kosinski|2007|page=27}}. {{harvnb|Lang|1999|page=27}}. {{harvnb|Lee|1997|page=15}}. {{harvnb|Spivak|1999|page=49}}. {{harvnb|Warner|1983|page=22}}.</ref> 
 
In other words, the domain of an embedding is [diffeomorphic](/source/diffeomorphism) to its image, and in particular the image of an embedding must be a [submanifold](/source/submanifold). An immersion is precisely a '''local embedding''', i.e. for any point <math>x\in M</math> there is a neighborhood <math>x\in U\subset M</math> such that <math>f:U\to N</math> is an embedding.

When the domain manifold is compact, the notion of a smooth embedding is equivalent to that of an injective immersion.

An important case is <math>N = \mathbb{R}^n</math>. The interest here is in how large <math>n</math> must be for an embedding, in terms of the dimension <math>m</math> of <math>M</math>. The [Whitney embedding theorem](/source/Whitney_embedding_theorem)<ref>Whitney H., ''Differentiable manifolds,'' Ann. of Math. (2), '''37''' (1936), pp. 645–680</ref> states that <math>n = 2m</math> is enough, and is the best possible linear bound. For example, the [real projective space](/source/real_projective_space) <math>\mathbb{R}\mathrm{P}^m</math> of dimension <math>m</math>, where <math>m</math> is a power of two, requires <math>n = 2m</math> for an embedding. However, this does not apply to immersions; for instance, <math>\mathbb{R}\mathrm{P}^2</math> can be immersed in <math>\mathbb{R}^3</math> as is explicitly shown by [Boy's surface](/source/Boy's_surface)&mdash;which has self-intersections. The [Roman surface](/source/Roman_surface) fails to be an immersion as it contains [cross-cap](/source/cross-cap)s.

{{Anchor|ProperEmbedding}}An embedding is '''proper''' if it behaves well with respect to [boundaries](/source/Topological_manifold): one requires the map <math>f: X \rightarrow Y</math> to be such that

*<math>f(\partial X) = f(X) \cap \partial Y</math>, and
*<math>f(X)</math> is [transverse](/source/Transversality_(mathematics)) to <math>\partial Y</math> in any point of <math>f(\partial X)</math>.

The first condition is equivalent to having <math>f(\partial X) \subseteq \partial Y</math> and <math>f(X \setminus \partial X) \subseteq Y \setminus \partial Y</math>. The second condition, roughly speaking, says that <math>f(X)</math> is not tangent to the boundary of <math>Y</math>.

===Riemannian and pseudo-Riemannian geometry===

In [Riemannian geometry](/source/Riemannian_geometry) and pseudo-Riemannian geometry:
Let <math>(M,g)</math> and <math>(N,h)</math> be [Riemannian manifold](/source/Riemannian_manifold)s or more generally [pseudo-Riemannian manifold](/source/pseudo-Riemannian_manifold)s.
An '''isometric embedding''' is a smooth embedding <math>f:M\rightarrow N</math> that preserves the  (pseudo-)[metric](/source/Riemannian_metric) in the sense that <math>g</math> is equal to the [pullback](/source/pullback_(differential_geometry)) of <math>h</math> by <math>f</math>, i.e. <math>g=f^{*}h</math>. Explicitly, for any two tangent vectors <math>v,w\in T_x(M)</math> we have

:<math>g(v,w)=h(df(v),df(w)).</math>

Analogously, '''isometric immersion''' is an immersion between (pseudo)-Riemannian manifolds that preserves the (pseudo)-Riemannian metrics.

Equivalently, in Riemannian geometry, an isometric embedding (immersion) is a smooth embedding (immersion) that preserves length of [curve](/source/curve)s (cf. [Nash embedding theorem](/source/Nash_embedding_theorem)).<ref>Nash J.,  ''The embedding problem for Riemannian manifolds,'' Ann. of Math. (2), '''63''' (1956), 20–63.</ref>

==Algebra==
In general, for an [algebraic category](/source/Variety_(universal_algebra)) <math>C</math>, an embedding between two <math>C</math>-algebraic structures <math>X</math> and <math>Y</math> is a <math>C</math>-morphism {{nowrap|<math>e:X\rightarrow Y</math>}} that is injective.

===Field theory===

In [field theory](/source/field_theory_(mathematics)), an '''embedding''' of a [field](/source/field_(mathematics)) <math>E</math> in a field <math>F</math> is a [ring homomorphism](/source/ring_homomorphism) {{nowrap|<math>\sigma:E\rightarrow F</math>}}.

The [kernel](/source/Kernel_(algebra)) of <math>\sigma</math> is an [ideal](/source/ideal_(ring_theory)) of <math>E</math>, which cannot be the whole field <math>E</math>, because of the condition {{nowrap|<math>1=\sigma(1)=1</math>}}. Furthermore, any field has as ideals only the zero ideal and the whole field itself (because if there is any non-zero field element in an ideal, it is invertible, showing the ideal is the whole field). Therefore, the kernel is <math>0</math>, so any embedding of fields is a [monomorphism](/source/monomorphism). Hence, <math>E</math> is [isomorphic](/source/isomorphic) to the [subfield](/source/Field_extension) <math>\sigma(E)</math> of <math>F</math>. This justifies the name ''embedding'' for an arbitrary homomorphism of fields.

===Universal algebra and model theory===
{{further|Structure (mathematical logic)#Embeddings|Elementary equivalence}}

If <math>\sigma</math> is a [signature](/source/signature_(logic)) and <math>A,B</math> are <math>\sigma</math>-[structures](/source/structure_(mathematical_logic)) (also called <math>\sigma</math>-algebras in [universal algebra](/source/universal_algebra) or models in [model theory](/source/model_theory)), then a map <math>h:A \to B</math> is a <math>\sigma</math>-embedding exactly if all of the following hold:
* <math>h</math> is injective,
* for every <math>n</math>-ary function symbol <math>f \in\sigma</math> and <math>a_1,\ldots,a_n \in A^n,</math> we have <math>h(f^A(a_1,\ldots,a_n))=f^B(h(a_1),\ldots,h(a_n))</math>,
* for every <math>n</math>-ary relation symbol <math>R \in\sigma</math> and <math>a_1,\ldots,a_n \in A^n,</math> we have <math>A \models R(a_1,\ldots,a_n)</math> iff <math>B \models R(h(a_1),\ldots,h(a_n)).</math>

Here <math>A\models R (a_1,\ldots,a_n)</math> is a model theoretical notation equivalent to <math>(a_1,\ldots,a_n)\in R^A</math>. In model theory there is also a stronger notion of [elementary embedding](/source/elementary_embedding).

==Order theory and domain theory==
In [order theory](/source/order_theory), an embedding of [partially ordered set](/source/partially_ordered_set)s is a function <math>F</math> between partially ordered sets <math>X</math> and <math>Y</math> such that

:<math>\forall x_1,x_2\in X: x_1\leq x_2 \iff F(x_1)\leq F(x_2).</math>

Injectivity of <math>F</math>
follows quickly from this definition. In [domain theory](/source/domain_theory), an additional requirement is that

:<math> \forall y\in Y:\{x \mid F(x) \leq y\}</math> is [directed](/source/Directed_set).

==Metric spaces==

A mapping <math>\phi: X \to Y</math> of [metric spaces](/source/metric_spaces) is called an ''embedding''
(with [distortion](/source/stretch_factor) <math>C>0</math>) if
:<math> L d_X(x, y) \leq d_Y(\phi(x), \phi(y)) \leq CLd_X(x,y) </math>
for every <math>x,y\in X</math> and some constant <math>L>0</math>.

=== Normed spaces ===

An important special case is that of [normed spaces](/source/normed_spaces); in this case it is natural to consider linear embeddings.

One of the basic questions that can be asked about a finite-dimensional [normed space](/source/normed_space) <math>(X, \| \cdot \|)</math> is, ''what is the maximal dimension <math>k</math> such that the [Hilbert space](/source/Hilbert_space) <math>\ell_2^k</math> can be linearly embedded into <math>X</math> with constant distortion?''

The answer is given by [Dvoretzky's theorem](/source/Dvoretzky's_theorem).

==Category theory==

In [category theory](/source/category_theory), there is no satisfactory and generally accepted definition of embeddings that is applicable in all categories. One would expect that all isomorphisms and all compositions of embeddings are embeddings, and that all embeddings are monomorphisms. Other typical requirements are: any [extremal monomorphism](/source/monomorphism) is an embedding and embeddings are stable under [pullback](/source/Pullback_(category_theory))s.

Ideally the class of all embedded [subobject](/source/subobject)s of a given object, up to isomorphism, should also be [small](/source/small_class), and thus an [ordered set](/source/ordered_set). In this case, the category is said to be well powered with respect to the class of embeddings. This allows defining new local structures in the category (such as a [closure operator](/source/closure_operator)).

In a [concrete category](/source/concrete_category), an '''embedding''' is a morphism <math>f:A\rightarrow B</math> that is an injective function from the underlying set of <math>A</math> to the underlying set of <math>B</math> and is also an '''initial morphism''' in the following sense:
If <math>g</math> is a function from the underlying set of an object <math>C</math> to the underlying set of <math>A</math>, and if its composition with <math>f</math> is a morphism <math>fg:C\rightarrow B</math>, then <math>g</math> itself is a morphism.

A [factorization system](/source/factorization_system) for a category also gives rise to a notion of embedding. If <math>(E,M)</math> is a factorization system, then the morphisms in <math>M</math> may be regarded as the embeddings, especially when the category is well powered with respect to <math>M</math>. Concrete theories often have a factorization system in which <math>M</math> consists of the embeddings in the previous sense. This is the case of the majority of the examples given in this article.

As usual in category theory, there is a [dual](/source/dual_(category_theory)) concept, known as quotient. All the preceding properties can be dualized.

An embedding can also refer to an [embedding functor](/source/Subcategory).

==See also==
*[Embedding (machine learning)](/source/Embedding_(machine_learning))
*[Ambient space](/source/Ambient_space)
*[Closed immersion](/source/Closed_immersion)
*[Cover](/source/Cover_(algebra))
*[Dimensionality reduction](/source/Dimensionality_reduction)
*[Flat (geometry)](/source/Flat_(geometry))
*[Immersion](/source/Immersion_(mathematics))
*[Johnson–Lindenstrauss lemma](/source/Johnson%E2%80%93Lindenstrauss_lemma)
*[Submanifold](/source/Submanifold)
*[Subspace](/source/Subspace_(topology))
*[Universal space](/source/Universal_spaces_in_the_topology_and_topological_dynamics)

==Notes==
{{reflist}}

== References ==
{{refbegin}}
* {{cite book|last1=Bishop|first1=Richard Lawrence|author-link1=Richard L. Bishop|last2=Crittenden|first2=Richard J.|title=Geometry of manifolds|publisher=Academic Press|location=New York|year=1964|isbn=978-0-8218-2923-3}}
* {{cite book|last1=Bishop|first1=Richard Lawrence|author1-link=Richard L. Bishop|last2=Goldberg|first2=Samuel Irving|title=Tensor Analysis on Manifolds|publisher=The Macmillan Company|year=1968|edition=First Dover 1980|isbn=0-486-64039-6|url=https://archive.org/details/tensoranalysison00bish}}
* {{cite book|last1=Crampin|first1=Michael|last2=Pirani|first2=Felix Arnold Edward|author-link2=Felix Pirani|title=Applicable differential geometry|publisher=Cambridge University Press|location=Cambridge, England|year=1994|isbn=978-0-521-23190-9|url-access=registration|url=https://archive.org/details/applicablediffer0000cram}}
*{{cite book|title = Riemannian Geometry|first=Manfredo Perdigao | last = do Carmo |author-link=Manfredo do Carmo | year = 1994|publisher=Birkhäuser Boston |isbn=978-0-8176-3490-2}}
* {{cite book|last=Flanders|first=Harley|author-link=Harley Flanders|title=Differential forms with applications to the physical sciences|publisher=Dover|year=1989|isbn=978-0-486-66169-8}}
* {{Cite book| last1=Gallot | first1=Sylvestre | author1-link=Sylvestre Gallot | last2=Hulin | first2=Dominique |author2-link=Dominique Hulin| last3=Lafontaine | first3=Jacques | title=Riemannian Geometry | publisher=[Springer-Verlag](/source/Springer-Verlag) | location=Berlin, New York | edition=3rd | isbn=978-3-540-20493-0 | year=2004}}
* {{cite book|first1=John Gilbert|last1=Hocking|first2=Gail Sellers|last2=Young|title=Topology|year=1988|orig-year=1961|publisher=Dover|isbn=0-486-65676-4|url=https://archive.org/details/topology00hock_0}}
*{{cite book|last=Kosinski|first=Antoni Albert|year=2007|orig-year=1993|title=Differential manifolds|location=Mineola, New York|publisher=Dover Publications|isbn=978-0-486-46244-8}}
*{{Cite book| isbn = 978-0-387-98593-0 | title = Fundamentals of Differential Geometry | last1 = Lang | first1 = Serge |author-link1=Serge Lang| year = 1999 |publisher=Springer|location=New York| series = Graduate Texts in Mathematics}}
*{{cite book|last1=Kobayashi|first1=Shoshichi|author-link1=Shoshichi Kobayashi|last2=Nomizu|first2=Katsumi|author-link2=Katsumi Nomizu| title = [Foundations of Differential Geometry](/source/Foundations_of_Differential_Geometry), Volume 1| publisher=Wiley-Interscience |location=New York| year=1963}}
* {{cite book|first=John Marshall|last=Lee|authorlink = John M. Lee|title=Riemannian manifolds|publisher=Springer Verlag|year=1997|isbn=978-0-387-98322-6}}
* {{cite book| first = R.W. | last = Sharpe | title = Differential Geometry: Cartan's Generalization of Klein's Erlangen Program | publisher = Springer-Verlag, New York | year = 1997| isbn = 0-387-94732-9}}.
* {{cite book|last=Spivak|first=Michael|author-link=Michael Spivak|title=A Comprehensive introduction to differential geometry (Volume 1)|year=1999|orig-year=1970|publisher=Publish or Perish|isbn=0-914098-70-5}}
* {{cite book| first=Frank Wilson| last = Warner |authorlink  = Frank Wilson Warner| title = Foundations of Differentiable Manifolds and Lie Groups | publisher = Springer-Verlag, New York | year = 1983| isbn = 0-387-90894-3}}.
{{refend}}

== External links ==
*{{cite book|last=Adámek|first=Jiří|author2=Horst Herrlich |author3=George Strecker |title=Abstract and Concrete Categories (The Joy of Cats)|url=http://katmat.math.uni-bremen.de/acc/|year=2006}}
* [http://www.map.mpim-bonn.mpg.de/Embedding Embedding of manifolds] {{Webarchive|url=https://web.archive.org/web/20160418002322/http://www.map.mpim-bonn.mpg.de/Embedding |date=2016-04-18 }} on the Manifold Atlas
{{set index article}}

Category:Abstract algebra
Category:Category theory
Category:General topology
Category:Differential topology
Category:Functions and mappings
Category:Maps of manifolds
Category:Model theory
Category:Order theory

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