Selected Solutions to Even Problems, Part 3

Similar documents
MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M001: Green) 6 December Points Possible

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M004: Blue) 6 December Points Possible

CSC Discrete Math I, Spring Relations

Equivalence relations

MATH 433 Applied Algebra Lecture 14: Functions. Relations.

Sets, Functions and Relations

REVIEW FOR THIRD 3200 MIDTERM

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Solutions to Homework Problems

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

Lecture 8: Equivalence Relations

1. To be a grandfather. Objects of our consideration are people; a person a is associated with a person b if a is a grandfather of b.

Thus, X is connected by Problem 4. Case 3: X = (a, b]. This case is analogous to Case 2. Case 4: X = (a, b). Choose ε < b a

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

MATH 61-02: PRACTICE PROBLEMS FOR FINAL EXAM

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

MAD 3105 PRACTICE TEST 2 SOLUTIONS

1 Basic Combinatorics

Chapter 1 : The language of mathematics.

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

Generating Permutations and Combinations

(a) We need to prove that is reflexive, symmetric and transitive. 2b + a = 3a + 3b (2a + b) = 3a + 3b 3k = 3(a + b k)

0 Sets and Induction. Sets

Problems for Putnam Training

Section Summary. Relations and Functions Properties of Relations. Combining Relations

1.4 Equivalence Relations and Partitions

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Week 4-5: Binary Relations

Multiple Choice Questions for Review

Chapter 9: Relations Relations

WILLIAM LOWELL PUTNAM MATHEMATICAL COMPETITION. (3k(k + 1) + 1), for n 1.

6 CARDINALITY OF SETS

D-MATH Algebra I HS 2013 Prof. Brent Doran. Solution 3. Modular arithmetic, quotients, product groups

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

Supplementary Material for MTH 299 Online Edition

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant).

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Properties of the Integers

Maximal Symmetric Difference-Free Families of Subsets of [n]

Math Fall 2014 Final Exam Solutions

Discrete Structures: Sample Questions, Exam 2, SOLUTIONS

Midterm Exam. There are 6 problems. Your 5 best answers count. Please pay attention to the presentation of your work! Best 5

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

HOMEWORK ASSIGNMENT 6

Written Homework # 4 Solution

Math 127 Homework. Mary Radcliffe. Due 29 March Complete the following problems. Fully justify each response.

Relations Graphical View

Practice Exam 1 CIS/CSE 607, Spring 2009

Rela%ons and Their Proper%es. Slides by A. Bloomfield

Week 4-5: Binary Relations

Citation Osaka Journal of Mathematics. 43(2)

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Math 109 September 1, 2016

CMPSCI 250: Introduction to Computation. Lecture #11: Equivalence Relations David Mix Barrington 27 September 2013

Relations. Relations. Definition. Let A and B be sets.

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

Math 205 April 28, 2009 Final Exam Review

1.2 Functions What is a Function? 1.2. FUNCTIONS 11

Chapter 1 Preliminaries

Chapter 1. Sets and Mappings

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

COMP 182 Algorithmic Thinking. Relations. Luay Nakhleh Computer Science Rice University

Reading 11 : Relations and Functions

Solutions for Chapter Solutions for Chapter 17. Section 17.1 Exercises

Monoids. Definition: A binary operation on a set M is a function : M M M. Examples:

3. R = = on Z. R, S, A, T.

CHAPTER 1. Relations. 1. Relations and Their Properties. Discussion

MATH 101: ALGEBRA I WORKSHEET, DAY #1. We review the prerequisites for the course in set theory and beginning a first pass on group. 1.

STUDY GUIDE FOR THE WRECKONING. 1. Combinatorics. (1) How many (positive integer) divisors does 2940 have? What about 3150?

FOUNDATIONS & PROOF LECTURE NOTES by Dr Lynne Walling

Week 4-5: Generating Permutations and Combinations

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions

IVA S STUDY GUIDE FOR THE DISCRETE FINAL EXAM - SELECTED SOLUTIONS. 1. Combinatorics

CIS 375 Intro to Discrete Mathematics Exam 2 (Section M001: Yellow) 10 November Points Possible

Introduction to Proofs

Mobius Inversion on Partially Ordered Sets

To hand in: (a) Prove that a group G is abelian (= commutative) if and only if (xy) 2 = x 2 y 2 for all x, y G.

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.

Example: Use a direct argument to show that the sum of two even integers has to be even. Solution: Recall that an integer is even if it is a multiple

Diskrete Mathematik Solution 6

SF2729 GROUPS AND RINGS LECTURE NOTES

Sets and Motivation for Boolean algebra

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)

Induced subgraphs of graphs with large chromatic number. III. Long holes

Relations, Functions, and Sequences

What are relations? f: A B

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

MATH XYZ. 1. Basics: Sets, Maps, Relations,...

Coloring Vertices and Edges of a Path by Nonempty Subsets of a Set

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Packet #5: Binary Relations. Applied Discrete Mathematics

xy xyy 1 = ey 1 = y 1 i.e.

Discrete mathematics , Fall Instructor: prof. János Pach

Chapter 1. Sets and Numbers


RELATIONS AND FUNCTIONS

Transcription:

Selected Solutions to Even Problems, Part 3 March 14, 005 Page 77 6. If one selects 101 integers from among {1,,..., 00}, then at least two of these numbers must be consecutive, and therefore coprime (which means that gcd(m, n) = 1). To see that there must be such a consecutive pair, we write the integers {1,,..., 00} as a union of 100 disjoint sets {1, } {3, 4} {5, 6} {199, 00}. Then, if we select 101 numbers, since there are only 100 such sets, we must have selected two numbers from the same set; that is, we must have selected a pair of consecutive numbers. 8. a. If S is a subset of the positive integers having at least 3 elements, we may write S = S e S o, where S e is the set of even elements belonging to S, and S o is the set of odd elements belonging to S. One or the other of these sets S e or S o must have at least two elements; else, S has at most elements. If S e has at least two elements, say x and y, then x + y is even; and, if S o has at least two elements, say x and y, then x + y is even. So, S contains at least two elements x and y such that x + y is even when S 3. b. If S has at least 5 elements, then there exists such a pair (x 1, y 1 ), (x, y ) S with (x 1, y 1 ) + (x, y ) = (z 1, z ), where z 1 and z are both even. To see that S must have at least 5 elements, consider the set S = {(1, 1), (1, ), (, ), (, 1)}. No sum of a pair of distinct elements of S will produce an ordered pair with both coordinates even. In general, any such set S may be partitioned as S = S e,e S e,o S o,e S o,o, 1

where S e,e is the set of ordered pairs (x 1, x ) S where both x 1 and x are even. The other sets are defined analogously. Now, if S has at least 5 elements, by the pigeonhole principle, one of these four disjoint sets will contain at least two elements. For example, S e,o may contain at least two elements (x 1, x ), (x 3, x 4 ). If so, then (x 1, x ) + (x 3, x 4 ) will have both coordinates even. The same is true for the sum of two elements from the other three sets S e,e, S o,e, ands o,o. So, if S has at least 5 elements, there is a pair of distinct elements of S who sum has even coordinates. c. Extending the idea from part b, if S Z + Z + Z +, and if S 9, then S has a pair who sum has even coordinates. Page 88.. a. On the interval (, 7], g(x) = x 8 x + = (x )(x + ) x + = (x ) = f(x). b. If we change A to ( 7, ], then f(x) g(x); in fact, f(x) is not even defined at x =. 10. a. f is invertible with inverse f 1 = {(x, y) : y + 3x = 7}. b. f is not invertible in general. For example, if a = c = 0 and b = 1, then f(x) = 0, which is not injective, so cannot be invertible (invertible bijection). c. f is invertible with inverse f 1 = {(x, y) : y = x 1/3 }. d. f is not invertible, since f(0) = f( 1) = 0, which implies f is not injective. (Recall f invertible f is a bijection) Page 344 14. If R is an antisymmetric relation on a set with n elements, then for any pair of distinct elements a, b A we cannot have that both (a, b) and (b, a) belong to R, else a = b (so, they were not distinct elements after all.) Thus, the largest that R can be is if it contains all the pairs (a, a), together with one or the other of (a, b) or (b, a) for all pairs of distinct elements a, b A; so, ( ) n R n +.

An example of an antisymmetric relation where this bound on R is attained is A = {1,,..., n} and where the relation R is less-than-or-equal; that is, (a, b) R if and only if a b. Page 354.. If R is reflexive, then (a, a) R for all a A. Now, sice for every a A we have that there exists b A such that (a, b) A and (b, a) A, namely b = a, we have that (a, a) R, by the definition of the composition of two relations. It follows that R is also reflexive. 1. a and b. Suppose that R is a relation on a set A having n elements, which we can suppose are A = {1,,..., n}. Then, M(R) will be the matrix whose i, j entry is 1 if and only if (i, j) R; otherwise, the i, j entry is 0. So, this matrix is the 0 matrix if and only if R is empty. Part b is now obvious. c. From problem 11 we deduce that M(R n )M(R) = M(R n+1 ). Thus, for n =, M(R) = M(R ). Assume, for proof by induction, that M(R) k = M(R k ). Then, M(R k+1 ) = M(R k R) = M(R k )M(R) = M(R) k M(R) = M(R) k+1. The induction step is proved, and so the claim follows by mathematical induction. Here, note that the product of two matrices is defined in a funny way: M 1 M is the matrix whose i, j entry is 1 if and only if the i, j entry in the usual product of the matrices M 1 and M is 1; and the i, j entry in M 1 M is 0 otherwise. Page 364. 8. Suppose the poset (A, R) has two least elements, a 1 and a. Thus, a 1 b and a b for all b A. In particular, a 1 a and a a 1. Now, since partial orders are antisymmetric, it follows that a 1 = a, and therefore the least element, if it exists, is unique. 1. If R is a total relation if and only if the graph G has n + ( n ) edges. The term n comes from the edges corresponding to (a, a) R; and, the term ( ) n corresponds to the fact that the graph G contains edges corresponding to all 3

pairs of distinct vertices. Note that this directed graph G is not the Hasse diagram corresponding the the poset. Page 370.. a. The only element not accouted for in the conditions 1, A 1, 3, 4 A, 5, 6, 7 A 3 is the element 8, which can be in any of the three sets A 1, A or A 3. So, there are 3 possibilities for A 1, A, and A 3. b. If A 1 = 3, then A 1 contains either 7 or 8, but not both. One of the remaining sets A or A 3 must contain the remaining element. So, there are 4 possibilities (7 A 1, 8 A ; or 7 A 1, 8 A 3 ; or 8 A 1, 7 A ; or 8 A 1, 7 A 3 ). c. Either 7, 8 are both in the same set, which accounts for three possibilities for A 1, A, A 3 ; or, 7 is in one set, and 8 is in the other, which accouts for 6 more possibilies for A 1, A, A 3. So, there are 9 possibilities in all. Page 396. 4. We let c 1, c, c 3, c 4 be the conditions that a person brings hot dogs, chicken, salads, and dessert, respectively. So, we are given N = 65, N(c 1 ) = 1, N(c ) = 35, N(c 3 ) = 8, N(c 4 ) = 3, N(c 1 c ) = 13, N(c 1 c 3 ) = 10, N(c 1 c 4 ) = 9, N(c c 3 ) = 1, N(c c 4 ) = 17, N(c 3 c 4 ) = 14, N(c 1 c c 3 ) = 4, N(c 1 c c 4 ) = 6, N(c 1 c 3 c 4 ) = 5, N(c c 3 c 4 ) = 7, and N(c 1 c c 3 c 4 ) =. a. The people who set up and clean is N(c 1 c c 3 c 4 ), which is 65 1 35 8 3 + 13 + 10 + 9 + 1 + 17 + 14 4 6 5 7 + = 4. b. Those that bring only hotdogs are N(c 1 c c 3 c 4 ), which is N(c 1 ) N(c 1 c ) N(c 1 c 3 ) N(c 1 c 4 )+N(c 1 c c 3 )+N(c 1 c c 4 )+N(c 1 c 3 c 4 ) N(c 1 c c 3 c 4 ), which is c. Let 1 13 10 9 + 4 + 6 + 5 =. S m = {c i1,...,c im } {c 1,...,c 4 } N(c i1 c im ); that is, for example if m =, then S m is N(c 1 c ) + N(c 1 c 3 ) + + N(c 3 c 4 ). We have that S 1 = 116, S = 75, S 3 =, S 4 =. 4

Then, the number of people who serve exactly one item is S 1 S + 3S 3 4S 4 = 116 150 + 66 8 = 4. 5