Section 3.4 More Set Operators

advertisement
Section 3.4
More Set Operators
Exam 2 and Grading Issues
•
•
•
•
Add up all of the points on the exam.
Add 15 more points.
That is what is in the gradebook.
Sample solutions are online.
• Midterm grades are posted.
• Please check the spreadsheet for accuracy.
Issue from Exam 2 to remember
on the final exam
• The negation of P  Q is
P  ¬Q
• The definition of odd is any number in the
form 2k + 1 for integer k.
We haven’t ever officially shown 2k-1
Issue from Exam 2 to remember
on the final exam
• What is the value of:
(5 + 2)2
• Notice it is NOT the same as:
52 + 22
First Set Operations
• Intersection
AB
• Union
AB
Additional Set Operations
• Difference
A–B
B–A
• Symmetric Difference
AB
BA
• Complement
A
on my slides and handouts I will use Ac
Activity 1
• Write in words how to read each of the following
out loud. Then write the shorthand notation for each
set.
1.
2.
3.
4.
{x  U | x  A and x  B }
{x  U | x  A or x  B }
{x  U | x  A and x  B }
{x  U | x  A}
Activity 2
• Let :
A = { 1,3,5,7,9}
B = { 3,6,9 }
U = {x  Z | 0<x<10 }
• Find the following
1.
2.
3.
4.
5.
6.
7.
AB
AB
AU
AU
A–B
Ac
Bc
Activity 3
• Complete the following sentences without using
the symbols , , and -.
1. x  (A  B) if, and only if, …
2. x  (A  B) if, and only if, …
3. x  (A – B ) if, and only if, …
Activity 4
• Consider the following sets:
•
•
•
•
•
U = set of all students at UNI
S = set of all students with majors in CHAS
C = set of all computer science majors
P = set of all physics majors
F = set of all women students at UNI
• What would the Venn diagram for these sets
look like?
Activity 5
• Write an expression using these sets and the set
operations to express the following:
1. The set of people majoring in either computer science
or physics.
2. The set of people majoring in both computer science
and physics.
3. The set of computer science majors who are women.
4. The set of people who do not have a major in CHAS.
5. The set of male students who are majoring in both
computer science and physics.
6. The set of female physics students and male computer
science students.
Download