CSCI 301 L05 Notes

Lecture 5 - Notes

Sets 2, continued
Logic 1

Announcements

Sets 2, continued

When talking about a set \(P\), it’s often useful to talk about it in terms of a universal set \(U\), where \(P \subseteq U\), where \(U\) is (informally) the set of all things that might have been considered for membership in \(P\). Notice that this is informal and context-dependent, but useful nonetheless:

Definition If \(A\) has a universal set \(U\), then the complement of \(A\), denoted \(\overline{A}\), is the set \(\overline{A} = U - A\).

Examples:

Venn Diagrams are a useful way to visualize sets and their relations with each other:

Here,

Let \(U\) = \(\{x : x \in \mathbb{N} \text{ and } x \le 20\}\) is the contents of the rectangular box.

Let \(A = \{x : x \in U \text{ and } x \text{ is odd}\}\) is the contents of the left circle.

Let \(B = \{x : x \in U \text{ and } x > 10\}\) is the contents of the right circle.

\(A \cup B\) is the contents of both circles.

\(A \cap B\) is the contents of the region where the circles overlap.

Do Exercises Part B

Logic 1

Definition: A statement is an English sentence or mathematical expression that is either definitely true or definitely false. That is, a statement has a definite truth value (true or false).

Switched to ipad notes from here - see whiteboard notes.