Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Inverse Function - Discrete Mathematics - Homework, Slides of Discrete Mathematics

During the study of discrete mathematics, I found this course very informative and applicable.The main points in these lecture slides are:Inverse Function, Define Function, Register Multiple Classes, Multiple Elements, Domain to Codomain, Graph of Original Function, Well-Defined Function, Non-Negative Value, Simple Translation, Indirect Proof

Typology: Slides

2012/2013

Uploaded on 04/27/2013

atmaja
atmaja ๐Ÿ‡ฎ๐Ÿ‡ณ

4.2

(45)

182 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS173: Discrete Mathematical Structures
Spring 2006
Homework #4
Due Sun 02/12/06, 8AM.
1) Let S be the set of all UIUC CS students and C the set of all courses offered in
Department of Computer Science for spring 2006.
a) For
x
โˆˆSand yโˆˆC, we say y
=
f(x)if and only if student x has registered course
y. Does f:Sโ†’Cdefine a function? Why or why not?
b) For
x
โˆˆSand yโˆˆP
C (P
Cis the power set of C), we say y
=
f(x) if and only if
student x has registered every course in set y. Does f:Sโ†’P
Cdefine a function?
Why or why not?
c) For
x
โˆˆSand yโˆˆP
C (
P
Cis the power set of C), we say y
=
f(x) if and only if
student x has registered for every course in set y and for no course in set
Cโˆ’y.
Does f:Sโ†’P
Cdefine a function? Why or why not?
2) Which of the followings are functions from the domain to the codomain given?
Which functions are one-to-one? Which functions are onto? If it is a bijection,
describe its inverse function.
a) f:Zโ†’Zwhere f is defined by f(x)=x2
b) f:Zโ†’Rwhere f is defined by f(x)=x
c) f:R+โ†’R+where f is defined by f(x)
=
log(x
+
1)
d) f:Zโ†’Nwhere f is defined by f(x)=x
x
e) f:Rร—Rร—Rโ†’R+โˆช{0}where f is defined by f(x,y,z)=x2+y2+z2
f) f:Rร—Rโ†’Rร—Rwhere f is defined by f(x,y)
=
(x
+
1, y
+
1)
3) Let f:Sโ†’Tand
g
:
T
โ†’
U
be functions.
a) Prove that if
g๎™„fis one-to-one, so is f.
b) Find an example where g๎™„fis one-to-one but g is not one-to-one.
4) The Growth of Functions
a) Show that
x
3is
O(x4)but that
x
4is not O(x3).
b) Give as good a big-O estimate as possible for each of the following (A formal
proof is not required, but give your reasoning):
Docsity.com
pf2

Partial preview of the text

Download Inverse Function - Discrete Mathematics - Homework and more Slides Discrete Mathematics in PDF only on Docsity!

CS173: Discrete Mathematical Structures

Spring 2006

Homework

Due Sun 02/12/06, 8AM.

  1. Let S be the set of all UIUC CS students and C the set of all courses offered in Department of Computer Science for spring 2006.

a) For x โˆˆ S and y โˆˆ C , we say y = f ( x ) if and only if student x has registered course y. Does f : S โ†’ C define a function? Why or why not? b) For x โˆˆ S and y โˆˆ PC ( PC is the power set of C ), we say y = f ( x ) if and only if student x has registered every course in set y. Does f : S โ†’ PC define a function? Why or why not? c) For x โˆˆ S and y โˆˆ PC ( PC is the power set of C ), we say y = f ( x ) if and only if student x has registered for every course in set y and for no course in set C โˆ’ y. Does f : S โ†’ PC define a function? Why or why not?

  1. Which of the followings are functions from the domain to the codomain given? Which functions are one-to-one? Which functions are onto? If it is a bijection, describe its inverse function.

a) f : Z โ†’ Z where f is defined by f ( x ) = x^2 b) f : Z โ†’ R where f is defined by f ( x ) = x c) f : R+^ โ†’ R+^ where f is defined by f ( x ) = log( x + 1) d) f : Z โ†’ N where f is defined by f ( x ) = x x e) f : Rร— Rร— R โ†’ R+^ โˆช{0} where f is defined by f ( x , y , z ) = x^2 + y^2 + z^2 f) f : Rร— R โ†’ Rร— R where f is defined by f ( x , y ) = ( x + 1, y + 1)

  1. Let f : S โ†’ T and g : T โ†’ U be functions. a) Prove that if g D f is one-to-one, so is f. b) Find an example where g D f is one-to-one but g is not one-to-one.

  2. The Growth of Functions a) Show that x^3 is O ( x^4 ) but that x^4 is not O ( x^3 ). b) Give as good a big- O estimate as possible for each of the following (A formal proof is not required, but give your reasoning):

Docsity.com

  1. f ( n ) = log^2 n! n
  2. f ( n ) = n

(^2) + n log 2 n^ +^1 3 n 3/ 2^ + 2 n + 4

  1. f ( n ) = log 2 (log 2 n n^ )
  2. f ( n ) = 1 + 1 2

2 n

c) Which of the functions in part b) above has the fastest growth rate?

d) Show that if f ( x ) is O (log b x ) where b > 1 , then f ( x ) is O (log a x ) where a > 1.

Docsity.com