next up previous
Next: About this document ...

CMSC 250 Homework 12 Spring 2006

Due Wed April 26 at the beginning of your discussion section.

You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.

  1. For each of the following determine if it is a (a) total function, (b) a partial function (but not a total function) or (c) not a function at all. Then in one English sentence - explain why you answered that way.

    1. $A = \{1,2,3,4,5\}, f:A \rightarrow A, f= \{(1,1),(3,2),(5,3),(2,2),(4,1)\}$
    2. $A = \{1,2,3,4,5\}, f:A \rightarrow A, f = \{(1,1),(2,3),(3,5),(2,2),(1,4)\}$
    3. $A = \{1,2,3,4,5\}, f:A \rightarrow A, f = \{(1,1),(2,2),(3,3),(1,1),(2,2)\}$
    4. $A = \{1,2,3,4,5\}, f:A \rightarrow A, f = \{(1,5),(2,3),(4,4)\}$
    5. $A= \{1,2,3,4,5\}, f:A \rightarrow A, f= \{(1,5),(2,5),(3,5),(4,5),(5,5)\}$

  2. For each of the following, define a total function that maps from the domain indicated to the co-domain indicated. (Note: Z is the integers, Q is the rationals and R is the reals.)

    1. $f: Z \rightarrow Z$
    2. $g: Z \rightarrow Q$
    3. $h: Q \rightarrow R$
    4. $j: R \rightarrow Z$

  3. For each of the following, tell if each is a total function, then if it is a total function, tell if you believe it to be one-to-one and if you believe it to be onto. Then a one sentence explanation of why you answered that way.

    1. $A = \{1,2,3,4,5\}, f:A\rightarrow A, f = \{(1,5),(2,1),(3,4),(4,2),(5,3)\}$
    2. $A = \{1,2,3,4,5\}, B = \{1,2\}, f:A\rightarrow B, $

      \begin{displaymath}f = \{(1,1),(2,1),(3,1),(4,1),(5,2)\}\end{displaymath}

    3. $A = \{1,2,3,4,5\}, B = \{1,2,3,4,5,6\}, $

      \begin{displaymath}f: A \rightarrow B, f=\{(1,6),(2,5),(3,2),(4,3),(5,1),(1,4)\}\end{displaymath}




next up previous
Next: About this document ...
Chang Hu 2006-04-21

Web Accessibility