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

Math 415, Test 2 Solutions: Functions, Equivalence Relations, Bijections, Lattices, Exams of Mathematics

The solutions to test 2 of math 415, which covers topics such as functions, equivalence relations, bijections, and lattices. Definitions, proofs, and examples to help students understand these concepts.

Typology: Exams

Pre 2010

Uploaded on 08/16/2009

koofers-user-985
koofers-user-985 ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 415, Test 2, November 19, 2003
Instructions: Do all five of the following problems. Please do your best, and show all
appropriate details in your solutions.
1. Suppose f:Aโ†’Bis a function.
(a) Define what is meant by the pre-image fโˆ—(V).
Answer. For VโІB,fโˆ—(V) := {aโˆˆA:f(a)โˆˆV}.
(b) Define what is meant by the image fโˆ—(U).
Answer. For UโІA,fโˆ—(U) := {bโˆˆB:b=f(u) for some uโˆˆU}={f(u) : uโˆˆU}.
(c) For a collection of subsets {Vj}jโˆˆJof B, prove that fโˆ—\
jโˆˆJ
Vj=\
jโˆˆJ
fโˆ—(Vj).
Proof. Observe that
xโˆˆfโˆ— \
jโˆˆJ
Vj!โ‡โ‡’ f(x)โˆˆ\
iโˆˆJ
Vj
โ‡โ‡’ f(x)โˆˆVjfor all jโˆˆJ
โ‡โ‡’ xโˆˆfโˆ—(Vj) for all jโˆˆJ
โ‡โ‡’ xโˆˆ\
jโˆˆJ
fโˆ—(Vj)
(d) Is it true that fโˆ—(U1โˆฉU2) = fโˆ—(U1)โˆฉfโˆ—(U2)? Prove or provide a counterexample.
Answer. This is not true. For example, let f:Rโ†’Rbe defined by f(x) = |x|. Let
U1= [โˆ’1,0] and U2= [0,1]. Then U1โˆฉU2={0}and so fโˆ—(U1โˆฉU2) = {0}while fโˆ—(U1) =
[0,1] = fโˆ—(U2) and so fโˆ—(U1โˆฉU2) = [0,1].
2. (a) Define the terms injection, surjection and bijection.
Answer. Let f:Aโ†’Bbe a function. We say that fis an injection if f(a1)6=f(a2)
whenever a1, a2โˆˆAand a16=a2. We say that fis a surjection if for each bโˆˆBthere exists
an aโˆˆAsuch that f(a) = b; in otherwords, fโˆ—(A) = B. We say that fis a bijection if it is
both an injection and a surgection.
1
pf3

Partial preview of the text

Download Math 415, Test 2 Solutions: Functions, Equivalence Relations, Bijections, Lattices and more Exams Mathematics in PDF only on Docsity!

Math 415, Test 2, November 19, 2003

Instructions: Do all five of the following problems. Please do your best, and show all appropriate details in your solutions.

  1. Suppose f : A โ†’ B is a function.

(a) Define what is meant by the pre-image f โˆ—(V ).

Answer. For V โІ B, f โˆ—(V ) := {a โˆˆ A : f (a) โˆˆ V }.

(b) Define what is meant by the image fโˆ—(U ).

Answer. For U โІ A, fโˆ—(U ) := {b โˆˆ B : b = f (u) for some u โˆˆ U } = {f (u) : u โˆˆ U }.

(c) For a collection of subsets {Vj }jโˆˆJ of B, prove that f โˆ—^

jโˆˆJ

Vj =

jโˆˆJ

f โˆ—(Vj ).

Proof. Observe that

x โˆˆ f โˆ—

jโˆˆJ

Vj

โ‡โ‡’ f (x) โˆˆ

iโˆˆJ

Vj

โ‡โ‡’ f (x) โˆˆ Vj for all j โˆˆ J โ‡โ‡’ x โˆˆ f โˆ—(Vj ) for all j โˆˆ J โ‡โ‡’ x โˆˆ

jโˆˆJ

f โˆ—(Vj )

(d) Is it true that fโˆ—(U 1 โˆฉ U 2 ) = fโˆ—(U 1 ) โˆฉ fโˆ—(U 2 )? Prove or provide a counterexample.

Answer. This is not true. For example, let f : R โ†’ R be defined by f (x) = |x|. Let U 1 = [โˆ’ 1 , 0] and U 2 = [0, 1]. Then U 1 โˆฉ U 2 = { 0 } and so fโˆ—(U 1 โˆฉ U 2 ) = { 0 } while fโˆ—(U 1 ) = [0, 1] = fโˆ—(U 2 ) and so fโˆ—(U 1 โˆฉ U 2 ) = [0, 1].

  1. (a) Define the terms injection, surjection and bijection.

Answer. Let f : A โ†’ B be a function. We say that f is an injection if f (a 1 ) 6 = f (a 2 ) whenever a 1 , a 2 โˆˆ A and a 1 6 = a 2. We say that f is a surjection if for each b โˆˆ B there exists an a โˆˆ A such that f (a) = b; in otherwords, fโˆ—(A) = B. We say that f is a bijection if it is both an injection and a surgection.

(b) Suppose that both f : A โ†’ C and g : B โ†’ D are bijections. Show that the function h : A ร— B โ†’ C ร— D defined by h(a, b) = (f (a), g(b)) is a bijection.

Proof. If (a 1 , b 1 ) 6 = (a 2 , b 2 ), then either a 1 6 = a 2 or b 1 6 = b 2 and so either f (a 1 ) 6 = f (a 2 ) or g(b 1 ) 6 = g(b 2 ) because f and g are injections. In either case, h(a 1 , b 1 ) 6 = h(a 2 , b 2 ), and so h is an injection. To show that h is a surjection, let (c, d) โˆˆ C ร— D, because f and g are surjections, we choose a โˆˆ A and b โˆˆ B so that f (a) = c and g(b) = d. Then h(a, b) = (f (a), g(b)) = (c, d), and so h is a surjection. Because h is both an injection and surjection, h is a bijection.

(c) Find the inverse function of f : (โˆ’โˆž, 0] โ†’ [1, โˆž) of f (x) = x^2 + 1. Be sure to state the domain and range of the inverse function, and to verify it is the inverse function of f.

Answer. The inverse of f is f โˆ’^1 : [1, โˆž) โ†’ (โˆ’โˆž, 0] defined by f โˆ’^1 (x) = โˆ’

x โˆ’ 1. To verify this, we check

(f โˆ’^1 โ—ฆ f )(x) = โˆ’

f (x) โˆ’ 1 = โˆ’

x^2 + 1 โˆ’ 1 = โˆ’

x^2 = x for all x โˆˆ (โˆ’โˆž, 0]

and

(f โ—ฆ f โˆ’^1 )(x) = (f โˆ’^1 (x))^2 + 1 = (โˆ’

x โˆ’ 1)^2 + 1 = (x โˆ’ 1) + 1 = x for all x โˆˆ [1, โˆž)

This verifies that f โˆ’^1 is the inverse of f.

  1. (a) Define what is meant by an equivalence relation on a set A.

Answer. An equivalence relation on a set A is a relation that is reflexive, symmetric and transitive.

(b) Define the relation โˆผ on R^2 by (a, b) โˆผ (c, d) iff a^2 + b^2 = c^2 + d^2. Is โˆผ an equivalence relation? Verify your assertion.

Answer. Yes, โˆผ is an equivalence relation. First, (a, b) โˆผ (a, b) because a^2 + b^2 = a^2 + b^2. Hence โˆผ is reflexive. Also, if (a, b) โˆผ (c, d), then c^2 + d^2 = a^2 + b^2 and so (c, d) โˆผ (a, b), thus โˆผ is symmetric. Finally, if (a, b) โˆผ (c, d), and (c, d) โˆผ (e, f ), then

a^2 + b^2 = c^2 + d^2 and c^2 + d^2 = e^2 + f 2

and so a^2 + b^2 = e^2 + f 2 which means (a, b) โˆผ (e, f ). Therefore, โˆผ is transitive. This completes the verification that โˆผ is an equivalence relation on R^2.

(c) Do the relation classes from the relation in (b) form a partition of R^2? If not, explain which properties of a partition are violated. If so, describe the partition, and explain why it is a partition.