Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation
|
|
- Emily Brooks
- 5 years ago
- Views:
Transcription
1 Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation
2 Course Staff Keith Schwarz Kyle Brogle Maurizio Calo Caligaris Julius Cheng Justin Heermann Nicholas Isaacs Michael Kim Tarun Singh Remington Wong Course Staff Mailing List:
3 The Course Website
4 Prerequisite CS106A
5 Prerequisite CS106A
6 Recommended Reading
7 Recommended Reading (but just the first chapter)
8 Online Course Notes
9 Grading Policies 60% Assignments 15% Midterm 25% Final
10 Goals for this Course
11 Key Questions How do we prove something with absolute certainty? Discrete Mathematics Can computers solve every problem? Computability Theory Why are some problems harder than others? Complexity Theory
12 Introduction to Set Theory
13 CS103 students All the computers on the Stanford network. Cool people The chemical elements Cute animals US coins.
14 ,,, Set Set notation: notation: Curly Curly braces braces with with commas commas separating separating out out the the elements elements A set is an unordered collection of distinct objects, which may be anything (including other sets).
15 ,,, These These are are the the same same set! set!,,, A set is an unordered collection of distinct objects, which may be anything (including other sets).
16 , These are are the the same same set! set!,,,,, A set is an unordered collection of distinct objects, which may be anything (including other sets).
17 This symbol means is defined as Ø We denote it with this symbol The empty set contains no elements. A set is an unordered collection of distinct objects, which may be anything (including other sets).
18 Membership,,, Is in this set?
19 Membership,,, Is in this set?
20 Set Membership Given a set S and an object x, we write x S if x is contained in S, and otherwise. x S If x S, we say that x is an element of S. Given any object and any set, either that object is an element of the set or it isn't.
21 Infinite Sets Sets can be infinitely large. The natural numbers, N: { 0, 1, 2, 3, } Some authors don't include zero; in this class, assume that 0 is a natural number. The integers, Z: {, -2, -1, 0, 1, 2, } Z is from German Zahlen. The real numbers, R, including rational and irrational numbers.
22 Constructing Sets from Other Sets Consider these English descriptions: All even numbers. All real numbers less than 137. All negative integers. We can't list their (infinitely many!) elements. How would we rigorously describe them?
23 The Set of Even Numbers { x x N and x is even } The set of all x where x is in the set of natural numbers and x is even
24 Set Builder Notation A set may be specified in set-builder notation: { x some property x satisfies } For example: { r r R and r < 137 } { n n is a power of two } { x x is a set of US currency } { p p is a legal Java program }
25 Combining Sets
26 Venn Diagrams A B A = { 1, 2, 3 } B = { 3, 4, 5 }
27 Venn Diagrams A A B A = { 1, 2, 3 } B = { 3, 4, 5 }
28 Venn Diagrams B A B A = { 1, 2, 3 } B = { 3, 4, 5 }
29 Venn Diagrams Union A B { 1, 2, 3, 4, 5 } A B A = { 1, 2, 3 } B = { 3, 4, 5 }
30 Venn Diagrams Intersection A B { 3 } A B A = { 1, 2, 3 } B = { 3, 4, 5 }
31 Venn Diagrams Difference A B { 1, 2 } A B A = { 1, 2, 3 } B = { 3, 4, 5 }
32 Venn Diagrams Difference A \ B { 1, 2 } A B A = { 1, 2, 3 } B = { 3, 4, 5 }
33 Venn Diagrams Symmetric Difference A Δ B { 1, 2, 4, 5 } A B A = { 1, 2, 3 } B = { 3, 4, 5 }
34 Venn Diagrams A B A Δ B
35 Venn Diagrams
36 Venn Diagrams for Three Sets
37 Venn Diagrams for Four Sets B C A D Question Question to to ponder: ponder: why why can't can't we we just just draw draw four four circles? circles?
38 Venn Diagrams for Five Sets
39 A Fun Website: Venn Diagrams for Seven Sets
40 Subsets and Power Sets
41 Subsets A set S is a subset of a set T (denoted S T) if all elements of S are also elements of T. Examples: { 1, 2, 3 } { 1, 2, 3, 4 } N Z (every natural number is an integer) Z R (every integer is a real number)
42 What About the Empty Set? A set S is a subset of a set T (denoted S T) if all elements of S are also elements of T. Is Ø S for any set S? Yes: The above statement is always true. Vacuous truth: A statement that is true because it does not apply to anything. All unicorns are blue. All unicorns are pink.
43 Proper Subsets By definition, any set is a subset of itself. (Why?) A proper subset of a set S is a set T such that T S T S There are multiple notations for this; they all mean the same thing: T S T S
44 S =, (S) = Ø,,,, (S) (S) is is the the power power set set of of S (the (the set set of of all all subsets subsets of of S) S)
45 Cardinalities
46 Cardinality The cardinality of a set is the number of elements it contains. We denote it S. Examples: { a, b, c, d, e} = 5 { {a, b}, {c, d, e, f, g}, {h} } = 3 { 1, 2, 3, 3, 3, 3, 3 } = 3 { x x N and x < 137 } = 137
47 The Cardinality of N What is N? There are infinitely many natural numbers. N can't be a natural number, since it's infinitely large. We need to introduce a new term. Definition: N = ℵ 0 Pronounced Aleph-Zero, Aleph-Nought, or Aleph-Null.
48 Consider the set S = { x x N and x is even } What is S?
49 How Big Are These Sets?,,,,,,
50 Comparing Cardinalities Two sets have the same cardinality if their elements can be put into a one-to-one correspondence with one another. The intuition:,,,,,,
51 Comparing Cardinalities Two sets have the same cardinality if their elements can be put into a one-to-one correspondence with one another. The intuition:,,,,, We've run out of elements in the second set!
52 Infinite Cardinalities N S n 2n S = { x x N and x is even } S = N = ℵ 0
53 Infinite Cardinalities N Z N = Z = ℵ 0 n n / 2 (if n is even) n -(n + 1) / 2 (if n is odd)
54 Infinite Cardinalities N P n 2 n P = { x x N and x is a power of two} P = N = ℵ 0
55 Important Question Do all infinite sets have the same cardinality?
56 Prepare for one of the most beautiful (and surprising!) proofs in mathematics...
57 S =, (S) = Ø,,,, S < (S)
58 S =,, Ø,,,, (S) =,,,,,,,, S < (S)
59 S = {a, b, c, d} (S) = { Ø, {a}, {b}, {c}, {d}, {a, b}, {a, c}, {a, d}, {b, c}, {b, d}, {b, e} {a, b, c}, {a, b, d}, {a, c, d}, {b, c, d}, {a, b, c, d} } S < ( S)
60 If S is infinite, what is the relation between S and ( S)? Does S = ( S)?
61 If S = ( S), there has to be a one-to-one correspondence between elements of S and subsets of S. What might this correspondence look like?
62 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 x 3 x 4 x 5 { x 0, x{ 2, 0, x 4 2,,... 4, }... } { x 0, x{ 3, 0, x 4 2,,... 4, }... } { x 4,... { 0, } 2, 4,... } { x 1, x{ 4, 0,... 2, } 4,... } { b, x 0, x{ 5 ab,, 0,... 2, } 4, } } { x 0, x{ 1, 0, x 2 2,, x4, 3, x... 4, } x 5,... }...
63 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 N Y N N Y N x 4 x 5... { N Y b, N{ ab, 0, NY 2, 4,... NY... } N} Y N Y Y Y Y Y Y Y
64 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 N Y N N Y N x 34 x { N Y b, N{ ab, 0, NY 2, 4,... NY... } N} Y N Y Y Y Y Y Y Y
65 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 x 3 x 34 x 45 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N N Y N N Y N { N Y b, N{ ab, 0, NY 2, 4,... NY... } N} Y N Y Y Y Y Y Y Y Which Which row row in in the the table table is is paired paired with with this this set? set?... Y N N N N Y
66 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 x 3 x 34 x 45 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N N Y N N Y N { N Y b, N{ ab, 0, NY 2, 4,... NY... } N} Y N Y Y Y Y Y Y Y Flip Flip all all Y's Y's to to N's N's and and vice-versa vice-versa to to get get a a new new set set... NY NY NY NY NY N Y...
67 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY N Y N Y...
68 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY N Y N Y...
69 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY N Y N Y...
70 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY N Y N Y...
71 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY N Y N Y...
72 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY Y N Y...
73 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY N Y N Y...
74 x 0 x 1 x 2 x 3 x 4 x 5... x 0 x 1 x 2 Y N{ 0, Y2, 4, N... } Y N Y N N Y Y N N N N N Y N x 3 x 34 N N Y Y N N Y N N NY NY NY N Y Which Which row row in in the the table table is is paired paired with with this this set? set? x Y Y Y Y Y Y NY NY NY NY N Y N Y...
75 The Diagonalization Proof The complemented diagonal cannot appear anywhere in the table. In row n, the nth element must be wrong. No matter how we try to assign subsets of S to elements of S, there will always be at least one subset left over. Cantor's Theorem: Every set is smaller than its power set: For any set S, S < ( S)
76 Infinite Cardinalities Recall: N = ℵ₀. By Cantor's Theorem: N < (N) (N) < ( (N)) ( (N)) < ( ( (N))) ( ( (N))) < ( ( ( (N)))) Not all infinite sets have the same size. There are many different infinities.
77 What does this have to do with computation?
78 The set of all computer programs The set of all problems to solve
79 Strings and Problems Consider the set of all strings: {, a, b, c,..., aa, ab, ac, } For any set of strings S, we can solve the following problem about S: Write a program that accepts as input a string, then prints out whether or not that string belongs to set S. Therefore, there are at least as many problems to solve as there are sets of strings.
80 Every computer program is a string. So, there can't be any more programs than there are strings. From Cantor's Theorem, we know that there are more sets of strings than strings. There are at least as many problems as there are sets of strings. < Programs Strings Sets of Strings Problems
81 Every computer program is a string. So, there can't be any more programs than there are strings. From Cantor's Theorem, we know that there are more sets of strings than strings. There are at least as many problems as there are sets of strings. Programs < Problems
82 There are more problems to solve than there are programs to solve them.
83 It Gets Worse Because there are more problems than strings, we can't even describe some of the problems that we can't solve. Using more advanced set theory, we can show that there are infinitely more problems than solutions. In fact, if you pick a totally random problem, the probability that you can solve it is zero.
84 But then it gets better...
85 Where We're Going Given this hard theoretical limit, what can we compute? What are the hardest problems we can solve? How powerful of a computer do we need to solve these problems? Of what we can compute, what can we compute efficiently? What tools do we need to reason about this? How do we build mathematical models of computation? How can we reason about these models?
86 Next Time Mathematical Proof What is a mathematical proof? How can we prove things with certainty?
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 informationSets 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 informationSets. 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 informationCITS2211 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 informationCISC 1100: Structures of Computer Science
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 Outline Sets Basic
More informationChapter 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 informationDiscrete 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 informationCS 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 informationCSI30. 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 informationWith 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 informationHomework 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 informationShow 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 informationChapter 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 informationCISC-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 informationChapter 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 informationExclusive 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 informationCheckpoint Questions Due Monday, October 1 at 2:15 PM Remaining Questions Due Friday, October 5 at 2:15 PM
CS103 Handout 03 Fall 2012 September 28, 2012 Problem Set 1 This first problem set is designed to help you gain a familiarity with set theory and basic proof techniques. By the time you're done, you should
More information1 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 informationDiscrete 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 informationSets. 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 informationChapter 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 informationCSE 20 DISCRETE MATH WINTER
CSE 20 DISCRETE MATH WINTER 2016 http://cseweb.ucsd.edu/classes/wi16/cse20-ab/ Today's learning goals Define and differentiate between important sets Use correct notation when describing sets: {...}, intervals
More informationSection 0. Sets and Relations
0. Sets and Relations 1 Section 0. Sets and Relations NOTE. Mathematics is the study of ideas, not of numbers!!! The idea from modern algebra which is the focus of most of this class is that of a group
More informationA 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 informationSETS. 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 informationINFINITY: CARDINAL NUMBERS
INFINITY: CARDINAL NUMBERS BJORN POONEN 1 Some terminology of set theory N := {0, 1, 2, 3, } Z := {, 2, 1, 0, 1, 2, } Q := the set of rational numbers R := the set of real numbers C := the set of complex
More information1. 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 informationChapter 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 informationMath 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 informationStudy skills for mathematicians
PART I Study skills for mathematicians CHAPTER 1 Sets and functions Everything starts somewhere, although many physicists disagree. Terry Pratchett, Hogfather, 1996 To think like a mathematician requires
More informationChapter-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 information1.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 informationSETS. 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 informationLogic, Sets, and Proofs
Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Operators. A logical statement is a mathematical statement that can be assigned a value either true or false.
More informationSec$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 informationBackground for Discrete Mathematics
Background for Discrete Mathematics Huck Bennett Northwestern University These notes give a terse summary of basic notation and definitions related to three topics in discrete mathematics: logic, sets,
More informationOne-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 informationCSE 20 DISCRETE MATH. Winter
CSE 20 DISCRETE MATH Winter 2017 http://cseweb.ucsd.edu/classes/wi17/cse20-ab/ Today's learning goals Evaluate which proof technique(s) is appropriate for a given proposition Direct proof Proofs by contraposition
More informationIntroduction 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 informationFinite 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 informationSets. 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 informationDiscrete Mathematical Structures: Theory and Applications
Chapter 1: Foundations: Sets, Logic, and Algorithms Discrete Mathematical Structures: Theory and Applications Learning Objectives Learn about sets Explore various operations on sets Become familiar with
More informationIn 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 informationMath 42, Discrete Mathematics
c Fall 2018 last updated 10/10/2018 at 23:28:03 For use by students in this class only; all rights reserved. Note: some prose & some tables are taken directly from Kenneth R. Rosen, and Its Applications,
More informationPREFACE. 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 informationToday 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 informationHomework #3: 1.4.1, a & b, 1.5.1, 1.5.3, 1.5.6, 1.5.7, 1.5.8, Prove that the set of all real numbers is uncountable.
Lecture 3 Homework #3: 1.4.1, 1.4.2 a & b, 1.5.1, 1.5.3, 1.5.6, 1.5.7, 1.5.8, Prove that the set of all real numbers is uncountable. Note that this lecture will likely run over but the net one is very
More informationProof: If (a, a, b) is a Pythagorean triple, 2a 2 = b 2 b / a = 2, which is impossible.
CS103 Handout 07 Fall 2013 October 2, 2013 Guide to Proofs Thanks to Michael Kim for writing some of the proofs used in this handout. What makes a proof a good proof? It's hard to answer this question
More informationSection 1: Sets and Interval Notation
PART 1 From Sets to Functions Section 1: Sets and Interval Notation Introduction Set concepts offer the means for understanding many different aspects of mathematics and its applications to other branches
More information1. (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 informationIntersections of Planes and Systems of Linear Equations
Chapter 4 Intersections of Planes and Systems of Linear Equations Using coördinates, a plane Π is defined by an equation: ax + by + cz = d, where a, b, c, d are real numbers, and at least one of a, b,
More informationSets and Logic Linear Algebra, Spring 2012
Sets and Logic Linear Algebra, Spring 2012 There is a certain vocabulary and grammar that underlies all of mathematics, and mathematical proof in particular. Mathematics consists of constructing airtight
More information2. 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 informationSets. 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 informationThis 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 informationCS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3
CS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3 This third problem set explores graphs, relations, functions, cardinalities, and the pigeonhole principle. This should be a great way to get a
More informationSET 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 informationRecommended Reading. A Brief History of Infinity The Mystery of the Aleph Everything and More
Direct Proofs Recommended Reading A Brief History of Infinity The Mystery of the Aleph Everything and More Recommended Courses Math 161: Set Theory What is a Proof? Induction and Deduction In the sciences,
More informationEECS 1028 M: Discrete Mathematics for Engineers
EECS 1028 M: Discrete Mathematics for Engineers Suprakash Datta Office: LAS 3043 Course page: http://www.eecs.yorku.ca/course/1028 Also on Moodle S. Datta (York Univ.) EECS 1028 W 18 1 / 24 Course policies
More informationAlgorithms: Lecture 2
1 Algorithms: Lecture 2 Basic Structures: Sets, Functions, Sequences, and Sums Jinwoo Kim jwkim@jjay.cuny.edu 2.1 Sets 2 1 2.1 Sets 3 2.1 Sets 4 2 2.1 Sets 5 2.1 Sets 6 3 2.1 Sets 7 2.2 Set Operations
More informationMathematics Foundation for College. Lesson Number 1. Lesson Number 1 Page 1
Mathematics Foundation for College Lesson Number 1 Lesson Number 1 Page 1 Lesson Number 1 Topics to be Covered in this Lesson Sets, number systems, axioms, arithmetic operations, prime numbers and divisibility,
More informationSets. 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 informationECS 120 Lesson 18 Decidable Problems, the Halting Problem
ECS 120 Lesson 18 Decidable Problems, the Halting Problem Oliver Kreylos Friday, May 11th, 2001 In the last lecture, we had a look at a problem that we claimed was not solvable by an algorithm the problem
More informationWelcome to MAT 137! Course website:
Welcome to MAT 137! Course website: http://uoft.me/ Read the course outline Office hours to be posted here Online forum: Piazza Precalculus review: http://uoft.me/precalc If you haven t gotten an email
More informationCircles & 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 informationAssignment #2 COMP 3200 Spring 2012 Prof. Stucki
Assignment #2 COMP 3200 Spring 2012 Prof. Stucki 1) Construct deterministic finite automata accepting each of the following languages. In (a)-(c) the alphabet is = {0,1}. In (d)-(e) the alphabet is ASCII
More informationSPEAKING MATHEMATICALLY. Prepared by Engr. John Paul Timola
SPEAKING MATHEMATICALLY Prepared by Engr. John Paul Timola VARIABLE used as a placeholder when you want to talk about something but either (1) has one or more values but you don t know what they are, or
More informationCHAPTER 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 informationAnnouncements. Problem Set 1 out. Checkpoint due Monday, September 30. Remaining problems due Friday, October 4.
Indirect Proofs Announcements Problem Set 1 out. Checkpoint due Monday, September 30. Grade determined by attempt rather than accuracy. It's okay to make mistakes we want you to give it your best effort,
More informationDiscrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27
CS 70 Discrete Mathematics for CS Spring 007 Luca Trevisan Lecture 7 Infinity and Countability Consider a function f that maps elements of a set A (called the domain of f ) to elements of set B (called
More informationNotes Week 2 Chapter 3 Probability WEEK 2 page 1
Notes Week 2 Chapter 3 Probability WEEK 2 page 1 The sample space of an experiment, sometimes denoted S or in probability theory, is the set that consists of all possible elementary outcomes of that experiment
More informationCM10196 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 informationSets 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 informationTheorems. Theorem 1.11: Greatest-Lower-Bound Property. Theorem 1.20: The Archimedean property of. Theorem 1.21: -th Root of Real Numbers
Page 1 Theorems Wednesday, May 9, 2018 12:53 AM Theorem 1.11: Greatest-Lower-Bound Property Suppose is an ordered set with the least-upper-bound property Suppose, and is bounded below be the set of lower
More informationMost Merry and Illustrated Proof of Cantor's Theorem on the Countability of Integers (Concise Version)
A Most Merry and Illustrated Proof of Cantor's Theorem on the Countability of Integers (Concise Version) ( 2012, Charles F. Cooper,) George said they both weighed the same. This is a brief (or at more
More information2 Exercises 1. The following represent graphs of functions from the real numbers R to R. Decide which are one-to-one, which are onto, which are neithe
Infinity and Counting 1 Peter Trapa September 28, 2005 There are 10 kinds of people in the world: those who understand binary, and those who don't. Welcome to the rst installment of the 2005 Utah Math
More informationICS141: 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 informationStep-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 informationTuring Machines Part III
Turing Machines Part III Announcements Problem Set 6 due now. Problem Set 7 out, due Monday, March 4. Play around with Turing machines, their powers, and their limits. Some problems require Wednesday's
More information2. Limits at Infinity
2 Limits at Infinity To understand sequences and series fully, we will need to have a better understanding of its at infinity We begin with a few examples to motivate our discussion EXAMPLE 1 Find SOLUTION
More informationCS 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 informationSet 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 informationChapter 1 Review of Equations and Inequalities
Chapter 1 Review of Equations and Inequalities Part I Review of Basic Equations Recall that an equation is an expression with an equal sign in the middle. Also recall that, if a question asks you to solve
More informationMath 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 informationIn N we can do addition, but in order to do subtraction we need to extend N to the integers
Chapter 1 The Real Numbers 1.1. Some Preliminaries Discussion: The Irrationality of 2. We begin with the natural numbers N = {1, 2, 3, }. In N we can do addition, but in order to do subtraction we need
More informationSet theory background for probability
Set theory background for probability Defining sets (a very naïve approach) A set is a collection of distinct objects. The objects within a set may be arbitrary, with the order of objects within them having
More informationHomework 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 informationA 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 informationThe universal set is the set of all possible elements of set used in the problem. Denoted by U
Math 114 Sets nit Section 1.1 Introduction to sets Definition of a set set is a collection of objects, things or numbers. The universal set is the set of all possible elements of set used in the problem.
More informationMathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers
Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur Lecture 1 Real Numbers In these lectures, we are going to study a branch of mathematics called
More informationSection F Ratio and proportion
Section F Ratio and proportion Ratio is a way of comparing two or more groups. For example, if something is split in a ratio 3 : 5 there are three parts of the first thing to every five parts of the second
More informationDiscrete Mathematics 2007: Lecture 5 Infinite sets
Discrete Mathematics 2007: Lecture 5 Infinite sets Debrup Chakraborty 1 Countability The natural numbers originally arose from counting elements in sets. There are two very different possible sizes for
More informationCS103. Mathematical 1Foundations of Computing 0, 1 ℒ(M) = ℒ((0 1) (00 11)) Preliminary Course Notes Keith Schwarz Fall 2014
st a q1 rt 0 q21 CS103 0 q0 0, 1 Mathematical 1Foundations of Computing ℒ(M) = ℒ((0 1) (00 11)) * q3 1 Preliminary Course Notes Keith Schwarz Fall 2014 q41 Table of Contents Chapter 0 Introduction 7 0.1
More information1 The distributive law
THINGS TO KNOW BEFORE GOING INTO DISCRETE MATHEMATICS The distributive law The distributive law is this: a(b + c) = ab + bc This can be generalized to any number of terms between parenthesis; for instance:
More informationBasic 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 informationExtended Essay - Mathematics
Extended Essay - Mathematics Creating a Model to Separate or Group Number Sets by their Cardinalities Pope John Paul II C.S.S. September 2009 Candidate Number: 001363-012 The conquest of the actual infinite
More informationProperties of Probability
Econ 325 Notes on Probability 1 By Hiro Kasahara Properties of Probability In statistics, we consider random experiments, experiments for which the outcome is random, i.e., cannot be predicted with certainty.
More informationIntroduction. Chapter 1. Contents. EECS 600 Function Space Methods in System Theory Lecture Notes J. Fessler 1.1
Chapter 1 Introduction Contents Motivation........................................................ 1.2 Applications (of optimization).............................................. 1.2 Main principles.....................................................
More informationTheorem. For every positive integer n, the sum of the positive integers from 1 to n is n(n+1)
Week 1: Logic Lecture 1, 8/1 (Sections 1.1 and 1.3) Examples of theorems and proofs Theorem (Pythagoras). Let ABC be a right triangle, with legs of lengths a and b, and hypotenuse of length c. Then a +
More informationSTA111 - Lecture 1 Welcome to STA111! 1 What is the difference between Probability and Statistics?
STA111 - Lecture 1 Welcome to STA111! Some basic information: Instructor: Víctor Peña (email: vp58@duke.edu) Course Website: http://stat.duke.edu/~vp58/sta111. 1 What is the difference between Probability
More information