Jump to content

Identity function

From Simple English Wikipedia, the free encyclopedia
Revision as of 10:32, 15 December 2024 by 178.238.167.189 (talk) (Algebraic Properties)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

An identity function is a function which maps a set S to itself. In particular, a function id maps any element (such as numbers) to themselves.

Written another way, is the function from X → X, f(x) = x, which maps every element x to itself.

In elementary math, the main example is f(x) = x with the set of numbers.

Notation

[change | change source]

The function idS typically denotes the identify function of a set S, the S in the subscript denotes the set S.

Algebraic properties

[change | change source]

Given two sets X and Y with function f from X → Y, we have the two identities idX and idY, as well, having "○" denote function composition. We have the following