MAT102 Prep 10
- Functions in Math
- Exercise 3
- and are sets .
- is a relation on
- .
- Does define a function?
- We need to check left-total and vertical line test (functionality).
- Left-total
- This means for every there is a such that
- We don't know the relation on , we just know that it's something.
- But it must produce something thats in . so anything produced by will be in .
- But we can't know if it's going to be in specifically.
- As for functionality,
- This is the vertical line test.
- 's results must only appear once in .
- Example:
- Exercise 4
- Suppose that is an arbitrary set and is the empty set. Is there a function ? Is there
-
- We have
- is from
- is from
- Every must appear in .
- This is true, nothing can appear in . This is because we don't have to check, because there's nothing to check.
- Subset:
- let
- By definition,
- Functionality:
- The only appears in once.
- Because we have left-total and functionality, there is a function that exists for
-
- So here can't ever produce something in the .
- But we have and
- Only if then can the elements be in .
- aka .
- Left-totality:
- Let
- By definition
- So it cannot be in the
- Functionality:
- Let
- …
- By the same argument as above, it doesn't even appear once.
- So it is not functional.
- Since the function is not left-total or functional, there is no function such that
- Exercise 5
- Which are equal to one another?:
-
- Input:
- Output:
- Test
-
- Input:
- Output:
- Test
-
- Input:
- Output:
- Test
- The outputs are all equal, but the Domain and Codomain must be the same.
- So only .
- Images and Preimages
- 1
- 2
-
3