Sections 2.1, 2.2 and 2.4



Similar documents
THE LANGUAGE OF SETS AND SET NOTATION

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.

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

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

INTRODUCTORY SET THEORY

Set Theory Basic Concepts and Definitions

Discrete Mathematics

Basic Concepts of Set Theory, Functions and Relations

Mathematics Review for MS Finance Students

All of mathematics can be described with sets. This becomes more and

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

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

Automata and Formal Languages

Basic Probability Concepts

Elements of probability theory

SOLUTIONS TO ASSIGNMENT 1 MATH 576

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

Math 3000 Section 003 Intro to Abstract Math Homework 2

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

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

Automata Theory. Şubat 2006 Tuğrul Yılmaz Ankara Üniversitesi

Book of Proof. Richard Hammack Virginia Commonwealth University

MA651 Topology. Lecture 6. Separation Axioms.

Section 1.1 Real Numbers

Discrete Maths. Philippa Gardner. These lecture notes are based on previous notes by Iain Phillips.

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

This chapter is all about cardinality of sets. At first this looks like a

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

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

Logic in Computer Science: Logic Gates

Basic Concepts of Point Set Topology Notes for OU course Math 4853 Spring 2011

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

A Little Set Theory (Never Hurt Anybody)

Set Theory. 2.1 Presenting Sets CHAPTER2

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

Incenter Circumcenter

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION

Handout #1: Mathematical Reasoning

Deterministic Finite Automata

1 The Concept of a Mapping

Basic Proof Techniques

Cartesian Products and Relations

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

Statistics in Geophysics: Introduction and Probability Theory

God created the integers and the rest is the work of man. (Leopold Kronecker, in an after-dinner speech at a conference, Berlin, 1886)

CMPSCI 250: Introduction to Computation. Lecture #19: Regular Expressions and Their Languages David Mix Barrington 11 April 2013

5.1 Radical Notation and Rational Exponents

CS 3719 (Theory of Computation and Algorithms) Lecture 4

Absolute Value Equations and Inequalities

MAS113 Introduction to Probability and Statistics

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

Access The Mathematics of Internet Search Engines

Applied Liberal Arts Mathematics MAT-105-TE

Review of Basic Algebraic Concepts

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

Lecture Notes on Discrete Mathematics

How To Understand And Solve A Linear Programming Problem

Fundamentele Informatica II

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

A Course in Discrete Structures. Rafael Pass Wei-Lung Dustin Tseng

3. Mathematical Induction

Course Syllabus. MATH 1350-Mathematics for Teachers I. Revision Date: 8/15/2016

E3: PROBABILITY AND STATISTICS lecture notes

Summary. Operations on Fuzzy Sets. Zadeh s Definitions. Zadeh s Operations T-Norms S-Norms. Properties of Fuzzy Sets Fuzzy Measures

Regular Languages and Finite State Machines

Introduction to Probability

Lecture 16 : Relations and Functions DRAFT

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

Sample Space and Probability

Mathematical Conventions Large Print (18 point) Edition

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

Lecture 2: Regular Languages [Fa 14]

Statistics 100A Homework 1 Solutions

4. CLASSES OF RINGS 4.1. Classes of Rings class operator A-closed Example 1: product Example 2:

C H A P T E R Regular Expressions regular expression

(0, 0) : order 1; (0, 1) : order 4; (0, 2) : order 2; (0, 3) : order 4; (1, 0) : order 2; (1, 1) : order 4; (1, 2) : order 2; (1, 3) : order 4.

MATH 90 CHAPTER 1 Name:.

Mathematical Induction. Lecture 10-11

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay

INCIDENCE-BETWEENNESS GEOMETRY

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

LEARNING OBJECTIVES FOR THIS CHAPTER

7 Relations and Functions

Section IV.21. The Field of Quotients of an Integral Domain

Turing Machines: An Introduction

Reading 13 : Finite State Automata and Regular Expressions

Chapter 13 & 14 - Probability PART

Licensed to: Printed in the United States of America

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.

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

THE PRODUCT SPAN OF A FINITE SUBSET OF A COMPLETELY BOUNDED ARTEX SPACE OVER A BI-MONOID

Teori Himpunan. Bagian III

MATH 289 PROBLEM SET 4: NUMBER THEORY

Aikaterini Marazopoulou

Minimal R 1, minimal regular and minimal presober topologies

Math 4310 Handout - Quotient Vector Spaces

Group Theory. Contents

Discrete Mathematics II: Set Theory for Computer Science Part IA Comp. Sci. Lecture Notes

Transcription:

SETS Sections 2.1, 2.2 and 2.4

Chapter Summary Sets The Language of Sets Set Operations Set Identities

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 is an important branch of mathematics. Many different systems of axioms have been used to develop set theory. Here we are not concerned with a formal set of axioms for set theory. Instead, we will use what is called naïve set theory.

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 its elements. The notation a A denotes that a is an element of the set A. If a is not a member of A, write a A

Describing a Set: Roster Method S a,b,c,d,, Order not important S a,b,c,d b,c,a,d Each distinct object is either a member or not; listing more than once does not change the set. S a,b,c,d a,b,c,b,c,d b Elipses may be used to describe a set without listing all of the members when the pattern is clear. S a,b,c,d,,z

Roster Method Set of all vowels in the English alphabet: V a,e,i,o,u Set of all odd positive integers less than 10: O 1,3,5,7,9 Set of all positive integers less than 100: S 1,2,3,..,99 Set of all integers less than 0: S., 3, 2, 1

Some Important Sets N = natural numbers = 0,1,2,3.,, Z = integers =, 3, 2, 1,0,1,2,3, Z+ = positive integers = 1,2,3,.. R = set of real numbers R = set of positive real numbers C = set of complex numbers. Q = set of rational numbers

Set-Builder Notation Specify the property p or properties p that all members must satisfy: S x x is a positive integer less than 100 O x x is an odd positive integer less than 10 O x Z+ x is odd and x 10 A predicate may be used: S x P x Example: S x Prime x Positive rational numbers: Q x R x p/q, for some positive integers p,q p

Interval Notation a,b x a x b a,b x a x b a,b x a x b a,b x a x b closed interval [a,b] open interval (a,b)

Universal Set and Empty Set The universal set U is the set containing everything currently under consideration. Sometimes implicit Sometimes explicitly stated. Contents depend on the context. The empty set is the set with no elements. Symbolized, but {} is also used.

Subsets Definition: The set A is a subset of B,, if and only if every element of A is also an element of B. The notation A B is used to indicate that A is a subset of the set B. A B holds if and only if is true. Because a is always false, S,for every set S. Because a S a S, S S, for every set S.

Showing a Set is or is not a Subset of Another Set Showing that A is a Subset of B: To show that A B,, show that if x belongs to A, then x also belongs to B. Showing that A is not a Subset of B: To show that A is not a subset of B, A B, find an element x A with x B. (Such an x is a counterexample to the claim that x A implies x B.) Examples: 1. The set of all computer science majors at your school is a subset of all students at your school.

Another look at Equality of Sets Recall that two sets A and B are equal,, denoted by A = B, iff Using logical equivalences we have that A = B iff This is equivalent to A B and B A

Proper Subsets Definition: If A B,, but A B,, then we say A is a proper p subset of B, denoted by A B. If A B, then is true. Venn Diagram B A U

Set Cardinality Definition: If there are exactly n distinct elements in S where n is a nonnegative integer, we say that S is finite. Otherwise it is infinite. Definition: iti The cardinality of a finite it set A, denoted d by A, is the number of (distinct) elements of A. Examples: ø = 0 Let S be the letters of the English alphabet. Then S = 26 {1,2,3} = 3 The set of integers is infinite.

Power Sets Definition: The set of all subsets of a set A,, denoted P(A), is called the power set of A. Example: If A = {a,b} then P(A) = {ø, {a},{b},{a,b}} If a set has n elements, then the cardinality of the power set is 2ⁿ. If B = {1, 2, 3, 4} B =4 P(B) ( = 2 4 =16 {1,2,4} B and {1,2,4} P(B) {4} B and {4} P(B) 4 B but 4 P(B)

Union Definition: Let A and B be sets. The union of the sets A and B, denoted by A B, is the set: Example: What is {1,2,3 3, 4, 5? Solution: {1,2,3,4,5 Venn Diagram for A B A B U

Intersection Definition: The intersection of sets A and B,, denoted by A B, is Note if the intersection is empty, then A and B are said to be disjoint. Example: What is? 123 345? 1,2,3 3,4,5 Solution: 3 Example:What is? 1,2,3 4,5,6? Solution: Venn Diagram for A B A B U

Complement Definition: If A is a set, then the complement of the A (with respect to U), denoted by Ā is the set U A Ā x U x A (The complement of A is sometimes denoted by A c.) Example: If U is the positive integers less than 100, what is the complement of x x 70 Solution: x x 70 Venn Diagram for Complement U Ā A

Difference Definition: Let A and B be sets. The difference of A and B, denoted by A B, is the set containing the elements of A that are not in B. The difference of A and B is also called the complement of B with respect to A. A B x x A x B A B A B U Venn Diagram for A B

Combining set operations A C B

Combining set operations A C B

Combining set operations A C B

Combining set operations A C B

Review Questions Example: U = {0,1,2,3,4,5,6,7,8,9,10} A = {1,2,3,4,5}, B ={4,5,6,7,8} 1. A B Solution: {1,2,3,4,5,6,7,8} 2. A B 3. Ā 4. Solution: {4,5} Solution: {0,6,7,8,9,10} Solution: {0,1,2,3,9,10} 5. A B Solution: {1,2,3} 6. B A Solution: {6,7,8}

Set Identities Identity laws Domination laws Idempotent laws Complementation law Continued on next slide

Set Identities Commutative laws Associative laws Distributive laws Continued on next slide

Set Identities De Morgan s laws Absorption laws Complement laws

Set Partitions