Difference between revisions of "Functions"
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
** <math>X</math> is the '''domain''', | ** <math>X</math> is the '''domain''', | ||
** <math>Y</math> is the '''codomain''', and | ** <math>Y</math> is the '''codomain''', and | ||
| − | ** for <math>A\subset X</math, f(A) = \{f(x): x\in A\}\subset X< | + | ** for <math>A\subset X</math, f(A) = \{f(x): x\in A\}\subset X<\math> is the '''image''' of <math>A</math>. |
** <math>f(X)</math> is the '''range'''. | ** <math>f(X)</math> is the '''range'''. | ||
* Injective: <math>f(a) = f(b) \implies a=b</math> | * Injective: <math>f(a) = f(b) \implies a=b</math> | ||
Revision as of 23:08, 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\lt \math\gt is the '''image''' of \lt math\gt 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]