Class 8 - Sets (Lecture Notes)

Similar documents
Sets. Definition A set is an unordered collection of objects called elements or members of the set.

1. The empty set is a proper subset of every set. Not true because the empty set is not a proper subset of itself! is the power set of A.

SETS OBJECTIVES EXPECTED BACKGROUND KNOWLEDGE 1.1 SOME STANDARD NOTATIONS. Sets. MODULE - I Sets, Relations and Functions

Slide 1 Math 1520, Lecture 13

ACHS Math Team Lecture: Introduction to Set Theory Peter S. Simon

Sets. Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, Outline Sets Equality Subset Empty Set Cardinality Power Set

Sample Spaces, Events, Probability

Chapter 1. Set Theory

8.2 Union, Intersection, and Complement of Events; Odds

( ) = A. 2. Write the following sets using the roster method. 3. Write the following sets using set-builder notation.

Finite and Infinite Sets

DVA325 Formal Languages, Automata and Models of Computation (FABER)

SET THEORY AND VENN DIAGRAMS

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

CSE 21 Mathematics for Algorithm and System Analysis

Grade 7/8 Math Circles February 21 st /22 nd, Sets

In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?

CSE 20 DISCRETE MATH. Fall

EDULABZ INTERNATIONAL SETS AND VENN DIAGRAMS

Section Introduction to Sets

Cardinality of Accumulation Points of Infinite Sets

Strings. A string is a list of symbols in a particular order.

Probability. Dr. Zhang Fordham Univ.

Cardinality and Bijections

2. Nine points are distributed around a circle in such a way that when all ( )

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

TOPOLOGY, LIMITS OF COMPLEX NUMBERS. Contents 1. Topology and limits of complex numbers 1

Cardinality. Hebrew alphabet). We write S = ℵ 0 and say that S has cardinality aleph null.

Name Date. Goal: Understand sets and set notation.

Mathematical Foundations of Computer Science Lecture Outline August 30, 2018

28/08/2016. Sets Learning Outcomes. Use Set Notation and Terminology. Use Set Notation and Terminology

1) 1) 2) 2) 3) 3) 4) 4) 5) 5) 6) 6) 7) 7) 8) 8) 9) 9) 10) 10) 11) 11) 12) 12)

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Compound Probability. Set Theory. Basic Definitions

Probability. Ms. Weinstein Probability & Statistics

1. Functions and set sizes 2. Infinite set sizes. ! Let X,Y be finite sets, f:x!y a function. ! Theorem: If f is injective then X Y.

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

CHAPTER 7 Probability

Example: If A = {1, 2, 3} and B = {3, 4, 5}, then A B= {3}.

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

Lecture 3 Presentations and more Great Groups

Sets, Venn Diagrams & Counting

Introduction to Computational Manifolds and Applications

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

4. Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, X = {2, 3, 4}, Y = {1, 4, 5}, Z = {2, 5, 7}. Find a) (X Y) b) X Y c) X (Y Z) d) (X Y) Z

Principle of Inclusion-Exclusion Notes

It is important that you show your work. The total value of this test is 220 points.

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

4.3 Finding Probability Using Sets

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

Principles of Counting. Notation for counting elements of sets

Combinatorics and Intuitive Probability

5 Symmetric and alternating groups

Cardinality revisited

The probability set-up

Multiple Choice Questions for Review

Chapter 1. Probability

X = {1, 2,...,n} n 1f 2f 3f... nf

Permutations. = f 1 f = I A

Probability. Engr. Jeffrey T. Dellosa.

Final exam. Question Points Score. Total: 150

Week 3-4: Permutations and Combinations

Outline. Sets of Gluing Data. Constructing Manifolds. Lecture 3 - February 3, PM

SOLUTIONS FOR PROBLEM SET 4

Chapter 3: Elements of Chance: Probability Methods

There are three types of mathematicians. Those who can count and those who can t.

Combinatorics: The Fine Art of Counting

29. Army Housing (a) (b) (c) (d) (e) (f ) Totals Totals (a) (b) (c) (d) (e) (f) Basketball Positions 32. Guard Forward Center

Park Forest Math Team. Meet #5. Number Theory. Self-study Packet

The probability set-up

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170

Week 3 Classical Probability, Part I

LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE

CSC/MATA67 Tutorial, Week 12

Lecture 2. 1 Nondeterministic Communication Complexity

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39

Probability (Devore Chapter Two)

PUTNAM PROBLEMS FINITE MATHEMATICS, COMBINATORICS

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Chapter 1. The alternating groups. 1.1 Introduction. 1.2 Permutations

INFLUENCE OF ENTRIES IN CRITICAL SETS OF ROOM SQUARES

Probability: Terminology and Examples Spring January 1, / 22

A theorem on the cores of partitions

PRMO Official Test / Solutions

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter.

Probability and Randomness. Day 1

and problem sheet 7

MA 524 Midterm Solutions October 16, 2018

MAT3707. Tutorial letter 202/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/202/1/2017

Chapter 1. Probability

T101 DEPARTMENTAL FINAL REVIEW

arxiv: v2 [cs.cc] 18 Mar 2013

An art collector might own a collection of paintings, while a music lover might keep a collection of CDs. Any collection of items can form a set.

An ordered collection of counters in rows or columns, showing multiplication facts.

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules

Theory of Probability - Brett Bernstein

Math 127: Equivalence Relations

Transcription:

Class 8 - Sets (Lecture Notes) What is a Set? A set is a well-defined collection of distinct objects. Example: A = {1, 2, 3, 4, 5} What is an element of a Set? The objects in a set are called its elements. So in case of the above Set A, the elements would be 1, 2, 3, 4, and 5. We can say, 1 A, 2 A etc. Usually we denote Sets by CAPITAL LETTERs like A, B, C, etc. while their elements are denoted in small letters like x, y, z etc. If x is an element of A, then we say x belongs to A and we represent it as x A If x is not an element of A, then we say that x does not belong to A and we represent it as x A How to describe a Set? Roaster Method or Tabular Form In this form, we just list the elements Example A = {1, 2, 3, 4} or B = {a, b, c, d, e} Set- Builder Form or Rule Method or Description Method In this method, we list the properties satisfied by all elements of the set Example A = {x : x N, x < 5} 1

Some examples of Roster Form vs Set-builder Form Roster Form Set-builder Form 1 {1, 2, 3, 4, 5} {x x N, x <6} 2 {2, 4, 6, 8, 10} {x x = 2n, n N, 1 n 5} 3 {1, 4, 9, 16, 25, 36} {x x = n 2, n N, 1 n 6} Sets of Numbers 1. Natural Numbers (N) N = {1, 2, 3,4,5 6, 7, } 2. Integers (Z) Z = {, -3, -2, -1, 0, 1, 2, 3, 4, } 3. Whole Numbers (W) W = {0, 1, 2, 3, 4, 5, 6 } 4. Rational Numbers (Q) { p q : p Z, q Z, q 0} Finite Sets & Infinite Sets Finite Set: A set where the process of counting the elements of the set would surely come to an end is called finite set Example: All natural numbers less than 50 All factors of the number 36 Infinite Set: A set that consists of uncountable number of distinct elements is called infinite set. Example: Set containing all natural numbers {x x N, x > 100} 2

Cardinal number of Finite Set The number of distinct elements contained in a finite set A is called the cardinal number of A and is denoted by n(a) Example A = {1, 2, 3, 4} then n(a) = 4 A = {x x is a letter in the word APPLE }. Therefore A = {A, P, L, E} and n(a) = 4 A = {x x is the factor of 36}, Therefore A = { 1, 2, 3, 4, 6, 9, 12, 18, 36} and n(a) = 9 Empty Set A set containing no elements at all is called an empty set or a null set or a void set. It is denoted by ϕ (phai) In roster form you write ϕ = { } Also n (ϕ) = 0 Examples: {x x N, 3 < x <4} = ϕ {x x is an even prime number, x > 5} = ϕ Non Empty Set A set which has at least one element is called a non-empty set Example: A = {1, 2, 3} or B = {1} Singleton Set A set containing exactly one element is called a singleton set Example: A = {a} or B = {1} 3

Equal Sets Two set A and B are said to be equal sets and written as A = B if every element of A is in B and every element of B is in A Example A = {1, 2, 3, 4} and B = {4, 2, 3, 1} It is not about the number of elements. It is the elements themselves. If the sets are not equal, then we write as A B Equivalent Sets Two finite sets A and B are said to be equivalent, written as A B, if n(a) = n(b), that is they have the same number of elements. Example: A = {a, e, i, o, u} and B = {1, 2, 3, 4, 5}, Therefore n(a) = 5 and n(b) = 5 therefore A B Note: Two equal sets are always equivalent but two equivalent sets need not be equal. Subsets If A and B are two sets given in such a way that every element of A is in B, then we say A is a subset of B and we write it as A B Therefore is A B and x A then x B If A is a subset of B, we say B is a superset of A and is written as B A Every set is a subset of itself. i.e. A A, B B etc. Empty set is a subset of every set i.e. ϕ A, ϕ B If A B and B A, then A = B 4

Similarly, if A = B, then A B and B A If set A contains n elements, then there are 2 n subsets of A Power Set The set of all possible subsets of a set A is called the power set of A, denoted by P(A). If A contains n elements, then P(A) = 2 n sets. i.e. if A = {1, 2}, then P(A) = 2 2 = 4 Empty set is a subset of every set So in this case the subsets are {1}, {2}, {2, 3} & ϕ Proper Subset Let A be any set and let B be any non-empty subset. Then A is called a proper subset of B, and is written as A B, if and only if every element of A is in B, and there exists at least one element in B which is not there in A. i.e. if A B and A B, then A B Please note that ϕ has no proper subset A set containing n elements has (2n 1) proper subsets. i.e. if A = {1, 2, 3, 4}, then the number of proper subsets is (2 4 1) = 15 Universal Set If there are some sets in consideration, then there happens to be a set which is a superset of each one of the given sets. Such a set is known as universal set, to be denoted by U or i.e. if A = {1, 2}, B = {3, 4}, and C = {1, 5}, then U or = {1, 2, 3, 4, 5} 5

Operations on Sets Union of Sets The union of sets A and B, denoted by A B, is the set of all those elements, each one of which is either in A or in B or in both A and B If there is a set A = {2, 3} and B = {a, b}, then A B = {2, 3, a, b} So if A B = {x x A or x B}, then x A B which means x A or x B And if x A B which means x A or x B Interaction of Sets The intersection of sets A and B is denoted by A B, and is a set of all elements that are common in sets A and B. i.e. if A = {1, 2, 3} and B = {2, 4, 5}, then A B = {2} as 2 is the only common element. Thus A B = {x: x A and x B} then x A B i.e. x A and x B And if x A B i.e. x A and x B Disjointed Sets Two sets A and B are called disjointed, if they have no element in common. Therefore: A B = ϕ i.e. if A = {2, 3} and B = {4, 5}, then A B = ϕ Intersecting sets Two sets are said to be intersecting or overlapping or joint sets, if they have at least one element in common. Therefore two sets A and B are overlapping if and only if A B ϕ Intersection of sets is Commutative 6

i.e. A B = B A for any sets A and B Intersection of sets is Associative i.e. for any sets, A, B, C, (A B) C = A (B C) If A B, then A B = A Since A, so A = A For any sets A and B, we have A B A and A B B A ϕ = ϕ for every set A Difference of Sets For any two sets A and B, the difference A B is a set of all those elements of A which are not in B. i.e. if A = {1, 2, 3, 4, 5} and B = {4, 5, 6}, Then A B = {1, 2, 3} and B A = {6} Therefore A B = {x x A and x B}, then x A B then x A but x B If A B then A B = Complement of a Set Let x be the universal set and let A x. Then the complement of A, denoted by A is the set of all those elements of x which are not in A. i.e. let = {1, 2, 3, 4, 5,6,7,8} and A = {2, 3,4 }, then A = {1, 5, 6, 7, 8} Thus A = {x x and x A} clearly x A and x A Please note 7

= and = A A = and A A = ϕ Disruptive laws for Union and Intersection of Sets For any three sets A, B, C, we have the following A (B C) = (A B) (A C) Say A = {1, 2}, B = {2, 3} and C = {3, 4} Therefore A (B C) = {1, 2, 3} and And (A B) (A C) = {1, 2, 3} and hence equal A (B C) = (A B) (A C) Say A = {1, 2}, B = {2, 3} and C = {3, 4} Then A (B C) = {2} and (A B) (A C) = {2} and hence equal Disruptive laws for Union and Intersection of Sets De-Morgan s Laws Let A and B be two subsets of a universal set, then (A B) = A B (A B) = A B Let = {1, 2, 3, 4, 5, 6} and A = {1, 2, 3} and B = {3, 4, 5} Then A B = {1, 2, 3, 4, 5}, therefore (A B) = {6} A = {4, 5, 6} and B = {1, 2, 6} Therefore A B = {6}. Hence proven 8