The Gateway to Computer Science Excellence

0 votes

Let $X$ be the set $\{1, 2, 3, 4, 5\}$ and $Y$ be the set $\{6, 7, 8, 9, 10\}$. We describe the functions $f : X\rightarrow Y$ and $g : X\rightarrow Y$ in the following tables. Answer each part and give a reason for each negative answer.

$n$ | $f(n)$ |

1 | 6 |

2 | 7 |

3 | 6 |

4 | 7 |

5 | 6 |

$n$ | $g(n)$ |

1 | 10 |

2 | 9 |

3 | 8 |

4 | 7 |

5 | 6 |

- Is $f$ one-to-one?
- Is $f$ onto?
- Is $f$ a correspondence?
- Is $g$ one-to-one?
- Is $g$ onto?
- Is $g$ a correspondence?

52,375 questions

60,586 answers

202,005 comments

95,409 users