Set Theory

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

24 Terms

1
New cards

set

a collection of objs called ELEMENTS

  • the elements do not have to be of the same “type”

  • 1 ∈ A if 1 is an element of set A

2
New cards

two sets are EQUAL if they:

contain the same elements no matter the order or multiplicity (ex. one set may have one 2 and the other set may have two 2’s)

3
New cards

sets can be:

  • a simple list of elements

  • a description of the elements that are included in the set (ex. A = {3n | n ∈ Z, 1 ≤ n ≤ 12} = {3, 6, 9, ..., 36})

4
New cards

commonb sets in math

set of: natural numbers (N), integers (Z), rational numbers (Q), real numbers (R), positive integers (Z+), negative integers (Z-)

5
New cards

empty set

  • denoted ∅ or {} BUT NOT {∅}

  • contains NO elements

6
New cards

universal set

  • denoted “U”

  • set of all elements that are ANALYZED (not every element that could exist, although it could mean that)

7
New cards

subset

let A and B be two sets.

  • A is a subset of B (A ⊆ B) if all the elements of A are also elements of B (A is CONTAINED in B), A could also = B)

  • if A is a subset of B, then for all x ∈ U, the implication (x ∈ A) → (x ∈ B) is true (if x is an element of A, then it must be true that x is an element of B)

8
New cards

if X is a set, then

∅ (empty set) ⊆ X is a tautology since:

  • (F → (x ∈ X)) is a tautology (think back to the IMPLICATION definition of a subset)

9
New cards

proper subset

let A and B be sets.

  • A is a proper subset of B if A ⊆ B and A ̸= B. If so, we write A ⊂ B.

  • or, A is a subset of B AND A ≠ B

10
New cards

cardinality

if A is a set containing EXACTLY n DISTIINCT (do not count duplicates of elements) elements (where n ≥ 0), then A is a FINITE set and its “cardinality” is n.

  • denote the cardinality of A by |A|. (here, |A| = n)

11
New cards

power set

  • denoted P(A)

  • set of ALL distinct subsets of A

  • P(A) = {X | X ⊆ A}

12
New cards

cardinality of a power set

let A be a set

  • if |A| = n, then |P(A)| = 2^n

13
New cards

cartesian product

let A and B be sets.

  • the cartesian product of A and B, denoted by A × B, is the set of all pairs (a, b) where a ∈ A and b ∈ B (so, rmbr that the cartesian product is a SET)

  • A × B = {(a, b) | a ∈ A, b ∈ B}

14
New cards

cardinality of a cartesian product

  • let A x B be a cartesian product

  • |A × B| = |A||B| → cardinality of A × B is equal to the PRODUCT of the cardinalities of A and B.

15
New cards

properties of a cartesian product

  • NOT commutative: A × B = B × A. is generally false

  • NOT associative: (A × B) × C = A × (B × C) is generally false

16
New cards

let A1, A2, ..., An be sets. the cartesian product A1 × A2 × ... × An is the set:

A1 × A2 × ... × An = {(a1, a2, ..., an) | ai ∈ Ai, 1 ≤ i ≤ n}

  • denoted by A^n

  • think of a squared factor like (x - 2)²

  • ex. let B = {1, 2, 3}, B³ = {(1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1),(3,2),(3,3)}

  • ex. R³ = {(x, y, z) | x, y, z ∈ R} = R x R x R = every 3D point that exists in R³

17
New cards

let A, B be two diff sets, the union of A and B:

  • A ∪ B = a set that contains every element in A OR B

  • A ∪ B = {x | (x ∈ A) ∨ (x ∈ B)} → for every element x, the set A ∪ B is where x belongs to EITHER A OR B)

  • see image for diagram

<ul><li><p>A ∪ B = a set that contains every element in A OR B</p></li></ul><ul><li><p>A ∪ B = {x | (x ∈ A) ∨ (x ∈ B)} → for every element x, the set A ∪ B is where x belongs to EITHER A OR B)</p></li><li><p>see image for diagram</p></li></ul><p></p>
18
New cards

let A, B be two diff sets, the intersection of A and B:

  • A ∩ B = the set of all elements that belong to A AND B

  • A ∩ B = {x | (x ∈ A) ∧ (x ∈ B)}

<ul><li><p>A ∩ B = the set of all elements that belong to A AND B</p></li><li><p>A ∩ B = {x | (x ∈ A) ∧ (x ∈ B)}</p></li></ul><p></p>
19
New cards

sets A and B are DISJOINT if:

  • they share no similar elements

  • in other words, the set A ∩ B = ∅

20
New cards

complement of a set

  • the complement of a set A is denoted A’

  • A’ = {x | x ∈ U ∧ (x /∈ A)} → every element in “universe” that doesn’t belong to A is in the complement set

<ul><li><p>the complement of a set A is denoted A’ </p></li><li><p>A’ = {x | x ∈ U ∧ (x /∈ A)} → every element in “universe” that doesn’t belong to A is in the complement set</p></li></ul><p></p>
21
New cards

let A, B be two diff sets, the difference of A and B:

  • denoted as A - B (B - A would be a completely diff set)

  • A - B = {x | (x ∈ A) ∧ (x /∈ B)} → set of every element that belongs to A and DOESN’T belong to B

<ul><li><p>denoted as A - B (B - A would be a completely diff set) </p></li><li><p>A - B = {x | (x ∈ A) ∧ (x /∈ B)} → set of every element that belongs to A and DOESN’T belong to B</p></li></ul><p></p>
22
New cards

let A, B be two diff sets, the SYMMETRIC difference of A and B:

  • denoted as A ⊕ B

  • A ⊕ B = {x | (x ∈ A) ⊕ (x ∈ B)} → set of all elements that either in A or in B, but not both

  • A ⊕ B = (A - B) U (B - A) → symmetric difference aspect

<ul><li><p>denoted as A ⊕ B</p></li><li><p>A ⊕ B = {x | (x ∈ A) ⊕ (x ∈ B)} → set of all elements that either in A or in B, but not both</p></li><li><p>A ⊕ B = (A - B) U (B - A) → symmetric difference aspect</p></li></ul><p></p>
23
New cards

set identities

see lecture notes 9

  • incorporate proof strats

  • rmbr the mathematical definitions of unions, intersections, subsets, etc

24
New cards

membership table

  • used to verify set identities

  • almost the same as a truth table

  • if n sets are contained in identity, then the num of rows = 2^n (same as truth table w proposition variables)

  • for a set A, truth value of 1 means x belongs to A, and 0 means x does not belong to A

  • recall that two things are logically equivalent (equal to each other) if they have the same truth values (←> “if and only if” is a tautology)

<ul><li><p>used to verify set identities</p></li><li><p>almost the same as a truth table</p></li><li><p>if n sets are contained in identity, then the num of rows = 2^n (same as truth table w proposition variables)</p></li><li><p>for a set A, truth value of 1 means x belongs to A, and 0 means x does not belong to A</p></li><li><p>recall that two things are logically equivalent (equal to each other) if they have the same truth values (←&gt; “if and only if” is a tautology)</p></li></ul><p></p>