DS_Lecture_6.pdf - Lecture 6 Introduction to Sets Dr Chengjiang Long Computer Vision Researcher at Kitware Inc Adjunct Professor at SUNY at Albany Email

DS_Lecture_6.pdf - Lecture 6 Introduction to Sets Dr...

• Notes
• 30

This preview shows page 1 - 10 out of 30 pages.

Lecture 6: Introduction to Sets Dr. Chengjiang Long Computer Vision Researcher at Kitware Inc. Adjunct Professor at SUNY at Albany. Email: [email protected]

Subscribe to view the full document.

C. Long Lecture 6 September 13, 2018 2 ICEN/ICSI210 Discrete Structures Outline Definitions: Set, Element Terminology and Notation Proving Equivalences Power Set Tuples Cartesian Product Quantifiers
C. Long Lecture 6 September 13, 2018 3 ICEN/ICSI210 Discrete Structures Outline Definitions: Set, Element Terminology and Notation Proving Equivalences Power Set Tuples Cartesian Product Quantifiers

Subscribe to view the full document.

C. Long Lecture 6 September 13, 2018 4 ICEN/ICSI210 Discrete Structures Introduction (1) We have already implicitly dealt with sets Integers ( Z ), rationals ( Q ), naturals ( N ), reals ( R ), etc. We will develop more fully The definitions of sets The properties of sets The operations on sets Definition : A set is an unordered collection of (unique ) objects Sets are fundamental discrete structures and for the basis of more complex discrete structures like graphs
C. Long Lecture 6 September 13, 2018 5 ICEN/ICSI210 Discrete Structures Introduction (2) Definition : The objects in a set are called elements or members of a set. A set is said to contain its elements Notation, for a set A: x Î A: x is an element of A $\in$ x Ï A: x is not an element of A $\notin$

Subscribe to view the full document.

C. Long Lecture 6 September 13, 2018 6 ICEN/ICSI210 Discrete Structures Outline Definitions: Set, Element Terminology and Notation Proving Equivalences Power Set Tuples Cartesian Product Quantifiers
C. Long Lecture 6 September 13, 2018 7 ICEN/ICSI210 Discrete Structures Terminology (1) Definition : Two sets, A and B, are equal is they contain the same elements. We write A=B. Example: {2,3,5,7}={3,2,7,5}, because a set is unordered Also, {2,3,5,7}={2,2,3,5,3,7} because a set contains unique elements However, {2,3,5,7} ¹ {2,3} $\neq$

Subscribe to view the full document.

C. Long Lecture 6 September 13, 2018 8 ICEN/ICSI210 Discrete Structures Terminology (2) A multi-set is a set where you specify the number of occurrences of each element: {m 1 × a 1 ,m 2 × a 2 ,…,m r × a r } is a set where m 1 occurs a 1 times m 2 occurs a 2 times m r occurs a r times In Databases, we distinguish A set: elements cannot be repeated A bag : elements can be repeated
C. Long Lecture 6 September 13, 2018 9

Subscribe to view the full document.

• Spring '14
• IASHVILI,I

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

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes