PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: Very high
function (Definition)

A function is a triplet $ (f,A,B)$ where:

  1. $ A$ is a set (called the domain of the function).
  2. $ B$ is a set (called the codomain of the function).
  3. $ f$ is a binary relation between $ A$ and $ B$.
  4. For every $ a \in A$, there exists $ b \in B$ such that $ (a,b) \in f$.
  5. If $ a \in A$, $ b_1,b_2 \in B$, and $ (a,b_1) \in f$ and $ (a,b_2) \in f$, then $ b_1 = b_2$.
The triplet $ (f,A,B)$ is usually written with the specialized notation $ f\colon A \to B$. This notation visually conveys the fact that $ f$ maps elements of $ A$ into elements of $ B$.

Other standard notations for functions are as follows:

  • For $ a \in A$, one denotes by $ f(a)$ the unique element $ b \in B$ such that $ (a,b) \in f$.
  • The image of $ (f,A,B)$, denoted $ f(A)$, is the set
    $\displaystyle \{b \in B \mid f(a) = b$    for some $\displaystyle a \in A\} $
    consisting of all elements of $ B$ which equal $ f(a)$ for some element $ a \in A$. Note that, by abuse of notation, the set $ f(A)$ is almost always called the image of $ f$, rather than the image of $ (f,A,B)$.
  • In cases where the function $ f$ is clear from context, the notation $ a \mapsto b$ is equivalent to the statement $ f(a) = b$.
  • Given two functions $ f\colon A \to B$ and $ g\colon B \to C$, there exists a unique function $ g \circ f\colon A \to C$ satisfying the equation $ g \circ f(a) = g(f(a))$. The function $ g \circ f$ is called the composition of $ f$ and $ g$. Composition is associative, meaning that $ h \circ (g \circ f) = (h \circ g) \circ f$ provided that either expression is defined.
  • When a function $ f\colon A \to A$ has its domain equal to its codomain, one often writes $ f^n$ for the $ n$-fold composition
    $\displaystyle \underbrace{f \circ f \circ \cdots \circ f}_{n\text{ times}} $
    where $ n$ is any natural number. Occasionally this can be confused with ordinary exponentiation (for example the function $ x\mapsto (\sin x)(\sin x)$ is conventionally written as $ \sin^2$); in such cases one usually writes $ f^{[n]}$ to denote the $ n$-fold composition.
There is no universal agreement as to the definition of the range of a function. Some authors define the range of a function to be equal to the codomain, and others define the range of a function to be equal to the image.

Remark. In set theory, a function is defined as a relation $ f$, such that whenever $ (a,c),(b,c)\in f$, then $ a=b$. Notice that the sets $ A,B$ are not specified in advance, unlike the defintion given in the beginning of the article. The domain and range of the function $ f$ is the domain and range of $ f$ as a relation. Using this definition of a function, we may recapture the defintion at the top of the entry by saying that a function $ f$ maps from a set $ A$ into a set $ B$, if the domain of $ f$ is $ A$, and the range of $ f$ is a subset of $ B$.



"function" is owned by djao. [ full author list (3) ]
(view preamble)

View style:

See Also: mapping, injective function, surjective, bijection, relation

Other names:  map
Also defines:  domain, codomain, composition, image, range

Attachments:
mapping (Definition) by rmilson
restriction of a function (Definition) by yark
real function (Topic) by rspuzio
complex function (Definition) by Wkbj79
properties of functions (Result) by yark
argument (Definition) by Wkbj79
properties of a function (Definition) by CWoo
quasi-inverse of a function (Definition) by CWoo
sum and product and quotient of functions (Definition) by pahio
extension of a function (Definition) by Wkbj79
Log in to rate this entry.
(view current ratings)

Cross-references: subset, relation, set theory, universal, natural number, expression, associative, equation, equivalent, clear, binary relation, triplet
There are 896 references to this entry.

This is version 16 of function, born on 2001-10-19, modified 2008-04-30.
Object id is 360, canonical name is Function.
Accessed 78154 times total.

Classification:
AMS MSC03E20 (Mathematical logic and foundations :: Set theory :: Other classical set theory )

Pending Errata and Addenda
None.
[ View all 14 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)