Difference between revisions of "Functions:Surjective"
Jump to navigation
Jump to search
(Created page with "A function is surjective, or "onto", if for all <math> b\in B </math>, there exists at least one <math> a\in A </math> such that <math> f(a) = b </math>; that is, every elemen...") |
|||
Line 1: | Line 1: | ||
− | A function is surjective, or "onto", if for all <math> b\in B </math>, there exists at least one <math> a\in A </math> such that <math> f(a) = b </math>; that is, every element in the codomain is mapped to by at least one element in the domain. | + | A function is surjective, or "onto", if for all <math> b\in B </math>, there exists at least one <math> a\in A </math> such that <math> f(a) = b </math>; that is, every element in the codomain is mapped to by at least one element in the domain. Another way to state this is that a function is surjective if and only if its range (all outputs of the function) equals its codomain. |
Examples: | Examples: |
Revision as of 14:40, 27 September 2021
A function is surjective, or "onto", if for all , there exists at least one such that ; that is, every element in the codomain is mapped to by at least one element in the domain. Another way to state this is that a function is surjective if and only if its range (all outputs of the function) equals its codomain.
Examples:
- Let and , and let such that , , , , and . Each element of is mapped to by at least one element of , so is surjective.
- For the same and as in the previous example, let be a function such that , , , , and . This is not a surjective function since there are elements in the codomain that are not mapped to by any elements of the domain.
- Let . For every , there exists such that . So, is a surjective function.
- Let . is in the codomain, but there is no such that . Thus, is not surjective.
Resources
- Course Textbook, pages 154-164