Difference between revisions of "Functions"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
* Relation: a subset of two sets <math>X, Y</math> such that <math>f\subset X\times Y</math> | * Relation: a subset of two sets <math>X, Y</math> such that <math>f\subset X\times Y</math> | ||
* Function: a relation such that for each <math>x</math> there is exactly one <math>y\in Y</math> with <math>(x,y)\in f</math>. Usually denoted <math>y = f(x)</math> and <math>f:X\to Y</math> | * Function: a relation such that for each <math>x</math> there is exactly one <math>y\in Y</math> with <math>(x,y)\in f</math>. Usually denoted <math>y = f(x)</math> and <math>f:X\to Y</math> | ||
| + | * For a function or mapping <math>f:X\to Y</math>, <math>X</math> is the '''domain''', <math>Y</math> is the '''codomain''', and for <math>A\subset X</math, f(A) = \{f(x): x\in A\}\subset X</math> is the '''image''' of <math>A</math>. | ||
* Injective: <math>f(a) = f(b) \implies a=b</math> | * Injective: <math>f(a) = f(b) \implies a=b</math> | ||
* Surjective: For <math>\forall b\in B, \exists a\in A</math> such that <math>f(a)=b</math> | * Surjective: For <math>\forall b\in B, \exists a\in A</math> such that <math>f(a)=b</math> | ||
Revision as of 23:07, 17 May 2021
- Relation: a subset of two sets [math]\displaystyle{ X, Y }[/math] such that [math]\displaystyle{ f\subset X\times Y }[/math]
- Function: a relation such that for each [math]\displaystyle{ x }[/math] there is exactly one [math]\displaystyle{ y\in Y }[/math] with [math]\displaystyle{ (x,y)\in f }[/math]. Usually denoted [math]\displaystyle{ y = f(x) }[/math] and [math]\displaystyle{ f:X\to Y }[/math]
- For a function or mapping [math]\displaystyle{ f:X\to Y }[/math], [math]\displaystyle{ X }[/math] is the domain, [math]\displaystyle{ Y }[/math] is the codomain, and for [math]\displaystyle{ A\subset X\lt /math, f(A) = \{f(x): x\in A\}\subset X }[/math] is the image of [math]\displaystyle{ A }[/math].
- Injective: [math]\displaystyle{ f(a) = f(b) \implies a=b }[/math]
- Surjective: For [math]\displaystyle{ \forall b\in B, \exists a\in A }[/math] such that [math]\displaystyle{ f(a)=b }[/math]