Difference between revisions of "Functions"
Jump to navigation
Jump to search
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | ||
| + | * 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> | ||
| + | * 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, f(A) = \{f(x): x\in A\}\subset X</math> is the '''image''' of <math>A</math>. | ||
| + | ** <math>f(X)</math> is the '''range'''. | ||
| + | * 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> (i.e., if the range equals the codomain.) | ||
Latest revision as of 02:55, 4 August 2022
- 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, f(A) = \{f(x): x\in A\}\subset X }[/math] is the image of [math]\displaystyle{ A }[/math].
- [math]\displaystyle{ f(X) }[/math] is the range.
- 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] (i.e., if the range equals the codomain.)