Difference between revisions of "Functions"

From Bitnami MediaWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
** <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>
−
 
−
 
 
* 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. I think "onto" derives from this: the domain is mapped ''onto'' the entire codomain, s.t. the range = codomain.)
 
* 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. I think "onto" derives from this: the domain is mapped ''onto'' the entire codomain, s.t. the range = codomain.)

Revision as of 00:21, 18 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, 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. I think "onto" derives from this: the domain is mapped onto the entire codomain, s.t. the range = codomain.)