CISC 1100: Structures of Computer Science

Size: px
Start display at page:

Download "CISC 1100: Structures of Computer Science"

Transcription

1 CISC 1100: Structures of Computer Science Chapter 2 Sets and Sequences Fordham University Department of Computer and Information Sciences Fall, 2010 CISC 1100/Fall, 2010/Chapter 2 1 / 49

2 Outline Sets Basic defnitions Naming and describing sets Comparison relations on sets Set operations Principle of Inclusion/Exclusion Sequences Finding patterns Notation Closed form Recursive form Converting between them Summations CISC 1100/Fall, 2010/Chapter 2 2 / 49

3 Sets Set: a collection of objects (the members or elements of the set) Set-lister notation: curly braces around a list of the elements {a, b, c, d, e, f } {Arizona, California, Massachusetts, 42, 47} A set may contain other sets as elements: { 1, 2, {1, 2} } The empty set = {} contains no elements Can use variables (usually upper case letters) to denote sets C = {b, c, d, f, g, h, j, k, l, m, n, p, q, r, s, t, v, w, x, y, z} Universal set (generally denoted U): contains all elements we might want to ever consider (restrict our attention to what matters) CISC 1100/Fall, 2010/Chapter 2 3 / 49

4 Enumerating the elements of a set Order doesn t matter {1, 2, 3} = {3, 1, 2} Repetitions don t count {a, b, b} = {a, b} (better yet: don t repeat items in a listing of elements) CISC 1100/Fall, 2010/Chapter 2 4 / 49

5 Element notation If A is a set, then x A means x is an element of A x A means x is not an element of A So e {a, e, i, o, u} f {a, e, i, o, u} CISC 1100/Fall, 2010/Chapter 2 5 / 49

6 Some well-known sets Pretty much standard notations: N = {0, 1, 2, 3, 4, 5,... }: the set of natural numbers (non-negative integers). Z = {... 3, 2, 1, 0, 1, 2,...}: the set of all integers. Q: the set of all rational numbers (fractions). R: the set of all real numbers. Less standard (but useful) notations: Z + is the set of positive integers. Z is the set of negative integers. Z 0 is the same as N. R >7 is the set of all real numbers greater than seven. CISC 1100/Fall, 2010/Chapter 2 6 / 49

7 Set builder notation Rather than listing all the elements N = {0, 1, 2, 3, 4, 5,... } (inconvenient or essentially impossible), describe sets via a property A = { x : p(x) is true } Examples: N = { x x Z and x 0 } N = { x : x Z and x 0 } N = { x Z x 0 } N = { x Z : x 0 } CISC 1100/Fall, 2010/Chapter 2 7 / 49

8 Set builder notation (cont d) More examples: { x Q : 2x = 7} = {3.5} { x Z : 2x = 7} = {2x x Z} = {..., 4, 2, 0, 2, 4,... } { x N : 1 3x Z} = {0, 3, 6, 9,... } { x R 0 : x 2 = 2} = { 2} { x Q 0 : x 2 = 2} = CISC 1100/Fall, 2010/Chapter 2 8 / 49

9 Comparison relations on sets A is a subset of B (written A B ) if each element of A is also an element of B. {1, 3, 5} {1, 2, 3, 4, 5} {1, 2, 3, 4, 5} {1, 2, 3, 4, 5} {1, 3, 6} {1, 2, 3, 4, 5} A A for any set A A for any set A A is a proper subset of B (written A B ) if A B and A B. {1, 3, 5} {1, 2, 3, 4, 5} {1, 2, 3, 4, 5} {1, 2, 3, 4, 5} vs. is somewhat like < vs. CISC 1100/Fall, 2010/Chapter 2 9 / 49

10 Element vs. subset means is an element of means is a subset of Examples: Let A B means if x A then x B A = {purple, blue, orange, red} and B = {blue}. Fill in the missing symbol from the set {, /,,,, =, } to correctly complete each of the following statements: B A,, blue A green A / A A, = {blue, purple} B, A B, CISC 1100/Fall, 2010/Chapter 2 10 / 49

11 Venn Diagram Diagram for visualizing sets and set operations B A C When necessary, indicate universal set via rectangle surrounding the set circles. CISC 1100/Fall, 2010/Chapter 2 11 / 49

12 Venn Diagram (cont d) B A C For example, might have A = {Fordham students who ve taken CISC 1100} B = {Fordham students who ve taken CISC 1600} C = {Fordham students who ve taken ECON 1100} CISC 1100/Fall, 2010/Chapter 2 12 / 49

13 Set operations: Cardinality The number of elements in a set is called its cardinality. We denote the cardinality of S by S. Let A = {a, b, c, d, e, z}. Then A = 6. {a, e, i, o, u} = 5. = 0. {a, {b, c}, d, {e, f, g}, h} = 5. CISC 1100/Fall, 2010/Chapter 2 13 / 49

14 Set operations: Union Set of all elements belonging to either of two given sets: A B = {x : x A or x B} A B CISC 1100/Fall, 2010/Chapter 2 14 / 49

15 Set operations: Union (examples) Let A = {1, 2, 3, 4, 5} B = {0, 2, 4, 6, 8} C = {0, 5, 10, 15} Then A B = {0, 1, 2, 3, 4, 5, 6, 8} B A = {0, 1, 2, 3, 4, 5, 6, 8} B C = {0, 2, 4, 5, 6, 8, 10, 15} (A B) C = {0, 1, 2, 3, 4, 5, 6, 8, 10, 15} Let L = {e, g, b, d, f } S = {f, a, c, e} Then L S = {a, b, c, d, e, f, g} CISC 1100/Fall, 2010/Chapter 2 15 / 49

16 Set operations: Intersection Set of all elements belonging to both of two given sets: A B = {x : x A and x B} A B Note: We say that two sets are disjoint if their intersection is empty. CISC 1100/Fall, 2010/Chapter 2 16 / 49

17 Set operations: Intersection (examples) Let A = {1, 2, 3, 4, 5} B = {0, 2, 4, 6, 8} C = {0, 5, 10, 15} Then A B = {2, 4} B A = {2, 4} B C = {0} (A B) C = Let L = {e, g, b, d, f } S = {f, a, c, e} Then L S = {e, f } CISC 1100/Fall, 2010/Chapter 2 17 / 49

18 Set operations: Difference Set of all elements belonging to one set, but not another: A B = {x : x A and x / B} A B Note that A B = A A B CISC 1100/Fall, 2010/Chapter 2 18 / 49

19 Set operations: Difference (examples) Let A = {1, 2, 3, 4, 5} B = {0, 2, 4, 6, 8} C = {0, 5, 10, 15} Then A B = {1, 3, 5} B A = {0, 6, 8} B C = {2, 4, 6, 8} C B = {5, 10, 15} u(a B) (B A) = (Are you surprised by this?) CISC 1100/Fall, 2010/Chapter 2 19 / 49

20 Set operations: Complement Set of all elements (of the universal set) that do not belong to a given set: A = A = A = U A. Venn diagrams dealing with complements generally use a surrounding rectangle to indicate the universal set U: A If U and A are finite sets, then A = U A = U A. CISC 1100/Fall, 2010/Chapter 2 20 / 49

21 Set operations: Complement (examples) Let U = {red, orange, yellow, green, blue, indigo, violet} P = {red, green, blue} Then P = {orange, yellow, indigo, violet} Let E and O respectively denote the sets of even and odd integers. Suppose that our universal set is Z. Then E = O O = E CISC 1100/Fall, 2010/Chapter 2 21 / 49

22 Set operations: Power Set Set of all subsets of a given set B P(A) if and only if B A P( ) = { } P({a}) = {, {a} } P({a, b}) = {, {a}, {b}, {a, b} } P({a, b, c}) = {, {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c} } How many elements does P(A) have? i.e., P(A) = 2 A, if A = n, then P(A) = 2 n. CISC 1100/Fall, 2010/Chapter 2 22 / 49

23 Set operations: Cartesian Product Ordered pair: Pair of items, in which order matters. (1, 2)... not the same thing as (2, 1) (red, blue) (1, green) Cartesian product (also known as set product): Set of all ordered pairs from two given sets, i.e., A B = {(x, y) x A and y B} CISC 1100/Fall, 2010/Chapter 2 23 / 49

24 Set operations: Cartesian Product (examples) Let A = {1, 2, 3} B = {a, b, c} C = { 1, 5}, Then... A B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c), (3, a), (3, b), (3, c)} B A = {(a, 1), (a, 2), (a, 3), (b, 1), (b, 2), (b, 3), (c, 1), (c, 2), (c, 3)} C A = {( 1, 1), ( 1, 2), ( 1, 3), (5, 1), (5, 2), (5, 3)} B C = {(a, 1), (a, 5), (b, 1), (b, 5), (c, 1), (c, 5)} Note the following: A B B A (unless A = B) A B = A B (that s why it s called product ). CISC 1100/Fall, 2010/Chapter 2 24 / 49

25 Principle of Inclusion/Exclusion Suppose you run a fast-food restaurant. After doing a survey, you find that 25 people like ketchup on their hamburgers, 35 people like pickles on their hamburgers, 15 people like both ketchup and pickles on their hamburgers. How many people like either ketchup or pickles (maybe both) on their hamburgers? Let K = {people who like ketchup} and P = {people who like pickles}. Then K = 25 P = 35 K P = 15. CISC 1100/Fall, 2010/Chapter 2 25 / 49

26 Principle of Inclusion/Exclusion K P Since we don t want to count K P twice, we have K P = K + P K P = = 45. CISC 1100/Fall, 2010/Chapter 2 26 / 49

27 Set operations: cardinalities of union and intersection A B Inclusion/exclusion principle: If A and B are disjoint, then A B = A + B A B A B = A + B See the example at What about three sets (hamburger eaters who like ketchup, pickles, and tomatoes)? CISC 1100/Fall, 2010/Chapter 2 27 / 49

28 Principle of Inclusion/Exclusion For three sets: B A C A B C = A + B + C A B A C B C + A B C. CISC 1100/Fall, 2010/Chapter 2 28 / 49

29 Principle of Inclusion/Exclusion Let K, P, T represent the sets of people who like ketchup, pickles, and tomatoes on their hamburgers. Suppose that Then K = 20 P = 30 T = 45 K P = 10 K T = 12 P T = 13 K P T = 8. K P T = K + P + T K P K T P T + K P T = = 68 CISC 1100/Fall, 2010/Chapter 2 29 / 49

30 Sequences: Finding patterns What number comes next? 1, 2, 3, 4, 5, 6 2, 6, 10, 14, 18, 22 1, 2, 4, 8, 16, 32 1, 3, 6, 10, 15, 21 1, 2, 6, 24, 120, 720 1, 1, 2, 3, 5, 8, 13, 21 CISC 1100/Fall, 2010/Chapter 2 30 / 49

31 Discovering the pattern Each term might be related to previous terms Each term might depend on its position number (1st, 2nd, 3rd,... ) Well-known sequences (even numbers, odd numbers) Some (or all) of the above CISC 1100/Fall, 2010/Chapter 2 31 / 49

32 2, 4, 6, 8, 10,... Can we relate a term to previous terms? Second term is 2 more than first term. Third term is 2 more than second term.. Any given term is 2 more than previous term. CISC 1100/Fall, 2010/Chapter 2 32 / 49

33 2, 4, 6, 8, 10,... Can we describe each term by its position in the sequence? Term at position 1 is 2. Term at position 2 is 4. Term at position 3 is 6.. Term at position n is 2n. CISC 1100/Fall, 2010/Chapter 2 33 / 49

34 Mathematical notation Write term in a sequence as a lower case letter, followed by a subscript denoting position number of the term (e.g., a 1, b 7, z k ). For the sequence 2, 4, 6, 8, 10,... : a 1 = 2. a 2 = 4. a n is nth term in the sequence. CISC 1100/Fall, 2010/Chapter 2 34 / 49

35 2, 4, 6, 8, 10,... What is a 3? 6 What is a 5? 10 What is a 6? 12 What is a n if n = 5? 10 What is a n+1 if n = 5? 12 CISC 1100/Fall, 2010/Chapter 2 35 / 49

36 Recursive formula Recursive formula for a sequence: each term is described in relation to previous term(s). For example: a n = 2a n 1 So a 3 = 2a 2 = 2 (2 a 1 ) = 4a 1 = 4 (2a 0 ) = 8a 0 = 2 (8a 1 ) = 16a 1 =... Problem: Need a starting point (initial condition) such as a 1 = 1 So: Example: a n = 2a n 1 for n 2 a 1 = 2 a 3 = 2a 2 = 2 (2 a 1 ) = 4a 1 = 4 2 = 8 CISC 1100/Fall, 2010/Chapter 2 36 / 49

37 Fibonacci sequence 1, 1, 2, 3, 5, 8, 13,... Recursive formula: a n = a n 1 + a n 2 for n 3 a 2 = 1 a 1 = 1 What s a 10? Top-down solution: a 10 = a 9 + a 8 = (a 8 + a 7 ) + (a 7 + a 6 ) = a 8 + 2a 7 + a 6... Too hard! Better way? Work bottom-up via a grid. n a n CISC 1100/Fall, 2010/Chapter 2 37 / 49

38 Recursion Recursive formula corresponds to recursive function in a programming language. Fibonacci formula Recursive function a n = a n 1 + a n 2 for n 3 a 2 = 1 a 1 = 1 int a(n) { if (n == 1) return 1; if (n == 2) return 1; return a(n-1) + a(n-2); } CISC 1100/Fall, 2010/Chapter 2 38 / 49

39 Exercise: Find recursive formula 2, 4, 6, 8, 10,... a n = a n for n 2 a 1 = 2 1, 3, 6, 10, 15,... a n = a n 1 + n for n 2 a 1 = 1 2, 2, 4, 6, 10, 16,... a n = a n 1 + a n 2 for n 3 a 2 = 2 a 1 = 2 CISC 1100/Fall, 2010/Chapter 2 39 / 49

40 Finding a closed formula Write each term in relation to its position Example: 2, 4, 6, 8, 10,... a 1 = 2 = 2 1 a 2 = 4 = 2 2 a 3 = 6 = 2 3 More generally, a n = 2n. CISC 1100/Fall, 2010/Chapter 2 40 / 49

41 Find the closed formulas 1, 3, 5, 7, 9,... a n = 2n 1 3, 6, 9, 12, 15,... b n = 3n 8, 13, 18, 23, 28,... c n = 5n + 3 3, 9, 27, 81, 243,... d n = 3 n CISC 1100/Fall, 2010/Chapter 2 41 / 49

42 Recursive formulas vs. closed formulas Recursive formula It s often easier to find a recursive formula for a given sequence. It s often harder to evaluate a given term. Closed formula It s often harder to find a closed formula for a given sequence. It s often easier to evaluate a given term. CISC 1100/Fall, 2010/Chapter 2 42 / 49

43 Closed formula recursive formula Write out a few terms. See if you can figure out how a given term relates to previous terms. Example: r n = 3n + 4. We find n r n r n = r n for n 2 r 1 = 7 CISC 1100/Fall, 2010/Chapter 2 43 / 49

44 Closed formula recursive formula Can also use algebraic manipulation. Let s try r n = 3n + 4 again. Initial condition is easiest substitute n = 1 into closed form: r 1 = = 7 Recursive formula: Try to describe r n in terms of r n 1 : So i.e., r n = 3n + 4 r n 1 = 3(n 1) + 4 = 3n = 3n + 1 r n r n 1 = (3n + 4) (3n + 1) = 3, r n = r n CISC 1100/Fall, 2010/Chapter 2 44 / 49

45 Another example s n = 2 n 2 Initial condition: s 1 = = 0. Recursive formula: We have s n = 2 n 2 and So s n 1 = 2 n 1 2 s n = 2 n 2 = 2 2 n 1 2 = 2 2 n = 2 (2 n 1 2) + 2 = 2s n CISC 1100/Fall, 2010/Chapter 2 45 / 49

46 Exercise Find the recursive formulas for the following sequences: a n = 2n + 7 a 1 = 9 a n = a n for n 2. b n = 2 n 1 b 1 = 1 b n = 2b n for n 2. CISC 1100/Fall, 2010/Chapter 2 46 / 49

47 Summations Summing the terms in a sequence: important enough to have its own notation ( sigma notation ): Parts of speech? n a i = a 1 + a a n i=1 Large Σ: summation i = 1 at bottom: We want to start summation at term #1 of the sequence. n at the top: We want to stop summation at the nth term of the sequence Portion to the right of the Σ n i=1 : Closed form of sequence we want to sum. CISC 1100/Fall, 2010/Chapter 2 47 / 49

48 Examples of Σ-notation: 5 (3i + 7) = ( ) + ( ) + ( ) + ( ) i=1 + ( ) = = 80 6 (j 2 2) = (2 2 2) + (3 2 2) + (4 2 2) + (5 2 2) + (6 2 2) j=2 = = 80 Note: Parentheses are important! 5 3i + 7 = ( ) + 7 = 52 i=1 CISC 1100/Fall, 2010/Chapter 2 48 / 49

49 Converting a sum into Σ-notation = = = 5 (4i 1) i=1 5 (4j 1) j=1 5 (k 2 1) k=1 CISC 1100/Fall, 2010/Chapter 2 49 / 49

1 Chapter 1: SETS. 1.1 Describing a set

1 Chapter 1: SETS. 1.1 Describing a set 1 Chapter 1: SETS set is a collection of objects The objects of the set are called elements or members Use capital letters :, B, C, S, X, Y to denote the sets Use lower case letters to denote the elements:

More information

Introduction to Set Operations

Introduction to Set Operations Introduction to Set Operations CIS008-2 Logic and Foundations of Mathematics David Goodwin david.goodwin@perisic.com 12:00, Friday 21 st October 2011 Outline 1 Recap 2 Introduction to sets 3 Class Exercises

More information

Exclusive Disjunction

Exclusive Disjunction Exclusive Disjunction Recall A statement is a declarative sentence that is either true or false, but not both. If we have a declarative sentence s, p: s is true, and q: s is false, can we rewrite s is

More information

1. SET 10/9/2013. Discrete Mathematics Fajrian Nur Adnan, M.CS

1. SET 10/9/2013. Discrete Mathematics Fajrian Nur Adnan, M.CS 1. SET 10/9/2013 Discrete Mathematics Fajrian Nur Adnan, M.CS 1 Discrete Mathematics 1. Set and Logic 2. Relation 3. Function 4. Induction 5. Boolean Algebra and Number Theory MID 6. Graf dan Tree/Pohon

More information

Sets. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing Spring, Outline Sets An Algebra on Sets Summary

Sets. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing Spring, Outline Sets An Algebra on Sets Summary An Algebra on Alice E. Fischer CSCI 1166 Discrete Mathematics for Computing Spring, 2018 Alice E. Fischer... 1/37 An Algebra on 1 Definitions and Notation Venn Diagrams 2 An Algebra on 3 Alice E. Fischer...

More information

Discrete Basic Structure: Sets

Discrete Basic Structure: Sets KS091201 MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) Discrete Basic Structure: Sets Discrete Math Team 2 -- KS091201 MD W-07 Outline What is a set? Set properties Specifying a set Often used sets The universal

More information

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60 MATH 213 Chapter 2: Basic Structures Dr. Eric Bancroft Fall 2013 Dr. Eric Bancroft MATH 213 Fall 2013 1 / 60 Chapter 2 - Basics Structures 2.1 - Sets 2.2 - Set Operations 2.3 - Functions 2.4 - Sequences

More information

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Spring

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Spring c Dr Oksana Shatalov, Spring 2015 1 2. Sets 2.1&2.2: Sets and Subsets. Combining Sets. Set Terminology and Notation DEFINITIONS: Set is well-defined collection of objects. Elements are objects or members

More information

Chapter 2 - Basics Structures

Chapter 2 - Basics Structures Chapter 2 - Basics Structures 2.1 - Sets Definitions and Notation Definition 1 (Set). A set is an of. These are called the or of the set. We ll typically use uppercase letters to denote sets: S, A, B,...

More information

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall c Oksana Shatalov, Fall 2017 1 4. Sets 4.1. The language of sets Set Terminology and Notation Set is a well-defined collection of objects. Elements are objects or members of the set. Describing a Set Roster

More information

With Question/Answer Animations. Chapter 2

With Question/Answer Animations. Chapter 2 With Question/Answer Animations Chapter 2 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Sequences and Summations Types of

More information

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams Contents : basic definitions and notation A set is an unordered collection of its elements (or members). The set is fully specified by its elements. Usually capital letters are used to name sets and lowercase

More information

CISC 1400 Discrete Structures

CISC 1400 Discrete Structures CISC 1400 Discrete Structures Chapter 2 Sequences What is Sequence? A sequence is an ordered list of objects or elements. For example, 1, 2, 3, 4, 5, 6, 7, 8 Each object/element is called a term. 1 st

More information

18.175: Lecture 2 Extension theorems, random variables, distributions

18.175: Lecture 2 Extension theorems, random variables, distributions 18.175: Lecture 2 Extension theorems, random variables, distributions Scott Sheffield MIT Outline Extension theorems Characterizing measures on R d Random variables Outline Extension theorems Characterizing

More information

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall Set-builder notation (a more precise way of describing a set)

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall Set-builder notation (a more precise way of describing a set) c Oksana Shatalov, Fall 2018 1 4. Sets 4.1. The language of sets Set Terminology and Notation Set is a well-defined collection of objects. Elements are objects or members of the set. Describing a Set Roster

More information

1.1 Introduction to Sets

1.1 Introduction to Sets Math 166 Lecture Notes - S. Nite 8/29/2012 Page 1 of 5 1.1 Introduction to Sets Set Terminology and Notation A set is a well-defined collection of objects. The objects are called the elements and are usually

More information

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

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

More information

Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor ( ).

Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor ( ). Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor (1845 1918). Set: A well defined collections of objects is called a Set. Well defined means that (i) (ii) All the objects in the

More information

In this initial chapter, you will be introduced to, or more than likely be reminded of, a

In this initial chapter, you will be introduced to, or more than likely be reminded of, a 1 Sets In this initial chapter, you will be introduced to, or more than likely be reminded of, a fundamental idea that occurs throughout mathematics: sets. Indeed, a set is an object from which every mathematical

More information

SETS. JEE-Mathematics

SETS. JEE-Mathematics STS J-Mathematics ST : A set is a collection of well defined objects which are distinct from each other Set are generally denoted by capital letters A, B, C,... etc. and the elements of the set by a, b,

More information

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability Chapter 2 1 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability Sequences and Summations Types of Sequences Summation

More information

CM10196 Topic 2: Sets, Predicates, Boolean algebras

CM10196 Topic 2: Sets, Predicates, Boolean algebras CM10196 Topic 2: Sets, Predicates, oolean algebras Guy McCusker 1W2.1 Sets Most of the things mathematicians talk about are built out of sets. The idea of a set is a simple one: a set is just a collection

More information

PREFACE. Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook

PREFACE. Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook contains all the required learning competencies and is supplemented with some additional topics for enrichment. Lessons

More information

Sets. Introduction to Set Theory ( 2.1) Basic notations for sets. Basic properties of sets CMSC 302. Vojislav Kecman

Sets. Introduction to Set Theory ( 2.1) Basic notations for sets. Basic properties of sets CMSC 302. Vojislav Kecman Introduction to Set Theory ( 2.1) VCU, Department of Computer Science CMSC 302 Sets Vojislav Kecman A set is a new type of structure, representing an unordered collection (group, plurality) of zero or

More information

Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation

Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Course Staff Keith Schwarz (htiek@cs.stanford.edu) Kyle Brogle (broglek@stanford.edu) Maurizio

More information

Circles & Interval & Set Notation.notebook. November 16, 2009 CIRCLES. OBJECTIVE Graph a Circle given the equation in standard form.

Circles & Interval & Set Notation.notebook. November 16, 2009 CIRCLES. OBJECTIVE Graph a Circle given the equation in standard form. OBJECTIVE Graph a Circle given the equation in standard form. Write the equation of a circle in standard form given a graph or two points (one being the center). Students will be able to write the domain

More information

A set is an unordered collection of objects.

A set is an unordered collection of objects. Section 2.1 Sets A set is an unordered collection of objects. the students in this class the chairs in this room The objects in a set are called the elements, or members of the set. A set is said to contain

More information

SETS. Chapter Overview

SETS. Chapter Overview Chapter 1 SETS 1.1 Overview This chapter deals with the concept of a set, operations on sets.concept of sets will be useful in studying the relations and functions. 1.1.1 Set and their representations

More information

SET THEORY. 1. Roster or Tabular form In this form the elements of the set are enclosed in curly braces { } after separating them by commas.

SET THEORY. 1. Roster or Tabular form In this form the elements of the set are enclosed in curly braces { } after separating them by commas. SETS: set is a well-defined collection of objects. SET THEORY The objects in a set are called elements or members of the set. If x is an object of set, we write x and is read as x is an element of set

More information

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page. Formal Methods Name: Key Midterm 2, Spring, 2007 Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.. Determine whether each of

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Jan Stelovsky based on slides by Dr. Baek and Dr. Still Originals by Dr. M. P. Frank and Dr. J.L. Gross Provided by

More information

SETS AND FUNCTIONS JOSHUA BALLEW

SETS AND FUNCTIONS JOSHUA BALLEW SETS AND FUNCTIONS JOSHUA BALLEW 1. Sets As a review, we begin by considering a naive look at set theory. For our purposes, we define a set as a collection of objects. Except for certain sets like N, Z,

More information

Sec$on Summary. Definition of sets Describing Sets

Sec$on Summary. Definition of sets Describing Sets Section 2.1 Sec$on Summary Definition of sets Describing Sets Roster Method Set-Builder Notation Some Important Sets in Mathematics Empty Set and Universal Set Subsets and Set Equality Cardinality of Sets

More information

Math 3201 Unit 1 Set Theory

Math 3201 Unit 1 Set Theory Math 3201 Unit 1 Set Theory Overview In this unit, we will organize information into. We will use diagrams to illustrate between sets and subsets and use to describe sets. We will determine the in each

More information

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets Today s topics Introduction to Set Theory ( 1.6) Sets Definitions Operations Proving Set Identities Reading: Sections 1.6-1.7 Upcoming Functions A set is a new type of structure, representing an unordered

More information

Basic Set Concepts (2.1)

Basic Set Concepts (2.1) 1 Basic Set Concepts (2.1) I. Set A collection of objects whose contents can be clearly determined. Capitol letters usually name a set. Elements are the contents in a set. Sets can be described using words,

More information

CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics CS 2336 Discrete Mathematics Lecture 9 Sets, Functions, and Relations: Part I 1 What is a Set? Set Operations Identities Cardinality of a Set Outline Finite and Infinite Sets Countable and Uncountable

More information

COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3

COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3 1 COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences Revision: 1.3 2 Notation for Numbers Definition Integers Z = {... 2, 1, 0, 1, 2,...} Reals R. : R Z floor of x, the greatest integer

More information

Welcome to CS103! Three Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation

Welcome to CS103! Three Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Welcome to CS103! Three Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Course Staff Keith Schwarz (htiek@cs.stanford.edu) Rakesh Achanta (rakesha@stanford.edu) Kyle

More information

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

1. (B) The union of sets A and B is the set whose elements belong to at least one of A 1. (B) The union of sets A and B is the set whose elements belong to at least one of A or B. Thus, A B = { 2, 1, 0, 1, 2, 5}. 2. (A) The intersection of sets A and B is the set whose elements belong to

More information

CHAPTER 1. Preliminaries. 1 Set Theory

CHAPTER 1. Preliminaries. 1 Set Theory CHAPTER 1 Preliminaries 1 et Theory We assume that the reader is familiar with basic set theory. In this paragraph, we want to recall the relevant definitions and fix the notation. Our approach to set

More information

Step-by-step and detailed demonstrations of how a specific concept or technique is applied in solving problems.

Step-by-step and detailed demonstrations of how a specific concept or technique is applied in solving problems. PREFACE Synergy for Success in Mathematics 7 contains all the required learning competencies and is supplemented with some additional topics for enrichment. Lessons are presented using effective Singapore

More information

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006 Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006 Topics What is a set? Notations for sets Empty set Inclusion/containment and subsets Sample spaces and events Operations

More information

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007 Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Fall 2007 1 / 42 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 2.1, 2.2 of Rosen Introduction I Introduction

More information

Finite Math Section 6_1 Solutions and Hints

Finite Math Section 6_1 Solutions and Hints Finite Math Section 6_1 Solutions and Hints by Brent M. Dingle for the book: Finite Mathematics, 7 th Edition by S. T. Tan. DO NOT PRINT THIS OUT AND TURN IT IN!!!!!!!! This is designed to assist you in

More information

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Section 2.1 Introduction Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Important for counting. Programming languages have set operations. Set theory

More information

2.23 Theorem. Let A and B be sets in a metric space. If A B, then L(A) L(B).

2.23 Theorem. Let A and B be sets in a metric space. If A B, then L(A) L(B). 2.23 Theorem. Let A and B be sets in a metric space. If A B, then L(A) L(B). 2.24 Theorem. Let A and B be sets in a metric space. Then L(A B) = L(A) L(B). It is worth noting that you can t replace union

More information

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006 Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 1 / 1 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 1.6 1.7 of Rosen Introduction I We ve already

More information

2-7 Solving Quadratic Inequalities. ax 2 + bx + c > 0 (a 0)

2-7 Solving Quadratic Inequalities. ax 2 + bx + c > 0 (a 0) Quadratic Inequalities In One Variable LOOKS LIKE a quadratic equation but Doesn t have an equal sign (=) Has an inequality sign (>,

More information

Chapter 0: Sets and Numbers

Chapter 0: Sets and Numbers Haberman MTH 112 Section I: Periodic Functions and Trigonometry Chapter 0: Sets and Numbers DEFINITION: A set is a collection of objects specified in a manner that enables one to determine if a given object

More information

Sets. your school. A group of odd natural numbers less than 25.

Sets. your school. A group of odd natural numbers less than 25. 1 Sets The set theory was developed by German Mathematician Georg Cantor (1845-1918). He first encountered sets while working on problems on trigonometric series. This concept is used in every branch of

More information

8. Sequences, Series, and Probability 8.1. SEQUENCES AND SERIES

8. Sequences, Series, and Probability 8.1. SEQUENCES AND SERIES 8. Sequences, Series, and Probability 8.1. SEQUENCES AND SERIES What You Should Learn Use sequence notation to write the terms of sequences. Use factorial notation. Use summation notation to write sums.

More information

Math 210 Lecture Notes: Sections Sets and Counting

Math 210 Lecture Notes: Sections Sets and Counting Math 210 Lecture Notes: Sections 6.1-6.2 Sets and ounting Prof Richard Blecksmith Dept of Mathematical Sciences Northern Illinois University 1. Sets A set is a collection of objects. The terms set, collection,

More information

Toss 1. Fig.1. 2 Heads 2 Tails Heads/Tails (H, H) (T, T) (H, T) Fig.2

Toss 1. Fig.1. 2 Heads 2 Tails Heads/Tails (H, H) (T, T) (H, T) Fig.2 1 Basic Probabilities The probabilities that we ll be learning about build from the set theory that we learned last class, only this time, the sets are specifically sets of events. What are events? Roughly,

More information

2 - Strings and Binomial Coefficients

2 - Strings and Binomial Coefficients November 14, 2017 2 - Strings and Binomial Coefficients William T. Trotter trotter@math.gatech.edu Basic Definition Let n be a positive integer and let [n] = {1, 2,, n}. A sequence of length n such as

More information

1 Basic Combinatorics

1 Basic Combinatorics 1 Basic Combinatorics 1.1 Sets and sequences Sets. A set is an unordered collection of distinct objects. The objects are called elements of the set. We use braces to denote a set, for example, the set

More information

MA : Introductory Probability

MA : Introductory Probability MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:

More information

Fundamentals of Probability CE 311S

Fundamentals of Probability CE 311S Fundamentals of Probability CE 311S OUTLINE Review Elementary set theory Probability fundamentals: outcomes, sample spaces, events Outline ELEMENTARY SET THEORY Basic probability concepts can be cast in

More information

A B is shaded A B A B

A B is shaded A B A B NION: Let and be subsets of a universal set. The union of sets and is the set of all elements in that belong to or to or to both, and is denoted. Symbolically: = {x x or x } EMMPLE: Let = {a, b, c, d,

More information

No Solution Equations Let s look at the following equation: 2 +3=2 +7

No Solution Equations Let s look at the following equation: 2 +3=2 +7 5.4 Solving Equations with Infinite or No Solutions So far we have looked at equations where there is exactly one solution. It is possible to have more than solution in other types of equations that are

More information

n CS 160 or CS122 n Sets and Functions n Propositions and Predicates n Inference Rules n Proof Techniques n Program Verification n CS 161

n CS 160 or CS122 n Sets and Functions n Propositions and Predicates n Inference Rules n Proof Techniques n Program Verification n CS 161 Discrete Math at CSU (Rosen book) Sets and Functions (Rosen, Sections 2.1,2.2, 2.3) TOPICS Discrete math Set Definition Set Operations Tuples 1 n CS 160 or CS122 n Sets and Functions n Propositions and

More information

Math 90 Lecture Notes Chapter 1

Math 90 Lecture Notes Chapter 1 Math 90 Lecture Notes Chapter 1 Section 1.1: Introduction to Algebra This textbook stresses Problem Solving! Solving problems is one of the main goals of mathematics. Think of mathematics as a language,

More information

CSI30. Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums. 2.1 Sets and subsets 2.2 Sets of sets

CSI30. Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums. 2.1 Sets and subsets 2.2 Sets of sets Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums 2.1 Sets and subsets 2.2 Sets of sets 1 Set is an unordered collection of objects. - used to group objects together, - often the objects with

More information

Lecture 9. The Principle of Inclusion/Exclusion. 9.1 Introduction: a familiar example

Lecture 9. The Principle of Inclusion/Exclusion. 9.1 Introduction: a familiar example Lecture 9 he Principle of Inclusion/Exclusion hese notes are based on a pair of lectures originally written by (Manchester s own) Prof. Nige Ray. Reading: he Principle of Inclusion/Exclusion appears in

More information

Homework every week. Keep up to date or you risk falling behind. Quizzes and Final exam are based on homework questions.

Homework every week. Keep up to date or you risk falling behind. Quizzes and Final exam are based on homework questions. Week 1 Fall 2016 1 of 25 CISC-102 Fall 2016 Week 1 David Rappaport daver@cs.queensu.ca Goodwin G-532 Office Hours: Monday 1:00-3:00 (or by appointment) Homework Homework every week. Keep up to date or

More information

The objects in a set are the elements or members of the set. Always enclose the elements of a set in curly brackets. is read is an element of

The objects in a set are the elements or members of the set. Always enclose the elements of a set in curly brackets. is read is an element of Math 166 (c)2013 Epstein Chapter 1 Page 1 Chapter 1: SETS ND PROBBILITY 1.1 Introduction to Sets set is a collection of objects. The objects in a set are the elements or members of the set. lways enclose

More information

CISC-102 Fall 2017 Week 1 David Rappaport Goodwin G-532 Office Hours: Tuesday 1:30-3:30

CISC-102 Fall 2017 Week 1 David Rappaport Goodwin G-532 Office Hours: Tuesday 1:30-3:30 Week 1 Fall 2017 1 of 42 CISC-102 Fall 2017 Week 1 David Rappaport daver@cs.queensu.ca Goodwin G-532 Office Hours: Tuesday 1:30-3:30 Homework Homework every week. Keep up to date or you risk falling behind.

More information

Sets McGraw-Hill Education

Sets McGraw-Hill Education Sets A set is an unordered collection of objects. The objects in a set are called the elements, or members of the set. A set is said to contain its elements. The notation a A denotes that a is an element

More information

R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member

R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member Chapter R Review of basic concepts * R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member Ex: Write the set of counting numbers

More information

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. College Algebra for STEM

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. College Algebra for STEM Undergraduate Notes in Mathematics Arkansas Tech University Department of Mathematics College Algebra for STEM Marcel B. Finan c All Rights Reserved 2015 Edition To my children Amin & Nadia Preface From

More information

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC CS 173: Discrete Structures Eric Shaffer Office Hour: Wed. 1-2, 2215 SC shaffer1@illinois.edu Agenda Sets (sections 2.1, 2.2) 2 Set Theory Sets you should know: Notation you should know: 3 Set Theory -

More information

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

BOOLEAN ALGEBRA INTRODUCTION SUBSETS BOOLEAN ALGEBRA M. Ragheb 1/294/2018 INTRODUCTION Modern algebra is centered around the concept of an algebraic system: A, consisting of a set of elements: ai, i=1, 2,, which are combined by a set of operations

More information

Grade 7. Critical concept: Integers. Curricular content. Examples and Strategies

Grade 7. Critical concept: Integers. Curricular content. Examples and Strategies Grade 7 Critical concept: Integers Curricular content Operations with integers Addition, subtraction, multiplication, division AND order of operations Examples and Strategies Always start with manipulatives.

More information

Notes on Sets for Math 10850, fall 2017

Notes on Sets for Math 10850, fall 2017 Notes on Sets for Math 10850, fall 2017 David Galvin, University of Notre Dame September 14, 2017 Somewhat informal definition Formally defining what a set is is one of the concerns of logic, and goes

More information

MATH 1111 Section P.1 Bland. Algebraic Expressions - An algebraic expression is a combination of variables and numbers using operations.

MATH 1111 Section P.1 Bland. Algebraic Expressions - An algebraic expression is a combination of variables and numbers using operations. MATH 1111 Section P.1 Bland Variable A letter or symbol used to represent a number. Algebraic Expressions - An algebraic expression is a combination of variables and numbers using operations. Coefficient

More information

COMP9020 Lecture 3 Session 2, 2016 Sets, Functions, and Sequences. Revision: 1.3

COMP9020 Lecture 3 Session 2, 2016 Sets, Functions, and Sequences. Revision: 1.3 1 COMP9020 Lecture 3 Session 2, 2016 Sets, Functions, and Sequences Revision: 1.3 2 Divisibility Let m, n Z. m n means m is a divisor of n, defined by n = km for some k Z (Also stated as: n is divisible

More information

Models of Computation. by Costas Busch, LSU

Models of Computation. by Costas Busch, LSU Models of Computation by Costas Busch, LSU 1 Computation CPU memory 2 temporary memory input memory CPU output memory Program memory 3 Example: f ( x) x 3 temporary memory input memory Program memory compute

More information

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

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant). Sets and Functions 1. The language of sets Informally, a set is any collection of objects. The objects may be mathematical objects such as numbers, functions and even sets, or letters or symbols of any

More information

Set Theory. CPT Section D Quantitative Aptitude Chapter 7 Brijeshwar Prasad Gupta

Set Theory. CPT Section D Quantitative Aptitude Chapter 7 Brijeshwar Prasad Gupta Set Theory CPT Section D Quantitative Aptitude Chapter 7 Brijeshwar Prasad Gupta Learning Objectives Number system Set Theory Set operations Product of Sets MCQ Number system Natural numbers:- N N = {1,2,3..}

More information

Sets. 1.1 What is a set?

Sets. 1.1 What is a set? Section 1 Sets 1 Sets After working through this section, you should be able to: (a) use set notation; (b) determine whether two given sets are equal and whether one given set is a subset of another; (c)

More information

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality Math 336-Modern Algebra Lecture 08 9/26/4. Cardinality I started talking about cardinality last time, and you did some stuff with it in the Homework, so let s continue. I said that two sets have the same

More information

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

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions Sets and Functions MATH 464/506, Real Analysis J. Robert Buchanan Department of Mathematics Summer 2007 Notation x A means that element x is a member of set A. x / A means that x is not a member of A.

More information

Section-A. Short Questions

Section-A. Short Questions Section-A Short Questions Question1: Define Problem? : A Problem is defined as a cultural artifact, which is especially visible in a society s economic and industrial decision making process. Those managers

More information

Adding and Subtracting Terms

Adding and Subtracting Terms Adding and Subtracting Terms 1.6 OBJECTIVES 1.6 1. Identify terms and like terms 2. Combine like terms 3. Add algebraic expressions 4. Subtract algebraic expressions To find the perimeter of (or the distance

More information

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula Prof. Tesler Math 184A Fall 2019 Prof. Tesler Ch. 7. Inclusion-Exclusion Math 184A / Fall 2019 1 / 25 Venn diagram and set sizes A = {1, 2, 3, 4,

More information

MA Exam 2 - Spring 2007

MA Exam 2 - Spring 2007 MA 125 02 - Exam 2 - Spring 2007 Call me. Directions: Answer the following questions. Show all work. An answer with no work receives NO credit. Saying I did it on my calculator does NOT constitute work.

More information

Fall Math 140 Week-in-Review #5 courtesy: Kendra Kilmer (covering Sections 3.4 and 4.1) Section 3.4

Fall Math 140 Week-in-Review #5 courtesy: Kendra Kilmer (covering Sections 3.4 and 4.1) Section 3.4 Section 3.4 A Standard Maximization Problem has the following properties: The objective function is to be maximized. All variables are non-negative. Fall 2017 Math 140 Week-in-Review #5 courtesy: Kendra

More information

This is a listing of common symbols found within all branches of mathematics 1. x = y means x and y represent the same thing or value.

This is a listing of common symbols found within all branches of mathematics 1. x = y means x and y represent the same thing or value. This is a listing of common symbols found within all branches of mathematics 1. Symbol Read as Explanation Examples = is equal to; equals < > + is not equal to does not equal is less than, is greater than

More information

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy UT Putnam Prep Problems, Oct 19 2016 I was very pleased that, between the whole gang of you, you solved almost every problem this week! Let me add a few comments here. 1. Determine (with proof) the number

More information

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram.

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram. MATH 109 Sets A mathematical set is a well-defined collection of objects A for which we can determine precisely whether or not any object belongs to A. Objects in a set are formally called elements of

More information

6.1 Logic. Statements or Propositions. Negation. The negation of a statement, p, is not p and is denoted by p Truth table: p p

6.1 Logic. Statements or Propositions. Negation. The negation of a statement, p, is not p and is denoted by p Truth table: p p 6.1 Logic Logic is not only the foundation of mathematics, but also is important in numerous fields including law, medicine, and science. Although the study of logic originated in antiquity, it was rebuilt

More information

1.1.1 Algebraic Operations

1.1.1 Algebraic Operations 1.1.1 Algebraic Operations We need to learn how our basic algebraic operations interact. When confronted with many operations, we follow the order of operations: Parentheses Exponentials Multiplication

More information

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, }

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, } Chapter 1 Math 3201 1 Chapter 1: Set Theory: Organizing information into sets and subsets Graphically illustrating the relationships between sets and subsets using Venn diagrams Solving problems by using

More information

CITS2211 Discrete Structures (2017) Cardinality and Countability

CITS2211 Discrete Structures (2017) Cardinality and Countability CITS2211 Discrete Structures (2017) Cardinality and Countability Highlights What is cardinality? Is it the same as size? Types of cardinality and infinite sets Reading Sections 45 and 81 84 of Mathematics

More information

CHAPTER 1 SETS AND EVENTS

CHAPTER 1 SETS AND EVENTS CHPTER 1 SETS ND EVENTS 1.1 Universal Set and Subsets DEFINITION: set is a well-defined collection of distinct elements in the universal set. This is denoted by capital latin letters, B, C, If an element

More information

3.2 Probability Rules

3.2 Probability Rules 3.2 Probability Rules The idea of probability rests on the fact that chance behavior is predictable in the long run. In the last section, we used simulation to imitate chance behavior. Do we always need

More information

One-to-one functions and onto functions

One-to-one functions and onto functions MA 3362 Lecture 7 - One-to-one and Onto Wednesday, October 22, 2008. Objectives: Formalize definitions of one-to-one and onto One-to-one functions and onto functions At the level of set theory, there are

More information

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2. CHAPTER 2 Review 2.1 Definitions in Chapter 2 2.1 Set; Element; Member; Universal Set 2.2 Subset 2.3 Proper Subset 2.4 The Empty Set, 2.5 Set Equality 2.6 Cardinality; Infinite Set 2.7 Complement 2.8 Intersection

More information

Homework 1 2/7/2018 SOLUTIONS Exercise 1. (a) Graph the following sets (i) C = {x R x in Z} Answer:

Homework 1 2/7/2018 SOLUTIONS Exercise 1. (a) Graph the following sets (i) C = {x R x in Z} Answer: Homework 1 2/7/2018 SOLTIONS Eercise 1. (a) Graph the following sets (i) C = { R in Z} nswer: 0 R (ii) D = {(, y), y in R,, y 2}. nswer: = 2 y y = 2 (iii) C C nswer: y 1 2 (iv) (C C) D nswer: = 2 y y =

More information

Algebra Mat: Working Towards Year 6

Algebra Mat: Working Towards Year 6 Algebra Mat: Working Towards Year 6 at 3 and adds 3 each time. 5, 10, 15, 20, Use simple formulae. The perimeter of a rectangle = a + a + b + b a = a b = 2, cd = 6, find 2 different pairs of numbers for

More information