4.1. Sets. Introduction. Prerequisites. Learning Outcomes. Learning Style

Similar documents
THE LANGUAGE OF SETS AND SET NOTATION

Lecture 1. Basic Concepts of Set Theory, Functions and Relations

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Working with whole numbers

A Little Set Theory (Never Hurt Anybody)

Probability: Terminology and Examples Class 2, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Lecture Note 1 Set and Probability Theory. MIT Spring 2006 Herman Bennett

Set Theory: Shading Venn Diagrams

Automata and Formal Languages

CS 3719 (Theory of Computation and Algorithms) Lecture 4

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Access The Mathematics of Internet Search Engines

1. Prove that the empty set is a subset of every set.

So let us begin our quest to find the holy grail of real analysis.

Pigeonhole Principle Solutions

7 Relations and Functions

STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Set operations and Venn Diagrams. COPYRIGHT 2006 by LAVON B. PAGE

Session 6 Number Theory

Basic Probability Concepts

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

Cubes and Cube Roots

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

Mathematical Induction

5.1 Radical Notation and Rational Exponents

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

Check Skills You ll Need. New Vocabulary union intersection disjoint sets. Union of Sets

SOLUTIONS TO ASSIGNMENT 1 MATH 576

Mathematical Conventions Large Print (18 point) Edition

Mathematical Conventions. for the Quantitative Reasoning Measure of the GRE revised General Test

Reading 13 : Finite State Automata and Regular Expressions

6.3 Conditional Probability and Independence

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

Financial Mathematics

Lecture 17 : Equivalence and Order Relations DRAFT

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system

NUMBER SYSTEMS. William Stallings

Math Week in Review #4. A proposition, or statement, is a declarative sentence that can be classified as either true or false, but not both.

Regular Languages and Finite State Machines

Binary Adders: Half Adders and Full Adders

C H A P T E R Regular Expressions regular expression

INTRODUCTORY SET THEORY

Handout #1: Mathematical Reasoning

Absolute Value Equations and Inequalities

Basic Concepts of Set Theory, Functions and Relations

Numeracy and mathematics Experiences and outcomes

=

Basic Set Theory. 1. Motivation. Fido Sue. Fred Aristotle Bob. LX Semantics I September 11, 2008

(IALC, Chapters 8 and 9) Introduction to Turing s life, Turing machines, universal machines, unsolvable problems.

Grade 7/8 Math Circles Sequences and Series

Cartesian Products and Relations

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

8 Divisibility and prime numbers

Basic voltmeter use. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

14.1. Basic Concepts of Integration. Introduction. Prerequisites. Learning Outcomes. Learning Style

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities

Algebra I Notes Relations and Functions Unit 03a

Set Theory Basic Concepts and Definitions

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Solutions to Math 51 First Exam January 29, 2015

6.1. The Exponential Function. Introduction. Prerequisites. Learning Outcomes. Learning Style

Fundamentele Informatica II

Chapter 11 Number Theory

Regular Expressions and Automata using Haskell

Discrete Mathematics

Planning Guide. Grade 6 Factors and Multiples. Number Specific Outcome 3

Classifying Lesson 1 Triangles

23. RATIONAL EXPONENTS

LEARNING OBJECTIVES FOR THIS CHAPTER

Equations, Inequalities & Partial Fractions

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Binary Number System. 16. Binary Numbers. Base 10 digits: Base 2 digits: 0 1

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Sudoku puzzles and how to solve them

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

Row Echelon Form and Reduced Row Echelon Form

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Lecture 16 : Relations and Functions DRAFT

Conditional Probability, Independence and Bayes Theorem Class 3, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.

The Exponential Form of a Complex Number

Regular Languages and Finite Automata

Full and Complete Binary Trees

Computer Science 281 Binary and Hexadecimal Review

SECTION 10-5 Multiplication Principle, Permutations, and Combinations

1 if 1 x 0 1 if 0 x 1

10.2 Series and Convergence

4. How many integers between 2004 and 4002 are perfect squares?

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

Lies My Calculator and Computer Told Me

3.1 Solving Systems Using Tables and Graphs

Collated Food Requirements. Received orders. Resolved orders. 4 Check for discrepancies * Unmatched orders

How To Understand And Solve A Linear Programming Problem

Review of Fundamental Mathematics

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Set Theory. 2.1 Presenting Sets CHAPTER2

Transcription:

ets 4.1 Introduction If we can identify a property which is common to several objects, it is often useful to group them together. uch a grouping is called a set. Engineers for example, may wish to study all components of a production run which fail to meet some specified tolerance. Mathematicians may lookat sets of numbers with particular properties, for example, the set of all even numbers, or the set of all numbers greater than zero. In this blockwe introduce some terminology that is commonly used to describe sets, and practice using set notation. This notation will be particularly useful when we come to study probability in later blocks. Prerequisites efore starting this lockyou should... Learning Outcomes fter completing this lockyou should be able to... understand what is meant by a set use set notation understand the meaning of the concepts of the intersection and union of two sets understand what is meant by the complement of a set be able to use Venn diagrams to illustrate sets. 1 Learning tyle To achieve what is expected of you... allocate sufficient study time briefly revise the prerequisite material attempt every guided exercise and most of the other exercises

1. ets set is any collection of objects. Here, the word object is used in its most general sense: an object may be a diode, an aircraft, a number, or a letter, for example. set is often described by listing the collection of objects - these are the members or elements of the set. We usually write this list of elements in curly brackets, and denote the full set by a capital letter. For example, C = {the resistors produced in a factory on a particular day} D = {on, off} E = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} The elements of set C, above, are the resistors produced in a factory on a particular day. These could be listed individually but as the number is large it is not practical to do this. et D lists the two possible states of a simple switch, and the elements of set E are the digits used in the decimal system. ometimes we can describe a set in words. For example, is the set all odd numbers. Clearly all the elements of this set cannot be listed. imilarly, is the set of binary digits viz = {0, 1}. has only two elements. set with a finite number of elements is called a finite set.,c,d and E are finite sets. The set has an infinite number of elements and so is not a finite set. It is known as an infinite set. Two sets are equal if they contain exactly the same elements. For example, the sets {9, 10, 14} and {10, 14, 9} are equal since the order in which elements are written is unimportant. Note also that repeated elements are ignored. The set {2, 3, 3, 3, 5, 5} is equal to the set {2, 3, 5}. ubsets ometimes one set is contained completely within another set. For example if X = {2, 3, 4, 5, 6} and Y = {2, 3, 6} then all the elements of Y are also elements of X. We say that Y is a subset of X and write Y X. Example Given = {0, 1, 2, 3}, = {0, 1, 2, 3, 4, 5, 6} and C = {0, 1}, state which sets are subsets. olution is a subset of, that is C is a subset of, that is C C is a subset of, that is C. Engineering Mathematics: Open Learning Unit Level 1 2

Now do this exercise factory produces cars over a five day period; Monday to Friday. Consider the following sets, (a) = {cars produced from Monday to Friday} (b) = {cars produced from Monday to Thursday} (c) C = {cars produced on Friday} (d) D = {cars produced on Wednesday} (e) E = {cars produced on Wednesday and Thursday} tate which sets are subsets. nswer The symbol. To show that an element belongs to a particular set we use the symbol, (Greekepsilon). This symbol means is a member of or belongs to. The symbol means is not a member of or does not belong to. For example if X = {all even numbers} then we may write 4 X, 6 X, 7 X and 11 X. The empty set and the universal set ometimes a set will contain no elements. For example, suppose we define the set K by K = {all odd numbers which are divisible by 4} ince there are no odd numbers which are divisible by 4, then K has no elements. The set with no elements is called the empty set, and it is denoted by. On the other hand, the set containing all the objects of interest in a particular situation is called the universal set, denoted by. The precise universal set will depend upon the context. If, for example, we are concerned only with whole numbers then will be the set of whole numbers. If we are concerned only with the decimal digits then we take = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}. The complement of a set Given a set and a universal set we can define a new set, called the complement of and denoted by. The complement of contains all the elements of the universal set that are not in. 3 Engineering Mathematics: Open Learning Unit Level 1

Example Given = {2, 3, 7}, = {0, 1, 2, 3, 4} and = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} state (a) (b) olution (a) The elements of are those which belong to but not to. = {0, 1, 4, 5, 6, 8, 9} (b) = {5, 6, 7, 8, 9} ometimes a set is described in a mathematical way. uppose the set Q contains all numbers which are divisible by 4 and 7. We can write Q = {x : x is divisible by 4 and x is divisible by 7} The symbol : stands for such that. We read the above as Q is the set comprising all elements x, such that x is divisible by 4 and by 7. 2. Venn diagrams ets are often represented pictorially by Venn diagrams (see Figure 1). C D Figure 1 Here,, C, D represent sets. The sets, have no items in common so are drawn as nonintersecting regions whilst the sets C, D have some items in common so are drawn overlapping. In a Venn diagram the universal set is always represented by a rectangle and sets of interest by area regions within this rectangle. Example Represent the sets = {0, 1} and = {0, 1, 2, 3, 4} using a Venn diagram. olution The elements 0 and 1 are in set, represented by the small circle in Figure 2. The large circle represents set and so contains the elements 0,1,2,3 and 4. suitable universal set in this case is the set of all integers. The universal set is shown by the rectangle. Note that. This is shown in the Venn diagram by being completely inside. Engineering Mathematics: Open Learning Unit Level 1 4

2 O 1 3 4 Figure 2 The set is contained completely within Now do this exercise Given = {0, 1} and = {2, 3, 4} draw Venn diagrams showing (a) and (b) (c) nswer 3. The intersection and union of sets Intersection Given two sets, and, the intersection of and is a set which contains elements that are common both to and. We write to denote the intersection of and. Mathematically we write this as: Key Point = {x : x and x } This says that the intersection contains all the elements x such that x belongs to and also x belongs to. Note that and are identical. The intersection of two sets can be represented by a Venn diagram as shown in Figure 6. Figure 6 The overlapping area represents 5 Engineering Mathematics: Open Learning Unit Level 1

Example Given = {3, 4, 5, 6}, = {3, 5, 9, 10, 15} and C = {4, 6, 10} state (a) (b) C and draw a Venn diagram representing these intersections. olution (a) The elements common to both and are 3 and 5. Hence = {3, 5} (b) The only element common to and C is 10. Hence C = {10} 10 5 3 9 15 6 4 10 C Now do this exercise Given D = {a, b, c} and F = {the entire alphabet} state D F The intersection of three or more sets is possible. nswer Example Given = {0, 1, 2, 3}, = {1, 2, 3, 4, 5} and C = {2, 3, 4, 7, 9} state (a) (b) ( ) C (c) C (d) ( C) olution (a) The elements common to and are 1, 2 and 3 so = {1, 2, 3} (b) We need to consider the sets ( ) and C. is given in (a). The elements common to ( ) and C are 2 and 3. Hence ( ) C = {2, 3} (c) The elements common to and C are 2, 3 and 4 so C = {2, 3, 4} (d) We lookat the sets and ( C). The common elements are 2 and 3. Hence ( C) ={2, 3} Note from (b) and (d) that ( ) C = ( C). The example illustrates a general rule. For any sets, and C it is true that ( ) C = ( C) The position of the brackets is thus unimportant. They are usually omitted and we write C. Engineering Mathematics: Open Learning Unit Level 1 6

uppose that sets and have no elements in common. Then their intersection contains no elements and we say that and are disjoint sets. We express this as = Recall that is the empty set. Disjoint sets are represented by separate area regions in the Venn diagram. Union The union of two sets and is a set which contains all the elements of together with all the elements of. We write to denote the union of and. We can describe the set formally by: Key Point = {x : x or x or both} Thus the elements of the set are those quantities x such that x is a member of or a member of or a member of both and. The deeply shaded areas of Figure 7 represents. (a) Figure 7 In Figure 7(a) the sets intersect, whereas in Figure 7(b) the sets have no region in common. We say they are disjoint. (b) Example Given = {0, 1}, = {1, 2, 3} and C = {2, 3, 4, 5} write down (a) (b) C (c) C olution (a) = {0, 1, 2, 3}. (b) C = {0, 1, 2, 3, 4, 5}. (c) C = {1, 2, 3, 4, 5}. Recall that there is no need to repeat elements in a set. unimportant so =. Clearly the order of the union is 7 Engineering Mathematics: Open Learning Unit Level 1

Now do this exercise Given = {2, 3, 4, 5, 6}, = {2, 4, 6, 8, 10} and C = {3, 5, 7, 9, 11} state (a) (b) ( ) C (c) (d) ( ) C (e) C nswer More exercises for you to try 1. Given a set, its complement and a universal set state which of the following expressions are true and which are false. (a) = (b) = (c) = (d) = (e) = (f) = (g) = (h) = (i) = (j) = (k) = (l) = 2. Given = {a, b, c, d, e, f}, = {a, c, d, f, h} and C = {e, f, x, y} obtain the sets: (a) (b) C (c) ( C) (d) C ( ) (e) C (f) ( C) 3. List the elements of the following sets: (a) = {x : x is odd and x is greater than 0 and less than 12} (b) = {x : x is even and x is greater than 19 and less than 31} 4. Given = {5, 6, 7, 9}, = {0, 2, 4, 6, 8} and = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} list the elements of each of the following sets: (a) (b) (c) (d) (e) (f) ( ) (g) ( ) (h) ( ) (i) ( ) What do you notice about your answers to (c),(g) and (d),(f)? 5. Given that and are intersecting sets, i.e. are not disjoint, show on a Venn diagran the following sets (a) (b) (c) (d) (e) nswer Engineering Mathematics: Open Learning Unit Level 1 8

End of lock 4.1 9 Engineering Mathematics: Open Learning Unit Level 1

(a) is a subset of, that is,. (b) C is a subset of, that is, C. (c) D is a subset of, that is, D. (d) E is a subset of, that is, E. (e) D is a subset of, that is, D. (f) E is a subset of, that is, E. (g) D is a subset of E, that is, D E. ackto the theory Engineering Mathematics: Open Learning Unit Level 1 10

(a) Note that and have no elements in common. This is represented pictorially in the Venn diagram by circles which are totally separate from each other as shown in Figure 3. 0 1 2 3 4 Figure 3 The sets and have no elements in common. (b) The complement of is the set whose elements do not belong to. The set is shown in Figure 4. ' Figure 4 The complement of contains elements which are not in. (c) The set,, is shown in Figure 5. ' Figure 5 Everything outside of (but within ) is. ackto the theory 11 Engineering Mathematics: Open Learning Unit Level 1

The elements common to D and F are a, b and c, and so D F = {a, b, c} Note that D is a subset of F and so D F = D. ackto the theory Engineering Mathematics: Open Learning Unit Level 1 12

(a) = {2, 3, 4, 5, 6, 8, 10} (b) We need to lookat the sets ( ) and C. The elements common to both of these sets are 3 and 5. Hence ( ) C = {3, 5}. (c) = {2, 4, 6} (d) We consider the sets ( ) and C. We form the union of these two sets to obtain ( ) C = {2, 3, 4, 5, 6, 7, 9, 11}. (e) The set formed by the union of all three sets will contain all the elements from all the sets. C = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11} ackto the theory 13 Engineering Mathematics: Open Learning Unit Level 1

1. a) T, b) F, c) T, d) F, e) F, f) T, g) F, h) F, i) T, j) F, k) F, l) T. 2. a) {a, b, c, d, e, f, h}, b) {f}, c) {a, c, d, e, f}, d) {e, f}, e) {f}, f) {a, c, d, e, f, h}. 3. a) {1, 3, 5, 7, 9, 11}, b) {20, 22, 24, 26, 28, 30}. 4. a) {0, 1, 2, 3, 4, 8}, b) {1, 3, 5, 7, 9}, c) {0, 1, 2, 3, 4, 5, 7, 8, 9}, d) {1, 3}, e) {0, 2, 4, 5, 6, 7, 8, 9}, f) {1, 3}, g) {0, 1, 2, 3, 4, 5, 7, 8, 9}, h) {1, 3, 5, 6, 7, 9}, i) {0, 2, 4, 8}. 5. (a) (b) (c) (d) (e) ackto the theory Engineering Mathematics: Open Learning Unit Level 1 14