Docsity

Homework 12 - Discrete Structures - Fall 2003 | CMSC 250, Assignments of Discrete Structures and Graph Theory

Toggle sidebar
bg1
CMSC250, Fall 2003 Homework 12
Due Wednesday, November 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. (a) How many one-to-one functions are there from a set with three elements to a set
with four elements?
(b) How many one-to-one functions are there from a set with four elements to a set
with three elements?
(c) How many one-to-one functions are there from a set with melements to a set
with nelements, where m≤n?
(d) How many onto functions are there from a set with three elements to a set with
five elements?
(e) How many onto functions are there from a set with four elements to a set with
two elements?
2. Prove or disprove the following:
(a) f:R→Rdefined by f(x) = 2x+ 1/2 is 1-1.
(b) f:R→Rdefined by f(x) = 2x+ 1/2 is onto.
3. Definition: If f:R→Rand g:R→Rare functions, the function (f+g) : R→R
is defined by the formula (f+g)(x) = f(x) + g(x) for all real numbers x.
Prove or give a counterexample to the following:
(a) If f:R→Rand g:R→Rare both 1-1, then f+gis 1-1.
(b) If f:R→Rand g:R→Rare both onto, then f+gis onto.
4. Let set A={x| ∃k∈Zx= 3k+ 1}. Define a bijection from Z−to A. You do not
need to prove your function is bijective.
Hint: You may find it easier to define a bijection from Z−to Z, and another bijection
from Zto A. Then you can compose the two bijections.
1

Partial preview of the text

Download Homework 12 - Discrete Structures - Fall 2003 | CMSC 250 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CMSC250, Fall 2003 Homework 12

Due Wednesday, November 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. (a) How many one-to-one functions are there from a set with three elements to a set with four elements? (b) How many one-to-one functions are there from a set with four elements to a set with three elements? (c) How many one-to-one functions are there from a set with m elements to a set with n elements, where m ≤ n? (d) How many onto functions are there from a set with three elements to a set with five elements? (e) How many onto functions are there from a set with four elements to a set with two elements?
  2. Prove or disprove the following:

(a) f : R → R defined by f (x) = 2x + 1/2 is 1-1. (b) f : R → R defined by f (x) = 2x + 1/2 is onto.

  1. Definition: If f : R → R and g : R → R are functions, the function (f + g) : R → R is defined by the formula (f + g)(x) = f (x) + g(x) for all real numbers x. Prove or give a counterexample to the following:

(a) If f : R → R and g : R → R are both 1-1, then f + g is 1-1. (b) If f : R → R and g : R → R are both onto, then f + g is onto.

  1. Let set A = {x | ∃k ∈ Z x = 3k + 1}. Define a bijection from Z−^ to A. You do not need to prove your function is bijective. Hint: You may find it easier to define a bijection from Z−^ to Z, and another bijection from Z to A. Then you can compose the two bijections.