Set Theory - PowerPoint PPT Presentation

About This Presentation
Title:

Set Theory

Description:

Set Theory A B C Lecture 10 Set Theory Lecture 10 Sets Informally: A set is a collection of mathematical objects, with the collection treated as a single mathematical ... – PowerPoint PPT presentation

Number of Views:387
Avg rating:3.0/5.0
Slides: 18
Provided by: cse12
Category:

less

Transcript and Presenter's Notes

Title: Set Theory


1
Set Theory
A
B
C
  • Lecture 10

2
Sets
Informally A set is a collection of
mathematical objects, with the collection
treated as a single mathematical object.
Examples
  • real numbers, ?
  • complex numbers, C
  • integers, ?
  • empty set, ?

3
Defining Sets
Sets can be defined directly
e.g. 1,2,4,8,16,32,,
CSC1130,CSC2110,
Order, number of occurence are not important.
e.g. A,B,C C,B,A A,A,B,C,B
A set can be an element of another set.
1,2,3,4
4
Defining Sets by Predicates
The set of elements, x, in A such that P(x) is
true.
The set of prime numbers
5
Membership
7, Albert, ?/2, T
x is an element of A x is in A
Examples
?/2 ? 7, Albert,?/2, T ?/3 ? 7,
Albert,?/2, T 14/2 ? 7, Albert,?/2, T
7? ?
2/3 ? ?
6
Containment
A is a subset of B A is contained in B
Every element of A is also an element of B.
Examples ??R, 3?5,7,3 ? ? every set,
A ? A
A is a proper subset of B
7
Some Examples
8
Basic Operations on Sets
union
intersection
difference
complement
9
Some Examples
10
Partitions of Sets
Two sets are disjoint if their intersection is
empty.
A collection of nonempty sets A1, A2, , An is
a partition of a set A if and only if
A1, A2, , An are mutually disjoint.
11
Power Sets
power set
12
Set Identities
Distributive Law
13
Set Identities
De Morgans Law
14
Proving Set Identities
15
Proving Set Identities
16
Russells Paradox
so
There is a male barber who shaves all those men,
and only those men, who do not shave themselves.
Does the barber shave himself?
17
Halting Problem
We want a program H that given any program P and
input I H(P,I) returns halt if P will
terminate given input I H(P,I) returns loop
forever if P will not terminate given input I.
No such program can terminate in a finite number
of steps!
(page 295 of the textbook)
Write a Comment
User Comments (0)
About PowerShow.com