Identity function: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Neko-chan
Reference edited with ProveIt #proveit
imported>Floating Orb
 
Line 7: Line 7:
==Definition==
==Definition==
Formally, if {{math|''X''}} is a [[Set (mathematics)|set]], the identity function {{math|''f''}} on {{math|''X''}} is defined to be a function with {{math|''X''}} as its [[domain of a function|domain]] and [[codomain]], satisfying
Formally, if {{math|''X''}} is a [[Set (mathematics)|set]], the identity function {{math|''f''}} on {{math|''X''}} is defined to be a function with {{math|''X''}} as its [[domain of a function|domain]] and [[codomain]], satisfying
{{bi|left=1.6|{{math|1=''f''(''x'') = ''x''}} &nbsp;&nbsp;for all elements {{math|''x''}} in {{math|''X''}}.<ref>{{Cite book |last=Knapp |first=Anthony W. |title=Basic algebra |publisher=Springer |year=2006 |isbn=978-0-8176-3248-9}}</ref>}}
{{bi|left=1.6|{{math|1=''f''(''x'') = ''x''}} for all elements {{math|''x''}} in {{math|''X''}}.<ref>{{Cite book |last=Knapp |first=Anthony W. |title=Basic algebra |publisher=Springer |year=2006 |isbn=978-0-8176-3248-9}}</ref>}}


In other words, the function value {{math|''f''(''x'')}} in the codomain {{math|''X''}} is always the same as the input element {{math|''x''}} in the domain {{math|''X''}}. The identity function on {{mvar|X}} is clearly an [[injective function]] as well as a [[surjective function]] (its codomain is also its [[range (function)|range]]), so it is [[bijection|bijective]].<ref>{{cite book |last=Mapa |first=Sadhan Kumar |date= 7 April 2014|title=Higher Algebra Abstract and Linear |edition=11th  |publisher=Sarat Book House |page=36 |isbn=978-93-80663-24-1}}</ref>
In other words, the function value {{math|''f''(''x'')}} in the codomain {{math|''X''}} is always the same as the input element {{math|''x''}} in the domain {{math|''X''}}. The identity function on {{mvar|X}} is clearly an [[injective function]] as well as a [[surjective function]] (its codomain is also its [[range (function)|range]]), so it is [[bijection|bijective]].<ref>{{cite book |last=Mapa |first=Sadhan Kumar |date= 7 April 2014|title=Higher Algebra Abstract and Linear |edition=11th  |publisher=Sarat Book House |page=36 |isbn=978-93-80663-24-1}}</ref>

Latest revision as of 22:39, 26 November 2025

Template:Short description Script error: No such module "Distinguish".

File:Function-x.svg
Graph of the identity function on the real numbers

In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unchanged. That is, when Template:Mvar is the identity function, the equality f(x) = xScript error: No such module "Check for unknown parameters". is true for all values of Template:Mvar to which Template:Mvar can be applied.

Definition

Formally, if XScript error: No such module "Check for unknown parameters". is a set, the identity function fScript error: No such module "Check for unknown parameters". on XScript error: No such module "Check for unknown parameters". is defined to be a function with XScript error: No such module "Check for unknown parameters". as its domain and codomain, satisfying Template:Bi

In other words, the function value f(x)Script error: No such module "Check for unknown parameters". in the codomain XScript error: No such module "Check for unknown parameters". is always the same as the input element xScript error: No such module "Check for unknown parameters". in the domain XScript error: No such module "Check for unknown parameters".. The identity function on Template:Mvar is clearly an injective function as well as a surjective function (its codomain is also its range), so it is bijective.[1]

The identity function fScript error: No such module "Check for unknown parameters". on XScript error: No such module "Check for unknown parameters". is often denoted by idXScript error: No such module "Check for unknown parameters"..

In set theory, where a function is defined as a particular kind of binary relation, the identity function is given by the identity relation, or diagonal of XScript error: No such module "Check for unknown parameters"..[2]

Algebraic properties

If f : XYScript error: No such module "Check for unknown parameters". is any function, then f ∘ idX = f = idYfScript error: No such module "Check for unknown parameters"., where "∘" denotes function composition.[3] In particular, idXScript error: No such module "Check for unknown parameters". is the identity element of the monoid of all functions from XScript error: No such module "Check for unknown parameters". to XScript error: No such module "Check for unknown parameters". (under function composition).

Since the identity element of a monoid is unique,[4] one can alternately define the identity function on MScript error: No such module "Check for unknown parameters". to be this identity element. Such a definition generalizes to the concept of an identity morphism in category theory, where the endomorphisms of MScript error: No such module "Check for unknown parameters". need not be functions.

Properties

See also

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. Script error: No such module "citation/CS1".
  10. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

Template:Functions navbox