Functions in Math

Definition

  • The definition of a function is:
    • Γ(f)={(a,f(a)):aA}A×B.
    • f:AB,xx2
      • This is the same as: f(x)=x2
      • Where the only x input I can put in is whatever is in A. This must produce whatever is in B.
      • A is the Domain and B is the Codomain.
  • Mathematicians think of a function that consumes elements in A to produce and element in B. This is where Domain and Codomain come from. The domain is our input, our Codomain is what we can output.