slides07

# slides07 - Set Theory CMSC 250 1 Set definitions Definition...

This preview shows pages 1–9. Sign up to view the full content.

1 CMSC 250 Set Theory

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 CMSC 250 Set definitions Definition: A set is a collection of objects. Examples: A = {1,2,3} B = { x Z | - 4 < x < 4} C = { x Z + | - 4 < x < 4} A set is completely defined by its elements, i.e., { a , b } = { b , a } = { a , b , a } = { a , a , a , b , b , b }
3 CMSC 250 More set concepts The universal set U is the set of all elements under consideration A set can be finite or can be infinite For a set S , n( S ) or | S | are used to refer to the cardinality of S , which is the number of elements in S The symbol means "is an element of" The symbol means "is not an element of"

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4 CMSC 250 Subset A B ( 2200 x U )[ x A x B ] A is contained in B B contains A A B ( 5 x U )[ x A x B ] Relationship between membership and subset: ( 2200 x U )[ x A { x } A ] Definition of set equality: A = B A B B A
5 CMSC 250 Proper subset B A B A B A

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6 CMSC 250 Do these represent the same sets or not? X = { x Z | ( 5 p Z )[ x = 2 p ]} Y = { y Z | ( 5 q Z )[ y = 2 q - 2]} A = { x Z | ( 5 i Z )[ x = 2 i + 1]} B = { x Z | ( 5 i Z )[ x = 3 i + 1]} C = { x Z | ( 5 i Z )[ x = 4 i + 1]}
7 CMSC 250 Formal definitions of set operations Union: Intersection: Complement: Difference: } { B x A x B A = } { B x A x B A = } { B x A x B A = - } | { ' A x U x A A A c = = = B A B A = -

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
8 CMSC 250 Venn Diagrams Sets are represented as regions to illustrate relationships between them.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern