Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Example:
Let Set A is animals = {Tiger,
Monkey, Shark, Bear, Zebra,
Spider, Grasshopper,
Dolphins, Snake} and
Set B is an animal with
neither leg nor hand =
{Shark, Dolphins, Whale,
Snake, Starfish, Clown Fish
}.
List the element of A B.
Example:
Let Set A is an animals that lives on land =
{Tiger, Monkey, Bear, Zebra, Spider, Grasshopper}
and
Set B is an animal that lives in water =
{Shark, Dolphins, Whale, Starfish, Clown Fish }.
List the element that lives on both land and water .
24
2 sets are disjoint if their intersection is an empty
set
n
A
B
Disjoint
Two sets are "disjoint" if they have no objects in common.
Example:
Let Set A= {1,3,5} and Set B ={1,2,3}
A - B ={1,3,5} - {1,2,3}
={5}
25
Let A and B be sets.
The difference of A and B, denoted by A-B, is the set containing those elements
that are in A that are not in B.
The difference of A and B is also called the relative complement of B with
respect to A.
Difference
Example:
Let A= {a,e,i,o,u} and
Universal set is the set of letters of
English Alphabet.
Then, =
{b,c,d,f,g,h,j,k,l,m,n,p,q,r,s,t,v,w,x,y,z}.
26
Given a universal set U and a subset A of U,
The set U A is called the complement of A and written as
Complement
A
A
QUESTION 1:
Let the universe be the set U = {a,b,c,d,,x,y,z}.
Let A = {a,e,i,o,u}, B = {a,c,f, i, m, p,t, w,x }, and
C = {a,d,e,h,l,n,q,u,w}.
List the elements of :
27
QUESTION 2:
There is a group of 191 students, of which 10 are taking
French, business and music; 36 are taking French and
Business; 20 are taking French and music; 18 are taking
business and music; 65 are taking French; 76 are taking
business; and 63 are taking music.
i. How many are taking French and music but not business?
ii. How many are taking business and neither French nor
music?
iii. How many are taking music or French (or both) but not
business?
iv. How many are taking none of the three subjects?
28
SUMMARY
Introduction
Set, Elements
Equal, Cardinality
Power Set, Cartesian Product
Set Operations
Union, Intersection, Difference, Complement
29
1. List the members of these sets:
{ x | x is a positive integer such that x
3
<
100}
{ x | x is the square of a positive integer and
x < 11}
2. Find the power set of each of these sets:
Y = { a, b, c }
Z = {1, 2, 3, 4 }
30
Review Questions