• No results found

AA Lovett

N/A
N/A
Protected

Academic year: 2021

Share "AA Lovett"

Copied!
40
0
0

Loading.... (view fulltext now)

Full text

(1)

||

1.1 – Sets and Functions 1.1 – Sets and Functions

Exercise:

Exercise:  1 Section 1.1 1 Section 1.1 Question:

Question: LetLet U U  ==

 {

 {

nn

 ∈

 ∈

NN

||

nn

 ≤

 ≤

1010

}}

  and consider the subsets  and consider the subsets AA ==

 {

 {

11,, 33,, 55,, 77,, 99

}}

,, BB ==

 {

 {

11,, 22,, 33,, 44,, 55

}}

, and, and C 

C  = =

 {

 {

11,, 22,, 55,, 77,, 88

}}

. Calculate the following operations.. Calculate the following operations. a) a) AA

∩∩

BB b) b) ((BB

∪∪

C C ))

AA c) c) ((AA

∩∩

BB))

∩∩

((AA

∩∩

C C ))

∩∩

((BB

∩∩

C C )) d) (( d) ((AA

BB))

C C ))

∩∩

((AA

((BB

C C )))) Solution:

Solution: WWe apply the definitions oe apply the definitions of set operations:f set operations: a) a) AA

∩∩

BB = =

 {

 {

11,, 33,, 55

}}

b) b) ((BB

∪∪

C C ))

AA = =

{{

11,, 22,, 33,, 44,, 55,, 77,, 88

}} −

− {{

11,, 33,, 55,, 77,, 99

}}

 = =

{{

22,, 44,, 88

}}

c) c) AA

∩∩

BB

∩∩

AA

∩∩

C C 

∩∩

BB

∩∩

C C  ==

{{

11,, 33,, 55

}∩{

}∩{

11,, 55,, 77

}∩{

}∩{

11,, 22,, 55

}}

 = =

{{

22,, 44,, 66,, 77,, 88,, 99,, 1010

}∩{

}∩{

22,, 33,, 44,, 66,, 88,, 99,, 1010

}∩{

}∩{

44,, 66,, 88,, 99,, 1010

}}

d) ((

d) ((AA

BB))

C C ))

∩∩

((AA

((BB

C C )) = ()) = (

{{

77,, 99

}} −

C C ))

∩∩

((AA

− {{

33,, 44

}}

) =) =

 {

 {

99

}} ∩∩ {{

11,, 55,, 77,, 99

}}

 = =

{{

99

}}

Exercise:

Exercise:  2 Section 1.1 2 Section 1.1 Question:

Question: LetLet U U  ==

 {

 {

a,b,c,d,e,f,ga,b,c,d,e,f,g

}}

 and consider the subsets and consider the subsets AA = =

 {

 {

a,b,da,b,d

}}

,, BB ==

 {

 {

b,c,eb,c,e

}}

, and C , and C  ==

 {

 {

c,d,f c,d,f 

}}

.. Calculate the following operations.

Calculate the following operations. a) a) C C 

 ∩

 ∩

((AA

∪∪

BB)) b) b) ((AA

∪∪

C C ))

BB c) c) ((AA

∪∪

BB

 ∪

 ∪

C C ))

((AA

∩∩

BB

∩∩

C C )) d) d) ((AA

BB))

∪∪

((BB

C C )) Solution:

Solution: WWe apply the definitions oe apply the definitions of set operations:f set operations: a)

a) C C 

 ∩

 ∩

((AA

∪∪

BB) =) =  C  C 

 ∩ {{

 ∩

a,b,c,d,ea,b,c,d,e

}}

 = =

 {

 {

c,c, dd

}}

b)

b) ((AA

∪∪

C C ))

BB = =

{{

a,b,c,d,f a,b,c,d,f 

}} −

BB = =

{{

a,d,f a,d,f 

}}

c)

c) ((AA

∪∪

BB

 ∪

 ∪

C C ))

((AA

∩∩

BB

∩∩

C C ) =) =

{{

a,b,c,d,e,f a,b,c,d,e,f 

}} −

− ∅∅

 = =

{{

a,b,c,d,e,f a,b,c,d,e,f 

}}

d)

d) ((AA

BB))

∪∪

((BB

C C ) =) =

{{

a,a, dd

}} ∪∪ {{

b,b, ee

}}

 = =

 {

 {

a,b,d,ea,b,d,e

}}

Exercise:

Exercise:  3 Section 1.1 3 Section 1.1 Question:

Question: As subsets of the reals, describe the differencAs subsets of the reals, describe the differences betweees between the setsn the sets

 {

 {

33,, 55

}}

, , [3[3,, 5] and (35] and (3,, 5).5). Solution:

Solution: The The setset

 {

 {

33,, 55

}}

  con  contains the integtains the integers 3 and ers 3 and 5. 5. The closed inteThe closed intervrval [3al [3,, 5] contains all real numbers5] contains all real numbers between 3 and 5 including 3 and 5, while the open interval (3

between 3 and 5 including 3 and 5, while the open interval (3,, 5) contains all real numbers between 3 and 5 not5) contains all real numbers between 3 and 5 not including 3 and 5.

including 3 and 5. Exercise:

Exercise:  4 Section 1.1 4 Section 1.1 Question:

Question: ProProve that the follove that the following are true for all setswing are true for all sets A A  and and  B B .. a)

a) AA

∩∩

BB

 ⊆

 ⊆

 A A.. b)

b) AA

 A A

∪∪

BB.. Solution:

Solution: WWe use e use the definitthe definitions of subsets and the interseions of subsets and the intersection and union of sets.ction and union of sets. a) Let

a) Let x x

 ∈

 ∈

 A A

∩∩

B.B.  Then Then x x

 ∈

 ∈

 A A and and  x x

 ∈

 ∈

 B B = =

 x x

 ∈

 ∈

 A, , so A so A A

∩∩

BB

 ⊆

 ⊆

 A A.. b) Let

b) Let x x

 ∈

 ∈

 A A. We know that. We know that  A A

∪∪

BB = =

{{

yy

 | |

 y y

 ∈

 ∈

 A or y A or y

 ∈

 ∈

 B B

}}

, , soso x x

 ∈

 ∈

 A A = =

 x x

∈∈

 A A

∪∪

BB. Hence. Hence A A

 ⊆

 ⊆

 A A

∪∪

BB.. Exercise:

Exercise:  5 Section 1.1 5 Section 1.1 Question:

Question: LetLet A A  and and  B B  be subsets of a set be subsets of a set  S  S .. a)

a) ProProve thave thatt A A

 B B  if and only if  if and only if PP((AA))

 P P((BB))

b)

b) ProProve thave thatt PP((AA

∩∩

BB) =) = P P((AA))

∩∩

PP((BB).).

c)

c) ShoShow thatw thatPP((AA

∪∪

BB) =) = P P((AA))

∪∪

PP((BB) if and only if ) if and only if  A A

 ⊆

 ⊆

 B B oror B B

 ⊆

 ⊆

 A A..

Solution: Solution:

(2)

22 CHACHAPTER PTER 1. 1. SET SET THEOTHEORRY Y 

a) (=

a) (=

))::   Suppose  Suppose AA

 ⊆

 ⊆

 B B . Then,. Then,

 ∀

 ∀

aa

 ∈

 ∈

 A A,, aa

 ∈

 ∈

 B B. . SiSincncee PP((BB) contains all the possible subsets of ) contains all the possible subsets of  BB, all the, all the

possible subset

possible subsets s of of  A A  must be in must be in PP((BB) because) because A A

 B B. Therefore,. Therefore, PP((AA))

 P P((BB).).

((

=)=)::   Suppose  Suppose PP((AA))

 ⊆

 ⊆

PP((BB). ). ThThenen

 ∀{

 ∀{

aa

} ∈

} ∈

PP((AA),),

 {

 {

aa

} ∈

} ∈

PP((BB). ). ThereTherefore, therfore, there must exist a subsete must exist a subset C 

of 

of PP((BB) that contains every) that contains every

 {

 {

aa

}}

 from from PP((AA). ). The suThe subsebsett C  C  leads to the conclusion that every leads to the conclusion that every aa

 ∈

 ∈

 A A

must also be in

must also be in B B . Therefore,. Therefore, A A

 B B.. b) By definition,

b) By definition, PP((AA

∩∩

BB) ) ==

 {{

 {{

tt11, , tt22,...,t,...,tnn

} |

} |

ttii

 ∈

 ∈

 A, A, ttii

 ∈

 ∈

BB

}}

. . ThiThis impls impliesies

 {

 {

ttii

} ∈

} ∈

PP((AA) and) and

 {

 {

ttii

} ∈

} ∈

PP((BB).).

Therefore, by definition of intersection,

Therefore, by definition of intersection, PP((AA

∩∩

BB) =) = P P((AA))

∩∩

PP((BB).).

c) (=

c) (=

))::   Suppose there are two sets  Suppose there are two sets AA andand BB  such that neither such that neither AA

 ⊆

 ⊆

BB nornor BB

 ⊆

 ⊆

AA. . LLeett aa

 ∈

 ∈

AA

 B B andand bb

 ∈

 ∈

BB

 −

 −

 A A. . ThThen ten the she setet

 {

 {

a,a, bb

}}

  is in  is in PP((AA

 ∪

 ∪

 B B) but not in) but not in PP((AA) or in) or in PP((BB). ). TheTherefrefore bore by they the

contrapositive,

contrapositive,PP((AA

∪∪

BB) =) = P P((AA))

∪∪

PP((BB) ) if if  A A

 ⊆

 ⊆

 B B oror B B

 ⊆

 ⊆

 A A..

((

=)=)::   Suppose  Suppose A A

 ⊆

 ⊆

 B B. Then,. Then, A A

∪∪

BB = = B B soso PP((AA

∪∪

B) =B) = P P((BB). Now suppose). Now suppose B B

 ⊆

 ⊆

 A A. Then. Then A A

∪∪

BB = = A A so so P

P((AA

∪∪

BB) =) = P P((AA). Either way,). Either way, PP((AA

∪∪

BB) =) = P P((AA))

∪∪

PP((BB).).

Exercise:

Exercise:  6 Section 1.1 6 Section 1.1 Question:

Question: Give tGive the list desche list descriptioription of n of PP((

{{

11,, 22,, 33,, 44

}}

).).

Solution:

Solution: Using the defiUsing the definition of a pownition of a power set,er set,

P

P((

{{

11,, 22,, 33,, 44

}}

) =) =

{∅

{∅

,,

{{

11

}}

,,

{{

22

}}

,,

{{

33

}}

,,

{{

44

}}

,,

{{

11,, 22

}}

,,

{{

11,, 33

}}

,,

{{

11,, 44

}}

,,

{{

22,, 33

}}

,,

{{

22,, 44

}}

,,

{{

33,, 44

}}

,,

{{

11,, 22,, 33

}}

,,

{{

11,, 22,, 44

}}

,,

{{

11,, 33,, 44

}}

,,

{{

22,, 33,, 44

}}

,,

{{

11,, 22,, 33,, 44

}}

}}

..

Exercise:

Exercise:  7 Section 1.1 7 Section 1.1 Question:

Question: Give tGive the list desche list descriptioription of n of 

 {{

 {{

aa11,, aa22, . . . , a, . . . , akk

}

} ∈∈

 P P((

{{

11,, 22,, 33,, 44,, 55

}}

))





aa11 + + a a22 + +

·· ·· ··

++ a akk =  = 88

}}

..

Solution:

Solution: WWe need to find all the sube need to find all the subsets of sets of 

 {

 {

11,, 22,, 33,, 44,, 55

}}

 whos whose elemene elements add to a ts add to a totatotal of l of 8. 8. Recall that noRecall that no subset has repeated elements so

subset has repeated elements so

 {

 {

44,, 44,,

}}

 does not make sense. The set is does not make sense. The set is

{{

{{

11,, 22,, 55

}}

,,

{{

11,, 33,, 44

}}

,,

{{

33,, 55

}}

}}

..

Exercise:

Exercise:  8 Section 1.1 8 Section 1.1 Question:

Question: LetLet A A,, B B , and, and C  C  be subsets of a set be subsets of a set S  S .. a) Prove that (

a) Prove that (AA

BB))

C C  =  = ((AA

C C ))

((BB

C C ).). b)

b) Find and provFind and prove a e a similasimilar formur formula forla for A A

((BB

C C ).). Solution: Solution: a) a) S  S  A A B B C  C  S  S  A A B B C  C 

In the first Venn diagram, the lighter shade represents (

In the first Venn diagram, the lighter shade represents ( AA

BB), and the darker shade, which overlaps some), and the darker shade, which overlaps some of

of ((AA

BB), represents (), represents (AA

BB))

C C . . In the second VeIn the second Venn diagramnn diagram, , the lightthe lighter shade represeer shade represents (nts (AA

C C ),), while the darker shade represents (

while the darker shade represents (AA

C C ))

((BB

C C ). We observe from the diagrams that the darker regions). We observe from the diagrams that the darker regions are equal.

(3)

a) (=

a) (=

))::   Suppose  Suppose AA

 ⊆

 ⊆

 B B . Then,. Then,

 ∀

 ∀

aa

 ∈

 ∈

 A A,, aa

 ∈

 ∈

 B B. . SiSincncee PP((BB) contains all the possible subsets of ) contains all the possible subsets of  BB, all the, all the

possible subset

possible subsets s of of  A A  must be in must be in PP((BB) because) because A A

 B B. Therefore,. Therefore, PP((AA))

 P P((BB).).

((

=)=)::   Suppose  Suppose PP((AA))

 ⊆

 ⊆

PP((BB). ). ThThenen

 ∀{

 ∀{

aa

} ∈

} ∈

PP((AA),),

 {

 {

aa

} ∈

} ∈

PP((BB). ). ThereTherefore, therfore, there must exist a subsete must exist a subset C 

of 

of PP((BB) that contains every) that contains every

 {

 {

aa

}}

 from from PP((AA). ). The suThe subsebsett C  C  leads to the conclusion that every leads to the conclusion that every aa

 ∈

 ∈

 A A

must also be in

must also be in B B . Therefore,. Therefore, A A

 B B.. b) By definition,

b) By definition, PP((AA

∩∩

BB) ) ==

 {{

 {{

tt11, , tt22,...,t,...,tnn

} |

} |

ttii

 ∈

 ∈

 A, A, ttii

 ∈

 ∈

BB

}}

. . ThiThis impls impliesies

 {

 {

ttii

} ∈

} ∈

PP((AA) and) and

 {

 {

ttii

} ∈

} ∈

PP((BB).).

Therefore, by definition of intersection,

Therefore, by definition of intersection, PP((AA

∩∩

BB) =) = P P((AA))

∩∩

PP((BB).).

c) (=

c) (=

))::   Suppose there are two sets  Suppose there are two sets AA andand BB  such that neither such that neither AA

 ⊆

 ⊆

BB nornor BB

 ⊆

 ⊆

AA. . LLeett aa

 ∈

 ∈

AA

 B B andand bb

 ∈

 ∈

BB

 −

 −

 A A. . ThThen ten the she setet

 {

 {

a,a, bb

}}

  is in  is in PP((AA

 ∪

 ∪

 B B) but not in) but not in PP((AA) or in) or in PP((BB). ). TheTherefrefore bore by they the

contrapositive,

contrapositive,PP((AA

∪∪

BB) =) = P P((AA))

∪∪

PP((BB) ) if if  A A

 ⊆

 ⊆

 B B oror B B

 ⊆

 ⊆

 A A..

((

=)=)::   Suppose  Suppose A A

 ⊆

 ⊆

 B B. Then,. Then, A A

∪∪

BB = = B B soso PP((AA

∪∪

B) =B) = P P((BB). Now suppose). Now suppose B B

 ⊆

 ⊆

 A A. Then. Then A A

∪∪

BB = = A A so so P

P((AA

∪∪

BB) =) = P P((AA). Either way,). Either way, PP((AA

∪∪

BB) =) = P P((AA))

∪∪

PP((BB).).

Exercise:

Exercise:  6 Section 1.1 6 Section 1.1 Question:

Question: Give tGive the list desche list descriptioription of n of PP((

{{

11,, 22,, 33,, 44

}}

).).

Solution:

Solution: Using the defiUsing the definition of a pownition of a power set,er set,

P

P((

{{

11,, 22,, 33,, 44

}}

) =) =

{∅

{∅

,,

{{

11

}}

,,

{{

22

}}

,,

{{

33

}}

,,

{{

44

}}

,,

{{

11,, 22

}}

,,

{{

11,, 33

}}

,,

{{

11,, 44

}}

,,

{{

22,, 33

}}

,,

{{

22,, 44

}}

,,

{{

33,, 44

}}

,,

{{

11,, 22,, 33

}}

,,

{{

11,, 22,, 44

}}

,,

{{

11,, 33,, 44

}}

,,

{{

22,, 33,, 44

}}

,,

{{

11,, 22,, 33,, 44

}}

}}

..

Exercise:

Exercise:  7 Section 1.1 7 Section 1.1 Question:

Question: Give tGive the list desche list descriptioription of n of 

 {{

 {{

aa11,, aa22, . . . , a, . . . , akk

}

} ∈∈

 P P((

{{

11,, 22,, 33,, 44,, 55

}}

))





aa11 + + a a22 + +

·· ·· ··

++ a akk =  = 88

}}

..

Solution:

Solution: WWe need to find all the sube need to find all the subsets of sets of 

 {

 {

11,, 22,, 33,, 44,, 55

}}

 whos whose elemene elements add to a ts add to a totatotal of l of 8. 8. Recall that noRecall that no subset has repeated elements so

subset has repeated elements so

 {

 {

44,, 44,,

}}

 does not make sense. The set is does not make sense. The set is

{{

{{

11,, 22,, 55

}}

,,

{{

11,, 33,, 44

}}

,,

{{

33,, 55

}}

}}

..

Exercise:

Exercise:  8 Section 1.1 8 Section 1.1 Question:

Question: LetLet A A,, B B , and, and C  C  be subsets of a set be subsets of a set S  S .. a) Prove that (

a) Prove that (AA

BB))

C C  =  = ((AA

C C ))

((BB

C C ).). b)

b) Find and provFind and prove a e a similasimilar formur formula forla for A A

((BB

C C ).). Solution: Solution: a) a) S  S  A A B B C  C  S  S  A A B B C  C 

In the first Venn diagram, the lighter shade represents (

In the first Venn diagram, the lighter shade represents ( AA

BB), and the darker shade, which overlaps some), and the darker shade, which overlaps some of

of ((AA

BB), represents (), represents (AA

BB))

C C . . In the second VeIn the second Venn diagramnn diagram, , the lightthe lighter shade represeer shade represents (nts (AA

C C ),), while the darker shade represents (

while the darker shade represents (AA

C C ))

((BB

C C ). We observe from the diagrams that the darker regions). We observe from the diagrams that the darker regions are equal.

(4)

1.1.

1.1. SETS SETS AND AND FUNCFUNCTIONTIONS S  33

b) b) S  S  A A B B C  C  S  S  A A B B C  C 

In the Venn diagram above, the lighter shade represents

In the Venn diagram above, the lighter shade represents  B B

C C , and the darker shade represents, and the darker shade represents A A

((BB

C C ).). In the second diagram, the lighter region represents

In the second diagram, the lighter region represents  A A

BB, and the darker region represents, and the darker region represents A A

C C , which, which overlaps some of 

overlaps some of  A A

BB. Thus, (. Thus, (AA

BB))

∪∪

((AA

C C ) =) =  A A

((BB

C C ).). Exercise:

Exercise:  9 Section 1.1 9 Section 1.1 Question:

Question: LetLet A A,, B B , and, and C  C  be subsets of a set be subsets of a set S  S .. a)

a) ProProve thave thatt A A

BB = =

∅∅

 if and only if  if and only if  A A = = B B.. b)

b) ProProve thave thatt A A

∩∩

((BB

C C ) = ) = ((AA

∩∩

BB))

((AA

∩∩

C C ).). Solution:

Solution: LetLet A A,, B B , and, and C  C  be subsets of a set be subsets of a set S  S .. a)

a) Suppose Suppose thatthat A A

BB = =

∅∅

. Then by definition of the symmetric difference. Then by definition of the symmetric difference ((AA

BB))

∪∪

((BB

AA) =) =

∅∅

..

If the union of two sets is the empty set, then each of the two sets must be empty. Hence we deduce that If the union of two sets is the empty set, then each of the two sets must be empty. Hence we deduce that A

A

BB = =

 ∅

 ∅

 and and  B B

AA = =

∅∅

. Now for and two sets U . Now for and two sets U  andand T  T , the identity, the identity U  U 

 −

 −

T  =T =

∅∅

 is equivalent to is equivalent to U  U 

 ⊆

 ⊆

 T  T .. Hence we deduce that

Hence we deduce that  A A

 B B andand B B

 ⊆

 ⊆

 A A. Consequently,. Consequently, A A  = = B B.. The argument of the opposite direction is identical. Suppose that

The argument of the opposite direction is identical. Suppose that  A A  = = B B. Then. Then A A

 B B andand B B

 ⊆

 ⊆

 A A. Thus. Thus A

A

BB = =

 ∅

 ∅

 and and  B B

AA = =

 ∅

 ∅

. We deduce that. We deduce that  A A

BB =  = ((AA

BB))

∪∪

((BB

AA) =) =

∅∅

.. b)

b) There are a There are a vvarietariety y of ways to of ways to proprove the identitve the identityy AA

∩∩

((BB

C C ) ) = = ((AA

∩∩

BB))

((AA

∩∩

C C ). ). WWe could use could use a e a wewellll desig

designed Vened Venn diagram. nn diagram. WWe could e could also use a also use a memmembership table which lists all pbership table which lists all p ossibilossibilities of an ities of an elemeelementnt whether it is in or not in one of the given three sets. Here is a membership table for both side of the equality. whether it is in or not in one of the given three sets. Here is a membership table for both side of the equality. In this table, we put an

In this table, we put an

 √ 

 √ 

 in a column to indicate membership and nothing to indicate non-membership. in a column to indicate membership and nothing to indicate non-membership. Hence if there is a

Hence if there is a

 √ 

 √ 

 in the in the A A  and and  C  C  column and nothing in the column and nothing in the  B B  column, that refers to the situations of  column, that refers to the situations of  an element in

an element in A A, not in, not in B B  and in and in C  C .. A

A B B C C  ((BB

C ))C  AA

∩∩

((BB

C ) C ) ((AA

∩∩

BB) ) ((AA

∩∩

C C ) ) ((AA

∩∩

BB))

((AA

∩∩

C C ))

 

 

 

 

 

 

√ 

√ 

√ √ 

√ 

√ 

√ 

√ 

√ 

Since the

Since the A A

∩∩

((BB

C ) and column and the (C ) and column and the (AA

∩∩

BB))

((AA

∩∩

C C ) of this membership table are the same, then) of this membership table are the same, then the sets are equal.

the sets are equal. Exercise:

Exercise:  10 Section 1.1 10 Section 1.1 Question:

Question: LetLet S  S  be a set and let be a set and let

 {

 {

AAii

}}

ii

∈I 

∈I 

 be a collection of subsets of  be a collection of subsets of  S  S . Prove the following.. Prove the following.

a) a)

ii

∈I 

∈I 

A Aii = =

ii

∈I 

∈I 

A Aii.. b) b)

ii

∈I 

∈I 

A Aii = =

ii

∈I 

∈I 

A Aii.. Solution:

(5)

a)

a) WWe will e will proprove the equation by provinve the equation by proving g set inclusioset inclusion n in both in both direcdirectionstions.. (= (=

) Let) Let aa

 ∈

 ∈

ii

∈I 

∈I 

A Aii. . ThThenen a a //

∈∈

ii

∈I 

∈I 

A

Aii oror a  a //

∈∈

 A Aii  for every  for every  i i

 ∈ I 

 ∈ I 

. . And thiAnd this implis implies thaes thatt aa

 ∈

 ∈

 A Aii for every for every

ii

 ∈

 ∈ I 

. So then. So then a a

 ∈

 ∈

ii

∈I 

∈I 

A Aii. And so. And so

ii

∈I 

∈I 

A Aii

 ⊆

 ⊆

ii

∈I 

∈I 

A Aii.. ((

=) Let=) Let aa

 ∈

 ∈

ii

∈I 

∈I 

A

Aii. . ThThenen aa

 ∈

 ∈

 A Aii for every for every ii

 ∈ I 

 ∈ I 

. . WhicWhich implieh implies thats that a a //

∈∈

 A Aii for eversy for eversy ii

 ∈ I 

 ∈ I 

. . AnAnd sod so

a a //

∈∈

ii

∈I 

∈I 

A

Aii. Which implies. Which implies a a

∈∈

ii

∈I 

∈I 

A Aii. . SoSo

ii

∈I 

∈I 

A Aii

 ⊆

 ⊆

ii

∈I 

∈I 

A Aii.. And so And so

ii

∈I 

∈I 

A Aii = =

ii

∈I 

∈I 

A Aii.. b)

b) WWe will e will proprove this equation by provinve this equation by proving set g set inclusinclusion in ion in both directioboth directions.ns. (=

(=

) Let) Let a a

 ∈

 ∈

ii

∈I 

∈I 

A

Aii. . SoSo a  a //

∈∈

ii

∈I 

∈I 

A

Aii. . SoSo a  a //

∈∈

 A Aii for at least one  i for at least one i

 ∈

 ∈ I 

. . SoSo a a

 ∈

 ∈

 A Aii for at least one for at least one  i i

 ∈

 ∈ I 

. . SoSo

a a

∈∈

ii

∈I 

∈I 

A

Aii. Which implies that. Which implies that

ii

∈I 

∈I 

A Aii

 ⊆

 ⊆

ii

∈I 

∈I 

A Aii..

((

=) Let=) Let a a

 ∈

 ∈

ii

∈I 

∈I 

A

Aii. Then. Then a a

 ∈

 ∈

 A Aii for at least one for at least one  i i

 ∈

 ∈ I 

. . This impThis implielies thats that a  a //

∈∈

 A Aii for at least one for at least one ii

 ∈

 ∈ I 

..

It follows that

It follows that a  a //

∈∈

ii

∈I 

∈I 

A

Aii. Which implies that. Which implies that a a

 ∈

 ∈

ii

∈I 

∈I 

A Aii. . SoSo

ii

∈I 

∈I 

A Aii

 ⊆

 ⊆

ii

∈I 

∈I 

A Aii.. So So

ii

∈I 

∈I 

A Aii = =

ii

∈I 

∈I 

A Aii.. Exercise:

Exercise:  11 Section 1.1 11 Section 1.1 Question:

Question: LetLet P P   be the parabola in the plane whose equation is  be the parabola in the plane whose equation is yy == xx22. . LeLett

 {

 {

AAqq

}}

qq

P P   be the collection of   be the collection of 

subsets of 

subsets of  R R22 wherewhere A Aqq is the tangent line to is the tangent line to  P  P  atat q  q . Determine with proof . Determine with proof 

qq

 A Aqq..

Solution:

Solution: SkeSketchtching a ing a pictupicture of the re of the standstandard parabolaard parabola, , we see that all the we see that all the tangtangent lines are in some senseent lines are in some sense beneath the parabola. Also, taking the (infinite, uncountable) union of all the tangent lines to the parabola, we beneath the parabola. Also, taking the (infinite, uncountable) union of all the tangent lines to the parabola, we might guess that we would get all points (

might guess that we would get all points ( a,a, bb) in the plane such that) in the plane such that  b b

 ≤

 ≤

 a a22. We need to prove this hypothesis.. We need to prove this hypothesis.

Label the coordinates of a point

Label the coordinates of a point q q 

 ∈

 ∈

P P  asas q q  = = ((xx00,, xx0202). ). FFrom calcurom calculus, the tangenlus, the tangent line tot line to P P  atat q q  has the has the

equation equation

yy = = x x2200 + 2 + 2xx00((xx

xx00) =) =

 y y =  = 22xx00xx

xx2200..

Now suppose that some point (

Now suppose that some point (a,a, bb) in the plane is on a tangent line. Then, for some) in the plane is on a tangent line. Then, for some  x x00, we have, we have b b =  = 22xx00aa

xx2200..

Since

Since a, a, bb are given and are given and x x00 is unknown, this is an equation in is unknown, this is an equation in  x x00. The quadratic formula gives for. The quadratic formula gives for  x x00

x x00 = = 22aa

±

±

√ 

√ 

44aa22

44bb 22 == a a

±

±

 

 

aa 2 2

b.b. In particular, we note that there exists an

In particular, we note that there exists an  x x00 if and only if  if and only if  a a22

bb

 0, confirming the hypothesis that 0, confirming the hypothesis that  b b

 ≤

 ≤

 a a22..

Exercise:

Exercise:  12 Section 1.1 12 Section 1.1 Question:

Question: LetLet

 {

 {

AAkk

}}

kk

NN be the collection of subsets of  be the collection of subsets of  R R33 such thatsuch that A Akk = =

 {

 {

((x,y,zx,y,z))

∈∈

RR33

||

zz

 ≥

 ≥

 ky ky

}}

. Determine. Determine

both

both

kk

NN A Akk andand

kk

NN A Akk..

Solution:

Solution: Each Each subsetsubset A Akk represents all points greater than the plane that is bound on the line represents all points greater than the plane that is bound on the line  z z  = = ky ky . In the. In the

diagram below, imagine the x-axis is coming out of the page, and let

diagram below, imagine the x-axis is coming out of the page, and let  k k11,, k k22, and, and k k33 represent the bounds of the represent the bounds of the

subsets

subsets A A11,, A A22, and, and A A33 respectively. We note that the larger respectively. We note that the larger  k k gets, the more steep the plane becomes. However, gets, the more steep the plane becomes. However,

the condition does not hold true for

the condition does not hold true for z  z << 0 when 0 when y y is 0. Therefore, is 0. Therefore,

kk

NN A Akk = =

{{

((x,y,zx,y,z))

||

zz

 ≥

 ≥

 y y

}∪{

}∪{

((x,y,zx,y,z))

||

x x << 0 0

}}

,,

and and

kk

(6)

1.1. SETS AND FUNCTIONS  5 z y k1 k2 k3 Exercise:  13 Section 1.1

Question: In geometry of the plane, a subset  S  of the plane is called convex  if for all p, q 

 ∈

 S  the line segment  pq  connecting p  and  q  is a subset of  S . Prove that the intersection of two convex sets is a convex set.

Solution: Let S  and R  both be convex sets. Consider  S 

 ∩

R. Case 1: If  S 

 ∩

R is empty, than it is trivially a convex set.

Case 2:  If it is non-empty, for any p, q 

 ∈

 S 

 ∩

R, consider the line segment pq . Since p, q 

 ∈

 S  and S  is convex, we know that pq 

 ⊆

 S . By the same reasoning, since p, q 

 ∈

 R and R is convex, this implies that pq 

 ⊆

 R. Since pq  is a subset of both  S  and R, we have pq 

 ⊆

 S 

R. So S 

R is convex.

This proves that S 

R is convex. Exercise:  14 Section 1.1

Question: Inclusion-Exclusion Principle. Let A, B , and C  be finite subsets of a set  S . a) Prove that

 |

A

B

|

 =

 |

A

|

+

|

B

| − |

A

B

|

.

b) (*) Prove that

 |

A

B

|

 =

|

A

|

+

|

B

|

+

|

| − |

A

B

| − |

A

| − |

B

|

+

|

A

B

|

. Solution:

a) Let

 |

A

|

= n and

 |

B

|

= m. Now A

 B  is all of the elements that are either in A or B. If we say that

|

A

B

|

 =

 |

A

|

+

|

B

|

 = n + m, for any element c that exists in both A and B, or equivalently A

B, we account for that element twice, once in

 |

A

|

 and the second in

 |

B

|

. So we must subtract 1 for the

 |

A

B

|

elements we account for twice. So

 |

A

B

|

 =

|

A

|

+

|

B

| −

1(

|

A

B

|

) =

|

A

|

+

|

B

| − |

A

B

|

.

b) Let D = A

B and consider

|

D

|

. By applying the first result of this exercise,

|

D

|

 =

|

D

|

+

|

|−|

D

|

. And if we put A

B back in for  D  and apply the first result again we get

 |

A

B

|

+

|

| − |

(A

B)

|

 =

|

A

|

+

|

B

| − |

A

B

|

+

|

| − |

(A

B)

|

. Now we will consider

 |

(A

B)

|

. (A

B)

C  contains all the elements that are in (A or B) and C . If  A  and C  have n  elements in common, or equivalently

 |

A

|

 = n, and likewise

|

B

|

 = m, then

|

(A

B)

|

is certainly at most m+n. However, we should not double count whatever elements are in both A

C  and B

C , or A

B

C . So we must subtract out that amount, and we arrive at

 |

(A

B)

|

 =

|

A

|

+

|

B

|−|

A

B

|

. Plugging this result back into our original equation we get

 |

A

|

+

|

B

|−|

A

B

|

+

|

|−|

(A

B)

|

 =

|

A

|

+

|

B

|

+

|

|−|

A

B

|−

(

|

A

|

+

|

B

|−|

A

B

|

) =

|

A

|

+

|

B

|

+

|

| − |

A

B

| − |

A

| − |

B

|

+

|

A

B

|

. Exercise:  15 Section 1.1

Question: Let U  be a set and  A, B

 ⊆

 U . a) Show by any means that A

B = A

B. b) Show by any means that A

B = A

B. Solution:

(7)

a) Observe the Venn diagrams below: U  U  U  A B U  U  U  A B

In the above diagrams, the left diagram represents A

B, and the right diagram represents A

 ∪

 B. In the A

B diagram, represents A, represents B, and represents where they overlap. A

B is represented by the union of these shaded regions. We can observe the shaded regions from both diagrams describes the same set, thus  A

B = A

B.

b) Observe the Venn diagrams below:

U  U  U  A B U  U  U  A B

In the above diagrams, the left diagram represents  A

B, and the right diagram represents  A

B. In the A

 B diagram, represents A, represents B, and represents A

 B. Notice, the shaded region describes the same set that is shaded in the  A

B diagram, hence A

B = A

B.

Exercise:  16 Section 1.1

Question: (*) Let n be a positive integer. Describe an algorithm (a finite list of well-defined instructions to accomplish a task) to list all the subsets of 

 {

1, 2, 3, . . . , n

}

.

Solution:

Let S  =

 {{∅}}

 and  k  = 1. For every set in S , add a new set to  S   representing the union of 

 {

k

}

 and the set in S . Once this process is completed union

 {

k

}

 to  S . Increase k  by 1. Repeat this process until  k  = n. In other words, while k < n, S  = S 

∪ {

s

|

 t

∪ {

k

}

,

 ∀

t

 S 

} ∪ {

k

}

.

Exercise:  17 Section 1.1

Question: For each of these real-valued functions determine the largest possible domain D as a subset of R and then prove whether  f  : D

 →

R is an injection, surjection, both, or neither.

a) f (x) =

 −

3x + 4 b) f (x) =

 −

3x2+ 7

c) f (x) = (x + 1)/(x + 2) d) f (x) =  x5+ 1

Solution: We decide if the function is an injection, surjection, both, or neither.

a) Let f (x) =

 −

3x + 4. This function can be defined over the whole domain R. Suppose that f (x1) =  f (x2).

Then

 −

3x1 + 4 =

 −

3x2 + 4. This implies that

 −

3x1 =

 −

3x2 so x1 =  x2. This shows that f (x) is injective.

To prove surjectivity, we attempt to solve for x  in the expression y = f (x) for an arbitrary y. We get x = 4

3y  . Since there is a solution in x  for any y, then f  is surjective. (f  is bijective.)

b) Let f (x) =

 −

3x2 + 7. The largest possible domain of definition is R. Note that f (

1) = 4 = f (1). This shows that f  is not injective. To test for surjectivity, we attempt to solve for  x  in  y  = f (x). The equation y =

 −

3x2+ 7 leads to x =

 ±

 

(7

y)/3. However, if  y > 7 there is no solution for x. Hence, since the codomain of  f  is R, f  is not surjective. (f   is neither.)

(8)

1.1. SETS AND FUNCTIONS  7 suppose that f (x1) =  f (x2). Then we have

x1 + 1 x1 + 2 = x1 + 1 x1 + 2 =

 (x1 + 1)(x2 + 2) = (x1 + 2)(x2 + 1) =

 x1x2 + 2x1 + x2 + 2 = x1x2 + x1 + 2x2 + 2 =

 2x1 + x2 = x1 + 2x2 =

 x1 = x2.

This shows that f  is injective. To test for surjectivity, we attempt to solve  y  =  f (x) for x  given arbitrary y. We have

y = x + 1

x + 2 =

 yx + 2y = x + 1 =

 xy

x = 1

2y =

 x =

1

2y y

1 . We see that there is no solution for  x  if  y  = 1. Hence f (x) is not surjective.

d) Consider the function f (x) =  x5+ 1. This is defined over all R so this is the largest possible domain in R. To check for injectivity, consider the equality  f (x1) =  f (x2). This gives

x51 + 1 = x52 + 1 =

 x51

x52 = 0 =

 (x1

x2)(x41 + x31x2 + x21x22 + x1x32 + x42) = 0.

Obviously the equation holds if  x1 = x2. Now we look for solutions of the second term. Note that if 

x2 = 0, then the quartic equation implies that x1 = 0. But then x1 = x2, which we already know to be a

possibility. Assuming that x1

 

= x2, after division by x42 the quartic term implies

x1 x2

4 +

x1 x2

3 +

x1 x2

2 +

x1 x2

+ 1 = 0

A graph of the function g(x) = x4 + x3 + x2 + x + 1 shows that g(x) has no solutions. Thus, the only

solution to f (x1) = f (x2) is x1 = x2. Thus f  is injective. For surjectivity, we see that y = f (x) implies

that x =

√ 

5y

1, which is defined for all  y. Hence f  is surjective. (f  is bijective.) Exercise:  18 Section 1.1

Question: Given an explicit example of a function f  :Z

Z that is a) bijective;

b) surjective but not injective; c) injective but not surjective; d) neither injective nor surjective.

Solution: Recall that

 

x

  takes x  and returns the nearest integer less than or equal to x. The solutions presented here are not the only options!

a) f (x) =

x. b) f (x) =

x/2

.

c) f (x) =  x

2. d) f (x) =  x2.

Exercise:  19 Section 1.1

Question: Given an explicit example of a function f  :N

N that is a) bijective;

b) surjective but not injective; c) injective but not surjective; d) neither injective nor surjective.

Solution: Recall that

x

takes x and returns the nearest integer less than or equal to  x. The answers presented here are not the only options!

a) f (x) =  x. b) f (x) =

x/2

.

(9)

d) f (x) = 2

(

x/2

). Exercise:  20 Section 1.1

Question: Let f  : A

 →

B and g : B

 →

C  be functions. Prove that if  f  and g  are bijective, then g

 ◦

 f  is bijective and

(g

f )

1 = f 

1

g

1.

Solution:   Assume g

f  is not injective. Then there would exist  a1, a2

 ∈

 A  such that a1

 

= a2 and g

f (a1) =

g

 ◦

f (a2). Let b1 = f (a1) and b2 = f (a2). We know that b1

 

= b2 because f is bijective. Using substitution, we

notice that g(b1) = g(b2), but b1

 

= b2. This creates a contradiction since g  is bijective. Thus, g

f   is injective.

Now assume that g

f  is not surjective. Then there would exist at least one  c

 ∈

 C  such that

 ∀

a

 A, g(f (a))

= c. By substituting we observe

b

 ∈

 B, g(b)

= c. However, since g is bijective, this creates a contradiction. Therefore g

f   is surjective. Hence, g

f  is bijective.

Let f (a) =  b and  g(b) =  c. Then g(f (a)) = c so (g

f )

1(c) =  a. Therefore,

(g

f )

1(c) =  a = f 

1(b) =  f 

1(g

1(c)) so (g

f )

1 = f 

1

g

1.

Exercise:  21 Section 1.1

Question: Suppose that f  and g  are functions and that f 

 ◦

g is injective. a) Prove that g  is injective.

b) Does it also follow that f   is injective? Justify your answer (with a proof or counter-example). Solution:

a) For the sake of contradiction, we assume  g  is not injective. Then for some  a, b that exist in the domain of  g, g(a) =  g(b). However, then f (g(a)) =  f (g(b)) as well. This contradicts the injectivity of  f 

g. Therefore g must be injective.

b) No it does not. Consider the following functions  f , g : Z

−→

Z: g(x) =

2x if  x

 ≥

 0

2

|

x

|

+ 1 if   x < 0. f (x) =  x2.

Now, g  sends non-negative numbers to a unique, non-negative, even number and negative numbers to a unique, positive, odd number. However, f  is injective on non-negative numbers so that  f 

 ◦

g  is injective, but is not injective on all of  Z. (Note: What is necessary is that f  be injective on the range of  g  (in our case, the nonnegative numbers) but not necessarily the codomain of  g(in our case, all of  Z))

Exercise:  22 Section 1.1

Question: Suppose that f  and g  are functions and that f 

 ◦

g is surjective. a) Prove that f  is surjective.

b) Does it also follow that g  is surjective? Justify your answer (with a proof or counter-example). Solution:

a) Consider any a in the codomain of  f . Since a is also in the codomain of  f 

 ◦

 g and f 

 ◦

 g  is a surjective function, there must exist some b   in the domain of  f 

 ◦

 g   so that a = (f 

 ◦

 g)(b). Set c = g(b). Then (f 

 ◦

g)(b) =  f (g(b)) = f (c) =  a. So every element of the codomain is hit by  f  and f  is surjective.

b) No it does not. Consider the functions f, g : N

 −→

 N where f (x) =

 

x/2

and g(x) = 2x. Then for any y

 ∈

N, (f 

 ◦

g)(y) =  f (g(y)) =  f (2

y) =

(2

y)/2

 =

y

 = y. So f 

 ◦

g is surjective, but g  is certainly not since no odd, positive numbers will be hit.

Exercise:  23 Section 1.1

Question: Restate the definition of (a) injective and (b) surjective as applied to a function  f  : A

 →

 B in terms of properties of the sets  f 

1(

{

b

}

). Solution:

(10)

1.1. SETS AND FUNCTIONS  9 a) For injectivity,

 |

1(

{

b

}

)

| ≤

 1. b) For surjectivity,

 |

1

{

b

}

)

| ≥

 1. Exercise:  24 Section 1.1

Question: For the following functions f , find the pre-image (or fiber) f 

1(T ) of the given set T  in the codomain.

a) f  :R

R with f (x) = sin x and  T  =

{

√ 

3/2

}

. b) f  :R

R with g(x) =  x2

2 and T  = [1, 2].

c) f  :R

R with h(x) =  x3

2x and  T  = [

1, 0].

Solution: Note that the pre-image of  f 

1(T ) represents all of the domain values that map to the elements of 

T . a) f 

1(T ) =  sin

1(

√ 

23) =

{

π3,2π3

 }

b) f 

1(T ) =  g

1([1, 2]) x2

2 = 1

 x =

±

√ 

3 x2

2 = 2

 x =

±

2 x f (x)

2

1 1 2 1 2

1

2 x2

2

Therefore, the pre-image of  g

1([1, 2]) is

 {

[

2,

√ 

3], [

√ 

3, 2]

}

. c) f 

1(T ) = h

1([

1, 0]) Notice that 1 is a zero of the polynomial x3

2x + 1. This allows us to find the x-values that satisfy x3

2x =

1. x3

2x + 1 = (x

1)(x2 + x

1) x = 1,

 −

1

±

√ 

5 2 x3

2x = 0

 x = 0,

±

√ 

2 x f (x)

2

1 1 2 1 2

1

2 x3

2x

Therefore, the pre-image of  h

1([

1, 0]) is

 {

[

1

√ 

5

2 ,

√ 

2], [0,

 −

1+

√ 

5

(11)

Exercise:  25 Section 1.1

Question: Let f  : A

 −→

 B  be a function from the set  A  to the set B . Let S  and T  be subsets of the domain A.

1. Show that f (S 

 ∪

T ) =  f (S )

f (T ). 2. Show that f (S 

 ∩

T )

 f (S )

f (T ).

3. Find an example of a function  f  : A

 →

 B  and subsets S  and T  in A  such that f (S 

T )

= f (S )

f (T ). Solution:

a) We prove first that f (S 

T )

 ⊆

 f (S )

f (T ). Suppose that y

 ∈

 f (S 

T ). Then there exists  x

 ∈

 S 

T   such that f (x) = y. We have x

 ∈

 S  or x

 ∈

 T , so y  =  f (x)

 ∈

 f (S ) or y  =  f (x)

 ∈

 f (T ). Hence y

 ∈

 f (S )

f (T ), so we deduce that f (S 

 ∪

T )

 f (S )

f (T ).

Conversely, suppose that y

 ∈

 f (S )

f (T ). This y

 ∈

 f (S ) or y

 ∈

 f (T ). We deduce that there exists  x

 ∈

 S  with f (x) = y  or there exists  x

 ∈

 T   with f (x

) = y. Thus, there exists an x

 ∈

 S 

 ∪

T   such that x  =  f (y)

and we deduce that f (S )

f (T )

 ⊆

 f (S 

T ).

With these two set inclusions, we conclude that  f (S 

 ∪

T ) =  f (S )

f (T ).

b) Let y

 ∈

f (S 

 ∩

T ). By definition, there exists x

 ∈

 ∩

T   such that y = f (x). Then x

 ∈

S  and x

 ∈

T  so y = f (x)

 ∈

 f (S ) and y  = f (x)

 f (T ). Thus y

 ∈

 f (S )

f (T ). We conclude that f (S 

T )

 ⊆

 f (S )

f (T ). c) Consider the function f  : R

R with f (x) =  x2. Setting S  = [

2,

1] and T  = [1, 2], we find that

f (S 

 ∩

T ) =  f (

) =

f (S )

f (T ) = [1, 4]

[1, 4] = [1, 4] Obviously, these are not equal sets.

Note that if we attempted to prove that f (S )

f (T )

 ⊆

 f (S 

 ∩

T ), the reasoning would go as follows. Let y

 ∈

 f (S )

f (T ). Then y

 ∈

 f (S ) and y

 ∈

 f (T ). Then there exists x

 ∈

 S   with f (x) = y  and there exists x

 ∈

 T   with f (x

) = y. However, since x does not have to be equal to  x

, there does not have to exist an

element  x



 ∈

 S 

 ∩

T  such that f (x



) =  y.

Exercise:  26 Section 1.1

Question: Let f  : A

 −→

 B be a function from the set  A to the set B. Let V  and W  be subsets of the codomain B. Show the following.

a) f 

1(V 

 ∪

W ) =  f 

1(V  )

1(W ). b) f 

1(V 

 ∩

W ) =  f 

1(V  )

1(W ). Solution:

a) We will prove the equality by showing set inclusion in both directions.

(=

)   Consider any element  a

 ∈

 f 

1(V 

 ∪

W ). Then f (a)

 ∈

 V 

 ∪

W  so that f (a) exists in V  or W . Then a

 ∈

1(V  ) or f 

1(W ). Which implies a

 ∈

1(V  )

 ∪

 f 

1(W ). This shows that f 

1(V 

 ∪

 W )

 ⊆

1(V  )

1(W ).

(

=)  Consider any element b

 f 

1(V  )

1(W ). So b exists in at least one of  f 

1(V  ) or f 

1(W ). Then

f (b) exists in V  or W . Which implies f (b)

 ∈

 ∪

 W . So then b

 ∈

1(V 

 ∪

 W ). This shows that f 

1(V  )

1(W )

 ⊆

 f 

1(V 

 ∪

W ). This proves the equality f 

1(V 

 ∪

W ) =  f 

1(V  )

1(W ).

b) We will prove the equality by showing set inclusion in both directions.

(=

)   Consider any element a

 ∈

1(V 

 ∩

W ). So f (a) exists in both V  and W . Then a exists in both f 

1(V  ) and f 

1(W ). Which implies that a

 ∈

1(V  )

1(W ). This shows that f 

1(V 

 ∩

W )

 ⊆

1(V  )

1(W ).

(

=)   Consider any element a

 ∈

 f 

1(V  )

1(W ). So a exists in both f 

1(V  ) and f 

1(W ). Then f (a)

exists in both V  and W . Then, by definition, f (a)

 ∈

 V 

 ∩

W . Which implies that a

 ∈

 f 

1(V 

 ∩

W ). This shows that f 

1(V  )

1(W )

 f 

1(V 

 ∩

W ). This proves the equality f 

1(V 

 ∩

W ) =  f 

1(V  )

References

Related documents

The slpB gene of Lactobacillus acidophilus NCFM, which differs from the slpA gene and is silent under normal condi- tions, was successfully amplified and ligated to

The long feet versus small tailor hands surprised me.. The long feet versus small tailor hands

The purpose of this study was to investigate the online English information searching strategies (OEISS) used by university students studying English as a foreign

Anyway, considering the fact that the number of retiring people is increasing, some authors are of the opinion that by 2012, the USA will not be able to fill more than a

Moreover, while changes in convective heat transfer due to respiration in adults are easily observed using an IR camera, respiration monitoring in the preterm infant remains a

Among the several metabolites produced from endosulfan in a bioenvironmental system, endosul- fan sulfate is more toxic and persistent than endosulfan, while others, such

In a previous study in patients with type 1 diabetes receiving IAsp as the mealtime insulin in a multiple-injec- tion regimen, lower postprandial blood glucose levels and

From purchasing specialized equipment for the neonatal intensive care unit to funding support groups for cancer patients, The Friends plays a vital role in