SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets.

Similar documents
1.1 - Introduction to Sets

2 Review of Set Theory

Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Sets Fall / 31

CSC Discrete Math I, Spring Sets

Chapter 3. Set Theory. 3.1 What is a Set?


[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103. Chapter 2. Sets

2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2

2.1 Symbols and Terminology

Review of Sets. Review. Philippe B. Laval. Current Semester. Kennesaw State University. Philippe B. Laval (KSU) Sets Current Semester 1 / 16

Sets 1. The things in a set are called the elements of it. If x is an element of the set S, we say

c) the set of students at your school who either are sophomores or are taking discrete mathematics

Introduction. Sets and the Real Number System

A.1 Numbers, Sets and Arithmetic

1-1 Sets of Numbers. Warm Up Lesson Presentation Lesson Quiz. Holt Algebra 2

CS100: DISCRETE STRUCTURES

Objective. Vocabulary. 1.1: Sets of Numbers. 1-1 Sets of Numbers

Set and Set Operations

9.5 Equivalence Relations

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

Outline. CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 1 Sets. Sets. Enumerating the elements of a set

2.1 Sets 2.2 Set Operations

Sets. X. Zhang Dept. of Computer & Information Sciences Fordham University

COLLEGE ALGEBRA. Intro, Sets of Real Numbers, & Set Theory

Pre-Calc Unit 1 Lesson 1

SEVENTH EDITION and EXPANDED SEVENTH EDITION

CHAPTER 8. Copyright Cengage Learning. All rights reserved.

Sets. {1, 2, 3, Calvin}.

What is Set? Set Theory. Notation. Venn Diagram

Properties. Comparing and Ordering Rational Numbers Using a Number Line

Algebraic Expressions

This Lecture. We will first introduce some basic set theory before we do counting. Basic Definitions. Operations on Sets.

SET DEFINITION 1 elements members

Binary Relations McGraw-Hill Education

Dr. Relja Vulanovic Professor of Mathematics Kent State University at Stark c 2008

CSE 215: Foundations of Computer Science Recitation Exercises Set #9 Stony Brook University. Name: ID#: Section #: Score: / 4

1 Sets, Fields, and Events

Figure 1.1: This is an illustration of a generic set and its elements.

The word zero has had a long and interesting history so far. The word comes

Discrete Mathematics Lecture 4. Harper Langston New York University

Figure 1: From Left to Right, General Venn Diagrams for One, Two, and Three Sets

Review of Operations on the Set of Real Numbers

IB Sets and Venn Diagram Questions- Package #1

ST MARY S COLLEGE FORM ONE COURSE OUTLINE MATHEMATICS. Term 1. Addition and subtraction. Multiplication and division facts

MATH 54 - LECTURE 4 DAN CRYTSER

A set with only one member is called a SINGLETON. A set with no members is called the EMPTY SET or 2 N

Copyright 2006 Melanie Butler Chapter 1: Review. Chapter 1: Review

Learning Log Title: CHAPTER 3: ARITHMETIC PROPERTIES. Date: Lesson: Chapter 3: Arithmetic Properties

Discrete Mathematics

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Discrete Mathematics

Today s Topics. What is a set?

TOPICS. Integers Properties of addition and. Rational Numbers Need for rational numbers. Exponents or Powers Introduction to Exponents or

COMP Logic for Computer Scientists. Lecture 17

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory

Solution: It may be helpful to list out exactly what is in each of these events:

Hillel Academy. Grade 9 Mathematics End of Year Study Guide September June 2013

Problem One: A Quick Algebra Review

Cardinality of Sets. Washington University Math Circle 10/30/2016

Algebra of Sets. Aditya Ghosh. April 6, 2018 It is recommended that while reading it, sit with a pen and a paper.

Cantor s Diagonal Argument for Different Levels of Infinity

The Language of Sets and Functions

Math 110 FOUNDATIONS OF THE REAL NUMBER SYSTEM FOR ELEMENTARY AND MIDDLE SCHOOL TEACHERS

1.2 Venn Diagrams and Partitions

Topology 550A Homework 3, Week 3 (Corrections: February 22, 2012)

Sets and Venn Diagrams Quiz 2 [101 marks]

Virtual World Development

In this section we take an aside from the normal discussion in algebra.

Slides for Faculty Oxford University Press All rights reserved.

The Size of the Cantor Set

Relational Database: The Relational Data Model; Operations on Database Relations

The Real Number System

Summary of Course Coverage

Math Week in Review #5

Presents. The Common Core State Standards Checklist Grades 3-5

Logic and Discrete Mathematics. Section 2.5 Equivalence relations and partitions

1. Represent each of these relations on {1, 2, 3} with a matrix (with the elements of this set listed in increasing order).

Unit 7 Number System and Bases. 7.1 Number System. 7.2 Binary Numbers. 7.3 Adding and Subtracting Binary Numbers. 7.4 Multiplying Binary Numbers

9. MATHEMATICIANS ARE FOND OF COLLECTIONS

Objectives/Outcomes. Introduction: If we have a set "collection" of fruits : Banana, Apple and Grapes.

CSE 20 DISCRETE MATH. Fall

Topology Homework 3. Section Section 3.3. Samuel Otten

Infinity and Uncountability. Countable Countably infinite. Enumeration

Chapter 1: Number and Operations

Complexity Theory. Compiled By : Hari Prasad Pokhrel Page 1 of 20. ioenotes.edu.np

Summary Of Topics covered in Year 7. Topic All pupils should Most pupils should Some pupils should Learn formal methods for

CS Bootcamp Boolean Logic Autumn 2015 A B A B T T T T F F F T F F F F T T T T F T F T T F F F

The set consisting of all natural numbers that are in A and are in B is the set f1; 3; 5g;

CGF Lecture 2 Numbers

Math 395: Topology. Bret Benesh (College of Saint Benedict/Saint John s University)

Benchmarks Addressed. Quizzes. Strand IV, S 1-2, 1-4, 2-1, 2-2, 2-3, 3-1. Journal writing. Projects. Worksheets

Generell Topologi. Richard Williamson. May 27, 2013

LESSON 1: INTRODUCTION TO COUNTING

Glossary Common Core Curriculum Maps Math/Grade 6 Grade 8

Math 202 Test Problem Solving, Sets, and Whole Numbers 19 September, 2008

may be sent to:

Calculating Cardinalities

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Decimal Binary Conversion Decimal Binary Place Value = 13 (Base 10) becomes = 1101 (Base 2).

Transcription:

SETS A set is a file of objects which have at least one property in common. The objects of the set are called elements. Sets are notated with capital letters K, Z, N, etc., the elements are a, b, c, d, etc. To specify the set we use curly brackets { }. We will use the symbol a A to show that the element a belongs to the set A. On the other hand a A means that the element a does not belong to the set A. The sets are determined in two ways: by enumerating elements, which belong to the set, e.g. A = {a, b, c} by stating characteristic properties of the objects from the set, e.g. C = {x N; x>3} Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets. Set Notation The most flexible way to write down objects belonging to a certain total is to use set notation. Sets are delimited by curly braces. You can write down finite sets as lists. For instance {-1, 10, π }is the set with the three elements -1, and 10. For sets with infinitely many elements this becomes impossible, so there are other ways to write them down. Special symbols are used to denote important sets: N is the set of natural numbers 1, 2, 3,... Z denotes the integers 0, 1, -1, 2, -2,... Q denotes the set of rational numbers (fractions). R denotes the set of all real numbers, consisting of all rational numbers and irrational numbers such as 10. C denotes the set of all complex numbers. Ø is the empty set, the set which has no elements. 1

Beyond that, set notation uses descriptions: the interval (-3,5 is written in set notation as {x R ; 3 < x 5}read as " the set of all real numbers x such that 3< x 5}." The first part tells us what "universe" of numbers we are considering (in our case the universe of real numbers), the semicolon ";" separates the "universe" part from the second part, where we describe the property our numbers in the set are supposed to satisfy. The set {x Z ; 3< x 5} is the set of all integers exceeding -3 and not greater than 5; this is a finite set; we could write it as a list, {x Z ; 3< x 5} = {-2, -1, 0, 1, 2, 3, 4, 5} The set {x N ; 3 < x 5} is even smaller; it contains only five elements: {x N ; 3 < x 5} {1, 2, 3, 4, 5} Here are some more examples: The interval (3; ) can be written as {x R; x > 3}. The set (-,0) (0, ) looks like this in set notation: {x R; x 0}, or like {x R; x < 0 or x > 0}. OPERATIONS BETWEEN SETS a) equality of sets b) set inclusion (one set is included into another one) c) union of sets d) intersection of sets e) difference of sets f) complement of sets EQUALITY OF SETS Two sets A and B are equal, if each element from the set A is at the same time an element of the set B, and each element of B is an element of A. The equality of sets has the following characteristics: 1. reflexive A = A (this is true for each set) 2. symmetric A = B B = A 3. transitive A = B; B = C A = C 2

SET INCLUSION A set A is a subset of the set B then and only then if each element of A is at the same time an element of B (A B). B is then called a hyper-set of A. The set inclusion has the following characteristics: 1. reflexive A A 2. anti-symmetric A B and B A A = B 3. transitive A B, B C A C Each non-empty set has at least two subsets: itself and an empty set, e.g. if A = {2}, then its subsets are {2}, { }. Example: Write all subsets of the set M = {a, b, c} Subsets are: {a, b, c}, { }, {a}, {b}, {c}, {a, b}, {a, c}, {b, c} UNION OF SETS A union of two sets is a set, which contains elements occurring in at least one of these sets. C = A B = {x; x A x B}. INTERSECTION OF SETS An intersection of two sets is a set, which contains elements occurring in both sets at the same time. C = A B = {x; x A x B}. If the intersection of the sets A and B is an empty set, then the sets A and B are called disjoint sets (mutually exclusive sets, non-overlapping sets). Characteristics of union and intersection of sets UNION INTERSECTION 1. commutative A B = B A commutative A B = B A 2. associative A (B C) = (A B) C associative A (B C) = (A B) C 3. distributive in view of intersection distributive in view of union (A B) C = ( A C) (B C) (A B) C = ( A C) (B C) DIFFERENCE OF SETS A difference of sets is a set, which contains those elements of the set A, which do not belong to the set B. A B = {x A, x B}. 3

COMPLEMENT OF SETS The basic set is a set which consists of all elements and all subsets we will work with. A complement of a set A into the set X is the set, which contains those elements from X, which do not belong to A. A x = {x X; x A} A x = X - A De Morgan laws 1. (A B) = A B 2. (A B) = A B VENN DIAGRAMS Venn diagrams are used to depict the sets and operations between sets. A Venn diagram is a drawing, in which circular areas represent groups of items sharing common properties. The drawing consists of two or more circles, each representing a specific group. This process of visualizing logical relationships was devised by John Venn (1834-1923). A B B A Each Venn diagram begins with a rectangle representing the universal set. Then each set in the problem is represented by a circle. Any values that belong to more than one set will be placed in the sections where the circles overlap. 4

The Venn diagram at the left shows two sets A and B. Values that belong to both set A and set B are located in the centre region labelled A B where the circles overlap. The notation A v B represents the entire region covered by both sets A and B. If we cut out sets A and B, the remaining region in U would be labelled (A v B) and called complement. Venn diagrams have the ability to represent a "sharing of conditions", which makes them useful tools for solving complicated problems. Consider the following example: Example: Twenty-four dogs are in a kennel. Twelve of the dogs are black, six of the dogs have short tails, and fifteen of the dogs have long hair. There is only one dog that is black with a short tail and long hair. Two of the dogs are black with short tails and do not have long hair. Two of the dogs have short tails and long hair but are not black. If all of the dogs in the kennel have at least one of the mentioned characteristics, how many dogs are black with long hair but do not have short tails? Solution: Draw a Venn diagram to represent the situation described in the problem. Represent the number of dogs that you are looking for with x. 5

Notice that the number of dogs in each of the three categories is labelled OUTSIDE of the circle in a coloured box. This number is a reminder of the total of the numbers which may appear anywhere inside that particular circle. After you have labelled all of the conditions listed in the problem, use this OUTSIDE box number to help you determine how many dogs are to be labelled in the empty sections of each circle. Once you have EVERY section in the diagram labelled with a number or an expression, you are ready to solve the problem. Add together EVERY section in the diagram and set it equal to the total number of dogs in the kennel (24). Do NOT use the OUTSIDE box numbers. 9 - x + 2 + 1 + 1 + 2 + x + 12 - x = 24 27 - x = 24 x = 3 (There are 3 dogs which are black with long hair but do not have a short tail.) Venn diagrams are illustrations used in the branch of mathematics known as set theory. They show all of the possible mathematical and logical relationships between sets (groups of things). 6

The Real Number Line vs. Intervals The most intuitive way to notate numbers is to use the real number line. If we draw a line, designate a point on the line to be zero, and choose a scale, then every point on the line corresponds uniquely to a real number, and vice versa: The real number line "respects" the order of the real numbers. A bigger number will always be found to the right of a smaller number. In the picture below, a>b. We visualize a set on the real number line by marking its members. It is standard to agree on the following conventions: To include an endpoint, we "bubble it in." To exclude an endpoint, we use an "empty bubble". Here is the set of all real numbers greater than -2 and less than or equal to 5: The number -2 is excluded from the set, so you see an "empty bubble"; the number 5 is included in the set, so the bubble at 5 is "filled in." Next comes an unbounded set, the set of all numbers less than or equal to 3: 7

The set does not need to be "connected." The following graph depicts all real numbers which are either greater than 2 or strictly between -1 and 1. The following is a description of the set of all real numbers with the exception of -1 and 2: Interval Notation Interval notation translates the information from the real number line into symbols. Our example becomes the interval (-2,5. To indicate that an endpoint is included, we use a pointed bracket; to exclude an endpoint, we use parentheses. Our example 8

is written in interval notation as (, 3. The infinity symbols "+ " and " - " are used to indicate that the set is unbounded in the positive (+ ) or negative (- ) direction of the real number line. " + " and real numbers, just symbols. Therefore we always exclude them as endpoints by using parentheses. If the set consists of several disconnected pieces, we use the symbol for union " ": Our example " - " are not is written in interval notation as (-1, 1) (2, ). In the previous example, there are three pieces to consider: An interval such as (-1, 2 ) where both endpoints are excluded is called an open interval. Also the following unbounded interval (2, ) is considered to be open. An interval is called closed, if it contains its endpoints, such as 3, π. An interval such as (, 3 is called closed (even though it does not contain its left endpoint). The whole real line (-, ) is considered to be both open and closed. 9

Intervals using both pointed and round brackets ) or ( are called half-closed intervals or half-open intervals. In algebra, an interval is a set that contains every real number between two indicated numbers and possibly the two numbers themselves. Interval notation is the notation in which permitted values for a variable are expressed as ranging over a certain interval; "5 < x < 9" is an example of the application of interval notation. In conventional interval notation, parentheses (...) indicate exclusion while pointed brackets... indicate inclusion. For example, the interval (10,20) indicates the set of all real numbers between 10 and 20 but does not include 10 or 20, the first and last numbers of the interval, respectively. On the other hand, the interval 10 ; 20 includes both every number between 10 and 20 as well as 10 and 20. Other possibilities are listed below. Intervals of R are of the following eleven different types (where a and b are real numbers, with a < b): 1. (a; b) = {x; a < x < b) 2. a; b = {x; a x b) 3. a ; b) = {x; a x < b) 4. (a; b = {x; a < x b) 5. (a; ) = {x; x > a} 6. a ; ) = {x; x a} 7. (-, b) = {x; x < b} 8. (-, b = {x; x b} 9. (-, ) = R itself, the set of all real numbers 10., the empty set 11. {a}, singleton The last two are called degenerate intervals. In each case where they appear above, a and b are known as endpoints of the interval. The endpoints will be separated by a semicolon to avoid ambiguity when the endpoints are decimal numbers. 10