Discrete Math Exam 2

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/45

flashcard set

Earn XP

Description and Tags

Studying exam two materials like definitions and rules

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

46 Terms

1
New cards

N

Natural numbers like 1,2,3

2
New cards

N and 0

Some definitions do not include zero

3
New cards

Z

All integers like -1,0,2

4
New cards

Q

Rational numbers that can be written in p/q form

5
New cards

R

real numbers, includes N,Z,Q and irrational numbers

6
New cards

C

Complex numbers, includes R and imaginary numbers

7
New cards

{x ∈ D | P(x)}

the set of all x in the domain D such that P(x) is true

8
New cards

A=B=∀x{x∈A ⇆ x∈B} (read as “if x, then y”)

Set equality: A and B are equal if and only if they contain the exact same elements

9
New cards

A⊆B=∀x{x∈A →x∈B} (read as “if x, then y”)

A is a subset of B if and only if every element of A is in B

10
New cards

A=B≣ {(A⊆B) ∧ (B⊆A)}

Set equality: A and B are equal if they are both subsets of one another

11
New cards

|A| = x

Cardinality: The number of elements in set A is x

12
New cards

|A|∈ℕ

cardinality is finite

13
New cards

|A|∉ℕ

Cardinality is infinite

14
New cards

note to self: add cartesian product and power sets from 2.1 if needed

note to self: add cartesian product and power sets from 2.1 if needed

15
New cards

A→B: A is the

Domain, the set of all possible input values

16
New cards

A→B: B is

Codomain, the set of all possible output values

17
New cards

f(a)=b, b is the ___ of a

image

18
New cards

f(a)=b, a is the ___ of b

preimage

19
New cards

Let f: A→B. define injectivity

For all a1, a2 in A, A is injective if and only if a1≠a2 then f(a1)≠f(a2)

20
New cards

Let f: A→B. define surjectivity

For all b in B, there exists an a in A such that f(a)=b.

21
New cards

surjectivity simply put

every output has an input. you can’t have A to B and A only has 4 things while B has 5 things. f(a5) doesn’t exist

22
New cards

∀a1,a2∈A {a1≠a2 → f(a1)≠f(a2)}

injectivity

23
New cards

∀b∈B, ∃a∈A s.t. f(a)=b

surjectivity, codomain equals range

24
New cards

best method for proving injectivity

contraposition- if f(a1)=f(a2) then a1=a2

25
New cards

review floor and ceiling stuff

note to self

26
New cards

injectivity simply put

only one x per y, so 2 x-values can NOT point to the same y-value because then x1≠x2 but f(x1)=f(x2)

27
New cards

From A →B, range simply put

the stuff in B that correlates to A. Values that include the function A to B but NOT the other values of B.

28
New cards

bijectivity For f:A→B

injective and surjective. Each a in A maps to exactly one unique b in B, so the domain and codomain are equal

29
New cards

you can only take the ____ if a function is ____

inverse, bijective. if something is inverse, it implies bijectivity

30
New cards

Given f:x→y, then f inverse is ____

y to x

31
New cards

identity laws

A∩U=A, A∪∅=A

32
New cards

Domination laws

A∪U=U, A∩∅=∅

33
New cards

Idempotent laws

A∪A=A, A∩A=A

34
New cards

Complementation law

¬(¬A)=A *shown with a bar above not the ¬ sign

35
New cards

Commutative laws

A∪B=B∪A, A∩B=B∩A

36
New cards

Associative laws

A∪(B∪C)=(A∪B)∪C, A∩(B∩C)=(A∩B)∩C

37
New cards

Distributive laws

A∪(B∩C)=(A∪B)∩(A∪C), A∩(B∪C)=(A∩B)∪(A∩C)

38
New cards

De Morgan’s laws

¬(A∩B)= ¬A∪¬B, ¬(A∪B)= ¬A∩¬B

39
New cards

Absorption laws

A∪(A∩B)=A, A∩(A∪B)=A

40
New cards

Complement laws

A∪¬A=U, A∩¬A=∅

41
New cards

A∪¬A=U

complement, U

42
New cards

A∩¬A=∅

complement, empty

43
New cards

A∪U

domination, U

44
New cards

A∩∅

domination, empty

45
New cards

A∩U

identity, A

46
New cards

A∪∅

identity, A