Discrete Math

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/37

flashcard set

Earn XP

Description and Tags

Lecture slides

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

38 Terms

1
New cards
What is a set defined by enumeration?
{1, 2, 3}
2
New cards
What is a set defined by property?
{x ∈ S | T(x)}, e.g., {x ∈ N | 1 ≤ x ≤ 5}
3
New cards
What is the empty set?
4
New cards
What does A ⊂ B mean?
All elements of A are elements of B
5
New cards
When are two sets equal?
A = B ⇔ A ⊂ B and B ⊂ A
6
New cards
What is cardinality of a finite set?
#S or |S|
7
New cards
What is the power set of S?
P(S) or 2^S, the set of all subsets of S
8
New cards
Theorem on power set cardinality?
If #S = n, then #P(S) = 2^n
9
New cards
What is the complement of A?
Ā — elements in universal set but not A
10
New cards
What is union A ∪ B?
Elements in A or B or both
11
New cards
What is intersection A ∩ B?
Elements in both A and B
12
New cards
What is difference A \ B?
Elements in A but not B
13
New cards
What is symmetric difference A △ B?
(A ∪ B) \ (A ∩ B) = (A \ B) ∪ (B \ A)
14
New cards
Example: A={0,1,2,3,4}, B={2,4,6,8,10}, A △ B?
{0,1,3,6,8,10}
15
New cards
What is Cartesian product A × B?
{(a,b) | a ∈ A, b ∈ B}
16
New cards
Example: A={0,1,2}, B={1,2}, A × B?
{(0,1),(0,2),(1,1),(1,2),(2,1),(2,2)}
17
New cards
De Morgan’s laws?
(A ∪ B)̄ = Ā ∩ B̄ and (A ∩ B)̄ = Ā ∪ B̄
18
New cards
What is N?
{1, 2, 3, …}
19
New cards
What is Z?
{…, −2, −1, 0, 1, 2, …}
20
New cards
What is the existential quantifier?
21
New cards
What is the universal quantifier?
22
New cards
Example of ∃?
∃n ∈ N : 2n = 6
23
New cards
Example of ∀?
∀m ∈ N : m ∈ Z
24
New cards
What is a function?
Association x ↦ f(x); subset of D × R with unique f(x) per x
25
New cards
Meaning of := ?
Definition, let it be equal with
26
New cards
Example function: x ∈ R, x ↦ ?
27
New cards
Not a function: x ∈ R⁺, x ↦ ?
number with square x
28
New cards
Function: n ∈ N, n ↦ ?
greatest odd divisor of n
29
New cards
Constant function?
f(x) = c
30
New cards
First order function?
f(x) = ax + b, a ≠ 0
31
New cards
Second order factored form?
a · (x − (−b+√(b²−4ac))/2a) · (x − (−b−√(b²−4ac))/2a)
32
New cards
Injective definition?
f(a) = f(b) implies a = b
33
New cards
Surjective definition?
∀ y ∈ R ∃ x ∈ D : f(x) = y
34
New cards
Bijective?
Injective and surjective
35
New cards
Mathematical induction base step?
Prove for n = 1
36
New cards
Inductive hypothesis?
Assume true for k
37
New cards
Inductive step?
Prove true for k + 1
38
New cards
Example to prove by induction?
1 + 3 + … + (2n−1) = n², ∀n ∈ N