Functions

From Bitnami MediaWiki
Revision as of 23:08, 17 May 2021 by User (talk | contribs)
Jump to navigation Jump to search
  • 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].
    • [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]