Function
From Maths
A function f is a special kind of relation
Contents
[hide]Domain
A function ought be defined for everything in its domain, that's for every point in the domain the function maps the point to something.
Examples
(See notation below if you're not sure what the f:X→Y notation means)
- f:R→Rgiven by f(x)=1xisn't defined at 0
- f:R→Rgiven by f(x)=x2is correct, it is not surjective though, because nothing maps onto the negative numbers, however f:R→R≥0with f(x)=x2is a surjection. It is not an injective function as only 0maps to one point.
Notation
- A function f from a domain X to a set Y is denoted f:X→Y
- If we have say two topological spaces (X,J) and (Y,K) then we may write:
- f:(X,J)→(Y,K) and mean f:X→Y
- That is to say that as a general rule given a function f:(A1,A2,⋯)→(B1,B2,⋯) take it as a function f:A1→B1
- A tuple makes no sense there anyway, for multiple arguments we use the Cartesian product anyway.
TODO: Come back after the relation page and fill this out