Functions, Injectivity, Surjectivity, Bijections

Functions, Injectivity, Surjectivity, Bijections

Functions, Injectivity, Surjectivity, Bijections Functions, Injectivity, Surjectivity, Bijections Michael L. Littman CS 22 2021 June 4, 2021 1 / 37 Functions, Injectivity, Surjectivity, Bijections Overview Relation Diagrams (4.4.1) Relational Images (4.4.2) 2 / 37 Functions, Injectivity, Surjectivity, Bijections Relation Diagrams (4.4.1) Binary relations Definition. A binary relation, R, consists of a set, A, called the domain of R, a set, B, called the codomain of R, and a subset of A × B called the graph of R. A B b h c j d k f l g 4 / 37 Functions, Injectivity, Surjectivity, Bijections Relation Diagrams (4.4.1) Properties of relations A B 1 5 2 6 3 7 A binary relation: I is a partial function when it has the [≤ 1 arrow out] property. Book: \function". Us: \function" is [= 1 arrow out] property. I is surjective when it has the [≥ 1 arrows in] property. I is total when it has the [≥ 1 arrows out] property. I is injective when it has the [≤ 1 arrow in] property. I is bijective when it has both the [= 1 arrow out] and the [= 1 arrow in] properties. 10 / 37 Functions, Injectivity, Surjectivity, Bijections Relation Diagrams (4.4.1) Example relation #1 partial function: [≤ 1 out]. surjective: [≥ 1 in]. total: [≥ 1 out]. injective: [≤ 1 in]. bijective: [= 1 out] and [= 1 in]. A B 1 5 2 6 3 7 4 total, surjective, function. 12 / 37 Functions, Injectivity, Surjectivity, Bijections Relation Diagrams (4.4.1) Example relation #2 partial function: [≤ 1 out]. surjective: [≥ 1 in]. total: [≥ 1 out]. injective: [≤ 1 in]. bijective: [= 1 out] and [= 1 in]. A B 1 4 2 5 3 6 7 total, injective, function. 14 / 37 Functions, Injectivity, Surjectivity, Bijections Relation Diagrams (4.4.1) Example relation #3 partial function: [≤ 1 out]. surjective: [≥ 1 in]. total: [≥ 1 out]. injective: [≤ 1 in]. bijective: [= 1 out] and [= 1 in]. 2 + Equation y = 1=x on R . x is an element in the domain, y is an element in the co-domain. x y p 2 1 2 4 1 1 2 2 bijective partial function. (implies surjective, total, injective.) 17 / 37 Functions, Injectivity, Surjectivity, Bijections Relation Diagrams (4.4.1) Example relation #4 partial function: [≤ 1 out]. surjective: [≥ 1 in]. total: [≥ 1 out]. injective: [≤ 1 in]. bijective: [= 1 out] and [= 1 in]. 2 Equation y = 1=x on R. x y −2 −1 −1 0 1 0 4 1 1 2 partial function. 20 / 37 Functions, Injectivity, Surjectivity, Bijections Relational Images (4.4.2) Image definition Definition. The image of a set Y ⊆ A under a relation R : A ! B, written R(Y ), is the subset of elements of the codomain B of R that are related to some element in Y . In terms of the relation diagram, R(Y ) is the set of points with an arrow coming in that starts from some point in Y . R(Y ) = fx 2 Bj9y 2 Y ; y R xg. 23 / 37 Functions, Injectivity, Surjectivity, Bijections Relational Images (4.4.2) Inverse definition Definition: The inverse R−1 of a relation R : A ! B is the relation from B to A defined by the rule b R−1 a IFF a R b. Definition: The image of a set under the relation R−1 is called the inverse image of the set. That is, the inverse image of a set X under the relation R is defined to be R−1(X ). Example: x R y iff there's a dictionary word with first letter x and second letter y. The image R(fc; kg) is the letters that can appear after c or k at the beginning of a word. It's the set fa; e; h; i; l; n; o; r; u; v; w; y; zg. The inverse image R−1(fc; kg) is the letters that can appear before c or k at the beginning of a word. It's the set fa; e; i; o; s; t; ug. 29 / 37 Functions, Injectivity, Surjectivity, Bijections Relational Images (4.4.2) Inverses of relations What can we infer about R−1 if R is: I partial function? injective I surjective? total I total? surjective I injective? partial function I bijective? bijective I function? injective and surjective 36 / 37 Functions, Injectivity, Surjectivity, Bijections Relational Images (4.4.2) More examples to consider Make natural examples for each combination of properties. p I y = x on R p p I y = 16 − x on R I y = jx + 10j on Z I y = jx mod 2j on Z I y = sin(x) on R 2 2 I x + y = 10 on R 37 / 37.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    12 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us