6. Decide whether or not each of the following functions is one-to-one. Justify
ID: 3135850 • Letter: 6
Question
6. Decide whether or not each of the following functions is one-to-one. Justify your answers. In particular, if you claim that a function is not one-to-one, you must justify that there are two different inputs that go to the same output. (a) The function f that takes as input a living person and outputs the current age in years of that person. (b) The function g that takes as input a country and outputs the capital city of that country (c) The function h that takes a movie as input and outputs true if Vin Diesel is in the movie and false otherwise.Explanation / Answer
a) The function f that takes input a livung person and outputs the current age in years is not a one -to -one function. Since There might have more than two person who have the same current age in years.
b) This Function is One-To -One. Since each country have the unique Capital and No two country have same capital.
c) This is not one-to one function. Since There might have more than two movies in which Vin Diesel works. and also there might have more than two movies in which Vin Diesel does not works.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.